@tap-payments/auth-jsconnect 2.8.60-development → 2.8.61-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/app.d.ts +17 -17
- package/build/@types/config.d.ts +1 -1
- package/build/@types/form.d.ts +23 -23
- package/build/@types/redux.d.ts +0 -1
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +13 -13
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +11 -11
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +12 -12
- package/build/api/entity.js +4 -12
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/index.d.ts +2 -2
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +12 -12
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +2 -2
- package/build/app/settings.d.ts +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/Tooltip/Tooltip.js +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +1 -0
- package/build/constants/api.js +2 -0
- package/build/constants/app.d.ts +3 -1
- package/build/constants/app.js +2 -0
- package/build/features/app/auth/authStore.d.ts +21 -201
- package/build/features/app/auth/authStore.js +1 -1
- package/build/features/app/bank/bankStore.d.ts +29 -104
- package/build/features/app/bank/bankStore.js +166 -184
- package/build/features/app/board/boardStore.d.ts +5 -41
- package/build/features/app/board/boardStore.js +11 -17
- package/build/features/app/brand/brandStore.d.ts +46 -157
- package/build/features/app/brand/brandStore.js +240 -244
- package/build/features/app/business/businessStore.d.ts +18 -162
- package/build/features/app/business/businessStore.js +2 -8
- package/build/features/app/connect/connectStore.d.ts +16 -151
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +29 -281
- package/build/features/app/connectExpress/connectExpressStore.js +1 -1
- package/build/features/app/entity/entityStore.d.ts +44 -111
- package/build/features/app/entity/entityStore.js +250 -205
- package/build/features/app/individual/individualStore.d.ts +58 -201
- package/build/features/app/individual/individualStore.js +271 -222
- package/build/features/app/password/passwordStore.d.ts +37 -139
- package/build/features/app/password/passwordStore.js +217 -171
- 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 +16 -94
- package/build/features/app/tax/taxStore.js +148 -169
- package/build/features/auth/Auth.d.ts +2 -1
- package/build/features/auth/Auth.js +1 -1
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +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/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/DOB.d.ts +2 -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/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/BankDetails.js +4 -17
- 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/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/BrandActivities.js +11 -48
- 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/BrandInfo.js +4 -22
- 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 +1 -1
- 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/BrandSegmentInfo.js +6 -22
- 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/Activities.js +1 -9
- 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/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/Customers.js +1 -9
- 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/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/OTP/OTP.d.ts +1 -1
- package/build/features/business/screens/OTP/OTPInput.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/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 +2 -8
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +1 -1
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +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/DOB.d.ts +2 -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/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 +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +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/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/IdentityOTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.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/DOB.d.ts +2 -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/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/EntityCapital/EntityCapital.js +9 -33
- 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/EntityName.js +14 -31
- 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/individual/Individual.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +10 -43
- 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/IndividualList.js +0 -7
- package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
- package/build/features/individual/screens/IndividualList/UserList.js +3 -3
- 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/IndividualPersonalInfo.js +18 -73
- 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 +2 -2
- 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/AbsherButton.d.ts +2 -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 +2 -8
- 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/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/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/SignIn.js +2 -10
- 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/TaxDetails.js +2 -7
- 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/index.d.ts +0 -1
- package/build/hooks/index.js +0 -1
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- 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/index.css +21 -1
- package/build/utils/array.js +1 -1
- package/build/utils/common.js +4 -4
- package/package.json +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +0 -10
- package/build/hooks/useFormDirtyCheck.js +0 -66
|
@@ -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]) {
|
|
@@ -51,14 +51,14 @@ import API from '../../../api';
|
|
|
51
51
|
import { DocumentPurpose, FlowsTypes } from '../../../@types';
|
|
52
52
|
import { handleCurrentActiveScreen, handleNextScreenStep, handlePrevScreenStep, handlePublicKey, handleSetCountryByIso2, onCloseComplete } from '../../../app/settings';
|
|
53
53
|
import { BANK_STEP_NAMES } from '../../../constants';
|
|
54
|
-
import { hasNoneEditableValue, isStringHasOneAsterisk, retrieveIndividualData,
|
|
54
|
+
import { hasNoneEditableValue, isStringHasOneAsterisk, retrieveIndividualData, sleep } from '../../../utils';
|
|
55
55
|
export var verifyLeadToken = createAsyncThunk('bankVerifyLeadToken', function (_a, thunkApi) {
|
|
56
56
|
var token = _a.token, isInternally = _a.isInternally;
|
|
57
57
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
58
|
-
var payload, data,
|
|
59
|
-
var
|
|
60
|
-
return __generator(this, function (
|
|
61
|
-
switch (
|
|
58
|
+
var payload, data, boardData, boardInfoData, individualData, _b, board_id, board_info_id, config, country_code, publicKey, countryIso2, _c, id_1, type_1, serviceCallBack, _d, boardRes, individualRes;
|
|
59
|
+
var _e, _f, _g, _h, _j;
|
|
60
|
+
return __generator(this, function (_k) {
|
|
61
|
+
switch (_k.label) {
|
|
62
62
|
case 0:
|
|
63
63
|
payload = __assign({ service_name: 'tap_email', verify_token: token }, (isInternally && {
|
|
64
64
|
notification: {
|
|
@@ -67,51 +67,69 @@ export var verifyLeadToken = createAsyncThunk('bankVerifyLeadToken', function (_
|
|
|
67
67
|
}));
|
|
68
68
|
return [4, API.leadService.verifyLeadToken(payload)];
|
|
69
69
|
case 1:
|
|
70
|
-
data = (
|
|
71
|
-
|
|
70
|
+
data = (_k.sent()).data;
|
|
71
|
+
individualData = undefined;
|
|
72
|
+
if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
|
|
72
73
|
throw new Error(data.errors[0].description);
|
|
73
|
-
|
|
74
|
-
_b = data || {}, config = _b.config, country_code = _b.country_code, step_name = _b.step_name, bank_account_id = _b.bank_account_id, wallet_id = _b.wallet_id, boardId = _b.id;
|
|
74
|
+
_b = data || {}, board_id = _b.id, board_info_id = _b.board_info_id, config = _b.config, country_code = _b.country_code;
|
|
75
75
|
publicKey = config === null || config === void 0 ? void 0 : config.public_key;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
if (publicKey)
|
|
76
|
+
countryIso2 = country_code;
|
|
77
|
+
if (publicKey) {
|
|
79
78
|
thunkApi.dispatch(handlePublicKey(publicKey));
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
return [3,
|
|
79
|
+
}
|
|
80
|
+
if (countryIso2)
|
|
81
|
+
thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
|
|
82
|
+
if (!board_id) return [3, 6];
|
|
83
|
+
if (!board_info_id) return [3, 3];
|
|
84
|
+
return [4, API.boardService.retrieveBoardInfo({ id: board_id, infoId: board_info_id })];
|
|
85
85
|
case 2:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
case 3:
|
|
90
|
-
data_1 = _j.sent();
|
|
91
|
-
if (!country_code && ((_d = data_1 === null || data_1 === void 0 ? void 0 : data_1.entity) === null || _d === void 0 ? void 0 : _d.country))
|
|
92
|
-
thunkApi.dispatch(handleSetCountryByIso2(data_1.entity.country));
|
|
93
|
-
if (!((_h = (_g = (_f = (_e = data_1 === null || data_1 === void 0 ? void 0 : data_1.business) === null || _e === void 0 ? void 0 : _e.entity) === null || _f === void 0 ? void 0 : _f.merchant) === null || _g === void 0 ? void 0 : _g.wallet) === null || _h === void 0 ? void 0 : _h.id))
|
|
94
|
-
throw new Error('wallet_id_missing');
|
|
95
|
-
if (data_1 === null || data_1 === void 0 ? void 0 : data_1.bank_account)
|
|
96
|
-
bankData = data_1.bank_account;
|
|
97
|
-
return [3, 6];
|
|
86
|
+
boardInfoData = _k.sent();
|
|
87
|
+
_k.label = 3;
|
|
88
|
+
case 3: return [4, API.boardService.retrieveBoardDetails(board_id)];
|
|
98
89
|
case 4:
|
|
99
|
-
|
|
100
|
-
|
|
90
|
+
boardData = _k.sent();
|
|
91
|
+
_c = ((_f = boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification) === null || _f === void 0 ? void 0 : _f.recipient) || {}, id_1 = _c.id, type_1 = _c.type;
|
|
92
|
+
serviceCallBack = function () { return API.individualService.retrieveIndividual(id_1, type_1); };
|
|
93
|
+
return [4, retrieveIndividualData(type_1, boardData, serviceCallBack)];
|
|
101
94
|
case 5:
|
|
102
|
-
|
|
103
|
-
|
|
95
|
+
_d = _k.sent(), boardRes = _d.boardRes, individualRes = _d.individualRes;
|
|
96
|
+
boardData = boardRes;
|
|
97
|
+
individualData = individualRes;
|
|
98
|
+
_k.label = 6;
|
|
104
99
|
case 6:
|
|
100
|
+
if (!countryIso2 && ((_g = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _g === void 0 ? void 0 : _g.country)) {
|
|
101
|
+
countryIso2 = boardData.entity.country;
|
|
102
|
+
thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
|
|
103
|
+
}
|
|
105
104
|
if (isInternally)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
thunkApi.dispatch(
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
105
|
+
data.step_name = BANK_STEP_NAMES.BANK_INFO;
|
|
106
|
+
if (data.step_name === BANK_STEP_NAMES.PHONE_AUTH) {
|
|
107
|
+
thunkApi.dispatch(handleCurrentActiveScreen('BANK_VERIFY_STEP'));
|
|
108
|
+
}
|
|
109
|
+
else if (data.step_name === BANK_STEP_NAMES.BANK_INFO) {
|
|
110
|
+
if (isInternally)
|
|
111
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
|
|
112
|
+
else
|
|
113
|
+
thunkApi.dispatch(handleNextScreenStep());
|
|
114
|
+
}
|
|
115
|
+
return [2, {
|
|
116
|
+
data: data,
|
|
117
|
+
individualData: individualData,
|
|
118
|
+
boardResponse: {
|
|
119
|
+
user: boardData === null || boardData === void 0 ? void 0 : boardData.user,
|
|
120
|
+
brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand,
|
|
121
|
+
bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account,
|
|
122
|
+
entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity,
|
|
123
|
+
merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant,
|
|
124
|
+
name: (_h = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _h === void 0 ? void 0 : _h.names,
|
|
125
|
+
contact: (_j = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _j === void 0 ? void 0 : _j.contact,
|
|
126
|
+
business: boardData === null || boardData === void 0 ? void 0 : boardData.business,
|
|
127
|
+
individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals,
|
|
128
|
+
notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification,
|
|
129
|
+
board_status: data === null || data === void 0 ? void 0 : data.status
|
|
130
|
+
},
|
|
131
|
+
token: token
|
|
132
|
+
}];
|
|
115
133
|
}
|
|
116
134
|
});
|
|
117
135
|
});
|
|
@@ -134,118 +152,75 @@ export var resendOTP = createAsyncThunk('resendOTPBank', function (params, thunk
|
|
|
134
152
|
});
|
|
135
153
|
}); });
|
|
136
154
|
export var verifyBankLeadOTP = createAsyncThunk('verifyBankLeadOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
137
|
-
var _a, bank, settings, responseBody, payload, data,
|
|
138
|
-
var _c, _d, _e
|
|
139
|
-
return __generator(this, function (
|
|
140
|
-
switch (
|
|
155
|
+
var _a, bank, settings, responseBody, payload, data, publicKey;
|
|
156
|
+
var _b, _c, _d, _e;
|
|
157
|
+
return __generator(this, function (_f) {
|
|
158
|
+
switch (_f.label) {
|
|
141
159
|
case 0:
|
|
142
160
|
_a = thunkApi.getState(), bank = _a.bank, settings = _a.settings;
|
|
143
161
|
responseBody = bank.data.verify.responseBody;
|
|
144
162
|
payload = {
|
|
145
163
|
data: params.otp,
|
|
146
|
-
service_name: (
|
|
164
|
+
service_name: (_b = responseBody === null || responseBody === void 0 ? void 0 : responseBody.verification_by) === null || _b === void 0 ? void 0 : _b.service_name,
|
|
147
165
|
verify_token: responseBody === null || responseBody === void 0 ? void 0 : responseBody.verify_token,
|
|
148
166
|
step_name: BANK_STEP_NAMES.PHONE_AUTH,
|
|
149
167
|
encryption_contract: ['data']
|
|
150
168
|
};
|
|
151
169
|
return [4, API.leadService.verifyLeadOTP(payload)];
|
|
152
170
|
case 1:
|
|
153
|
-
data = (
|
|
154
|
-
if (
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
bankData = undefined;
|
|
164
|
-
if (!(!wallet_id || !countryIso2)) return [3, 3];
|
|
165
|
-
return [4, API.boardService.retrieveBoardDetails(boardId)];
|
|
166
|
-
case 2:
|
|
167
|
-
data_2 = _o.sent();
|
|
168
|
-
if (!countryIso2 && ((_f = data_2 === null || data_2 === void 0 ? void 0 : data_2.entity) === null || _f === void 0 ? void 0 : _f.country))
|
|
169
|
-
thunkApi.dispatch(handleSetCountryByIso2(data_2.entity.country));
|
|
170
|
-
if (!((_k = (_j = (_h = (_g = data_2 === null || data_2 === void 0 ? void 0 : data_2.business) === null || _g === void 0 ? void 0 : _g.entity) === null || _h === void 0 ? void 0 : _h.merchant) === null || _j === void 0 ? void 0 : _j.wallet) === null || _k === void 0 ? void 0 : _k.id))
|
|
171
|
-
throw new Error('wallet_id_missing');
|
|
172
|
-
if (data_2 === null || data_2 === void 0 ? void 0 : data_2.bank_account)
|
|
173
|
-
bankData = data_2.bank_account;
|
|
174
|
-
return [3, 5];
|
|
175
|
-
case 3:
|
|
176
|
-
if (!bank_account_id) return [3, 5];
|
|
177
|
-
return [4, API.entityService.retrieveBankAccount(bank_account_id)];
|
|
178
|
-
case 4:
|
|
179
|
-
bankData = _o.sent();
|
|
180
|
-
_o.label = 5;
|
|
181
|
-
case 5:
|
|
182
|
-
(_m = (_l = settings.data.appConfig).onStepCompleted) === null || _m === void 0 ? void 0 : _m.call(_l, settings.data.activeScreen.name, { otp: params.otp });
|
|
183
|
-
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
|
|
184
|
-
return [2, {
|
|
185
|
-
data: data,
|
|
186
|
-
bankData: bankData,
|
|
187
|
-
formData: params
|
|
188
|
-
}];
|
|
171
|
+
data = (_f.sent()).data;
|
|
172
|
+
if (!data.errors) {
|
|
173
|
+
publicKey = (_c = data === null || data === void 0 ? void 0 : data.config) === null || _c === void 0 ? void 0 : _c.public_key;
|
|
174
|
+
if (publicKey) {
|
|
175
|
+
thunkApi.dispatch(handlePublicKey(publicKey));
|
|
176
|
+
}
|
|
177
|
+
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, { otp: params.otp });
|
|
178
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
|
|
179
|
+
}
|
|
180
|
+
return [2, { data: data, formData: params }];
|
|
189
181
|
}
|
|
190
182
|
});
|
|
191
183
|
}); });
|
|
192
184
|
export var retrieveBoardStatus = createAsyncThunk('bank/retrieveBoardStatus', function (parmas, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
193
|
-
var bank,
|
|
194
|
-
return __generator(this, function (
|
|
195
|
-
switch (
|
|
185
|
+
var bank, board_id, data;
|
|
186
|
+
return __generator(this, function (_a) {
|
|
187
|
+
switch (_a.label) {
|
|
196
188
|
case 0:
|
|
197
189
|
bank = thunkApi.getState().bank;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
throw new Error('Internal server error');
|
|
201
|
-
_b = recipient || {}, id = _b.id, type = _b.type;
|
|
202
|
-
return [4, Promise.all([
|
|
203
|
-
API.boardService.retrieveBoardInfoStatus(board_id),
|
|
204
|
-
thunkApi.dispatch(retrieveBoardDetails({ boardId: board_id, individualId: id, individualType: type })).unwrap()
|
|
205
|
-
])];
|
|
190
|
+
board_id = (bank.data.verify.responseBody || {}).id;
|
|
191
|
+
return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
|
|
206
192
|
case 1:
|
|
207
|
-
data =
|
|
193
|
+
data = _a.sent();
|
|
208
194
|
thunkApi.dispatch(handlePrevScreenStep());
|
|
209
195
|
return [2, { flows: (data === null || data === void 0 ? void 0 : data.info) || [] }];
|
|
210
196
|
}
|
|
211
197
|
});
|
|
212
198
|
}); });
|
|
213
|
-
export var retrieveBoardDetails = createAsyncThunk('bank/retrieveBoardDetails', function (
|
|
214
|
-
var
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
if (!(((_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.id) !== id)) return [3, 3];
|
|
226
|
-
serviceCallBack = function () { return API.individualService.retrieveIndividual(id, type); };
|
|
227
|
-
return [4, retrieveIndividualData(type, data, serviceCallBack)];
|
|
228
|
-
case 2:
|
|
229
|
-
_b = _f.sent(), boardRes = _b.boardRes, individualRes = _b.individualRes;
|
|
230
|
-
individualData = individualRes;
|
|
231
|
-
boardData = boardRes;
|
|
232
|
-
_f.label = 3;
|
|
233
|
-
case 3: return [2, __assign(__assign({}, boardData), { brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand, bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account, entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, name: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.names, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, contact: (_e = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _e === void 0 ? void 0 : _e.contact, user: individualData, board_status: boardData === null || boardData === void 0 ? void 0 : boardData.status })];
|
|
234
|
-
}
|
|
235
|
-
});
|
|
199
|
+
export var retrieveBoardDetails = createAsyncThunk('bank/retrieveBoardDetails', function (boardId) { return __awaiter(void 0, void 0, void 0, function () {
|
|
200
|
+
var data;
|
|
201
|
+
var _a, _b;
|
|
202
|
+
return __generator(this, function (_c) {
|
|
203
|
+
switch (_c.label) {
|
|
204
|
+
case 0: return [4, API.boardService.retrieveBoardDetails(boardId)];
|
|
205
|
+
case 1:
|
|
206
|
+
data = _c.sent();
|
|
207
|
+
return [2, {
|
|
208
|
+
data: __assign(__assign({}, data), { user: data === null || data === void 0 ? void 0 : data.user, brand: data === null || data === void 0 ? void 0 : data.brand, bank_account: data === null || data === void 0 ? void 0 : data.bank_account, entity: data === null || data === void 0 ? void 0 : data.entity, merchant: data === null || data === void 0 ? void 0 : data.merchant, name: (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.names, business: data === null || data === void 0 ? void 0 : data.business, individuals: data === null || data === void 0 ? void 0 : data.individuals, contact: (_b = data === null || data === void 0 ? void 0 : data.user) === null || _b === void 0 ? void 0 : _b.contact, board_status: data === null || data === void 0 ? void 0 : data.status })
|
|
209
|
+
}];
|
|
210
|
+
}
|
|
236
211
|
});
|
|
237
|
-
});
|
|
212
|
+
}); });
|
|
238
213
|
export var createBankAccount = createAsyncThunk('createBankAccount', function (_a, thunkApi) {
|
|
239
|
-
var formData = _a.formData, originalFormData = _a.originalFormData
|
|
214
|
+
var formData = _a.formData, originalFormData = _a.originalFormData;
|
|
240
215
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
241
|
-
var _b, settings, bank, iban, beneficiaryName, bankName, bankStatementId, confirmPolicy, _c, bank_account,
|
|
242
|
-
var _e, _f;
|
|
243
|
-
return __generator(this, function (
|
|
244
|
-
switch (
|
|
216
|
+
var _b, settings, bank, iban, beneficiaryName, bankName, bankStatementId, confirmPolicy, _c, bank_account, notification, _d, data_status, document, isIBANMasked, isIBANNonEditable, isBeneficiaryNameNonEditable, isBankNameNonEditable, isBankStatementIdNonEditable, isConfirmPolicyNonEditable, documentResponse, hasDocument, documentId, requestBody, data, documentBody;
|
|
217
|
+
var _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
218
|
+
return __generator(this, function (_p) {
|
|
219
|
+
switch (_p.label) {
|
|
245
220
|
case 0:
|
|
246
221
|
_b = thunkApi.getState(), settings = _b.settings, bank = _b.bank;
|
|
247
222
|
iban = formData.iban, beneficiaryName = formData.beneficiaryName, bankName = formData.bankName, bankStatementId = formData.bankStatementId, confirmPolicy = formData.confirmPolicy;
|
|
248
|
-
_c = bank.data.verify.responseBody || {}, bank_account = _c.bank_account,
|
|
223
|
+
_c = bank.data.verify.responseBody || {}, bank_account = _c.bank_account, notification = _c.notification;
|
|
249
224
|
_d = bank_account || {}, data_status = _d.data_status, document = _d.document;
|
|
250
225
|
isIBANMasked = isStringHasOneAsterisk(iban);
|
|
251
226
|
isIBANNonEditable = hasNoneEditableValue(data_status, 'iban');
|
|
@@ -254,16 +229,14 @@ export var createBankAccount = createAsyncThunk('createBankAccount', function (_
|
|
|
254
229
|
isBankStatementIdNonEditable = hasNoneEditableValue(data_status, 'bank_statement_file_id');
|
|
255
230
|
isConfirmPolicyNonEditable = hasNoneEditableValue(data_status, 'is_acknowledged');
|
|
256
231
|
documentResponse = undefined;
|
|
257
|
-
|
|
258
|
-
hasDocument = !isBankStatementIdNonEditable && (bankStatementId || []).length > 0;
|
|
232
|
+
hasDocument = (bankStatementId || []).length > 0;
|
|
259
233
|
documentId = document === null || document === void 0 ? void 0 : document.id;
|
|
260
234
|
requestBody = {
|
|
261
|
-
wallet_id:
|
|
235
|
+
wallet_id: (_j = (_h = (_g = (_f = (_e = bank.data.verify.responseBody) === null || _e === void 0 ? void 0 : _e.business) === null || _f === void 0 ? void 0 : _f.entity) === null || _g === void 0 ? void 0 : _g.merchant) === null || _h === void 0 ? void 0 : _h.wallet) === null || _j === void 0 ? void 0 : _j.id,
|
|
262
236
|
bank_account: __assign(__assign({ iban: isIBANNonEditable || isIBANMasked ? undefined : iban, beneficiary_name: isBeneficiaryNameNonEditable ? undefined : beneficiaryName, bank_name: isBankNameNonEditable ? undefined : bankName }, (!isConfirmPolicyNonEditable && {
|
|
263
|
-
acknowledged_by:
|
|
237
|
+
acknowledged_by: (_k = notification === null || notification === void 0 ? void 0 : notification.recipient) === null || _k === void 0 ? void 0 : _k.id,
|
|
264
238
|
is_acknowledged: confirmPolicy
|
|
265
|
-
})), (!documentId &&
|
|
266
|
-
hasDocument && {
|
|
239
|
+
})), (!(isBankStatementIdNonEditable || documentId || !hasDocument) && {
|
|
267
240
|
document: {
|
|
268
241
|
type: DocumentPurpose.BANK_STATEMENT,
|
|
269
242
|
files: bankStatementId || []
|
|
@@ -272,25 +245,24 @@ export var createBankAccount = createAsyncThunk('createBankAccount', function (_
|
|
|
272
245
|
step_name: BANK_STEP_NAMES.BANK_INFO,
|
|
273
246
|
encryption_contract: ['bank_account.iban', 'bank_account.beneficiary_name', 'bank_account.bank_name']
|
|
274
247
|
};
|
|
275
|
-
if (!(isDirty || (!documentId && hasDocument))) return [3, 2];
|
|
276
248
|
return [4, API.entityService.createBankAccount(requestBody)];
|
|
277
249
|
case 1:
|
|
278
|
-
data =
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
if (!(documentId && hasDocument)) return [3,
|
|
250
|
+
data = (_p.sent()).data;
|
|
251
|
+
if ((_l = data.errors) === null || _l === void 0 ? void 0 : _l.length)
|
|
252
|
+
throw new Error(data.errors[0].description);
|
|
253
|
+
if (!(!isBankStatementIdNonEditable && documentId && hasDocument)) return [3, 3];
|
|
282
254
|
documentBody = {
|
|
283
255
|
id: documentId,
|
|
284
256
|
files: bankStatementId || []
|
|
285
257
|
};
|
|
286
258
|
return [4, API.documentService.addFilesToExistingDocument(documentBody)];
|
|
259
|
+
case 2:
|
|
260
|
+
documentResponse = _p.sent();
|
|
261
|
+
_p.label = 3;
|
|
287
262
|
case 3:
|
|
288
|
-
|
|
289
|
-
_g.label = 4;
|
|
290
|
-
case 4:
|
|
291
|
-
data = __assign(__assign({}, data), { documentResponse: documentResponse });
|
|
263
|
+
data.documentData = documentResponse;
|
|
292
264
|
thunkApi.dispatch(handleNextScreenStep());
|
|
293
|
-
(
|
|
265
|
+
(_o = (_m = settings.data.appConfig).onStepCompleted) === null || _o === void 0 ? void 0 : _o.call(_m, settings.data.activeScreen.name, requestBody);
|
|
294
266
|
return [2, { data: data, formData: originalFormData }];
|
|
295
267
|
}
|
|
296
268
|
});
|
|
@@ -317,45 +289,40 @@ export var checkIbanBank = createAsyncThunk('checkIbanBank', function (_a) {
|
|
|
317
289
|
});
|
|
318
290
|
});
|
|
319
291
|
export var updateBoardSuccess = createAsyncThunk('updateBoardBankSuccess', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
320
|
-
var _a, settings, bank, _b,
|
|
321
|
-
var _e, _f, _g, _h, _j, _k, _l
|
|
322
|
-
return __generator(this, function (
|
|
323
|
-
switch (
|
|
292
|
+
var _a, settings, bank, verify, _b, id, infoId, _c, showBoard, mode, payload, data, boardInfoData;
|
|
293
|
+
var _d, _e, _f, _g, _h, _j, _k, _l;
|
|
294
|
+
return __generator(this, function (_m) {
|
|
295
|
+
switch (_m.label) {
|
|
324
296
|
case 0:
|
|
325
297
|
_a = thunkApi.getState(), settings = _a.settings, bank = _a.bank;
|
|
326
|
-
|
|
298
|
+
verify = bank.data.verify;
|
|
299
|
+
_b = verify.responseBody || {}, id = _b.board_id, infoId = _b.board_info_id;
|
|
327
300
|
_c = settings.data.appConfig, showBoard = _c.showBoard, mode = _c.mode;
|
|
328
|
-
if (!
|
|
301
|
+
if (!id)
|
|
329
302
|
return [2];
|
|
330
303
|
payload = {
|
|
331
304
|
lang: settings.data.language,
|
|
332
|
-
step_name: BANK_STEP_NAMES.BANK_SUCCESS
|
|
305
|
+
step_name: BANK_STEP_NAMES.BANK_SUCCESS,
|
|
306
|
+
id: id
|
|
333
307
|
};
|
|
334
|
-
return [4, API.boardService.updateBoardInfo(__assign({ id:
|
|
308
|
+
return [4, API.boardService.updateBoardInfo(__assign({ id: id, infoId: infoId }, payload))];
|
|
335
309
|
case 1:
|
|
336
|
-
data =
|
|
337
|
-
sendCustomEventToGTM({
|
|
338
|
-
event: 'Send Event',
|
|
339
|
-
event_category: 'Board Flows - Wallet',
|
|
340
|
-
event_action: 'Wallet Update Success Page',
|
|
341
|
-
event_label: settings.data.businessCountry.iso2
|
|
342
|
-
});
|
|
310
|
+
data = _m.sent();
|
|
343
311
|
if (!showBoard && mode === 'content') {
|
|
344
|
-
(
|
|
345
|
-
(
|
|
346
|
-
return [2, {
|
|
312
|
+
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, {});
|
|
313
|
+
(_g = (_f = settings.data.appConfig).onFlowCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, { data: data });
|
|
314
|
+
return [2, { response: __assign({}, data), formData: params }];
|
|
347
315
|
}
|
|
348
|
-
|
|
349
|
-
return [4, Promise.all([
|
|
350
|
-
API.boardService.retrieveBoardInfoStatus(board_id),
|
|
351
|
-
thunkApi.dispatch(retrieveBoardDetails({ boardId: board_id, individualId: id, individualType: type })).unwrap()
|
|
352
|
-
])];
|
|
316
|
+
return [4, API.boardService.retrieveBoardInfoStatus(id)];
|
|
353
317
|
case 2:
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
318
|
+
boardInfoData = _m.sent();
|
|
319
|
+
return [4, thunkApi.dispatch(retrieveBoardDetails(id))];
|
|
320
|
+
case 3:
|
|
321
|
+
_m.sent();
|
|
322
|
+
(_j = (_h = settings.data.appConfig).onStepCompleted) === null || _j === void 0 ? void 0 : _j.call(_h, settings.data.activeScreen.name, {});
|
|
323
|
+
(_l = (_k = settings.data.appConfig).onFlowCompleted) === null || _l === void 0 ? void 0 : _l.call(_k, { data: data });
|
|
357
324
|
thunkApi.dispatch(handleNextScreenStep());
|
|
358
|
-
return [2, {
|
|
325
|
+
return [2, { response: __assign(__assign({}, data), { flows: (boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.info) || [] }), formData: params }];
|
|
359
326
|
}
|
|
360
327
|
});
|
|
361
328
|
}); });
|
|
@@ -418,17 +385,23 @@ export var bankSlice = createSlice({
|
|
|
418
385
|
state.customLoading = true;
|
|
419
386
|
})
|
|
420
387
|
.addCase(verifyLeadToken.fulfilled, function (state, action) {
|
|
388
|
+
var _a;
|
|
421
389
|
state.error = null;
|
|
422
390
|
state.customLoading = false;
|
|
423
|
-
var
|
|
424
|
-
var
|
|
391
|
+
var _b = action.payload, data = _b.data, token = _b.token, boardResponse = _b.boardResponse, individualData = _b.individualData;
|
|
392
|
+
var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
|
|
393
|
+
if (description) {
|
|
394
|
+
state.error = description;
|
|
395
|
+
return;
|
|
396
|
+
}
|
|
397
|
+
state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, data), boardResponse), state.data.verify.responseBody), { board_id: data.id, individualData: individualData });
|
|
398
|
+
state.data.verify.token = token;
|
|
399
|
+
var _c = (boardResponse === null || boardResponse === void 0 ? void 0 : boardResponse.bank_account) || {}, bank_name = _c.bank_name, beneficiary_name = _c.beneficiary_name, iban = _c.iban, is_acknowledged = _c.is_acknowledged;
|
|
425
400
|
state.data.bankData.bankName = bank_name || '';
|
|
426
401
|
state.data.bankData.beneficiaryName = beneficiary_name || '';
|
|
427
402
|
state.data.bankData.iban = iban || '';
|
|
428
403
|
if (is_acknowledged)
|
|
429
404
|
state.data.bankData.confirmPolicy = is_acknowledged;
|
|
430
|
-
state.data.verify.responseBody = __assign(__assign(__assign({}, data), state.data.verify.responseBody), { bank_account: bank_account, board_id: data.id });
|
|
431
|
-
state.data.verify.token = token;
|
|
432
405
|
})
|
|
433
406
|
.addCase(verifyLeadToken.rejected, function (state, action) {
|
|
434
407
|
state.error = action.error.message;
|
|
@@ -456,18 +429,17 @@ export var bankSlice = createSlice({
|
|
|
456
429
|
state.error = null;
|
|
457
430
|
})
|
|
458
431
|
.addCase(verifyBankLeadOTP.fulfilled, function (state, action) {
|
|
432
|
+
var _a;
|
|
459
433
|
state.loading = false;
|
|
460
434
|
state.error = null;
|
|
461
|
-
var
|
|
435
|
+
var _b = action.payload, data = _b.data, formData = _b.formData;
|
|
436
|
+
var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
|
|
437
|
+
if (description) {
|
|
438
|
+
state.error = description;
|
|
439
|
+
return;
|
|
440
|
+
}
|
|
462
441
|
state.data.otpData = formData;
|
|
463
442
|
state.data.otpData.responseBody = data;
|
|
464
|
-
var _b = bank_account || {}, bank_name = _b.bank_name, beneficiary_name = _b.beneficiary_name, iban = _b.iban, is_acknowledged = _b.is_acknowledged;
|
|
465
|
-
state.data.bankData.bankName = bank_name || '';
|
|
466
|
-
state.data.bankData.beneficiaryName = beneficiary_name || '';
|
|
467
|
-
state.data.bankData.iban = iban || '';
|
|
468
|
-
if (is_acknowledged)
|
|
469
|
-
state.data.bankData.confirmPolicy = is_acknowledged;
|
|
470
|
-
state.data.verify.responseBody = __assign(__assign(__assign({}, data), state.data.verify.responseBody), { bank_account: bank_account, board_id: data.id });
|
|
471
443
|
})
|
|
472
444
|
.addCase(verifyBankLeadOTP.rejected, function (state, action) {
|
|
473
445
|
state.loading = false;
|
|
@@ -480,7 +452,7 @@ export var bankSlice = createSlice({
|
|
|
480
452
|
.addCase(retrieveBoardDetails.fulfilled, function (state, action) {
|
|
481
453
|
state.error = null;
|
|
482
454
|
state.loading = false;
|
|
483
|
-
var data = action.payload || {};
|
|
455
|
+
var data = (action.payload || {}).data;
|
|
484
456
|
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), data);
|
|
485
457
|
})
|
|
486
458
|
.addCase(retrieveBoardDetails.rejected, function (state, action) {
|
|
@@ -505,8 +477,18 @@ export var bankSlice = createSlice({
|
|
|
505
477
|
var _a;
|
|
506
478
|
state.loading = false;
|
|
507
479
|
state.error = null;
|
|
508
|
-
var
|
|
509
|
-
|
|
480
|
+
var response = (action.payload || {}).response;
|
|
481
|
+
var description = (((_a = response === null || response === void 0 ? void 0 : response.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
|
|
482
|
+
if (description) {
|
|
483
|
+
state.error = description;
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
486
|
+
var flows = response.flows;
|
|
487
|
+
var _b = state.data.verify.responseBody || {}, individuals = _b.individuals, individualData = _b.individualData;
|
|
488
|
+
var data_state = (((individualData === null || individualData === void 0 ? void 0 : individualData.is_authorized) ? individuals : individualData) || {}).data_state;
|
|
489
|
+
state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, state.data.verify.responseBody), { flows: flows }), (individualData && { user: individualData })), (data_state && {
|
|
490
|
+
individuals: __assign(__assign({}, individuals), { data_state: data_state })
|
|
491
|
+
}));
|
|
510
492
|
})
|
|
511
493
|
.addCase(updateBoardSuccess.pending, function (state) {
|
|
512
494
|
state.loading = true;
|
|
@@ -1,55 +1,19 @@
|
|
|
1
1
|
import { RootState } from '../../../app/store';
|
|
2
2
|
import { FlowsTypes, OTPFormValues, ResponseData, SharedState } from '../../../@types';
|
|
3
|
-
export declare const createVerifyTokenBy: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
4
|
-
state?: unknown;
|
|
5
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
6
|
-
extra?: unknown;
|
|
7
|
-
rejectValue?: unknown;
|
|
8
|
-
serializedErrorType?: unknown;
|
|
9
|
-
pendingMeta?: unknown;
|
|
10
|
-
fulfilledMeta?: unknown;
|
|
11
|
-
rejectedMeta?: unknown;
|
|
12
|
-
}>;
|
|
3
|
+
export declare const createVerifyTokenBy: import("@reduxjs/toolkit").AsyncThunk<any, string, {}>;
|
|
13
4
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
14
5
|
data: any;
|
|
15
|
-
}, void, {
|
|
16
|
-
state?: unknown;
|
|
17
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
18
|
-
extra?: unknown;
|
|
19
|
-
rejectValue?: unknown;
|
|
20
|
-
serializedErrorType?: unknown;
|
|
21
|
-
pendingMeta?: unknown;
|
|
22
|
-
fulfilledMeta?: unknown;
|
|
23
|
-
rejectedMeta?: unknown;
|
|
24
|
-
}>;
|
|
6
|
+
}, void, {}>;
|
|
25
7
|
export declare const verifyBoardLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
26
8
|
data: any;
|
|
27
9
|
formData: OTPFormValues;
|
|
28
|
-
}, OTPFormValues, {
|
|
29
|
-
state?: unknown;
|
|
30
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
31
|
-
extra?: unknown;
|
|
32
|
-
rejectValue?: unknown;
|
|
33
|
-
serializedErrorType?: unknown;
|
|
34
|
-
pendingMeta?: unknown;
|
|
35
|
-
fulfilledMeta?: unknown;
|
|
36
|
-
rejectedMeta?: unknown;
|
|
37
|
-
}>;
|
|
10
|
+
}, OTPFormValues, {}>;
|
|
38
11
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
39
12
|
data: any;
|
|
40
13
|
}, {
|
|
41
14
|
boardId: string;
|
|
42
15
|
boardInfoId: string;
|
|
43
|
-
}, {
|
|
44
|
-
state?: unknown;
|
|
45
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
46
|
-
extra?: unknown;
|
|
47
|
-
rejectValue?: unknown;
|
|
48
|
-
serializedErrorType?: unknown;
|
|
49
|
-
pendingMeta?: unknown;
|
|
50
|
-
fulfilledMeta?: unknown;
|
|
51
|
-
rejectedMeta?: unknown;
|
|
52
|
-
}>;
|
|
16
|
+
}, {}>;
|
|
53
17
|
export interface BoardData {
|
|
54
18
|
verify: ResponseData;
|
|
55
19
|
otpData: OTPFormValues & ResponseData;
|
|
@@ -63,7 +27,7 @@ export declare const boardSlice: import("@reduxjs/toolkit").Slice<BoardState, {
|
|
|
63
27
|
stopLoader: (state: BoardState) => void;
|
|
64
28
|
resetOTPScreen: (state: BoardState) => void;
|
|
65
29
|
}, "bank/store">;
|
|
66
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
30
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
67
31
|
declare const _default: import("redux").Reducer<BoardState, import("redux").AnyAction>;
|
|
68
32
|
export default _default;
|
|
69
33
|
export declare const boardSelector: (state: RootState) => BoardState;
|