@tap-payments/auth-jsconnect 2.11.10-development → 2.11.12-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 +26 -26
- package/build/@types/terminal.d.ts +1 -1
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +17 -17
- package/build/api/availabilityServices.d.ts +6 -6
- package/build/api/axios.d.ts +1 -1
- 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 +3 -3
- package/build/api/entity.d.ts +12 -12
- package/build/api/file.d.ts +3 -3
- package/build/api/firebase.js +1 -1
- package/build/api/index.d.ts +14 -14
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +18 -18
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +3 -3
- package/build/app/settings.d.ts +21 -3
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +4 -4
- package/build/assets/currencies/AEDSymbol.d.ts +2 -2
- package/build/assets/currencies/SARSymbol.d.ts +2 -2
- package/build/assets/currencies/utils.d.ts +1 -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/DeviceCard/DeviceCard.d.ts +2 -2
- 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/TextWithCurrency/TextWithCurrency.d.ts +2 -3
- 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/TruncatedTooltipText/TruncatedTooltipText.d.ts +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/app.d.ts +1 -1
- package/build/features/app/auth/authStore.d.ts +211 -22
- package/build/features/app/auth/authStore.js +12 -10
- 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 +192 -21
- package/build/features/app/business/businessStore.js +1 -1
- package/build/features/app/connect/connectStore.d.ts +186 -23
- package/build/features/app/connect/connectStore.js +24 -11
- package/build/features/app/connectExpress/connectExpressStore.d.ts +317 -37
- package/build/features/app/connectExpress/connectExpressStore.js +24 -11
- 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 +1 -1
- package/build/features/app/kyc/kycStore.d.ts +62 -8
- package/build/features/app/kyc/kycStore.js +1 -1
- 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/app/terminal/terminalStore.d.ts +144 -18
- package/build/features/app/terminal/terminalStore.js +1 -1
- package/build/features/auth/Auth.d.ts +1 -2
- package/build/features/auth/Auth.js +1 -1
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +5 -27
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/DOB/DOB.d.ts +1 -2
- package/build/features/auth/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/auth/screens/Email/Email.d.ts +1 -1
- package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
- package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +5 -13
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/auth/screens/Passcode/Passcode.d.ts +5 -13
- package/build/features/auth/screens/Passcode/PasscodeInput.d.ts +1 -1
- package/build/features/auth/screens/Password/Password.d.ts +1 -1
- package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +1 -2
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -58
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +10 -31
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -8
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +6 -28
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +5 -27
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +19 -70
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +10 -31
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -3
- package/build/features/business/screens/DOB/DOB.d.ts +1 -1
- package/build/features/business/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
- package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +1 -2
- package/build/features/connect/Connect.js +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/DOB/DOB.d.ts +1 -2
- package/build/features/connect/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/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/Title.d.ts +1 -1
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
- package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +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/CollectBusinessInfo/UnifiedNumber.d.ts +5 -27
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/DOB/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +1 -2
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +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/EntityName/validation.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/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/kyc/KYC.d.ts +1 -2
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +1 -1
- package/build/features/kyc/screens/Loading/Loading.d.ts +2 -2
- package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/kyc/screens/Success/Success.d.ts +1 -1
- package/build/features/kyc/screens/Terms/Header.d.ts +1 -1
- package/build/features/kyc/screens/Terms/Terms.d.ts +2 -2
- package/build/features/kyc/screens/TokenError/TokenError.d.ts +1 -1
- package/build/features/kyc/screens/Users/Users.d.ts +1 -1
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +1 -1
- package/build/features/password/Password.d.ts +1 -2
- package/build/features/password/Password.js +1 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
- package/build/features/shared/Address/Address.d.ts +1 -2
- package/build/features/shared/Address/CountryList.d.ts +14 -46
- package/build/features/shared/Address/InputSelect.d.ts +14 -46
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.js +1 -1
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +1 -2
- package/build/features/shared/Button/NafathButton.d.ts +1 -2
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- package/build/features/shared/Calender/Calender.d.ts +1 -2
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
- package/build/features/shared/Chip/Chip.d.ts +1 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +6 -14
- package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
- package/build/features/shared/PushNotification/PushNotification.d.ts +1 -1
- 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/features/terminal/Terminal.d.ts +1 -2
- package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.d.ts +1 -1
- package/build/features/terminal/screens/LinkNewTerminal/styles.d.ts +5 -8
- package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.d.ts +1 -1
- package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.d.ts +1 -1
- package/build/features/terminal/screens/Loading/Loading.d.ts +2 -2
- package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.d.ts +1 -1
- package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.d.ts +9 -32
- package/build/features/terminal/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/terminal/screens/POSDeviceListPage/POSDeviceListPage.d.ts +1 -1
- package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/terminal/screens/TerminalDeviceList/DeviceList.d.ts +1 -1
- package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.d.ts +1 -1
- package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.js +1 -1
- package/build/features/terminal/screens/TerminalDeviceList/styles.d.ts +2 -7
- package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.d.ts +1 -1
- package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.d.ts +1 -1
- package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.d.ts +4 -19
- package/build/features/terminal/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/terminal/screens/Verify/Verify.d.ts +1 -1
- package/build/features/terminal/screens/shared/Header.d.ts +1 -1
- package/build/features/terminal/screens/shared/POSDeviceList.d.ts +1 -1
- package/build/features/terminal/screens/shared/styles.d.ts +37 -176
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +3 -3
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/utils/array.js +1 -1
- package/build/utils/error.d.ts +1 -0
- package/build/utils/error.js +3 -0
- package/package.json +2 -2
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { RootState } from '../../../app/store';
|
|
2
2
|
import { MobileFormValues, NIDFormValues, CivilFormValues, OTPFormValues, IndividualFormValues, SharedState, FlowsTypes, ActionState, CountryCode, AuthForType, BusinessDataFormValues, AsyncThunkParams, AuthenticationListFormValues, AuthMerchantFormValues, DOBFormValues, MobileOwnershipFormValues, AuthForScreen } from '../../../@types';
|
|
3
3
|
import { CancelToken } from 'axios';
|
|
4
|
-
export declare const updateBusinessCountryAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
4
|
+
export declare const updateBusinessCountryAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
5
|
+
state?: unknown;
|
|
6
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
7
|
+
extra?: unknown;
|
|
8
|
+
rejectValue?: unknown;
|
|
9
|
+
serializedErrorType?: unknown;
|
|
10
|
+
pendingMeta?: unknown;
|
|
11
|
+
fulfilledMeta?: unknown;
|
|
12
|
+
rejectedMeta?: unknown;
|
|
13
|
+
}>;
|
|
5
14
|
export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
6
15
|
data: any;
|
|
7
16
|
countryCode: CountryCode;
|
|
@@ -12,31 +21,94 @@ export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").A
|
|
|
12
21
|
countryCode: CountryCode;
|
|
13
22
|
boardInfo: any;
|
|
14
23
|
boardData: any;
|
|
15
|
-
}, string, {
|
|
24
|
+
}, string, {
|
|
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 getLeadByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
17
35
|
data: any;
|
|
18
36
|
countryCode: CountryCode;
|
|
19
|
-
}, string, {
|
|
20
|
-
|
|
37
|
+
}, string, {
|
|
38
|
+
state?: unknown;
|
|
39
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
40
|
+
extra?: unknown;
|
|
41
|
+
rejectValue?: unknown;
|
|
42
|
+
serializedErrorType?: unknown;
|
|
43
|
+
pendingMeta?: unknown;
|
|
44
|
+
fulfilledMeta?: unknown;
|
|
45
|
+
rejectedMeta?: unknown;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const retrieveEntityListAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
48
|
+
state?: unknown;
|
|
49
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
50
|
+
extra?: unknown;
|
|
51
|
+
rejectValue?: unknown;
|
|
52
|
+
serializedErrorType?: unknown;
|
|
53
|
+
pendingMeta?: unknown;
|
|
54
|
+
fulfilledMeta?: unknown;
|
|
55
|
+
rejectedMeta?: unknown;
|
|
56
|
+
}>;
|
|
21
57
|
export declare const retrieveAuthenticationListAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
22
58
|
brandList: any;
|
|
23
59
|
entityList: any;
|
|
24
60
|
}, {
|
|
25
61
|
individualId: string;
|
|
26
|
-
}, {
|
|
62
|
+
}, {
|
|
63
|
+
state?: unknown;
|
|
64
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
65
|
+
extra?: unknown;
|
|
66
|
+
rejectValue?: unknown;
|
|
67
|
+
serializedErrorType?: unknown;
|
|
68
|
+
pendingMeta?: unknown;
|
|
69
|
+
fulfilledMeta?: unknown;
|
|
70
|
+
rejectedMeta?: unknown;
|
|
71
|
+
}>;
|
|
27
72
|
export declare const getMerchantListAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
28
73
|
list: any;
|
|
29
74
|
brandInfo: import("../../../@types").BrandInfo | undefined;
|
|
30
75
|
entityInfo: import("../../../@types").EntityLicenseAuth | undefined;
|
|
31
|
-
}, AuthenticationListFormValues, {
|
|
76
|
+
}, AuthenticationListFormValues, {
|
|
77
|
+
state?: unknown;
|
|
78
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
79
|
+
extra?: unknown;
|
|
80
|
+
rejectValue?: unknown;
|
|
81
|
+
serializedErrorType?: unknown;
|
|
82
|
+
pendingMeta?: unknown;
|
|
83
|
+
fulfilledMeta?: unknown;
|
|
84
|
+
rejectedMeta?: unknown;
|
|
85
|
+
}>;
|
|
32
86
|
export declare const createMobileAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
33
87
|
response: any;
|
|
34
88
|
formData: MobileFormValues;
|
|
35
|
-
}, MobileFormValues, {
|
|
89
|
+
}, MobileFormValues, {
|
|
90
|
+
state?: unknown;
|
|
91
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
92
|
+
extra?: unknown;
|
|
93
|
+
rejectValue?: unknown;
|
|
94
|
+
serializedErrorType?: unknown;
|
|
95
|
+
pendingMeta?: unknown;
|
|
96
|
+
fulfilledMeta?: unknown;
|
|
97
|
+
rejectedMeta?: unknown;
|
|
98
|
+
}>;
|
|
36
99
|
export declare const resendMobileAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
37
100
|
response: any;
|
|
38
101
|
formData: MobileFormValues;
|
|
39
|
-
}, MobileFormValues, {
|
|
102
|
+
}, MobileFormValues, {
|
|
103
|
+
state?: unknown;
|
|
104
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
105
|
+
extra?: unknown;
|
|
106
|
+
rejectValue?: unknown;
|
|
107
|
+
serializedErrorType?: unknown;
|
|
108
|
+
pendingMeta?: unknown;
|
|
109
|
+
fulfilledMeta?: unknown;
|
|
110
|
+
rejectedMeta?: unknown;
|
|
111
|
+
}>;
|
|
40
112
|
export declare const createNafathAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
41
113
|
response: any;
|
|
42
114
|
formData: {
|
|
@@ -45,8 +117,17 @@ export declare const createNafathAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
45
117
|
dob?: any;
|
|
46
118
|
termAndConditionChecked?: boolean | undefined;
|
|
47
119
|
};
|
|
48
|
-
}, NIDFormValues, {
|
|
49
|
-
|
|
120
|
+
}, NIDFormValues, {
|
|
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 VerifyNafathAsyncParams = verifyPACIAsyncParams & {
|
|
50
131
|
showLoadingScreenAfterNafathSuccess: () => void;
|
|
51
132
|
};
|
|
52
133
|
export declare const verifyNafathAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
@@ -55,17 +136,62 @@ export declare const verifyNafathAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
55
136
|
} | {
|
|
56
137
|
data: any;
|
|
57
138
|
isNextScreenIsDob: boolean;
|
|
58
|
-
}, VerifyNafathAsyncParams, {
|
|
139
|
+
}, VerifyNafathAsyncParams, {
|
|
140
|
+
state?: unknown;
|
|
141
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
142
|
+
extra?: unknown;
|
|
143
|
+
rejectValue?: unknown;
|
|
144
|
+
serializedErrorType?: unknown;
|
|
145
|
+
pendingMeta?: unknown;
|
|
146
|
+
fulfilledMeta?: unknown;
|
|
147
|
+
rejectedMeta?: unknown;
|
|
148
|
+
}>;
|
|
59
149
|
export declare const createCivilIdAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
60
150
|
response: any;
|
|
61
151
|
formData: CivilFormValues;
|
|
62
|
-
}, CivilFormValues, {
|
|
63
|
-
|
|
64
|
-
|
|
152
|
+
}, CivilFormValues, {
|
|
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
|
+
}>;
|
|
162
|
+
export declare const verifyMobileOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
163
|
+
state?: unknown;
|
|
164
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
165
|
+
extra?: unknown;
|
|
166
|
+
rejectValue?: unknown;
|
|
167
|
+
serializedErrorType?: unknown;
|
|
168
|
+
pendingMeta?: unknown;
|
|
169
|
+
fulfilledMeta?: unknown;
|
|
170
|
+
rejectedMeta?: unknown;
|
|
171
|
+
}>;
|
|
172
|
+
export declare const verifyPACIAsync: import("@reduxjs/toolkit").AsyncThunk<any, verifyPACIAsyncParams, {
|
|
173
|
+
state?: unknown;
|
|
174
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
175
|
+
extra?: unknown;
|
|
176
|
+
rejectValue?: unknown;
|
|
177
|
+
serializedErrorType?: unknown;
|
|
178
|
+
pendingMeta?: unknown;
|
|
179
|
+
fulfilledMeta?: unknown;
|
|
180
|
+
rejectedMeta?: unknown;
|
|
181
|
+
}>;
|
|
65
182
|
export declare const createCivilIDAuthIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
66
183
|
response: any;
|
|
67
184
|
formData: CivilFormValues;
|
|
68
|
-
}, CivilFormValues, {
|
|
185
|
+
}, CivilFormValues, {
|
|
186
|
+
state?: unknown;
|
|
187
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
188
|
+
extra?: unknown;
|
|
189
|
+
rejectValue?: unknown;
|
|
190
|
+
serializedErrorType?: unknown;
|
|
191
|
+
pendingMeta?: unknown;
|
|
192
|
+
fulfilledMeta?: unknown;
|
|
193
|
+
rejectedMeta?: unknown;
|
|
194
|
+
}>;
|
|
69
195
|
export declare const createNIDNafathAuthIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
70
196
|
response: {
|
|
71
197
|
random: any;
|
|
@@ -73,23 +199,60 @@ export declare const createNIDNafathAuthIdentityAsync: import("@reduxjs/toolkit"
|
|
|
73
199
|
verify_token: any;
|
|
74
200
|
};
|
|
75
201
|
formData: NIDFormValues;
|
|
76
|
-
}, NIDFormValues, {
|
|
202
|
+
}, NIDFormValues, {
|
|
203
|
+
state?: unknown;
|
|
204
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
205
|
+
extra?: unknown;
|
|
206
|
+
rejectValue?: unknown;
|
|
207
|
+
serializedErrorType?: unknown;
|
|
208
|
+
pendingMeta?: unknown;
|
|
209
|
+
fulfilledMeta?: unknown;
|
|
210
|
+
rejectedMeta?: unknown;
|
|
211
|
+
}>;
|
|
77
212
|
export declare const verifyNafathIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
78
213
|
data: any;
|
|
79
214
|
isNextScreenIsDob?: undefined;
|
|
80
215
|
} | {
|
|
81
216
|
data: any;
|
|
82
217
|
isNextScreenIsDob: boolean;
|
|
83
|
-
}, verifyPACIAsyncParams, {
|
|
84
|
-
|
|
218
|
+
}, verifyPACIAsyncParams, {
|
|
219
|
+
state?: unknown;
|
|
220
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
221
|
+
extra?: unknown;
|
|
222
|
+
rejectValue?: unknown;
|
|
223
|
+
serializedErrorType?: unknown;
|
|
224
|
+
pendingMeta?: unknown;
|
|
225
|
+
fulfilledMeta?: unknown;
|
|
226
|
+
rejectedMeta?: unknown;
|
|
227
|
+
}>;
|
|
228
|
+
export declare const verifyPaciLeadIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<any, verifyPACIAsyncParams, {
|
|
229
|
+
state?: unknown;
|
|
230
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
231
|
+
extra?: unknown;
|
|
232
|
+
rejectValue?: unknown;
|
|
233
|
+
serializedErrorType?: unknown;
|
|
234
|
+
pendingMeta?: unknown;
|
|
235
|
+
fulfilledMeta?: unknown;
|
|
236
|
+
rejectedMeta?: unknown;
|
|
237
|
+
}>;
|
|
238
|
+
interface EmailCheckProps {
|
|
239
|
+
email: string;
|
|
240
|
+
cancelToken: CancelToken;
|
|
241
|
+
onSuccess?: () => void;
|
|
242
|
+
}
|
|
85
243
|
export declare const checkEmailAvailabilityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
86
244
|
response: any;
|
|
87
245
|
formData: string;
|
|
88
|
-
} | undefined, {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
246
|
+
} | undefined, EmailCheckProps, {
|
|
247
|
+
state?: unknown;
|
|
248
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
249
|
+
extra?: unknown;
|
|
250
|
+
rejectValue?: unknown;
|
|
251
|
+
serializedErrorType?: unknown;
|
|
252
|
+
pendingMeta?: unknown;
|
|
253
|
+
fulfilledMeta?: unknown;
|
|
254
|
+
rejectedMeta?: unknown;
|
|
255
|
+
}>;
|
|
93
256
|
export declare const checkBrandNameAvailabilityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
94
257
|
response: any;
|
|
95
258
|
formData: {
|
|
@@ -99,20 +262,56 @@ export declare const checkBrandNameAvailabilityAsync: import("@reduxjs/toolkit")
|
|
|
99
262
|
name: string;
|
|
100
263
|
cancelToken: CancelToken;
|
|
101
264
|
onSuccess?: (() => void) | undefined;
|
|
102
|
-
}, {
|
|
265
|
+
}, {
|
|
266
|
+
state?: unknown;
|
|
267
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
268
|
+
extra?: unknown;
|
|
269
|
+
rejectValue?: unknown;
|
|
270
|
+
serializedErrorType?: unknown;
|
|
271
|
+
pendingMeta?: unknown;
|
|
272
|
+
fulfilledMeta?: unknown;
|
|
273
|
+
rejectedMeta?: unknown;
|
|
274
|
+
}>;
|
|
103
275
|
export declare const createAccountAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
104
276
|
accountData: any;
|
|
105
277
|
} | undefined, {
|
|
106
278
|
isRetry: boolean;
|
|
107
|
-
}, {
|
|
279
|
+
}, {
|
|
280
|
+
state?: unknown;
|
|
281
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
282
|
+
extra?: unknown;
|
|
283
|
+
rejectValue?: unknown;
|
|
284
|
+
serializedErrorType?: unknown;
|
|
285
|
+
pendingMeta?: unknown;
|
|
286
|
+
fulfilledMeta?: unknown;
|
|
287
|
+
rejectedMeta?: unknown;
|
|
288
|
+
}>;
|
|
108
289
|
export declare const retrieveDetailsAfterCreateAccountAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
109
290
|
boardInfo: any;
|
|
110
291
|
boardData: any;
|
|
111
|
-
}, void, {
|
|
292
|
+
}, void, {
|
|
293
|
+
state?: unknown;
|
|
294
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
295
|
+
extra?: unknown;
|
|
296
|
+
rejectValue?: unknown;
|
|
297
|
+
serializedErrorType?: unknown;
|
|
298
|
+
pendingMeta?: unknown;
|
|
299
|
+
fulfilledMeta?: unknown;
|
|
300
|
+
rejectedMeta?: unknown;
|
|
301
|
+
}>;
|
|
112
302
|
export declare const createEntity: import("@reduxjs/toolkit").AsyncThunk<{
|
|
113
303
|
data: any;
|
|
114
304
|
formData: AuthenticationListFormValues;
|
|
115
|
-
}, AuthenticationListFormValues, {
|
|
305
|
+
}, AuthenticationListFormValues, {
|
|
306
|
+
state?: unknown;
|
|
307
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
308
|
+
extra?: unknown;
|
|
309
|
+
rejectValue?: unknown;
|
|
310
|
+
serializedErrorType?: unknown;
|
|
311
|
+
pendingMeta?: unknown;
|
|
312
|
+
fulfilledMeta?: unknown;
|
|
313
|
+
rejectedMeta?: unknown;
|
|
314
|
+
}>;
|
|
116
315
|
interface verifyPACIAsyncParams {
|
|
117
316
|
onSuccess: () => void;
|
|
118
317
|
onFailure?: () => void;
|
|
@@ -120,32 +319,113 @@ interface verifyPACIAsyncParams {
|
|
|
120
319
|
export declare const updateLeadDOBAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
121
320
|
response: any;
|
|
122
321
|
formData: DOBFormValues;
|
|
123
|
-
}, DOBFormValues, {
|
|
322
|
+
}, DOBFormValues, {
|
|
323
|
+
state?: unknown;
|
|
324
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
325
|
+
extra?: unknown;
|
|
326
|
+
rejectValue?: unknown;
|
|
327
|
+
serializedErrorType?: unknown;
|
|
328
|
+
pendingMeta?: unknown;
|
|
329
|
+
fulfilledMeta?: unknown;
|
|
330
|
+
rejectedMeta?: unknown;
|
|
331
|
+
}>;
|
|
124
332
|
export declare const updateLeadIndividualAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
125
333
|
response: any;
|
|
126
334
|
formData: IndividualFormValues;
|
|
127
|
-
}, AsyncThunkParams<IndividualFormValues>, {
|
|
335
|
+
}, AsyncThunkParams<IndividualFormValues>, {
|
|
336
|
+
state?: unknown;
|
|
337
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
338
|
+
extra?: unknown;
|
|
339
|
+
rejectValue?: unknown;
|
|
340
|
+
serializedErrorType?: unknown;
|
|
341
|
+
pendingMeta?: unknown;
|
|
342
|
+
fulfilledMeta?: unknown;
|
|
343
|
+
rejectedMeta?: unknown;
|
|
344
|
+
}>;
|
|
128
345
|
export declare const updateLeadBusinessDataAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
129
346
|
response: any;
|
|
130
347
|
formData: BusinessDataFormValues;
|
|
131
|
-
}, AsyncThunkParams<BusinessDataFormValues>, {
|
|
348
|
+
}, AsyncThunkParams<BusinessDataFormValues>, {
|
|
349
|
+
state?: unknown;
|
|
350
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
351
|
+
extra?: unknown;
|
|
352
|
+
rejectValue?: unknown;
|
|
353
|
+
serializedErrorType?: unknown;
|
|
354
|
+
pendingMeta?: unknown;
|
|
355
|
+
fulfilledMeta?: unknown;
|
|
356
|
+
rejectedMeta?: unknown;
|
|
357
|
+
}>;
|
|
132
358
|
export declare const updateLeadMobile: import("@reduxjs/toolkit").AsyncThunk<{
|
|
133
359
|
leadResponse: any;
|
|
134
360
|
formData: MobileOwnershipFormValues;
|
|
135
|
-
}, MobileOwnershipFormValues, {
|
|
361
|
+
}, MobileOwnershipFormValues, {
|
|
362
|
+
state?: unknown;
|
|
363
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
364
|
+
extra?: unknown;
|
|
365
|
+
rejectValue?: unknown;
|
|
366
|
+
serializedErrorType?: unknown;
|
|
367
|
+
pendingMeta?: unknown;
|
|
368
|
+
fulfilledMeta?: unknown;
|
|
369
|
+
rejectedMeta?: unknown;
|
|
370
|
+
}>;
|
|
136
371
|
export declare const skipUpdateLeadMobile: import("@reduxjs/toolkit").AsyncThunk<{
|
|
137
372
|
leadResponse: any;
|
|
138
|
-
}, void, {
|
|
373
|
+
}, void, {
|
|
374
|
+
state?: unknown;
|
|
375
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
376
|
+
extra?: unknown;
|
|
377
|
+
rejectValue?: unknown;
|
|
378
|
+
serializedErrorType?: unknown;
|
|
379
|
+
pendingMeta?: unknown;
|
|
380
|
+
fulfilledMeta?: unknown;
|
|
381
|
+
rejectedMeta?: unknown;
|
|
382
|
+
}>;
|
|
139
383
|
export declare const verifyAuthMobileOtpAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
140
384
|
data: any;
|
|
141
|
-
}, OTPFormValues, {
|
|
142
|
-
|
|
385
|
+
}, OTPFormValues, {
|
|
386
|
+
state?: unknown;
|
|
387
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
388
|
+
extra?: unknown;
|
|
389
|
+
rejectValue?: unknown;
|
|
390
|
+
serializedErrorType?: unknown;
|
|
391
|
+
pendingMeta?: unknown;
|
|
392
|
+
fulfilledMeta?: unknown;
|
|
393
|
+
rejectedMeta?: unknown;
|
|
394
|
+
}>;
|
|
395
|
+
export declare const resendLeadMobileAuthOTP: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
396
|
+
state?: unknown;
|
|
397
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
398
|
+
extra?: unknown;
|
|
399
|
+
rejectValue?: unknown;
|
|
400
|
+
serializedErrorType?: unknown;
|
|
401
|
+
pendingMeta?: unknown;
|
|
402
|
+
fulfilledMeta?: unknown;
|
|
403
|
+
rejectedMeta?: unknown;
|
|
404
|
+
}>;
|
|
143
405
|
export declare const confirmInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
144
406
|
boardInfo: any;
|
|
145
407
|
boardData: any;
|
|
146
408
|
confirmData: any;
|
|
147
|
-
} | undefined, AuthenticationListFormValues & AuthMerchantFormValues, {
|
|
148
|
-
|
|
409
|
+
} | undefined, AuthenticationListFormValues & AuthMerchantFormValues, {
|
|
410
|
+
state?: unknown;
|
|
411
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
412
|
+
extra?: unknown;
|
|
413
|
+
rejectValue?: unknown;
|
|
414
|
+
serializedErrorType?: unknown;
|
|
415
|
+
pendingMeta?: unknown;
|
|
416
|
+
fulfilledMeta?: unknown;
|
|
417
|
+
rejectedMeta?: unknown;
|
|
418
|
+
}>;
|
|
419
|
+
export declare const onCloseCompleteAsync: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
420
|
+
state?: unknown;
|
|
421
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
422
|
+
extra?: unknown;
|
|
423
|
+
rejectValue?: unknown;
|
|
424
|
+
serializedErrorType?: unknown;
|
|
425
|
+
pendingMeta?: unknown;
|
|
426
|
+
fulfilledMeta?: unknown;
|
|
427
|
+
rejectedMeta?: unknown;
|
|
428
|
+
}>;
|
|
149
429
|
interface ResponseData {
|
|
150
430
|
responseData?: Record<string, any>;
|
|
151
431
|
}
|
|
@@ -191,7 +471,7 @@ export declare const connectSlice: import("@reduxjs/toolkit").Slice<ConnectExpre
|
|
|
191
471
|
resetStore: (state: ConnectExpressState) => void;
|
|
192
472
|
resetIndividualScreen: (state: ConnectExpressState) => void;
|
|
193
473
|
}, "connectExpress/store">;
|
|
194
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
474
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/stopLoader">, setIsLeadIdPassed: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "connectExpress/store/setIsLeadIdPassed">, resetMobileScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, "connectExpress/store/resetMobileScreen">, resetOTPValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetOTPValue">, resetVerifyAuthOTPValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetVerifyAuthOTPValue">, resetNIDScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetNIDScreen">, resetCivilScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetCivilScreen">, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetStore">, setError: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "connectExpress/store/setError">, setLeadId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "connectExpress/store/setLeadId">, resetIndividualScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetIndividualScreen">, setDefaultCountryCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, "connectExpress/store/setDefaultCountryCode">, storeIsStartFromBusinessCountry: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "connectExpress/store/storeIsStartFromBusinessCountry">, resetAuthenticationScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetAuthenticationScreen">;
|
|
195
475
|
declare const _default: import("redux").Reducer<ConnectExpressState, import("redux").AnyAction>;
|
|
196
476
|
export default _default;
|
|
197
477
|
export declare const connectExpressSelector: (state: RootState) => ConnectExpressState;
|
|
@@ -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]) {
|
|
@@ -61,7 +61,7 @@ import { FlowsTypes, AuthForType, BusinessType, LicenseType, AuthForScreen } fro
|
|
|
61
61
|
import API from '../../../api';
|
|
62
62
|
import { ADD_NEW_ENTITY, COLLECT_DOB_INFO_NAFATH, CONNECT_EXPRESS_STEP_NAMES, IDENTIFICATION_TYPE, NAFATH_PACI_TIMEOUT_DURATION, NAFATH_VERIFICATION_FAILED, OTHER_CR_LICENSE, OTHER_FL_LICENSE, SCOPE_AUTH, SCOPE_MERCHANT } from '../../../constants';
|
|
63
63
|
import { defaultCountry } from '../../../constants';
|
|
64
|
-
import { getIndividualName, capitalizeTheFirstLetterOfEachWord, sleep, findCountryByIddPrefix, concatenateObjectValues, isSA, isKW, isOtherThanKWOrSA, sendCustomEventToGTM, sendCustomDimension, getMetaData, isNetworkError, isTimeoutError } from '../../../utils';
|
|
64
|
+
import { getIndividualName, capitalizeTheFirstLetterOfEachWord, sleep, findCountryByIddPrefix, concatenateObjectValues, isSA, isKW, isOtherThanKWOrSA, sendCustomEventToGTM, sendCustomDimension, getMetaData, isNetworkError, isTimeoutError, isInternalServerError } from '../../../utils';
|
|
65
65
|
export var updateBusinessCountryAsync = createAsyncThunk('connectExpress/updateBusinessCountryAsync', function (countryCode, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
66
66
|
var connectExpress, payload, data;
|
|
67
67
|
return __generator(this, function (_a) {
|
|
@@ -838,23 +838,36 @@ export var verifyPaciLeadIdentityAsync = createAsyncThunk('connectExpress/verify
|
|
|
838
838
|
export var checkEmailAvailabilityAsync = createAsyncThunk('connectExpress/CheckEmailAvailabilityAsync', function (_a, thunkApi) {
|
|
839
839
|
var email = _a.email, cancelToken = _a.cancelToken, onSuccess = _a.onSuccess;
|
|
840
840
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
841
|
-
var
|
|
842
|
-
var _b, _c;
|
|
843
|
-
return __generator(this, function (
|
|
844
|
-
switch (
|
|
841
|
+
var responseData, requestBody, data, retryData;
|
|
842
|
+
var _b, _c, _d, _e, _f;
|
|
843
|
+
return __generator(this, function (_g) {
|
|
844
|
+
switch (_g.label) {
|
|
845
845
|
case 0:
|
|
846
|
-
|
|
846
|
+
responseData = thunkApi.getState().connectExpress.data.responseData;
|
|
847
847
|
requestBody = {
|
|
848
848
|
email: email,
|
|
849
|
-
country: (
|
|
849
|
+
country: (_b = responseData === null || responseData === void 0 ? void 0 : responseData.leadData) === null || _b === void 0 ? void 0 : _b.country_code,
|
|
850
850
|
encryption_contract: ['email']
|
|
851
851
|
};
|
|
852
852
|
return [4, API.availabilityServices.checkEmail(requestBody, { cancelToken: cancelToken })];
|
|
853
853
|
case 1:
|
|
854
|
-
data = (
|
|
855
|
-
|
|
856
|
-
|
|
854
|
+
data = (_g.sent()).data;
|
|
855
|
+
if (!data.errors) {
|
|
856
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess();
|
|
857
857
|
return [2, { response: data, formData: email }];
|
|
858
|
+
}
|
|
859
|
+
if (!isInternalServerError((_d = (_c = data.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.error)) {
|
|
860
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess();
|
|
861
|
+
return [2];
|
|
862
|
+
}
|
|
863
|
+
return [4, API.availabilityServices.checkEmail(requestBody, { cancelToken: cancelToken })];
|
|
864
|
+
case 2:
|
|
865
|
+
retryData = (_g.sent()).data;
|
|
866
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess();
|
|
867
|
+
if (!retryData.errors)
|
|
868
|
+
return [2, { response: retryData, formData: email }];
|
|
869
|
+
if (isInternalServerError((_f = (_e = retryData.errors) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.error))
|
|
870
|
+
return [2, { response: { is_available: true }, formData: email }];
|
|
858
871
|
return [2];
|
|
859
872
|
}
|
|
860
873
|
});
|