@tap-payments/auth-jsconnect 2.6.60-test → 2.6.82-test
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 +21 -20
- package/build/@types/form.d.ts +21 -21
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +31 -12
- package/build/api/auth.js +9 -1
- 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 +14 -9
- package/build/api/entity.js +2 -5
- package/build/api/file.d.ts +1 -1
- package/build/api/index.d.ts +6 -5
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +19 -12
- package/build/api/lead.js +3 -6
- 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 +4 -4
- package/build/app/store.d.ts +4 -4
- package/build/assets/locales/ar.json +5 -1
- package/build/assets/locales/en.json +5 -1
- package/build/components/AnimationFlow/AnimationFlow.d.ts +7 -2
- package/build/components/AnimationFlow/AnimationFlow.js +16 -5
- package/build/components/AnimationFlow/BottomSheet.d.ts +3 -1
- package/build/components/AnimationFlow/BottomSheet.js +4 -4
- package/build/components/AnimationFlow/Dialog.d.ts +7 -1
- package/build/components/AnimationFlow/Dialog.js +5 -9
- package/build/components/AnimationFlow/Error.d.ts +2 -1
- package/build/components/AnimationFlow/Loader.d.ts +7 -1
- package/build/components/AnimationFlow/Loader.js +17 -5
- 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 +1 -2
- package/build/constants/app.js +14 -3
- package/build/constants/assets.d.ts +1 -0
- package/build/constants/assets.js +2 -1
- package/build/features/app/auth/authStore.d.ts +16 -131
- package/build/features/app/auth/authStore.js +175 -110
- package/build/features/app/bank/bankStore.d.ts +11 -92
- 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 +9 -3
- package/build/features/app/brand/brandStore.d.ts +16 -142
- package/build/features/app/brand/brandStore.js +1 -1
- package/build/features/app/business/businessStore.d.ts +18 -162
- package/build/features/app/business/businessStore.js +1 -1
- 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 +27 -261
- package/build/features/app/connectExpress/connectExpressStore.js +19 -6
- package/build/features/app/entity/entityStore.d.ts +11 -92
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +23 -185
- package/build/features/app/individual/individualStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +13 -112
- 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 +10 -82
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/auth/Auth.d.ts +7 -1
- package/build/features/auth/Auth.js +65 -14
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +5 -0
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.js +74 -0
- package/build/features/auth/screens/AccountNotFound/index.d.ts +2 -0
- package/build/features/auth/screens/AccountNotFound/index.js +2 -0
- 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/EntityList.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/Mobile/Mobile.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.js +6 -0
- 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/OTP.js +2 -3
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +5 -0
- package/build/features/auth/screens/PreparingData/PreparingData.js +41 -0
- package/build/features/auth/screens/PreparingData/index.d.ts +2 -0
- package/build/features/auth/screens/PreparingData/index.js +2 -0
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +3 -1
- package/build/features/bank/Bank.js +5 -4
- 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/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 +3 -1
- package/build/features/board/Board.js +7 -5
- 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 +3 -1
- package/build/features/brand/Brand.js +5 -4
- 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 +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/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/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/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 +30 -9
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -1
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/OTP/OTP.d.ts +1 -1
- package/build/features/business/screens/OTP/OTPInput.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 +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +4 -2
- 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/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.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 +4 -2
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +3 -1
- package/build/features/entity/Entity.js +5 -4
- 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/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 +10 -0
- package/build/features/individual/Individual.d.ts +3 -1
- package/build/features/individual/Individual.js +5 -4
- 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/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 +4 -3
- 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/Email.js +4 -2
- 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/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 +3 -1
- package/build/features/password/Password.js +5 -5
- 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/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 +2 -1
- package/build/features/shared/Background/Background.js +9 -11
- 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 +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/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 +2 -1
- package/build/features/shared/Containers/FeatureContainer.js +3 -3
- 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 +2 -1
- package/build/features/shared/DataLoading/DataLoading.js +2 -2
- 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/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/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +3 -1
- package/build/features/tax/Tax.js +5 -4
- 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/useAppConfig.js +2 -2
- 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/hooks/useVerifyToken.d.ts +2 -1
- package/build/hooks/useVerifyToken.js +2 -2
- package/build/theme/palette.js +2 -1
- package/build/utils/array.js +1 -1
- package/build/utils/validation.d.ts +2 -0
- package/build/utils/validation.js +7 -1
- package/package.json +1 -1
|
@@ -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]) {
|
|
@@ -48,10 +48,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
50
|
import { AuthForType, FlowsTypes } from '../../../@types';
|
|
51
|
-
import {
|
|
51
|
+
import { AUTH_STEP_NAMES, IDENTIFICATION_TYPE, defaultCountry } from '../../../constants';
|
|
52
52
|
import API from '../../../api';
|
|
53
53
|
import { handleCurrentActiveScreen, handleNextScreenStep, handleOpen, handleSetCountryByIso2 } from '../../../app/settings';
|
|
54
|
-
import { findCountryByIddPrefix, isSA, sleep } from '../../../utils';
|
|
54
|
+
import { findCountryByIddPrefix, isSA, openConnect, sleep } from '../../../utils';
|
|
55
55
|
export var updateBusinessCountry = createAsyncThunk('auth/updateBusinessCountry', function (countryCode, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
56
56
|
var auth, payload, data;
|
|
57
57
|
return __generator(this, function (_a) {
|
|
@@ -71,7 +71,7 @@ export var updateBusinessCountry = createAsyncThunk('auth/updateBusinessCountry'
|
|
|
71
71
|
});
|
|
72
72
|
}); });
|
|
73
73
|
export var retrieveLeadIdentityByIdAsync = createAsyncThunk('auth/retrieveLeadIdentityByIdAsync', function (leadId, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
74
|
-
var settingData, countryCode, data, _a, country_code, contact, phone;
|
|
74
|
+
var settingData, countryCode, data, _a, country_code, contact, businessCountryIso2, ipCountryIso2, phone;
|
|
75
75
|
var _b, _c;
|
|
76
76
|
return __generator(this, function (_d) {
|
|
77
77
|
switch (_d.label) {
|
|
@@ -82,22 +82,34 @@ export var retrieveLeadIdentityByIdAsync = createAsyncThunk('auth/retrieveLeadId
|
|
|
82
82
|
case 1:
|
|
83
83
|
data = _d.sent();
|
|
84
84
|
_a = data || {}, country_code = _a.country_code, contact = _a.contact;
|
|
85
|
-
|
|
85
|
+
businessCountryIso2 = (_b = settingData.businessCountry) === null || _b === void 0 ? void 0 : _b.iso2;
|
|
86
|
+
ipCountryIso2 = (_c = settingData.businessCountry) === null || _c === void 0 ? void 0 : _c.iso2;
|
|
87
|
+
if (country_code) {
|
|
86
88
|
thunkApi.dispatch(handleSetCountryByIso2(country_code));
|
|
89
|
+
businessCountryIso2 = country_code;
|
|
90
|
+
}
|
|
87
91
|
phone = (contact || {}).phone;
|
|
88
92
|
if (phone === null || phone === void 0 ? void 0 : phone.country_code)
|
|
89
93
|
countryCode = findCountryByIddPrefix(settingData.countries, phone.country_code);
|
|
90
|
-
if (!
|
|
94
|
+
if (!businessCountryIso2 && ipCountryIso2 && settingData.appConfig.scope === 'auth') {
|
|
95
|
+
thunkApi.dispatch(handleSetCountryByIso2(ipCountryIso2));
|
|
96
|
+
businessCountryIso2 = ipCountryIso2;
|
|
97
|
+
}
|
|
98
|
+
if (!country_code && !businessCountryIso2) {
|
|
91
99
|
thunkApi.dispatch(handleCurrentActiveScreen('AUTH_BUSINESS_COUNTRY_STEP'));
|
|
92
100
|
return [2, { data: data, countryCode: countryCode }];
|
|
93
101
|
}
|
|
94
|
-
if ((data === null || data === void 0 ? void 0 : data.
|
|
102
|
+
if (!(data === null || data === void 0 ? void 0 : data.identification) && phone) {
|
|
103
|
+
thunkApi.dispatch(handleCurrentActiveScreen('AUTH_MOBILE_STEP'));
|
|
104
|
+
return [2, { data: data, countryCode: countryCode }];
|
|
105
|
+
}
|
|
106
|
+
if (country_code && !businessCountryIso2) {
|
|
95
107
|
thunkApi.dispatch(handleSetCountryByIso2(data.country_code));
|
|
96
108
|
if (!isSA(data.country_code))
|
|
97
109
|
thunkApi.dispatch(handleCurrentActiveScreen('AUTH_MOBILE_STEP'));
|
|
98
110
|
return [2, { data: data, countryCode: countryCode }];
|
|
99
111
|
}
|
|
100
|
-
if (!isSA(
|
|
112
|
+
if (!isSA(businessCountryIso2)) {
|
|
101
113
|
thunkApi.dispatch(handleCurrentActiveScreen('AUTH_MOBILE_STEP'));
|
|
102
114
|
return [2, { data: data, countryCode: countryCode }];
|
|
103
115
|
}
|
|
@@ -163,18 +175,17 @@ export var resendMobileAuthOTP = createAsyncThunk('auth/resendMobileAuthOTP', fu
|
|
|
163
175
|
});
|
|
164
176
|
}); });
|
|
165
177
|
export var verifyMobileOtp = createAsyncThunk('auth/verifyMobileOtp', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
166
|
-
var _a, settings, auth, _b, responseData, leadId, _c, auth_token, device_token, service_name,
|
|
167
|
-
var _e, _f, _g
|
|
168
|
-
return __generator(this, function (
|
|
169
|
-
switch (
|
|
178
|
+
var _a, settings, auth, _b, responseData, leadId, _c, auth_token, device_token, service_name, scope, payload, data;
|
|
179
|
+
var _d, _e, _f, _g;
|
|
180
|
+
return __generator(this, function (_h) {
|
|
181
|
+
switch (_h.label) {
|
|
170
182
|
case 0:
|
|
171
183
|
_a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
|
|
172
184
|
_b = auth.data || {}, responseData = _b.responseData, leadId = _b.leadId;
|
|
173
|
-
_c = (
|
|
185
|
+
_c = (_d = responseData === null || responseData === void 0 ? void 0 : responseData.authResponse) !== null && _d !== void 0 ? _d : {}, auth_token = _c.auth_token, device_token = _c.device_token, service_name = _c.service_name;
|
|
174
186
|
if (!auth_token)
|
|
175
187
|
throw new Error('Auth token is missing');
|
|
176
|
-
|
|
177
|
-
isDataHasIndividualOnly = (authData === null || authData === void 0 ? void 0 : authData.length) === 1 && authData.includes('individual');
|
|
188
|
+
scope = settings.data.appConfig.scope;
|
|
178
189
|
payload = {
|
|
179
190
|
auth_token: auth_token,
|
|
180
191
|
lead_id: leadId,
|
|
@@ -188,29 +199,16 @@ export var verifyMobileOtp = createAsyncThunk('auth/verifyMobileOtp', function (
|
|
|
188
199
|
};
|
|
189
200
|
return [4, API.authService.verifyAuth(payload)];
|
|
190
201
|
case 1:
|
|
191
|
-
data = (
|
|
192
|
-
if ((
|
|
202
|
+
data = (_h.sent()).data;
|
|
203
|
+
if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
|
|
193
204
|
throw new Error(data.errors[0].description);
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
(_h = (_g = settings.data.appConfig).onStepCompleted) === null || _h === void 0 ? void 0 : _h.call(_g, settings.data.activeScreen.name, params);
|
|
198
|
-
_d = accountData || {}, step_name = _d.step_name, brands = _d.brands, entities = _d.entities;
|
|
199
|
-
brandList = brands || [];
|
|
200
|
-
entityList = entities || [];
|
|
201
|
-
isExistingUser = step_name === 'select_account';
|
|
202
|
-
authId = data.id;
|
|
203
|
-
if (!(isExistingUser && isDataHasIndividualOnly && authId)) return [3, 4];
|
|
204
|
-
return [4, thunkApi.dispatch(confirmInfo({ authId: authId }))];
|
|
205
|
-
case 3:
|
|
206
|
-
_j.sent();
|
|
207
|
-
return [2, { data: data, brandList: brandList, entityList: entityList }];
|
|
208
|
-
case 4:
|
|
209
|
-
if (isExistingUser && !isDataHasIndividualOnly && brandList.length && entityList.length) {
|
|
210
|
-
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_AUTHENTICATION_LIST_STEP')); });
|
|
211
|
-
return [2, { data: data, brandList: brandList, entityList: entityList }];
|
|
205
|
+
if (scope === 'merchant') {
|
|
206
|
+
openConnect(settings.data.appConfig.publicKey, settings.data.businessCountry.iso2);
|
|
207
|
+
return [2, data];
|
|
212
208
|
}
|
|
213
|
-
|
|
209
|
+
(_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, params);
|
|
210
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_PREPARING_DATA_STEP')); });
|
|
211
|
+
return [2, data];
|
|
214
212
|
}
|
|
215
213
|
});
|
|
216
214
|
}); });
|
|
@@ -292,18 +290,17 @@ export var resendNIDAuthOTP = createAsyncThunk('auth/resendNIDAuthOTP', function
|
|
|
292
290
|
});
|
|
293
291
|
}); });
|
|
294
292
|
export var verifyNIDOtp = createAsyncThunk('auth/verifyNIDOtp', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
295
|
-
var _a, settings, auth, _b, responseData, leadId, _c, auth_token, device_token, service_name,
|
|
296
|
-
var _e, _f, _g
|
|
297
|
-
return __generator(this, function (
|
|
298
|
-
switch (
|
|
293
|
+
var _a, settings, auth, _b, responseData, leadId, _c, auth_token, device_token, service_name, scope, payload, data;
|
|
294
|
+
var _d, _e, _f, _g;
|
|
295
|
+
return __generator(this, function (_h) {
|
|
296
|
+
switch (_h.label) {
|
|
299
297
|
case 0:
|
|
300
298
|
_a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
|
|
301
299
|
_b = auth.data || {}, responseData = _b.responseData, leadId = _b.leadId;
|
|
302
|
-
_c = (
|
|
300
|
+
_c = (_d = responseData === null || responseData === void 0 ? void 0 : responseData.authResponse) !== null && _d !== void 0 ? _d : {}, auth_token = _c.auth_token, device_token = _c.device_token, service_name = _c.service_name;
|
|
303
301
|
if (!auth_token)
|
|
304
302
|
throw new Error('Auth token is missing');
|
|
305
|
-
|
|
306
|
-
isDataHasIndividualOnly = (authData === null || authData === void 0 ? void 0 : authData.length) === 1 && authData.includes('individual');
|
|
303
|
+
scope = settings.data.appConfig.scope;
|
|
307
304
|
payload = {
|
|
308
305
|
auth_token: auth_token,
|
|
309
306
|
lead_id: leadId,
|
|
@@ -317,29 +314,16 @@ export var verifyNIDOtp = createAsyncThunk('auth/verifyNIDOtp', function (params
|
|
|
317
314
|
};
|
|
318
315
|
return [4, API.authService.verifyAuth(payload)];
|
|
319
316
|
case 1:
|
|
320
|
-
data = (
|
|
321
|
-
if ((
|
|
317
|
+
data = (_h.sent()).data;
|
|
318
|
+
if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
|
|
322
319
|
throw new Error(data.errors[0].description);
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
(_h = (_g = settings.data.appConfig).onStepCompleted) === null || _h === void 0 ? void 0 : _h.call(_g, settings.data.activeScreen.name, params);
|
|
327
|
-
_d = accountData || {}, step_name = _d.step_name, brands = _d.brands, entities = _d.entities;
|
|
328
|
-
brandList = brands || [];
|
|
329
|
-
entityList = entities || [];
|
|
330
|
-
isExistingUser = step_name === 'select_account';
|
|
331
|
-
authId = data.id;
|
|
332
|
-
if (!(isExistingUser && isDataHasIndividualOnly && authId)) return [3, 4];
|
|
333
|
-
return [4, thunkApi.dispatch(confirmInfo({ authId: authId }))];
|
|
334
|
-
case 3:
|
|
335
|
-
_j.sent();
|
|
336
|
-
return [2, { data: data, brandList: brandList, entityList: entityList }];
|
|
337
|
-
case 4:
|
|
338
|
-
if (isExistingUser && !isDataHasIndividualOnly && brandList.length && entityList.length) {
|
|
339
|
-
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_AUTHENTICATION_LIST_STEP')); });
|
|
340
|
-
return [2, { data: data, brandList: brandList, entityList: entityList }];
|
|
320
|
+
if (scope === 'merchant') {
|
|
321
|
+
openConnect(settings.data.appConfig.publicKey, settings.data.businessCountry.iso2);
|
|
322
|
+
return [2, data];
|
|
341
323
|
}
|
|
342
|
-
|
|
324
|
+
(_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, params);
|
|
325
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_PREPARING_DATA_STEP')); });
|
|
326
|
+
return [2, data];
|
|
343
327
|
}
|
|
344
328
|
});
|
|
345
329
|
}); });
|
|
@@ -374,65 +358,97 @@ export var createCivilIdAuth = createAsyncThunk('auth/createCivilAuth', function
|
|
|
374
358
|
});
|
|
375
359
|
}); });
|
|
376
360
|
export var verifyPACI = createAsyncThunk('auth/verifyPACI', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
377
|
-
var _a, settings, auth, authResponse,
|
|
378
|
-
var _c;
|
|
379
|
-
return __generator(this, function (
|
|
380
|
-
switch (
|
|
361
|
+
var _a, settings, auth, authResponse, scope, expiry, interval, maxCalls, count, data, isSuccess;
|
|
362
|
+
var _b, _c, _d;
|
|
363
|
+
return __generator(this, function (_e) {
|
|
364
|
+
switch (_e.label) {
|
|
381
365
|
case 0:
|
|
382
366
|
_a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
|
|
383
367
|
authResponse = (auth.data.responseData || {}).authResponse;
|
|
384
|
-
|
|
385
|
-
isDataHasIndividualOnly = (authConfigData === null || authConfigData === void 0 ? void 0 : authConfigData.length) === 1 && authConfigData.includes('individual');
|
|
368
|
+
scope = settings.data.appConfig.scope;
|
|
386
369
|
expiry = (authResponse === null || authResponse === void 0 ? void 0 : authResponse.expiry) || 120;
|
|
387
370
|
interval = 3;
|
|
388
371
|
maxCalls = Math.floor(expiry / interval);
|
|
389
372
|
count = 1;
|
|
390
|
-
|
|
373
|
+
_e.label = 1;
|
|
391
374
|
case 1:
|
|
392
|
-
if (!(count <= maxCalls)) return [3,
|
|
375
|
+
if (!(count <= maxCalls)) return [3, 5];
|
|
393
376
|
if (thunkApi.signal.aborted) {
|
|
394
|
-
return [3,
|
|
377
|
+
return [3, 5];
|
|
395
378
|
}
|
|
396
379
|
return [4, API.authService.getVerifyAuth(authResponse === null || authResponse === void 0 ? void 0 : authResponse.auth_token)];
|
|
397
380
|
case 2:
|
|
398
|
-
data =
|
|
399
|
-
isSuccess = ((
|
|
400
|
-
if (
|
|
401
|
-
|
|
402
|
-
|
|
381
|
+
data = _e.sent();
|
|
382
|
+
isSuccess = ((_b = data === null || data === void 0 ? void 0 : data.status) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'success';
|
|
383
|
+
if (isSuccess) {
|
|
384
|
+
if (scope === 'merchant') {
|
|
385
|
+
openConnect(settings.data.appConfig.publicKey, settings.data.businessCountry.iso2);
|
|
386
|
+
return [2, data];
|
|
387
|
+
}
|
|
388
|
+
(_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, params);
|
|
389
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_PREPARING_DATA_STEP')); });
|
|
390
|
+
return [2, data];
|
|
391
|
+
}
|
|
392
|
+
return [4, sleep(interval * 1000)];
|
|
403
393
|
case 3:
|
|
394
|
+
_e.sent();
|
|
395
|
+
_e.label = 4;
|
|
396
|
+
case 4:
|
|
397
|
+
count++;
|
|
398
|
+
return [3, 1];
|
|
399
|
+
case 5: throw new Error('paci_verification_failed');
|
|
400
|
+
}
|
|
401
|
+
});
|
|
402
|
+
}); });
|
|
403
|
+
export var checkAccountAvailability = createAsyncThunk('auth/checkAccountAvailability', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
404
|
+
var _a, settings, auth, authConfigData, isDataHasIndividualOnly, data, authId, accountData, _b, step_name, brands, entities, brandList, entityList, isExistingUser;
|
|
405
|
+
var _c;
|
|
406
|
+
return __generator(this, function (_d) {
|
|
407
|
+
switch (_d.label) {
|
|
408
|
+
case 0:
|
|
409
|
+
_a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
|
|
410
|
+
authConfigData = settings.data.appConfig.data;
|
|
411
|
+
isDataHasIndividualOnly = (authConfigData === null || authConfigData === void 0 ? void 0 : authConfigData.length) === 1 && authConfigData.includes('individual');
|
|
412
|
+
data = (_c = auth.data.responseData) === null || _c === void 0 ? void 0 : _c.authResponse;
|
|
413
|
+
authId = data === null || data === void 0 ? void 0 : data.id;
|
|
414
|
+
return [4, API.accountService.checkAccountAvailability(data === null || data === void 0 ? void 0 : data.individual_id)];
|
|
415
|
+
case 1:
|
|
404
416
|
accountData = _d.sent();
|
|
405
417
|
_b = accountData || {}, step_name = _b.step_name, brands = _b.brands, entities = _b.entities;
|
|
406
418
|
brandList = brands || [];
|
|
407
419
|
entityList = entities || [];
|
|
408
420
|
isExistingUser = step_name === 'select_account';
|
|
409
|
-
if (!(isExistingUser && isDataHasIndividualOnly && authId)) return [3,
|
|
421
|
+
if (!(isExistingUser && isDataHasIndividualOnly && authId)) return [3, 3];
|
|
410
422
|
return [4, thunkApi.dispatch(confirmInfo({ authId: authId }))];
|
|
411
|
-
case
|
|
423
|
+
case 2:
|
|
412
424
|
_d.sent();
|
|
413
|
-
return [2, {
|
|
414
|
-
case
|
|
425
|
+
return [2, { brandList: brandList, entityList: entityList }];
|
|
426
|
+
case 3:
|
|
415
427
|
if (isExistingUser && !isDataHasIndividualOnly && brandList.length && entityList.length) {
|
|
416
428
|
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_AUTHENTICATION_LIST_STEP')); });
|
|
417
|
-
return [2, {
|
|
429
|
+
return [2, { brandList: brandList, entityList: entityList }];
|
|
418
430
|
}
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
count++;
|
|
426
|
-
return [3, 1];
|
|
427
|
-
case 9: throw new Error('paci_verification_failed');
|
|
431
|
+
if (auth.data.leadId) {
|
|
432
|
+
openConnect(settings.data.appConfig.publicKey, settings.data.businessCountry.iso2);
|
|
433
|
+
return [2, { brandList: brandList, entityList: entityList }];
|
|
434
|
+
}
|
|
435
|
+
thunkApi.dispatch(handleNextScreenStep('AUTH_ACCOUNT_NOT_FOUND_STEP'));
|
|
436
|
+
return [2, { brandList: brandList, entityList: entityList }];
|
|
428
437
|
}
|
|
429
438
|
});
|
|
430
439
|
}); });
|
|
431
|
-
export var getMerchantList = createAsyncThunk('auth/getMerchantList', function (entityId) { return __awaiter(void 0, void 0, void 0, function () {
|
|
432
|
-
var merchants;
|
|
440
|
+
export var getMerchantList = createAsyncThunk('auth/getMerchantList', function (entityId, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
441
|
+
var settings, payload, merchants;
|
|
433
442
|
return __generator(this, function (_a) {
|
|
434
443
|
switch (_a.label) {
|
|
435
|
-
case 0:
|
|
444
|
+
case 0:
|
|
445
|
+
settings = thunkApi.getState().settings;
|
|
446
|
+
payload = {
|
|
447
|
+
business_entity_id: entityId,
|
|
448
|
+
create_if_not_present: true,
|
|
449
|
+
platforms: settings.data.appConfig.platforms
|
|
450
|
+
};
|
|
451
|
+
return [4, API.entityService.getMerchantListUsingEntityId(payload)];
|
|
436
452
|
case 1:
|
|
437
453
|
merchants = (_a.sent()).merchants;
|
|
438
454
|
return [2, merchants || []];
|
|
@@ -481,6 +497,33 @@ export var confirmInfo = createAsyncThunk('auth/confirmInfo', function (_a, thun
|
|
|
481
497
|
});
|
|
482
498
|
});
|
|
483
499
|
});
|
|
500
|
+
export var onSignUp = createAsyncThunk('auth/onSignUp', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
501
|
+
var _a, auth, settings, authResponse, _b, appConfig, businessCountry, isMaturityExpress, publicKey, boardMaturity, merchantDomain, language, scope, postURL, body, data, redirectUrl;
|
|
502
|
+
var _c, _d, _e, _f;
|
|
503
|
+
return __generator(this, function (_g) {
|
|
504
|
+
switch (_g.label) {
|
|
505
|
+
case 0:
|
|
506
|
+
_a = thunkApi.getState(), auth = _a.auth, settings = _a.settings;
|
|
507
|
+
authResponse = ((_c = auth.data.responseData) !== null && _c !== void 0 ? _c : {}).authResponse;
|
|
508
|
+
_b = settings.data, appConfig = _b.appConfig, businessCountry = _b.businessCountry, isMaturityExpress = _b.isMaturityExpress;
|
|
509
|
+
publicKey = appConfig.publicKey, boardMaturity = appConfig.boardMaturity, merchantDomain = appConfig.merchantDomain, language = appConfig.language, scope = appConfig.scope, postURL = appConfig.postURL;
|
|
510
|
+
body = __assign({ board: true, public_key: publicKey, board_maturity: boardMaturity, domain: merchantDomain, language: language, country: businessCountry.iso2, scope: scope, lead_id: authResponse === null || authResponse === void 0 ? void 0 : authResponse.lead_id, maturity: !isMaturityExpress }, (postURL && {
|
|
511
|
+
post: {
|
|
512
|
+
url: postURL
|
|
513
|
+
}
|
|
514
|
+
}));
|
|
515
|
+
return [4, API.authService.generateConfigToken(body)];
|
|
516
|
+
case 1:
|
|
517
|
+
data = _g.sent();
|
|
518
|
+
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, data);
|
|
519
|
+
redirectUrl = (_f = data === null || data === void 0 ? void 0 : data.redirect) === null || _f === void 0 ? void 0 : _f.url;
|
|
520
|
+
if (!redirectUrl)
|
|
521
|
+
throw new Error('Internal server error');
|
|
522
|
+
window.open(redirectUrl, '_self');
|
|
523
|
+
return [2];
|
|
524
|
+
}
|
|
525
|
+
});
|
|
526
|
+
}); });
|
|
484
527
|
var initialState = {
|
|
485
528
|
error: null,
|
|
486
529
|
loading: false,
|
|
@@ -564,6 +607,8 @@ export var authSlice = createSlice({
|
|
|
564
607
|
var phone = (contact || {}).phone;
|
|
565
608
|
if (phone) {
|
|
566
609
|
state.data.mobileData.mobile = phone === null || phone === void 0 ? void 0 : phone.number;
|
|
610
|
+
}
|
|
611
|
+
if (countryCode) {
|
|
567
612
|
state.data.mobileData.countryCode = countryCode;
|
|
568
613
|
}
|
|
569
614
|
state.data.responseData = __assign(__assign({}, state.data.responseData), { leadResponse: data });
|
|
@@ -604,12 +649,8 @@ export var authSlice = createSlice({
|
|
|
604
649
|
.addCase(verifyMobileOtp.fulfilled, function (state, action) {
|
|
605
650
|
var _a;
|
|
606
651
|
state.loading = false;
|
|
607
|
-
var
|
|
608
|
-
|
|
609
|
-
state.data.authenticationData.brandInfo = brandList[0];
|
|
610
|
-
if (entityList === null || entityList === void 0 ? void 0 : entityList.length)
|
|
611
|
-
state.data.authenticationData.entityInfo = entityList[0];
|
|
612
|
-
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: __assign(__assign({}, (_a = state.data.responseData) === null || _a === void 0 ? void 0 : _a.authResponse), data), brandList: brandList, entityList: entityList });
|
|
652
|
+
var data = action.payload;
|
|
653
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: __assign(__assign({}, (_a = state.data.responseData) === null || _a === void 0 ? void 0 : _a.authResponse), data) });
|
|
613
654
|
})
|
|
614
655
|
.addCase(verifyMobileOtp.rejected, function (state, action) {
|
|
615
656
|
state.loading = false;
|
|
@@ -647,12 +688,8 @@ export var authSlice = createSlice({
|
|
|
647
688
|
.addCase(verifyNIDOtp.fulfilled, function (state, action) {
|
|
648
689
|
var _a;
|
|
649
690
|
state.loading = false;
|
|
650
|
-
var
|
|
651
|
-
|
|
652
|
-
state.data.authenticationData.brandInfo = brandList[0];
|
|
653
|
-
if (entityList === null || entityList === void 0 ? void 0 : entityList.length)
|
|
654
|
-
state.data.authenticationData.entityInfo = entityList[0];
|
|
655
|
-
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: __assign(__assign({}, (_a = state.data.responseData) === null || _a === void 0 ? void 0 : _a.authResponse), data), brandList: brandList, entityList: entityList });
|
|
691
|
+
var data = action.payload;
|
|
692
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: __assign(__assign({}, (_a = state.data.responseData) === null || _a === void 0 ? void 0 : _a.authResponse), data) });
|
|
656
693
|
})
|
|
657
694
|
.addCase(verifyNIDOtp.rejected, function (state, action) {
|
|
658
695
|
state.loading = false;
|
|
@@ -679,14 +716,30 @@ export var authSlice = createSlice({
|
|
|
679
716
|
.addCase(verifyPACI.fulfilled, function (state, action) {
|
|
680
717
|
var _a;
|
|
681
718
|
state.loading = false;
|
|
682
|
-
var
|
|
719
|
+
var data = action.payload;
|
|
720
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { authResponse: __assign(__assign({}, (_a = state.data.responseData) === null || _a === void 0 ? void 0 : _a.authResponse), data) });
|
|
721
|
+
})
|
|
722
|
+
.addCase(verifyPACI.rejected, function (state, action) {
|
|
723
|
+
state.loading = false;
|
|
724
|
+
var error = action.error.message;
|
|
725
|
+
if (error !== 'Aborted') {
|
|
726
|
+
state.error = error;
|
|
727
|
+
}
|
|
728
|
+
})
|
|
729
|
+
.addCase(checkAccountAvailability.pending, function (state) {
|
|
730
|
+
state.loading = true;
|
|
731
|
+
state.error = null;
|
|
732
|
+
})
|
|
733
|
+
.addCase(checkAccountAvailability.fulfilled, function (state, action) {
|
|
734
|
+
state.loading = false;
|
|
735
|
+
var _a = action.payload, brandList = _a.brandList, entityList = _a.entityList;
|
|
683
736
|
if (brandList === null || brandList === void 0 ? void 0 : brandList.length)
|
|
684
737
|
state.data.authenticationData.brandInfo = brandList[0];
|
|
685
738
|
if (entityList === null || entityList === void 0 ? void 0 : entityList.length)
|
|
686
739
|
state.data.authenticationData.entityInfo = entityList[0];
|
|
687
|
-
state.data.responseData = __assign(__assign({}, state.data.responseData), {
|
|
740
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { brandList: brandList, entityList: entityList });
|
|
688
741
|
})
|
|
689
|
-
.addCase(
|
|
742
|
+
.addCase(checkAccountAvailability.rejected, function (state, action) {
|
|
690
743
|
state.loading = false;
|
|
691
744
|
state.error = action.error.message;
|
|
692
745
|
})
|
|
@@ -718,6 +771,18 @@ export var authSlice = createSlice({
|
|
|
718
771
|
.addCase(confirmInfo.rejected, function (state, action) {
|
|
719
772
|
state.loading = false;
|
|
720
773
|
state.error = action.error.message;
|
|
774
|
+
})
|
|
775
|
+
.addCase(onSignUp.pending, function (state) {
|
|
776
|
+
state.loading = true;
|
|
777
|
+
state.error = null;
|
|
778
|
+
})
|
|
779
|
+
.addCase(onSignUp.fulfilled, function (state) {
|
|
780
|
+
state.loading = false;
|
|
781
|
+
state.error = null;
|
|
782
|
+
})
|
|
783
|
+
.addCase(onSignUp.rejected, function (state, action) {
|
|
784
|
+
state.loading = false;
|
|
785
|
+
state.error = action.error.message;
|
|
721
786
|
});
|
|
722
787
|
}
|
|
723
788
|
});
|
|
@@ -21,118 +21,37 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
21
21
|
notification: any;
|
|
22
22
|
};
|
|
23
23
|
token: string;
|
|
24
|
-
}, VerifyLeadTokenProps, {
|
|
25
|
-
state?: unknown;
|
|
26
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
27
|
-
extra?: unknown;
|
|
28
|
-
rejectValue?: unknown;
|
|
29
|
-
serializedErrorType?: unknown;
|
|
30
|
-
pendingMeta?: unknown;
|
|
31
|
-
fulfilledMeta?: unknown;
|
|
32
|
-
rejectedMeta?: unknown;
|
|
33
|
-
}>;
|
|
24
|
+
}, VerifyLeadTokenProps, {}>;
|
|
34
25
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
35
26
|
data: any;
|
|
36
|
-
}, void, {
|
|
37
|
-
state?: unknown;
|
|
38
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
39
|
-
extra?: unknown;
|
|
40
|
-
rejectValue?: unknown;
|
|
41
|
-
serializedErrorType?: unknown;
|
|
42
|
-
pendingMeta?: unknown;
|
|
43
|
-
fulfilledMeta?: unknown;
|
|
44
|
-
rejectedMeta?: unknown;
|
|
45
|
-
}>;
|
|
27
|
+
}, void, {}>;
|
|
46
28
|
export declare const verifyBankLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
47
29
|
data: any;
|
|
48
30
|
formData: OTPFormValues;
|
|
49
|
-
}, OTPFormValues, {
|
|
50
|
-
state?: unknown;
|
|
51
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
52
|
-
extra?: unknown;
|
|
53
|
-
rejectValue?: unknown;
|
|
54
|
-
serializedErrorType?: unknown;
|
|
55
|
-
pendingMeta?: unknown;
|
|
56
|
-
fulfilledMeta?: unknown;
|
|
57
|
-
rejectedMeta?: unknown;
|
|
58
|
-
}>;
|
|
31
|
+
}, OTPFormValues, {}>;
|
|
59
32
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
60
33
|
flows: any;
|
|
61
|
-
}, void, {
|
|
62
|
-
state?: unknown;
|
|
63
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
64
|
-
extra?: unknown;
|
|
65
|
-
rejectValue?: unknown;
|
|
66
|
-
serializedErrorType?: unknown;
|
|
67
|
-
pendingMeta?: unknown;
|
|
68
|
-
fulfilledMeta?: unknown;
|
|
69
|
-
rejectedMeta?: unknown;
|
|
70
|
-
}>;
|
|
34
|
+
}, void, {}>;
|
|
71
35
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
72
36
|
data: any;
|
|
73
|
-
}, string, {
|
|
74
|
-
state?: unknown;
|
|
75
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
76
|
-
extra?: unknown;
|
|
77
|
-
rejectValue?: unknown;
|
|
78
|
-
serializedErrorType?: unknown;
|
|
79
|
-
pendingMeta?: unknown;
|
|
80
|
-
fulfilledMeta?: unknown;
|
|
81
|
-
rejectedMeta?: unknown;
|
|
82
|
-
}>;
|
|
37
|
+
}, string, {}>;
|
|
83
38
|
export declare const createBankAccount: import("@reduxjs/toolkit").AsyncThunk<{
|
|
84
39
|
data: any;
|
|
85
40
|
formData: BankFormValues;
|
|
86
|
-
}, AsyncThunkParams<BankFormValues>, {
|
|
87
|
-
state?: unknown;
|
|
88
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
89
|
-
extra?: unknown;
|
|
90
|
-
rejectValue?: unknown;
|
|
91
|
-
serializedErrorType?: unknown;
|
|
92
|
-
pendingMeta?: unknown;
|
|
93
|
-
fulfilledMeta?: unknown;
|
|
94
|
-
rejectedMeta?: unknown;
|
|
95
|
-
}>;
|
|
41
|
+
}, AsyncThunkParams<BankFormValues>, {}>;
|
|
96
42
|
export declare const checkIbanBank: import("@reduxjs/toolkit").AsyncThunk<{
|
|
97
43
|
data: any;
|
|
98
44
|
}, {
|
|
99
45
|
iban: string;
|
|
100
46
|
cancelToken: CancelToken;
|
|
101
47
|
onSuccess?: (() => void) | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
state?: unknown;
|
|
104
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
105
|
-
extra?: unknown;
|
|
106
|
-
rejectValue?: unknown;
|
|
107
|
-
serializedErrorType?: unknown;
|
|
108
|
-
pendingMeta?: unknown;
|
|
109
|
-
fulfilledMeta?: unknown;
|
|
110
|
-
rejectedMeta?: unknown;
|
|
111
|
-
}>;
|
|
48
|
+
}, {}>;
|
|
112
49
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
113
50
|
response: any;
|
|
114
51
|
formData: void;
|
|
115
|
-
} | undefined, void, {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
extra?: unknown;
|
|
119
|
-
rejectValue?: unknown;
|
|
120
|
-
serializedErrorType?: unknown;
|
|
121
|
-
pendingMeta?: unknown;
|
|
122
|
-
fulfilledMeta?: unknown;
|
|
123
|
-
rejectedMeta?: unknown;
|
|
124
|
-
}>;
|
|
125
|
-
export declare const onCloseCompleteBank: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
126
|
-
state?: unknown;
|
|
127
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
128
|
-
extra?: unknown;
|
|
129
|
-
rejectValue?: unknown;
|
|
130
|
-
serializedErrorType?: unknown;
|
|
131
|
-
pendingMeta?: unknown;
|
|
132
|
-
fulfilledMeta?: unknown;
|
|
133
|
-
rejectedMeta?: unknown;
|
|
134
|
-
}>;
|
|
135
|
-
type VerifyData = {
|
|
52
|
+
} | undefined, void, {}>;
|
|
53
|
+
export declare const onCloseCompleteBank: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
|
|
54
|
+
declare type VerifyData = {
|
|
136
55
|
token: string;
|
|
137
56
|
};
|
|
138
57
|
export interface BankData {
|
|
@@ -150,7 +69,7 @@ export declare const bankSlice: import("@reduxjs/toolkit").Slice<BankState, {
|
|
|
150
69
|
resetOTPScreen: (state: BankState) => void;
|
|
151
70
|
bankStatementUploadingStatus: (state: BankState, action: ActionState<boolean>) => void;
|
|
152
71
|
}, "bank/store">;
|
|
153
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
72
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, bankStatementUploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
154
73
|
declare const _default: import("redux").Reducer<BankState, import("redux").AnyAction>;
|
|
155
74
|
export default _default;
|
|
156
75
|
export declare const bankSelector: (state: RootState) => BankState;
|
|
@@ -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]) {
|