@tap-payments/auth-jsconnect 2.8.66-development → 2.8.68-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 +17 -17
- 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 +26 -13
- 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 +2 -2
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +18 -12
- 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 +2 -2
- package/build/app/settings.d.ts +21 -3
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +4 -4
- package/build/assets/locales/ar.json +10 -1
- package/build/assets/locales/en.json +10 -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 +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 +2 -1
- package/build/constants/app.js +35 -12
- package/build/constants/assets.d.ts +2 -0
- package/build/constants/assets.js +2 -0
- package/build/features/app/auth/authStore.d.ts +195 -25
- package/build/features/app/auth/authStore.js +59 -114
- 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 +168 -19
- package/build/features/app/business/businessStore.js +59 -45
- package/build/features/app/connect/connectStore.d.ts +160 -18
- package/build/features/app/connect/connectStore.js +152 -83
- package/build/features/app/connectExpress/connectExpressStore.d.ts +269 -40
- package/build/features/app/connectExpress/connectExpressStore.js +157 -252
- 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 +186 -24
- package/build/features/app/individual/individualStore.js +5 -2
- 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/AuthSwitch/AuthSwitch.js +2 -2
- 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/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/IDNumber.js +1 -1
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/NID/NID.js +4 -10
- package/build/features/auth/screens/NID/validation.d.ts +0 -3
- package/build/features/auth/screens/NID/validation.js +0 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.js +1 -5
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTPInput.js +2 -13
- 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 +5 -0
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.js +34 -0
- package/build/features/auth/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/auth/screens/VerifyNafath/index.js +2 -0
- 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/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/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 +5 -0
- package/build/features/business/screens/VerifyNafath/VerifyNafath.js +34 -0
- package/build/features/business/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/business/screens/VerifyNafath/index.js +2 -0
- 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/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 +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/Mobile.js +2 -2
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/NID/IDNumber.d.ts +1 -0
- package/build/features/connect/screens/NID/IDNumber.js +2 -2
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/NID/NID.js +5 -11
- package/build/features/connect/screens/NID/validation.d.ts +0 -3
- package/build/features/connect/screens/NID/validation.js +0 -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/OTP/OTPInput.js +3 -11
- 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 +5 -0
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.js +34 -0
- package/build/features/connect/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/connect/screens/VerifyNafath/index.js +2 -0
- 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/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +5 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.js +34 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/index.d.ts +3 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/index.js +2 -0
- 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/Mobile.js +2 -2
- 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/NID/IDNumber.d.ts +1 -0
- package/build/features/connectExpress/screens/NID/IDNumber.js +2 -2
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/NID.js +4 -9
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/NID/validation.d.ts +0 -3
- package/build/features/connectExpress/screens/NID/validation.js +0 -2
- 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/NIDMissed/NID.js +2 -2
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.js +5 -13
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.js +3 -11
- 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 +5 -0
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.js +34 -0
- package/build/features/connectExpress/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/connectExpress/screens/VerifyNafath/index.js +2 -0
- 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.js +21 -6
- 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/UserList.d.ts +1 -2
- 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/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/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 +7 -0
- package/build/features/shared/Button/{AbsherButton.js → NafathButton.js} +13 -3
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- package/build/features/shared/Button/index.d.ts +2 -2
- package/build/features/shared/Button/index.js +2 -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 +13 -0
- package/build/features/shared/NafathVerification/NafathVerification.js +92 -0
- package/build/features/shared/NafathVerification/VerifyNafathLoading.d.ts +8 -0
- package/build/features/shared/NafathVerification/VerifyNafathLoading.js +53 -0
- package/build/features/shared/NafathVerification/VerifyNafathSuccess.d.ts +5 -0
- package/build/features/shared/NafathVerification/VerifyNafathSuccess.js +8 -0
- package/build/features/shared/NafathVerification/index.d.ts +2 -0
- package/build/features/shared/NafathVerification/index.js +2 -0
- 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/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/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/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/theme/palette.js +2 -1
- package/build/utils/array.js +1 -1
- package/package.json +1 -1
- package/build/features/auth/screens/NID/DOB.d.ts +0 -7
- package/build/features/auth/screens/NID/DOB.js +0 -47
- package/build/features/business/screens/OTP/OTP.d.ts +0 -8
- package/build/features/business/screens/OTP/OTP.js +0 -90
- package/build/features/business/screens/OTP/OTPInput.d.ts +0 -5
- package/build/features/business/screens/OTP/OTPInput.js +0 -49
- package/build/features/business/screens/OTP/index.d.ts +0 -3
- package/build/features/business/screens/OTP/index.js +0 -2
- package/build/features/business/screens/OTP/validation.d.ts +0 -8
- package/build/features/business/screens/OTP/validation.js +0 -4
- package/build/features/connect/screens/NID/DOB.d.ts +0 -6
- package/build/features/connect/screens/NID/DOB.js +0 -47
- package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +0 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTP.js +0 -88
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +0 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +0 -56
- package/build/features/connectExpress/screens/IdentityOTP/index.d.ts +0 -3
- package/build/features/connectExpress/screens/IdentityOTP/index.js +0 -2
- package/build/features/connectExpress/screens/IdentityOTP/validation.d.ts +0 -8
- package/build/features/connectExpress/screens/IdentityOTP/validation.js +0 -4
- package/build/features/connectExpress/screens/NID/DOB.d.ts +0 -7
- package/build/features/connectExpress/screens/NID/DOB.js +0 -47
- package/build/features/shared/Button/AbsherButton.d.ts +0 -8
|
@@ -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 (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
|
|
@@ -365,123 +365,76 @@ export var verifyEmailOtp = createAsyncThunk('auth/verifyEmailOtp', function (pa
|
|
|
365
365
|
}
|
|
366
366
|
});
|
|
367
367
|
}); });
|
|
368
|
-
export var
|
|
369
|
-
var
|
|
370
|
-
var
|
|
371
|
-
return __generator(this, function (
|
|
372
|
-
switch (
|
|
368
|
+
export var createNafathAuth = createAsyncThunk('auth/createNafathAuth', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
369
|
+
var settings, requestBody, data;
|
|
370
|
+
var _a, _b;
|
|
371
|
+
return __generator(this, function (_c) {
|
|
372
|
+
switch (_c.label) {
|
|
373
373
|
case 0:
|
|
374
|
-
|
|
375
|
-
dob = params.dob, nid = params.nid;
|
|
376
|
-
nidType = nid.startsWith('1') ? IDENTIFICATION_TYPE.NID : IDENTIFICATION_TYPE.IQAMA;
|
|
377
|
-
countryCode = settings.data.businessCountry.iso2;
|
|
374
|
+
settings = thunkApi.getState().settings;
|
|
378
375
|
requestBody = {
|
|
379
|
-
country:
|
|
376
|
+
country: settings.data.businessCountry.iso2,
|
|
380
377
|
scope: settings.data.appConfig.scope,
|
|
381
378
|
lang: settings.data.language,
|
|
382
|
-
lead_id: auth.data.leadId,
|
|
383
379
|
user_credentail: {
|
|
384
|
-
identification_id: nid,
|
|
385
|
-
identification_id_type:
|
|
386
|
-
|
|
387
|
-
country_code: countryCode
|
|
380
|
+
identification_id: params.nid,
|
|
381
|
+
identification_id_type: IDENTIFICATION_TYPE.NAFATH,
|
|
382
|
+
country_code: settings.data.businessCountry.iso2
|
|
388
383
|
},
|
|
389
384
|
sign_in: false,
|
|
390
385
|
is_lead: true,
|
|
391
386
|
step_name: AUTH_STEP_NAMES.CREATE_AUTH_NID,
|
|
392
|
-
encryption_contract: [
|
|
393
|
-
'user_credentail.country_code',
|
|
394
|
-
'user_credentail.identification_id',
|
|
395
|
-
'user_credentail.identification_id_type',
|
|
396
|
-
'user_credentail.date_of_birth'
|
|
397
|
-
]
|
|
387
|
+
encryption_contract: ['user_credentail.country_code', 'user_credentail.identification_id', 'user_credentail.identification_id_type']
|
|
398
388
|
};
|
|
399
|
-
return [4, API.authService.
|
|
389
|
+
return [4, API.authService.createAuthKitNID(requestBody)];
|
|
400
390
|
case 1:
|
|
401
|
-
data =
|
|
391
|
+
data = _c.sent();
|
|
402
392
|
thunkApi.dispatch(handleNextScreenStep());
|
|
403
|
-
(
|
|
393
|
+
(_b = (_a = settings.data.appConfig).onStepCompleted) === null || _b === void 0 ? void 0 : _b.call(_a, settings.data.activeScreen.name, requestBody);
|
|
404
394
|
return [2, { response: data, formData: params }];
|
|
405
395
|
}
|
|
406
396
|
});
|
|
407
397
|
}); });
|
|
408
|
-
export var
|
|
409
|
-
var _a, settings, auth,
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
_a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
|
|
414
|
-
dob = params.dob, nid = params.nid;
|
|
415
|
-
nidType = nid.startsWith('1') ? IDENTIFICATION_TYPE.NID : IDENTIFICATION_TYPE.IQAMA;
|
|
416
|
-
countryCode = settings.data.businessCountry.iso2;
|
|
417
|
-
requestBody = {
|
|
418
|
-
country: countryCode,
|
|
419
|
-
scope: settings.data.appConfig.scope,
|
|
420
|
-
lang: settings.data.language,
|
|
421
|
-
lead_id: auth.data.leadId,
|
|
422
|
-
user_credentail: {
|
|
423
|
-
identification_id: nid,
|
|
424
|
-
identification_id_type: nidType,
|
|
425
|
-
date_of_birth: dob,
|
|
426
|
-
country_code: countryCode
|
|
427
|
-
},
|
|
428
|
-
sign_in: false,
|
|
429
|
-
is_lead: true,
|
|
430
|
-
step_name: AUTH_STEP_NAMES.CREATE_AUTH_NID,
|
|
431
|
-
encryption_contract: [
|
|
432
|
-
'user_credentail.country_code',
|
|
433
|
-
'user_credentail.identification_id',
|
|
434
|
-
'user_credentail.identification_id_type',
|
|
435
|
-
'user_credentail.date_of_birth'
|
|
436
|
-
]
|
|
437
|
-
};
|
|
438
|
-
return [4, API.authService.createAuth(requestBody)];
|
|
439
|
-
case 1:
|
|
440
|
-
data = _b.sent();
|
|
441
|
-
return [2, { response: data, formData: params }];
|
|
442
|
-
}
|
|
443
|
-
});
|
|
444
|
-
}); });
|
|
445
|
-
export var verifyNIDOtp = createAsyncThunk('auth/verifyNIDOtp', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
446
|
-
var _a, settings, auth, _b, responseData, leadId, _c, auth_token, device_token, service_name, auth_type, sign_in, scope, payload, data;
|
|
447
|
-
var _d, _e, _f, _g;
|
|
448
|
-
return __generator(this, function (_h) {
|
|
449
|
-
switch (_h.label) {
|
|
398
|
+
export var verifyNafath = createAsyncThunk('auth/verifyNafath', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
399
|
+
var _a, settings, auth, authResponse, expiry, scope, interval, maxCalls, count, data, isSuccess;
|
|
400
|
+
var _b, _c, _d;
|
|
401
|
+
return __generator(this, function (_e) {
|
|
402
|
+
switch (_e.label) {
|
|
450
403
|
case 0:
|
|
451
404
|
_a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
if (!auth_token)
|
|
455
|
-
throw new Error('Auth token is missing');
|
|
405
|
+
authResponse = (auth.data.responseData || {}).authResponse;
|
|
406
|
+
expiry = (authResponse === null || authResponse === void 0 ? void 0 : authResponse.expiry) || 120;
|
|
456
407
|
scope = settings.data.appConfig.scope;
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
auth_type: auth_type,
|
|
462
|
-
device_token: device_token,
|
|
463
|
-
service_name: service_name || 'ABSHER',
|
|
464
|
-
sign_in: sign_in,
|
|
465
|
-
step_name: AUTH_STEP_NAMES.VERIFY_AUTH_NID,
|
|
466
|
-
encryption_contract: ['data']
|
|
467
|
-
};
|
|
468
|
-
return [4, API.authService.verifyAuth(payload)];
|
|
408
|
+
interval = 3;
|
|
409
|
+
maxCalls = Math.floor(expiry / interval);
|
|
410
|
+
count = 1;
|
|
411
|
+
_e.label = 1;
|
|
469
412
|
case 1:
|
|
470
|
-
|
|
471
|
-
if (
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
if (
|
|
479
|
-
|
|
413
|
+
if (!(count <= maxCalls)) return [3, 5];
|
|
414
|
+
if (thunkApi.signal.aborted) {
|
|
415
|
+
return [3, 5];
|
|
416
|
+
}
|
|
417
|
+
return [4, API.authService.getVerifyAuth(authResponse === null || authResponse === void 0 ? void 0 : authResponse.auth_token)];
|
|
418
|
+
case 2:
|
|
419
|
+
data = _e.sent();
|
|
420
|
+
isSuccess = ((_b = data.status) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'completed';
|
|
421
|
+
if (isSuccess) {
|
|
422
|
+
if (scope === 'merchant') {
|
|
423
|
+
openConnect(settings.data.appConfig.publicKey, settings.data.businessCountry.iso2);
|
|
424
|
+
return [2, data];
|
|
425
|
+
}
|
|
426
|
+
(_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, params);
|
|
427
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_PREPARING_DATA_STEP')); });
|
|
480
428
|
return [2, data];
|
|
481
429
|
}
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
430
|
+
return [4, sleep(interval * 1000)];
|
|
431
|
+
case 3:
|
|
432
|
+
_e.sent();
|
|
433
|
+
_e.label = 4;
|
|
434
|
+
case 4:
|
|
435
|
+
count++;
|
|
436
|
+
return [3, 1];
|
|
437
|
+
case 5: throw new Error('nafath_verification_failed');
|
|
485
438
|
}
|
|
486
439
|
});
|
|
487
440
|
}); });
|
|
@@ -996,44 +949,36 @@ export var authSlice = createSlice({
|
|
|
996
949
|
state.loading = false;
|
|
997
950
|
state.error = action.error.message;
|
|
998
951
|
})
|
|
999
|
-
.addCase(
|
|
952
|
+
.addCase(createNafathAuth.pending, function (state) {
|
|
1000
953
|
state.loading = true;
|
|
1001
954
|
state.error = null;
|
|
1002
955
|
})
|
|
1003
|
-
.addCase(
|
|
956
|
+
.addCase(createNafathAuth.fulfilled, function (state, action) {
|
|
1004
957
|
state.loading = false;
|
|
1005
958
|
state.data.nidData = action.payload.formData;
|
|
1006
959
|
state.data.otpData.authFor = AuthForType.NATIONAL_ID;
|
|
1007
960
|
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: action.payload.response });
|
|
1008
961
|
})
|
|
1009
|
-
.addCase(
|
|
962
|
+
.addCase(createNafathAuth.rejected, function (state, action) {
|
|
1010
963
|
state.loading = false;
|
|
1011
964
|
state.error = action.error.message;
|
|
1012
965
|
})
|
|
1013
|
-
.addCase(
|
|
1014
|
-
state.error = null;
|
|
1015
|
-
})
|
|
1016
|
-
.addCase(resendNIDAuthOTP.fulfilled, function (state, action) {
|
|
1017
|
-
state.data.nidData = action.payload.formData;
|
|
1018
|
-
state.data.otpData.authFor = AuthForType.NATIONAL_ID;
|
|
1019
|
-
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: action.payload.response });
|
|
1020
|
-
})
|
|
1021
|
-
.addCase(resendNIDAuthOTP.rejected, function (state, action) {
|
|
1022
|
-
state.error = action.error.message;
|
|
1023
|
-
})
|
|
1024
|
-
.addCase(verifyNIDOtp.pending, function (state) {
|
|
966
|
+
.addCase(verifyNafath.pending, function (state) {
|
|
1025
967
|
state.loading = true;
|
|
1026
968
|
state.error = null;
|
|
1027
969
|
})
|
|
1028
|
-
.addCase(
|
|
970
|
+
.addCase(verifyNafath.fulfilled, function (state, action) {
|
|
1029
971
|
var _a;
|
|
1030
972
|
state.loading = false;
|
|
1031
973
|
var data = action.payload;
|
|
1032
974
|
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: __assign(__assign({}, (_a = state.data.responseData) === null || _a === void 0 ? void 0 : _a.authResponse), data) });
|
|
1033
975
|
})
|
|
1034
|
-
.addCase(
|
|
976
|
+
.addCase(verifyNafath.rejected, function (state, action) {
|
|
1035
977
|
state.loading = false;
|
|
1036
|
-
|
|
978
|
+
var error = action.error.message;
|
|
979
|
+
if (error !== 'Aborted') {
|
|
980
|
+
state.error = error;
|
|
981
|
+
}
|
|
1037
982
|
})
|
|
1038
983
|
.addCase(createCivilIdAuth.pending, function (state) {
|
|
1039
984
|
state.loading = true;
|
|
@@ -9,44 +9,125 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
9
9
|
data: any;
|
|
10
10
|
bankData: any;
|
|
11
11
|
token: string;
|
|
12
|
-
}, VerifyLeadTokenProps, {
|
|
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
|
+
}>;
|
|
13
22
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
14
23
|
data: any;
|
|
15
|
-
}, void, {
|
|
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
|
+
}>;
|
|
16
34
|
export declare const verifyBankLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
17
35
|
data: any;
|
|
18
36
|
bankData: any;
|
|
19
37
|
formData: OTPFormValues;
|
|
20
|
-
}, 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
|
+
}>;
|
|
21
48
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
22
49
|
flows: any;
|
|
23
|
-
}, void, {
|
|
24
|
-
|
|
50
|
+
}, void, {
|
|
51
|
+
state?: unknown;
|
|
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 = {
|
|
25
61
|
boardId: string;
|
|
26
62
|
individualId: string;
|
|
27
63
|
individualType: string;
|
|
28
64
|
};
|
|
29
|
-
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
|
|
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
|
+
}>;
|
|
30
75
|
export declare const createBankAccount: import("@reduxjs/toolkit").AsyncThunk<{
|
|
31
76
|
data: any;
|
|
32
77
|
formData: BankFormValues;
|
|
33
|
-
}, AsyncThunkParams<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
|
+
}>;
|
|
34
88
|
export declare const checkIbanBank: import("@reduxjs/toolkit").AsyncThunk<{
|
|
35
89
|
data: any;
|
|
36
90
|
}, {
|
|
37
91
|
iban: string;
|
|
38
92
|
cancelToken: CancelToken;
|
|
39
93
|
onSuccess?: (() => void) | undefined;
|
|
40
|
-
}, {
|
|
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
|
+
}>;
|
|
41
104
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
42
105
|
data: any;
|
|
43
106
|
flows?: undefined;
|
|
44
107
|
} | {
|
|
45
108
|
data: any;
|
|
46
109
|
flows: any;
|
|
47
|
-
} | undefined, void, {
|
|
48
|
-
|
|
49
|
-
|
|
110
|
+
} | undefined, void, {
|
|
111
|
+
state?: unknown;
|
|
112
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
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 = {
|
|
50
131
|
token: string;
|
|
51
132
|
};
|
|
52
133
|
export interface BankData {
|
|
@@ -64,7 +145,7 @@ export declare const bankSlice: import("@reduxjs/toolkit").Slice<BankState, {
|
|
|
64
145
|
resetOTPScreen: (state: BankState) => void;
|
|
65
146
|
bankStatementUploadingStatus: (state: BankState, action: ActionState<boolean>) => void;
|
|
66
147
|
}, "bank/store">;
|
|
67
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
148
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/resetOTPScreen">, bankStatementUploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "bank/store/bankStatementUploadingStatus">;
|
|
68
149
|
declare const _default: import("redux").Reducer<BankState, import("redux").AnyAction>;
|
|
69
150
|
export default _default;
|
|
70
151
|
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 (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
|
|
@@ -1,19 +1,55 @@
|
|
|
1
1
|
import { RootState } from '../../../app/store';
|
|
2
2
|
import { FlowsTypes, OTPFormValues, ResponseData, SharedState } from '../../../@types';
|
|
3
|
-
export declare const createVerifyTokenBy: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
3
|
+
export declare const createVerifyTokenBy: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
4
|
+
state?: unknown;
|
|
5
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
6
|
+
extra?: unknown;
|
|
7
|
+
rejectValue?: unknown;
|
|
8
|
+
serializedErrorType?: unknown;
|
|
9
|
+
pendingMeta?: unknown;
|
|
10
|
+
fulfilledMeta?: unknown;
|
|
11
|
+
rejectedMeta?: unknown;
|
|
12
|
+
}>;
|
|
4
13
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
5
14
|
data: any;
|
|
6
|
-
}, void, {
|
|
15
|
+
}, void, {
|
|
16
|
+
state?: unknown;
|
|
17
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
18
|
+
extra?: unknown;
|
|
19
|
+
rejectValue?: unknown;
|
|
20
|
+
serializedErrorType?: unknown;
|
|
21
|
+
pendingMeta?: unknown;
|
|
22
|
+
fulfilledMeta?: unknown;
|
|
23
|
+
rejectedMeta?: unknown;
|
|
24
|
+
}>;
|
|
7
25
|
export declare const verifyBoardLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
8
26
|
data: any;
|
|
9
27
|
formData: OTPFormValues;
|
|
10
|
-
}, OTPFormValues, {
|
|
28
|
+
}, OTPFormValues, {
|
|
29
|
+
state?: unknown;
|
|
30
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
31
|
+
extra?: unknown;
|
|
32
|
+
rejectValue?: unknown;
|
|
33
|
+
serializedErrorType?: unknown;
|
|
34
|
+
pendingMeta?: unknown;
|
|
35
|
+
fulfilledMeta?: unknown;
|
|
36
|
+
rejectedMeta?: unknown;
|
|
37
|
+
}>;
|
|
11
38
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
12
39
|
data: any;
|
|
13
40
|
}, {
|
|
14
41
|
boardId: string;
|
|
15
42
|
boardInfoId: string;
|
|
16
|
-
}, {
|
|
43
|
+
}, {
|
|
44
|
+
state?: unknown;
|
|
45
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
46
|
+
extra?: unknown;
|
|
47
|
+
rejectValue?: unknown;
|
|
48
|
+
serializedErrorType?: unknown;
|
|
49
|
+
pendingMeta?: unknown;
|
|
50
|
+
fulfilledMeta?: unknown;
|
|
51
|
+
rejectedMeta?: unknown;
|
|
52
|
+
}>;
|
|
17
53
|
export interface BoardData {
|
|
18
54
|
verify: ResponseData;
|
|
19
55
|
otpData: OTPFormValues & ResponseData;
|
|
@@ -27,7 +63,7 @@ export declare const boardSlice: import("@reduxjs/toolkit").Slice<BoardState, {
|
|
|
27
63
|
stopLoader: (state: BoardState) => void;
|
|
28
64
|
resetOTPScreen: (state: BoardState) => void;
|
|
29
65
|
}, "bank/store">;
|
|
30
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
66
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/resetOTPScreen">;
|
|
31
67
|
declare const _default: import("redux").Reducer<BoardState, import("redux").AnyAction>;
|
|
32
68
|
export default _default;
|
|
33
69
|
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 (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
|