@tap-payments/auth-jsconnect 2.10.15-beta → 2.11.0-beta
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 +28 -25
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +16 -15
- 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/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +13 -13
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +3 -3
- package/build/app/settings.d.ts +3 -21
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +4 -4
- package/build/assets/currencies/SARSymbol.d.ts +2 -2
- package/build/assets/currencies/utils.d.ts +1 -1
- package/build/assets/locales/ar.json +5 -1
- package/build/assets/locales/en.json +31 -1
- 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 +2 -1
- package/build/components/AnimationFlow/Loader.d.ts +2 -1
- 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 +2 -1
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -1
- package/build/components/FileInput/DragAndDrop.d.ts +2 -1
- package/build/components/FileInput/UploadInput.d.ts +2 -1
- 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 +2 -1
- 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/TextWithCurrency/TextWithCurrency.d.ts +3 -2
- 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 +2 -1
- package/build/constants/app.js +11 -4
- package/build/features/app/auth/authStore.d.ts +43 -204
- package/build/features/app/auth/authStore.js +137 -72
- package/build/features/app/bank/bankStore.d.ts +12 -93
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/board/boardStore.d.ts +5 -41
- package/build/features/app/board/boardStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +17 -143
- package/build/features/app/brand/brandStore.js +1 -1
- package/build/features/app/business/businessStore.d.ts +21 -192
- package/build/features/app/business/businessStore.js +1 -1
- package/build/features/app/connect/connectStore.d.ts +19 -181
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +33 -312
- package/build/features/app/connectExpress/connectExpressStore.js +1 -1
- package/build/features/app/entity/entityStore.d.ts +12 -93
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +24 -186
- package/build/features/app/individual/individualStore.js +1 -1
- package/build/features/app/kyc/kycStore.d.ts +8 -62
- package/build/features/app/kyc/kycStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +15 -123
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +7 -61
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +11 -83
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/auth/Auth.d.ts +2 -1
- 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 +2 -1
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- 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 +2 -1
- 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/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +14 -3
- package/build/features/auth/screens/OTP/OTP.js +15 -3
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OTP/index.d.ts +1 -2
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/auth/screens/Passcode/Passcode.d.ts +16 -0
- package/build/features/auth/screens/Passcode/Passcode.js +82 -0
- package/build/features/auth/screens/Passcode/PasscodeInput.d.ts +6 -0
- package/build/features/auth/screens/Passcode/PasscodeInput.js +42 -0
- package/build/features/auth/screens/Passcode/index.d.ts +2 -0
- package/build/features/auth/screens/Passcode/index.js +2 -0
- package/build/features/auth/screens/Passcode/validation.d.ts +8 -0
- package/build/features/auth/screens/Passcode/validation.js +4 -0
- 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 +2 -1
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +58 -15
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +31 -10
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +8 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -2
- 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 +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +2 -1
- 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 +2 -1
- package/build/features/business/screens/Activities/Activities.d.ts +2 -1
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +13 -5
- 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 +13 -5
- package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
- 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 +2 -1
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +2 -1
- 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 +28 -6
- 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 +70 -19
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +31 -10
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +3 -2
- 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/MobileOwnership/CollectMobileOwnership.d.ts +2 -1
- package/build/features/business/screens/MobileOwnership/MobileNumber.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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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/Name.d.ts +1 -1
- 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 +2 -1
- 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/Title.d.ts +1 -1
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +2 -1
- package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- 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 +2 -1
- 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 +2 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- 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 +28 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -3
- 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/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/DOB/DOB.d.ts +2 -1
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +2 -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/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +2 -1
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +8 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
- 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/VerifyMobileAuthOTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.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 +2 -1
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
- 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 +2 -1
- package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
- package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +58 -15
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -1
- 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.js +5 -0
- package/build/features/individual/Individual.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +27 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -5
- 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 +2 -1
- 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 +25 -9
- package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
- 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 +28 -6
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- 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 +2 -1
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +1 -1
- package/build/features/kyc/screens/Loading/Loading.d.ts +2 -2
- package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/kyc/screens/Success/Success.d.ts +1 -1
- package/build/features/kyc/screens/Terms/Header.d.ts +1 -1
- package/build/features/kyc/screens/Terms/Terms.d.ts +2 -2
- package/build/features/kyc/screens/TokenError/TokenError.d.ts +1 -1
- package/build/features/kyc/screens/Users/Users.d.ts +1 -1
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +1 -1
- package/build/features/password/Password.d.ts +2 -1
- package/build/features/password/Password.js +1 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/build/features/shared/Address/Address.d.ts +2 -1
- package/build/features/shared/Address/CountryList.d.ts +46 -14
- package/build/features/shared/Address/InputSelect.d.ts +46 -14
- 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 +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.d.ts +2 -1
- package/build/features/shared/Button/Button.js +1 -2
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
- 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 +2 -1
- package/build/features/shared/Button/NafathButton.d.ts +2 -1
- package/build/features/shared/Button/SuccessButton.d.ts +2 -1
- package/build/features/shared/Calender/Calender.d.ts +2 -1
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +3 -2
- package/build/features/shared/Chip/Chip.d.ts +2 -1
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +2 -1
- 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 +2 -1
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
- package/build/features/shared/Footer/Footer.d.ts +2 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +14 -6
- package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
- package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
- 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 +2 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +2 -1
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +9 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
- package/build/features/signIn/SignIn.d.ts +2 -1
- 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/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 +2 -1
- 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 +3 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -2
- 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/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/useSetFromDefaultValues.d.ts +1 -1
- package/build/utils/array.js +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
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
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -45,6 +45,17 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
45
45
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
49
|
+
var t = {};
|
|
50
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
51
|
+
t[p] = s[p];
|
|
52
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
53
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
54
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
55
|
+
t[p[i]] = s[p[i]];
|
|
56
|
+
}
|
|
57
|
+
return t;
|
|
58
|
+
};
|
|
48
59
|
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
49
60
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
50
61
|
if (ar || !(i in from)) {
|
|
@@ -113,40 +124,35 @@ export var retrieveLeadIdentityByIdAsync = createAsyncThunk('auth/retrieveLeadId
|
|
|
113
124
|
}
|
|
114
125
|
});
|
|
115
126
|
}); });
|
|
116
|
-
export var createMobileAuth = createAsyncThunk('auth/createMobileAuth', function (
|
|
117
|
-
var
|
|
118
|
-
var
|
|
119
|
-
return __generator(this, function (
|
|
120
|
-
switch (
|
|
127
|
+
export var createMobileAuth = createAsyncThunk('auth/createMobileAuth', function (_a, thunkApi) { var _b, _c, _d; return __awaiter(void 0, void 0, void 0, function () {
|
|
128
|
+
var _e, settings, auth, isStartWithZero, mobileNumber, requestBody, data, stepName;
|
|
129
|
+
var skipPasscode = _a.skipPasscode, params = __rest(_a, ["skipPasscode"]);
|
|
130
|
+
return __generator(this, function (_f) {
|
|
131
|
+
switch (_f.label) {
|
|
121
132
|
case 0:
|
|
122
|
-
|
|
133
|
+
_e = thunkApi.getState(), settings = _e.settings, auth = _e.auth;
|
|
123
134
|
isStartWithZero = (_b = params.mobile) === null || _b === void 0 ? void 0 : _b.startsWith('0');
|
|
124
135
|
mobileNumber = isStartWithZero ? params.mobile.slice(1) : params.mobile;
|
|
125
|
-
requestBody = {
|
|
126
|
-
country: settings.data.businessCountry.iso2,
|
|
127
|
-
scope: settings.data.appConfig.scope,
|
|
128
|
-
lang: settings.data.language,
|
|
129
|
-
lead_id: auth.data.leadId,
|
|
130
|
-
user_credentail: {
|
|
136
|
+
requestBody = __assign({ country: settings.data.businessCountry.iso2, scope: settings.data.appConfig.scope, lang: settings.data.language, lead_id: auth.data.leadId, user_credentail: {
|
|
131
137
|
phone: mobileNumber || '',
|
|
132
138
|
code: params.countryCode.idd_prefix.toString()
|
|
133
|
-
},
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
};
|
|
139
|
+
}, sign_in: false, login: true, is_lead: true, step_name: AUTH_STEP_NAMES.CREATE_AUTH_MOBILE, encryption_contract: ['user_credentail.phone', 'user_credentail.code'] }, (skipPasscode && {
|
|
140
|
+
auth_info: {
|
|
141
|
+
skip_auth_method: true
|
|
142
|
+
}
|
|
143
|
+
}));
|
|
139
144
|
return [4, API.authService.createAuth(requestBody)];
|
|
140
145
|
case 1:
|
|
141
|
-
data =
|
|
142
|
-
|
|
146
|
+
data = _f.sent();
|
|
147
|
+
stepName = (data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.PASSCODE ? 'AUTH_PASSCODE_STEP' : 'AUTH_OTP_STEP';
|
|
148
|
+
thunkApi.dispatch(handleNextScreenStep(stepName));
|
|
143
149
|
(_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, requestBody.user_credentail);
|
|
144
|
-
return [2, { response: data, formData: params }];
|
|
150
|
+
return [2, { response: data, formData: params, skipPasscode: skipPasscode }];
|
|
145
151
|
}
|
|
146
152
|
});
|
|
147
153
|
}); });
|
|
148
154
|
export var resendMobileAuthOTP = createAsyncThunk('auth/resendMobileAuthOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
149
|
-
var _a, settings, auth, isStartWithZero, mobileNumber, requestBody, data;
|
|
155
|
+
var _a, settings, auth, isStartWithZero, mobileNumber, skipPasscode, requestBody, data;
|
|
150
156
|
var _b;
|
|
151
157
|
return __generator(this, function (_c) {
|
|
152
158
|
switch (_c.label) {
|
|
@@ -154,20 +160,15 @@ export var resendMobileAuthOTP = createAsyncThunk('auth/resendMobileAuthOTP', fu
|
|
|
154
160
|
_a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
|
|
155
161
|
isStartWithZero = (_b = params.mobile) === null || _b === void 0 ? void 0 : _b.startsWith('0');
|
|
156
162
|
mobileNumber = isStartWithZero ? params.mobile.slice(1) : params.mobile;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
scope: settings.data.appConfig.scope,
|
|
160
|
-
lang: settings.data.language,
|
|
161
|
-
lead_id: auth.data.leadId,
|
|
162
|
-
user_credentail: {
|
|
163
|
+
skipPasscode = auth.data.passcodeData.skipPasscode;
|
|
164
|
+
requestBody = __assign({ country: settings.data.businessCountry.iso2, scope: settings.data.appConfig.scope, lang: settings.data.language, lead_id: auth.data.leadId, user_credentail: {
|
|
163
165
|
phone: mobileNumber,
|
|
164
166
|
code: params.countryCode.idd_prefix.toString()
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
};
|
|
167
|
+
}, sign_in: false, login: true, is_lead: true, step_name: AUTH_STEP_NAMES.CREATE_AUTH_MOBILE, encryption_contract: ['user_credentail.phone', 'user_credentail.code'] }, (skipPasscode && {
|
|
168
|
+
auth_info: {
|
|
169
|
+
skip_auth_method: true
|
|
170
|
+
}
|
|
171
|
+
}));
|
|
171
172
|
return [4, API.authService.createAuth(requestBody)];
|
|
172
173
|
case 1:
|
|
173
174
|
data = _c.sent();
|
|
@@ -218,37 +219,79 @@ export var verifyMobileOtp = createAsyncThunk('auth/verifyMobileOtp', function (
|
|
|
218
219
|
}
|
|
219
220
|
});
|
|
220
221
|
}); });
|
|
221
|
-
export var
|
|
222
|
-
var _a, settings, auth,
|
|
223
|
-
var
|
|
224
|
-
return __generator(this, function (
|
|
225
|
-
switch (
|
|
222
|
+
export var verifyPasscode = createAsyncThunk('auth/verifyPasscode', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
223
|
+
var _a, settings, auth, _b, responseData, leadId, _c, auth_token, device_token, service_name, auth_type, sign_in, scope, payload, data, stepName_1;
|
|
224
|
+
var _d, _e, _f, _g, _h, _j;
|
|
225
|
+
return __generator(this, function (_k) {
|
|
226
|
+
switch (_k.label) {
|
|
226
227
|
case 0:
|
|
227
228
|
_a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
229
|
+
_b = auth.data || {}, responseData = _b.responseData, leadId = _b.leadId;
|
|
230
|
+
_c = (_d = responseData === null || responseData === void 0 ? void 0 : responseData.authResponse) !== null && _d !== void 0 ? _d : {}, auth_token = _c.auth_token, device_token = _c.device_token, service_name = _c.service_name, auth_type = _c.auth_type, sign_in = _c.sign_in;
|
|
231
|
+
if (!auth_token)
|
|
232
|
+
throw new Error('Auth token is missing');
|
|
233
|
+
scope = settings.data.appConfig.scope;
|
|
234
|
+
payload = {
|
|
235
|
+
auth_token: auth_token,
|
|
236
|
+
lead_id: leadId,
|
|
237
|
+
data: params.passcode,
|
|
238
|
+
auth_type: auth_type,
|
|
239
|
+
device_token: device_token,
|
|
240
|
+
service_name: service_name,
|
|
241
|
+
sign_in: sign_in,
|
|
242
|
+
step_name: AUTH_STEP_NAMES.CREATE_AUTH_PASSCODE,
|
|
243
|
+
encryption_contract: ['data']
|
|
240
244
|
};
|
|
245
|
+
return [4, API.authService.verifyAuth(payload)];
|
|
246
|
+
case 1:
|
|
247
|
+
data = (_k.sent()).data;
|
|
248
|
+
if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
|
|
249
|
+
throw new Error(data.errors[0].description);
|
|
250
|
+
if (((_f = data === null || data === void 0 ? void 0 : data.status) === null || _f === void 0 ? void 0 : _f.toLowerCase()) === 'success' && (data === null || data === void 0 ? void 0 : data.auth_session)) {
|
|
251
|
+
if (scope === 'merchant') {
|
|
252
|
+
openConnect(settings.data.appConfig.publicKey, settings.data.businessCountry.iso2);
|
|
253
|
+
return [2, data];
|
|
254
|
+
}
|
|
255
|
+
stepName_1 = 'AUTH_PREPARING_DATA_STEP';
|
|
256
|
+
if ((data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.MIGRATION)
|
|
257
|
+
stepName_1 = 'AUTH_MIGRATING_DATA_STEP';
|
|
258
|
+
(_h = (_g = settings.data.appConfig).onStepCompleted) === null || _h === void 0 ? void 0 : _h.call(_g, settings.data.activeScreen.name, params);
|
|
259
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep(stepName_1)); });
|
|
260
|
+
}
|
|
261
|
+
else if (((_j = data === null || data === void 0 ? void 0 : data.status) === null || _j === void 0 ? void 0 : _j.toLowerCase()) === 'pending') {
|
|
262
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_OTP_STEP')); });
|
|
263
|
+
}
|
|
264
|
+
return [2, data];
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
}); });
|
|
268
|
+
export var createEmailAuth = createAsyncThunk('auth/createEmailAuth', function (_a, thunkApi) { var _b, _c; return __awaiter(void 0, void 0, void 0, function () {
|
|
269
|
+
var _d, settings, auth, requestBody, data, stepName;
|
|
270
|
+
var skipPasscode = _a.skipPasscode, params = __rest(_a, ["skipPasscode"]);
|
|
271
|
+
return __generator(this, function (_e) {
|
|
272
|
+
switch (_e.label) {
|
|
273
|
+
case 0:
|
|
274
|
+
_d = thunkApi.getState(), settings = _d.settings, auth = _d.auth;
|
|
275
|
+
requestBody = __assign({ country: settings.data.businessCountry.iso2, scope: settings.data.appConfig.scope, lang: settings.data.language, lead_id: auth.data.leadId, user_credentail: {
|
|
276
|
+
email: params.email || ''
|
|
277
|
+
}, sign_in: true, login: true, is_lead: false, step_name: AUTH_STEP_NAMES.CREATE_AUTH_EMAIL, encryption_contract: ['user_credentail.email'] }, (skipPasscode && {
|
|
278
|
+
auth_info: {
|
|
279
|
+
skip_auth_method: true
|
|
280
|
+
}
|
|
281
|
+
}));
|
|
241
282
|
return [4, API.authService.createAuth(requestBody)];
|
|
242
283
|
case 1:
|
|
243
|
-
data =
|
|
244
|
-
|
|
284
|
+
data = _e.sent();
|
|
285
|
+
stepName = 'AUTH_PASSWORD_STEP';
|
|
245
286
|
if ((data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.RESET_PASSWORD)
|
|
246
|
-
|
|
247
|
-
if ((data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.EMAIL_OTP)
|
|
248
|
-
|
|
249
|
-
|
|
287
|
+
stepName = 'AUTH_RESET_PASSWORD_MESSAGE_STEP';
|
|
288
|
+
else if ((data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.EMAIL_OTP)
|
|
289
|
+
stepName = 'AUTH_OTP_STEP';
|
|
290
|
+
else if ((data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.PASSCODE)
|
|
291
|
+
stepName = 'AUTH_PASSCODE_STEP';
|
|
292
|
+
thunkApi.dispatch(handleNextScreenStep(stepName));
|
|
250
293
|
(_c = (_b = settings.data.appConfig).onStepCompleted) === null || _c === void 0 ? void 0 : _c.call(_b, settings.data.activeScreen.name, requestBody.user_credentail);
|
|
251
|
-
return [2, { response: data, formData: params }];
|
|
294
|
+
return [2, { response: data, formData: params, skipPasscode: skipPasscode }];
|
|
252
295
|
}
|
|
253
296
|
});
|
|
254
297
|
}); });
|
|
@@ -296,24 +339,19 @@ export var verifyEmailPassword = createAsyncThunk('auth/verifyEmailPassword', fu
|
|
|
296
339
|
});
|
|
297
340
|
}); });
|
|
298
341
|
export var resendEmailAuthOTP = createAsyncThunk('auth/resendEmailAuthOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
299
|
-
var _a, settings, auth, requestBody, data;
|
|
342
|
+
var _a, settings, auth, skipPasscode, requestBody, data;
|
|
300
343
|
return __generator(this, function (_b) {
|
|
301
344
|
switch (_b.label) {
|
|
302
345
|
case 0:
|
|
303
346
|
_a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
scope: settings.data.appConfig.scope,
|
|
307
|
-
lang: settings.data.language,
|
|
308
|
-
lead_id: auth.data.leadId,
|
|
309
|
-
user_credentail: {
|
|
347
|
+
skipPasscode = auth.data.passcodeData.skipPasscode;
|
|
348
|
+
requestBody = __assign({ country: settings.data.businessCountry.iso2, scope: settings.data.appConfig.scope, lang: settings.data.language, lead_id: auth.data.leadId, user_credentail: {
|
|
310
349
|
email: params.email || ''
|
|
311
|
-
},
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
};
|
|
350
|
+
}, sign_in: true, login: true, is_lead: false, step_name: AUTH_STEP_NAMES.CREATE_AUTH_EMAIL, encryption_contract: ['user_credentail.email'] }, (skipPasscode && {
|
|
351
|
+
auth_info: {
|
|
352
|
+
skip_auth_method: true
|
|
353
|
+
}
|
|
354
|
+
}));
|
|
317
355
|
return [4, API.authService.createAuth(requestBody)];
|
|
318
356
|
case 1:
|
|
319
357
|
data = _b.sent();
|
|
@@ -861,6 +899,9 @@ var initialState = {
|
|
|
861
899
|
otp: '',
|
|
862
900
|
authFor: AuthForType.MOBILE
|
|
863
901
|
},
|
|
902
|
+
passcodeData: {
|
|
903
|
+
passcode: ''
|
|
904
|
+
},
|
|
864
905
|
passwordData: {
|
|
865
906
|
password: ''
|
|
866
907
|
},
|
|
@@ -955,6 +996,8 @@ export var authSlice = createSlice({
|
|
|
955
996
|
state.loading = false;
|
|
956
997
|
state.data.mobileData = action.payload.formData;
|
|
957
998
|
state.data.otpData.authFor = AuthForType.MOBILE;
|
|
999
|
+
state.data.passcodeData.skipPasscode = action.payload.skipPasscode;
|
|
1000
|
+
state.data.passcodeData.allowOTPToPasscodeRedirection = action.payload.skipPasscode;
|
|
958
1001
|
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: action.payload.response });
|
|
959
1002
|
})
|
|
960
1003
|
.addCase(createMobileAuth.rejected, function (state, action) {
|
|
@@ -981,10 +1024,28 @@ export var authSlice = createSlice({
|
|
|
981
1024
|
state.loading = false;
|
|
982
1025
|
var data = action.payload;
|
|
983
1026
|
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: __assign(__assign({}, (_a = state.data.responseData) === null || _a === void 0 ? void 0 : _a.authResponse), data) });
|
|
1027
|
+
state.data.passcodeData.skipPasscode = false;
|
|
1028
|
+
state.data.passcodeData.allowOTPToPasscodeRedirection = false;
|
|
984
1029
|
})
|
|
985
1030
|
.addCase(verifyMobileOtp.rejected, function (state, action) {
|
|
986
1031
|
state.loading = false;
|
|
987
1032
|
state.error = action.error.message;
|
|
1033
|
+
})
|
|
1034
|
+
.addCase(verifyPasscode.pending, function (state) {
|
|
1035
|
+
state.loading = true;
|
|
1036
|
+
state.error = null;
|
|
1037
|
+
})
|
|
1038
|
+
.addCase(verifyPasscode.fulfilled, function (state, action) {
|
|
1039
|
+
var _a, _b;
|
|
1040
|
+
state.loading = false;
|
|
1041
|
+
var data = action.payload;
|
|
1042
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: __assign(__assign({}, (_a = state.data.responseData) === null || _a === void 0 ? void 0 : _a.authResponse), data) });
|
|
1043
|
+
state.data.passcodeData.skipPasscode = ((_b = data === null || data === void 0 ? void 0 : data.status) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'pending';
|
|
1044
|
+
state.data.passcodeData.allowOTPToPasscodeRedirection = false;
|
|
1045
|
+
})
|
|
1046
|
+
.addCase(verifyPasscode.rejected, function (state, action) {
|
|
1047
|
+
state.loading = false;
|
|
1048
|
+
state.error = action.error.message;
|
|
988
1049
|
})
|
|
989
1050
|
.addCase(createEmailAuth.pending, function (state) {
|
|
990
1051
|
state.loading = true;
|
|
@@ -994,6 +1055,8 @@ export var authSlice = createSlice({
|
|
|
994
1055
|
state.loading = false;
|
|
995
1056
|
state.data.emailData = action.payload.formData;
|
|
996
1057
|
state.data.otpData.authFor = AuthForType.EMAIL;
|
|
1058
|
+
state.data.passcodeData.skipPasscode = action.payload.skipPasscode;
|
|
1059
|
+
state.data.passcodeData.allowOTPToPasscodeRedirection = action.payload.skipPasscode;
|
|
997
1060
|
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: action.payload.response });
|
|
998
1061
|
})
|
|
999
1062
|
.addCase(createEmailAuth.rejected, function (state, action) {
|
|
@@ -1034,6 +1097,8 @@ export var authSlice = createSlice({
|
|
|
1034
1097
|
state.loading = false;
|
|
1035
1098
|
var data = action.payload;
|
|
1036
1099
|
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: __assign(__assign({}, (_a = state.data.responseData) === null || _a === void 0 ? void 0 : _a.authResponse), data) });
|
|
1100
|
+
state.data.passcodeData.skipPasscode = false;
|
|
1101
|
+
state.data.passcodeData.allowOTPToPasscodeRedirection = false;
|
|
1037
1102
|
})
|
|
1038
1103
|
.addCase(verifyEmailOtp.rejected, function (state, action) {
|
|
1039
1104
|
state.loading = false;
|
|
@@ -9,125 +9,44 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
9
9
|
data: any;
|
|
10
10
|
bankData: any;
|
|
11
11
|
token: string;
|
|
12
|
-
}, VerifyLeadTokenProps, {
|
|
13
|
-
state?: unknown;
|
|
14
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
15
|
-
extra?: unknown;
|
|
16
|
-
rejectValue?: unknown;
|
|
17
|
-
serializedErrorType?: unknown;
|
|
18
|
-
pendingMeta?: unknown;
|
|
19
|
-
fulfilledMeta?: unknown;
|
|
20
|
-
rejectedMeta?: unknown;
|
|
21
|
-
}>;
|
|
12
|
+
}, VerifyLeadTokenProps, {}>;
|
|
22
13
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
23
14
|
data: any;
|
|
24
|
-
}, void, {
|
|
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
|
-
}>;
|
|
15
|
+
}, void, {}>;
|
|
34
16
|
export declare const verifyBankLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
35
17
|
data: any;
|
|
36
18
|
bankData: any;
|
|
37
19
|
formData: OTPFormValues;
|
|
38
|
-
}, OTPFormValues, {
|
|
39
|
-
state?: unknown;
|
|
40
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
41
|
-
extra?: unknown;
|
|
42
|
-
rejectValue?: unknown;
|
|
43
|
-
serializedErrorType?: unknown;
|
|
44
|
-
pendingMeta?: unknown;
|
|
45
|
-
fulfilledMeta?: unknown;
|
|
46
|
-
rejectedMeta?: unknown;
|
|
47
|
-
}>;
|
|
20
|
+
}, OTPFormValues, {}>;
|
|
48
21
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
49
22
|
flows: any;
|
|
50
|
-
}, void, {
|
|
51
|
-
|
|
52
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
53
|
-
extra?: unknown;
|
|
54
|
-
rejectValue?: unknown;
|
|
55
|
-
serializedErrorType?: unknown;
|
|
56
|
-
pendingMeta?: unknown;
|
|
57
|
-
fulfilledMeta?: unknown;
|
|
58
|
-
rejectedMeta?: unknown;
|
|
59
|
-
}>;
|
|
60
|
-
type RetrieveBoardProps = {
|
|
23
|
+
}, void, {}>;
|
|
24
|
+
declare type RetrieveBoardProps = {
|
|
61
25
|
boardId: string;
|
|
62
26
|
individualId: string;
|
|
63
27
|
individualType: string;
|
|
64
28
|
};
|
|
65
|
-
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
|
|
66
|
-
state?: unknown;
|
|
67
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
68
|
-
extra?: unknown;
|
|
69
|
-
rejectValue?: unknown;
|
|
70
|
-
serializedErrorType?: unknown;
|
|
71
|
-
pendingMeta?: unknown;
|
|
72
|
-
fulfilledMeta?: unknown;
|
|
73
|
-
rejectedMeta?: unknown;
|
|
74
|
-
}>;
|
|
29
|
+
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {}>;
|
|
75
30
|
export declare const createBankAccount: import("@reduxjs/toolkit").AsyncThunk<{
|
|
76
31
|
data: any;
|
|
77
32
|
formData: BankFormValues;
|
|
78
|
-
}, AsyncThunkParams<BankFormValues>, {
|
|
79
|
-
state?: unknown;
|
|
80
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
81
|
-
extra?: unknown;
|
|
82
|
-
rejectValue?: unknown;
|
|
83
|
-
serializedErrorType?: unknown;
|
|
84
|
-
pendingMeta?: unknown;
|
|
85
|
-
fulfilledMeta?: unknown;
|
|
86
|
-
rejectedMeta?: unknown;
|
|
87
|
-
}>;
|
|
33
|
+
}, AsyncThunkParams<BankFormValues>, {}>;
|
|
88
34
|
export declare const checkIbanBank: import("@reduxjs/toolkit").AsyncThunk<{
|
|
89
35
|
data: any;
|
|
90
36
|
}, {
|
|
91
37
|
iban: string;
|
|
92
38
|
cancelToken: CancelToken;
|
|
93
39
|
onSuccess?: (() => void) | undefined;
|
|
94
|
-
}, {
|
|
95
|
-
state?: unknown;
|
|
96
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
97
|
-
extra?: unknown;
|
|
98
|
-
rejectValue?: unknown;
|
|
99
|
-
serializedErrorType?: unknown;
|
|
100
|
-
pendingMeta?: unknown;
|
|
101
|
-
fulfilledMeta?: unknown;
|
|
102
|
-
rejectedMeta?: unknown;
|
|
103
|
-
}>;
|
|
40
|
+
}, {}>;
|
|
104
41
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
105
42
|
data: any;
|
|
106
43
|
flows?: undefined;
|
|
107
44
|
} | {
|
|
108
45
|
data: any;
|
|
109
46
|
flows: any;
|
|
110
|
-
} | undefined, void, {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
extra?: unknown;
|
|
114
|
-
rejectValue?: unknown;
|
|
115
|
-
serializedErrorType?: unknown;
|
|
116
|
-
pendingMeta?: unknown;
|
|
117
|
-
fulfilledMeta?: unknown;
|
|
118
|
-
rejectedMeta?: unknown;
|
|
119
|
-
}>;
|
|
120
|
-
export declare const onCloseCompleteBank: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
121
|
-
state?: unknown;
|
|
122
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
123
|
-
extra?: unknown;
|
|
124
|
-
rejectValue?: unknown;
|
|
125
|
-
serializedErrorType?: unknown;
|
|
126
|
-
pendingMeta?: unknown;
|
|
127
|
-
fulfilledMeta?: unknown;
|
|
128
|
-
rejectedMeta?: unknown;
|
|
129
|
-
}>;
|
|
130
|
-
type VerifyData = {
|
|
47
|
+
} | undefined, void, {}>;
|
|
48
|
+
export declare const onCloseCompleteBank: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
|
|
49
|
+
declare type VerifyData = {
|
|
131
50
|
token: string;
|
|
132
51
|
};
|
|
133
52
|
export interface BankData {
|
|
@@ -145,7 +64,7 @@ export declare const bankSlice: import("@reduxjs/toolkit").Slice<BankState, {
|
|
|
145
64
|
resetOTPScreen: (state: BankState) => void;
|
|
146
65
|
bankStatementUploadingStatus: (state: BankState, action: ActionState<boolean>) => void;
|
|
147
66
|
}, "bank/store">;
|
|
148
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
67
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, bankStatementUploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
149
68
|
declare const _default: import("redux").Reducer<BankState, import("redux").AnyAction>;
|
|
150
69
|
export default _default;
|
|
151
70
|
export declare const bankSelector: (state: RootState) => BankState;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
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
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -4,56 +4,20 @@ interface CreateVerifyTokenByProps {
|
|
|
4
4
|
boardId: string;
|
|
5
5
|
isInternally?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const createVerifyTokenBy: import("@reduxjs/toolkit").AsyncThunk<any, CreateVerifyTokenByProps, {
|
|
8
|
-
state?: unknown;
|
|
9
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
10
|
-
extra?: unknown;
|
|
11
|
-
rejectValue?: unknown;
|
|
12
|
-
serializedErrorType?: unknown;
|
|
13
|
-
pendingMeta?: unknown;
|
|
14
|
-
fulfilledMeta?: unknown;
|
|
15
|
-
rejectedMeta?: unknown;
|
|
16
|
-
}>;
|
|
7
|
+
export declare const createVerifyTokenBy: import("@reduxjs/toolkit").AsyncThunk<any, CreateVerifyTokenByProps, {}>;
|
|
17
8
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
18
9
|
data: any;
|
|
19
|
-
}, void, {
|
|
20
|
-
state?: unknown;
|
|
21
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
22
|
-
extra?: unknown;
|
|
23
|
-
rejectValue?: unknown;
|
|
24
|
-
serializedErrorType?: unknown;
|
|
25
|
-
pendingMeta?: unknown;
|
|
26
|
-
fulfilledMeta?: unknown;
|
|
27
|
-
rejectedMeta?: unknown;
|
|
28
|
-
}>;
|
|
10
|
+
}, void, {}>;
|
|
29
11
|
export declare const verifyBoardLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
30
12
|
data: any;
|
|
31
13
|
formData: OTPFormValues;
|
|
32
|
-
}, OTPFormValues, {
|
|
33
|
-
state?: unknown;
|
|
34
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
35
|
-
extra?: unknown;
|
|
36
|
-
rejectValue?: unknown;
|
|
37
|
-
serializedErrorType?: unknown;
|
|
38
|
-
pendingMeta?: unknown;
|
|
39
|
-
fulfilledMeta?: unknown;
|
|
40
|
-
rejectedMeta?: unknown;
|
|
41
|
-
}>;
|
|
14
|
+
}, OTPFormValues, {}>;
|
|
42
15
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
43
16
|
data: any;
|
|
44
17
|
}, {
|
|
45
18
|
boardId: string;
|
|
46
19
|
boardInfoId: string;
|
|
47
|
-
}, {
|
|
48
|
-
state?: unknown;
|
|
49
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
50
|
-
extra?: unknown;
|
|
51
|
-
rejectValue?: unknown;
|
|
52
|
-
serializedErrorType?: unknown;
|
|
53
|
-
pendingMeta?: unknown;
|
|
54
|
-
fulfilledMeta?: unknown;
|
|
55
|
-
rejectedMeta?: unknown;
|
|
56
|
-
}>;
|
|
20
|
+
}, {}>;
|
|
57
21
|
export interface BoardData {
|
|
58
22
|
verify: ResponseData;
|
|
59
23
|
otpData: OTPFormValues & ResponseData;
|
|
@@ -67,7 +31,7 @@ export declare const boardSlice: import("@reduxjs/toolkit").Slice<BoardState, {
|
|
|
67
31
|
stopLoader: (state: BoardState) => void;
|
|
68
32
|
resetOTPScreen: (state: BoardState) => void;
|
|
69
33
|
}, "bank/store">;
|
|
70
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
34
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
71
35
|
declare const _default: import("redux").Reducer<BoardState, import("redux").AnyAction>;
|
|
72
36
|
export default _default;
|
|
73
37
|
export declare const boardSelector: (state: RootState) => BoardState;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
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
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|