@tap-payments/auth-jsconnect 2.10.10-development → 2.10.10
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/README.md +2 -2
- package/build/@types/app.d.ts +19 -19
- package/build/@types/app.js +0 -1
- package/build/@types/config.d.ts +1 -1
- package/build/@types/form.d.ts +30 -28
- package/build/@types/index.d.ts +0 -1
- package/build/@types/index.js +0 -1
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +4 -4
- package/build/api/account.js +7 -4
- package/build/api/auth.d.ts +17 -25
- package/build/api/auth.js +7 -3
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.d.ts +1 -1
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +8 -8
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +13 -10
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/headers.d.ts +5 -0
- package/build/api/headers.js +3 -0
- package/build/api/index.d.ts +5 -11
- package/build/api/index.js +1 -3
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +14 -13
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +3 -3
- package/build/api/operator.js +6 -3
- package/build/api/user.d.ts +3 -3
- package/build/app/rootReducer.d.ts +0 -1
- package/build/app/rootReducer.js +1 -3
- package/build/app/settings.d.ts +21 -3
- package/build/app/settings.js +2 -3
- package/build/app/store.d.ts +4 -6
- package/build/assets/currencies/AEDSymbol.d.ts +2 -2
- package/build/assets/currencies/AEDSymbol.js +1 -1
- package/build/assets/currencies/SARSymbol.d.ts +2 -2
- package/build/assets/currencies/SARSymbol.js +1 -1
- package/build/assets/currencies/utils.d.ts +1 -1
- package/build/assets/locales/ar.json +14 -5
- package/build/assets/locales/en.json +17 -7
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Error.d.ts +1 -2
- package/build/components/AnimationFlow/Loader.d.ts +1 -2
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +1 -2
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -2
- package/build/components/OTPTimer/OTPTimer.js +4 -4
- package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/Radio/Radio.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.d.ts +1 -1
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/Text/Text.d.ts +1 -1
- package/build/components/TextWithCurrency/TextWithCurrency.d.ts +2 -3
- package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +2 -0
- package/build/constants/api.js +4 -0
- package/build/constants/app.d.ts +13 -13
- package/build/constants/app.js +98 -129
- package/build/constants/assets.d.ts +4 -6
- package/build/constants/assets.js +118 -114
- package/build/constants/dummy.js +27 -20
- package/build/constants/flows.d.ts +0 -15
- package/build/constants/flows.js +0 -15
- package/build/constants/validation.d.ts +1 -1
- package/build/constants/validation.js +1 -1
- package/build/features/app/auth/authStore.d.ts +211 -22
- package/build/features/app/auth/authStore.js +76 -64
- package/build/features/app/bank/bankStore.d.ts +93 -12
- package/build/features/app/bank/bankStore.js +25 -21
- package/build/features/app/board/boardStore.d.ts +41 -5
- package/build/features/app/board/boardStore.js +12 -8
- package/build/features/app/brand/brandStore.d.ts +143 -17
- package/build/features/app/brand/brandStore.js +23 -19
- package/build/features/app/business/businessStore.d.ts +192 -21
- package/build/features/app/business/businessStore.js +46 -37
- package/build/features/app/connect/connectStore.d.ts +186 -23
- package/build/features/app/connect/connectStore.js +49 -32
- package/build/features/app/connectExpress/connectExpressStore.d.ts +317 -37
- package/build/features/app/connectExpress/connectExpressStore.js +62 -21
- package/build/features/app/entity/entityStore.d.ts +93 -12
- package/build/features/app/entity/entityStore.js +22 -18
- package/build/features/app/individual/individualStore.d.ts +186 -24
- package/build/features/app/individual/individualStore.js +35 -29
- package/build/features/app/kyc/kycStore.d.ts +62 -8
- package/build/features/app/kyc/kycStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +123 -15
- package/build/features/app/password/passwordStore.js +45 -47
- package/build/features/app/signIn/signInStore.d.ts +61 -7
- package/build/features/app/signIn/signInStore.js +13 -17
- package/build/features/app/tax/taxStore.d.ts +83 -11
- package/build/features/app/tax/taxStore.js +21 -17
- package/build/features/auth/Auth.d.ts +2 -3
- package/build/features/auth/Auth.js +1 -1
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityList.js +2 -2
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/DOB/DOB.d.ts +1 -2
- package/build/features/auth/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/auth/screens/Email/Email.d.ts +1 -1
- package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
- package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +5 -13
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/auth/screens/Passcode/Passcode.d.ts +5 -13
- package/build/features/auth/screens/Passcode/PasscodeInput.d.ts +1 -1
- package/build/features/auth/screens/Password/Password.d.ts +1 -1
- package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +1 -2
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +13 -29
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +12 -20
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/BusinessType.js +13 -2
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.js +11 -5
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseList.js +15 -7
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +35 -0
- package/build/features/business/screens/BusinessType/UnifiedNumber.js +84 -0
- package/build/features/business/screens/BusinessType/validation.d.ts +6 -3
- package/build/features/business/screens/BusinessType/validation.js +31 -10
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +17 -41
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +12 -20
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -3
- package/build/features/business/screens/DOB/DOB.d.ts +1 -1
- package/build/features/business/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
- package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +1 -2
- package/build/features/connect/Connect.js +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/DOB/DOB.d.ts +1 -2
- package/build/features/connect/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +1 -1
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
- package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
- package/build/features/connectExpress/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +2 -2
- 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/CollectBusinessInfo.js +1 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +23 -7
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +4 -4
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.d.ts +36 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.js +81 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +6 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +57 -21
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/DOB/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +1 -2
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
- package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityName.js +16 -15
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -29
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +2 -2
- package/build/features/entity/screens/EntityName/validation.d.ts +50 -48
- package/build/features/entity/screens/EntityName/validation.js +100 -85
- package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/featuresScreens.d.ts +0 -1
- package/build/features/featuresScreens.js +55 -67
- package/build/features/individual/Individual.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +3 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +3 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +4 -4
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/kyc/KYC.d.ts +1 -2
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +1 -1
- package/build/features/kyc/screens/Loading/Loading.d.ts +2 -2
- package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/kyc/screens/Success/Success.d.ts +1 -1
- package/build/features/kyc/screens/Terms/Header.d.ts +1 -1
- package/build/features/kyc/screens/Terms/Terms.d.ts +2 -2
- package/build/features/kyc/screens/TokenError/TokenError.d.ts +1 -1
- package/build/features/kyc/screens/Users/Users.d.ts +1 -1
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +1 -1
- package/build/features/password/Password.d.ts +1 -2
- package/build/features/password/Password.js +1 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
- package/build/features/shared/Address/Address.d.ts +1 -2
- package/build/features/shared/Address/CountryList.d.ts +13 -29
- package/build/features/shared/Address/InputSelect.d.ts +13 -29
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/Button.js +1 -1
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.js +2 -2
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +1 -2
- package/build/features/shared/Button/NafathButton.d.ts +1 -2
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- package/build/features/shared/Calender/Calender.d.ts +1 -2
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
- package/build/features/shared/Chip/Chip.d.ts +1 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +6 -14
- package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.d.ts +3 -0
- package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.js +9 -0
- package/build/features/shared/OTPVerifySecurityError/index.d.ts +2 -0
- package/build/features/shared/OTPVerifySecurityError/index.js +2 -0
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +1 -2
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +2 -2
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -3
- package/build/features/shared/SuccessScreen/SuccessScreen.js +2 -2
- package/build/features/shared/UploadFile/FileUpload.d.ts +4 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -3
- package/build/features/signIn/SignIn.d.ts +1 -2
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +1 -2
- package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/hooks/useAppConfig.js +1 -1
- package/build/hooks/useAppDispatch.d.ts +0 -1
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +3 -3
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/index.d.ts +2 -3
- package/build/index.js +2 -4
- package/build/theme/palette.js +0 -12
- package/build/theme/typography.js +0 -4
- package/build/utils/array.js +1 -1
- package/build/utils/common.d.ts +1 -1
- package/build/utils/common.js +14 -8
- package/build/utils/error.d.ts +2 -0
- package/build/utils/error.js +6 -0
- package/build/utils/string.d.ts +3 -3
- package/build/utils/string.js +5 -11
- package/build/utils/validation.js +1 -1
- package/package.json +3 -3
- package/build/@types/terminal.d.ts +0 -116
- package/build/@types/terminal.js +0 -1
- package/build/api/terminal.d.ts +0 -28
- package/build/api/terminal.js +0 -45
- package/build/components/DeviceCard/DeviceCard.d.ts +0 -18
- package/build/components/DeviceCard/DeviceCard.js +0 -103
- package/build/components/DeviceCard/index.d.ts +0 -3
- package/build/components/DeviceCard/index.js +0 -2
- package/build/features/app/terminal/terminalStore.d.ts +0 -109
- package/build/features/app/terminal/terminalStore.js +0 -673
- package/build/features/shared/PushNotification/PushNotification.d.ts +0 -11
- package/build/features/shared/PushNotification/PushNotification.js +0 -34
- package/build/features/shared/PushNotification/index.d.ts +0 -2
- package/build/features/shared/PushNotification/index.js +0 -2
- package/build/features/terminal/Terminal.d.ts +0 -14
- package/build/features/terminal/Terminal.js +0 -95
- package/build/features/terminal/index.d.ts +0 -1
- package/build/features/terminal/index.js +0 -1
- package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.d.ts +0 -3
- package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.js +0 -69
- package/build/features/terminal/screens/LinkNewTerminal/index.d.ts +0 -2
- package/build/features/terminal/screens/LinkNewTerminal/index.js +0 -2
- package/build/features/terminal/screens/LinkNewTerminal/styles.d.ts +0 -10
- package/build/features/terminal/screens/LinkNewTerminal/styles.js +0 -28
- package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.d.ts +0 -3
- package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.js +0 -51
- package/build/features/terminal/screens/LinkedSuccess/index.d.ts +0 -2
- package/build/features/terminal/screens/LinkedSuccess/index.js +0 -2
- package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.d.ts +0 -3
- package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.js +0 -50
- package/build/features/terminal/screens/LinkedTerminalInfo/index.d.ts +0 -2
- package/build/features/terminal/screens/LinkedTerminalInfo/index.js +0 -2
- package/build/features/terminal/screens/Loading/Loading.d.ts +0 -4
- package/build/features/terminal/screens/Loading/Loading.js +0 -10
- package/build/features/terminal/screens/Loading/index.d.ts +0 -2
- package/build/features/terminal/screens/Loading/index.js +0 -2
- package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.d.ts +0 -3
- package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.js +0 -56
- package/build/features/terminal/screens/NoTerminalDeviceLinked/index.d.ts +0 -2
- package/build/features/terminal/screens/NoTerminalDeviceLinked/index.js +0 -2
- package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.d.ts +0 -36
- package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.js +0 -34
- package/build/features/terminal/screens/OperatorError/OperatorError.d.ts +0 -5
- package/build/features/terminal/screens/OperatorError/OperatorError.js +0 -9
- package/build/features/terminal/screens/OperatorError/index.d.ts +0 -2
- package/build/features/terminal/screens/OperatorError/index.js +0 -2
- package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -3
- package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -21
- package/build/features/terminal/screens/ResetPasswordSuccess/index.d.ts +0 -2
- package/build/features/terminal/screens/ResetPasswordSuccess/index.js +0 -2
- package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
- package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -31
- package/build/features/terminal/screens/SuccessWithFlowButtons/index.d.ts +0 -2
- package/build/features/terminal/screens/SuccessWithFlowButtons/index.js +0 -2
- package/build/features/terminal/screens/TerminalDeviceList/DeviceList.d.ts +0 -9
- package/build/features/terminal/screens/TerminalDeviceList/DeviceList.js +0 -20
- package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.d.ts +0 -3
- package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.js +0 -144
- package/build/features/terminal/screens/TerminalDeviceList/index.d.ts +0 -2
- package/build/features/terminal/screens/TerminalDeviceList/index.js +0 -2
- package/build/features/terminal/screens/TerminalDeviceList/styles.d.ts +0 -9
- package/build/features/terminal/screens/TerminalDeviceList/styles.js +0 -13
- package/build/features/terminal/screens/TerminalListPage/TerminalListPage.d.ts +0 -3
- package/build/features/terminal/screens/TerminalListPage/TerminalListPage.js +0 -42
- package/build/features/terminal/screens/TerminalListPage/index.d.ts +0 -2
- package/build/features/terminal/screens/TerminalListPage/index.js +0 -2
- package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.d.ts +0 -3
- package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.js +0 -53
- package/build/features/terminal/screens/UnlinkedSuccess/index.d.ts +0 -2
- package/build/features/terminal/screens/UnlinkedSuccess/index.js +0 -2
- package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.d.ts +0 -3
- package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.js +0 -98
- package/build/features/terminal/screens/UnlinkedTerminalInfo/index.d.ts +0 -2
- package/build/features/terminal/screens/UnlinkedTerminalInfo/index.js +0 -2
- package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.d.ts +0 -26
- package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.js +0 -30
- package/build/features/terminal/screens/Verify/OTPInput.d.ts +0 -7
- package/build/features/terminal/screens/Verify/OTPInput.js +0 -51
- package/build/features/terminal/screens/Verify/Verify.d.ts +0 -5
- package/build/features/terminal/screens/Verify/Verify.js +0 -85
- package/build/features/terminal/screens/Verify/index.d.ts +0 -2
- package/build/features/terminal/screens/Verify/index.js +0 -2
- package/build/features/terminal/screens/Verify/validation.d.ts +0 -8
- package/build/features/terminal/screens/Verify/validation.js +0 -4
- package/build/features/terminal/screens/shared/Header.d.ts +0 -10
- package/build/features/terminal/screens/shared/Header.js +0 -30
- package/build/features/terminal/screens/shared/TerminalList.d.ts +0 -11
- package/build/features/terminal/screens/shared/TerminalList.js +0 -25
- package/build/features/terminal/screens/shared/index.d.ts +0 -5
- package/build/features/terminal/screens/shared/index.js +0 -5
- package/build/features/terminal/screens/shared/styles.d.ts +0 -196
- package/build/features/terminal/screens/shared/styles.js +0 -155
- package/build/features/terminal/screens/shared/utils.d.ts +0 -7
- package/build/features/terminal/screens/shared/utils.js +0 -24
|
@@ -9,44 +9,125 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
9
9
|
data: any;
|
|
10
10
|
bankData: any;
|
|
11
11
|
token: string;
|
|
12
|
-
}, VerifyLeadTokenProps, {
|
|
12
|
+
}, VerifyLeadTokenProps, {
|
|
13
|
+
state?: unknown;
|
|
14
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
15
|
+
extra?: unknown;
|
|
16
|
+
rejectValue?: unknown;
|
|
17
|
+
serializedErrorType?: unknown;
|
|
18
|
+
pendingMeta?: unknown;
|
|
19
|
+
fulfilledMeta?: unknown;
|
|
20
|
+
rejectedMeta?: unknown;
|
|
21
|
+
}>;
|
|
13
22
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
14
23
|
data: any;
|
|
15
|
-
}, void, {
|
|
24
|
+
}, void, {
|
|
25
|
+
state?: unknown;
|
|
26
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
27
|
+
extra?: unknown;
|
|
28
|
+
rejectValue?: unknown;
|
|
29
|
+
serializedErrorType?: unknown;
|
|
30
|
+
pendingMeta?: unknown;
|
|
31
|
+
fulfilledMeta?: unknown;
|
|
32
|
+
rejectedMeta?: unknown;
|
|
33
|
+
}>;
|
|
16
34
|
export declare const verifyBankLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
17
35
|
data: any;
|
|
18
36
|
bankData: any;
|
|
19
37
|
formData: OTPFormValues;
|
|
20
|
-
}, OTPFormValues, {
|
|
38
|
+
}, OTPFormValues, {
|
|
39
|
+
state?: unknown;
|
|
40
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
41
|
+
extra?: unknown;
|
|
42
|
+
rejectValue?: unknown;
|
|
43
|
+
serializedErrorType?: unknown;
|
|
44
|
+
pendingMeta?: unknown;
|
|
45
|
+
fulfilledMeta?: unknown;
|
|
46
|
+
rejectedMeta?: unknown;
|
|
47
|
+
}>;
|
|
21
48
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
22
49
|
flows: any;
|
|
23
|
-
}, void, {
|
|
24
|
-
|
|
50
|
+
}, void, {
|
|
51
|
+
state?: unknown;
|
|
52
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
53
|
+
extra?: unknown;
|
|
54
|
+
rejectValue?: unknown;
|
|
55
|
+
serializedErrorType?: unknown;
|
|
56
|
+
pendingMeta?: unknown;
|
|
57
|
+
fulfilledMeta?: unknown;
|
|
58
|
+
rejectedMeta?: unknown;
|
|
59
|
+
}>;
|
|
60
|
+
type RetrieveBoardProps = {
|
|
25
61
|
boardId: string;
|
|
26
62
|
individualId: string;
|
|
27
63
|
individualType: string;
|
|
28
64
|
};
|
|
29
|
-
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
|
|
65
|
+
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
|
|
66
|
+
state?: unknown;
|
|
67
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
68
|
+
extra?: unknown;
|
|
69
|
+
rejectValue?: unknown;
|
|
70
|
+
serializedErrorType?: unknown;
|
|
71
|
+
pendingMeta?: unknown;
|
|
72
|
+
fulfilledMeta?: unknown;
|
|
73
|
+
rejectedMeta?: unknown;
|
|
74
|
+
}>;
|
|
30
75
|
export declare const createBankAccount: import("@reduxjs/toolkit").AsyncThunk<{
|
|
31
76
|
data: any;
|
|
32
77
|
formData: BankFormValues;
|
|
33
|
-
}, AsyncThunkParams<BankFormValues>, {
|
|
78
|
+
}, AsyncThunkParams<BankFormValues>, {
|
|
79
|
+
state?: unknown;
|
|
80
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
81
|
+
extra?: unknown;
|
|
82
|
+
rejectValue?: unknown;
|
|
83
|
+
serializedErrorType?: unknown;
|
|
84
|
+
pendingMeta?: unknown;
|
|
85
|
+
fulfilledMeta?: unknown;
|
|
86
|
+
rejectedMeta?: unknown;
|
|
87
|
+
}>;
|
|
34
88
|
export declare const checkIbanBank: import("@reduxjs/toolkit").AsyncThunk<{
|
|
35
89
|
data: any;
|
|
36
90
|
}, {
|
|
37
91
|
iban: string;
|
|
38
92
|
cancelToken: CancelToken;
|
|
39
93
|
onSuccess?: (() => void) | undefined;
|
|
40
|
-
}, {
|
|
94
|
+
}, {
|
|
95
|
+
state?: unknown;
|
|
96
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
97
|
+
extra?: unknown;
|
|
98
|
+
rejectValue?: unknown;
|
|
99
|
+
serializedErrorType?: unknown;
|
|
100
|
+
pendingMeta?: unknown;
|
|
101
|
+
fulfilledMeta?: unknown;
|
|
102
|
+
rejectedMeta?: unknown;
|
|
103
|
+
}>;
|
|
41
104
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
42
105
|
data: any;
|
|
43
106
|
flows?: undefined;
|
|
44
107
|
} | {
|
|
45
108
|
data: any;
|
|
46
109
|
flows: any;
|
|
47
|
-
} | undefined, void, {
|
|
48
|
-
|
|
49
|
-
|
|
110
|
+
} | undefined, void, {
|
|
111
|
+
state?: unknown;
|
|
112
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
113
|
+
extra?: unknown;
|
|
114
|
+
rejectValue?: unknown;
|
|
115
|
+
serializedErrorType?: unknown;
|
|
116
|
+
pendingMeta?: unknown;
|
|
117
|
+
fulfilledMeta?: unknown;
|
|
118
|
+
rejectedMeta?: unknown;
|
|
119
|
+
}>;
|
|
120
|
+
export declare const onCloseCompleteBank: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
121
|
+
state?: unknown;
|
|
122
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
123
|
+
extra?: unknown;
|
|
124
|
+
rejectValue?: unknown;
|
|
125
|
+
serializedErrorType?: unknown;
|
|
126
|
+
pendingMeta?: unknown;
|
|
127
|
+
fulfilledMeta?: unknown;
|
|
128
|
+
rejectedMeta?: unknown;
|
|
129
|
+
}>;
|
|
130
|
+
type VerifyData = {
|
|
50
131
|
token: string;
|
|
51
132
|
};
|
|
52
133
|
export interface BankData {
|
|
@@ -64,7 +145,7 @@ export declare const bankSlice: import("@reduxjs/toolkit").Slice<BankState, {
|
|
|
64
145
|
resetOTPScreen: (state: BankState) => void;
|
|
65
146
|
bankStatementUploadingStatus: (state: BankState, action: ActionState<boolean>) => void;
|
|
66
147
|
}, "bank/store">;
|
|
67
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
148
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/resetOTPScreen">, bankStatementUploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "bank/store/bankStatementUploadingStatus">;
|
|
68
149
|
declare const _default: import("redux").Reducer<BankState, import("redux").AnyAction>;
|
|
69
150
|
export default _default;
|
|
70
151
|
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 (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -51,7 +51,7 @@ 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, sendCustomEventToGTM, sleep } from '../../../utils';
|
|
54
|
+
import { hasNoneEditableValue, isAuthenticationVerificationFailed, isStringHasOneAsterisk, retrieveIndividualData, sendCustomEventToGTM, 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 () {
|
|
@@ -103,9 +103,9 @@ export var verifyLeadToken = createAsyncThunk('bankVerifyLeadToken', function (_
|
|
|
103
103
|
_j.label = 6;
|
|
104
104
|
case 6:
|
|
105
105
|
if (isInternally)
|
|
106
|
-
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
|
|
106
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('BANK_BANK_DETAILS_STEP')); });
|
|
107
107
|
else
|
|
108
|
-
thunkApi.dispatch(handleNextScreenStep());
|
|
108
|
+
thunkApi.dispatch(handleNextScreenStep('BANK_BANK_DETAILS_STEP'));
|
|
109
109
|
_j.label = 7;
|
|
110
110
|
case 7: return [2, {
|
|
111
111
|
data: data,
|
|
@@ -135,9 +135,9 @@ export var resendOTP = createAsyncThunk('resendOTPBank', function (params, thunk
|
|
|
135
135
|
}); });
|
|
136
136
|
export var verifyBankLeadOTP = createAsyncThunk('verifyBankLeadOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
137
137
|
var _a, bank, settings, responseBody, payload, data, countryIso2, publicKey, _b, bank_account_id, wallet_id, boardId, bankData, data_2;
|
|
138
|
-
var _c, _d, _e, _f, _g, _h, _j, _k, _l
|
|
139
|
-
return __generator(this, function (
|
|
140
|
-
switch (
|
|
138
|
+
var _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
139
|
+
return __generator(this, function (_m) {
|
|
140
|
+
switch (_m.label) {
|
|
141
141
|
case 0:
|
|
142
142
|
_a = thunkApi.getState(), bank = _a.bank, settings = _a.settings;
|
|
143
143
|
responseBody = bank.data.verify.responseBody;
|
|
@@ -148,13 +148,15 @@ export var verifyBankLeadOTP = createAsyncThunk('verifyBankLeadOTP', function (p
|
|
|
148
148
|
step_name: BANK_STEP_NAMES.PHONE_AUTH,
|
|
149
149
|
encryption_contract: ['data']
|
|
150
150
|
};
|
|
151
|
-
return [4, API.leadService.
|
|
151
|
+
return [4, API.leadService.verifyTokenOTP(payload).catch(function (err) {
|
|
152
|
+
if (isAuthenticationVerificationFailed(err === null || err === void 0 ? void 0 : err.message))
|
|
153
|
+
thunkApi.dispatch(handleNextScreenStep('BANK_OTP_VERIFY_SECURITY_ERROR_STEP'));
|
|
154
|
+
throw new Error(err === null || err === void 0 ? void 0 : err.message);
|
|
155
|
+
})];
|
|
152
156
|
case 1:
|
|
153
|
-
data =
|
|
154
|
-
if ((_d = data.errors) === null || _d === void 0 ? void 0 : _d.length)
|
|
155
|
-
throw new Error(data.errors[0].description);
|
|
157
|
+
data = _m.sent();
|
|
156
158
|
countryIso2 = (data === null || data === void 0 ? void 0 : data.country_code) || (responseBody === null || responseBody === void 0 ? void 0 : responseBody.country_code);
|
|
157
|
-
publicKey = (
|
|
159
|
+
publicKey = (_d = data === null || data === void 0 ? void 0 : data.config) === null || _d === void 0 ? void 0 : _d.public_key;
|
|
158
160
|
if (countryIso2)
|
|
159
161
|
thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
|
|
160
162
|
if (publicKey)
|
|
@@ -164,10 +166,10 @@ export var verifyBankLeadOTP = createAsyncThunk('verifyBankLeadOTP', function (p
|
|
|
164
166
|
if (!(!wallet_id || !countryIso2)) return [3, 3];
|
|
165
167
|
return [4, API.boardService.retrieveBoardDetails(boardId)];
|
|
166
168
|
case 2:
|
|
167
|
-
data_2 =
|
|
168
|
-
if (!countryIso2 && ((
|
|
169
|
+
data_2 = _m.sent();
|
|
170
|
+
if (!countryIso2 && ((_e = data_2 === null || data_2 === void 0 ? void 0 : data_2.entity) === null || _e === void 0 ? void 0 : _e.country))
|
|
169
171
|
thunkApi.dispatch(handleSetCountryByIso2(data_2.entity.country));
|
|
170
|
-
if (!((
|
|
172
|
+
if (!((_j = (_h = (_g = (_f = data_2 === null || data_2 === void 0 ? void 0 : data_2.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))
|
|
171
173
|
throw new Error('wallet_id_missing');
|
|
172
174
|
if (data_2 === null || data_2 === void 0 ? void 0 : data_2.bank_account)
|
|
173
175
|
bankData = data_2.bank_account;
|
|
@@ -176,11 +178,11 @@ export var verifyBankLeadOTP = createAsyncThunk('verifyBankLeadOTP', function (p
|
|
|
176
178
|
if (!bank_account_id) return [3, 5];
|
|
177
179
|
return [4, API.entityService.retrieveBankAccount(bank_account_id)];
|
|
178
180
|
case 4:
|
|
179
|
-
bankData =
|
|
180
|
-
|
|
181
|
+
bankData = _m.sent();
|
|
182
|
+
_m.label = 5;
|
|
181
183
|
case 5:
|
|
182
|
-
(
|
|
183
|
-
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
|
|
184
|
+
(_l = (_k = settings.data.appConfig).onStepCompleted) === null || _l === void 0 ? void 0 : _l.call(_k, settings.data.activeScreen.name, { otp: params.otp });
|
|
185
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('BANK_BANK_DETAILS_STEP')); });
|
|
184
186
|
return [2, {
|
|
185
187
|
data: data,
|
|
186
188
|
bankData: bankData,
|
|
@@ -469,9 +471,11 @@ export var bankSlice = createSlice({
|
|
|
469
471
|
state.data.bankData.confirmPolicy = is_acknowledged;
|
|
470
472
|
state.data.verify.responseBody = __assign(__assign(__assign({}, data), state.data.verify.responseBody), { bank_account: bank_account, board_id: data.id });
|
|
471
473
|
})
|
|
472
|
-
.addCase(verifyBankLeadOTP.rejected, function (state,
|
|
474
|
+
.addCase(verifyBankLeadOTP.rejected, function (state, _a) {
|
|
475
|
+
var message = _a.error.message;
|
|
473
476
|
state.loading = false;
|
|
474
|
-
|
|
477
|
+
if (!isAuthenticationVerificationFailed(message))
|
|
478
|
+
state.error = message;
|
|
475
479
|
})
|
|
476
480
|
.addCase(retrieveBoardDetails.pending, function (state) {
|
|
477
481
|
state.error = null;
|
|
@@ -4,20 +4,56 @@ interface CreateVerifyTokenByProps {
|
|
|
4
4
|
boardId: string;
|
|
5
5
|
isInternally?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const createVerifyTokenBy: import("@reduxjs/toolkit").AsyncThunk<any, CreateVerifyTokenByProps, {
|
|
7
|
+
export declare const createVerifyTokenBy: import("@reduxjs/toolkit").AsyncThunk<any, CreateVerifyTokenByProps, {
|
|
8
|
+
state?: unknown;
|
|
9
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
10
|
+
extra?: unknown;
|
|
11
|
+
rejectValue?: unknown;
|
|
12
|
+
serializedErrorType?: unknown;
|
|
13
|
+
pendingMeta?: unknown;
|
|
14
|
+
fulfilledMeta?: unknown;
|
|
15
|
+
rejectedMeta?: unknown;
|
|
16
|
+
}>;
|
|
8
17
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
9
18
|
data: any;
|
|
10
|
-
}, void, {
|
|
19
|
+
}, void, {
|
|
20
|
+
state?: unknown;
|
|
21
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
22
|
+
extra?: unknown;
|
|
23
|
+
rejectValue?: unknown;
|
|
24
|
+
serializedErrorType?: unknown;
|
|
25
|
+
pendingMeta?: unknown;
|
|
26
|
+
fulfilledMeta?: unknown;
|
|
27
|
+
rejectedMeta?: unknown;
|
|
28
|
+
}>;
|
|
11
29
|
export declare const verifyBoardLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
12
30
|
data: any;
|
|
13
31
|
formData: OTPFormValues;
|
|
14
|
-
}, OTPFormValues, {
|
|
32
|
+
}, OTPFormValues, {
|
|
33
|
+
state?: unknown;
|
|
34
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
35
|
+
extra?: unknown;
|
|
36
|
+
rejectValue?: unknown;
|
|
37
|
+
serializedErrorType?: unknown;
|
|
38
|
+
pendingMeta?: unknown;
|
|
39
|
+
fulfilledMeta?: unknown;
|
|
40
|
+
rejectedMeta?: unknown;
|
|
41
|
+
}>;
|
|
15
42
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
16
43
|
data: any;
|
|
17
44
|
}, {
|
|
18
45
|
boardId: string;
|
|
19
46
|
boardInfoId: string;
|
|
20
|
-
}, {
|
|
47
|
+
}, {
|
|
48
|
+
state?: unknown;
|
|
49
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
50
|
+
extra?: unknown;
|
|
51
|
+
rejectValue?: unknown;
|
|
52
|
+
serializedErrorType?: unknown;
|
|
53
|
+
pendingMeta?: unknown;
|
|
54
|
+
fulfilledMeta?: unknown;
|
|
55
|
+
rejectedMeta?: unknown;
|
|
56
|
+
}>;
|
|
21
57
|
export interface BoardData {
|
|
22
58
|
verify: ResponseData;
|
|
23
59
|
otpData: OTPFormValues & ResponseData;
|
|
@@ -31,7 +67,7 @@ export declare const boardSlice: import("@reduxjs/toolkit").Slice<BoardState, {
|
|
|
31
67
|
stopLoader: (state: BoardState) => void;
|
|
32
68
|
resetOTPScreen: (state: BoardState) => void;
|
|
33
69
|
}, "bank/store">;
|
|
34
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
70
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/resetOTPScreen">;
|
|
35
71
|
declare const _default: import("redux").Reducer<BoardState, import("redux").AnyAction>;
|
|
36
72
|
export default _default;
|
|
37
73
|
export declare const boardSelector: (state: RootState) => BoardState;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -51,7 +51,7 @@ import API from '../../../api';
|
|
|
51
51
|
import { FlowsTypes } from '../../../@types';
|
|
52
52
|
import { handleCurrentActiveScreen, handleNextScreenStep, handlePublicKey, handleSetCountryByIso2 } from '../../../app/settings';
|
|
53
53
|
import { BOARD_STEP_STEPS } from '../../../constants';
|
|
54
|
-
import { retrieveIndividualData, sleep } from '../../../utils';
|
|
54
|
+
import { isAuthenticationVerificationFailed, retrieveIndividualData, sleep } from '../../../utils';
|
|
55
55
|
export var createVerifyTokenBy = createAsyncThunk('board/createVerifyTokenByBoardId', function (_a, thunkApi) {
|
|
56
56
|
var boardId = _a.boardId, isInternally = _a.isInternally;
|
|
57
57
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -129,17 +129,19 @@ export var verifyBoardLeadOTP = createAsyncThunk('board/verifyBoardLeadOTP', fun
|
|
|
129
129
|
step_name: BOARD_STEP_STEPS.PHONE_AUTH,
|
|
130
130
|
encryption_contract: ['data']
|
|
131
131
|
};
|
|
132
|
-
return [4, API.leadService.
|
|
132
|
+
return [4, API.leadService.verifyTokenOTP(payload).catch(function (err) {
|
|
133
|
+
if (isAuthenticationVerificationFailed(err === null || err === void 0 ? void 0 : err.message))
|
|
134
|
+
thunkApi.dispatch(handleNextScreenStep('BOARD_OTP_VERIFY_SECURITY_ERROR_STEP'));
|
|
135
|
+
throw new Error(err === null || err === void 0 ? void 0 : err.message);
|
|
136
|
+
})];
|
|
133
137
|
case 1:
|
|
134
|
-
data =
|
|
138
|
+
data = _j.sent();
|
|
135
139
|
_b = data || {}, country_code = _b.country_code, config = _b.config;
|
|
136
140
|
publicKey = config === null || config === void 0 ? void 0 : config.public_key;
|
|
137
141
|
if (country_code)
|
|
138
142
|
thunkApi.dispatch(handleSetCountryByIso2(country_code));
|
|
139
143
|
if (publicKey)
|
|
140
144
|
thunkApi.dispatch(handlePublicKey(publicKey));
|
|
141
|
-
if (data.errors)
|
|
142
|
-
throw new Error(data.errors[0].description);
|
|
143
145
|
return [4, thunkApi.dispatch(retrieveBoardDetails({ boardId: data.id, boardInfoId: data.board_info_id })).unwrap()];
|
|
144
146
|
case 2:
|
|
145
147
|
boardData = (_j.sent()).data;
|
|
@@ -249,9 +251,11 @@ export var boardSlice = createSlice({
|
|
|
249
251
|
state.data.otpData = formData;
|
|
250
252
|
state.data.otpData.responseBody = data;
|
|
251
253
|
})
|
|
252
|
-
.addCase(verifyBoardLeadOTP.rejected, function (state,
|
|
254
|
+
.addCase(verifyBoardLeadOTP.rejected, function (state, _a) {
|
|
255
|
+
var message = _a.error.message;
|
|
253
256
|
state.loading = false;
|
|
254
|
-
|
|
257
|
+
if (!isAuthenticationVerificationFailed(message))
|
|
258
|
+
state.error = message;
|
|
255
259
|
})
|
|
256
260
|
.addCase(retrieveBoardDetails.pending, function (state) {
|
|
257
261
|
state.error = null;
|
|
@@ -11,32 +11,86 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
11
11
|
salesChannels: any;
|
|
12
12
|
token: string;
|
|
13
13
|
entityInfoId: any;
|
|
14
|
-
}, VerifyLeadTokenProps, {
|
|
14
|
+
}, VerifyLeadTokenProps, {
|
|
15
|
+
state?: unknown;
|
|
16
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
17
|
+
extra?: unknown;
|
|
18
|
+
rejectValue?: unknown;
|
|
19
|
+
serializedErrorType?: unknown;
|
|
20
|
+
pendingMeta?: unknown;
|
|
21
|
+
fulfilledMeta?: unknown;
|
|
22
|
+
rejectedMeta?: unknown;
|
|
23
|
+
}>;
|
|
15
24
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
16
25
|
data: any;
|
|
17
|
-
}, void, {
|
|
26
|
+
}, void, {
|
|
27
|
+
state?: unknown;
|
|
28
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
29
|
+
extra?: unknown;
|
|
30
|
+
rejectValue?: unknown;
|
|
31
|
+
serializedErrorType?: unknown;
|
|
32
|
+
pendingMeta?: unknown;
|
|
33
|
+
fulfilledMeta?: unknown;
|
|
34
|
+
rejectedMeta?: unknown;
|
|
35
|
+
}>;
|
|
18
36
|
export declare const verifyBrandLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
19
37
|
data: any;
|
|
20
38
|
brandData: any;
|
|
21
39
|
salesChannels: any;
|
|
22
40
|
entityInfoId: any;
|
|
23
41
|
formData: OTPFormValues;
|
|
24
|
-
}, OTPFormValues, {
|
|
42
|
+
}, OTPFormValues, {
|
|
43
|
+
state?: unknown;
|
|
44
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
45
|
+
extra?: unknown;
|
|
46
|
+
rejectValue?: unknown;
|
|
47
|
+
serializedErrorType?: unknown;
|
|
48
|
+
pendingMeta?: unknown;
|
|
49
|
+
fulfilledMeta?: unknown;
|
|
50
|
+
rejectedMeta?: unknown;
|
|
51
|
+
}>;
|
|
25
52
|
export declare const retrieveSegmentDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
26
53
|
segmentLocation: any;
|
|
27
54
|
segmentProfit: any;
|
|
28
55
|
segmentTech: any;
|
|
29
56
|
segmentTeam: any;
|
|
30
|
-
}, void, {
|
|
57
|
+
}, void, {
|
|
58
|
+
state?: unknown;
|
|
59
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
60
|
+
extra?: unknown;
|
|
61
|
+
rejectValue?: unknown;
|
|
62
|
+
serializedErrorType?: unknown;
|
|
63
|
+
pendingMeta?: unknown;
|
|
64
|
+
fulfilledMeta?: unknown;
|
|
65
|
+
rejectedMeta?: unknown;
|
|
66
|
+
}>;
|
|
31
67
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
32
68
|
flows: any;
|
|
33
|
-
}, void, {
|
|
34
|
-
|
|
69
|
+
}, void, {
|
|
70
|
+
state?: unknown;
|
|
71
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
72
|
+
extra?: unknown;
|
|
73
|
+
rejectValue?: unknown;
|
|
74
|
+
serializedErrorType?: unknown;
|
|
75
|
+
pendingMeta?: unknown;
|
|
76
|
+
fulfilledMeta?: unknown;
|
|
77
|
+
rejectedMeta?: unknown;
|
|
78
|
+
}>;
|
|
79
|
+
type RetrieveBoardProps = {
|
|
35
80
|
boardId: string;
|
|
36
81
|
individualId: string;
|
|
37
82
|
individualType: string;
|
|
38
83
|
};
|
|
39
|
-
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
|
|
84
|
+
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
|
|
85
|
+
state?: unknown;
|
|
86
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
87
|
+
extra?: unknown;
|
|
88
|
+
rejectValue?: unknown;
|
|
89
|
+
serializedErrorType?: unknown;
|
|
90
|
+
pendingMeta?: unknown;
|
|
91
|
+
fulfilledMeta?: unknown;
|
|
92
|
+
rejectedMeta?: unknown;
|
|
93
|
+
}>;
|
|
40
94
|
export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").AsyncThunk<{
|
|
41
95
|
response: any;
|
|
42
96
|
formData: {
|
|
@@ -46,7 +100,16 @@ export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").Asyn
|
|
|
46
100
|
name: string;
|
|
47
101
|
cancelToken: CancelToken;
|
|
48
102
|
onSuccess?: (() => void) | undefined;
|
|
49
|
-
}, {
|
|
103
|
+
}, {
|
|
104
|
+
state?: unknown;
|
|
105
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
106
|
+
extra?: unknown;
|
|
107
|
+
rejectValue?: unknown;
|
|
108
|
+
serializedErrorType?: unknown;
|
|
109
|
+
pendingMeta?: unknown;
|
|
110
|
+
fulfilledMeta?: unknown;
|
|
111
|
+
rejectedMeta?: unknown;
|
|
112
|
+
}>;
|
|
50
113
|
export declare const updateBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
51
114
|
data: any;
|
|
52
115
|
formData: Omit<BrandFormValues, "termAndConditionChecked" | "selectedBrandItem">;
|
|
@@ -54,34 +117,97 @@ export declare const updateBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
54
117
|
segmentLocationList: any;
|
|
55
118
|
segmentProfitList: any;
|
|
56
119
|
segmentTechList: any;
|
|
57
|
-
}, AsyncThunkParams<Omit<BrandFormValues, "termAndConditionChecked" | "selectedBrandItem">>, {
|
|
120
|
+
}, AsyncThunkParams<Omit<BrandFormValues, "termAndConditionChecked" | "selectedBrandItem">>, {
|
|
121
|
+
state?: unknown;
|
|
122
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
123
|
+
extra?: unknown;
|
|
124
|
+
rejectValue?: unknown;
|
|
125
|
+
serializedErrorType?: unknown;
|
|
126
|
+
pendingMeta?: unknown;
|
|
127
|
+
fulfilledMeta?: unknown;
|
|
128
|
+
rejectedMeta?: unknown;
|
|
129
|
+
}>;
|
|
58
130
|
export declare const updateSegmentBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
59
131
|
data: any;
|
|
60
132
|
entityData: any;
|
|
61
133
|
formData: BrandSegmentFormValues;
|
|
62
|
-
}, AsyncThunkParams<BrandSegmentFormValues>, {
|
|
134
|
+
}, AsyncThunkParams<BrandSegmentFormValues>, {
|
|
135
|
+
state?: unknown;
|
|
136
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
137
|
+
extra?: unknown;
|
|
138
|
+
rejectValue?: unknown;
|
|
139
|
+
serializedErrorType?: unknown;
|
|
140
|
+
pendingMeta?: unknown;
|
|
141
|
+
fulfilledMeta?: unknown;
|
|
142
|
+
rejectedMeta?: unknown;
|
|
143
|
+
}>;
|
|
63
144
|
export declare const retrieveEntityList: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
64
145
|
leadId: string;
|
|
65
|
-
}, {
|
|
146
|
+
}, {
|
|
147
|
+
state?: unknown;
|
|
148
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
149
|
+
extra?: unknown;
|
|
150
|
+
rejectValue?: unknown;
|
|
151
|
+
serializedErrorType?: unknown;
|
|
152
|
+
pendingMeta?: unknown;
|
|
153
|
+
fulfilledMeta?: unknown;
|
|
154
|
+
rejectedMeta?: unknown;
|
|
155
|
+
}>;
|
|
66
156
|
export declare const updateBrandActivities: import("@reduxjs/toolkit").AsyncThunk<{
|
|
67
157
|
data: any;
|
|
68
158
|
formData: BrandActivitiesFormValues;
|
|
69
|
-
}, AsyncThunkParams<BrandActivitiesFormValues>, {
|
|
159
|
+
}, AsyncThunkParams<BrandActivitiesFormValues>, {
|
|
160
|
+
state?: unknown;
|
|
161
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
162
|
+
extra?: unknown;
|
|
163
|
+
rejectValue?: unknown;
|
|
164
|
+
serializedErrorType?: unknown;
|
|
165
|
+
pendingMeta?: unknown;
|
|
166
|
+
fulfilledMeta?: unknown;
|
|
167
|
+
rejectedMeta?: unknown;
|
|
168
|
+
}>;
|
|
70
169
|
export declare const retrieveDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
71
170
|
customerBases: any;
|
|
72
171
|
expectedSales: any;
|
|
73
172
|
expectedCustomerSales: any;
|
|
74
173
|
countryISO2: string;
|
|
75
|
-
}, void, {
|
|
174
|
+
}, void, {
|
|
175
|
+
state?: unknown;
|
|
176
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
177
|
+
extra?: unknown;
|
|
178
|
+
rejectValue?: unknown;
|
|
179
|
+
serializedErrorType?: unknown;
|
|
180
|
+
pendingMeta?: unknown;
|
|
181
|
+
fulfilledMeta?: unknown;
|
|
182
|
+
rejectedMeta?: unknown;
|
|
183
|
+
}>;
|
|
76
184
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
77
185
|
data: any;
|
|
78
186
|
flows?: undefined;
|
|
79
187
|
} | {
|
|
80
188
|
data: any;
|
|
81
189
|
flows: any;
|
|
82
|
-
} | undefined, void, {
|
|
83
|
-
|
|
84
|
-
|
|
190
|
+
} | undefined, void, {
|
|
191
|
+
state?: unknown;
|
|
192
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
193
|
+
extra?: unknown;
|
|
194
|
+
rejectValue?: unknown;
|
|
195
|
+
serializedErrorType?: unknown;
|
|
196
|
+
pendingMeta?: unknown;
|
|
197
|
+
fulfilledMeta?: unknown;
|
|
198
|
+
rejectedMeta?: unknown;
|
|
199
|
+
}>;
|
|
200
|
+
export declare const onCloseCompleteBrand: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
201
|
+
state?: unknown;
|
|
202
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
203
|
+
extra?: unknown;
|
|
204
|
+
rejectValue?: unknown;
|
|
205
|
+
serializedErrorType?: unknown;
|
|
206
|
+
pendingMeta?: unknown;
|
|
207
|
+
fulfilledMeta?: unknown;
|
|
208
|
+
rejectedMeta?: unknown;
|
|
209
|
+
}>;
|
|
210
|
+
type VerifyData = {
|
|
85
211
|
token: string;
|
|
86
212
|
};
|
|
87
213
|
export interface BrandData {
|
|
@@ -104,7 +230,7 @@ export declare const brandSlice: import("@reduxjs/toolkit").Slice<BrandState, {
|
|
|
104
230
|
uploadingBrandLogoStatus: (state: BrandState, action: ActionState<boolean>) => void;
|
|
105
231
|
clearBrandLogo: (state: BrandState) => void;
|
|
106
232
|
}, "brand/store">;
|
|
107
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
233
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"brand/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"brand/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"brand/store/resetOTPScreen">, uploadingBrandLogoStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "brand/store/uploadingBrandLogoStatus">, clearBrandLogo: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"brand/store/clearBrandLogo">;
|
|
108
234
|
declare const _default: import("redux").Reducer<BrandState, import("redux").AnyAction>;
|
|
109
235
|
export default _default;
|
|
110
236
|
export declare const brandSelector: (state: RootState) => BrandState;
|