@sanctum-key/react-native-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +278 -0
- package/android/build/.transforms/f62cb96b2d1f78ca96ab35932dd530dc/results.bin +1 -0
- package/android/build/.transforms/f62cb96b2d1f78ca96ab35932dd530dc/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/generated/source/buildConfig/debug/kyc/transfergratis/com/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +69 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +1 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/xml_file_paths.xml.flat +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +2 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/transfergratis-react-native-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/kyc/transfergratis/com/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +3 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +110 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +69 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/xml/file_paths.xml +15 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +101 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/transfergratis-react-native-sdk_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$5.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$View$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkView.class +0 -0
- package/android/build.gradle +43 -0
- package/android/src/main/AndroidManifest.xml +49 -0
- package/android/src/main/java/kyc/transfergratis/com/TransfergratisSdkModule.kt +131 -0
- package/android/src/main/java/kyc/transfergratis/com/TransfergratisSdkView.kt +161 -0
- package/android/src/main/res/xml/file_paths.xml +15 -0
- package/build/App.d.ts +3 -0
- package/build/App.d.ts.map +1 -0
- package/build/App.js +9 -0
- package/build/App.js.map +1 -0
- package/build/TransfergratisSdk.types.d.ts +32 -0
- package/build/TransfergratisSdk.types.d.ts.map +1 -0
- package/build/TransfergratisSdk.types.js +2 -0
- package/build/TransfergratisSdk.types.js.map +1 -0
- package/build/TransfergratisSdkModule.d.ts +21 -0
- package/build/TransfergratisSdkModule.d.ts.map +1 -0
- package/build/TransfergratisSdkModule.js +4 -0
- package/build/TransfergratisSdkModule.js.map +1 -0
- package/build/TransfergratisSdkModule.web.d.ts +20 -0
- package/build/TransfergratisSdkModule.web.d.ts.map +1 -0
- package/build/TransfergratisSdkModule.web.js +25 -0
- package/build/TransfergratisSdkModule.web.js.map +1 -0
- package/build/TransfergratisSdkView.d.ts +4 -0
- package/build/TransfergratisSdkView.d.ts.map +1 -0
- package/build/TransfergratisSdkView.js +7 -0
- package/build/TransfergratisSdkView.js.map +1 -0
- package/build/TransfergratisSdkView.web.d.ts +4 -0
- package/build/TransfergratisSdkView.web.d.ts.map +1 -0
- package/build/TransfergratisSdkView.web.js +11 -0
- package/build/TransfergratisSdkView.web.js.map +1 -0
- package/build/api/axios.d.ts +30 -0
- package/build/api/axios.d.ts.map +1 -0
- package/build/api/axios.js +92 -0
- package/build/api/axios.js.map +1 -0
- package/build/components/Camera/index.d.ts +2 -0
- package/build/components/Camera/index.d.ts.map +1 -0
- package/build/components/Camera/index.js +2 -0
- package/build/components/Camera/index.js.map +1 -0
- package/build/components/Camera/index.web.d.ts +2 -0
- package/build/components/Camera/index.web.d.ts.map +1 -0
- package/build/components/Camera/index.web.js +2 -0
- package/build/components/Camera/index.web.js.map +1 -0
- package/build/components/Camera/types.d.ts +2 -0
- package/build/components/Camera/types.d.ts.map +1 -0
- package/build/components/Camera/types.js +2 -0
- package/build/components/Camera/types.js.map +1 -0
- package/build/components/ConfigurableKYCFlow.d.ts +11 -0
- package/build/components/ConfigurableKYCFlow.d.ts.map +1 -0
- package/build/components/ConfigurableKYCFlow.js +257 -0
- package/build/components/ConfigurableKYCFlow.js.map +1 -0
- package/build/components/CustomCameraExample.d.ts +10 -0
- package/build/components/CustomCameraExample.d.ts.map +1 -0
- package/build/components/CustomCameraExample.js +232 -0
- package/build/components/CustomCameraExample.js.map +1 -0
- package/build/components/EnhancedCameraView.d.ts +4 -0
- package/build/components/EnhancedCameraView.d.ts.map +1 -0
- package/build/components/EnhancedCameraView.js +393 -0
- package/build/components/EnhancedCameraView.js.map +1 -0
- package/build/components/EnhancedCameraView.web.d.ts +4 -0
- package/build/components/EnhancedCameraView.web.d.ts.map +1 -0
- package/build/components/EnhancedCameraView.web.js +499 -0
- package/build/components/EnhancedCameraView.web.js.map +1 -0
- package/build/components/FileUpload.d.ts +13 -0
- package/build/components/FileUpload.d.ts.map +1 -0
- package/build/components/FileUpload.js +216 -0
- package/build/components/FileUpload.js.map +1 -0
- package/build/components/KYCElementRenderer.d.ts +14 -0
- package/build/components/KYCElementRenderer.d.ts.map +1 -0
- package/build/components/KYCElementRenderer.js +31 -0
- package/build/components/KYCElementRenderer.js.map +1 -0
- package/build/components/KYCElements/AdditionalDocumentsTemplate.d.ts +12 -0
- package/build/components/KYCElements/AdditionalDocumentsTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/AdditionalDocumentsTemplate.js +283 -0
- package/build/components/KYCElements/AdditionalDocumentsTemplate.js.map +1 -0
- package/build/components/KYCElements/CameraCapture.d.ts +11 -0
- package/build/components/KYCElements/CameraCapture.d.ts.map +1 -0
- package/build/components/KYCElements/CameraCapture.js +219 -0
- package/build/components/KYCElements/CameraCapture.js.map +1 -0
- package/build/components/KYCElements/CompletionStep.d.ts +10 -0
- package/build/components/KYCElements/CompletionStep.d.ts.map +1 -0
- package/build/components/KYCElements/CompletionStep.js +147 -0
- package/build/components/KYCElements/CompletionStep.js.map +1 -0
- package/build/components/KYCElements/CountrySelection.d.ts +11 -0
- package/build/components/KYCElements/CountrySelection.d.ts.map +1 -0
- package/build/components/KYCElements/CountrySelection.js +147 -0
- package/build/components/KYCElements/CountrySelection.js.map +1 -0
- package/build/components/KYCElements/CountrySelectionTemplate.d.ts +15 -0
- package/build/components/KYCElements/CountrySelectionTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/CountrySelectionTemplate.js +438 -0
- package/build/components/KYCElements/CountrySelectionTemplate.js.map +1 -0
- package/build/components/KYCElements/DocumentTypeSelection.d.ts +11 -0
- package/build/components/KYCElements/DocumentTypeSelection.d.ts.map +1 -0
- package/build/components/KYCElements/DocumentTypeSelection.js +143 -0
- package/build/components/KYCElements/DocumentTypeSelection.js.map +1 -0
- package/build/components/KYCElements/EmailVerificationTemplate.d.ts +12 -0
- package/build/components/KYCElements/EmailVerificationTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/EmailVerificationTemplate.js +212 -0
- package/build/components/KYCElements/EmailVerificationTemplate.js.map +1 -0
- package/build/components/KYCElements/FileUpload.d.ts +11 -0
- package/build/components/KYCElements/FileUpload.d.ts.map +1 -0
- package/build/components/KYCElements/FileUpload.js +268 -0
- package/build/components/KYCElements/FileUpload.js.map +1 -0
- package/build/components/KYCElements/FileUploadTemplate.d.ts +12 -0
- package/build/components/KYCElements/FileUploadTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/FileUploadTemplate.js +331 -0
- package/build/components/KYCElements/FileUploadTemplate.js.map +1 -0
- package/build/components/KYCElements/IDCardCapture.d.ts +19 -0
- package/build/components/KYCElements/IDCardCapture.d.ts.map +1 -0
- package/build/components/KYCElements/IDCardCapture.js +877 -0
- package/build/components/KYCElements/IDCardCapture.js.map +1 -0
- package/build/components/KYCElements/InitializationStep.d.ts +5 -0
- package/build/components/KYCElements/InitializationStep.d.ts.map +1 -0
- package/build/components/KYCElements/InitializationStep.js +41 -0
- package/build/components/KYCElements/InitializationStep.js.map +1 -0
- package/build/components/KYCElements/LocationCaptureTemplate.d.ts +20 -0
- package/build/components/KYCElements/LocationCaptureTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/LocationCaptureTemplate.js +318 -0
- package/build/components/KYCElements/LocationCaptureTemplate.js.map +1 -0
- package/build/components/KYCElements/OrientationVideoCapture.d.ts +14 -0
- package/build/components/KYCElements/OrientationVideoCapture.d.ts.map +1 -0
- package/build/components/KYCElements/OrientationVideoCapture.js +534 -0
- package/build/components/KYCElements/OrientationVideoCapture.js.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.d.ts +14 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.d.ts.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.js +504 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.js.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.d.ts +14 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.d.ts.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.js +430 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.js.map +1 -0
- package/build/components/KYCElements/PersonalInformationTemplate.d.ts +12 -0
- package/build/components/KYCElements/PersonalInformationTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/PersonalInformationTemplate.js +120 -0
- package/build/components/KYCElements/PersonalInformationTemplate.js.map +1 -0
- package/build/components/KYCElements/PhoneVerificationTemplate.d.ts +12 -0
- package/build/components/KYCElements/PhoneVerificationTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/PhoneVerificationTemplate.js +185 -0
- package/build/components/KYCElements/PhoneVerificationTemplate.js.map +1 -0
- package/build/components/KYCElements/ReviewSubmitTemplate.d.ts +12 -0
- package/build/components/KYCElements/ReviewSubmitTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/ReviewSubmitTemplate.js +171 -0
- package/build/components/KYCElements/ReviewSubmitTemplate.js.map +1 -0
- package/build/components/KYCElements/SelfieCapture.d.ts +11 -0
- package/build/components/KYCElements/SelfieCapture.d.ts.map +1 -0
- package/build/components/KYCElements/SelfieCapture.js +236 -0
- package/build/components/KYCElements/SelfieCapture.js.map +1 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.d.ts +16 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.js +568 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.js.map +1 -0
- package/build/components/KYCElements/VerificationProgressTemplate.d.ts +12 -0
- package/build/components/KYCElements/VerificationProgressTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/VerificationProgressTemplate.js +195 -0
- package/build/components/KYCElements/VerificationProgressTemplate.js.map +1 -0
- package/build/components/KYCElements/VerificationStep.d.ts +10 -0
- package/build/components/KYCElements/VerificationStep.d.ts.map +1 -0
- package/build/components/KYCElements/VerificationStep.js +199 -0
- package/build/components/KYCElements/VerificationStep.js.map +1 -0
- package/build/components/KYCElements/WelcomeTemplate.d.ts +12 -0
- package/build/components/KYCElements/WelcomeTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/WelcomeTemplate.js +244 -0
- package/build/components/KYCElements/WelcomeTemplate.js.map +1 -0
- package/build/components/KYCExample.d.ts +3 -0
- package/build/components/KYCExample.d.ts.map +1 -0
- package/build/components/KYCExample.js +247 -0
- package/build/components/KYCExample.js.map +1 -0
- package/build/components/KYCFlow.d.ts +3 -0
- package/build/components/KYCFlow.d.ts.map +1 -0
- package/build/components/KYCFlow.js +308 -0
- package/build/components/KYCFlow.js.map +1 -0
- package/build/components/NativeCameraView.d.ts +11 -0
- package/build/components/NativeCameraView.d.ts.map +1 -0
- package/build/components/NativeCameraView.js +27 -0
- package/build/components/NativeCameraView.js.map +1 -0
- package/build/components/OverLay/IdCard.d.ts +4 -0
- package/build/components/OverLay/IdCard.d.ts.map +1 -0
- package/build/components/OverLay/IdCard.js +185 -0
- package/build/components/OverLay/IdCard.js.map +1 -0
- package/build/components/OverLay/SelfieOverlay.d.ts +4 -0
- package/build/components/OverLay/SelfieOverlay.d.ts.map +1 -0
- package/build/components/OverLay/SelfieOverlay.js +169 -0
- package/build/components/OverLay/SelfieOverlay.js.map +1 -0
- package/build/components/OverLay/StepOverlay.d.ts +9 -0
- package/build/components/OverLay/StepOverlay.d.ts.map +1 -0
- package/build/components/OverLay/StepOverlay.js +53 -0
- package/build/components/OverLay/StepOverlay.js.map +1 -0
- package/build/components/OverLay/type.d.ts +98 -0
- package/build/components/OverLay/type.d.ts.map +1 -0
- package/build/components/OverLay/type.js +2 -0
- package/build/components/OverLay/type.js.map +1 -0
- package/build/components/ProgressIndicator.d.ts +8 -0
- package/build/components/ProgressIndicator.d.ts.map +1 -0
- package/build/components/ProgressIndicator.js +48 -0
- package/build/components/ProgressIndicator.js.map +1 -0
- package/build/components/SelfieCapture.d.ts +3 -0
- package/build/components/SelfieCapture.d.ts.map +1 -0
- package/build/components/SelfieCapture.js +197 -0
- package/build/components/SelfieCapture.js.map +1 -0
- package/build/components/SimpleExample.d.ts +3 -0
- package/build/components/SimpleExample.d.ts.map +1 -0
- package/build/components/SimpleExample.js +89 -0
- package/build/components/SimpleExample.js.map +1 -0
- package/build/components/Svgs/GpsIcon.d.ts +3 -0
- package/build/components/Svgs/GpsIcon.d.ts.map +1 -0
- package/build/components/Svgs/GpsIcon.js +9 -0
- package/build/components/Svgs/GpsIcon.js.map +1 -0
- package/build/components/Svgs/Schield.d.ts +3 -0
- package/build/components/Svgs/Schield.d.ts.map +1 -0
- package/build/components/Svgs/Schield.js +22 -0
- package/build/components/Svgs/Schield.js.map +1 -0
- package/build/components/Svgs/directionArrow.gif +0 -0
- package/build/components/Svgs/frontSelfieIcon.d.ts +3 -0
- package/build/components/Svgs/frontSelfieIcon.d.ts.map +1 -0
- package/build/components/Svgs/frontSelfieIcon.js +11 -0
- package/build/components/Svgs/frontSelfieIcon.js.map +1 -0
- package/build/components/Svgs/scanningLine.d.ts +9 -0
- package/build/components/Svgs/scanningLine.d.ts.map +1 -0
- package/build/components/Svgs/scanningLine.js +61 -0
- package/build/components/Svgs/scanningLine.js.map +1 -0
- package/build/components/Svgs/sideSelfieIcon.d.ts +3 -0
- package/build/components/Svgs/sideSelfieIcon.d.ts.map +1 -0
- package/build/components/Svgs/sideSelfieIcon.js +9 -0
- package/build/components/Svgs/sideSelfieIcon.js.map +1 -0
- package/build/components/TemplateKYCExample.d.ts +22 -0
- package/build/components/TemplateKYCExample.d.ts.map +1 -0
- package/build/components/TemplateKYCExample.js +155 -0
- package/build/components/TemplateKYCExample.js.map +1 -0
- package/build/components/TemplateKYCFlowRefactored.d.ts +26 -0
- package/build/components/TemplateKYCFlowRefactored.d.ts.map +1 -0
- package/build/components/TemplateKYCFlowRefactored.js +359 -0
- package/build/components/TemplateKYCFlowRefactored.js.map +1 -0
- package/build/components/VisionCameraView.d.ts +22 -0
- package/build/components/VisionCameraView.d.ts.map +1 -0
- package/build/components/VisionCameraView.js +142 -0
- package/build/components/VisionCameraView.js.map +1 -0
- package/build/components/example/CameraCaptureEx.d.ts +4 -0
- package/build/components/example/CameraCaptureEx.d.ts.map +1 -0
- package/build/components/example/CameraCaptureEx.js +219 -0
- package/build/components/example/CameraCaptureEx.js.map +1 -0
- package/build/components/example/CameraCaptureExAdvanced.d.ts +3 -0
- package/build/components/example/CameraCaptureExAdvanced.d.ts.map +1 -0
- package/build/components/example/CameraCaptureExAdvanced.js +229 -0
- package/build/components/example/CameraCaptureExAdvanced.js.map +1 -0
- package/build/components/example/CameraCaptureExScan.d.ts +3 -0
- package/build/components/example/CameraCaptureExScan.d.ts.map +1 -0
- package/build/components/example/CameraCaptureExScan.js +213 -0
- package/build/components/example/CameraCaptureExScan.js.map +1 -0
- package/build/components/example/CameraCaptureExSimple.d.ts +3 -0
- package/build/components/example/CameraCaptureExSimple.d.ts.map +1 -0
- package/build/components/example/CameraCaptureExSimple.js +138 -0
- package/build/components/example/CameraCaptureExSimple.js.map +1 -0
- package/build/components/example/DynamicTemplateExample.d.ts +10 -0
- package/build/components/example/DynamicTemplateExample.d.ts.map +1 -0
- package/build/components/example/DynamicTemplateExample.js +241 -0
- package/build/components/example/DynamicTemplateExample.js.map +1 -0
- package/build/components/example/OrientationVideoExample.d.ts +4 -0
- package/build/components/example/OrientationVideoExample.d.ts.map +1 -0
- package/build/components/example/OrientationVideoExample.js +325 -0
- package/build/components/example/OrientationVideoExample.js.map +1 -0
- package/build/components/example/SelfieCaptureEx.d.ts +4 -0
- package/build/components/example/SelfieCaptureEx.d.ts.map +1 -0
- package/build/components/example/SelfieCaptureEx.js +238 -0
- package/build/components/example/SelfieCaptureEx.js.map +1 -0
- package/build/components/ui/Button.d.ts +37 -0
- package/build/components/ui/Button.d.ts.map +1 -0
- package/build/components/ui/Button.js +194 -0
- package/build/components/ui/Button.js.map +1 -0
- package/build/components/ui/ButtonExample.d.ts +4 -0
- package/build/components/ui/ButtonExample.d.ts.map +1 -0
- package/build/components/ui/ButtonExample.js +209 -0
- package/build/components/ui/ButtonExample.js.map +1 -0
- package/build/components/ui/ButtonStyles.d.ts +521 -0
- package/build/components/ui/ButtonStyles.d.ts.map +1 -0
- package/build/components/ui/ButtonStyles.js +429 -0
- package/build/components/ui/ButtonStyles.js.map +1 -0
- package/build/config/KYCConfig.d.ts +14 -0
- package/build/config/KYCConfig.d.ts.map +1 -0
- package/build/config/KYCConfig.js +26 -0
- package/build/config/KYCConfig.js.map +1 -0
- package/build/config/KYCConfigs.d.ts +7 -0
- package/build/config/KYCConfigs.d.ts.map +1 -0
- package/build/config/KYCConfigs.js +516 -0
- package/build/config/KYCConfigs.js.map +1 -0
- package/build/config/allowedDomains.d.ts +30 -0
- package/build/config/allowedDomains.d.ts.map +1 -0
- package/build/config/allowedDomains.js +112 -0
- package/build/config/allowedDomains.js.map +1 -0
- package/build/config/countriesData.d.ts +3 -0
- package/build/config/countriesData.d.ts.map +1 -0
- package/build/config/countriesData.js +80 -0
- package/build/config/countriesData.js.map +1 -0
- package/build/config/region_mapping.d.ts +3 -0
- package/build/config/region_mapping.d.ts.map +1 -0
- package/build/config/region_mapping.js +736 -0
- package/build/config/region_mapping.js.map +1 -0
- package/build/hooks/useI18n.d.ts +11 -0
- package/build/hooks/useI18n.d.ts.map +1 -0
- package/build/hooks/useI18n.js +37 -0
- package/build/hooks/useI18n.js.map +1 -0
- package/build/hooks/useKYC.d.ts +15 -0
- package/build/hooks/useKYC.d.ts.map +1 -0
- package/build/hooks/useKYC.js +103 -0
- package/build/hooks/useKYC.js.map +1 -0
- package/build/hooks/useKYCFlow.d.ts +3 -0
- package/build/hooks/useKYCFlow.d.ts.map +1 -0
- package/build/hooks/useKYCFlow.js +221 -0
- package/build/hooks/useKYCFlow.js.map +1 -0
- package/build/hooks/useLocation.d.ts +32 -0
- package/build/hooks/useLocation.d.ts.map +1 -0
- package/build/hooks/useLocation.js +165 -0
- package/build/hooks/useLocation.js.map +1 -0
- package/build/hooks/useOrientationVideo.d.ts +10 -0
- package/build/hooks/useOrientationVideo.d.ts.map +1 -0
- package/build/hooks/useOrientationVideo.js +118 -0
- package/build/hooks/useOrientationVideo.js.map +1 -0
- package/build/hooks/useRealtimeVerifier.d.ts +28 -0
- package/build/hooks/useRealtimeVerifier.d.ts.map +1 -0
- package/build/hooks/useRealtimeVerifier.js +91 -0
- package/build/hooks/useRealtimeVerifier.js.map +1 -0
- package/build/hooks/useTemplateKYCFlow.d.ts +48 -0
- package/build/hooks/useTemplateKYCFlow.d.ts.map +1 -0
- package/build/hooks/useTemplateKYCFlow.js +910 -0
- package/build/hooks/useTemplateKYCFlow.js.map +1 -0
- package/build/hooks/useTemplateLoader.d.ts +14 -0
- package/build/hooks/useTemplateLoader.d.ts.map +1 -0
- package/build/hooks/useTemplateLoader.js +85 -0
- package/build/hooks/useTemplateLoader.js.map +1 -0
- package/build/i18n/en/index.d.ts +233 -0
- package/build/i18n/en/index.d.ts.map +1 -0
- package/build/i18n/en/index.js +261 -0
- package/build/i18n/en/index.js.map +1 -0
- package/build/i18n/fr/index.d.ts +219 -0
- package/build/i18n/fr/index.d.ts.map +1 -0
- package/build/i18n/fr/index.js +246 -0
- package/build/i18n/fr/index.js.map +1 -0
- package/build/i18n/index.d.ts +10 -0
- package/build/i18n/index.d.ts.map +1 -0
- package/build/i18n/index.js +56 -0
- package/build/i18n/index.js.map +1 -0
- package/build/i18n/types.d.ts +162 -0
- package/build/i18n/types.d.ts.map +1 -0
- package/build/i18n/types.js +3 -0
- package/build/i18n/types.js.map +1 -0
- package/build/i18n/usage-example.d.ts +4 -0
- package/build/i18n/usage-example.d.ts.map +1 -0
- package/build/i18n/usage-example.js +189 -0
- package/build/i18n/usage-example.js.map +1 -0
- package/build/index.d.ts +11 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +17 -0
- package/build/index.js.map +1 -0
- package/build/modules/api/CardAuthentification.d.ts +72 -0
- package/build/modules/api/CardAuthentification.d.ts.map +1 -0
- package/build/modules/api/CardAuthentification.js +487 -0
- package/build/modules/api/CardAuthentification.js.map +1 -0
- package/build/modules/api/KYCService.d.ts +116 -0
- package/build/modules/api/KYCService.d.ts.map +1 -0
- package/build/modules/api/KYCService.js +526 -0
- package/build/modules/api/KYCService.js.map +1 -0
- package/build/modules/api/SelfieVerification.d.ts +5 -0
- package/build/modules/api/SelfieVerification.d.ts.map +1 -0
- package/build/modules/api/SelfieVerification.js +25 -0
- package/build/modules/api/SelfieVerification.js.map +1 -0
- package/build/modules/api/TemplateService.d.ts +44 -0
- package/build/modules/api/TemplateService.d.ts.map +1 -0
- package/build/modules/api/TemplateService.js +146 -0
- package/build/modules/api/TemplateService.js.map +1 -0
- package/build/modules/api/backendApi.d.ts +2 -0
- package/build/modules/api/backendApi.d.ts.map +1 -0
- package/build/modules/api/backendApi.js +6 -0
- package/build/modules/api/backendApi.js.map +1 -0
- package/build/modules/api/types.d.ts +53 -0
- package/build/modules/api/types.d.ts.map +1 -0
- package/build/modules/api/types.js +2 -0
- package/build/modules/api/types.js.map +1 -0
- package/build/modules/camera/NativeCameraModule.d.ts +52 -0
- package/build/modules/camera/NativeCameraModule.d.ts.map +1 -0
- package/build/modules/camera/NativeCameraModule.js +149 -0
- package/build/modules/camera/NativeCameraModule.js.map +1 -0
- package/build/modules/camera/UnifiedCameraModule.d.ts +70 -0
- package/build/modules/camera/UnifiedCameraModule.d.ts.map +1 -0
- package/build/modules/camera/UnifiedCameraModule.js +125 -0
- package/build/modules/camera/UnifiedCameraModule.js.map +1 -0
- package/build/modules/camera/VisionCameraModule.d.ts +62 -0
- package/build/modules/camera/VisionCameraModule.d.ts.map +1 -0
- package/build/modules/camera/VisionCameraModule.js +313 -0
- package/build/modules/camera/VisionCameraModule.js.map +1 -0
- package/build/modules/camera/VisionCameraModule.web.d.ts +145 -0
- package/build/modules/camera/VisionCameraModule.web.d.ts.map +1 -0
- package/build/modules/camera/VisionCameraModule.web.js +589 -0
- package/build/modules/camera/VisionCameraModule.web.js.map +1 -0
- package/build/modules/camera/index.d.ts +5 -0
- package/build/modules/camera/index.d.ts.map +1 -0
- package/build/modules/camera/index.js +4 -0
- package/build/modules/camera/index.js.map +1 -0
- package/build/stores/kycStore.d.ts +55 -0
- package/build/stores/kycStore.d.ts.map +1 -0
- package/build/stores/kycStore.js +98 -0
- package/build/stores/kycStore.js.map +1 -0
- package/build/types/KYC.types.d.ts +643 -0
- package/build/types/KYC.types.d.ts.map +1 -0
- package/build/types/KYC.types.js +25 -0
- package/build/types/KYC.types.js.map +1 -0
- package/build/types/env.types.d.ts +13 -0
- package/build/types/env.types.d.ts.map +1 -0
- package/build/types/env.types.js +2 -0
- package/build/types/env.types.js.map +1 -0
- package/build/utils/cropByObb.d.ts +37 -0
- package/build/utils/cropByObb.d.ts.map +1 -0
- package/build/utils/cropByObb.js +215 -0
- package/build/utils/cropByObb.js.map +1 -0
- package/build/utils/deviceDetection.d.ts +6 -0
- package/build/utils/deviceDetection.d.ts.map +1 -0
- package/build/utils/deviceDetection.js +12 -0
- package/build/utils/deviceDetection.js.map +1 -0
- package/build/utils/get-document-type-info.d.ts +13 -0
- package/build/utils/get-document-type-info.d.ts.map +1 -0
- package/build/utils/get-document-type-info.js +59 -0
- package/build/utils/get-document-type-info.js.map +1 -0
- package/build/utils/logger.d.ts +12 -0
- package/build/utils/logger.d.ts.map +1 -0
- package/build/utils/logger.js +45 -0
- package/build/utils/logger.js.map +1 -0
- package/build/utils/pathToBase64.d.ts +3 -0
- package/build/utils/pathToBase64.d.ts.map +1 -0
- package/build/utils/pathToBase64.js +65 -0
- package/build/utils/pathToBase64.js.map +1 -0
- package/build/utils/platformAlert.d.ts +20 -0
- package/build/utils/platformAlert.d.ts.map +1 -0
- package/build/utils/platformAlert.js +67 -0
- package/build/utils/platformAlert.js.map +1 -0
- package/build/utils/remove-duplicate.d.ts +2 -0
- package/build/utils/remove-duplicate.d.ts.map +1 -0
- package/build/utils/remove-duplicate.js +4 -0
- package/build/utils/remove-duplicate.js.map +1 -0
- package/build/utils/template-transformer.d.ts +10 -0
- package/build/utils/template-transformer.d.ts.map +1 -0
- package/build/utils/template-transformer.js +365 -0
- package/build/utils/template-transformer.js.map +1 -0
- package/build/web/WebKYCEntry.d.ts +9 -0
- package/build/web/WebKYCEntry.d.ts.map +1 -0
- package/build/web/WebKYCEntry.js +288 -0
- package/build/web/WebKYCEntry.js.map +1 -0
- package/build/web/index.d.ts +2 -0
- package/build/web/index.d.ts.map +1 -0
- package/build/web/index.js +2 -0
- package/build/web/index.js.map +1 -0
- package/expo-module.config.json +9 -0
- package/ios/TransfergratisSdk.podspec +31 -0
- package/ios/TransfergratisSdkModule.swift +409 -0
- package/package.json +71 -0
- package/plugin/build/index.d.ts +5 -0
- package/plugin/build/index.js +12 -0
- package/plugin/build/withLocation.d.ts +9 -0
- package/plugin/build/withLocation.js +77 -0
- package/plugin/build/withRemovePermissions.d.ts +3 -0
- package/plugin/build/withRemovePermissions.js +67 -0
- package/plugin/build/withVisionCamera.d.ts +8 -0
- package/plugin/build/withVisionCamera.js +68 -0
- package/plugin/src/index.ts +5 -0
- package/plugin/src/withLocation.ts +109 -0
- package/plugin/src/withRemovePermissions.js +85 -0
- package/plugin/src/withRemovePermissions.ts +83 -0
- package/plugin/src/withVisionCamera.js +88 -0
- package/plugin/src/withVisionCamera.ts +97 -0
- package/plugin/tsconfig.json +17 -0
- package/plugin/tsconfig.tsbuildinfo +1 -0
- package/plugin.js +19 -0
- package/src/App.tsx +9 -0
- package/src/TransfergratisSdk.types.ts +30 -0
- package/src/TransfergratisSdkModule.ts +16 -0
- package/src/TransfergratisSdkModule.web.ts +31 -0
- package/src/TransfergratisSdkView.tsx +11 -0
- package/src/TransfergratisSdkView.web.tsx +15 -0
- package/src/api/axios.ts +144 -0
- package/src/components/Camera/index.tsx +0 -0
- package/src/components/Camera/index.web.tsx +0 -0
- package/src/components/Camera/types.ts +0 -0
- package/src/components/ConfigurableKYCFlow.tsx +334 -0
- package/src/components/CustomCameraExample.tsx +274 -0
- package/src/components/EnhancedCameraView.tsx +482 -0
- package/src/components/EnhancedCameraView.web.tsx +597 -0
- package/src/components/FileUpload.tsx +249 -0
- package/src/components/KYCElementRenderer.tsx +106 -0
- package/src/components/KYCElements/AdditionalDocumentsTemplate.tsx +346 -0
- package/src/components/KYCElements/CameraCapture.tsx +268 -0
- package/src/components/KYCElements/CompletionStep.tsx +161 -0
- package/src/components/KYCElements/CountrySelection.tsx +177 -0
- package/src/components/KYCElements/CountrySelectionTemplate.tsx +526 -0
- package/src/components/KYCElements/DocumentTypeSelection.tsx +173 -0
- package/src/components/KYCElements/EmailVerificationTemplate.tsx +278 -0
- package/src/components/KYCElements/FileUpload.tsx +318 -0
- package/src/components/KYCElements/FileUploadTemplate.tsx +395 -0
- package/src/components/KYCElements/IDCardCapture.tsx +1053 -0
- package/src/components/KYCElements/InitializationStep.tsx +53 -0
- package/src/components/KYCElements/LocationCaptureTemplate.tsx +378 -0
- package/src/components/KYCElements/OrientationVideoCapture.tsx +649 -0
- package/src/components/KYCElements/OrientationVideoCaptureEnhanced.tsx +616 -0
- package/src/components/KYCElements/OrientationVideoCaptureFinal.tsx +534 -0
- package/src/components/KYCElements/PersonalInformationTemplate.tsx +158 -0
- package/src/components/KYCElements/PhoneVerificationTemplate.tsx +253 -0
- package/src/components/KYCElements/ReviewSubmitTemplate.tsx +201 -0
- package/src/components/KYCElements/SelfieCapture.tsx +284 -0
- package/src/components/KYCElements/SelfieCaptureTemplate.tsx +662 -0
- package/src/components/KYCElements/VerificationProgressTemplate.tsx +247 -0
- package/src/components/KYCElements/VerificationStep.tsx +234 -0
- package/src/components/KYCElements/WelcomeTemplate.tsx +290 -0
- package/src/components/KYCExample.tsx +297 -0
- package/src/components/KYCFlow.tsx +377 -0
- package/src/components/NativeCameraView.tsx +47 -0
- package/src/components/OverLay/IdCard.tsx +277 -0
- package/src/components/OverLay/SelfieOverlay.tsx +211 -0
- package/src/components/OverLay/StepOverlay.tsx +64 -0
- package/src/components/OverLay/type.ts +91 -0
- package/src/components/ProgressIndicator.tsx +62 -0
- package/src/components/SelfieCapture.tsx +244 -0
- package/src/components/SimpleExample.tsx +92 -0
- package/src/components/Svgs/GpsIcon.tsx +12 -0
- package/src/components/Svgs/Schield.tsx +26 -0
- package/src/components/Svgs/directionArrow.gif +0 -0
- package/src/components/Svgs/frontSelfieIcon.tsx +13 -0
- package/src/components/Svgs/scanningLine.tsx +88 -0
- package/src/components/Svgs/sideSelfieIcon.tsx +10 -0
- package/src/components/TemplateKYCExample.tsx +194 -0
- package/src/components/TemplateKYCFlowRefactored.tsx +473 -0
- package/src/components/VisionCameraView.tsx +197 -0
- package/src/components/example/CameraCaptureEx.tsx +335 -0
- package/src/components/example/CameraCaptureExAdvanced.tsx +357 -0
- package/src/components/example/CameraCaptureExScan.tsx +336 -0
- package/src/components/example/CameraCaptureExSimple.tsx +215 -0
- package/src/components/example/DynamicTemplateExample.tsx +289 -0
- package/src/components/example/OrientationVideoExample.tsx +380 -0
- package/src/components/example/SelfieCaptureEx.tsx +358 -0
- package/src/components/ui/Button.tsx +328 -0
- package/src/components/ui/ButtonExample.tsx +318 -0
- package/src/components/ui/ButtonStyles.ts +465 -0
- package/src/config/KYCConfig.ts +34 -0
- package/src/config/KYCConfigs.ts +528 -0
- package/src/config/allowedDomains.ts +133 -0
- package/src/config/countriesData.ts +85 -0
- package/src/config/region_mapping.json +735 -0
- package/src/config/region_mapping.ts +737 -0
- package/src/hooks/useI18n.ts +53 -0
- package/src/hooks/useKYC.ts +131 -0
- package/src/hooks/useKYCFlow.ts +248 -0
- package/src/hooks/useLocation.ts +221 -0
- package/src/hooks/useOrientationVideo.ts +149 -0
- package/src/hooks/useRealtimeVerifier.ts +128 -0
- package/src/hooks/useTemplateKYCFlow.tsx +1051 -0
- package/src/hooks/useTemplateLoader.ts +102 -0
- package/src/i18n/README.md +288 -0
- package/src/i18n/en/index.ts +275 -0
- package/src/i18n/fr/index.ts +260 -0
- package/src/i18n/index.ts +65 -0
- package/src/i18n/types.ts +182 -0
- package/src/i18n/usage-example.tsx +202 -0
- package/src/index.ts +25 -0
- package/src/modules/api/CardAuthentification.ts +589 -0
- package/src/modules/api/KYCService.ts +666 -0
- package/src/modules/api/SelfieVerification.ts +33 -0
- package/src/modules/api/TemplateService.ts +168 -0
- package/src/modules/api/backendApi.ts +8 -0
- package/src/modules/api/types.ts +59 -0
- package/src/modules/camera/NativeCameraModule.ts +170 -0
- package/src/modules/camera/UnifiedCameraModule.ts +160 -0
- package/src/modules/camera/VisionCameraModule.ts +334 -0
- package/src/modules/camera/VisionCameraModule.web.ts +679 -0
- package/src/modules/camera/index.ts +6 -0
- package/src/stores/kycStore.ts +161 -0
- package/src/types/KYC.types.ts +837 -0
- package/src/types/env.types.ts +13 -0
- package/src/utils/cropByObb.ts +254 -0
- package/src/utils/deviceDetection.ts +11 -0
- package/src/utils/get-document-type-info.ts +62 -0
- package/src/utils/logger.ts +48 -0
- package/src/utils/pathToBase64.ts +63 -0
- package/src/utils/platformAlert.ts +86 -0
- package/src/utils/remove-duplicate.ts +3 -0
- package/src/utils/template-transformer.ts +445 -0
- package/src/web/WebKYCEntry.tsx +375 -0
- package/src/web/index.ts +1 -0
|
@@ -0,0 +1,643 @@
|
|
|
1
|
+
import { VerificationResult } from "../modules/api/types";
|
|
2
|
+
export interface Document {
|
|
3
|
+
id: string;
|
|
4
|
+
type: DocumentType;
|
|
5
|
+
imageUri: string;
|
|
6
|
+
uploadedAt: Date;
|
|
7
|
+
validated: boolean;
|
|
8
|
+
extractedData?: DocumentData;
|
|
9
|
+
}
|
|
10
|
+
export type DocumentType = 'passport' | 'id_card' | 'drivers_license';
|
|
11
|
+
export interface DocumentData {
|
|
12
|
+
firstName?: string;
|
|
13
|
+
lastName?: string;
|
|
14
|
+
dateOfBirth?: string;
|
|
15
|
+
documentNumber?: string;
|
|
16
|
+
expiryDate?: string;
|
|
17
|
+
nationality?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface Selfie {
|
|
20
|
+
id: string;
|
|
21
|
+
imageUri: string;
|
|
22
|
+
capturedAt: Date;
|
|
23
|
+
validated: boolean;
|
|
24
|
+
faceDetected: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface KYCSession {
|
|
27
|
+
id: string;
|
|
28
|
+
userId: string;
|
|
29
|
+
status: KYCStatus;
|
|
30
|
+
currentStep: number;
|
|
31
|
+
documents: Document[];
|
|
32
|
+
selfie?: Selfie;
|
|
33
|
+
verificationId?: string;
|
|
34
|
+
createdAt: Date;
|
|
35
|
+
updatedAt: Date;
|
|
36
|
+
completedAt?: Date;
|
|
37
|
+
}
|
|
38
|
+
export type KYCStatus = 'pending' | 'in_progress' | 'completed' | 'failed' | 'rejected';
|
|
39
|
+
export interface KYCStep {
|
|
40
|
+
id: number;
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
isCompleted: boolean;
|
|
44
|
+
isRequired: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface KYCError {
|
|
47
|
+
code: string;
|
|
48
|
+
message: string;
|
|
49
|
+
field?: string;
|
|
50
|
+
details?: any;
|
|
51
|
+
}
|
|
52
|
+
export interface KYCResponse {
|
|
53
|
+
success: boolean;
|
|
54
|
+
data?: any;
|
|
55
|
+
error?: KYCError;
|
|
56
|
+
message?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface KYCEvent {
|
|
59
|
+
type: 'step_completed' | 'document_uploaded' | 'selfie_captured' | 'verification_started' | 'verification_completed';
|
|
60
|
+
timestamp: Date;
|
|
61
|
+
data?: any;
|
|
62
|
+
}
|
|
63
|
+
export interface KYCConfig {
|
|
64
|
+
apiBaseUrl: string;
|
|
65
|
+
apiKey: string;
|
|
66
|
+
timeout: number;
|
|
67
|
+
retryAttempts: number;
|
|
68
|
+
enableDebug: boolean;
|
|
69
|
+
}
|
|
70
|
+
export interface UseKYCReturn {
|
|
71
|
+
session: KYCSession | null;
|
|
72
|
+
currentStep: number;
|
|
73
|
+
isProcessing: boolean;
|
|
74
|
+
error: KYCError | null;
|
|
75
|
+
startSession: (userId: string) => void;
|
|
76
|
+
nextStep: () => void;
|
|
77
|
+
previousStep: () => void;
|
|
78
|
+
uploadDocument: (document: Document) => Promise<void>;
|
|
79
|
+
captureSelfie: (selfie: Selfie) => Promise<void>;
|
|
80
|
+
submitVerification: () => Promise<void>;
|
|
81
|
+
resetSession: () => void;
|
|
82
|
+
}
|
|
83
|
+
export type KYCElementType = 'country_selection' | 'document_type_selection' | 'camera_capture' | 'file_upload' | 'selfie_capture' | 'verification' | 'completion';
|
|
84
|
+
export interface KYCElement {
|
|
85
|
+
id: string;
|
|
86
|
+
type: KYCElementType;
|
|
87
|
+
title: string;
|
|
88
|
+
description: string;
|
|
89
|
+
isRequired: boolean;
|
|
90
|
+
isVisible: boolean;
|
|
91
|
+
order: number;
|
|
92
|
+
validation?: KYCValidation;
|
|
93
|
+
options?: KYCElementOption[];
|
|
94
|
+
cameraConfig?: KYCCameraConfig;
|
|
95
|
+
uploadConfig?: KYCUploadConfig;
|
|
96
|
+
}
|
|
97
|
+
export interface KYCElementOption {
|
|
98
|
+
value: string;
|
|
99
|
+
label: string;
|
|
100
|
+
icon?: string;
|
|
101
|
+
description?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface KYCValidation {
|
|
104
|
+
required: boolean;
|
|
105
|
+
minLength?: number;
|
|
106
|
+
maxLength?: number;
|
|
107
|
+
pattern?: string;
|
|
108
|
+
customValidator?: (value: any) => boolean | string;
|
|
109
|
+
}
|
|
110
|
+
export interface KYCCameraConfig {
|
|
111
|
+
aspectRatio?: number;
|
|
112
|
+
quality?: number;
|
|
113
|
+
flashMode?: 'on' | 'off' | 'auto';
|
|
114
|
+
cameraType?: 'front' | 'back';
|
|
115
|
+
allowRetake: boolean;
|
|
116
|
+
maxRetakes?: number;
|
|
117
|
+
overlay?: {
|
|
118
|
+
showGuide: boolean;
|
|
119
|
+
guideText?: string;
|
|
120
|
+
guideImage?: string;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
export interface KYCUploadConfig {
|
|
124
|
+
allowedTypes: string[];
|
|
125
|
+
maxFiles: number;
|
|
126
|
+
maxFileSize?: number;
|
|
127
|
+
allowMultiple: boolean;
|
|
128
|
+
}
|
|
129
|
+
export interface KYCFlowConfig {
|
|
130
|
+
id: string;
|
|
131
|
+
name: string;
|
|
132
|
+
description: string;
|
|
133
|
+
version: string;
|
|
134
|
+
elements: KYCElement[];
|
|
135
|
+
settings: {
|
|
136
|
+
allowBackNavigation: boolean;
|
|
137
|
+
showProgressBar: boolean;
|
|
138
|
+
showStepNumbers: boolean;
|
|
139
|
+
autoAdvance: boolean;
|
|
140
|
+
enableRetry: boolean;
|
|
141
|
+
maxRetries: number;
|
|
142
|
+
};
|
|
143
|
+
styling: {
|
|
144
|
+
primaryColor: string;
|
|
145
|
+
secondaryColor: string;
|
|
146
|
+
backgroundColor: string;
|
|
147
|
+
textColor: string;
|
|
148
|
+
borderRadius: number;
|
|
149
|
+
fontFamily?: string;
|
|
150
|
+
};
|
|
151
|
+
localization: {
|
|
152
|
+
language: string;
|
|
153
|
+
translations: Record<string, Record<string, string>>;
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
export interface KYCFlowState {
|
|
157
|
+
config: KYCFlowConfig;
|
|
158
|
+
currentElementIndex: number;
|
|
159
|
+
completedElements: string[];
|
|
160
|
+
elementData: Record<string, any>;
|
|
161
|
+
errors: Record<string, string>;
|
|
162
|
+
isProcessing: boolean;
|
|
163
|
+
}
|
|
164
|
+
export interface KYCFlowActions {
|
|
165
|
+
initializeFlow: (config: KYCFlowConfig) => void;
|
|
166
|
+
nextElement: () => void;
|
|
167
|
+
previousElement: () => void;
|
|
168
|
+
goToElement: (elementId: string) => void;
|
|
169
|
+
updateElementData: (elementId: string, data: any) => void;
|
|
170
|
+
validateElement: (elementId: string) => boolean;
|
|
171
|
+
submitFlow: () => Promise<void>;
|
|
172
|
+
resetFlow: () => void;
|
|
173
|
+
}
|
|
174
|
+
export interface UseKYCFlowReturn {
|
|
175
|
+
state: KYCFlowState;
|
|
176
|
+
actions: KYCFlowActions;
|
|
177
|
+
currentElement: KYCElement | null;
|
|
178
|
+
progress: number;
|
|
179
|
+
canGoNext: boolean;
|
|
180
|
+
canGoPrevious: boolean;
|
|
181
|
+
isComplete: boolean;
|
|
182
|
+
}
|
|
183
|
+
export type OrientationType = 'center' | 'left' | 'right';
|
|
184
|
+
export interface OrientationCapture {
|
|
185
|
+
captured: boolean;
|
|
186
|
+
frame: number | null;
|
|
187
|
+
}
|
|
188
|
+
export interface OrientationVideoResult {
|
|
189
|
+
center: OrientationCapture;
|
|
190
|
+
right: OrientationCapture;
|
|
191
|
+
left: OrientationCapture;
|
|
192
|
+
}
|
|
193
|
+
export interface OrientationVideoRequest {
|
|
194
|
+
file: string;
|
|
195
|
+
}
|
|
196
|
+
export interface OrientationVideoResponse {
|
|
197
|
+
success: boolean;
|
|
198
|
+
data?: OrientationVideoResult;
|
|
199
|
+
error?: KYCError;
|
|
200
|
+
message?: string;
|
|
201
|
+
}
|
|
202
|
+
export interface OrientationVideoConfig {
|
|
203
|
+
duration: number;
|
|
204
|
+
orientations: OrientationType[];
|
|
205
|
+
instructions: Record<OrientationType, string>;
|
|
206
|
+
showPreview: boolean;
|
|
207
|
+
allowRetake: boolean;
|
|
208
|
+
maxRetakes: number;
|
|
209
|
+
quality: number;
|
|
210
|
+
aspectRatio: number;
|
|
211
|
+
}
|
|
212
|
+
export interface OrientationVideoState {
|
|
213
|
+
isRecording: boolean;
|
|
214
|
+
currentOrientation: OrientationType | null;
|
|
215
|
+
recordedVideo: string | null;
|
|
216
|
+
processingResult: OrientationVideoResult | null;
|
|
217
|
+
isProcessing: boolean;
|
|
218
|
+
error: string | null;
|
|
219
|
+
retakeCount: number;
|
|
220
|
+
}
|
|
221
|
+
export interface OrientationVideoActions {
|
|
222
|
+
startRecording: () => void;
|
|
223
|
+
stopRecording: () => void;
|
|
224
|
+
processVideo: () => Promise<OrientationVideoResult>;
|
|
225
|
+
retake: () => void;
|
|
226
|
+
reset: () => void;
|
|
227
|
+
setCurrentOrientation: (orientation: OrientationType) => void;
|
|
228
|
+
}
|
|
229
|
+
export interface LocalizedText {
|
|
230
|
+
en: string;
|
|
231
|
+
fr: string;
|
|
232
|
+
[key: string]: string;
|
|
233
|
+
}
|
|
234
|
+
export interface ComponentUI {
|
|
235
|
+
icon?: string;
|
|
236
|
+
themeColor?: string;
|
|
237
|
+
buttonText: LocalizedText | Record<string, LocalizedText>;
|
|
238
|
+
backgroundColor?: string;
|
|
239
|
+
textColor?: string;
|
|
240
|
+
borderRadius?: number;
|
|
241
|
+
}
|
|
242
|
+
export type GovernmentDocumentType = 'identity_card' | 'passport' | 'drivers_licence' | 'health_insurance_card' | 'permanent_residence' | 'national_id' | 'work_permit' | 'id' | 'pp' | 'dl' | 'hic' | 'pr' | 'wp';
|
|
243
|
+
export declare const GovernmentDocumentTypeShorted: Record<GovernmentDocumentType, string>;
|
|
244
|
+
export declare const GovernmentDocumentTypeBackend: Record<string, GovernmentDocumentType>;
|
|
245
|
+
export interface IDCardConfig {
|
|
246
|
+
sides: string[];
|
|
247
|
+
allowed_formats: string[];
|
|
248
|
+
max_size_mb: number;
|
|
249
|
+
document_types: GovernmentDocumentType[];
|
|
250
|
+
bbox_configs?: Record<GovernmentDocumentType, {
|
|
251
|
+
xMin: number;
|
|
252
|
+
yMin: number;
|
|
253
|
+
xMax: number;
|
|
254
|
+
yMax: number;
|
|
255
|
+
borderColor?: string;
|
|
256
|
+
borderWidth?: number;
|
|
257
|
+
cornerRadius?: number;
|
|
258
|
+
}>;
|
|
259
|
+
}
|
|
260
|
+
export interface SelfieConfig {
|
|
261
|
+
liveness_check: boolean;
|
|
262
|
+
max_attempts: number;
|
|
263
|
+
orientations: ('center' | 'left' | 'right')[];
|
|
264
|
+
}
|
|
265
|
+
export interface FileUploadConfig {
|
|
266
|
+
allowed_formats: string[];
|
|
267
|
+
max_size_mb: number;
|
|
268
|
+
required: boolean;
|
|
269
|
+
}
|
|
270
|
+
export interface LocationConfig {
|
|
271
|
+
accuracy: string;
|
|
272
|
+
required: boolean;
|
|
273
|
+
}
|
|
274
|
+
export interface CountrySelectionConfig {
|
|
275
|
+
allowed_countries: string[];
|
|
276
|
+
default_country: string;
|
|
277
|
+
required: boolean;
|
|
278
|
+
}
|
|
279
|
+
export type ComponentConfig = IDCardConfig | SelfieConfig | FileUploadConfig | LocationConfig | CountrySelectionConfig | CountrySelectionConfig | WelcomeConfig | EmailVerificationConfig | PhoneVerificationConfig | PersonalInformationConfig | AdditionalDocumentsConfig;
|
|
280
|
+
export interface TemplateComponent {
|
|
281
|
+
id: number;
|
|
282
|
+
type: 'id_card' | 'selfie' | 'file_upload' | 'location' | 'country_selection' | 'initialization' | 'review_submit' | 'verification_progress' | 'welcome' | 'email_verification' | 'phone_verification' | 'personal_information' | 'additional_documents';
|
|
283
|
+
order: number;
|
|
284
|
+
templateId?: number;
|
|
285
|
+
labels: LocalizedText | Record<string, LocalizedText>;
|
|
286
|
+
instructions: LocalizedText | Record<string, LocalizedText>;
|
|
287
|
+
ui: ComponentUI | Record<string, ComponentUI>;
|
|
288
|
+
config: ComponentConfig;
|
|
289
|
+
}
|
|
290
|
+
export interface KYCTemplate {
|
|
291
|
+
id: number;
|
|
292
|
+
name: LocalizedText;
|
|
293
|
+
description: LocalizedText;
|
|
294
|
+
version: string;
|
|
295
|
+
components: TemplateComponent[];
|
|
296
|
+
}
|
|
297
|
+
export interface TemplateState {
|
|
298
|
+
template: KYCTemplate;
|
|
299
|
+
currentComponentIndex: number;
|
|
300
|
+
completedComponents: number[];
|
|
301
|
+
componentData: Record<number, any>;
|
|
302
|
+
errors: Record<number, string>;
|
|
303
|
+
isProcessing: boolean;
|
|
304
|
+
currentLanguage: string;
|
|
305
|
+
showCustomStepper: boolean;
|
|
306
|
+
session: SessionState;
|
|
307
|
+
verification: VerificationState;
|
|
308
|
+
}
|
|
309
|
+
export interface SessionState {
|
|
310
|
+
session_id: string;
|
|
311
|
+
token: string;
|
|
312
|
+
isInitialized: boolean;
|
|
313
|
+
isProcessing: boolean;
|
|
314
|
+
error: string | null;
|
|
315
|
+
/** True once loadSessionData has run (for resume flow); allows UI to show loading until country/data restored */
|
|
316
|
+
sessionDataRestored?: boolean;
|
|
317
|
+
}
|
|
318
|
+
export type VerificationStatus = 'idle' | 'in_progress' | 'success' | 'failed';
|
|
319
|
+
export interface VerificationState {
|
|
320
|
+
status: VerificationStatus;
|
|
321
|
+
result?: VerificationResult;
|
|
322
|
+
}
|
|
323
|
+
export interface TemplateActions {
|
|
324
|
+
initializeTemplate: (template: KYCTemplate) => void;
|
|
325
|
+
nextComponent: (overrideData?: any) => void;
|
|
326
|
+
previousComponent: () => void;
|
|
327
|
+
goToComponent: (componentId: number) => void;
|
|
328
|
+
updateComponentData: (componentId: number, data: any) => void;
|
|
329
|
+
validateComponent: (componentId: number, dataOverride?: any) => boolean;
|
|
330
|
+
submitTemplate: () => Promise<void>;
|
|
331
|
+
resetTemplate: () => void;
|
|
332
|
+
setLanguage: (language: string) => void;
|
|
333
|
+
showCustomStepper: (show: boolean) => void;
|
|
334
|
+
setVerificationState: (state: VerificationState) => void;
|
|
335
|
+
submitVerification: () => Promise<void>;
|
|
336
|
+
}
|
|
337
|
+
export interface UseTemplateReturn {
|
|
338
|
+
state: TemplateState;
|
|
339
|
+
actions: TemplateActions;
|
|
340
|
+
currentComponent: TemplateComponent | null;
|
|
341
|
+
progress: number;
|
|
342
|
+
canGoNext: boolean;
|
|
343
|
+
canGoPrevious: boolean;
|
|
344
|
+
isComplete: boolean;
|
|
345
|
+
getLocalizedText: (text: LocalizedText) => string;
|
|
346
|
+
initializeSession: () => Promise<void>;
|
|
347
|
+
env: 'PRODUCTION' | 'SANDBOX';
|
|
348
|
+
/** Optional API key for backend auth (e.g. email verification endpoints). */
|
|
349
|
+
apiKey?: string;
|
|
350
|
+
}
|
|
351
|
+
export interface ISilentCaptureResult {
|
|
352
|
+
success: boolean;
|
|
353
|
+
path?: string;
|
|
354
|
+
mrz?: string;
|
|
355
|
+
error?: string;
|
|
356
|
+
isAnalyzing?: boolean;
|
|
357
|
+
bbox?: IBbox;
|
|
358
|
+
country?: string;
|
|
359
|
+
documentType?: string;
|
|
360
|
+
templatePath?: string;
|
|
361
|
+
lpipsScore?: number;
|
|
362
|
+
}
|
|
363
|
+
export interface IBbox {
|
|
364
|
+
minX: number;
|
|
365
|
+
minY: number;
|
|
366
|
+
width: number;
|
|
367
|
+
height: number;
|
|
368
|
+
}
|
|
369
|
+
export interface ICountryMapping {
|
|
370
|
+
py_file?: string;
|
|
371
|
+
front?: string;
|
|
372
|
+
back?: string;
|
|
373
|
+
keys_found?: string | null;
|
|
374
|
+
mrz_type?: string;
|
|
375
|
+
}
|
|
376
|
+
export interface Country {
|
|
377
|
+
code?: string;
|
|
378
|
+
name: string;
|
|
379
|
+
name_en: string;
|
|
380
|
+
flag: string;
|
|
381
|
+
regionMapping?: ICountryMapping;
|
|
382
|
+
hasRegions?: boolean;
|
|
383
|
+
}
|
|
384
|
+
export interface WelcomeConfig {
|
|
385
|
+
subtitle?: string;
|
|
386
|
+
buttonText?: string;
|
|
387
|
+
requirements?: string[];
|
|
388
|
+
estimatedTime?: string;
|
|
389
|
+
consentOptions?: {
|
|
390
|
+
showPrivacyPolicy?: boolean;
|
|
391
|
+
showTermsOfService?: boolean;
|
|
392
|
+
showMarketingConsent?: boolean;
|
|
393
|
+
};
|
|
394
|
+
welcomeMessage?: string;
|
|
395
|
+
showEstimatedTime?: boolean;
|
|
396
|
+
}
|
|
397
|
+
export interface LocationCaptureConfig {
|
|
398
|
+
showMap?: boolean;
|
|
399
|
+
accuracy?: string;
|
|
400
|
+
required?: boolean;
|
|
401
|
+
maxDistance?: number;
|
|
402
|
+
captureMethod?: string;
|
|
403
|
+
allowManualEntry?: boolean;
|
|
404
|
+
countryRestrictions?: string[];
|
|
405
|
+
}
|
|
406
|
+
export interface GovernmentIdConfig {
|
|
407
|
+
required?: boolean;
|
|
408
|
+
allowSkip?: boolean;
|
|
409
|
+
cameraOverlay?: {
|
|
410
|
+
bbox?: {
|
|
411
|
+
xMax?: number;
|
|
412
|
+
xMin?: number;
|
|
413
|
+
yMax?: number;
|
|
414
|
+
yMin?: number;
|
|
415
|
+
borderColor?: string;
|
|
416
|
+
borderWidth?: number;
|
|
417
|
+
cornerRadius?: number;
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
documentTypes?: string[];
|
|
421
|
+
requiredSides?: string;
|
|
422
|
+
cameraSettings?: {
|
|
423
|
+
quality?: number;
|
|
424
|
+
flashMode?: string;
|
|
425
|
+
maxRetakes?: number;
|
|
426
|
+
allowRetake?: boolean;
|
|
427
|
+
aspectRatio?: number;
|
|
428
|
+
};
|
|
429
|
+
validationRules?: string[];
|
|
430
|
+
regionsByCountry?: Record<string, any>;
|
|
431
|
+
selectedCountries?: string[];
|
|
432
|
+
authenticationMethods?: Record<string, Record<string, {
|
|
433
|
+
back?: string[];
|
|
434
|
+
front?: string[];
|
|
435
|
+
mrzTypes?: string[];
|
|
436
|
+
}>>;
|
|
437
|
+
documentTypesByCountry?: Record<string, string[]>;
|
|
438
|
+
instructionsByDocumentType?: Record<string, LocalizedText>;
|
|
439
|
+
}
|
|
440
|
+
export interface SelfieCaptureConfig {
|
|
441
|
+
timeout?: number;
|
|
442
|
+
maxAttempts?: number;
|
|
443
|
+
faceMatching?: boolean;
|
|
444
|
+
captureMethod?: string;
|
|
445
|
+
qualityChecks?: string[];
|
|
446
|
+
livenessChecks?: string[];
|
|
447
|
+
matchThreshold?: string;
|
|
448
|
+
livenessEnabled?: boolean;
|
|
449
|
+
}
|
|
450
|
+
export interface ReviewSubmitConfig {
|
|
451
|
+
allowEditing?: boolean;
|
|
452
|
+
displayOptions?: string[];
|
|
453
|
+
requireConsent?: boolean;
|
|
454
|
+
postSubmitActions?: string[];
|
|
455
|
+
}
|
|
456
|
+
export type BackendComponentConfig = WelcomeConfig | LocationCaptureConfig | GovernmentIdConfig | SelfieCaptureConfig | ReviewSubmitConfig | Record<string, any>;
|
|
457
|
+
export interface BackendComponentTranslations {
|
|
458
|
+
en?: {
|
|
459
|
+
title?: string;
|
|
460
|
+
description?: string;
|
|
461
|
+
instructions?: string;
|
|
462
|
+
buttonText?: string;
|
|
463
|
+
consentText?: string;
|
|
464
|
+
successMessage?: string;
|
|
465
|
+
};
|
|
466
|
+
fr?: {
|
|
467
|
+
title?: string;
|
|
468
|
+
description?: string;
|
|
469
|
+
instructions?: string;
|
|
470
|
+
buttonText?: string;
|
|
471
|
+
consentText?: string;
|
|
472
|
+
successMessage?: string;
|
|
473
|
+
};
|
|
474
|
+
[key: string]: {
|
|
475
|
+
title?: string;
|
|
476
|
+
description?: string;
|
|
477
|
+
instructions?: string;
|
|
478
|
+
buttonText?: string;
|
|
479
|
+
consentText?: string;
|
|
480
|
+
successMessage?: string;
|
|
481
|
+
} | undefined;
|
|
482
|
+
}
|
|
483
|
+
export interface BackendTemplateComponent {
|
|
484
|
+
id: string;
|
|
485
|
+
type: 'welcome' | 'location-capture' | 'government-id' | 'selfie-capture' | 'review-submit' | 'verification-progress' | 'email-verification' | 'phone-verification' | 'personal-information' | 'additional-documents';
|
|
486
|
+
order: number;
|
|
487
|
+
config: BackendComponentConfig;
|
|
488
|
+
required?: boolean;
|
|
489
|
+
translations: BackendComponentTranslations;
|
|
490
|
+
}
|
|
491
|
+
export interface BackendKYCTemplate {
|
|
492
|
+
id: string;
|
|
493
|
+
name: {
|
|
494
|
+
en: string;
|
|
495
|
+
fr: string;
|
|
496
|
+
[key: string]: string;
|
|
497
|
+
};
|
|
498
|
+
status?: string;
|
|
499
|
+
version?: string;
|
|
500
|
+
components: BackendTemplateComponent[];
|
|
501
|
+
description?: {
|
|
502
|
+
en: string;
|
|
503
|
+
fr: string;
|
|
504
|
+
[key: string]: string;
|
|
505
|
+
};
|
|
506
|
+
}
|
|
507
|
+
export interface EmailVerificationConfig {
|
|
508
|
+
allowResend: boolean;
|
|
509
|
+
otpSettings: {
|
|
510
|
+
codeLength: number;
|
|
511
|
+
expiryTime: number;
|
|
512
|
+
};
|
|
513
|
+
resendCooldown: number;
|
|
514
|
+
emailValidation: {
|
|
515
|
+
corporateOnly: boolean;
|
|
516
|
+
validateFormat: boolean;
|
|
517
|
+
checkDisposable: boolean;
|
|
518
|
+
checkDeliverability: boolean;
|
|
519
|
+
};
|
|
520
|
+
verificationMethod: string;
|
|
521
|
+
required?: boolean;
|
|
522
|
+
}
|
|
523
|
+
export interface PhoneVerificationConfig {
|
|
524
|
+
required: boolean;
|
|
525
|
+
codeExpiry: number;
|
|
526
|
+
codeLength: number;
|
|
527
|
+
maxAttempts: number;
|
|
528
|
+
resendDelay: number;
|
|
529
|
+
countryRestrictions: string;
|
|
530
|
+
verificationMethods: string[];
|
|
531
|
+
allowSkipForVerified: boolean;
|
|
532
|
+
}
|
|
533
|
+
export interface PersonalInfoField {
|
|
534
|
+
id: string;
|
|
535
|
+
type: string;
|
|
536
|
+
label: string;
|
|
537
|
+
required: boolean;
|
|
538
|
+
placeholder?: string;
|
|
539
|
+
autoFillFromId?: boolean;
|
|
540
|
+
minAge?: number;
|
|
541
|
+
verifyAge?: boolean;
|
|
542
|
+
dateFormat?: string;
|
|
543
|
+
}
|
|
544
|
+
export interface PersonalInformationConfig {
|
|
545
|
+
fields: PersonalInfoField[];
|
|
546
|
+
validationSettings: {
|
|
547
|
+
validateOnBlur: boolean;
|
|
548
|
+
showAllErrorsAtOnce: boolean;
|
|
549
|
+
preventSubmissionWithErrors: boolean;
|
|
550
|
+
};
|
|
551
|
+
required?: boolean;
|
|
552
|
+
}
|
|
553
|
+
export interface DocumentCategory {
|
|
554
|
+
enabled: boolean;
|
|
555
|
+
category: string;
|
|
556
|
+
documentTypes: string[];
|
|
557
|
+
}
|
|
558
|
+
export interface AdditionalDocumentsConfig {
|
|
559
|
+
required: boolean;
|
|
560
|
+
maxSizeEach: string;
|
|
561
|
+
maxDocuments: number;
|
|
562
|
+
minDocuments: number;
|
|
563
|
+
documentCategories: DocumentCategory[];
|
|
564
|
+
customDocumentTypes: any[];
|
|
565
|
+
showBasedOnUserProfile: boolean;
|
|
566
|
+
}
|
|
567
|
+
export interface TemplateAPIResponse {
|
|
568
|
+
id: string;
|
|
569
|
+
name: {
|
|
570
|
+
en: string;
|
|
571
|
+
fr: string;
|
|
572
|
+
[key: string]: string;
|
|
573
|
+
};
|
|
574
|
+
status?: string;
|
|
575
|
+
version?: string;
|
|
576
|
+
components: BackendTemplateComponent[];
|
|
577
|
+
description?: {
|
|
578
|
+
en: string;
|
|
579
|
+
fr: string;
|
|
580
|
+
[key: string]: string;
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
export interface EmailVerificationConfig {
|
|
584
|
+
allowResend: boolean;
|
|
585
|
+
otpSettings: {
|
|
586
|
+
codeLength: number;
|
|
587
|
+
expiryTime: number;
|
|
588
|
+
};
|
|
589
|
+
resendCooldown: number;
|
|
590
|
+
emailValidation: {
|
|
591
|
+
corporateOnly: boolean;
|
|
592
|
+
validateFormat: boolean;
|
|
593
|
+
checkDisposable: boolean;
|
|
594
|
+
checkDeliverability: boolean;
|
|
595
|
+
};
|
|
596
|
+
verificationMethod: string;
|
|
597
|
+
required?: boolean;
|
|
598
|
+
}
|
|
599
|
+
export interface PhoneVerificationConfig {
|
|
600
|
+
required: boolean;
|
|
601
|
+
codeExpiry: number;
|
|
602
|
+
codeLength: number;
|
|
603
|
+
maxAttempts: number;
|
|
604
|
+
resendDelay: number;
|
|
605
|
+
countryRestrictions: string;
|
|
606
|
+
verificationMethods: string[];
|
|
607
|
+
allowSkipForVerified: boolean;
|
|
608
|
+
}
|
|
609
|
+
export interface PersonalInfoField {
|
|
610
|
+
id: string;
|
|
611
|
+
type: string;
|
|
612
|
+
label: string;
|
|
613
|
+
required: boolean;
|
|
614
|
+
placeholder?: string;
|
|
615
|
+
autoFillFromId?: boolean;
|
|
616
|
+
minAge?: number;
|
|
617
|
+
verifyAge?: boolean;
|
|
618
|
+
dateFormat?: string;
|
|
619
|
+
}
|
|
620
|
+
export interface PersonalInformationConfig {
|
|
621
|
+
fields: PersonalInfoField[];
|
|
622
|
+
validationSettings: {
|
|
623
|
+
validateOnBlur: boolean;
|
|
624
|
+
showAllErrorsAtOnce: boolean;
|
|
625
|
+
preventSubmissionWithErrors: boolean;
|
|
626
|
+
};
|
|
627
|
+
required?: boolean;
|
|
628
|
+
}
|
|
629
|
+
export interface DocumentCategory {
|
|
630
|
+
enabled: boolean;
|
|
631
|
+
category: string;
|
|
632
|
+
documentTypes: string[];
|
|
633
|
+
}
|
|
634
|
+
export interface AdditionalDocumentsConfig {
|
|
635
|
+
required: boolean;
|
|
636
|
+
maxSizeEach: string;
|
|
637
|
+
maxDocuments: number;
|
|
638
|
+
minDocuments: number;
|
|
639
|
+
documentCategories: DocumentCategory[];
|
|
640
|
+
customDocumentTypes: any[];
|
|
641
|
+
showBasedOnUserProfile: boolean;
|
|
642
|
+
}
|
|
643
|
+
//# sourceMappingURL=KYC.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KYC.types.d.ts","sourceRoot":"","sources":["../../src/types/KYC.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,YAAY,CAAC;CAE9B;AAED,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,iBAAiB,CAAC;AAEtE,MAAM,WAAW,YAAY;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;I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AM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,kBAAkB,EAAE;QAClB,cAAc,EAAE,OAAO,CAAC;QACxB,mBAAmB,EAAE,OAAO,CAAC;QAC7B,2BAA2B,EAAE,OAAO,CAAC;KACtC,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,gBAAgB,EAAE,CAAC;IACvC,mBAAmB,EAAE,GAAG,EAAE,CAAC;IAC3B,sBAAsB,EAAE,OAAO,CAAC;CACjC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const GovernmentDocumentTypeShorted = {
|
|
2
|
+
identity_card: 'id',
|
|
3
|
+
passport: 'pp',
|
|
4
|
+
drivers_licence: 'dl',
|
|
5
|
+
health_insurance_card: 'hic',
|
|
6
|
+
permanent_residence: 'pr',
|
|
7
|
+
national_id: 'id',
|
|
8
|
+
work_permit: 'wp',
|
|
9
|
+
id: 'id',
|
|
10
|
+
pp: 'pp',
|
|
11
|
+
dl: 'dl',
|
|
12
|
+
hic: 'hic',
|
|
13
|
+
pr: 'pr',
|
|
14
|
+
wp: 'wp',
|
|
15
|
+
};
|
|
16
|
+
export const GovernmentDocumentTypeBackend = {
|
|
17
|
+
national_id: 'identity_card',
|
|
18
|
+
passport: 'passport',
|
|
19
|
+
driversLicense: 'drivers_licence',
|
|
20
|
+
healthInsuranceCard: 'health_insurance_card',
|
|
21
|
+
permanentResidence: 'permanent_residence',
|
|
22
|
+
workPermit: 'work_permit',
|
|
23
|
+
residencePermit: 'permanent_residence',
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=KYC.types.js.map
|