@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
|
@@ -11,32 +11,86 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
11
11
|
salesChannels: any;
|
|
12
12
|
token: string;
|
|
13
13
|
entityInfoId: any;
|
|
14
|
-
}, VerifyLeadTokenProps, {
|
|
14
|
+
}, VerifyLeadTokenProps, {
|
|
15
|
+
state?: unknown;
|
|
16
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
17
|
+
extra?: unknown;
|
|
18
|
+
rejectValue?: unknown;
|
|
19
|
+
serializedErrorType?: unknown;
|
|
20
|
+
pendingMeta?: unknown;
|
|
21
|
+
fulfilledMeta?: unknown;
|
|
22
|
+
rejectedMeta?: unknown;
|
|
23
|
+
}>;
|
|
15
24
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
16
25
|
data: any;
|
|
17
|
-
}, void, {
|
|
26
|
+
}, void, {
|
|
27
|
+
state?: unknown;
|
|
28
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
29
|
+
extra?: unknown;
|
|
30
|
+
rejectValue?: unknown;
|
|
31
|
+
serializedErrorType?: unknown;
|
|
32
|
+
pendingMeta?: unknown;
|
|
33
|
+
fulfilledMeta?: unknown;
|
|
34
|
+
rejectedMeta?: unknown;
|
|
35
|
+
}>;
|
|
18
36
|
export declare const verifyBrandLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
19
37
|
data: any;
|
|
20
38
|
brandData: any;
|
|
21
39
|
salesChannels: any;
|
|
22
40
|
entityInfoId: any;
|
|
23
41
|
formData: OTPFormValues;
|
|
24
|
-
}, OTPFormValues, {
|
|
42
|
+
}, OTPFormValues, {
|
|
43
|
+
state?: unknown;
|
|
44
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
45
|
+
extra?: unknown;
|
|
46
|
+
rejectValue?: unknown;
|
|
47
|
+
serializedErrorType?: unknown;
|
|
48
|
+
pendingMeta?: unknown;
|
|
49
|
+
fulfilledMeta?: unknown;
|
|
50
|
+
rejectedMeta?: unknown;
|
|
51
|
+
}>;
|
|
25
52
|
export declare const retrieveSegmentDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
26
53
|
segmentLocation: any;
|
|
27
54
|
segmentProfit: any;
|
|
28
55
|
segmentTech: any;
|
|
29
56
|
segmentTeam: any;
|
|
30
|
-
}, void, {
|
|
57
|
+
}, void, {
|
|
58
|
+
state?: unknown;
|
|
59
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
60
|
+
extra?: unknown;
|
|
61
|
+
rejectValue?: unknown;
|
|
62
|
+
serializedErrorType?: unknown;
|
|
63
|
+
pendingMeta?: unknown;
|
|
64
|
+
fulfilledMeta?: unknown;
|
|
65
|
+
rejectedMeta?: unknown;
|
|
66
|
+
}>;
|
|
31
67
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
32
68
|
flows: any;
|
|
33
|
-
}, void, {
|
|
34
|
-
|
|
69
|
+
}, void, {
|
|
70
|
+
state?: unknown;
|
|
71
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
72
|
+
extra?: unknown;
|
|
73
|
+
rejectValue?: unknown;
|
|
74
|
+
serializedErrorType?: unknown;
|
|
75
|
+
pendingMeta?: unknown;
|
|
76
|
+
fulfilledMeta?: unknown;
|
|
77
|
+
rejectedMeta?: unknown;
|
|
78
|
+
}>;
|
|
79
|
+
type RetrieveBoardProps = {
|
|
35
80
|
boardId: string;
|
|
36
81
|
individualId: string;
|
|
37
82
|
individualType: string;
|
|
38
83
|
};
|
|
39
|
-
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
|
|
84
|
+
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
|
|
85
|
+
state?: unknown;
|
|
86
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
87
|
+
extra?: unknown;
|
|
88
|
+
rejectValue?: unknown;
|
|
89
|
+
serializedErrorType?: unknown;
|
|
90
|
+
pendingMeta?: unknown;
|
|
91
|
+
fulfilledMeta?: unknown;
|
|
92
|
+
rejectedMeta?: unknown;
|
|
93
|
+
}>;
|
|
40
94
|
export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").AsyncThunk<{
|
|
41
95
|
response: any;
|
|
42
96
|
formData: {
|
|
@@ -46,7 +100,16 @@ export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").Asyn
|
|
|
46
100
|
name: string;
|
|
47
101
|
cancelToken: CancelToken;
|
|
48
102
|
onSuccess?: (() => void) | undefined;
|
|
49
|
-
}, {
|
|
103
|
+
}, {
|
|
104
|
+
state?: unknown;
|
|
105
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
106
|
+
extra?: unknown;
|
|
107
|
+
rejectValue?: unknown;
|
|
108
|
+
serializedErrorType?: unknown;
|
|
109
|
+
pendingMeta?: unknown;
|
|
110
|
+
fulfilledMeta?: unknown;
|
|
111
|
+
rejectedMeta?: unknown;
|
|
112
|
+
}>;
|
|
50
113
|
export declare const updateBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
51
114
|
data: any;
|
|
52
115
|
formData: Omit<BrandFormValues, "termAndConditionChecked" | "selectedBrandItem">;
|
|
@@ -54,34 +117,97 @@ export declare const updateBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
54
117
|
segmentLocationList: any;
|
|
55
118
|
segmentProfitList: any;
|
|
56
119
|
segmentTechList: any;
|
|
57
|
-
}, AsyncThunkParams<Omit<BrandFormValues, "termAndConditionChecked" | "selectedBrandItem">>, {
|
|
120
|
+
}, AsyncThunkParams<Omit<BrandFormValues, "termAndConditionChecked" | "selectedBrandItem">>, {
|
|
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
|
+
}>;
|
|
58
130
|
export declare const updateSegmentBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
59
131
|
data: any;
|
|
60
132
|
entityData: any;
|
|
61
133
|
formData: BrandSegmentFormValues;
|
|
62
|
-
}, AsyncThunkParams<BrandSegmentFormValues>, {
|
|
134
|
+
}, AsyncThunkParams<BrandSegmentFormValues>, {
|
|
135
|
+
state?: unknown;
|
|
136
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
137
|
+
extra?: unknown;
|
|
138
|
+
rejectValue?: unknown;
|
|
139
|
+
serializedErrorType?: unknown;
|
|
140
|
+
pendingMeta?: unknown;
|
|
141
|
+
fulfilledMeta?: unknown;
|
|
142
|
+
rejectedMeta?: unknown;
|
|
143
|
+
}>;
|
|
63
144
|
export declare const retrieveEntityList: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
64
145
|
leadId: string;
|
|
65
|
-
}, {
|
|
146
|
+
}, {
|
|
147
|
+
state?: unknown;
|
|
148
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
149
|
+
extra?: unknown;
|
|
150
|
+
rejectValue?: unknown;
|
|
151
|
+
serializedErrorType?: unknown;
|
|
152
|
+
pendingMeta?: unknown;
|
|
153
|
+
fulfilledMeta?: unknown;
|
|
154
|
+
rejectedMeta?: unknown;
|
|
155
|
+
}>;
|
|
66
156
|
export declare const updateBrandActivities: import("@reduxjs/toolkit").AsyncThunk<{
|
|
67
157
|
data: any;
|
|
68
158
|
formData: BrandActivitiesFormValues;
|
|
69
|
-
}, AsyncThunkParams<BrandActivitiesFormValues>, {
|
|
159
|
+
}, AsyncThunkParams<BrandActivitiesFormValues>, {
|
|
160
|
+
state?: unknown;
|
|
161
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
162
|
+
extra?: unknown;
|
|
163
|
+
rejectValue?: unknown;
|
|
164
|
+
serializedErrorType?: unknown;
|
|
165
|
+
pendingMeta?: unknown;
|
|
166
|
+
fulfilledMeta?: unknown;
|
|
167
|
+
rejectedMeta?: unknown;
|
|
168
|
+
}>;
|
|
70
169
|
export declare const retrieveDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
71
170
|
customerBases: any;
|
|
72
171
|
expectedSales: any;
|
|
73
172
|
expectedCustomerSales: any;
|
|
74
173
|
countryISO2: string;
|
|
75
|
-
}, void, {
|
|
174
|
+
}, void, {
|
|
175
|
+
state?: unknown;
|
|
176
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
177
|
+
extra?: unknown;
|
|
178
|
+
rejectValue?: unknown;
|
|
179
|
+
serializedErrorType?: unknown;
|
|
180
|
+
pendingMeta?: unknown;
|
|
181
|
+
fulfilledMeta?: unknown;
|
|
182
|
+
rejectedMeta?: unknown;
|
|
183
|
+
}>;
|
|
76
184
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
77
185
|
data: any;
|
|
78
186
|
flows?: undefined;
|
|
79
187
|
} | {
|
|
80
188
|
data: any;
|
|
81
189
|
flows: any;
|
|
82
|
-
} | undefined, void, {
|
|
83
|
-
|
|
84
|
-
|
|
190
|
+
} | undefined, void, {
|
|
191
|
+
state?: unknown;
|
|
192
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
193
|
+
extra?: unknown;
|
|
194
|
+
rejectValue?: unknown;
|
|
195
|
+
serializedErrorType?: unknown;
|
|
196
|
+
pendingMeta?: unknown;
|
|
197
|
+
fulfilledMeta?: unknown;
|
|
198
|
+
rejectedMeta?: unknown;
|
|
199
|
+
}>;
|
|
200
|
+
export declare const onCloseCompleteBrand: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
201
|
+
state?: unknown;
|
|
202
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
203
|
+
extra?: unknown;
|
|
204
|
+
rejectValue?: unknown;
|
|
205
|
+
serializedErrorType?: unknown;
|
|
206
|
+
pendingMeta?: unknown;
|
|
207
|
+
fulfilledMeta?: unknown;
|
|
208
|
+
rejectedMeta?: unknown;
|
|
209
|
+
}>;
|
|
210
|
+
type VerifyData = {
|
|
85
211
|
token: string;
|
|
86
212
|
};
|
|
87
213
|
export interface BrandData {
|
|
@@ -104,7 +230,7 @@ export declare const brandSlice: import("@reduxjs/toolkit").Slice<BrandState, {
|
|
|
104
230
|
uploadingBrandLogoStatus: (state: BrandState, action: ActionState<boolean>) => void;
|
|
105
231
|
clearBrandLogo: (state: BrandState) => void;
|
|
106
232
|
}, "brand/store">;
|
|
107
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
233
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"brand/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"brand/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"brand/store/resetOTPScreen">, uploadingBrandLogoStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "brand/store/uploadingBrandLogoStatus">, clearBrandLogo: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"brand/store/clearBrandLogo">;
|
|
108
234
|
declare const _default: import("redux").Reducer<BrandState, import("redux").AnyAction>;
|
|
109
235
|
export default _default;
|
|
110
236
|
export declare const brandSelector: (state: RootState) => BrandState;
|
|
@@ -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]) {
|
|
@@ -16,10 +16,28 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
16
16
|
leadData?: undefined;
|
|
17
17
|
brandData?: undefined;
|
|
18
18
|
boardId?: undefined;
|
|
19
|
-
}, string, {
|
|
19
|
+
}, string, {
|
|
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
|
+
}>;
|
|
20
29
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
21
30
|
data: any;
|
|
22
|
-
}, void, {
|
|
31
|
+
}, void, {
|
|
32
|
+
state?: unknown;
|
|
33
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
34
|
+
extra?: unknown;
|
|
35
|
+
rejectValue?: unknown;
|
|
36
|
+
serializedErrorType?: unknown;
|
|
37
|
+
pendingMeta?: unknown;
|
|
38
|
+
fulfilledMeta?: unknown;
|
|
39
|
+
rejectedMeta?: unknown;
|
|
40
|
+
}>;
|
|
23
41
|
export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
24
42
|
data: any;
|
|
25
43
|
isicActivityList: any;
|
|
@@ -29,30 +47,89 @@ export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
29
47
|
};
|
|
30
48
|
brand: any;
|
|
31
49
|
leadData: any;
|
|
32
|
-
}, OTPFormValues, {
|
|
50
|
+
}, OTPFormValues, {
|
|
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
|
+
interface verifyNafathParams {
|
|
61
|
+
onSuccess?: () => void;
|
|
62
|
+
}
|
|
63
|
+
export declare const verifyNafath: import("@reduxjs/toolkit").AsyncThunk<{
|
|
64
|
+
response: any;
|
|
65
|
+
}, verifyNafathParams, {
|
|
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
|
+
}>;
|
|
33
75
|
interface verifyPACIParams {
|
|
34
76
|
onSuccess?: () => void;
|
|
35
77
|
}
|
|
36
78
|
export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<{
|
|
37
79
|
response: any;
|
|
38
|
-
}, verifyPACIParams, {
|
|
80
|
+
}, verifyPACIParams, {
|
|
81
|
+
state?: unknown;
|
|
82
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
83
|
+
extra?: unknown;
|
|
84
|
+
rejectValue?: unknown;
|
|
85
|
+
serializedErrorType?: unknown;
|
|
86
|
+
pendingMeta?: unknown;
|
|
87
|
+
fulfilledMeta?: unknown;
|
|
88
|
+
rejectedMeta?: unknown;
|
|
89
|
+
}>;
|
|
39
90
|
export declare const createCivilIdAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
40
91
|
response: any;
|
|
41
92
|
formData: CivilFormValues;
|
|
42
|
-
}, CivilFormValues, {
|
|
93
|
+
}, CivilFormValues, {
|
|
94
|
+
state?: unknown;
|
|
95
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
96
|
+
extra?: unknown;
|
|
97
|
+
rejectValue?: unknown;
|
|
98
|
+
serializedErrorType?: unknown;
|
|
99
|
+
pendingMeta?: unknown;
|
|
100
|
+
fulfilledMeta?: unknown;
|
|
101
|
+
rejectedMeta?: unknown;
|
|
102
|
+
}>;
|
|
43
103
|
export declare const updateLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<{
|
|
44
104
|
data: any;
|
|
45
105
|
formData: {
|
|
46
106
|
type: string;
|
|
47
107
|
nid: string;
|
|
48
|
-
dob
|
|
108
|
+
dob?: any;
|
|
49
109
|
termAndConditionChecked?: boolean | undefined;
|
|
50
110
|
};
|
|
51
|
-
}, NIDFormValues, {
|
|
52
|
-
|
|
111
|
+
}, NIDFormValues, {
|
|
112
|
+
state?: unknown;
|
|
113
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
114
|
+
extra?: unknown;
|
|
115
|
+
rejectValue?: unknown;
|
|
116
|
+
serializedErrorType?: unknown;
|
|
117
|
+
pendingMeta?: unknown;
|
|
118
|
+
fulfilledMeta?: unknown;
|
|
119
|
+
rejectedMeta?: unknown;
|
|
120
|
+
}>;
|
|
53
121
|
export declare const retrieveEntityList: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
54
122
|
leadId: string;
|
|
55
|
-
}, {
|
|
123
|
+
}, {
|
|
124
|
+
state?: unknown;
|
|
125
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
126
|
+
extra?: unknown;
|
|
127
|
+
rejectValue?: unknown;
|
|
128
|
+
serializedErrorType?: unknown;
|
|
129
|
+
pendingMeta?: unknown;
|
|
130
|
+
fulfilledMeta?: unknown;
|
|
131
|
+
rejectedMeta?: unknown;
|
|
132
|
+
}>;
|
|
56
133
|
export declare const retrieveAllEntityList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
57
134
|
data: any;
|
|
58
135
|
businessCountryCode: string;
|
|
@@ -60,10 +137,28 @@ export declare const retrieveAllEntityList: import("@reduxjs/toolkit").AsyncThun
|
|
|
60
137
|
}, {
|
|
61
138
|
businessId: string;
|
|
62
139
|
entityId: string;
|
|
63
|
-
}, {
|
|
140
|
+
}, {
|
|
141
|
+
state?: unknown;
|
|
142
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
143
|
+
extra?: unknown;
|
|
144
|
+
rejectValue?: unknown;
|
|
145
|
+
serializedErrorType?: unknown;
|
|
146
|
+
pendingMeta?: unknown;
|
|
147
|
+
fulfilledMeta?: unknown;
|
|
148
|
+
rejectedMeta?: unknown;
|
|
149
|
+
}>;
|
|
64
150
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
65
151
|
data: any;
|
|
66
|
-
}, string, {
|
|
152
|
+
}, string, {
|
|
153
|
+
state?: unknown;
|
|
154
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
155
|
+
extra?: unknown;
|
|
156
|
+
rejectValue?: unknown;
|
|
157
|
+
serializedErrorType?: unknown;
|
|
158
|
+
pendingMeta?: unknown;
|
|
159
|
+
fulfilledMeta?: unknown;
|
|
160
|
+
rejectedMeta?: unknown;
|
|
161
|
+
}>;
|
|
67
162
|
export declare const updateLeadBusinessType: import("@reduxjs/toolkit").AsyncThunk<{
|
|
68
163
|
data: any;
|
|
69
164
|
formData: BusinessTypeFormValues;
|
|
@@ -71,29 +166,83 @@ export declare const updateLeadBusinessType: import("@reduxjs/toolkit").AsyncThu
|
|
|
71
166
|
documentData: any;
|
|
72
167
|
entityData: any;
|
|
73
168
|
isicActivityList: any;
|
|
74
|
-
}, BusinessTypeFormValues, {
|
|
169
|
+
}, BusinessTypeFormValues, {
|
|
170
|
+
state?: unknown;
|
|
171
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
172
|
+
extra?: unknown;
|
|
173
|
+
rejectValue?: unknown;
|
|
174
|
+
serializedErrorType?: unknown;
|
|
175
|
+
pendingMeta?: unknown;
|
|
176
|
+
fulfilledMeta?: unknown;
|
|
177
|
+
rejectedMeta?: unknown;
|
|
178
|
+
}>;
|
|
75
179
|
export declare const updateActivitiesInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
76
180
|
data: any;
|
|
77
181
|
formData: ActivitiesFormValues;
|
|
78
|
-
}, AsyncThunkParams<ActivitiesFormValues>, {
|
|
182
|
+
}, AsyncThunkParams<ActivitiesFormValues>, {
|
|
183
|
+
state?: unknown;
|
|
184
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
185
|
+
extra?: unknown;
|
|
186
|
+
rejectValue?: unknown;
|
|
187
|
+
serializedErrorType?: unknown;
|
|
188
|
+
pendingMeta?: unknown;
|
|
189
|
+
fulfilledMeta?: unknown;
|
|
190
|
+
rejectedMeta?: unknown;
|
|
191
|
+
}>;
|
|
79
192
|
export declare const retrieveDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
80
193
|
customerBases: any;
|
|
81
194
|
expectedSales: any;
|
|
82
195
|
expectedCustomerSales: any;
|
|
83
196
|
countryISO2: string;
|
|
84
|
-
}, void, {
|
|
197
|
+
}, void, {
|
|
198
|
+
state?: unknown;
|
|
199
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
200
|
+
extra?: unknown;
|
|
201
|
+
rejectValue?: unknown;
|
|
202
|
+
serializedErrorType?: unknown;
|
|
203
|
+
pendingMeta?: unknown;
|
|
204
|
+
fulfilledMeta?: unknown;
|
|
205
|
+
rejectedMeta?: unknown;
|
|
206
|
+
}>;
|
|
85
207
|
export declare const updateCustomersInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
86
208
|
data: any;
|
|
87
209
|
formData: CustomersFormValues;
|
|
88
|
-
}, AsyncThunkParams<CustomersFormValues>, {
|
|
210
|
+
}, AsyncThunkParams<CustomersFormValues>, {
|
|
211
|
+
state?: unknown;
|
|
212
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
213
|
+
extra?: unknown;
|
|
214
|
+
rejectValue?: unknown;
|
|
215
|
+
serializedErrorType?: unknown;
|
|
216
|
+
pendingMeta?: unknown;
|
|
217
|
+
fulfilledMeta?: unknown;
|
|
218
|
+
rejectedMeta?: unknown;
|
|
219
|
+
}>;
|
|
89
220
|
export declare const updateLeadSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
90
221
|
response: any;
|
|
91
222
|
formData: void;
|
|
92
|
-
} | undefined, void, {
|
|
223
|
+
} | undefined, void, {
|
|
224
|
+
state?: unknown;
|
|
225
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
226
|
+
extra?: unknown;
|
|
227
|
+
rejectValue?: unknown;
|
|
228
|
+
serializedErrorType?: unknown;
|
|
229
|
+
pendingMeta?: unknown;
|
|
230
|
+
fulfilledMeta?: unknown;
|
|
231
|
+
rejectedMeta?: unknown;
|
|
232
|
+
}>;
|
|
93
233
|
export declare const updateStepName: import("@reduxjs/toolkit").AsyncThunk<{
|
|
94
234
|
response: any;
|
|
95
|
-
}, string, {
|
|
96
|
-
|
|
235
|
+
}, string, {
|
|
236
|
+
state?: unknown;
|
|
237
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
238
|
+
extra?: unknown;
|
|
239
|
+
rejectValue?: unknown;
|
|
240
|
+
serializedErrorType?: unknown;
|
|
241
|
+
pendingMeta?: unknown;
|
|
242
|
+
fulfilledMeta?: unknown;
|
|
243
|
+
rejectedMeta?: unknown;
|
|
244
|
+
}>;
|
|
245
|
+
type VerifyData = {
|
|
97
246
|
token: string;
|
|
98
247
|
};
|
|
99
248
|
export interface BusinessData {
|
|
@@ -123,7 +272,7 @@ export declare const businessSlice: import("@reduxjs/toolkit").Slice<BusinessSta
|
|
|
123
272
|
uploadingArticleStatus: (state: BusinessState, action: ActionState<boolean>) => void;
|
|
124
273
|
clearAOAFile: (state: BusinessState) => void;
|
|
125
274
|
}, "business/store">;
|
|
126
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
275
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"business/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"business/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"business/store/resetOTPScreen">, uploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "business/store/uploadingStatus">, uploadingArticleStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "business/store/uploadingArticleStatus">, clearAOAFile: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"business/store/clearAOAFile">;
|
|
127
276
|
declare const _default: import("redux").Reducer<BusinessState, import("redux").AnyAction>;
|
|
128
277
|
export default _default;
|
|
129
278
|
export declare const businessSelector: (state: RootState) => BusinessState;
|
|
@@ -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]) {
|
|
@@ -307,6 +307,51 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
|
|
|
307
307
|
}
|
|
308
308
|
});
|
|
309
309
|
}); });
|
|
310
|
+
export var verifyNafath = createAsyncThunk('business/verifyNafathParams', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
311
|
+
var _a, settings, business, responseBody, _b, business_id, entity, expiry, interval, maxCalls, count, data, isSuccess;
|
|
312
|
+
var _c, _d, _e, _f;
|
|
313
|
+
return __generator(this, function (_g) {
|
|
314
|
+
switch (_g.label) {
|
|
315
|
+
case 0:
|
|
316
|
+
_a = thunkApi.getState(), settings = _a.settings, business = _a.business;
|
|
317
|
+
responseBody = business.data.nidData.responseBody;
|
|
318
|
+
_b = business.data.verify.responseBody || {}, business_id = _b.business_id, entity = _b.entity;
|
|
319
|
+
expiry = (responseBody === null || responseBody === void 0 ? void 0 : responseBody.expiry) || 120;
|
|
320
|
+
interval = 5;
|
|
321
|
+
maxCalls = Math.floor(expiry / interval);
|
|
322
|
+
if (thunkApi.signal.aborted) {
|
|
323
|
+
return [2, { response: null }];
|
|
324
|
+
}
|
|
325
|
+
count = 1;
|
|
326
|
+
_g.label = 1;
|
|
327
|
+
case 1:
|
|
328
|
+
if (!(count <= maxCalls)) return [3, 8];
|
|
329
|
+
return [4, API.authService.getTokenVerify(responseBody === null || responseBody === void 0 ? void 0 : responseBody.verify_token)];
|
|
330
|
+
case 2:
|
|
331
|
+
data = _g.sent();
|
|
332
|
+
isSuccess = ((_c = data.status) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === 'completed';
|
|
333
|
+
if (!isSuccess) return [3, 5];
|
|
334
|
+
return [4, thunkApi.dispatch(retrieveAllEntityList({ businessId: business_id, entityId: entity === null || entity === void 0 ? void 0 : entity.id }))];
|
|
335
|
+
case 3:
|
|
336
|
+
_g.sent();
|
|
337
|
+
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, {});
|
|
338
|
+
(_f = params === null || params === void 0 ? void 0 : params.onSuccess) === null || _f === void 0 ? void 0 : _f.call(params);
|
|
339
|
+
return [4, sleep(3000)];
|
|
340
|
+
case 4:
|
|
341
|
+
_g.sent();
|
|
342
|
+
thunkApi.dispatch(handleNextScreenStep());
|
|
343
|
+
return [2, { response: data }];
|
|
344
|
+
case 5: return [4, sleep(interval * 1000)];
|
|
345
|
+
case 6:
|
|
346
|
+
_g.sent();
|
|
347
|
+
_g.label = 7;
|
|
348
|
+
case 7:
|
|
349
|
+
count++;
|
|
350
|
+
return [3, 1];
|
|
351
|
+
case 8: throw new Error('nafath_verification_failed');
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
}); });
|
|
310
355
|
export var verifyPACI = createAsyncThunk('businessVerifyPACI', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
311
356
|
var _a, settings, business, responseBody, _b, business_id, entity, expiry, interval, maxCalls, count, data, isSuccess;
|
|
312
357
|
var _c, _d, _e, _f;
|
|
@@ -387,7 +432,7 @@ export var updateLeadIdentity = createAsyncThunk('updateLeadIdentity', function
|
|
|
387
432
|
switch (_d.label) {
|
|
388
433
|
case 0:
|
|
389
434
|
_a = thunkApi.getState(), settings = _a.settings, business = _a.business;
|
|
390
|
-
identification_id_type =
|
|
435
|
+
identification_id_type = IDENTIFICATION_TYPE.NAFATH;
|
|
391
436
|
stepName = BUSINESS_STEP_NAMES.IDENTITY_AUTH;
|
|
392
437
|
lead_id = (business.data.verify.responseBody || {}).lead_id;
|
|
393
438
|
countryIso2 = settings.data.businessCountry.iso2;
|
|
@@ -410,7 +455,7 @@ export var updateLeadIdentity = createAsyncThunk('updateLeadIdentity', function
|
|
|
410
455
|
case 1:
|
|
411
456
|
data = _d.sent();
|
|
412
457
|
business_id = data.business_id, entity = data.entity;
|
|
413
|
-
screen = '
|
|
458
|
+
screen = 'BUSINESS_VERIFY_NAFATH_STEP';
|
|
414
459
|
if (!isOtherThanKWOrSA(countryIso2)) return [3, 4];
|
|
415
460
|
screen = 'BUSINESS_BUSINESS_TYPE_STEP';
|
|
416
461
|
return [4, thunkApi.dispatch(retrieveAllEntityList({ businessId: business_id, entityId: entity === null || entity === void 0 ? void 0 : entity.id }))];
|
|
@@ -428,34 +473,6 @@ export var updateLeadIdentity = createAsyncThunk('updateLeadIdentity', function
|
|
|
428
473
|
}
|
|
429
474
|
});
|
|
430
475
|
}); });
|
|
431
|
-
export var resendOTPLeadIdentity = createAsyncThunk('resendOTPLeadIdentity', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
432
|
-
var _a, settings, business, _b, nid, dob, type, stepName, lead_id, date_of_birth, requestBody, data;
|
|
433
|
-
return __generator(this, function (_c) {
|
|
434
|
-
switch (_c.label) {
|
|
435
|
-
case 0:
|
|
436
|
-
_a = thunkApi.getState(), settings = _a.settings, business = _a.business;
|
|
437
|
-
_b = business.data.nidData, nid = _b.nid, dob = _b.dob, type = _b.type;
|
|
438
|
-
stepName = BUSINESS_STEP_NAMES.IDENTITY_AUTH;
|
|
439
|
-
lead_id = (business.data.verify.responseBody || {}).lead_id;
|
|
440
|
-
date_of_birth = dateFormat(new Date(dob));
|
|
441
|
-
requestBody = {
|
|
442
|
-
id: lead_id || '',
|
|
443
|
-
identification: {
|
|
444
|
-
id: nid,
|
|
445
|
-
issued_country_code: settings.data.businessCountry.iso2,
|
|
446
|
-
type: type
|
|
447
|
-
},
|
|
448
|
-
date_of_birth: date_of_birth,
|
|
449
|
-
step_name: stepName,
|
|
450
|
-
encryption_contract: ['identification.issued_country_code', 'identification.id', 'identification.type', 'date_of_birth']
|
|
451
|
-
};
|
|
452
|
-
return [4, API.leadService.updateLead(requestBody)];
|
|
453
|
-
case 1:
|
|
454
|
-
data = _c.sent();
|
|
455
|
-
return [2, data];
|
|
456
|
-
}
|
|
457
|
-
});
|
|
458
|
-
}); });
|
|
459
476
|
export var retrieveEntityList = createAsyncThunk('retrieveEntityList', function (params) { return __awaiter(void 0, void 0, void 0, function () {
|
|
460
477
|
var data;
|
|
461
478
|
return __generator(this, function (_a) {
|
|
@@ -1032,24 +1049,21 @@ export var businessSlice = createSlice({
|
|
|
1032
1049
|
state.loading = false;
|
|
1033
1050
|
state.error = action.error.message;
|
|
1034
1051
|
})
|
|
1035
|
-
.addCase(
|
|
1052
|
+
.addCase(verifyNafath.pending, function (state) {
|
|
1053
|
+
state.loading = true;
|
|
1036
1054
|
state.error = null;
|
|
1037
1055
|
})
|
|
1038
|
-
.addCase(
|
|
1039
|
-
|
|
1056
|
+
.addCase(verifyNafath.fulfilled, function (state, action) {
|
|
1057
|
+
state.loading = false;
|
|
1040
1058
|
state.error = null;
|
|
1041
|
-
|
|
1042
|
-
var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
|
|
1043
|
-
if (description) {
|
|
1044
|
-
state.error = description;
|
|
1045
|
-
return;
|
|
1046
|
-
}
|
|
1047
|
-
state.data.nidData.responseBody = data;
|
|
1048
|
-
state.data.otpData.otp = '';
|
|
1049
|
-
state.data.otpData.isNID = true;
|
|
1059
|
+
state.data.otpData.responseBody = action.payload.response;
|
|
1050
1060
|
})
|
|
1051
|
-
.addCase(
|
|
1052
|
-
state.
|
|
1061
|
+
.addCase(verifyNafath.rejected, function (state, action) {
|
|
1062
|
+
state.loading = false;
|
|
1063
|
+
var error = action.error.message;
|
|
1064
|
+
if (error !== 'Aborted') {
|
|
1065
|
+
state.error = error;
|
|
1066
|
+
}
|
|
1053
1067
|
})
|
|
1054
1068
|
.addCase(retrieveEntityList.pending, function (state) {
|
|
1055
1069
|
state.error = null;
|