@tap-payments/auth-jsconnect 2.8.91-development → 2.8.95-development
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/app.d.ts +19 -17
- package/build/@types/config.d.ts +1 -1
- package/build/@types/form.d.ts +26 -23
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +14 -14
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +8 -8
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +10 -10
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +13 -13
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +2 -2
- package/build/app/settings.d.ts +3 -21
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +4 -4
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Error.d.ts +2 -1
- package/build/components/AnimationFlow/Loader.d.ts +2 -1
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +2 -1
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -1
- package/build/components/FileInput/DragAndDrop.d.ts +2 -1
- package/build/components/FileInput/UploadInput.d.ts +2 -1
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
- package/build/components/ProgressBar/CircularProgressBar.d.ts +2 -1
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/Radio/Radio.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.d.ts +1 -1
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/Text/Text.d.ts +1 -1
- package/build/components/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 +6 -1
- package/build/constants/app.js +43 -8
- package/build/features/app/auth/authStore.d.ts +26 -192
- package/build/features/app/auth/authStore.js +87 -29
- package/build/features/app/bank/bankStore.d.ts +12 -93
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/board/boardStore.d.ts +5 -41
- package/build/features/app/board/boardStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +17 -143
- package/build/features/app/brand/brandStore.js +1 -1
- package/build/features/app/business/businessStore.d.ts +33 -164
- package/build/features/app/business/businessStore.js +55 -8
- package/build/features/app/connect/connectStore.d.ts +27 -153
- package/build/features/app/connect/connectStore.js +53 -6
- package/build/features/app/connectExpress/connectExpressStore.d.ts +48 -263
- package/build/features/app/connectExpress/connectExpressStore.js +74 -14
- package/build/features/app/entity/entityStore.d.ts +12 -93
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +24 -186
- package/build/features/app/individual/individualStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +15 -123
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +7 -61
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +11 -83
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/auth/Auth.d.ts +2 -1
- package/build/features/auth/Auth.js +10 -2
- 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 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/DOB/DOB.d.ts +6 -0
- package/build/features/auth/screens/DOB/DOB.js +47 -0
- package/build/features/auth/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/auth/screens/DOB/DOBForm.js +59 -0
- package/build/features/auth/screens/DOB/index.d.ts +3 -0
- package/build/features/auth/screens/DOB/index.js +2 -0
- package/build/features/auth/screens/DOB/validation.d.ts +8 -0
- package/build/features/auth/screens/DOB/validation.js +4 -0
- 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 +1 -1
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/auth/screens/Password/Password.d.ts +1 -1
- package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +2 -1
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +58 -15
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +31 -10
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +8 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -2
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +3 -3
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +2 -1
- package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +2 -1
- package/build/features/business/screens/Activities/Activities.d.ts +2 -1
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +13 -5
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +13 -5
- package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/BusinessType.js +2 -2
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +2 -1
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +2 -1
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +28 -6
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +70 -19
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +31 -10
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +3 -2
- package/build/features/business/screens/DOB/DOB.d.ts +6 -0
- package/build/features/business/screens/DOB/DOB.js +45 -0
- package/build/features/business/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/business/screens/DOB/DOBForm.js +69 -0
- package/build/features/business/screens/DOB/index.d.ts +3 -0
- package/build/features/business/screens/DOB/index.js +2 -0
- package/build/features/business/screens/DOB/validation.d.ts +8 -0
- package/build/features/business/screens/DOB/validation.js +4 -0
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +2 -1
- package/build/features/connect/Connect.js +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +2 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/DOB/DOB.d.ts +6 -0
- package/build/features/connect/screens/DOB/DOB.js +47 -0
- package/build/features/connect/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/connect/screens/DOB/DOBForm.js +59 -0
- package/build/features/connect/screens/DOB/index.d.ts +3 -0
- package/build/features/connect/screens/DOB/index.js +2 -0
- package/build/features/connect/screens/DOB/validation.d.ts +8 -0
- package/build/features/connect/screens/DOB/validation.js +4 -0
- 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/Individual.js +10 -3
- 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 +3 -3
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +2 -1
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +2 -1
- package/build/features/connectExpress/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +3 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +28 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -3
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +21 -4
- 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 +6 -0
- package/build/features/connectExpress/screens/DOB/DOB.js +47 -0
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/connectExpress/screens/DOB/DOBForm.js +63 -0
- package/build/features/connectExpress/screens/DOB/index.d.ts +3 -0
- package/build/features/connectExpress/screens/DOB/index.js +2 -0
- package/build/features/connectExpress/screens/DOB/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/DOB/validation.js +4 -0
- 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/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +8 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +2 -1
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +2 -1
- package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
- package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +58 -15
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -1
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/featuresScreens.js +20 -0
- package/build/features/individual/Individual.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +27 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +25 -9
- package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +28 -6
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/password/Password.d.ts +2 -1
- package/build/features/password/Password.js +1 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +2 -1
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +2 -1
- package/build/features/shared/Address/Address.d.ts +2 -1
- package/build/features/shared/Address/CountryList.d.ts +46 -14
- package/build/features/shared/Address/InputSelect.d.ts +46 -14
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.d.ts +2 -1
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.js +1 -1
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +2 -1
- package/build/features/shared/Button/NafathButton.d.ts +2 -1
- package/build/features/shared/Button/SuccessButton.d.ts +2 -1
- package/build/features/shared/Calender/Calender.d.ts +2 -1
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +3 -2
- package/build/features/shared/Chip/Chip.d.ts +2 -1
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +2 -1
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +2 -1
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
- package/build/features/shared/Footer/Footer.d.ts +2 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +14 -6
- package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
- package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +2 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +2 -1
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +9 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
- package/build/features/signIn/SignIn.d.ts +2 -1
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +2 -1
- package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +3 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -2
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +3 -3
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/utils/array.js +1 -1
- package/build/utils/validation.d.ts +1 -0
- package/build/utils/validation.js +3 -0
- package/package.json +1 -1
|
@@ -1,52 +1,16 @@
|
|
|
1
1
|
import { RootState } from '../../../app/store';
|
|
2
|
-
import { ActionState, AuthForType, CivilFormValues, CountryCode, FlowsTypes, IndividualFormValues, MobileFormValues, NIDFormValues, OTPFormValues, ResponseData, SharedState, BrandFormValues, BrandSegmentFormValues } from '../../../@types';
|
|
2
|
+
import { ActionState, AuthForType, CivilFormValues, CountryCode, FlowsTypes, IndividualFormValues, MobileFormValues, NIDFormValues, OTPFormValues, ResponseData, SharedState, BrandFormValues, BrandSegmentFormValues, DOBFormValues } from '../../../@types';
|
|
3
3
|
import { CancelToken } from 'axios';
|
|
4
|
-
export declare const updateBusinessCountry: 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
|
-
}>;
|
|
4
|
+
export declare const updateBusinessCountry: import("@reduxjs/toolkit").AsyncThunk<any, string, {}>;
|
|
14
5
|
export declare const createMobileAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
15
6
|
response: any;
|
|
16
7
|
formData: MobileFormValues;
|
|
17
|
-
}, MobileFormValues, {
|
|
18
|
-
state?: unknown;
|
|
19
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
20
|
-
extra?: unknown;
|
|
21
|
-
rejectValue?: unknown;
|
|
22
|
-
serializedErrorType?: unknown;
|
|
23
|
-
pendingMeta?: unknown;
|
|
24
|
-
fulfilledMeta?: unknown;
|
|
25
|
-
rejectedMeta?: unknown;
|
|
26
|
-
}>;
|
|
8
|
+
}, MobileFormValues, {}>;
|
|
27
9
|
export declare const createCivilIdAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
28
10
|
response: any;
|
|
29
11
|
formData: CivilFormValues;
|
|
30
|
-
}, CivilFormValues, {
|
|
31
|
-
|
|
32
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
33
|
-
extra?: unknown;
|
|
34
|
-
rejectValue?: unknown;
|
|
35
|
-
serializedErrorType?: unknown;
|
|
36
|
-
pendingMeta?: unknown;
|
|
37
|
-
fulfilledMeta?: unknown;
|
|
38
|
-
rejectedMeta?: unknown;
|
|
39
|
-
}>;
|
|
40
|
-
export declare const resendOTPMobile: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
41
|
-
state?: unknown;
|
|
42
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
43
|
-
extra?: unknown;
|
|
44
|
-
rejectValue?: unknown;
|
|
45
|
-
serializedErrorType?: unknown;
|
|
46
|
-
pendingMeta?: unknown;
|
|
47
|
-
fulfilledMeta?: unknown;
|
|
48
|
-
rejectedMeta?: unknown;
|
|
49
|
-
}>;
|
|
12
|
+
}, CivilFormValues, {}>;
|
|
13
|
+
export declare const resendOTPMobile: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
|
|
50
14
|
export declare const createNafathAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
51
15
|
response: any;
|
|
52
16
|
formData: {
|
|
@@ -55,30 +19,12 @@ export declare const createNafathAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
55
19
|
dob?: any;
|
|
56
20
|
termAndConditionChecked?: boolean | undefined;
|
|
57
21
|
};
|
|
58
|
-
}, NIDFormValues, {
|
|
59
|
-
state?: unknown;
|
|
60
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
61
|
-
extra?: unknown;
|
|
62
|
-
rejectValue?: unknown;
|
|
63
|
-
serializedErrorType?: unknown;
|
|
64
|
-
pendingMeta?: unknown;
|
|
65
|
-
fulfilledMeta?: unknown;
|
|
66
|
-
rejectedMeta?: unknown;
|
|
67
|
-
}>;
|
|
22
|
+
}, NIDFormValues, {}>;
|
|
68
23
|
export declare const verifyAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
69
24
|
authResponse: any;
|
|
70
25
|
leadResponse: any;
|
|
71
26
|
countryCode: CountryCode;
|
|
72
|
-
}, OTPFormValues, {
|
|
73
|
-
state?: unknown;
|
|
74
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
75
|
-
extra?: unknown;
|
|
76
|
-
rejectValue?: unknown;
|
|
77
|
-
serializedErrorType?: unknown;
|
|
78
|
-
pendingMeta?: unknown;
|
|
79
|
-
fulfilledMeta?: unknown;
|
|
80
|
-
rejectedMeta?: unknown;
|
|
81
|
-
}>;
|
|
27
|
+
}, OTPFormValues, {}>;
|
|
82
28
|
interface verifyPACIParams {
|
|
83
29
|
onSuccess?: () => void;
|
|
84
30
|
}
|
|
@@ -86,16 +32,7 @@ export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
86
32
|
authResponse: any;
|
|
87
33
|
leadResponse: any;
|
|
88
34
|
countryCode: CountryCode;
|
|
89
|
-
}, verifyPACIParams, {
|
|
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
|
-
}>;
|
|
35
|
+
}, verifyPACIParams, {}>;
|
|
99
36
|
interface verifyNafathParams {
|
|
100
37
|
onSuccess?: () => void;
|
|
101
38
|
onFailure?: () => void;
|
|
@@ -104,49 +41,28 @@ export declare const verifyNafath: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
104
41
|
authResponse: any;
|
|
105
42
|
countryCode: CountryCode;
|
|
106
43
|
leadResponse?: undefined;
|
|
44
|
+
isNextScreenDob?: undefined;
|
|
107
45
|
} | {
|
|
108
46
|
authResponse: any;
|
|
109
47
|
leadResponse: any;
|
|
110
48
|
countryCode: CountryCode;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
pendingMeta?: unknown;
|
|
118
|
-
fulfilledMeta?: unknown;
|
|
119
|
-
rejectedMeta?: unknown;
|
|
120
|
-
}>;
|
|
49
|
+
isNextScreenDob: boolean;
|
|
50
|
+
}, verifyNafathParams, {}>;
|
|
51
|
+
export declare const updateLeadDOB: import("@reduxjs/toolkit").AsyncThunk<{
|
|
52
|
+
leadResponse: any;
|
|
53
|
+
formData: DOBFormValues;
|
|
54
|
+
}, DOBFormValues, {}>;
|
|
121
55
|
export declare const updateLeadIndividual: import("@reduxjs/toolkit").AsyncThunk<{
|
|
122
56
|
leadResponse: any;
|
|
123
57
|
formData: IndividualFormValues;
|
|
124
|
-
}, IndividualFormValues, {
|
|
125
|
-
state?: unknown;
|
|
126
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
127
|
-
extra?: unknown;
|
|
128
|
-
rejectValue?: unknown;
|
|
129
|
-
serializedErrorType?: unknown;
|
|
130
|
-
pendingMeta?: unknown;
|
|
131
|
-
fulfilledMeta?: unknown;
|
|
132
|
-
rejectedMeta?: unknown;
|
|
133
|
-
}>;
|
|
58
|
+
}, IndividualFormValues, {}>;
|
|
134
59
|
export declare const retrieveLead: import("@reduxjs/toolkit").AsyncThunk<{
|
|
135
60
|
data: any;
|
|
136
61
|
countryCode: CountryCode;
|
|
137
62
|
}, {
|
|
138
63
|
leadId: string;
|
|
139
64
|
isRedirect?: boolean | undefined;
|
|
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
|
-
}>;
|
|
65
|
+
}, {}>;
|
|
150
66
|
export declare const updateLeadBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
151
67
|
response: any;
|
|
152
68
|
formData: BrandFormValues & {
|
|
@@ -154,29 +70,11 @@ export declare const updateLeadBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
154
70
|
};
|
|
155
71
|
}, BrandFormValues & {
|
|
156
72
|
isNewBrand: boolean;
|
|
157
|
-
}, {
|
|
158
|
-
state?: unknown;
|
|
159
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
160
|
-
extra?: unknown;
|
|
161
|
-
rejectValue?: unknown;
|
|
162
|
-
serializedErrorType?: unknown;
|
|
163
|
-
pendingMeta?: unknown;
|
|
164
|
-
fulfilledMeta?: unknown;
|
|
165
|
-
rejectedMeta?: unknown;
|
|
166
|
-
}>;
|
|
73
|
+
}, {}>;
|
|
167
74
|
export declare const updateLeadBrandSegment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
168
75
|
response: any;
|
|
169
76
|
formData: Pick<BrandSegmentFormValues, "teamSize">;
|
|
170
|
-
}, Pick<BrandSegmentFormValues, "teamSize">, {
|
|
171
|
-
state?: unknown;
|
|
172
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
173
|
-
extra?: unknown;
|
|
174
|
-
rejectValue?: unknown;
|
|
175
|
-
serializedErrorType?: unknown;
|
|
176
|
-
pendingMeta?: unknown;
|
|
177
|
-
fulfilledMeta?: unknown;
|
|
178
|
-
rejectedMeta?: unknown;
|
|
179
|
-
}>;
|
|
77
|
+
}, Pick<BrandSegmentFormValues, "teamSize">, {}>;
|
|
180
78
|
export declare const checkEmailAvailability: import("@reduxjs/toolkit").AsyncThunk<{
|
|
181
79
|
response: any;
|
|
182
80
|
formData: string;
|
|
@@ -184,16 +82,7 @@ export declare const checkEmailAvailability: import("@reduxjs/toolkit").AsyncThu
|
|
|
184
82
|
email: string;
|
|
185
83
|
cancelToken: CancelToken;
|
|
186
84
|
onSuccess?: (() => void) | undefined;
|
|
187
|
-
}, {
|
|
188
|
-
state?: unknown;
|
|
189
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
190
|
-
extra?: unknown;
|
|
191
|
-
rejectValue?: unknown;
|
|
192
|
-
serializedErrorType?: unknown;
|
|
193
|
-
pendingMeta?: unknown;
|
|
194
|
-
fulfilledMeta?: unknown;
|
|
195
|
-
rejectedMeta?: unknown;
|
|
196
|
-
}>;
|
|
85
|
+
}, {}>;
|
|
197
86
|
export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").AsyncThunk<{
|
|
198
87
|
response: any;
|
|
199
88
|
formData: {
|
|
@@ -203,29 +92,11 @@ export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").Asyn
|
|
|
203
92
|
name: string;
|
|
204
93
|
cancelToken: CancelToken;
|
|
205
94
|
onSuccess?: (() => void) | undefined;
|
|
206
|
-
}, {
|
|
207
|
-
state?: unknown;
|
|
208
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
209
|
-
extra?: unknown;
|
|
210
|
-
rejectValue?: unknown;
|
|
211
|
-
serializedErrorType?: unknown;
|
|
212
|
-
pendingMeta?: unknown;
|
|
213
|
-
fulfilledMeta?: unknown;
|
|
214
|
-
rejectedMeta?: unknown;
|
|
215
|
-
}>;
|
|
95
|
+
}, {}>;
|
|
216
96
|
export declare const updateLeadSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
217
97
|
response: any;
|
|
218
98
|
formData: void;
|
|
219
|
-
}, void, {
|
|
220
|
-
state?: unknown;
|
|
221
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
222
|
-
extra?: unknown;
|
|
223
|
-
rejectValue?: unknown;
|
|
224
|
-
serializedErrorType?: unknown;
|
|
225
|
-
pendingMeta?: unknown;
|
|
226
|
-
fulfilledMeta?: unknown;
|
|
227
|
-
rejectedMeta?: unknown;
|
|
228
|
-
}>;
|
|
99
|
+
}, void, {}>;
|
|
229
100
|
export interface ConnectData {
|
|
230
101
|
leadId: string;
|
|
231
102
|
mobileData: (MobileFormValues | undefined) & ResponseData;
|
|
@@ -236,7 +107,10 @@ export interface ConnectData {
|
|
|
236
107
|
otpData: OTPFormValues & ResponseData & {
|
|
237
108
|
authFor: AuthForType;
|
|
238
109
|
};
|
|
239
|
-
|
|
110
|
+
dobData: DOBFormValues & ResponseData;
|
|
111
|
+
individualData: IndividualFormValues & ResponseData & {
|
|
112
|
+
isPrevDob?: boolean;
|
|
113
|
+
};
|
|
240
114
|
brandData: BrandFormValues & ResponseData;
|
|
241
115
|
brandSegmentData: Pick<BrandSegmentFormValues, 'teamSize'> & ResponseData;
|
|
242
116
|
flowName: FlowsTypes;
|
|
@@ -259,7 +133,7 @@ export declare const connectSlice: import("@reduxjs/toolkit").Slice<ConnectState
|
|
|
259
133
|
setDefaultCountryCode: (state: ConnectState, action: ActionState<CountryCode>) => void;
|
|
260
134
|
resetStore: (state: ConnectState) => void;
|
|
261
135
|
}, "connect/store">;
|
|
262
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
136
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, storeLeadId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetMobileScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetIndividualScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetMerchantScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetNIDScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetCivilScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setDefaultCountryCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>, storeIsStartFromBusinessCountry: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
263
137
|
declare const _default: import("redux").Reducer<ConnectState, import("redux").AnyAction>;
|
|
264
138
|
export default _default;
|
|
265
139
|
export declare const connectSelector: (state: RootState) => ConnectState;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -68,7 +68,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
68
68
|
var _a;
|
|
69
69
|
import API from '../../../api';
|
|
70
70
|
import { handleCurrentActiveScreen, handleNextScreenStep, handleSetCountryByIso2 } from '../../../app/settings';
|
|
71
|
-
import { CONNECT_STEP_NAMES, defaultCountry, IDENTIFICATION_TYPE, NAFATH_VERIFICATION_FAILED, OTHER_BRAND } from '../../../constants';
|
|
71
|
+
import { COLLECT_DOB_INFO_NAFATH, CONNECT_STEP_NAMES, defaultCountry, IDENTIFICATION_TYPE, NAFATH_VERIFICATION_FAILED, OTHER_BRAND } from '../../../constants';
|
|
72
72
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
73
73
|
import { AuthForType, FlowsTypes } from '../../../@types';
|
|
74
74
|
import { capitalizeTheFirstLetterOfEachWord, concatenateObjectValues, findCountryByIddPrefix, fixBrandList, isTwitter, getIndividualName, isWebsite, sleep, sendCustomEventToGTM, isOtherThanKWOrSA, isKW, findCountryByIso2, getMetaData } from '../../../utils';
|
|
@@ -359,7 +359,7 @@ export var verifyPACI = createAsyncThunk('connect/verifyPACI', function (params,
|
|
|
359
359
|
});
|
|
360
360
|
}); });
|
|
361
361
|
export var verifyNafath = createAsyncThunk('connect/verifyNafath', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
362
|
-
var _a, settings, connect, responseBody, expiry, interval, maxCalls, count, authResponse, isSuccess, isFailed, countryCode, lead_id, leadResponse, channels, brand, err_5, brands, err_6, phone;
|
|
362
|
+
var _a, settings, connect, responseBody, expiry, interval, maxCalls, count, authResponse, isSuccess, isFailed, countryCode, lead_id, leadResponse, channels, brand, err_5, brands, err_6, phone, isNextScreenDob, stepName;
|
|
363
363
|
var _b, _c, _d, _e, _f, _g, _h;
|
|
364
364
|
return __generator(this, function (_j) {
|
|
365
365
|
switch (_j.label) {
|
|
@@ -429,8 +429,10 @@ export var verifyNafath = createAsyncThunk('connect/verifyNafath', function (par
|
|
|
429
429
|
if (phone === null || phone === void 0 ? void 0 : phone.country_code)
|
|
430
430
|
countryCode = findCountryByIddPrefix(settings.data.countries, phone.country_code);
|
|
431
431
|
(_h = (_g = settings.data.appConfig).onStepCompleted) === null || _h === void 0 ? void 0 : _h.call(_g, settings.data.activeScreen.name, {});
|
|
432
|
-
|
|
433
|
-
|
|
432
|
+
isNextScreenDob = (authResponse === null || authResponse === void 0 ? void 0 : authResponse.step_name) === COLLECT_DOB_INFO_NAFATH;
|
|
433
|
+
stepName = isNextScreenDob ? 'CONNECT_DOB_STEP' : 'CONNECT_INDIVIDUAL_STEP';
|
|
434
|
+
thunkApi.dispatch(handleNextScreenStep(stepName));
|
|
435
|
+
return [2, { authResponse: authResponse, leadResponse: leadResponse, countryCode: countryCode, isNextScreenDob: isNextScreenDob }];
|
|
434
436
|
case 13: return [4, sleep(interval * 1000)];
|
|
435
437
|
case 14:
|
|
436
438
|
_j.sent();
|
|
@@ -442,6 +444,31 @@ export var verifyNafath = createAsyncThunk('connect/verifyNafath', function (par
|
|
|
442
444
|
}
|
|
443
445
|
});
|
|
444
446
|
}); });
|
|
447
|
+
export var updateLeadDOB = createAsyncThunk('connect/updateLeadDOB', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
448
|
+
var _a, settings, connect, lead_id, brandData, payload, leadResponse;
|
|
449
|
+
var _b, _c;
|
|
450
|
+
return __generator(this, function (_d) {
|
|
451
|
+
switch (_d.label) {
|
|
452
|
+
case 0:
|
|
453
|
+
_a = thunkApi.getState(), settings = _a.settings, connect = _a.connect;
|
|
454
|
+
lead_id = (connect.data.otpData.responseBody || {}).lead_id;
|
|
455
|
+
brandData = (connect.data.brandData.responseBody || {}).brandData;
|
|
456
|
+
payload = {
|
|
457
|
+
id: lead_id || '',
|
|
458
|
+
date_of_birth: params.dob,
|
|
459
|
+
step_name: CONNECT_STEP_NAMES.UPDATE_LEAD_DOB,
|
|
460
|
+
encryption_contract: ['date_of_birth']
|
|
461
|
+
};
|
|
462
|
+
return [4, API.leadService.updateLead(payload)];
|
|
463
|
+
case 1:
|
|
464
|
+
leadResponse = _d.sent();
|
|
465
|
+
leadResponse.brand = __assign(__assign({}, leadResponse.brand), brandData);
|
|
466
|
+
(_c = (_b = settings.data.appConfig).onStepCompleted) === null || _c === void 0 ? void 0 : _c.call(_b, settings.data.activeScreen.name, params);
|
|
467
|
+
thunkApi.dispatch(handleNextScreenStep());
|
|
468
|
+
return [2, { leadResponse: leadResponse, formData: params }];
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
}); });
|
|
445
472
|
export var updateLeadIndividual = createAsyncThunk('updateLeadIndividual', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
446
473
|
var _a, settings, connect, lead_id, brandData, phoneCountry, payload, leadResponse;
|
|
447
474
|
var _b, _c, _d, _e, _f;
|
|
@@ -743,7 +770,11 @@ var initialState = {
|
|
|
743
770
|
otp: '',
|
|
744
771
|
authFor: AuthForType.MOBILE
|
|
745
772
|
},
|
|
773
|
+
dobData: {
|
|
774
|
+
dob: ''
|
|
775
|
+
},
|
|
746
776
|
individualData: {
|
|
777
|
+
isPrevDob: false,
|
|
747
778
|
name: '',
|
|
748
779
|
email: '',
|
|
749
780
|
mobile: '',
|
|
@@ -925,7 +956,7 @@ export var connectSlice = createSlice({
|
|
|
925
956
|
var _a;
|
|
926
957
|
state.loading = false;
|
|
927
958
|
state.error = null;
|
|
928
|
-
var _b = action.payload, authResponse = _b.authResponse, leadResponse = _b.leadResponse, countryCode = _b.countryCode;
|
|
959
|
+
var _b = action.payload, authResponse = _b.authResponse, leadResponse = _b.leadResponse, countryCode = _b.countryCode, isNextScreenDob = _b.isNextScreenDob;
|
|
929
960
|
var _c = leadResponse || {}, name = _c.name, contact = _c.contact, brand = _c.brand, brand_list = _c.brand_list, channel_list = _c.channel_list, is_new_individual = _c.is_new_individual, id = _c.id;
|
|
930
961
|
var _d = contact || {}, email = _d.email, phone = _d.phone;
|
|
931
962
|
var fullName = concatenateObjectValues(name, ['first', 'middle', 'last']);
|
|
@@ -941,6 +972,7 @@ export var connectSlice = createSlice({
|
|
|
941
972
|
state.data.individualData.countryCode = countryCode;
|
|
942
973
|
if ((_a = brand === null || brand === void 0 ? void 0 : brand.name) === null || _a === void 0 ? void 0 : _a.en)
|
|
943
974
|
state.data.brandData.brandName = brand.name.en;
|
|
975
|
+
state.data.individualData.isPrevDob = isNextScreenDob || false;
|
|
944
976
|
var brandList = [];
|
|
945
977
|
if ((brand_list === null || brand_list === void 0 ? void 0 : brand_list.length) > 0) {
|
|
946
978
|
var isBrandExist = brand_list.find(function (item) { return item.id === (brand === null || brand === void 0 ? void 0 : brand.id); });
|
|
@@ -1007,6 +1039,21 @@ export var connectSlice = createSlice({
|
|
|
1007
1039
|
.addCase(verifyAuth.rejected, function (state, action) {
|
|
1008
1040
|
state.loading = false;
|
|
1009
1041
|
state.error = action.error.message;
|
|
1042
|
+
})
|
|
1043
|
+
.addCase(updateLeadDOB.fulfilled, function (state, action) {
|
|
1044
|
+
state.loading = false;
|
|
1045
|
+
state.error = null;
|
|
1046
|
+
var _a = action.payload, formData = _a.formData, leadResponse = _a.leadResponse;
|
|
1047
|
+
state.data.dobData = formData;
|
|
1048
|
+
state.data.dobData.responseBody = leadResponse;
|
|
1049
|
+
})
|
|
1050
|
+
.addCase(updateLeadDOB.pending, function (state) {
|
|
1051
|
+
state.loading = true;
|
|
1052
|
+
state.error = null;
|
|
1053
|
+
})
|
|
1054
|
+
.addCase(updateLeadDOB.rejected, function (state, action) {
|
|
1055
|
+
state.loading = false;
|
|
1056
|
+
state.error = action.error.message;
|
|
1010
1057
|
})
|
|
1011
1058
|
.addCase(updateLeadIndividual.fulfilled, function (state, action) {
|
|
1012
1059
|
var _a, _b, _c;
|