@tap-payments/auth-jsconnect 2.8.98-development → 2.9.1-development
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/build/@types/app.d.ts +19 -18
- package/build/@types/app.js +1 -0
- package/build/@types/config.d.ts +1 -1
- package/build/@types/form.d.ts +24 -24
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +18 -14
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +8 -8
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +10 -10
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/index.d.ts +5 -2
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +15 -13
- package/build/api/lead.js +17 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +9 -2
- package/build/api/user.js +9 -1
- package/build/app/rootReducer.d.ts +1 -0
- package/build/app/rootReducer.js +3 -1
- package/build/app/settings.d.ts +21 -3
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +6 -4
- package/build/assets/locales/ar.json +24 -13
- package/build/assets/locales/en.json +21 -10
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Error.d.ts +1 -2
- package/build/components/AnimationFlow/Loader.d.ts +1 -2
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +1 -2
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
- package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/Radio/Radio.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.d.ts +1 -1
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/Text/Text.d.ts +1 -1
- package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/app.d.ts +11 -1
- package/build/constants/app.js +54 -0
- package/build/constants/flows.d.ts +22 -0
- package/build/constants/flows.js +23 -0
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -0
- package/build/features/app/auth/authStore.d.ts +201 -21
- package/build/features/app/auth/authStore.js +1 -1
- package/build/features/app/bank/bankStore.d.ts +93 -12
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/board/boardStore.d.ts +41 -5
- package/build/features/app/board/boardStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +143 -17
- package/build/features/app/brand/brandStore.js +1 -1
- package/build/features/app/business/businessStore.d.ts +172 -19
- package/build/features/app/business/businessStore.js +1 -1
- package/build/features/app/connect/connectStore.d.ts +161 -17
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +271 -28
- package/build/features/app/connectExpress/connectExpressStore.js +1 -1
- package/build/features/app/entity/entityStore.d.ts +93 -12
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +187 -25
- package/build/features/app/individual/individualStore.js +39 -30
- package/build/features/app/kyc/kycStore.d.ts +121 -0
- package/build/features/app/kyc/kycStore.js +410 -0
- package/build/features/app/password/passwordStore.d.ts +123 -15
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +61 -7
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +83 -11
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/auth/Auth.d.ts +1 -2
- package/build/features/auth/Auth.js +1 -1
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +5 -27
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/DOB/DOB.d.ts +1 -2
- package/build/features/auth/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/auth/screens/Email/Email.d.ts +1 -1
- package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
- package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/auth/screens/Mobile/MobileNumber.js +3 -5
- package/build/features/auth/screens/Mobile/validation.js +5 -2
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/auth/screens/Password/Password.d.ts +1 -1
- package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +1 -2
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -58
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +10 -31
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -8
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +6 -28
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +19 -70
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +10 -31
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -3
- package/build/features/business/screens/DOB/DOB.d.ts +1 -1
- package/build/features/business/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +1 -2
- package/build/features/connect/Connect.js +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/DOB/DOB.d.ts +1 -2
- package/build/features/connect/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/MobileNumber.js +3 -5
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Individual/validation.js +5 -2
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +1 -1
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/MobileNumber.js +3 -5
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/Mobile/validation.js +5 -2
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
- package/build/features/connectExpress/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +5 -27
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +6 -28
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +3 -5
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +5 -2
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/DOB/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +3 -5
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/validation.js +9 -4
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
- package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +15 -58
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/featuresScreens.d.ts +1 -0
- package/build/features/featuresScreens.js +38 -0
- package/build/features/individual/Individual.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +5 -27
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +5 -27
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
- package/build/features/individual/screens/IndividualList/MobileNumber.js +5 -10
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualList/validation.js +5 -3
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +6 -28
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +3 -5
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +5 -2
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +5 -10
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/validation.js +5 -2
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/kyc/KYC.d.ts +10 -0
- package/build/features/kyc/KYC.js +95 -0
- package/build/features/kyc/index.d.ts +1 -0
- package/build/features/kyc/index.js +1 -0
- package/build/features/kyc/screens/Loading/Loading.d.ts +4 -0
- package/build/features/kyc/screens/Loading/Loading.js +10 -0
- package/build/features/kyc/screens/Loading/index.d.ts +2 -0
- package/build/features/kyc/screens/Loading/index.js +2 -0
- package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/kyc/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/kyc/screens/OperatorError/index.d.ts +2 -0
- package/build/features/kyc/screens/OperatorError/index.js +2 -0
- package/build/features/kyc/screens/Success/Success.d.ts +5 -0
- package/build/features/kyc/screens/Success/Success.js +19 -0
- package/build/features/kyc/screens/Success/index.d.ts +2 -0
- package/build/features/kyc/screens/Success/index.js +2 -0
- package/build/features/kyc/screens/Terms/Header.d.ts +6 -0
- package/build/features/kyc/screens/Terms/Header.js +36 -0
- package/build/features/kyc/screens/Terms/Terms.d.ts +4 -0
- package/build/features/kyc/screens/Terms/Terms.js +72 -0
- package/build/features/kyc/screens/Terms/index.d.ts +2 -0
- package/build/features/kyc/screens/Terms/index.js +2 -0
- package/build/features/kyc/screens/Users/Users.d.ts +3 -0
- package/build/features/kyc/screens/Users/Users.js +73 -0
- package/build/features/kyc/screens/Users/index.d.ts +2 -0
- package/build/features/kyc/screens/Users/index.js +2 -0
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.js +45 -0
- package/build/features/kyc/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/kyc/screens/VerifyNafath/index.js +2 -0
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +5 -0
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.js +44 -0
- package/build/features/kyc/screens/VerifyPaci/index.d.ts +3 -0
- package/build/features/kyc/screens/VerifyPaci/index.js +2 -0
- package/build/features/password/Password.d.ts +1 -2
- package/build/features/password/Password.js +1 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
- package/build/features/shared/Address/Address.d.ts +1 -2
- package/build/features/shared/Address/CountryList.d.ts +14 -46
- package/build/features/shared/Address/InputSelect.d.ts +14 -46
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.js +1 -1
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +1 -2
- package/build/features/shared/Button/NafathButton.d.ts +1 -2
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- package/build/features/shared/Calender/Calender.d.ts +1 -2
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
- package/build/features/shared/Chip/Chip.d.ts +1 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +6 -14
- package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +1 -2
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.js +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +4 -9
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -8
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -8
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -9
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -8
- package/build/features/signIn/SignIn.d.ts +1 -2
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/MobileNumber.js +3 -5
- package/build/features/signIn/screens/Mobile/validation.js +5 -2
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +1 -2
- package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/hooks/useAppDispatch.d.ts +1 -0
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +3 -3
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useSanitizedTranslation.d.ts +2 -1
- package/build/hooks/useSanitizedTranslation.js +2 -2
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/index.d.ts +3 -2
- package/build/index.js +4 -2
- package/build/theme/shadows.js +1 -1
- package/build/utils/array.js +1 -1
- package/build/utils/string.d.ts +2 -0
- package/build/utils/string.js +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { RootState } from '../../../app/store';
|
|
2
|
+
import { ActionState, FlowsTypes, NIDFormValues, OTPFormValues, SharedState, User } from '../../../@types';
|
|
3
|
+
interface VerifyLeadTokenProps {
|
|
4
|
+
token: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const verifyTokenApi: import("@reduxjs/toolkit").AsyncThunk<{
|
|
7
|
+
data: any;
|
|
8
|
+
userList: any;
|
|
9
|
+
token: string;
|
|
10
|
+
nextScreen: import("../../../constants").KYC_FLOWS;
|
|
11
|
+
}, VerifyLeadTokenProps, {
|
|
12
|
+
state?: unknown;
|
|
13
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
14
|
+
extra?: unknown;
|
|
15
|
+
rejectValue?: unknown;
|
|
16
|
+
serializedErrorType?: unknown;
|
|
17
|
+
pendingMeta?: unknown;
|
|
18
|
+
fulfilledMeta?: unknown;
|
|
19
|
+
rejectedMeta?: unknown;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const createPaciAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
22
|
+
data: any;
|
|
23
|
+
nextScreen: import("../../../constants").KYC_FLOWS;
|
|
24
|
+
}, User, {
|
|
25
|
+
state?: unknown;
|
|
26
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
27
|
+
extra?: unknown;
|
|
28
|
+
rejectValue?: unknown;
|
|
29
|
+
serializedErrorType?: unknown;
|
|
30
|
+
pendingMeta?: unknown;
|
|
31
|
+
fulfilledMeta?: unknown;
|
|
32
|
+
rejectedMeta?: unknown;
|
|
33
|
+
}>;
|
|
34
|
+
export declare const createNafathAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
35
|
+
data: any;
|
|
36
|
+
nextScreen: import("../../../constants").KYC_FLOWS;
|
|
37
|
+
}, User, {
|
|
38
|
+
state?: unknown;
|
|
39
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
40
|
+
extra?: unknown;
|
|
41
|
+
rejectValue?: unknown;
|
|
42
|
+
serializedErrorType?: unknown;
|
|
43
|
+
pendingMeta?: unknown;
|
|
44
|
+
fulfilledMeta?: unknown;
|
|
45
|
+
rejectedMeta?: unknown;
|
|
46
|
+
}>;
|
|
47
|
+
interface verifyNafathParams {
|
|
48
|
+
onSuccess: () => void;
|
|
49
|
+
onFailure?: () => void;
|
|
50
|
+
}
|
|
51
|
+
export declare const verifyNafath: import("@reduxjs/toolkit").AsyncThunk<{
|
|
52
|
+
data: any;
|
|
53
|
+
createAuthData: any;
|
|
54
|
+
nextScreen?: undefined;
|
|
55
|
+
} | {
|
|
56
|
+
data: any;
|
|
57
|
+
nextScreen: import("../../../constants").KYC_FLOWS;
|
|
58
|
+
createAuthData: any;
|
|
59
|
+
}, verifyNafathParams, {
|
|
60
|
+
state?: unknown;
|
|
61
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
62
|
+
extra?: unknown;
|
|
63
|
+
rejectValue?: unknown;
|
|
64
|
+
serializedErrorType?: unknown;
|
|
65
|
+
pendingMeta?: unknown;
|
|
66
|
+
fulfilledMeta?: unknown;
|
|
67
|
+
rejectedMeta?: unknown;
|
|
68
|
+
}>;
|
|
69
|
+
interface verifyPACIParams {
|
|
70
|
+
onSuccess: () => void;
|
|
71
|
+
}
|
|
72
|
+
export declare const verifyPaci: import("@reduxjs/toolkit").AsyncThunk<{
|
|
73
|
+
data: any;
|
|
74
|
+
nextScreen: import("../../../constants").KYC_FLOWS;
|
|
75
|
+
createAuthData: any;
|
|
76
|
+
}, verifyPACIParams, {
|
|
77
|
+
state?: unknown;
|
|
78
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
79
|
+
extra?: unknown;
|
|
80
|
+
rejectValue?: unknown;
|
|
81
|
+
serializedErrorType?: unknown;
|
|
82
|
+
pendingMeta?: unknown;
|
|
83
|
+
fulfilledMeta?: unknown;
|
|
84
|
+
rejectedMeta?: unknown;
|
|
85
|
+
}>;
|
|
86
|
+
export declare const updateKYCSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
87
|
+
data: any;
|
|
88
|
+
} | undefined, void, {
|
|
89
|
+
state?: unknown;
|
|
90
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
91
|
+
extra?: unknown;
|
|
92
|
+
rejectValue?: unknown;
|
|
93
|
+
serializedErrorType?: unknown;
|
|
94
|
+
pendingMeta?: unknown;
|
|
95
|
+
fulfilledMeta?: unknown;
|
|
96
|
+
rejectedMeta?: unknown;
|
|
97
|
+
}>;
|
|
98
|
+
interface ResponseData {
|
|
99
|
+
responseData?: Record<string, any>;
|
|
100
|
+
}
|
|
101
|
+
type VerifyData = {
|
|
102
|
+
token: string;
|
|
103
|
+
};
|
|
104
|
+
export interface KYCData {
|
|
105
|
+
flowName: FlowsTypes;
|
|
106
|
+
verify: VerifyData;
|
|
107
|
+
otpData: OTPFormValues;
|
|
108
|
+
idInfo: NIDFormValues;
|
|
109
|
+
}
|
|
110
|
+
export interface KYCDataState extends SharedState<KYCData & ResponseData> {
|
|
111
|
+
customLoading?: boolean;
|
|
112
|
+
}
|
|
113
|
+
export declare const kycSlice: import("@reduxjs/toolkit").Slice<KYCDataState, {
|
|
114
|
+
clearError: (state: KYCDataState) => void;
|
|
115
|
+
setError(state: KYCDataState, action: ActionState<string>): void;
|
|
116
|
+
stopLoader: (state: KYCDataState) => void;
|
|
117
|
+
}, "kyc/store">;
|
|
118
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"kyc/store/clearError">, setError: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "kyc/store/setError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"kyc/store/stopLoader">;
|
|
119
|
+
declare const _default: import("redux").Reducer<KYCDataState, import("redux").AnyAction>;
|
|
120
|
+
export default _default;
|
|
121
|
+
export declare const kycSelector: (state: RootState) => KYCDataState;
|
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
var _a;
|
|
49
|
+
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
+
import { handlePublicKey, handleSetCountryByIso2 } from '../../../app/settings';
|
|
51
|
+
import { FlowsTypes } from '../../../@types';
|
|
52
|
+
import { CONNECT_FLOWS, IDENTIFICATION_TYPE, KYC_STEP_NAMES } from '../../../constants';
|
|
53
|
+
import API from '../../../api';
|
|
54
|
+
import { sendCustomEventToGTM, sleep } from '../../../utils';
|
|
55
|
+
export var verifyTokenApi = createAsyncThunk('kyc/verifyTokenApi', function (_a, thunkApi) {
|
|
56
|
+
var token = _a.token;
|
|
57
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
58
|
+
var payload, data, _b, config, country_code, segment_id, boardId, recipient, publicKey, nextScreen, userList, userPayload, users;
|
|
59
|
+
return __generator(this, function (_c) {
|
|
60
|
+
switch (_c.label) {
|
|
61
|
+
case 0:
|
|
62
|
+
payload = {
|
|
63
|
+
service_name: 'tap_email',
|
|
64
|
+
verify_token: token,
|
|
65
|
+
notification: {
|
|
66
|
+
sms: false
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
return [4, API.leadService.verifyToken(payload)];
|
|
70
|
+
case 1:
|
|
71
|
+
data = _c.sent();
|
|
72
|
+
_b = data || {}, config = _b.config, country_code = _b.country_code, segment_id = _b.segment_id, boardId = _b.id, recipient = _b.recipient;
|
|
73
|
+
publicKey = config === null || config === void 0 ? void 0 : config.public_key;
|
|
74
|
+
nextScreen = CONNECT_FLOWS.kyc.terms;
|
|
75
|
+
userList = [];
|
|
76
|
+
if (country_code)
|
|
77
|
+
thunkApi.dispatch(handleSetCountryByIso2(country_code));
|
|
78
|
+
if (publicKey)
|
|
79
|
+
thunkApi.dispatch(handlePublicKey(publicKey));
|
|
80
|
+
userPayload = {
|
|
81
|
+
page: 1,
|
|
82
|
+
limit: 25,
|
|
83
|
+
is_authorized: recipient.is_authorized,
|
|
84
|
+
segment_ids: [segment_id]
|
|
85
|
+
};
|
|
86
|
+
return [4, API.userService.getUserListUsingSegmentId(userPayload)];
|
|
87
|
+
case 2:
|
|
88
|
+
users = (_c.sent()).users;
|
|
89
|
+
userList = users || [];
|
|
90
|
+
return [2, {
|
|
91
|
+
data: __assign(__assign({}, data), { boardId: boardId }),
|
|
92
|
+
userList: userList,
|
|
93
|
+
token: token,
|
|
94
|
+
nextScreen: nextScreen
|
|
95
|
+
}];
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
export var createPaciAuth = createAsyncThunk('kyc/createPaciAuth', function (user, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
101
|
+
var _a, settings, kyc, verifyTokenData, _b, id, identification, requestBody, data, nextScreen;
|
|
102
|
+
var _c, _d;
|
|
103
|
+
return __generator(this, function (_e) {
|
|
104
|
+
switch (_e.label) {
|
|
105
|
+
case 0:
|
|
106
|
+
_a = thunkApi.getState(), settings = _a.settings, kyc = _a.kyc;
|
|
107
|
+
verifyTokenData = (kyc.data.responseData || {}).verifyTokenData;
|
|
108
|
+
_b = user || {}, id = _b.id, identification = _b.identification;
|
|
109
|
+
requestBody = {
|
|
110
|
+
country: settings.data.businessCountry.iso2,
|
|
111
|
+
lang: settings.data.language,
|
|
112
|
+
user_credentail: {
|
|
113
|
+
identification_id: identification === null || identification === void 0 ? void 0 : identification.id,
|
|
114
|
+
country_code: 'KW'
|
|
115
|
+
},
|
|
116
|
+
is_lead: false,
|
|
117
|
+
scope: 'auth',
|
|
118
|
+
board_id: verifyTokenData === null || verifyTokenData === void 0 ? void 0 : verifyTokenData.boardId,
|
|
119
|
+
user_id: id,
|
|
120
|
+
step_name: KYC_STEP_NAMES.KYC_CREATE_PACI,
|
|
121
|
+
encryption_contract: ['user_credentail.identification_id']
|
|
122
|
+
};
|
|
123
|
+
return [4, API.authService.createAuth(requestBody)];
|
|
124
|
+
case 1:
|
|
125
|
+
data = _e.sent();
|
|
126
|
+
(_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, requestBody.user_credentail);
|
|
127
|
+
nextScreen = CONNECT_FLOWS.kyc.verifyPACI;
|
|
128
|
+
return [2, { data: data, nextScreen: nextScreen }];
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
}); });
|
|
132
|
+
export var createNafathAuth = createAsyncThunk('kyc/createNafathAuth', function (user, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
133
|
+
var _a, settings, kyc, verifyTokenData, _b, id, identification, requestBody, data, nextScreen;
|
|
134
|
+
var _c, _d;
|
|
135
|
+
return __generator(this, function (_e) {
|
|
136
|
+
switch (_e.label) {
|
|
137
|
+
case 0:
|
|
138
|
+
_a = thunkApi.getState(), settings = _a.settings, kyc = _a.kyc;
|
|
139
|
+
verifyTokenData = (kyc.data.responseData || {}).verifyTokenData;
|
|
140
|
+
_b = user || {}, id = _b.id, identification = _b.identification;
|
|
141
|
+
requestBody = {
|
|
142
|
+
country: settings.data.businessCountry.iso2,
|
|
143
|
+
lang: settings.data.language,
|
|
144
|
+
user_credentail: {
|
|
145
|
+
identification_id: identification === null || identification === void 0 ? void 0 : identification.id,
|
|
146
|
+
identification_id_type: IDENTIFICATION_TYPE.NAFATH,
|
|
147
|
+
country_code: settings.data.businessCountry.iso2
|
|
148
|
+
},
|
|
149
|
+
is_lead: false,
|
|
150
|
+
scope: 'auth',
|
|
151
|
+
board_id: verifyTokenData === null || verifyTokenData === void 0 ? void 0 : verifyTokenData.boardId,
|
|
152
|
+
user_id: id,
|
|
153
|
+
step_name: KYC_STEP_NAMES.KYC_CREATE_NAFATH,
|
|
154
|
+
encryption_contract: ['user_credentail.country_code', 'user_credentail.identification_id', 'user_credentail.identification_id_type']
|
|
155
|
+
};
|
|
156
|
+
return [4, API.authService.createAuthKitNID(requestBody)];
|
|
157
|
+
case 1:
|
|
158
|
+
data = _e.sent();
|
|
159
|
+
(_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, requestBody);
|
|
160
|
+
nextScreen = CONNECT_FLOWS.kyc.verifyNafath;
|
|
161
|
+
return [2, { data: data, nextScreen: nextScreen }];
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
}); });
|
|
165
|
+
export var verifyNafath = createAsyncThunk('kyc/verifyNafath', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
166
|
+
var kyc, createAuthData, expiry, interval, maxCalls, count, data, isSuccess, isFailed, nextScreen;
|
|
167
|
+
var _a, _b, _c, _d;
|
|
168
|
+
return __generator(this, function (_e) {
|
|
169
|
+
switch (_e.label) {
|
|
170
|
+
case 0:
|
|
171
|
+
kyc = thunkApi.getState().kyc;
|
|
172
|
+
createAuthData = (kyc.data.responseData || {}).createAuthData;
|
|
173
|
+
expiry = (createAuthData === null || createAuthData === void 0 ? void 0 : createAuthData.expiry) || 120;
|
|
174
|
+
interval = 3;
|
|
175
|
+
maxCalls = Math.floor(expiry / interval);
|
|
176
|
+
count = 1;
|
|
177
|
+
_e.label = 1;
|
|
178
|
+
case 1:
|
|
179
|
+
if (!(count <= maxCalls)) return [3, 7];
|
|
180
|
+
if (thunkApi.signal.aborted) {
|
|
181
|
+
return [3, 7];
|
|
182
|
+
}
|
|
183
|
+
return [4, API.authService.getVerifyAuth(createAuthData === null || createAuthData === void 0 ? void 0 : createAuthData.auth_token)];
|
|
184
|
+
case 2:
|
|
185
|
+
data = _e.sent();
|
|
186
|
+
isSuccess = ((_a = data === null || data === void 0 ? void 0 : data.status) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'success';
|
|
187
|
+
isFailed = ((_b = data === null || data === void 0 ? void 0 : data.status) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'failed';
|
|
188
|
+
if (isFailed) {
|
|
189
|
+
(_c = params.onFailure) === null || _c === void 0 ? void 0 : _c.call(params);
|
|
190
|
+
return [2, { data: data, createAuthData: createAuthData }];
|
|
191
|
+
}
|
|
192
|
+
if (!isSuccess) return [3, 4];
|
|
193
|
+
(_d = params.onSuccess) === null || _d === void 0 ? void 0 : _d.call(params);
|
|
194
|
+
return [4, thunkApi.dispatch(updateKYCSuccess())];
|
|
195
|
+
case 3:
|
|
196
|
+
_e.sent();
|
|
197
|
+
nextScreen = CONNECT_FLOWS.kyc.success;
|
|
198
|
+
return [2, { data: data, nextScreen: nextScreen, createAuthData: createAuthData }];
|
|
199
|
+
case 4: return [4, sleep(interval * 1000)];
|
|
200
|
+
case 5:
|
|
201
|
+
_e.sent();
|
|
202
|
+
_e.label = 6;
|
|
203
|
+
case 6:
|
|
204
|
+
count++;
|
|
205
|
+
return [3, 1];
|
|
206
|
+
case 7: throw new Error('nafath_verification_failed');
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
}); });
|
|
210
|
+
export var verifyPaci = createAsyncThunk('kyc/verifyPaci', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
211
|
+
var kyc, createAuthData, expiry, interval, maxCalls, count, data, isSuccess, nextScreen;
|
|
212
|
+
var _a, _b;
|
|
213
|
+
return __generator(this, function (_c) {
|
|
214
|
+
switch (_c.label) {
|
|
215
|
+
case 0:
|
|
216
|
+
kyc = thunkApi.getState().kyc;
|
|
217
|
+
createAuthData = (kyc.data.responseData || {}).createAuthData;
|
|
218
|
+
expiry = (createAuthData === null || createAuthData === void 0 ? void 0 : createAuthData.expiry) || 120;
|
|
219
|
+
interval = 3;
|
|
220
|
+
maxCalls = Math.floor(expiry / interval);
|
|
221
|
+
count = 1;
|
|
222
|
+
_c.label = 1;
|
|
223
|
+
case 1:
|
|
224
|
+
if (!(count <= maxCalls)) return [3, 7];
|
|
225
|
+
if (thunkApi.signal.aborted) {
|
|
226
|
+
return [3, 7];
|
|
227
|
+
}
|
|
228
|
+
return [4, API.authService.getVerifyAuth(createAuthData === null || createAuthData === void 0 ? void 0 : createAuthData.auth_token)];
|
|
229
|
+
case 2:
|
|
230
|
+
data = _c.sent();
|
|
231
|
+
isSuccess = ((_a = data.status) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'success';
|
|
232
|
+
if (!isSuccess) return [3, 4];
|
|
233
|
+
(_b = params.onSuccess) === null || _b === void 0 ? void 0 : _b.call(params);
|
|
234
|
+
return [4, thunkApi.dispatch(updateKYCSuccess())];
|
|
235
|
+
case 3:
|
|
236
|
+
_c.sent();
|
|
237
|
+
nextScreen = CONNECT_FLOWS.kyc.success;
|
|
238
|
+
return [2, { data: data, nextScreen: nextScreen, createAuthData: createAuthData }];
|
|
239
|
+
case 4: return [4, sleep(interval * 1000)];
|
|
240
|
+
case 5:
|
|
241
|
+
_c.sent();
|
|
242
|
+
_c.label = 6;
|
|
243
|
+
case 6:
|
|
244
|
+
count++;
|
|
245
|
+
return [3, 1];
|
|
246
|
+
case 7: throw new Error('paci_verification_failed');
|
|
247
|
+
}
|
|
248
|
+
});
|
|
249
|
+
}); });
|
|
250
|
+
export var updateKYCSuccess = createAsyncThunk('kyc/updateKYCSuccess', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
251
|
+
var _a, settings, kyc, _b, boardId, infoId, payload, data;
|
|
252
|
+
var _c, _d, _e, _f, _g;
|
|
253
|
+
return __generator(this, function (_h) {
|
|
254
|
+
switch (_h.label) {
|
|
255
|
+
case 0:
|
|
256
|
+
_a = thunkApi.getState(), settings = _a.settings, kyc = _a.kyc;
|
|
257
|
+
_b = ((_c = kyc.data.responseData) === null || _c === void 0 ? void 0 : _c.verifyTokenData) || {}, boardId = _b.boardId, infoId = _b.board_info_id;
|
|
258
|
+
if (!boardId)
|
|
259
|
+
return [2];
|
|
260
|
+
payload = {
|
|
261
|
+
lang: settings.data.language,
|
|
262
|
+
step_name: KYC_STEP_NAMES.KYC_COMPLETED,
|
|
263
|
+
id: boardId
|
|
264
|
+
};
|
|
265
|
+
return [4, API.boardService.updateBoardInfo(__assign({ id: boardId, infoId: infoId }, payload))];
|
|
266
|
+
case 1:
|
|
267
|
+
data = _h.sent();
|
|
268
|
+
sendCustomEventToGTM({
|
|
269
|
+
event: 'Send Event',
|
|
270
|
+
event_category: 'Board Flows - KYC',
|
|
271
|
+
event_action: 'KYC Update Success Page',
|
|
272
|
+
event_label: settings.data.businessCountry.iso2
|
|
273
|
+
});
|
|
274
|
+
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, {});
|
|
275
|
+
(_g = (_f = settings.data.appConfig).onFlowCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, { data: data });
|
|
276
|
+
return [2, { data: data }];
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
}); });
|
|
280
|
+
var initialState = {
|
|
281
|
+
error: null,
|
|
282
|
+
loading: false,
|
|
283
|
+
customLoading: false,
|
|
284
|
+
data: {
|
|
285
|
+
flowName: FlowsTypes.CONNECT,
|
|
286
|
+
verify: {
|
|
287
|
+
token: ''
|
|
288
|
+
},
|
|
289
|
+
otpData: {
|
|
290
|
+
otp: ''
|
|
291
|
+
},
|
|
292
|
+
idInfo: {
|
|
293
|
+
nid: '',
|
|
294
|
+
dob: ''
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
export var kycSlice = createSlice({
|
|
299
|
+
name: 'kyc/store',
|
|
300
|
+
initialState: initialState,
|
|
301
|
+
reducers: {
|
|
302
|
+
clearError: function (state) {
|
|
303
|
+
state.error = null;
|
|
304
|
+
},
|
|
305
|
+
setError: function (state, action) {
|
|
306
|
+
state.error = action.payload;
|
|
307
|
+
},
|
|
308
|
+
stopLoader: function (state) {
|
|
309
|
+
state.loading = false;
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
extraReducers: function (builder) {
|
|
313
|
+
builder
|
|
314
|
+
.addCase(verifyTokenApi.pending, function (state) {
|
|
315
|
+
state.error = null;
|
|
316
|
+
state.customLoading = true;
|
|
317
|
+
})
|
|
318
|
+
.addCase(verifyTokenApi.fulfilled, function (state, action) {
|
|
319
|
+
state.error = null;
|
|
320
|
+
state.customLoading = false;
|
|
321
|
+
var _a = action.payload || {}, data = _a.data, token = _a.token, userList = _a.userList;
|
|
322
|
+
state.data.responseData = {
|
|
323
|
+
verifyTokenData: data,
|
|
324
|
+
userList: userList
|
|
325
|
+
};
|
|
326
|
+
state.data.verify.token = token;
|
|
327
|
+
})
|
|
328
|
+
.addCase(verifyTokenApi.rejected, function (state, action) {
|
|
329
|
+
state.error = action.error.message;
|
|
330
|
+
state.customLoading = false;
|
|
331
|
+
})
|
|
332
|
+
.addCase(createNafathAuth.pending, function (state) {
|
|
333
|
+
state.loading = true;
|
|
334
|
+
state.error = null;
|
|
335
|
+
})
|
|
336
|
+
.addCase(createNafathAuth.fulfilled, function (state, action) {
|
|
337
|
+
state.loading = false;
|
|
338
|
+
state.error = null;
|
|
339
|
+
var data = action.payload.data;
|
|
340
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { createAuthData: data });
|
|
341
|
+
})
|
|
342
|
+
.addCase(createNafathAuth.rejected, function (state, action) {
|
|
343
|
+
state.loading = false;
|
|
344
|
+
state.error = action.error.message;
|
|
345
|
+
})
|
|
346
|
+
.addCase(verifyNafath.pending, function (state) {
|
|
347
|
+
state.loading = true;
|
|
348
|
+
state.error = null;
|
|
349
|
+
})
|
|
350
|
+
.addCase(verifyNafath.fulfilled, function (state, action) {
|
|
351
|
+
state.loading = false;
|
|
352
|
+
var data = action.payload.data;
|
|
353
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { verifyAuthData: data });
|
|
354
|
+
})
|
|
355
|
+
.addCase(verifyNafath.rejected, function (state, action) {
|
|
356
|
+
state.loading = false;
|
|
357
|
+
var error = action.error.message;
|
|
358
|
+
if (error !== 'Aborted') {
|
|
359
|
+
state.error = error;
|
|
360
|
+
}
|
|
361
|
+
})
|
|
362
|
+
.addCase(createPaciAuth.pending, function (state) {
|
|
363
|
+
state.loading = true;
|
|
364
|
+
state.error = null;
|
|
365
|
+
})
|
|
366
|
+
.addCase(createPaciAuth.fulfilled, function (state, action) {
|
|
367
|
+
state.loading = false;
|
|
368
|
+
state.error = null;
|
|
369
|
+
var data = action.payload.data;
|
|
370
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { createAuthData: data });
|
|
371
|
+
})
|
|
372
|
+
.addCase(createPaciAuth.rejected, function (state, action) {
|
|
373
|
+
state.loading = false;
|
|
374
|
+
state.error = action.error.message;
|
|
375
|
+
})
|
|
376
|
+
.addCase(verifyPaci.pending, function (state) {
|
|
377
|
+
state.loading = true;
|
|
378
|
+
state.error = null;
|
|
379
|
+
})
|
|
380
|
+
.addCase(verifyPaci.fulfilled, function (state, action) {
|
|
381
|
+
state.loading = false;
|
|
382
|
+
var data = action.payload.data;
|
|
383
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { verifyAuthData: data });
|
|
384
|
+
})
|
|
385
|
+
.addCase(verifyPaci.rejected, function (state, action) {
|
|
386
|
+
state.loading = false;
|
|
387
|
+
var error = action.error.message;
|
|
388
|
+
if (error !== 'Aborted') {
|
|
389
|
+
state.error = error;
|
|
390
|
+
}
|
|
391
|
+
})
|
|
392
|
+
.addCase(updateKYCSuccess.fulfilled, function (state, action) {
|
|
393
|
+
state.loading = false;
|
|
394
|
+
state.error = null;
|
|
395
|
+
var data = (action.payload || {}).data;
|
|
396
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { boardSuccess: data });
|
|
397
|
+
})
|
|
398
|
+
.addCase(updateKYCSuccess.pending, function (state) {
|
|
399
|
+
state.loading = true;
|
|
400
|
+
state.error = null;
|
|
401
|
+
})
|
|
402
|
+
.addCase(updateKYCSuccess.rejected, function (state, action) {
|
|
403
|
+
state.loading = false;
|
|
404
|
+
state.error = action.error.message;
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
export var clearError = (_a = kycSlice.actions, _a.clearError), setError = _a.setError, stopLoader = _a.stopLoader;
|
|
409
|
+
export default kycSlice.reducer;
|
|
410
|
+
export var kycSelector = function (state) { return state.kyc; };
|