@velion-la/onboarding-sdk-react-native 1.0.0-beta.2
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/CHANGELOG.md +66 -0
- package/LICENSE +12 -0
- package/README.md +803 -0
- package/lib/commonjs/camera/AddressSearchBar.js +304 -0
- package/lib/commonjs/camera/AddressSearchBar.js.map +1 -0
- package/lib/commonjs/camera/DocumentCapture.js +505 -0
- package/lib/commonjs/camera/DocumentCapture.js.map +1 -0
- package/lib/commonjs/camera/LivenessCamera.js +534 -0
- package/lib/commonjs/camera/LivenessCamera.js.map +1 -0
- package/lib/commonjs/camera/MapAddressPicker.js +341 -0
- package/lib/commonjs/camera/MapAddressPicker.js.map +1 -0
- package/lib/commonjs/core/VelionOnboarding.js +815 -0
- package/lib/commonjs/core/VelionOnboarding.js.map +1 -0
- package/lib/commonjs/core/sessionDeclinedCopy.js +56 -0
- package/lib/commonjs/core/sessionDeclinedCopy.js.map +1 -0
- package/lib/commonjs/core/sessionStateMapper.js +137 -0
- package/lib/commonjs/core/sessionStateMapper.js.map +1 -0
- package/lib/commonjs/core/sseReasonMessages.js +450 -0
- package/lib/commonjs/core/sseReasonMessages.js.map +1 -0
- package/lib/commonjs/data/iso3166Alpha2Codes.json +1 -0
- package/lib/commonjs/data/iso3166CountryNames.json +251 -0
- package/lib/commonjs/i18n/index.js +30 -0
- package/lib/commonjs/i18n/index.js.map +1 -0
- package/lib/commonjs/i18n/strings/en.js +261 -0
- package/lib/commonjs/i18n/strings/en.js.map +1 -0
- package/lib/commonjs/i18n/strings/es.js +266 -0
- package/lib/commonjs/i18n/strings/es.js.map +1 -0
- package/lib/commonjs/index.js +213 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/steps/AddressInfoStep.js +650 -0
- package/lib/commonjs/steps/AddressInfoStep.js.map +1 -0
- package/lib/commonjs/steps/DocumentsOcrStep.js +397 -0
- package/lib/commonjs/steps/DocumentsOcrStep.js.map +1 -0
- package/lib/commonjs/steps/EmailContactStep.js +145 -0
- package/lib/commonjs/steps/EmailContactStep.js.map +1 -0
- package/lib/commonjs/steps/EmailOtpStep.js +220 -0
- package/lib/commonjs/steps/EmailOtpStep.js.map +1 -0
- package/lib/commonjs/steps/FaceMatchStep.js +166 -0
- package/lib/commonjs/steps/FaceMatchStep.js.map +1 -0
- package/lib/commonjs/steps/FingerprintStep.js +92 -0
- package/lib/commonjs/steps/FingerprintStep.js.map +1 -0
- package/lib/commonjs/steps/HumanBasicInfoStep.js +243 -0
- package/lib/commonjs/steps/HumanBasicInfoStep.js.map +1 -0
- package/lib/commonjs/steps/HumanExtendedInfoStep.js +268 -0
- package/lib/commonjs/steps/HumanExtendedInfoStep.js.map +1 -0
- package/lib/commonjs/steps/LegalBasicInfoStep.js +188 -0
- package/lib/commonjs/steps/LegalBasicInfoStep.js.map +1 -0
- package/lib/commonjs/steps/LegalExtendedInfoStep.js +166 -0
- package/lib/commonjs/steps/LegalExtendedInfoStep.js.map +1 -0
- package/lib/commonjs/steps/LivenessMatchStep.js +707 -0
- package/lib/commonjs/steps/LivenessMatchStep.js.map +1 -0
- package/lib/commonjs/steps/PhoneContactStep.js +146 -0
- package/lib/commonjs/steps/PhoneContactStep.js.map +1 -0
- package/lib/commonjs/steps/PhoneOtpStep.js +219 -0
- package/lib/commonjs/steps/PhoneOtpStep.js.map +1 -0
- package/lib/commonjs/steps/SwornDeclarationStep.js +196 -0
- package/lib/commonjs/steps/SwornDeclarationStep.js.map +1 -0
- package/lib/commonjs/steps/TaxInfoStep.js +244 -0
- package/lib/commonjs/steps/TaxInfoStep.js.map +1 -0
- package/lib/commonjs/steps/TermsAndConditionsStep.js +238 -0
- package/lib/commonjs/steps/TermsAndConditionsStep.js.map +1 -0
- package/lib/commonjs/steps/_shared.js +40 -0
- package/lib/commonjs/steps/_shared.js.map +1 -0
- package/lib/commonjs/steps/types.js +6 -0
- package/lib/commonjs/steps/types.js.map +1 -0
- package/lib/commonjs/transport/api.js +176 -0
- package/lib/commonjs/transport/api.js.map +1 -0
- package/lib/commonjs/transport/irisWebSocket.js +121 -0
- package/lib/commonjs/transport/irisWebSocket.js.map +1 -0
- package/lib/commonjs/transport/secureUrl.js +50 -0
- package/lib/commonjs/transport/secureUrl.js.map +1 -0
- package/lib/commonjs/transport/sse.js +248 -0
- package/lib/commonjs/transport/sse.js.map +1 -0
- package/lib/commonjs/types/index.js +391 -0
- package/lib/commonjs/types/index.js.map +1 -0
- package/lib/commonjs/ui/MapFallbackBoundary.js +42 -0
- package/lib/commonjs/ui/MapFallbackBoundary.js.map +1 -0
- package/lib/commonjs/ui/StepShell.js +118 -0
- package/lib/commonjs/ui/StepShell.js.map +1 -0
- package/lib/commonjs/ui/VelionOnboardingScreen.js +217 -0
- package/lib/commonjs/ui/VelionOnboardingScreen.js.map +1 -0
- package/lib/commonjs/ui/forms/index.js +38 -0
- package/lib/commonjs/ui/forms/index.js.map +1 -0
- package/lib/commonjs/ui/forms/useInlineValidation.js +88 -0
- package/lib/commonjs/ui/forms/useInlineValidation.js.map +1 -0
- package/lib/commonjs/ui/forms/validators.js +34 -0
- package/lib/commonjs/ui/forms/validators.js.map +1 -0
- package/lib/commonjs/ui/icons/HomeHeartIcon.js +38 -0
- package/lib/commonjs/ui/icons/HomeHeartIcon.js.map +1 -0
- package/lib/commonjs/ui/icons/StepIcon.js +59 -0
- package/lib/commonjs/ui/icons/StepIcon.js.map +1 -0
- package/lib/commonjs/ui/overlays/AnalyzingOverlay.js +284 -0
- package/lib/commonjs/ui/overlays/AnalyzingOverlay.js.map +1 -0
- package/lib/commonjs/ui/overlays/LoadingOverlay.js +108 -0
- package/lib/commonjs/ui/overlays/LoadingOverlay.js.map +1 -0
- package/lib/commonjs/ui/overlays/ProgressBar.js +95 -0
- package/lib/commonjs/ui/overlays/ProgressBar.js.map +1 -0
- package/lib/commonjs/ui/overlays/RetryDialog.js +125 -0
- package/lib/commonjs/ui/overlays/RetryDialog.js.map +1 -0
- package/lib/commonjs/ui/overlays/index.js +33 -0
- package/lib/commonjs/ui/overlays/index.js.map +1 -0
- package/lib/commonjs/ui/primitives/Banner.js +81 -0
- package/lib/commonjs/ui/primitives/Banner.js.map +1 -0
- package/lib/commonjs/ui/primitives/Button.js +142 -0
- package/lib/commonjs/ui/primitives/Button.js.map +1 -0
- package/lib/commonjs/ui/primitives/Card.js +50 -0
- package/lib/commonjs/ui/primitives/Card.js.map +1 -0
- package/lib/commonjs/ui/primitives/Checkbox.js +139 -0
- package/lib/commonjs/ui/primitives/Checkbox.js.map +1 -0
- package/lib/commonjs/ui/primitives/CountrySelect.js +288 -0
- package/lib/commonjs/ui/primitives/CountrySelect.js.map +1 -0
- package/lib/commonjs/ui/primitives/DatePicker.js +245 -0
- package/lib/commonjs/ui/primitives/DatePicker.js.map +1 -0
- package/lib/commonjs/ui/primitives/Input.js +101 -0
- package/lib/commonjs/ui/primitives/Input.js.map +1 -0
- package/lib/commonjs/ui/primitives/Select.js +209 -0
- package/lib/commonjs/ui/primitives/Select.js.map +1 -0
- package/lib/commonjs/ui/primitives/Spinner.js +25 -0
- package/lib/commonjs/ui/primitives/Spinner.js.map +1 -0
- package/lib/commonjs/ui/primitives/index.js +69 -0
- package/lib/commonjs/ui/primitives/index.js.map +1 -0
- package/lib/commonjs/ui/theme/ThemeProvider.js +74 -0
- package/lib/commonjs/ui/theme/ThemeProvider.js.map +1 -0
- package/lib/commonjs/ui/theme/index.js +68 -0
- package/lib/commonjs/ui/theme/index.js.map +1 -0
- package/lib/commonjs/ui/theme/tokens.js +154 -0
- package/lib/commonjs/ui/theme/tokens.js.map +1 -0
- package/lib/commonjs/utils/EventEmitter.js +144 -0
- package/lib/commonjs/utils/EventEmitter.js.map +1 -0
- package/lib/commonjs/utils/base64.js +53 -0
- package/lib/commonjs/utils/base64.js.map +1 -0
- package/lib/commonjs/utils/deviceFingerprint.js +132 -0
- package/lib/commonjs/utils/deviceFingerprint.js.map +1 -0
- package/lib/commonjs/utils/documentTypeOptions.js +35 -0
- package/lib/commonjs/utils/documentTypeOptions.js.map +1 -0
- package/lib/commonjs/utils/googleMapsPreflight.js +77 -0
- package/lib/commonjs/utils/googleMapsPreflight.js.map +1 -0
- package/lib/commonjs/utils/hmac.js +58 -0
- package/lib/commonjs/utils/hmac.js.map +1 -0
- package/lib/commonjs/utils/iso3166Countries.js +98 -0
- package/lib/commonjs/utils/iso3166Countries.js.map +1 -0
- package/lib/commonjs/utils/jpegFromUri.js +44 -0
- package/lib/commonjs/utils/jpegFromUri.js.map +1 -0
- package/lib/commonjs/utils/keepAwake.js +58 -0
- package/lib/commonjs/utils/keepAwake.js.map +1 -0
- package/lib/commonjs/utils/log.js +42 -0
- package/lib/commonjs/utils/log.js.map +1 -0
- package/lib/commonjs/utils/osGeocoder.js +70 -0
- package/lib/commonjs/utils/osGeocoder.js.map +1 -0
- package/lib/commonjs/utils/parseGoogleAddressComponents.js +74 -0
- package/lib/commonjs/utils/parseGoogleAddressComponents.js.map +1 -0
- package/lib/commonjs/utils/personNameNormalize.js +24 -0
- package/lib/commonjs/utils/personNameNormalize.js.map +1 -0
- package/lib/commonjs/utils/sdkError.js +34 -0
- package/lib/commonjs/utils/sdkError.js.map +1 -0
- package/lib/commonjs/utils/sdkVersion.js +13 -0
- package/lib/commonjs/utils/sdkVersion.js.map +1 -0
- package/lib/commonjs/utils/stepConfig.js +65 -0
- package/lib/commonjs/utils/stepConfig.js.map +1 -0
- package/lib/commonjs/utils/taxInfoConfig.js +19 -0
- package/lib/commonjs/utils/taxInfoConfig.js.map +1 -0
- package/lib/module/camera/AddressSearchBar.js +299 -0
- package/lib/module/camera/AddressSearchBar.js.map +1 -0
- package/lib/module/camera/DocumentCapture.js +500 -0
- package/lib/module/camera/DocumentCapture.js.map +1 -0
- package/lib/module/camera/LivenessCamera.js +529 -0
- package/lib/module/camera/LivenessCamera.js.map +1 -0
- package/lib/module/camera/MapAddressPicker.js +337 -0
- package/lib/module/camera/MapAddressPicker.js.map +1 -0
- package/lib/module/core/VelionOnboarding.js +811 -0
- package/lib/module/core/VelionOnboarding.js.map +1 -0
- package/lib/module/core/sessionDeclinedCopy.js +52 -0
- package/lib/module/core/sessionDeclinedCopy.js.map +1 -0
- package/lib/module/core/sessionStateMapper.js +128 -0
- package/lib/module/core/sessionStateMapper.js.map +1 -0
- package/lib/module/core/sseReasonMessages.js +446 -0
- package/lib/module/core/sseReasonMessages.js.map +1 -0
- package/lib/module/data/iso3166Alpha2Codes.json +1 -0
- package/lib/module/data/iso3166CountryNames.json +251 -0
- package/lib/module/i18n/index.js +25 -0
- package/lib/module/i18n/index.js.map +1 -0
- package/lib/module/i18n/strings/en.js +257 -0
- package/lib/module/i18n/strings/en.js.map +1 -0
- package/lib/module/i18n/strings/es.js +262 -0
- package/lib/module/i18n/strings/es.js.map +1 -0
- package/lib/module/index.js +36 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/steps/AddressInfoStep.js +646 -0
- package/lib/module/steps/AddressInfoStep.js.map +1 -0
- package/lib/module/steps/DocumentsOcrStep.js +391 -0
- package/lib/module/steps/DocumentsOcrStep.js.map +1 -0
- package/lib/module/steps/EmailContactStep.js +140 -0
- package/lib/module/steps/EmailContactStep.js.map +1 -0
- package/lib/module/steps/EmailOtpStep.js +215 -0
- package/lib/module/steps/EmailOtpStep.js.map +1 -0
- package/lib/module/steps/FaceMatchStep.js +161 -0
- package/lib/module/steps/FaceMatchStep.js.map +1 -0
- package/lib/module/steps/FingerprintStep.js +87 -0
- package/lib/module/steps/FingerprintStep.js.map +1 -0
- package/lib/module/steps/HumanBasicInfoStep.js +238 -0
- package/lib/module/steps/HumanBasicInfoStep.js.map +1 -0
- package/lib/module/steps/HumanExtendedInfoStep.js +263 -0
- package/lib/module/steps/HumanExtendedInfoStep.js.map +1 -0
- package/lib/module/steps/LegalBasicInfoStep.js +183 -0
- package/lib/module/steps/LegalBasicInfoStep.js.map +1 -0
- package/lib/module/steps/LegalExtendedInfoStep.js +161 -0
- package/lib/module/steps/LegalExtendedInfoStep.js.map +1 -0
- package/lib/module/steps/LivenessMatchStep.js +701 -0
- package/lib/module/steps/LivenessMatchStep.js.map +1 -0
- package/lib/module/steps/PhoneContactStep.js +141 -0
- package/lib/module/steps/PhoneContactStep.js.map +1 -0
- package/lib/module/steps/PhoneOtpStep.js +214 -0
- package/lib/module/steps/PhoneOtpStep.js.map +1 -0
- package/lib/module/steps/SwornDeclarationStep.js +191 -0
- package/lib/module/steps/SwornDeclarationStep.js.map +1 -0
- package/lib/module/steps/TaxInfoStep.js +239 -0
- package/lib/module/steps/TaxInfoStep.js.map +1 -0
- package/lib/module/steps/TermsAndConditionsStep.js +233 -0
- package/lib/module/steps/TermsAndConditionsStep.js.map +1 -0
- package/lib/module/steps/_shared.js +33 -0
- package/lib/module/steps/_shared.js.map +1 -0
- package/lib/module/steps/types.js +4 -0
- package/lib/module/steps/types.js.map +1 -0
- package/lib/module/transport/api.js +173 -0
- package/lib/module/transport/api.js.map +1 -0
- package/lib/module/transport/irisWebSocket.js +115 -0
- package/lib/module/transport/irisWebSocket.js.map +1 -0
- package/lib/module/transport/secureUrl.js +45 -0
- package/lib/module/transport/secureUrl.js.map +1 -0
- package/lib/module/transport/sse.js +242 -0
- package/lib/module/transport/sse.js.map +1 -0
- package/lib/module/types/index.js +457 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/module/ui/MapFallbackBoundary.js +37 -0
- package/lib/module/ui/MapFallbackBoundary.js.map +1 -0
- package/lib/module/ui/StepShell.js +114 -0
- package/lib/module/ui/StepShell.js.map +1 -0
- package/lib/module/ui/VelionOnboardingScreen.js +212 -0
- package/lib/module/ui/VelionOnboardingScreen.js.map +1 -0
- package/lib/module/ui/forms/index.js +5 -0
- package/lib/module/ui/forms/index.js.map +1 -0
- package/lib/module/ui/forms/useInlineValidation.js +84 -0
- package/lib/module/ui/forms/useInlineValidation.js.map +1 -0
- package/lib/module/ui/forms/validators.js +27 -0
- package/lib/module/ui/forms/validators.js.map +1 -0
- package/lib/module/ui/icons/HomeHeartIcon.js +33 -0
- package/lib/module/ui/icons/HomeHeartIcon.js.map +1 -0
- package/lib/module/ui/icons/StepIcon.js +55 -0
- package/lib/module/ui/icons/StepIcon.js.map +1 -0
- package/lib/module/ui/overlays/AnalyzingOverlay.js +279 -0
- package/lib/module/ui/overlays/AnalyzingOverlay.js.map +1 -0
- package/lib/module/ui/overlays/LoadingOverlay.js +104 -0
- package/lib/module/ui/overlays/LoadingOverlay.js.map +1 -0
- package/lib/module/ui/overlays/ProgressBar.js +90 -0
- package/lib/module/ui/overlays/ProgressBar.js.map +1 -0
- package/lib/module/ui/overlays/RetryDialog.js +121 -0
- package/lib/module/ui/overlays/RetryDialog.js.map +1 -0
- package/lib/module/ui/overlays/index.js +6 -0
- package/lib/module/ui/overlays/index.js.map +1 -0
- package/lib/module/ui/primitives/Banner.js +77 -0
- package/lib/module/ui/primitives/Banner.js.map +1 -0
- package/lib/module/ui/primitives/Button.js +138 -0
- package/lib/module/ui/primitives/Button.js.map +1 -0
- package/lib/module/ui/primitives/Card.js +46 -0
- package/lib/module/ui/primitives/Card.js.map +1 -0
- package/lib/module/ui/primitives/Checkbox.js +136 -0
- package/lib/module/ui/primitives/Checkbox.js.map +1 -0
- package/lib/module/ui/primitives/CountrySelect.js +284 -0
- package/lib/module/ui/primitives/CountrySelect.js.map +1 -0
- package/lib/module/ui/primitives/DatePicker.js +241 -0
- package/lib/module/ui/primitives/DatePicker.js.map +1 -0
- package/lib/module/ui/primitives/Input.js +97 -0
- package/lib/module/ui/primitives/Input.js.map +1 -0
- package/lib/module/ui/primitives/Select.js +205 -0
- package/lib/module/ui/primitives/Select.js.map +1 -0
- package/lib/module/ui/primitives/Spinner.js +21 -0
- package/lib/module/ui/primitives/Spinner.js.map +1 -0
- package/lib/module/ui/primitives/index.js +12 -0
- package/lib/module/ui/primitives/index.js.map +1 -0
- package/lib/module/ui/theme/ThemeProvider.js +67 -0
- package/lib/module/ui/theme/ThemeProvider.js.map +1 -0
- package/lib/module/ui/theme/index.js +5 -0
- package/lib/module/ui/theme/index.js.map +1 -0
- package/lib/module/ui/theme/tokens.js +145 -0
- package/lib/module/ui/theme/tokens.js.map +1 -0
- package/lib/module/utils/EventEmitter.js +139 -0
- package/lib/module/utils/EventEmitter.js.map +1 -0
- package/lib/module/utils/base64.js +47 -0
- package/lib/module/utils/base64.js.map +1 -0
- package/lib/module/utils/deviceFingerprint.js +129 -0
- package/lib/module/utils/deviceFingerprint.js.map +1 -0
- package/lib/module/utils/documentTypeOptions.js +31 -0
- package/lib/module/utils/documentTypeOptions.js.map +1 -0
- package/lib/module/utils/googleMapsPreflight.js +73 -0
- package/lib/module/utils/googleMapsPreflight.js.map +1 -0
- package/lib/module/utils/hmac.js +53 -0
- package/lib/module/utils/hmac.js.map +1 -0
- package/lib/module/utils/iso3166Countries.js +92 -0
- package/lib/module/utils/iso3166Countries.js.map +1 -0
- package/lib/module/utils/jpegFromUri.js +40 -0
- package/lib/module/utils/jpegFromUri.js.map +1 -0
- package/lib/module/utils/keepAwake.js +53 -0
- package/lib/module/utils/keepAwake.js.map +1 -0
- package/lib/module/utils/log.js +37 -0
- package/lib/module/utils/log.js.map +1 -0
- package/lib/module/utils/osGeocoder.js +65 -0
- package/lib/module/utils/osGeocoder.js.map +1 -0
- package/lib/module/utils/parseGoogleAddressComponents.js +69 -0
- package/lib/module/utils/parseGoogleAddressComponents.js.map +1 -0
- package/lib/module/utils/personNameNormalize.js +20 -0
- package/lib/module/utils/personNameNormalize.js.map +1 -0
- package/lib/module/utils/sdkError.js +29 -0
- package/lib/module/utils/sdkError.js.map +1 -0
- package/lib/module/utils/sdkVersion.js +9 -0
- package/lib/module/utils/sdkVersion.js.map +1 -0
- package/lib/module/utils/stepConfig.js +59 -0
- package/lib/module/utils/stepConfig.js.map +1 -0
- package/lib/module/utils/taxInfoConfig.js +15 -0
- package/lib/module/utils/taxInfoConfig.js.map +1 -0
- package/lib/typescript/camera/AddressSearchBar.d.ts +37 -0
- package/lib/typescript/camera/AddressSearchBar.d.ts.map +1 -0
- package/lib/typescript/camera/DocumentCapture.d.ts +34 -0
- package/lib/typescript/camera/DocumentCapture.d.ts.map +1 -0
- package/lib/typescript/camera/LivenessCamera.d.ts +50 -0
- package/lib/typescript/camera/LivenessCamera.d.ts.map +1 -0
- package/lib/typescript/camera/MapAddressPicker.d.ts +57 -0
- package/lib/typescript/camera/MapAddressPicker.d.ts.map +1 -0
- package/lib/typescript/core/VelionOnboarding.d.ts +115 -0
- package/lib/typescript/core/VelionOnboarding.d.ts.map +1 -0
- package/lib/typescript/core/sessionDeclinedCopy.d.ts +16 -0
- package/lib/typescript/core/sessionDeclinedCopy.d.ts.map +1 -0
- package/lib/typescript/core/sessionStateMapper.d.ts +33 -0
- package/lib/typescript/core/sessionStateMapper.d.ts.map +1 -0
- package/lib/typescript/core/sseReasonMessages.d.ts +20 -0
- package/lib/typescript/core/sseReasonMessages.d.ts.map +1 -0
- package/lib/typescript/i18n/index.d.ts +13 -0
- package/lib/typescript/i18n/index.d.ts.map +1 -0
- package/lib/typescript/i18n/strings/en.d.ts +3 -0
- package/lib/typescript/i18n/strings/en.d.ts.map +1 -0
- package/lib/typescript/i18n/strings/es.d.ts +260 -0
- package/lib/typescript/i18n/strings/es.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +26 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/steps/AddressInfoStep.d.ts +26 -0
- package/lib/typescript/steps/AddressInfoStep.d.ts.map +1 -0
- package/lib/typescript/steps/DocumentsOcrStep.d.ts +26 -0
- package/lib/typescript/steps/DocumentsOcrStep.d.ts.map +1 -0
- package/lib/typescript/steps/EmailContactStep.d.ts +15 -0
- package/lib/typescript/steps/EmailContactStep.d.ts.map +1 -0
- package/lib/typescript/steps/EmailOtpStep.d.ts +21 -0
- package/lib/typescript/steps/EmailOtpStep.d.ts.map +1 -0
- package/lib/typescript/steps/FaceMatchStep.d.ts +27 -0
- package/lib/typescript/steps/FaceMatchStep.d.ts.map +1 -0
- package/lib/typescript/steps/FingerprintStep.d.ts +25 -0
- package/lib/typescript/steps/FingerprintStep.d.ts.map +1 -0
- package/lib/typescript/steps/HumanBasicInfoStep.d.ts +25 -0
- package/lib/typescript/steps/HumanBasicInfoStep.d.ts.map +1 -0
- package/lib/typescript/steps/HumanExtendedInfoStep.d.ts +23 -0
- package/lib/typescript/steps/HumanExtendedInfoStep.d.ts.map +1 -0
- package/lib/typescript/steps/LegalBasicInfoStep.d.ts +17 -0
- package/lib/typescript/steps/LegalBasicInfoStep.d.ts.map +1 -0
- package/lib/typescript/steps/LegalExtendedInfoStep.d.ts +17 -0
- package/lib/typescript/steps/LegalExtendedInfoStep.d.ts.map +1 -0
- package/lib/typescript/steps/LivenessMatchStep.d.ts +26 -0
- package/lib/typescript/steps/LivenessMatchStep.d.ts.map +1 -0
- package/lib/typescript/steps/PhoneContactStep.d.ts +15 -0
- package/lib/typescript/steps/PhoneContactStep.d.ts.map +1 -0
- package/lib/typescript/steps/PhoneOtpStep.d.ts +19 -0
- package/lib/typescript/steps/PhoneOtpStep.d.ts.map +1 -0
- package/lib/typescript/steps/SwornDeclarationStep.d.ts +20 -0
- package/lib/typescript/steps/SwornDeclarationStep.d.ts.map +1 -0
- package/lib/typescript/steps/TaxInfoStep.d.ts +19 -0
- package/lib/typescript/steps/TaxInfoStep.d.ts.map +1 -0
- package/lib/typescript/steps/TermsAndConditionsStep.d.ts +21 -0
- package/lib/typescript/steps/TermsAndConditionsStep.d.ts.map +1 -0
- package/lib/typescript/steps/_shared.d.ts +11 -0
- package/lib/typescript/steps/_shared.d.ts.map +1 -0
- package/lib/typescript/steps/types.d.ts +68 -0
- package/lib/typescript/steps/types.d.ts.map +1 -0
- package/lib/typescript/transport/api.d.ts +35 -0
- package/lib/typescript/transport/api.d.ts.map +1 -0
- package/lib/typescript/transport/irisWebSocket.d.ts +72 -0
- package/lib/typescript/transport/irisWebSocket.d.ts.map +1 -0
- package/lib/typescript/transport/secureUrl.d.ts +14 -0
- package/lib/typescript/transport/secureUrl.d.ts.map +1 -0
- package/lib/typescript/transport/sse.d.ts +54 -0
- package/lib/typescript/transport/sse.d.ts.map +1 -0
- package/lib/typescript/types/index.d.ts +1010 -0
- package/lib/typescript/types/index.d.ts.map +1 -0
- package/lib/typescript/ui/MapFallbackBoundary.d.ts +28 -0
- package/lib/typescript/ui/MapFallbackBoundary.d.ts.map +1 -0
- package/lib/typescript/ui/StepShell.d.ts +19 -0
- package/lib/typescript/ui/StepShell.d.ts.map +1 -0
- package/lib/typescript/ui/VelionOnboardingScreen.d.ts +19 -0
- package/lib/typescript/ui/VelionOnboardingScreen.d.ts.map +1 -0
- package/lib/typescript/ui/forms/index.d.ts +3 -0
- package/lib/typescript/ui/forms/index.d.ts.map +1 -0
- package/lib/typescript/ui/forms/useInlineValidation.d.ts +30 -0
- package/lib/typescript/ui/forms/useInlineValidation.d.ts.map +1 -0
- package/lib/typescript/ui/forms/validators.d.ts +11 -0
- package/lib/typescript/ui/forms/validators.d.ts.map +1 -0
- package/lib/typescript/ui/icons/HomeHeartIcon.d.ts +14 -0
- package/lib/typescript/ui/icons/HomeHeartIcon.d.ts.map +1 -0
- package/lib/typescript/ui/icons/StepIcon.d.ts +26 -0
- package/lib/typescript/ui/icons/StepIcon.d.ts.map +1 -0
- package/lib/typescript/ui/overlays/AnalyzingOverlay.d.ts +24 -0
- package/lib/typescript/ui/overlays/AnalyzingOverlay.d.ts.map +1 -0
- package/lib/typescript/ui/overlays/LoadingOverlay.d.ts +19 -0
- package/lib/typescript/ui/overlays/LoadingOverlay.d.ts.map +1 -0
- package/lib/typescript/ui/overlays/ProgressBar.d.ts +26 -0
- package/lib/typescript/ui/overlays/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/ui/overlays/RetryDialog.d.ts +17 -0
- package/lib/typescript/ui/overlays/RetryDialog.d.ts.map +1 -0
- package/lib/typescript/ui/overlays/index.d.ts +4 -0
- package/lib/typescript/ui/overlays/index.d.ts.map +1 -0
- package/lib/typescript/ui/primitives/Banner.d.ts +11 -0
- package/lib/typescript/ui/primitives/Banner.d.ts.map +1 -0
- package/lib/typescript/ui/primitives/Button.d.ts +27 -0
- package/lib/typescript/ui/primitives/Button.d.ts.map +1 -0
- package/lib/typescript/ui/primitives/Card.d.ts +10 -0
- package/lib/typescript/ui/primitives/Card.d.ts.map +1 -0
- package/lib/typescript/ui/primitives/Checkbox.d.ts +25 -0
- package/lib/typescript/ui/primitives/Checkbox.d.ts.map +1 -0
- package/lib/typescript/ui/primitives/CountrySelect.d.ts +31 -0
- package/lib/typescript/ui/primitives/CountrySelect.d.ts.map +1 -0
- package/lib/typescript/ui/primitives/DatePicker.d.ts +42 -0
- package/lib/typescript/ui/primitives/DatePicker.d.ts.map +1 -0
- package/lib/typescript/ui/primitives/Input.d.ts +17 -0
- package/lib/typescript/ui/primitives/Input.d.ts.map +1 -0
- package/lib/typescript/ui/primitives/Select.d.ts +26 -0
- package/lib/typescript/ui/primitives/Select.d.ts.map +1 -0
- package/lib/typescript/ui/primitives/Spinner.d.ts +10 -0
- package/lib/typescript/ui/primitives/Spinner.d.ts.map +1 -0
- package/lib/typescript/ui/primitives/index.d.ts +10 -0
- package/lib/typescript/ui/primitives/index.d.ts.map +1 -0
- package/lib/typescript/ui/theme/ThemeProvider.d.ts +23 -0
- package/lib/typescript/ui/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/ui/theme/index.d.ts +3 -0
- package/lib/typescript/ui/theme/index.d.ts.map +1 -0
- package/lib/typescript/ui/theme/tokens.d.ts +42 -0
- package/lib/typescript/ui/theme/tokens.d.ts.map +1 -0
- package/lib/typescript/utils/EventEmitter.d.ts +98 -0
- package/lib/typescript/utils/EventEmitter.d.ts.map +1 -0
- package/lib/typescript/utils/base64.d.ts +19 -0
- package/lib/typescript/utils/base64.d.ts.map +1 -0
- package/lib/typescript/utils/deviceFingerprint.d.ts +42 -0
- package/lib/typescript/utils/deviceFingerprint.d.ts.map +1 -0
- package/lib/typescript/utils/documentTypeOptions.d.ts +13 -0
- package/lib/typescript/utils/documentTypeOptions.d.ts.map +1 -0
- package/lib/typescript/utils/googleMapsPreflight.d.ts +44 -0
- package/lib/typescript/utils/googleMapsPreflight.d.ts.map +1 -0
- package/lib/typescript/utils/hmac.d.ts +39 -0
- package/lib/typescript/utils/hmac.d.ts.map +1 -0
- package/lib/typescript/utils/iso3166Countries.d.ts +27 -0
- package/lib/typescript/utils/iso3166Countries.d.ts.map +1 -0
- package/lib/typescript/utils/jpegFromUri.d.ts +29 -0
- package/lib/typescript/utils/jpegFromUri.d.ts.map +1 -0
- package/lib/typescript/utils/keepAwake.d.ts +16 -0
- package/lib/typescript/utils/keepAwake.d.ts.map +1 -0
- package/lib/typescript/utils/log.d.ts +18 -0
- package/lib/typescript/utils/log.d.ts.map +1 -0
- package/lib/typescript/utils/osGeocoder.d.ts +38 -0
- package/lib/typescript/utils/osGeocoder.d.ts.map +1 -0
- package/lib/typescript/utils/parseGoogleAddressComponents.d.ts +43 -0
- package/lib/typescript/utils/parseGoogleAddressComponents.d.ts.map +1 -0
- package/lib/typescript/utils/personNameNormalize.d.ts +10 -0
- package/lib/typescript/utils/personNameNormalize.d.ts.map +1 -0
- package/lib/typescript/utils/sdkError.d.ts +14 -0
- package/lib/typescript/utils/sdkError.d.ts.map +1 -0
- package/lib/typescript/utils/sdkVersion.d.ts +7 -0
- package/lib/typescript/utils/sdkVersion.d.ts.map +1 -0
- package/lib/typescript/utils/stepConfig.d.ts +8 -0
- package/lib/typescript/utils/stepConfig.d.ts.map +1 -0
- package/lib/typescript/utils/taxInfoConfig.d.ts +7 -0
- package/lib/typescript/utils/taxInfoConfig.d.ts.map +1 -0
- package/package.json +99 -0
- package/src/camera/AddressSearchBar.tsx +363 -0
- package/src/camera/DocumentCapture.tsx +505 -0
- package/src/camera/LivenessCamera.tsx +602 -0
- package/src/camera/MapAddressPicker.tsx +397 -0
- package/src/core/VelionOnboarding.ts +974 -0
- package/src/core/sessionDeclinedCopy.ts +76 -0
- package/src/core/sessionStateMapper.ts +167 -0
- package/src/core/sseReasonMessages.ts +531 -0
- package/src/data/iso3166Alpha2Codes.json +1 -0
- package/src/data/iso3166CountryNames.json +251 -0
- package/src/i18n/index.ts +26 -0
- package/src/i18n/strings/en.ts +289 -0
- package/src/i18n/strings/es.ts +291 -0
- package/src/index.ts +137 -0
- package/src/steps/AddressInfoStep.tsx +726 -0
- package/src/steps/DocumentsOcrStep.tsx +472 -0
- package/src/steps/EmailContactStep.tsx +159 -0
- package/src/steps/EmailOtpStep.tsx +250 -0
- package/src/steps/FaceMatchStep.tsx +177 -0
- package/src/steps/FingerprintStep.tsx +99 -0
- package/src/steps/HumanBasicInfoStep.tsx +274 -0
- package/src/steps/HumanExtendedInfoStep.tsx +353 -0
- package/src/steps/LegalBasicInfoStep.tsx +205 -0
- package/src/steps/LegalExtendedInfoStep.tsx +171 -0
- package/src/steps/LivenessMatchStep.tsx +846 -0
- package/src/steps/PhoneContactStep.tsx +160 -0
- package/src/steps/PhoneOtpStep.tsx +249 -0
- package/src/steps/SwornDeclarationStep.tsx +220 -0
- package/src/steps/TaxInfoStep.tsx +277 -0
- package/src/steps/TermsAndConditionsStep.tsx +261 -0
- package/src/steps/_shared.ts +44 -0
- package/src/steps/types.ts +72 -0
- package/src/transport/api.ts +257 -0
- package/src/transport/irisWebSocket.ts +186 -0
- package/src/transport/secureUrl.ts +47 -0
- package/src/transport/sse.ts +310 -0
- package/src/types/index.ts +1198 -0
- package/src/ui/MapFallbackBoundary.tsx +46 -0
- package/src/ui/StepShell.tsx +137 -0
- package/src/ui/VelionOnboardingScreen.tsx +223 -0
- package/src/ui/forms/index.ts +12 -0
- package/src/ui/forms/useInlineValidation.ts +115 -0
- package/src/ui/forms/validators.ts +29 -0
- package/src/ui/icons/HomeHeartIcon.tsx +34 -0
- package/src/ui/icons/StepIcon.tsx +77 -0
- package/src/ui/overlays/AnalyzingOverlay.tsx +323 -0
- package/src/ui/overlays/LoadingOverlay.tsx +115 -0
- package/src/ui/overlays/ProgressBar.tsx +99 -0
- package/src/ui/overlays/RetryDialog.tsx +128 -0
- package/src/ui/overlays/index.ts +3 -0
- package/src/ui/primitives/Banner.tsx +81 -0
- package/src/ui/primitives/Button.tsx +164 -0
- package/src/ui/primitives/Card.tsx +55 -0
- package/src/ui/primitives/Checkbox.tsx +153 -0
- package/src/ui/primitives/CountrySelect.tsx +356 -0
- package/src/ui/primitives/DatePicker.tsx +266 -0
- package/src/ui/primitives/Input.tsx +110 -0
- package/src/ui/primitives/Select.tsx +259 -0
- package/src/ui/primitives/Spinner.tsx +17 -0
- package/src/ui/primitives/index.ts +9 -0
- package/src/ui/theme/ThemeProvider.tsx +102 -0
- package/src/ui/theme/index.ts +17 -0
- package/src/ui/theme/tokens.ts +159 -0
- package/src/utils/EventEmitter.ts +155 -0
- package/src/utils/base64.ts +44 -0
- package/src/utils/deviceFingerprint.ts +184 -0
- package/src/utils/documentTypeOptions.ts +31 -0
- package/src/utils/googleMapsPreflight.ts +72 -0
- package/src/utils/hmac.ts +61 -0
- package/src/utils/iso3166Countries.ts +111 -0
- package/src/utils/jpegFromUri.ts +42 -0
- package/src/utils/keepAwake.ts +62 -0
- package/src/utils/log.ts +37 -0
- package/src/utils/osGeocoder.ts +75 -0
- package/src/utils/parseGoogleAddressComponents.ts +123 -0
- package/src/utils/personNameNormalize.ts +17 -0
- package/src/utils/sdkError.ts +40 -0
- package/src/utils/sdkVersion.ts +6 -0
- package/src/utils/stepConfig.ts +75 -0
- package/src/utils/taxInfoConfig.ts +14 -0
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
{
|
|
2
|
+
"AD": ["Andorra", "Andorra"],
|
|
3
|
+
"AE": ["Emiratos Árabes Unidos", "United Arab Emirates"],
|
|
4
|
+
"AF": ["Afganistán", "Afghanistan"],
|
|
5
|
+
"AG": ["Antigua y Barbuda", "Antigua and Barbuda"],
|
|
6
|
+
"AI": ["Anguila", "Anguilla"],
|
|
7
|
+
"AL": ["Albania", "Albania"],
|
|
8
|
+
"AM": ["Armenia", "Armenia"],
|
|
9
|
+
"AO": ["Angola", "Angola"],
|
|
10
|
+
"AQ": ["Antártida", "Antarctica"],
|
|
11
|
+
"AR": ["Argentina", "Argentina"],
|
|
12
|
+
"AS": ["Samoa Americana", "American Samoa"],
|
|
13
|
+
"AT": ["Austria", "Austria"],
|
|
14
|
+
"AU": ["Australia", "Australia"],
|
|
15
|
+
"AW": ["Aruba", "Aruba"],
|
|
16
|
+
"AX": ["Islas Åland", "Åland Islands"],
|
|
17
|
+
"AZ": ["Azerbaiyán", "Azerbaijan"],
|
|
18
|
+
"BA": ["Bosnia y Herzegovina", "Bosnia and Herzegovina"],
|
|
19
|
+
"BB": ["Barbados", "Barbados"],
|
|
20
|
+
"BD": ["Bangladés", "Bangladesh"],
|
|
21
|
+
"BE": ["Bélgica", "Belgium"],
|
|
22
|
+
"BF": ["Burkina Faso", "Burkina Faso"],
|
|
23
|
+
"BG": ["Bulgaria", "Bulgaria"],
|
|
24
|
+
"BH": ["Baréin", "Bahrain"],
|
|
25
|
+
"BI": ["Burundi", "Burundi"],
|
|
26
|
+
"BJ": ["Benín", "Benin"],
|
|
27
|
+
"BL": ["San Bartolomé", "Saint Barthélemy"],
|
|
28
|
+
"BM": ["Bermudas", "Bermuda"],
|
|
29
|
+
"BN": ["Brunéi", "Brunei Darussalam"],
|
|
30
|
+
"BO": ["Bolivia", "Bolivia"],
|
|
31
|
+
"BQ": ["Bonaire, San Eustaquio y Saba", "Bonaire, Sint Eustatius and Saba"],
|
|
32
|
+
"BR": ["Brasil", "Brazil"],
|
|
33
|
+
"BS": ["Bahamas", "Bahamas"],
|
|
34
|
+
"BT": ["Bután", "Bhutan"],
|
|
35
|
+
"BV": ["Isla Bouvet", "Bouvet Island"],
|
|
36
|
+
"BW": ["Botsuana", "Botswana"],
|
|
37
|
+
"BY": ["Bielorrusia", "Belarus"],
|
|
38
|
+
"BZ": ["Belice", "Belize"],
|
|
39
|
+
"CA": ["Canadá", "Canada"],
|
|
40
|
+
"CC": ["Islas Cocos (Keeling)", "Cocos (Keeling) Islands"],
|
|
41
|
+
"CD": ["República Democrática del Congo", "Congo, Democratic Republic of the"],
|
|
42
|
+
"CF": ["República Centroafricana", "Central African Republic"],
|
|
43
|
+
"CG": ["República del Congo", "Congo"],
|
|
44
|
+
"CH": ["Suiza", "Switzerland"],
|
|
45
|
+
"CI": ["Costa de Marfil", "Côte d'Ivoire"],
|
|
46
|
+
"CK": ["Islas Cook", "Cook Islands"],
|
|
47
|
+
"CL": ["Chile", "Chile"],
|
|
48
|
+
"CM": ["Camerún", "Cameroon"],
|
|
49
|
+
"CN": ["China", "China"],
|
|
50
|
+
"CO": ["Colombia", "Colombia"],
|
|
51
|
+
"CR": ["Costa Rica", "Costa Rica"],
|
|
52
|
+
"CU": ["Cuba", "Cuba"],
|
|
53
|
+
"CV": ["Cabo Verde", "Cabo Verde"],
|
|
54
|
+
"CW": ["Curazao", "Curaçao"],
|
|
55
|
+
"CX": ["Isla de Navidad", "Christmas Island"],
|
|
56
|
+
"CY": ["Chipre", "Cyprus"],
|
|
57
|
+
"CZ": ["Chequia", "Czechia"],
|
|
58
|
+
"DE": ["Alemania", "Germany"],
|
|
59
|
+
"DJ": ["Yibuti", "Djibouti"],
|
|
60
|
+
"DK": ["Dinamarca", "Denmark"],
|
|
61
|
+
"DM": ["Dominica", "Dominica"],
|
|
62
|
+
"DO": ["República Dominicana", "Dominican Republic"],
|
|
63
|
+
"DZ": ["Argelia", "Algeria"],
|
|
64
|
+
"EC": ["Ecuador", "Ecuador"],
|
|
65
|
+
"EE": ["Estonia", "Estonia"],
|
|
66
|
+
"EG": ["Egipto", "Egypt"],
|
|
67
|
+
"EH": ["Sáhara Occidental", "Western Sahara"],
|
|
68
|
+
"ER": ["Eritrea", "Eritrea"],
|
|
69
|
+
"ES": ["España", "Spain"],
|
|
70
|
+
"ET": ["Etiopía", "Ethiopia"],
|
|
71
|
+
"FI": ["Finlandia", "Finland"],
|
|
72
|
+
"FJ": ["Fiyi", "Fiji"],
|
|
73
|
+
"FK": ["Islas Malvinas", "Falkland Islands (Malvinas)"],
|
|
74
|
+
"FM": ["Micronesia", "Micronesia, Federated States of"],
|
|
75
|
+
"FO": ["Islas Feroe", "Faroe Islands"],
|
|
76
|
+
"FR": ["Francia", "France"],
|
|
77
|
+
"GA": ["Gabón", "Gabon"],
|
|
78
|
+
"GB": ["Reino Unido", "United Kingdom"],
|
|
79
|
+
"GD": ["Granada", "Grenada"],
|
|
80
|
+
"GE": ["Georgia", "Georgia"],
|
|
81
|
+
"GF": ["Guayana Francesa", "French Guiana"],
|
|
82
|
+
"GG": ["Guernsey", "Guernsey"],
|
|
83
|
+
"GH": ["Ghana", "Ghana"],
|
|
84
|
+
"GI": ["Gibraltar", "Gibraltar"],
|
|
85
|
+
"GL": ["Groenlandia", "Greenland"],
|
|
86
|
+
"GM": ["Gambia", "Gambia"],
|
|
87
|
+
"GN": ["Guinea", "Guinea"],
|
|
88
|
+
"GP": ["Guadalupe", "Guadeloupe"],
|
|
89
|
+
"GQ": ["Guinea Ecuatorial", "Equatorial Guinea"],
|
|
90
|
+
"GR": ["Grecia", "Greece"],
|
|
91
|
+
"GS": ["Islas Georgias del Sur y Sandwich del Sur", "South Georgia and the South Sandwich Islands"],
|
|
92
|
+
"GT": ["Guatemala", "Guatemala"],
|
|
93
|
+
"GU": ["Guam", "Guam"],
|
|
94
|
+
"GW": ["Guinea-Bisáu", "Guinea-Bissau"],
|
|
95
|
+
"GY": ["Guyana", "Guyana"],
|
|
96
|
+
"HK": ["Hong Kong", "Hong Kong"],
|
|
97
|
+
"HM": ["Islas Heard y McDonald", "Heard Island and McDonald Islands"],
|
|
98
|
+
"HN": ["Honduras", "Honduras"],
|
|
99
|
+
"HR": ["Croacia", "Croatia"],
|
|
100
|
+
"HT": ["Haití", "Haiti"],
|
|
101
|
+
"HU": ["Hungría", "Hungary"],
|
|
102
|
+
"ID": ["Indonesia", "Indonesia"],
|
|
103
|
+
"IE": ["Irlanda", "Ireland"],
|
|
104
|
+
"IL": ["Israel", "Israel"],
|
|
105
|
+
"IM": ["Isla de Man", "Isle of Man"],
|
|
106
|
+
"IN": ["India", "India"],
|
|
107
|
+
"IO": ["Territorio Británico del Océano Índico", "British Indian Ocean Territory"],
|
|
108
|
+
"IQ": ["Irak", "Iraq"],
|
|
109
|
+
"IR": ["Irán", "Iran"],
|
|
110
|
+
"IS": ["Islandia", "Iceland"],
|
|
111
|
+
"IT": ["Italia", "Italy"],
|
|
112
|
+
"JE": ["Jersey", "Jersey"],
|
|
113
|
+
"JM": ["Jamaica", "Jamaica"],
|
|
114
|
+
"JO": ["Jordania", "Jordan"],
|
|
115
|
+
"JP": ["Japón", "Japan"],
|
|
116
|
+
"KE": ["Kenia", "Kenya"],
|
|
117
|
+
"KG": ["Kirguistán", "Kyrgyzstan"],
|
|
118
|
+
"KH": ["Camboya", "Cambodia"],
|
|
119
|
+
"KI": ["Kiribati", "Kiribati"],
|
|
120
|
+
"KM": ["Comoras", "Comoros"],
|
|
121
|
+
"KN": ["San Cristóbal y Nieves", "Saint Kitts and Nevis"],
|
|
122
|
+
"KP": ["Corea del Norte", "Korea, Democratic People's Republic of"],
|
|
123
|
+
"KR": ["Corea del Sur", "Korea, Republic of"],
|
|
124
|
+
"KW": ["Kuwait", "Kuwait"],
|
|
125
|
+
"KY": ["Islas Caimán", "Cayman Islands"],
|
|
126
|
+
"KZ": ["Kazajistán", "Kazakhstan"],
|
|
127
|
+
"LA": ["Laos", "Lao People's Democratic Republic"],
|
|
128
|
+
"LB": ["Líbano", "Lebanon"],
|
|
129
|
+
"LC": ["Santa Lucía", "Saint Lucia"],
|
|
130
|
+
"LI": ["Liechtenstein", "Liechtenstein"],
|
|
131
|
+
"LK": ["Sri Lanka", "Sri Lanka"],
|
|
132
|
+
"LR": ["Liberia", "Liberia"],
|
|
133
|
+
"LS": ["Lesoto", "Lesotho"],
|
|
134
|
+
"LT": ["Lituania", "Lithuania"],
|
|
135
|
+
"LU": ["Luxemburgo", "Luxembourg"],
|
|
136
|
+
"LV": ["Letonia", "Latvia"],
|
|
137
|
+
"LY": ["Libia", "Libya"],
|
|
138
|
+
"MA": ["Marruecos", "Morocco"],
|
|
139
|
+
"MC": ["Mónaco", "Monaco"],
|
|
140
|
+
"MD": ["Moldavia", "Moldova"],
|
|
141
|
+
"ME": ["Montenegro", "Montenegro"],
|
|
142
|
+
"MF": ["San Martín (parte francesa)", "Saint Martin (French part)"],
|
|
143
|
+
"MG": ["Madagascar", "Madagascar"],
|
|
144
|
+
"MH": ["Islas Marshall", "Marshall Islands"],
|
|
145
|
+
"MK": ["Macedonia del Norte", "North Macedonia"],
|
|
146
|
+
"ML": ["Malí", "Mali"],
|
|
147
|
+
"MM": ["Birmania", "Myanmar"],
|
|
148
|
+
"MN": ["Mongolia", "Mongolia"],
|
|
149
|
+
"MO": ["Macao", "Macao"],
|
|
150
|
+
"MP": ["Islas Marianas del Norte", "Northern Mariana Islands"],
|
|
151
|
+
"MQ": ["Martinica", "Martinique"],
|
|
152
|
+
"MR": ["Mauritania", "Mauritania"],
|
|
153
|
+
"MS": ["Montserrat", "Montserrat"],
|
|
154
|
+
"MT": ["Malta", "Malta"],
|
|
155
|
+
"MU": ["Mauricio", "Mauritius"],
|
|
156
|
+
"MV": ["Maldivas", "Maldives"],
|
|
157
|
+
"MW": ["Malaui", "Malawi"],
|
|
158
|
+
"MX": ["México", "Mexico"],
|
|
159
|
+
"MY": ["Malasia", "Malaysia"],
|
|
160
|
+
"MZ": ["Mozambique", "Mozambique"],
|
|
161
|
+
"NA": ["Namibia", "Namibia"],
|
|
162
|
+
"NC": ["Nueva Caledonia", "New Caledonia"],
|
|
163
|
+
"NE": ["Níger", "Niger"],
|
|
164
|
+
"NF": ["Isla Norfolk", "Norfolk Island"],
|
|
165
|
+
"NG": ["Nigeria", "Nigeria"],
|
|
166
|
+
"NI": ["Nicaragua", "Nicaragua"],
|
|
167
|
+
"NL": ["Países Bajos", "Netherlands"],
|
|
168
|
+
"NO": ["Noruega", "Norway"],
|
|
169
|
+
"NP": ["Nepal", "Nepal"],
|
|
170
|
+
"NR": ["Nauru", "Nauru"],
|
|
171
|
+
"NU": ["Niue", "Niue"],
|
|
172
|
+
"NZ": ["Nueva Zelanda", "New Zealand"],
|
|
173
|
+
"OM": ["Omán", "Oman"],
|
|
174
|
+
"PA": ["Panamá", "Panama"],
|
|
175
|
+
"PE": ["Perú", "Peru"],
|
|
176
|
+
"PF": ["Polinesia Francesa", "French Polynesia"],
|
|
177
|
+
"PG": ["Papúa Nueva Guinea", "Papua New Guinea"],
|
|
178
|
+
"PH": ["Filipinas", "Philippines"],
|
|
179
|
+
"PK": ["Pakistán", "Pakistan"],
|
|
180
|
+
"PL": ["Polonia", "Poland"],
|
|
181
|
+
"PM": ["San Pedro y Miquelón", "Saint Pierre and Miquelon"],
|
|
182
|
+
"PN": ["Islas Pitcairn", "Pitcairn"],
|
|
183
|
+
"PR": ["Puerto Rico", "Puerto Rico"],
|
|
184
|
+
"PS": ["Palestina", "Palestine, State of"],
|
|
185
|
+
"PT": ["Portugal", "Portugal"],
|
|
186
|
+
"PW": ["Palaos", "Palau"],
|
|
187
|
+
"PY": ["Paraguay", "Paraguay"],
|
|
188
|
+
"QA": ["Catar", "Qatar"],
|
|
189
|
+
"RE": ["Reunión", "Réunion"],
|
|
190
|
+
"RO": ["Rumania", "Romania"],
|
|
191
|
+
"RS": ["Serbia", "Serbia"],
|
|
192
|
+
"RU": ["Rusia", "Russian Federation"],
|
|
193
|
+
"RW": ["Ruanda", "Rwanda"],
|
|
194
|
+
"SA": ["Arabia Saudita", "Saudi Arabia"],
|
|
195
|
+
"SB": ["Islas Salomón", "Solomon Islands"],
|
|
196
|
+
"SC": ["Seychelles", "Seychelles"],
|
|
197
|
+
"SD": ["Sudán", "Sudan"],
|
|
198
|
+
"SE": ["Suecia", "Sweden"],
|
|
199
|
+
"SG": ["Singapur", "Singapore"],
|
|
200
|
+
"SH": ["Santa Elena, Ascensión y Tristán de Acuña", "Saint Helena, Ascension and Tristan da Cunha"],
|
|
201
|
+
"SI": ["Eslovenia", "Slovenia"],
|
|
202
|
+
"SJ": ["Svalbard y Jan Mayen", "Svalbard and Jan Mayen"],
|
|
203
|
+
"SK": ["Eslovaquia", "Slovakia"],
|
|
204
|
+
"SL": ["Sierra Leona", "Sierra Leone"],
|
|
205
|
+
"SM": ["San Marino", "San Marino"],
|
|
206
|
+
"SN": ["Senegal", "Senegal"],
|
|
207
|
+
"SO": ["Somalia", "Somalia"],
|
|
208
|
+
"SR": ["Surinam", "Suriname"],
|
|
209
|
+
"SS": ["Sudán del Sur", "South Sudan"],
|
|
210
|
+
"ST": ["Santo Tomé y Príncipe", "Sao Tome and Principe"],
|
|
211
|
+
"SV": ["El Salvador", "El Salvador"],
|
|
212
|
+
"SX": ["San Martín (parte neerlandesa)", "Sint Maarten (Dutch part)"],
|
|
213
|
+
"SY": ["Siria", "Syrian Arab Republic"],
|
|
214
|
+
"SZ": ["Esuatini", "Eswatini"],
|
|
215
|
+
"TC": ["Islas Turcas y Caicos", "Turks and Caicos Islands"],
|
|
216
|
+
"TD": ["Chad", "Chad"],
|
|
217
|
+
"TF": ["Territorios Australes Franceses", "French Southern Territories"],
|
|
218
|
+
"TG": ["Togo", "Togo"],
|
|
219
|
+
"TH": ["Tailandia", "Thailand"],
|
|
220
|
+
"TJ": ["Tayikistán", "Tajikistan"],
|
|
221
|
+
"TK": ["Tokelau", "Tokelau"],
|
|
222
|
+
"TL": ["Timor Oriental", "Timor-Leste"],
|
|
223
|
+
"TM": ["Turkmenistán", "Turkmenistan"],
|
|
224
|
+
"TN": ["Túnez", "Tunisia"],
|
|
225
|
+
"TO": ["Tonga", "Tonga"],
|
|
226
|
+
"TR": ["Turquía", "Türkiye"],
|
|
227
|
+
"TT": ["Trinidad y Tobago", "Trinidad and Tobago"],
|
|
228
|
+
"TV": ["Tuvalu", "Tuvalu"],
|
|
229
|
+
"TW": ["Taiwán", "Taiwan, Province of China"],
|
|
230
|
+
"TZ": ["Tanzania", "Tanzania, United Republic of"],
|
|
231
|
+
"UA": ["Ucrania", "Ukraine"],
|
|
232
|
+
"UG": ["Uganda", "Uganda"],
|
|
233
|
+
"UM": ["Islas Ultramarinas de Estados Unidos", "United States Minor Outlying Islands"],
|
|
234
|
+
"US": ["Estados Unidos", "United States of America"],
|
|
235
|
+
"UY": ["Uruguay", "Uruguay"],
|
|
236
|
+
"UZ": ["Uzbekistán", "Uzbekistan"],
|
|
237
|
+
"VA": ["Ciudad del Vaticano", "Holy See"],
|
|
238
|
+
"VC": ["San Vicente y las Granadinas", "Saint Vincent and the Grenadines"],
|
|
239
|
+
"VE": ["Venezuela", "Venezuela"],
|
|
240
|
+
"VG": ["Islas Vírgenes Británicas", "Virgin Islands (British)"],
|
|
241
|
+
"VI": ["Islas Vírgenes de los Estados Unidos", "Virgin Islands (U.S.)"],
|
|
242
|
+
"VN": ["Vietnam", "Viet Nam"],
|
|
243
|
+
"VU": ["Vanuatu", "Vanuatu"],
|
|
244
|
+
"WF": ["Wallis y Futuna", "Wallis and Futuna"],
|
|
245
|
+
"WS": ["Samoa", "Samoa"],
|
|
246
|
+
"YE": ["Yemen", "Yemen"],
|
|
247
|
+
"YT": ["Mayotte", "Mayotte"],
|
|
248
|
+
"ZA": ["Sudáfrica", "South Africa"],
|
|
249
|
+
"ZM": ["Zambia", "Zambia"],
|
|
250
|
+
"ZW": ["Zimbabue", "Zimbabwe"]
|
|
251
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Locale resolution + `useStrings` hook.
|
|
3
|
+
*
|
|
4
|
+
* Currently supports `'es'` (default) and `'en'`. Anything else falls back to
|
|
5
|
+
* `'es'`. Step modules read copy via `useStrings(locale)` so adding a new
|
|
6
|
+
* locale only touches `strings/`.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { ES, type StringsTable } from './strings/es';
|
|
10
|
+
import { EN } from './strings/en';
|
|
11
|
+
|
|
12
|
+
export type SupportedLocale = 'es' | 'en';
|
|
13
|
+
|
|
14
|
+
const TABLES: Record<SupportedLocale, StringsTable> = { es: ES, en: EN };
|
|
15
|
+
|
|
16
|
+
export function resolveLocale(raw: string | undefined): SupportedLocale {
|
|
17
|
+
const normalized = (raw ?? 'es').toLowerCase();
|
|
18
|
+
if (normalized.startsWith('en')) return 'en';
|
|
19
|
+
return 'es';
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function getStrings(locale: string | undefined): StringsTable {
|
|
23
|
+
return TABLES[resolveLocale(locale)];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export type { StringsTable };
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import type { StringsTable } from './es';
|
|
2
|
+
|
|
3
|
+
export const EN: StringsTable = {
|
|
4
|
+
common: {
|
|
5
|
+
loading: 'Loading…',
|
|
6
|
+
submitting: 'Submitting…',
|
|
7
|
+
processingVerification: 'Processing your verification…',
|
|
8
|
+
finalizing: 'Processing your information…',
|
|
9
|
+
continue: 'Continue',
|
|
10
|
+
cancel: 'Cancel',
|
|
11
|
+
retry: 'Try again',
|
|
12
|
+
confirm: 'Confirm',
|
|
13
|
+
required: 'Required',
|
|
14
|
+
submissionTitle: 'Something went wrong',
|
|
15
|
+
submissionFallback:
|
|
16
|
+
'Sorry, there was an error processing your information. Please try again — your data was not lost.',
|
|
17
|
+
},
|
|
18
|
+
fingerprint: {
|
|
19
|
+
evaluating: 'Evaluating your device. This takes a few seconds…',
|
|
20
|
+
},
|
|
21
|
+
human_basic_info: {
|
|
22
|
+
title: 'Personal information',
|
|
23
|
+
subtitle:
|
|
24
|
+
'Enter your name and ID exactly as shown on your official identification.',
|
|
25
|
+
givenNames: 'Given name(s)',
|
|
26
|
+
familyNames: 'Family name(s)',
|
|
27
|
+
idType: 'ID type',
|
|
28
|
+
idNumber: 'ID number',
|
|
29
|
+
nameRequired: 'Please enter your given name(s) and family name(s).',
|
|
30
|
+
idTypeRequired: 'Pick an ID type.',
|
|
31
|
+
idNumberRequired: 'Enter your ID number.',
|
|
32
|
+
},
|
|
33
|
+
email_contact: {
|
|
34
|
+
title: 'Email',
|
|
35
|
+
label: 'Email',
|
|
36
|
+
hint: 'Enter your contact email.',
|
|
37
|
+
invalid: 'Enter a valid email address.',
|
|
38
|
+
required: 'Enter your email.',
|
|
39
|
+
},
|
|
40
|
+
phone_contact: {
|
|
41
|
+
title: 'Phone',
|
|
42
|
+
label: 'Phone (E.164)',
|
|
43
|
+
hint: 'Example: +15551234567',
|
|
44
|
+
invalid: 'Use E.164 format (e.g. +15551234567).',
|
|
45
|
+
required: 'Enter your phone number.',
|
|
46
|
+
},
|
|
47
|
+
email_otp: {
|
|
48
|
+
title: 'Email verification',
|
|
49
|
+
emailLabel: 'Email address',
|
|
50
|
+
emailHint: 'We will send a 6-digit code to this email.',
|
|
51
|
+
sendCode: 'Send code',
|
|
52
|
+
sendingCode: 'Sending code…',
|
|
53
|
+
otpLabel: '6-digit code',
|
|
54
|
+
otpHint: 'Paste or type the code you received by email.',
|
|
55
|
+
verify: 'Verify',
|
|
56
|
+
verifying: 'Verifying…',
|
|
57
|
+
resend: 'Resend code',
|
|
58
|
+
emailRequired: 'Enter your email first.',
|
|
59
|
+
otpRequired: 'Enter the 6-digit code.',
|
|
60
|
+
otpFormat: 'The code must be 6 numeric digits.',
|
|
61
|
+
},
|
|
62
|
+
phone_otp: {
|
|
63
|
+
title: 'Phone verification',
|
|
64
|
+
phoneLabel: 'Phone number (E.164)',
|
|
65
|
+
phoneHint: 'We will send a code by SMS. Example: +15551234567',
|
|
66
|
+
sendCode: 'Send code',
|
|
67
|
+
sendingCode: 'Sending code…',
|
|
68
|
+
otpLabel: '6-digit code',
|
|
69
|
+
otpHint: 'Paste or type the code you received by SMS.',
|
|
70
|
+
verify: 'Verify',
|
|
71
|
+
verifying: 'Verifying…',
|
|
72
|
+
resend: 'Resend code',
|
|
73
|
+
phoneRequired: 'Enter your phone in E.164 format.',
|
|
74
|
+
otpRequired: 'Enter the 6-digit code.',
|
|
75
|
+
otpFormat: 'The code must be 6 numeric digits.',
|
|
76
|
+
},
|
|
77
|
+
tax_info: {
|
|
78
|
+
title: 'Tax information',
|
|
79
|
+
subtitle:
|
|
80
|
+
'Enter your taxpayer category and tax ID as registered with ARCA or the equivalent authority.',
|
|
81
|
+
taxpayerType: 'Taxpayer category',
|
|
82
|
+
taxpayerIdType: 'Tax identification type',
|
|
83
|
+
taxpayerId: 'Identification number',
|
|
84
|
+
requiredCategory: 'Pick a taxpayer category.',
|
|
85
|
+
requiredIdType: 'Pick a tax identification type.',
|
|
86
|
+
requiredId: 'Enter your identification number.',
|
|
87
|
+
},
|
|
88
|
+
sworn_declaration: {
|
|
89
|
+
title: 'Sworn declaration',
|
|
90
|
+
subtitle: 'Do you fall under any of these regulations?',
|
|
91
|
+
pep: 'PEP (Politically Exposed Person)',
|
|
92
|
+
pepDescription:
|
|
93
|
+
'A person who currently holds or previously held a prominent public position, or has close family ties to someone in that role.',
|
|
94
|
+
ssoo: 'Obligated subject',
|
|
95
|
+
ssooDescription:
|
|
96
|
+
'A person or activity subject to anti-money laundering and counter-terrorist financing regulations.',
|
|
97
|
+
fatca: 'FATCA law',
|
|
98
|
+
fatcaDescription:
|
|
99
|
+
'A person considered a U.S. taxpayer under the U.S. FATCA framework.',
|
|
100
|
+
ocde: 'OECD / CRS rule',
|
|
101
|
+
ocdeDescription:
|
|
102
|
+
'A person with tax residency or tax obligations outside Argentina under international reporting standards.',
|
|
103
|
+
none: 'None of the above',
|
|
104
|
+
noneDescription: 'I do not fall under any of these regulations.',
|
|
105
|
+
},
|
|
106
|
+
terms_and_conditions: {
|
|
107
|
+
title: 'Terms and conditions',
|
|
108
|
+
subtitle: 'Review each item and confirm your acceptance to continue.',
|
|
109
|
+
accept: 'I accept',
|
|
110
|
+
openLink: 'View document',
|
|
111
|
+
needAll: 'You must accept every item to continue.',
|
|
112
|
+
noItems:
|
|
113
|
+
'No terms items are configured for this session. Check session creation or update the backend.',
|
|
114
|
+
},
|
|
115
|
+
legal_basic_info: {
|
|
116
|
+
title: 'Entity information',
|
|
117
|
+
subtitle: 'Enter the entity details as registered with the tax authority.',
|
|
118
|
+
legalName: 'Legal name',
|
|
119
|
+
legalForm: 'Legal form (e.g. SA, LLC, Ltd)',
|
|
120
|
+
idType: 'Tax ID type',
|
|
121
|
+
idTypePlaceholder: 'CUIT, EIN, RFC',
|
|
122
|
+
idNumber: 'Tax ID number',
|
|
123
|
+
requiredLegalName: 'Enter the legal name.',
|
|
124
|
+
requiredLegalForm: 'Enter the legal form.',
|
|
125
|
+
requiredIdType: 'Enter the tax identification type.',
|
|
126
|
+
requiredIdNumber: 'Enter the identification number.',
|
|
127
|
+
},
|
|
128
|
+
human_extended_info: {
|
|
129
|
+
title: 'Additional details',
|
|
130
|
+
subtitle:
|
|
131
|
+
'Provide your gender, marital status, birth date, and country fields as on your ID.',
|
|
132
|
+
gender: 'Gender',
|
|
133
|
+
civilStatus: 'Marital status',
|
|
134
|
+
birthDate: 'Date of birth',
|
|
135
|
+
birthCountry: 'Country of birth',
|
|
136
|
+
citizenship: 'Citizenship',
|
|
137
|
+
residenceCountry: 'Country of residence',
|
|
138
|
+
countrySearch: 'Search by name…',
|
|
139
|
+
requiredGender: 'Pick a gender option.',
|
|
140
|
+
requiredCivil: 'Pick a marital status.',
|
|
141
|
+
requiredBirthDate: 'Enter a valid birth date.',
|
|
142
|
+
requiredCountry: 'Pick the country from the list.',
|
|
143
|
+
},
|
|
144
|
+
legal_extended_info: {
|
|
145
|
+
title: 'Entity details',
|
|
146
|
+
subtitle: 'Provide the incorporation details of the entity.',
|
|
147
|
+
incorporationDate: 'Incorporation date',
|
|
148
|
+
incorporationCountry: 'Country of incorporation',
|
|
149
|
+
requiredDate: 'Enter a valid incorporation date.',
|
|
150
|
+
requiredCountry: 'Pick the country of incorporation.',
|
|
151
|
+
},
|
|
152
|
+
address_info: {
|
|
153
|
+
title: 'Your address',
|
|
154
|
+
subtitle: 'Fill in the details of your current home address.',
|
|
155
|
+
introTitle: 'Where do you live?',
|
|
156
|
+
introLine1: 'Enter the address where you currently live.',
|
|
157
|
+
introLine2: 'It does not need to match the address on your ID.',
|
|
158
|
+
introNext: 'Next',
|
|
159
|
+
mapSearchPlaceholder: 'Search your address or drag the pin',
|
|
160
|
+
mapSearching: 'Searching…',
|
|
161
|
+
mapNoResults: 'No matches. Try with street + city.',
|
|
162
|
+
mapNext: 'Next',
|
|
163
|
+
mapBack: 'Back',
|
|
164
|
+
detailsTitle: 'Address details',
|
|
165
|
+
geocodeError:
|
|
166
|
+
'We could not read the address at this point. Move to another spot or fill the address by hand in the next step.',
|
|
167
|
+
locationDenied:
|
|
168
|
+
'Enable location to center the map, or search for your address above.',
|
|
169
|
+
country: 'Country',
|
|
170
|
+
countryPlaceholder: 'Search country…',
|
|
171
|
+
state: 'State / province',
|
|
172
|
+
city: 'City',
|
|
173
|
+
district: 'County / district',
|
|
174
|
+
neighborhood: 'Neighborhood',
|
|
175
|
+
street: 'Street',
|
|
176
|
+
number: 'Number',
|
|
177
|
+
floor: 'Floor (optional)',
|
|
178
|
+
apartment: 'Apartment / unit (optional)',
|
|
179
|
+
zipCode: 'ZIP / postal code',
|
|
180
|
+
references: 'Additional directions (optional)',
|
|
181
|
+
requiredCountry: 'Pick a country.',
|
|
182
|
+
requiredState: 'Enter the state or province.',
|
|
183
|
+
requiredCity: 'Enter the city.',
|
|
184
|
+
requiredDistrict: 'Enter the district.',
|
|
185
|
+
requiredNeighborhood: 'Enter the neighborhood.',
|
|
186
|
+
requiredStreet: 'Enter the street.',
|
|
187
|
+
requiredNumber: 'Enter the street number.',
|
|
188
|
+
requiredZip: 'Enter the postal code.',
|
|
189
|
+
fillAllRequired: 'Please fill in all fields marked with *.',
|
|
190
|
+
},
|
|
191
|
+
documents_ocr: {
|
|
192
|
+
introTitle: 'Identity document',
|
|
193
|
+
introSubtitle:
|
|
194
|
+
'We will ask you for a photo of the front and back of your ID. First, take a look at these tips:',
|
|
195
|
+
introTips: [
|
|
196
|
+
'Make sure the lighting is even, with no glare or shadows.',
|
|
197
|
+
'Place the document on a flat, plain surface.',
|
|
198
|
+
'Keep the data and photo readable and sharp.',
|
|
199
|
+
'Hold the camera steady and straight until capture is confirmed.',
|
|
200
|
+
],
|
|
201
|
+
introStart: 'Start',
|
|
202
|
+
frontTitle: 'Front side',
|
|
203
|
+
backTitle: 'Back side',
|
|
204
|
+
frontInstruction: 'Place the front of your document inside the frame',
|
|
205
|
+
backInstruction: 'Place the back of your document inside the frame',
|
|
206
|
+
captureBtn: 'Take photo',
|
|
207
|
+
retakeBtn: 'Retake',
|
|
208
|
+
confirmBtn: 'Confirm',
|
|
209
|
+
confirmFront: 'Confirm front',
|
|
210
|
+
confirmBack: 'Confirm back',
|
|
211
|
+
initializing: 'Preparing capture…',
|
|
212
|
+
uploadingFront: 'Uploading front…',
|
|
213
|
+
uploadingBack: 'Uploading back…',
|
|
214
|
+
verifying: 'Verifying document…',
|
|
215
|
+
cameraPermissionDenied:
|
|
216
|
+
'We need camera access to capture your document. Enable it in Settings.',
|
|
217
|
+
cameraTryAgain: 'Try again',
|
|
218
|
+
fileTooLarge: 'The image is larger than 5 MB. Please retake with lower quality.',
|
|
219
|
+
},
|
|
220
|
+
liveness: {
|
|
221
|
+
introTitle: 'Verify it is you',
|
|
222
|
+
introSubtitle:
|
|
223
|
+
'We will ask you to perform a few short movements in front of the camera. First, make sure that:',
|
|
224
|
+
introTips: [
|
|
225
|
+
'You are in a well-lit place, no backlight.',
|
|
226
|
+
'Your face is uncovered, no glasses or hat.',
|
|
227
|
+
'You hold the phone steady, at eye level.',
|
|
228
|
+
'React quickly when each instruction appears — you only have a few seconds for each.',
|
|
229
|
+
],
|
|
230
|
+
introStart: 'Start',
|
|
231
|
+
introBack: 'Back',
|
|
232
|
+
connecting: 'Connecting…',
|
|
233
|
+
preparingCamera: 'Preparing camera…',
|
|
234
|
+
analyzingHeadline: 'Analyzing your video',
|
|
235
|
+
analyzingCaption: "We're verifying the liveness check. This will only take a moment.",
|
|
236
|
+
timeoutTurnLeft: "We couldn't detect the head turn to the left",
|
|
237
|
+
timeoutTurnRight: "We couldn't detect the head turn to the right",
|
|
238
|
+
timeoutBlink: "We couldn't detect the blink",
|
|
239
|
+
timeoutSmile: "We couldn't detect the smile",
|
|
240
|
+
timeoutMoveCloser: "We couldn't tell that you moved closer",
|
|
241
|
+
timeoutMoveFarther: "We couldn't tell that you moved farther away",
|
|
242
|
+
timeoutGeneric: "We couldn't detect that movement",
|
|
243
|
+
centerFace: 'Center your face inside the oval',
|
|
244
|
+
positioningReady: 'Looking good — starting the challenges',
|
|
245
|
+
getReady: 'Heads up — starting now',
|
|
246
|
+
finalizing: 'Processing your video…',
|
|
247
|
+
challenge: {
|
|
248
|
+
FACE_FORWARD: 'Hold your face forward',
|
|
249
|
+
TURN_LEFT: 'Turn your head to the left',
|
|
250
|
+
TURN_RIGHT: 'Turn your head to the right',
|
|
251
|
+
SMILE: 'Smile',
|
|
252
|
+
BLINK: 'Blink once',
|
|
253
|
+
MOVE_CLOSER: 'Move the phone closer to your face',
|
|
254
|
+
MOVE_FARTHER: 'Move the phone away from your face',
|
|
255
|
+
},
|
|
256
|
+
warningGeneric: 'Re-center your face and hold still',
|
|
257
|
+
warningConsecutiveMisses:
|
|
258
|
+
'Re-center your face (attempt {n}) — follow the instructions',
|
|
259
|
+
warningTooFar: 'Move closer to the phone so your face fills the oval guide',
|
|
260
|
+
warningTooClose: 'Move the phone a bit farther so your whole face fits',
|
|
261
|
+
warningMoveCloserHint:
|
|
262
|
+
'Bring the phone closer — your face should grow inside the guide',
|
|
263
|
+
warningMoveFartherHint:
|
|
264
|
+
'Move the phone away — your face should shrink inside the guide',
|
|
265
|
+
terminalRetryTitle: 'We could not verify you',
|
|
266
|
+
terminalRetryFallback:
|
|
267
|
+
'Liveness verification did not complete. Please try again in a well-lit area and follow the on-screen instructions.',
|
|
268
|
+
noProgressMessage:
|
|
269
|
+
'We did not detect any face movement in the last 25 seconds. Make sure you are well-lit and try again.',
|
|
270
|
+
terminalRetryButton: 'Try again',
|
|
271
|
+
terminalCancelButton: 'Cancel',
|
|
272
|
+
cameraPermissionDenied:
|
|
273
|
+
'We need camera access to run the liveness check. Enable it in Settings.',
|
|
274
|
+
cameraTryAgain: 'Try again',
|
|
275
|
+
},
|
|
276
|
+
months: [
|
|
277
|
+
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
|
|
278
|
+
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec',
|
|
279
|
+
],
|
|
280
|
+
result: {
|
|
281
|
+
approvedTitle: 'Verification complete',
|
|
282
|
+
approvedBody: 'Your identity has been verified successfully.',
|
|
283
|
+
manualReviewTitle: 'Under manual review',
|
|
284
|
+
manualReviewBody: 'A specialist will review your case shortly.',
|
|
285
|
+
rejectedTitle: 'Verification rejected',
|
|
286
|
+
rejectedBody: 'This session could not be completed.',
|
|
287
|
+
declineHeadline: 'We could not continue',
|
|
288
|
+
},
|
|
289
|
+
};
|