@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,5 +1,5 @@
|
|
|
1
1
|
import { RootState } from '../../../app/store';
|
|
2
|
-
import { ActivitiesFormValues, CustomersFormValues, BusinessTypeFormValues, NIDFormValues, OTPFormValues, ResponseData, SharedState, FlowsTypes, CivilFormValues, ActionState, AsyncThunkParams } from '../../../@types';
|
|
2
|
+
import { ActivitiesFormValues, CustomersFormValues, BusinessTypeFormValues, NIDFormValues, OTPFormValues, ResponseData, SharedState, FlowsTypes, CivilFormValues, ActionState, AsyncThunkParams, DOBFormValues } from '../../../@types';
|
|
3
3
|
export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
4
4
|
data: any;
|
|
5
5
|
isicActivityList: any;
|
|
@@ -16,28 +16,10 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
16
16
|
leadData?: undefined;
|
|
17
17
|
brandData?: undefined;
|
|
18
18
|
boardId?: undefined;
|
|
19
|
-
}, string, {
|
|
20
|
-
state?: unknown;
|
|
21
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
22
|
-
extra?: unknown;
|
|
23
|
-
rejectValue?: unknown;
|
|
24
|
-
serializedErrorType?: unknown;
|
|
25
|
-
pendingMeta?: unknown;
|
|
26
|
-
fulfilledMeta?: unknown;
|
|
27
|
-
rejectedMeta?: unknown;
|
|
28
|
-
}>;
|
|
19
|
+
}, string, {}>;
|
|
29
20
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
30
21
|
data: any;
|
|
31
|
-
}, void, {
|
|
32
|
-
state?: unknown;
|
|
33
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
34
|
-
extra?: unknown;
|
|
35
|
-
rejectValue?: unknown;
|
|
36
|
-
serializedErrorType?: unknown;
|
|
37
|
-
pendingMeta?: unknown;
|
|
38
|
-
fulfilledMeta?: unknown;
|
|
39
|
-
rejectedMeta?: unknown;
|
|
40
|
-
}>;
|
|
22
|
+
}, void, {}>;
|
|
41
23
|
export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
42
24
|
data: any;
|
|
43
25
|
isicActivityList: any;
|
|
@@ -47,58 +29,28 @@ export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
47
29
|
};
|
|
48
30
|
brand: any;
|
|
49
31
|
leadData: any;
|
|
50
|
-
}, OTPFormValues, {
|
|
51
|
-
state?: unknown;
|
|
52
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
53
|
-
extra?: unknown;
|
|
54
|
-
rejectValue?: unknown;
|
|
55
|
-
serializedErrorType?: unknown;
|
|
56
|
-
pendingMeta?: unknown;
|
|
57
|
-
fulfilledMeta?: unknown;
|
|
58
|
-
rejectedMeta?: unknown;
|
|
59
|
-
}>;
|
|
32
|
+
}, OTPFormValues, {}>;
|
|
60
33
|
interface verifyNafathParams {
|
|
61
34
|
onSuccess?: () => void;
|
|
62
35
|
onFailure?: () => void;
|
|
63
36
|
}
|
|
64
|
-
export declare const verifyNafath: import("@reduxjs/toolkit").AsyncThunk<
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
fulfilledMeta?: unknown;
|
|
72
|
-
rejectedMeta?: unknown;
|
|
73
|
-
}>;
|
|
37
|
+
export declare const verifyNafath: import("@reduxjs/toolkit").AsyncThunk<{
|
|
38
|
+
response: any;
|
|
39
|
+
isNextScreenDob?: undefined;
|
|
40
|
+
} | {
|
|
41
|
+
response: any;
|
|
42
|
+
isNextScreenDob: boolean;
|
|
43
|
+
}, verifyNafathParams, {}>;
|
|
74
44
|
interface verifyPACIParams {
|
|
75
45
|
onSuccess?: () => void;
|
|
76
46
|
}
|
|
77
47
|
export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<{
|
|
78
48
|
response: any;
|
|
79
|
-
}, verifyPACIParams, {
|
|
80
|
-
state?: unknown;
|
|
81
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
82
|
-
extra?: unknown;
|
|
83
|
-
rejectValue?: unknown;
|
|
84
|
-
serializedErrorType?: unknown;
|
|
85
|
-
pendingMeta?: unknown;
|
|
86
|
-
fulfilledMeta?: unknown;
|
|
87
|
-
rejectedMeta?: unknown;
|
|
88
|
-
}>;
|
|
49
|
+
}, verifyPACIParams, {}>;
|
|
89
50
|
export declare const createCivilIdAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
90
51
|
response: any;
|
|
91
52
|
formData: CivilFormValues;
|
|
92
|
-
}, CivilFormValues, {
|
|
93
|
-
state?: unknown;
|
|
94
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
95
|
-
extra?: unknown;
|
|
96
|
-
rejectValue?: unknown;
|
|
97
|
-
serializedErrorType?: unknown;
|
|
98
|
-
pendingMeta?: unknown;
|
|
99
|
-
fulfilledMeta?: unknown;
|
|
100
|
-
rejectedMeta?: unknown;
|
|
101
|
-
}>;
|
|
53
|
+
}, CivilFormValues, {}>;
|
|
102
54
|
export declare const updateLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<{
|
|
103
55
|
data: any;
|
|
104
56
|
formData: {
|
|
@@ -107,28 +59,14 @@ export declare const updateLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
107
59
|
dob?: any;
|
|
108
60
|
termAndConditionChecked?: boolean | undefined;
|
|
109
61
|
};
|
|
110
|
-
}, NIDFormValues, {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
serializedErrorType?: unknown;
|
|
116
|
-
pendingMeta?: unknown;
|
|
117
|
-
fulfilledMeta?: unknown;
|
|
118
|
-
rejectedMeta?: unknown;
|
|
119
|
-
}>;
|
|
62
|
+
}, NIDFormValues, {}>;
|
|
63
|
+
export declare const updateLeadDOB: import("@reduxjs/toolkit").AsyncThunk<{
|
|
64
|
+
data: any;
|
|
65
|
+
formData: DOBFormValues;
|
|
66
|
+
}, DOBFormValues, {}>;
|
|
120
67
|
export declare const retrieveEntityList: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
121
68
|
leadId: string;
|
|
122
|
-
}, {
|
|
123
|
-
state?: unknown;
|
|
124
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
125
|
-
extra?: unknown;
|
|
126
|
-
rejectValue?: unknown;
|
|
127
|
-
serializedErrorType?: unknown;
|
|
128
|
-
pendingMeta?: unknown;
|
|
129
|
-
fulfilledMeta?: unknown;
|
|
130
|
-
rejectedMeta?: unknown;
|
|
131
|
-
}>;
|
|
69
|
+
}, {}>;
|
|
132
70
|
export declare const retrieveAllEntityList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
133
71
|
data: any;
|
|
134
72
|
businessCountryCode: string;
|
|
@@ -136,28 +74,10 @@ export declare const retrieveAllEntityList: import("@reduxjs/toolkit").AsyncThun
|
|
|
136
74
|
}, {
|
|
137
75
|
businessId: string;
|
|
138
76
|
entityId: string;
|
|
139
|
-
}, {
|
|
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
|
-
}>;
|
|
77
|
+
}, {}>;
|
|
149
78
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
150
79
|
data: any;
|
|
151
|
-
}, string, {
|
|
152
|
-
state?: unknown;
|
|
153
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
154
|
-
extra?: unknown;
|
|
155
|
-
rejectValue?: unknown;
|
|
156
|
-
serializedErrorType?: unknown;
|
|
157
|
-
pendingMeta?: unknown;
|
|
158
|
-
fulfilledMeta?: unknown;
|
|
159
|
-
rejectedMeta?: unknown;
|
|
160
|
-
}>;
|
|
80
|
+
}, string, {}>;
|
|
161
81
|
export declare const updateLeadBusinessType: import("@reduxjs/toolkit").AsyncThunk<{
|
|
162
82
|
data: any;
|
|
163
83
|
formData: BusinessTypeFormValues;
|
|
@@ -165,83 +85,29 @@ export declare const updateLeadBusinessType: import("@reduxjs/toolkit").AsyncThu
|
|
|
165
85
|
documentData: any;
|
|
166
86
|
entityData: any;
|
|
167
87
|
isicActivityList: any;
|
|
168
|
-
}, BusinessTypeFormValues, {
|
|
169
|
-
state?: unknown;
|
|
170
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
171
|
-
extra?: unknown;
|
|
172
|
-
rejectValue?: unknown;
|
|
173
|
-
serializedErrorType?: unknown;
|
|
174
|
-
pendingMeta?: unknown;
|
|
175
|
-
fulfilledMeta?: unknown;
|
|
176
|
-
rejectedMeta?: unknown;
|
|
177
|
-
}>;
|
|
88
|
+
}, BusinessTypeFormValues, {}>;
|
|
178
89
|
export declare const updateActivitiesInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
179
90
|
data: any;
|
|
180
91
|
formData: ActivitiesFormValues;
|
|
181
|
-
}, AsyncThunkParams<ActivitiesFormValues>, {
|
|
182
|
-
state?: unknown;
|
|
183
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
184
|
-
extra?: unknown;
|
|
185
|
-
rejectValue?: unknown;
|
|
186
|
-
serializedErrorType?: unknown;
|
|
187
|
-
pendingMeta?: unknown;
|
|
188
|
-
fulfilledMeta?: unknown;
|
|
189
|
-
rejectedMeta?: unknown;
|
|
190
|
-
}>;
|
|
92
|
+
}, AsyncThunkParams<ActivitiesFormValues>, {}>;
|
|
191
93
|
export declare const retrieveDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
192
94
|
customerBases: any;
|
|
193
95
|
expectedSales: any;
|
|
194
96
|
expectedCustomerSales: any;
|
|
195
97
|
countryISO2: string;
|
|
196
|
-
}, void, {
|
|
197
|
-
state?: unknown;
|
|
198
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
199
|
-
extra?: unknown;
|
|
200
|
-
rejectValue?: unknown;
|
|
201
|
-
serializedErrorType?: unknown;
|
|
202
|
-
pendingMeta?: unknown;
|
|
203
|
-
fulfilledMeta?: unknown;
|
|
204
|
-
rejectedMeta?: unknown;
|
|
205
|
-
}>;
|
|
98
|
+
}, void, {}>;
|
|
206
99
|
export declare const updateCustomersInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
207
100
|
data: any;
|
|
208
101
|
formData: CustomersFormValues;
|
|
209
|
-
}, AsyncThunkParams<CustomersFormValues>, {
|
|
210
|
-
state?: unknown;
|
|
211
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
212
|
-
extra?: unknown;
|
|
213
|
-
rejectValue?: unknown;
|
|
214
|
-
serializedErrorType?: unknown;
|
|
215
|
-
pendingMeta?: unknown;
|
|
216
|
-
fulfilledMeta?: unknown;
|
|
217
|
-
rejectedMeta?: unknown;
|
|
218
|
-
}>;
|
|
102
|
+
}, AsyncThunkParams<CustomersFormValues>, {}>;
|
|
219
103
|
export declare const updateLeadSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
220
104
|
response: any;
|
|
221
105
|
formData: void;
|
|
222
|
-
} | undefined, void, {
|
|
223
|
-
state?: unknown;
|
|
224
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
225
|
-
extra?: unknown;
|
|
226
|
-
rejectValue?: unknown;
|
|
227
|
-
serializedErrorType?: unknown;
|
|
228
|
-
pendingMeta?: unknown;
|
|
229
|
-
fulfilledMeta?: unknown;
|
|
230
|
-
rejectedMeta?: unknown;
|
|
231
|
-
}>;
|
|
106
|
+
} | undefined, void, {}>;
|
|
232
107
|
export declare const updateStepName: import("@reduxjs/toolkit").AsyncThunk<{
|
|
233
108
|
response: any;
|
|
234
|
-
}, string, {
|
|
235
|
-
|
|
236
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
237
|
-
extra?: unknown;
|
|
238
|
-
rejectValue?: unknown;
|
|
239
|
-
serializedErrorType?: unknown;
|
|
240
|
-
pendingMeta?: unknown;
|
|
241
|
-
fulfilledMeta?: unknown;
|
|
242
|
-
rejectedMeta?: unknown;
|
|
243
|
-
}>;
|
|
244
|
-
type VerifyData = {
|
|
109
|
+
}, string, {}>;
|
|
110
|
+
declare type VerifyData = {
|
|
245
111
|
token: string;
|
|
246
112
|
};
|
|
247
113
|
export interface BusinessData {
|
|
@@ -253,7 +119,10 @@ export interface BusinessData {
|
|
|
253
119
|
type: string;
|
|
254
120
|
};
|
|
255
121
|
civilIdData: CivilFormValues & ResponseData;
|
|
256
|
-
|
|
122
|
+
dobData: DOBFormValues & ResponseData;
|
|
123
|
+
businessTypeData: BusinessTypeFormValues & ResponseData & {
|
|
124
|
+
isPrevDob?: boolean;
|
|
125
|
+
};
|
|
257
126
|
activitiesData: ActivitiesFormValues & ResponseData;
|
|
258
127
|
customersData: CustomersFormValues & ResponseData;
|
|
259
128
|
flowName: FlowsTypes;
|
|
@@ -271,7 +140,7 @@ export declare const businessSlice: import("@reduxjs/toolkit").Slice<BusinessSta
|
|
|
271
140
|
uploadingArticleStatus: (state: BusinessState, action: ActionState<boolean>) => void;
|
|
272
141
|
clearAOAFile: (state: BusinessState) => void;
|
|
273
142
|
}, "business/store">;
|
|
274
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
143
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, uploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, uploadingArticleStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, clearAOAFile: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
275
144
|
declare const _default: import("redux").Reducer<BusinessState, import("redux").AnyAction>;
|
|
276
145
|
export default _default;
|
|
277
146
|
export declare const businessSelector: (state: RootState) => BusinessState;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
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]) {
|
|
@@ -58,7 +58,7 @@ var _a;
|
|
|
58
58
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
59
59
|
import API from '../../../api';
|
|
60
60
|
import { BusinessType, FlowsTypes, DocumentPurpose, LicenseType } from '../../../@types';
|
|
61
|
-
import { BUSINESS_STEP_NAMES, EXPECTED_SALES_LIST, IDENTIFICATION_TYPE, NAFATH_VERIFICATION_FAILED, OTHER_CR_LICENSE, OTHER_ENTITY_LICENSE, OTHER_FL_LICENSE } from '../../../constants';
|
|
61
|
+
import { BUSINESS_STEP_NAMES, COLLECT_DOB_INFO_NAFATH, EXPECTED_SALES_LIST, IDENTIFICATION_TYPE, NAFATH_VERIFICATION_FAILED, OTHER_CR_LICENSE, OTHER_ENTITY_LICENSE, OTHER_FL_LICENSE } from '../../../constants';
|
|
62
62
|
import { convertNumbers2English, hasKey, sleep, isKW, isSA, dateFormat, isOtherLicense, isOtherThanKWOrSA, hasNoneEditableValue, sendCustomEventToGTM } from '../../../utils';
|
|
63
63
|
import { handleNextScreenStep, handlePublicKey, handleSetCountryByIso2 } from '../../../app/settings';
|
|
64
64
|
export var verifyLeadToken = createAsyncThunk('businessVerifyLeadToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -308,7 +308,7 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
|
|
|
308
308
|
});
|
|
309
309
|
}); });
|
|
310
310
|
export var verifyNafath = createAsyncThunk('business/verifyNafathParams', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
311
|
-
var _a, settings, business, responseBody, expiry, interval, maxCalls, count, data, isSuccess, isFailed;
|
|
311
|
+
var _a, settings, business, responseBody, expiry, interval, maxCalls, count, data, isSuccess, isFailed, isNextScreenDob, screen_1;
|
|
312
312
|
var _b, _c, _d, _e, _f, _g;
|
|
313
313
|
return __generator(this, function (_h) {
|
|
314
314
|
switch (_h.label) {
|
|
@@ -332,7 +332,7 @@ export var verifyNafath = createAsyncThunk('business/verifyNafathParams', functi
|
|
|
332
332
|
isFailed = ((_c = data.status) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === 'failed';
|
|
333
333
|
if (isFailed) {
|
|
334
334
|
(_d = params.onFailure) === null || _d === void 0 ? void 0 : _d.call(params);
|
|
335
|
-
return [2, data];
|
|
335
|
+
return [2, { response: data }];
|
|
336
336
|
}
|
|
337
337
|
if (!isSuccess) return [3, 5];
|
|
338
338
|
return [4, thunkApi.dispatch(retrieveEntityList({ leadId: responseBody === null || responseBody === void 0 ? void 0 : responseBody.id }))];
|
|
@@ -343,8 +343,10 @@ export var verifyNafath = createAsyncThunk('business/verifyNafathParams', functi
|
|
|
343
343
|
return [4, sleep(3000)];
|
|
344
344
|
case 4:
|
|
345
345
|
_h.sent();
|
|
346
|
-
|
|
347
|
-
|
|
346
|
+
isNextScreenDob = data.step_name === COLLECT_DOB_INFO_NAFATH;
|
|
347
|
+
screen_1 = isNextScreenDob ? 'BUSINESS_DOB_STEP' : 'BUSINESS_BUSINESS_TYPE_STEP';
|
|
348
|
+
thunkApi.dispatch(handleNextScreenStep(screen_1));
|
|
349
|
+
return [2, { response: data, isNextScreenDob: isNextScreenDob }];
|
|
348
350
|
case 5: return [4, sleep(interval * 1000)];
|
|
349
351
|
case 6:
|
|
350
352
|
_h.sent();
|
|
@@ -473,6 +475,30 @@ export var updateLeadIdentity = createAsyncThunk('updateLeadIdentity', function
|
|
|
473
475
|
}
|
|
474
476
|
});
|
|
475
477
|
}); });
|
|
478
|
+
export var updateLeadDOB = createAsyncThunk('business/updateLeadDOB', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
479
|
+
var _a, settings, business, stepName, lead_id, requestBody, data;
|
|
480
|
+
var _b, _c;
|
|
481
|
+
return __generator(this, function (_d) {
|
|
482
|
+
switch (_d.label) {
|
|
483
|
+
case 0:
|
|
484
|
+
_a = thunkApi.getState(), settings = _a.settings, business = _a.business;
|
|
485
|
+
stepName = BUSINESS_STEP_NAMES.BUSINESS_DOB_INFO;
|
|
486
|
+
lead_id = (business.data.verify.responseBody || {}).lead_id;
|
|
487
|
+
requestBody = {
|
|
488
|
+
id: lead_id || '',
|
|
489
|
+
date_of_birth: params.dob,
|
|
490
|
+
step_name: stepName,
|
|
491
|
+
encryption_contract: ['date_of_birth']
|
|
492
|
+
};
|
|
493
|
+
return [4, API.leadService.updateLead(requestBody)];
|
|
494
|
+
case 1:
|
|
495
|
+
data = _d.sent();
|
|
496
|
+
thunkApi.dispatch(handleNextScreenStep());
|
|
497
|
+
(_c = (_b = settings.data.appConfig).onStepCompleted) === null || _c === void 0 ? void 0 : _c.call(_b, settings.data.activeScreen.name, requestBody);
|
|
498
|
+
return [2, { data: data, formData: params }];
|
|
499
|
+
}
|
|
500
|
+
});
|
|
501
|
+
}); });
|
|
476
502
|
export var retrieveEntityList = createAsyncThunk('retrieveEntityList', function (params) { return __awaiter(void 0, void 0, void 0, function () {
|
|
477
503
|
var data;
|
|
478
504
|
return __generator(this, function (_a) {
|
|
@@ -838,9 +864,13 @@ var initialState = {
|
|
|
838
864
|
dob: '',
|
|
839
865
|
type: ''
|
|
840
866
|
},
|
|
867
|
+
dobData: {
|
|
868
|
+
dob: ''
|
|
869
|
+
},
|
|
841
870
|
businessTypeData: {
|
|
842
871
|
licenseNumber: '',
|
|
843
|
-
entityLegalName: ''
|
|
872
|
+
entityLegalName: '',
|
|
873
|
+
isPrevDob: false
|
|
844
874
|
},
|
|
845
875
|
activitiesData: {
|
|
846
876
|
activities: [],
|
|
@@ -1056,7 +1086,9 @@ export var businessSlice = createSlice({
|
|
|
1056
1086
|
.addCase(verifyNafath.fulfilled, function (state, action) {
|
|
1057
1087
|
state.loading = false;
|
|
1058
1088
|
state.error = null;
|
|
1059
|
-
|
|
1089
|
+
var _a = action.payload, response = _a.response, isNextScreenDob = _a.isNextScreenDob;
|
|
1090
|
+
state.data.businessTypeData.isPrevDob = isNextScreenDob || false;
|
|
1091
|
+
state.data.otpData.responseBody = response;
|
|
1060
1092
|
})
|
|
1061
1093
|
.addCase(verifyNafath.rejected, function (state, action) {
|
|
1062
1094
|
state.loading = false;
|
|
@@ -1064,6 +1096,21 @@ export var businessSlice = createSlice({
|
|
|
1064
1096
|
if (error !== 'Aborted') {
|
|
1065
1097
|
state.error = error;
|
|
1066
1098
|
}
|
|
1099
|
+
})
|
|
1100
|
+
.addCase(updateLeadDOB.pending, function (state) {
|
|
1101
|
+
state.loading = true;
|
|
1102
|
+
state.error = null;
|
|
1103
|
+
})
|
|
1104
|
+
.addCase(updateLeadDOB.fulfilled, function (state, action) {
|
|
1105
|
+
state.loading = false;
|
|
1106
|
+
state.error = null;
|
|
1107
|
+
var _a = action.payload, data = _a.data, formData = _a.formData;
|
|
1108
|
+
state.data.dobData = formData;
|
|
1109
|
+
state.data.dobData.responseBody = data;
|
|
1110
|
+
})
|
|
1111
|
+
.addCase(updateLeadDOB.rejected, function (state, action) {
|
|
1112
|
+
state.loading = false;
|
|
1113
|
+
state.error = action.error.message;
|
|
1067
1114
|
})
|
|
1068
1115
|
.addCase(retrieveEntityList.pending, function (state) {
|
|
1069
1116
|
state.error = null;
|