@tap-payments/auth-jsconnect 2.10.5-development → 2.10.5
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 +28 -26
- 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 +2 -2
- package/build/api/auth.d.ts +16 -24
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +8 -8
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +13 -10
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/index.d.ts +1 -8
- 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 +2 -2
- package/build/api/operator.js +1 -1
- 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 +3 -21
- package/build/app/settings.js +2 -3
- package/build/app/store.d.ts +4 -6
- package/build/assets/currencies/AEDSymbol.d.ts +7 -0
- package/build/assets/currencies/AEDSymbol.js +28 -0
- package/build/assets/currencies/SARSymbol.d.ts +2 -2
- package/build/assets/currencies/SARSymbol.js +1 -1
- package/build/assets/currencies/index.d.ts +2 -2
- package/build/assets/currencies/index.js +2 -2
- package/build/assets/currencies/utils.d.ts +1 -1
- package/build/assets/currencies/utils.js +3 -1
- package/build/assets/locales/ar.json +13 -5
- package/build/assets/locales/en.json +14 -5
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Error.d.ts +2 -1
- package/build/components/AnimationFlow/Loader.d.ts +2 -1
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +2 -1
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -1
- package/build/components/FileInput/DragAndDrop.d.ts +2 -1
- package/build/components/FileInput/UploadInput.d.ts +2 -1
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -2
- package/build/components/OTPTimer/OTPTimer.js +4 -4
- 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/TextWithCurrency/TextWithCurrency.d.ts +3 -2
- package/build/components/TextWithCurrency/TextWithCurrency.js +1 -1
- package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +2 -0
- package/build/constants/api.js +4 -0
- package/build/constants/app.d.ts +13 -13
- package/build/constants/app.js +8 -119
- 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 +22 -211
- package/build/features/app/auth/authStore.js +10 -12
- package/build/features/app/bank/bankStore.d.ts +12 -93
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/board/boardStore.d.ts +5 -41
- package/build/features/app/board/boardStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +17 -143
- package/build/features/app/brand/brandStore.js +1 -1
- package/build/features/app/business/businessStore.d.ts +21 -192
- package/build/features/app/business/businessStore.js +16 -11
- package/build/features/app/connect/connectStore.d.ts +19 -181
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +33 -312
- package/build/features/app/connectExpress/connectExpressStore.js +20 -5
- package/build/features/app/entity/entityStore.d.ts +12 -93
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +24 -186
- package/build/features/app/individual/individualStore.js +2 -1
- package/build/features/app/kyc/kycStore.d.ts +8 -62
- package/build/features/app/kyc/kycStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +15 -123
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +7 -61
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +11 -83
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/auth/Auth.d.ts +3 -2
- package/build/features/auth/Auth.js +1 -1
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/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 +2 -1
- 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 +13 -5
- 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 +13 -5
- 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 +2 -1
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +2 -1
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +58 -15
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +31 -10
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +8 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -2
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +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/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +2 -1
- package/build/features/business/screens/Activities/Activities.d.ts +2 -1
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +13 -5
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +13 -5
- package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/BusinessType.js +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 +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/LicenseList.js +15 -7
- 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/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 +70 -19
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +31 -10
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +3 -2
- package/build/features/business/screens/DOB/DOB.d.ts +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 +2 -1
- 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 +2 -1
- package/build/features/connect/Connect.js +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +2 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/DOB/DOB.d.ts +2 -1
- 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 +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/MobileOwnership/CollectMobileOwnership.d.ts +2 -1
- 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 +2 -1
- package/build/features/connectExpress/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/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 +28 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -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 +2 -1
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +2 -1
- 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 +2 -1
- 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 +8 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/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 +2 -1
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +2 -1
- package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
- package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
- package/build/features/entity/screens/EntityName/EntityName.js +16 -15
- 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/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 +0 -67
- package/build/features/individual/Individual.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +27 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +25 -9
- package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +28 -6
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/kyc/KYC.d.ts +2 -1
- 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 +2 -1
- package/build/features/password/Password.js +1 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +2 -1
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +2 -1
- package/build/features/shared/Address/Address.d.ts +2 -1
- package/build/features/shared/Address/CountryList.d.ts +46 -14
- package/build/features/shared/Address/InputSelect.d.ts +46 -14
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.d.ts +2 -1
- package/build/features/shared/Button/Button.js +1 -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 +3 -4
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +2 -1
- package/build/features/shared/Button/NafathButton.d.ts +2 -1
- package/build/features/shared/Button/SuccessButton.d.ts +2 -1
- package/build/features/shared/Calender/Calender.d.ts +2 -1
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +3 -2
- package/build/features/shared/Chip/Chip.d.ts +2 -1
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +2 -1
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +2 -1
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
- package/build/features/shared/Footer/Footer.d.ts +2 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +14 -6
- package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
- package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +2 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +2 -1
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/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 +9 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
- package/build/features/signIn/SignIn.d.ts +2 -1
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +2 -1
- package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +3 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -2
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/hooks/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/string.d.ts +3 -2
- package/build/utils/string.js +5 -5
- package/build/utils/validation.js +1 -1
- package/package.json +2 -2
- package/build/@types/terminal.d.ts +0 -116
- package/build/@types/terminal.js +0 -1
- package/build/api/terminal.d.ts +0 -26
- package/build/api/terminal.js +0 -57
- 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 -235
- 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 -13
- 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 -68
- 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 -5
- 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 -11
- 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 -4
- 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 -11
- 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 -55
- 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
package/build/constants/dummy.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import { ASSETS_DASHBOARD_FULL_PATH, BACKEND_ICONS_FULL_PATH, PNG_ICON_EXTENSION, SVG_ICON_EXTENSION } from './assets';
|
|
2
|
+
var getCountryLogoSVGPath = function (country) {
|
|
3
|
+
return "".concat(ASSETS_DASHBOARD_FULL_PATH, "/country/").concat(country).concat(SVG_ICON_EXTENSION);
|
|
4
|
+
};
|
|
5
|
+
var getCountryLogoPNGPath = function (country) {
|
|
6
|
+
return "".concat(BACKEND_ICONS_FULL_PATH, "/country/png/").concat(country).concat(PNG_ICON_EXTENSION);
|
|
7
|
+
};
|
|
1
8
|
export var OTHER_BRAND = {
|
|
2
9
|
id: 'other',
|
|
3
10
|
code: 'other',
|
|
@@ -358,7 +365,7 @@ export var defaultCountry = {
|
|
|
358
365
|
capital: 'Riyadh',
|
|
359
366
|
geoNameId: '102358',
|
|
360
367
|
idd_prefix: 966,
|
|
361
|
-
logo: '
|
|
368
|
+
logo: getCountryLogoPNGPath('SA'),
|
|
362
369
|
digits: 10,
|
|
363
370
|
supported_by_tap: true,
|
|
364
371
|
min_digits: 10,
|
|
@@ -608,7 +615,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
608
615
|
iso2: 'SA',
|
|
609
616
|
iso3: 'SAU',
|
|
610
617
|
idd_prefix: '966',
|
|
611
|
-
logo: '
|
|
618
|
+
logo: getCountryLogoSVGPath('SA'),
|
|
612
619
|
min_digits: 10,
|
|
613
620
|
max_digits: 10
|
|
614
621
|
}
|
|
@@ -623,7 +630,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
623
630
|
iso2: 'BH',
|
|
624
631
|
iso3: 'BHR',
|
|
625
632
|
idd_prefix: '973',
|
|
626
|
-
logo: '
|
|
633
|
+
logo: getCountryLogoSVGPath('BH'),
|
|
627
634
|
min_digits: 8,
|
|
628
635
|
max_digits: 8
|
|
629
636
|
}
|
|
@@ -638,7 +645,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
638
645
|
iso2: 'EG',
|
|
639
646
|
iso3: 'EGY',
|
|
640
647
|
idd_prefix: '20',
|
|
641
|
-
logo: '
|
|
648
|
+
logo: getCountryLogoSVGPath('EG'),
|
|
642
649
|
min_digits: 10,
|
|
643
650
|
max_digits: 10
|
|
644
651
|
}
|
|
@@ -653,7 +660,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
653
660
|
iso2: 'JO',
|
|
654
661
|
iso3: 'JOR',
|
|
655
662
|
idd_prefix: '962',
|
|
656
|
-
logo: '
|
|
663
|
+
logo: getCountryLogoSVGPath('JO'),
|
|
657
664
|
min_digits: 9,
|
|
658
665
|
max_digits: 9
|
|
659
666
|
}
|
|
@@ -668,7 +675,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
668
675
|
iso2: 'KW',
|
|
669
676
|
iso3: 'KWT',
|
|
670
677
|
idd_prefix: '965',
|
|
671
|
-
logo: '
|
|
678
|
+
logo: getCountryLogoSVGPath('KW'),
|
|
672
679
|
min_digits: 8,
|
|
673
680
|
max_digits: 8
|
|
674
681
|
}
|
|
@@ -683,7 +690,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
683
690
|
iso2: 'LB',
|
|
684
691
|
iso3: 'LBN',
|
|
685
692
|
idd_prefix: '961',
|
|
686
|
-
logo: '
|
|
693
|
+
logo: getCountryLogoSVGPath('LB'),
|
|
687
694
|
min_digits: 7,
|
|
688
695
|
max_digits: 8
|
|
689
696
|
}
|
|
@@ -698,7 +705,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
698
705
|
iso2: 'OM',
|
|
699
706
|
iso3: 'OMN',
|
|
700
707
|
idd_prefix: '968',
|
|
701
|
-
logo: '
|
|
708
|
+
logo: getCountryLogoSVGPath('OM'),
|
|
702
709
|
min_digits: 7,
|
|
703
710
|
max_digits: 8
|
|
704
711
|
}
|
|
@@ -713,7 +720,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
713
720
|
iso2: 'QA',
|
|
714
721
|
iso3: 'QAT',
|
|
715
722
|
idd_prefix: '974',
|
|
716
|
-
logo: '
|
|
723
|
+
logo: getCountryLogoSVGPath('QA'),
|
|
717
724
|
min_digits: 8,
|
|
718
725
|
max_digits: 8
|
|
719
726
|
}
|
|
@@ -728,7 +735,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
728
735
|
iso2: 'AE',
|
|
729
736
|
iso3: 'ARE',
|
|
730
737
|
idd_prefix: '971',
|
|
731
|
-
logo: '
|
|
738
|
+
logo: getCountryLogoSVGPath('AE'),
|
|
732
739
|
min_digits: 9,
|
|
733
740
|
max_digits: 9
|
|
734
741
|
}
|
|
@@ -750,7 +757,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
750
757
|
iso2: 'GB',
|
|
751
758
|
iso3: 'GBR',
|
|
752
759
|
idd_prefix: '44',
|
|
753
|
-
logo: '
|
|
760
|
+
logo: getCountryLogoSVGPath('GB'),
|
|
754
761
|
min_digits: 10,
|
|
755
762
|
max_digits: 10
|
|
756
763
|
}
|
|
@@ -765,7 +772,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
765
772
|
iso2: 'IE',
|
|
766
773
|
iso3: 'IRL',
|
|
767
774
|
idd_prefix: '353',
|
|
768
|
-
logo: '
|
|
775
|
+
logo: getCountryLogoSVGPath('IE'),
|
|
769
776
|
min_digits: 10,
|
|
770
777
|
max_digits: 10
|
|
771
778
|
}
|
|
@@ -780,7 +787,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
780
787
|
iso2: 'FR',
|
|
781
788
|
iso3: 'FRA',
|
|
782
789
|
idd_prefix: '33',
|
|
783
|
-
logo: '
|
|
790
|
+
logo: getCountryLogoSVGPath('FR'),
|
|
784
791
|
min_digits: 9,
|
|
785
792
|
max_digits: 9
|
|
786
793
|
}
|
|
@@ -795,7 +802,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
795
802
|
iso2: 'NL',
|
|
796
803
|
iso3: 'NLD',
|
|
797
804
|
idd_prefix: '31',
|
|
798
|
-
logo: '
|
|
805
|
+
logo: getCountryLogoSVGPath('NL'),
|
|
799
806
|
min_digits: 9,
|
|
800
807
|
max_digits: 9
|
|
801
808
|
}
|
|
@@ -810,7 +817,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
810
817
|
iso2: 'DE',
|
|
811
818
|
iso3: 'DEU',
|
|
812
819
|
idd_prefix: '49',
|
|
813
|
-
logo: '
|
|
820
|
+
logo: getCountryLogoSVGPath('DE'),
|
|
814
821
|
min_digits: 11,
|
|
815
822
|
max_digits: 11
|
|
816
823
|
}
|
|
@@ -825,7 +832,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
825
832
|
iso2: 'ES',
|
|
826
833
|
iso3: 'ESP',
|
|
827
834
|
idd_prefix: '34',
|
|
828
|
-
logo: '
|
|
835
|
+
logo: getCountryLogoSVGPath('ES'),
|
|
829
836
|
min_digits: 9,
|
|
830
837
|
max_digits: 9
|
|
831
838
|
}
|
|
@@ -840,7 +847,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
840
847
|
iso2: 'IT',
|
|
841
848
|
iso3: 'ITA',
|
|
842
849
|
idd_prefix: '39',
|
|
843
|
-
logo: '
|
|
850
|
+
logo: getCountryLogoSVGPath('IT'),
|
|
844
851
|
min_digits: 11,
|
|
845
852
|
max_digits: 11
|
|
846
853
|
}
|
|
@@ -862,7 +869,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
862
869
|
iso2: 'PK',
|
|
863
870
|
iso3: 'PAK',
|
|
864
871
|
idd_prefix: '92',
|
|
865
|
-
logo: '
|
|
872
|
+
logo: getCountryLogoSVGPath('PK'),
|
|
866
873
|
min_digits: 10,
|
|
867
874
|
max_digits: 10
|
|
868
875
|
}
|
|
@@ -877,7 +884,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
877
884
|
iso2: 'IN',
|
|
878
885
|
iso3: 'IND',
|
|
879
886
|
idd_prefix: '91',
|
|
880
|
-
logo: '
|
|
887
|
+
logo: getCountryLogoSVGPath('IN'),
|
|
881
888
|
min_digits: 10,
|
|
882
889
|
max_digits: 10
|
|
883
890
|
}
|
|
@@ -899,7 +906,7 @@ export var BUSINESS_COUNTRIES = [
|
|
|
899
906
|
iso2: 'SG',
|
|
900
907
|
iso3: 'SGP',
|
|
901
908
|
idd_prefix: '65',
|
|
902
|
-
logo: '
|
|
909
|
+
logo: getCountryLogoSVGPath('SG'),
|
|
903
910
|
min_digits: 8,
|
|
904
911
|
max_digits: 8
|
|
905
912
|
}
|
|
@@ -23,19 +23,4 @@ export declare const CONNECT_FLOWS: {
|
|
|
23
23
|
verifyNafath: KYC_FLOWS;
|
|
24
24
|
success: KYC_FLOWS;
|
|
25
25
|
};
|
|
26
|
-
terminal: {
|
|
27
|
-
loadingData: string;
|
|
28
|
-
operatorError: string;
|
|
29
|
-
verify: string;
|
|
30
|
-
noTerminalLinked: string;
|
|
31
|
-
terminalDeviceList: string;
|
|
32
|
-
terminalLinkNew: string;
|
|
33
|
-
linkedTerminalInfo: string;
|
|
34
|
-
unlinkedTerminalInfo: string;
|
|
35
|
-
terminalLinkedSuccess: string;
|
|
36
|
-
terminalUnlinkedSuccess: string;
|
|
37
|
-
board: string;
|
|
38
|
-
resetPassword: string;
|
|
39
|
-
terminalList: string;
|
|
40
|
-
};
|
|
41
26
|
};
|
package/build/constants/flows.js
CHANGED
|
@@ -23,20 +23,5 @@ export var CONNECT_FLOWS = {
|
|
|
23
23
|
verifyPACI: KYC_FLOWS.verifyPACI,
|
|
24
24
|
verifyNafath: KYC_FLOWS.verifyNafath,
|
|
25
25
|
success: KYC_FLOWS.success
|
|
26
|
-
},
|
|
27
|
-
terminal: {
|
|
28
|
-
loadingData: 'TERMINAL_LOADING_DATA_STEP',
|
|
29
|
-
operatorError: 'TERMINAL_OPERATOR_ERROR_STEP',
|
|
30
|
-
verify: 'TERMINAL_VERIFY_OTP_STEP',
|
|
31
|
-
noTerminalLinked: 'TERMINAL_NO_TERMINAL_LINKED',
|
|
32
|
-
terminalDeviceList: 'TERMINAL_DEVICE_LIST_STEP',
|
|
33
|
-
terminalLinkNew: 'TERMINAL_LINK_NEW_STEP',
|
|
34
|
-
linkedTerminalInfo: 'TERMINAL_LINKED_INFO_STEP',
|
|
35
|
-
unlinkedTerminalInfo: 'TERMINAL_UNLINKED_INFO_STEP',
|
|
36
|
-
terminalLinkedSuccess: 'TERMINAL_LINKED_SUCCESS_STEP',
|
|
37
|
-
terminalUnlinkedSuccess: 'TERMINAL_UNLINKED_SUCCESS_STEP',
|
|
38
|
-
board: 'TERMINAL_BOARD_STEP',
|
|
39
|
-
resetPassword: 'TERMINAL_RESET_PASSWORD',
|
|
40
|
-
terminalList: 'TERMINAL_LIST_STEP'
|
|
41
26
|
}
|
|
42
27
|
};
|
|
@@ -10,6 +10,7 @@ export declare const LICENSE_NUMBER_MIN_LENGTH = 5;
|
|
|
10
10
|
export declare const FL_NUMBER_ENTITY_LENGTH = 50;
|
|
11
11
|
export declare const FL_MIN_LICENSE_LENGTH = 5;
|
|
12
12
|
export declare const CR_MIN_LICENSE_LENGTH = 5;
|
|
13
|
+
export declare const UNIFIED_NUMBER_MIN_LENGTH = 2;
|
|
13
14
|
export declare const MAX_EMAIL_LENGTH = 50;
|
|
14
15
|
export declare const BRAND_NAME_MAX_LENGTH = 99;
|
|
15
16
|
export declare const KW_MIN_LICENSE_LENGTH = 3;
|
|
@@ -32,4 +33,3 @@ export declare const DIGITS_ONLY: RegExp;
|
|
|
32
33
|
export declare const REGEX_PHONE_APP_NAME: RegExp;
|
|
33
34
|
export declare const REGEX_IBAN: RegExp;
|
|
34
35
|
export declare const NAFATH_PACI_TIMEOUT_DURATION = 30000;
|
|
35
|
-
export declare const TERMINAL_PUSH_NOTIFICATION_DURATION = 10000000;
|
|
@@ -10,6 +10,7 @@ export var LICENSE_NUMBER_MIN_LENGTH = 5;
|
|
|
10
10
|
export var FL_NUMBER_ENTITY_LENGTH = 50;
|
|
11
11
|
export var FL_MIN_LICENSE_LENGTH = 5;
|
|
12
12
|
export var CR_MIN_LICENSE_LENGTH = 5;
|
|
13
|
+
export var UNIFIED_NUMBER_MIN_LENGTH = 2;
|
|
13
14
|
export var MAX_EMAIL_LENGTH = 50;
|
|
14
15
|
export var BRAND_NAME_MAX_LENGTH = 99;
|
|
15
16
|
export var KW_MIN_LICENSE_LENGTH = 3;
|
|
@@ -32,4 +33,3 @@ export var DIGITS_ONLY = /^\d+$/;
|
|
|
32
33
|
export var REGEX_PHONE_APP_NAME = /^[a-zA-Z0-9[._-]*$/;
|
|
33
34
|
export var REGEX_IBAN = /^[a-zA-Z]{2}[a-zA-Z0-9]{13,34}$/g;
|
|
34
35
|
export var NAFATH_PACI_TIMEOUT_DURATION = 30000;
|
|
35
|
-
export var TERMINAL_PUSH_NOTIFICATION_DURATION = 10000000;
|
|
@@ -1,28 +1,10 @@
|
|
|
1
1
|
import { RootState } from '../../../app/store';
|
|
2
2
|
import { ActionState, AuthEmailFormValues, AuthForType, AuthMerchantFormValues, AuthenticationListFormValues, CivilFormValues, CountryCode, DOBFormValues, FlowsTypes, MobileFormValues, NIDFormValues, OTPFormValues, PasscodeFormValues, PasswordFormValues, SharedState } from '../../../@types';
|
|
3
|
-
export declare const updateBusinessCountry: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
4
|
-
state?: unknown;
|
|
5
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
6
|
-
extra?: unknown;
|
|
7
|
-
rejectValue?: unknown;
|
|
8
|
-
serializedErrorType?: unknown;
|
|
9
|
-
pendingMeta?: unknown;
|
|
10
|
-
fulfilledMeta?: unknown;
|
|
11
|
-
rejectedMeta?: unknown;
|
|
12
|
-
}>;
|
|
3
|
+
export declare const updateBusinessCountry: import("@reduxjs/toolkit").AsyncThunk<any, string, {}>;
|
|
13
4
|
export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
14
5
|
data: any;
|
|
15
6
|
countryCode: CountryCode;
|
|
16
|
-
}, string, {
|
|
17
|
-
state?: unknown;
|
|
18
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
19
|
-
extra?: unknown;
|
|
20
|
-
rejectValue?: unknown;
|
|
21
|
-
serializedErrorType?: unknown;
|
|
22
|
-
pendingMeta?: unknown;
|
|
23
|
-
fulfilledMeta?: unknown;
|
|
24
|
-
rejectedMeta?: unknown;
|
|
25
|
-
}>;
|
|
7
|
+
}, string, {}>;
|
|
26
8
|
interface CreateMobileAuthParams extends MobileFormValues {
|
|
27
9
|
skipPasscode?: boolean;
|
|
28
10
|
}
|
|
@@ -34,49 +16,13 @@ export declare const createMobileAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
34
16
|
termAndConditionChecked?: boolean | undefined;
|
|
35
17
|
};
|
|
36
18
|
skipPasscode: boolean | undefined;
|
|
37
|
-
}, CreateMobileAuthParams, {
|
|
38
|
-
state?: unknown;
|
|
39
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
40
|
-
extra?: unknown;
|
|
41
|
-
rejectValue?: unknown;
|
|
42
|
-
serializedErrorType?: unknown;
|
|
43
|
-
pendingMeta?: unknown;
|
|
44
|
-
fulfilledMeta?: unknown;
|
|
45
|
-
rejectedMeta?: unknown;
|
|
46
|
-
}>;
|
|
19
|
+
}, CreateMobileAuthParams, {}>;
|
|
47
20
|
export declare const resendMobileAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
48
21
|
response: any;
|
|
49
22
|
formData: MobileFormValues;
|
|
50
|
-
}, MobileFormValues, {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
extra?: unknown;
|
|
54
|
-
rejectValue?: unknown;
|
|
55
|
-
serializedErrorType?: unknown;
|
|
56
|
-
pendingMeta?: unknown;
|
|
57
|
-
fulfilledMeta?: unknown;
|
|
58
|
-
rejectedMeta?: unknown;
|
|
59
|
-
}>;
|
|
60
|
-
export declare const verifyMobileOtp: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
61
|
-
state?: unknown;
|
|
62
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
63
|
-
extra?: unknown;
|
|
64
|
-
rejectValue?: unknown;
|
|
65
|
-
serializedErrorType?: unknown;
|
|
66
|
-
pendingMeta?: unknown;
|
|
67
|
-
fulfilledMeta?: unknown;
|
|
68
|
-
rejectedMeta?: unknown;
|
|
69
|
-
}>;
|
|
70
|
-
export declare const verifyPasscode: import("@reduxjs/toolkit").AsyncThunk<any, PasscodeFormValues, {
|
|
71
|
-
state?: unknown;
|
|
72
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
73
|
-
extra?: unknown;
|
|
74
|
-
rejectValue?: unknown;
|
|
75
|
-
serializedErrorType?: unknown;
|
|
76
|
-
pendingMeta?: unknown;
|
|
77
|
-
fulfilledMeta?: unknown;
|
|
78
|
-
rejectedMeta?: unknown;
|
|
79
|
-
}>;
|
|
23
|
+
}, MobileFormValues, {}>;
|
|
24
|
+
export declare const verifyMobileOtp: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {}>;
|
|
25
|
+
export declare const verifyPasscode: import("@reduxjs/toolkit").AsyncThunk<any, PasscodeFormValues, {}>;
|
|
80
26
|
interface CreateEmailAuthParams extends AuthEmailFormValues {
|
|
81
27
|
skipPasscode?: boolean;
|
|
82
28
|
}
|
|
@@ -86,187 +32,52 @@ export declare const createEmailAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
86
32
|
email: string;
|
|
87
33
|
};
|
|
88
34
|
skipPasscode: boolean | undefined;
|
|
89
|
-
}, CreateEmailAuthParams, {
|
|
90
|
-
|
|
91
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
92
|
-
extra?: unknown;
|
|
93
|
-
rejectValue?: unknown;
|
|
94
|
-
serializedErrorType?: unknown;
|
|
95
|
-
pendingMeta?: unknown;
|
|
96
|
-
fulfilledMeta?: unknown;
|
|
97
|
-
rejectedMeta?: unknown;
|
|
98
|
-
}>;
|
|
99
|
-
export declare const verifyEmailPassword: import("@reduxjs/toolkit").AsyncThunk<any, PasswordFormValues, {
|
|
100
|
-
state?: unknown;
|
|
101
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
102
|
-
extra?: unknown;
|
|
103
|
-
rejectValue?: unknown;
|
|
104
|
-
serializedErrorType?: unknown;
|
|
105
|
-
pendingMeta?: unknown;
|
|
106
|
-
fulfilledMeta?: unknown;
|
|
107
|
-
rejectedMeta?: unknown;
|
|
108
|
-
}>;
|
|
35
|
+
}, CreateEmailAuthParams, {}>;
|
|
36
|
+
export declare const verifyEmailPassword: import("@reduxjs/toolkit").AsyncThunk<any, PasswordFormValues, {}>;
|
|
109
37
|
export declare const resendEmailAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
110
38
|
response: any;
|
|
111
39
|
formData: AuthEmailFormValues;
|
|
112
|
-
}, AuthEmailFormValues, {
|
|
113
|
-
|
|
114
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
115
|
-
extra?: unknown;
|
|
116
|
-
rejectValue?: unknown;
|
|
117
|
-
serializedErrorType?: unknown;
|
|
118
|
-
pendingMeta?: unknown;
|
|
119
|
-
fulfilledMeta?: unknown;
|
|
120
|
-
rejectedMeta?: unknown;
|
|
121
|
-
}>;
|
|
122
|
-
export declare const verifyEmailOtp: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
123
|
-
state?: unknown;
|
|
124
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
125
|
-
extra?: unknown;
|
|
126
|
-
rejectValue?: unknown;
|
|
127
|
-
serializedErrorType?: unknown;
|
|
128
|
-
pendingMeta?: unknown;
|
|
129
|
-
fulfilledMeta?: unknown;
|
|
130
|
-
rejectedMeta?: unknown;
|
|
131
|
-
}>;
|
|
40
|
+
}, AuthEmailFormValues, {}>;
|
|
41
|
+
export declare const verifyEmailOtp: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {}>;
|
|
132
42
|
export declare const createNafathAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
133
43
|
response: any;
|
|
134
44
|
formData: NIDFormValues;
|
|
135
|
-
}, NIDFormValues, {
|
|
136
|
-
state?: unknown;
|
|
137
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
138
|
-
extra?: unknown;
|
|
139
|
-
rejectValue?: unknown;
|
|
140
|
-
serializedErrorType?: unknown;
|
|
141
|
-
pendingMeta?: unknown;
|
|
142
|
-
fulfilledMeta?: unknown;
|
|
143
|
-
rejectedMeta?: unknown;
|
|
144
|
-
}>;
|
|
45
|
+
}, NIDFormValues, {}>;
|
|
145
46
|
interface verifyNafathParams {
|
|
146
47
|
onSuccess?: () => void;
|
|
147
48
|
onFailure?: () => void;
|
|
148
49
|
}
|
|
149
|
-
export declare const verifyNafath: import("@reduxjs/toolkit").AsyncThunk<any, verifyNafathParams, {
|
|
150
|
-
state?: unknown;
|
|
151
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
152
|
-
extra?: unknown;
|
|
153
|
-
rejectValue?: unknown;
|
|
154
|
-
serializedErrorType?: unknown;
|
|
155
|
-
pendingMeta?: unknown;
|
|
156
|
-
fulfilledMeta?: unknown;
|
|
157
|
-
rejectedMeta?: unknown;
|
|
158
|
-
}>;
|
|
50
|
+
export declare const verifyNafath: import("@reduxjs/toolkit").AsyncThunk<any, verifyNafathParams, {}>;
|
|
159
51
|
export declare const updateLeadDOB: import("@reduxjs/toolkit").AsyncThunk<{
|
|
160
52
|
data: any;
|
|
161
53
|
formData: DOBFormValues;
|
|
162
|
-
}, DOBFormValues, {
|
|
163
|
-
state?: unknown;
|
|
164
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
165
|
-
extra?: unknown;
|
|
166
|
-
rejectValue?: unknown;
|
|
167
|
-
serializedErrorType?: unknown;
|
|
168
|
-
pendingMeta?: unknown;
|
|
169
|
-
fulfilledMeta?: unknown;
|
|
170
|
-
rejectedMeta?: unknown;
|
|
171
|
-
}>;
|
|
54
|
+
}, DOBFormValues, {}>;
|
|
172
55
|
export declare const createCivilIdAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
173
56
|
response: any;
|
|
174
57
|
formData: CivilFormValues;
|
|
175
|
-
}, CivilFormValues, {
|
|
176
|
-
state?: unknown;
|
|
177
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
178
|
-
extra?: unknown;
|
|
179
|
-
rejectValue?: unknown;
|
|
180
|
-
serializedErrorType?: unknown;
|
|
181
|
-
pendingMeta?: unknown;
|
|
182
|
-
fulfilledMeta?: unknown;
|
|
183
|
-
rejectedMeta?: unknown;
|
|
184
|
-
}>;
|
|
58
|
+
}, CivilFormValues, {}>;
|
|
185
59
|
interface verifyPACIParams {
|
|
186
60
|
onSuccess: () => void;
|
|
187
61
|
}
|
|
188
|
-
export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<any, verifyPACIParams, {
|
|
189
|
-
|
|
190
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
191
|
-
extra?: unknown;
|
|
192
|
-
rejectValue?: unknown;
|
|
193
|
-
serializedErrorType?: unknown;
|
|
194
|
-
pendingMeta?: unknown;
|
|
195
|
-
fulfilledMeta?: unknown;
|
|
196
|
-
rejectedMeta?: unknown;
|
|
197
|
-
}>;
|
|
198
|
-
export declare const checkMigrationStatus: import("@reduxjs/toolkit").AsyncThunk<undefined, void, {
|
|
199
|
-
state?: unknown;
|
|
200
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
201
|
-
extra?: unknown;
|
|
202
|
-
rejectValue?: unknown;
|
|
203
|
-
serializedErrorType?: unknown;
|
|
204
|
-
pendingMeta?: unknown;
|
|
205
|
-
fulfilledMeta?: unknown;
|
|
206
|
-
rejectedMeta?: unknown;
|
|
207
|
-
}>;
|
|
62
|
+
export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<any, verifyPACIParams, {}>;
|
|
63
|
+
export declare const checkMigrationStatus: import("@reduxjs/toolkit").AsyncThunk<undefined, void, {}>;
|
|
208
64
|
export declare const checkAccountAvailability: import("@reduxjs/toolkit").AsyncThunk<{
|
|
209
65
|
brandList: any;
|
|
210
66
|
entityList: any;
|
|
211
|
-
}, void, {
|
|
212
|
-
state?: unknown;
|
|
213
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
214
|
-
extra?: unknown;
|
|
215
|
-
rejectValue?: unknown;
|
|
216
|
-
serializedErrorType?: unknown;
|
|
217
|
-
pendingMeta?: unknown;
|
|
218
|
-
fulfilledMeta?: unknown;
|
|
219
|
-
rejectedMeta?: unknown;
|
|
220
|
-
}>;
|
|
67
|
+
}, void, {}>;
|
|
221
68
|
export declare const getMerchantList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
222
69
|
list: any;
|
|
223
70
|
brandInfo: import("../../../@types").BrandInfo | undefined;
|
|
224
71
|
entityInfo: import("../../../@types").EntityLicenseAuth | undefined;
|
|
225
|
-
}, AuthenticationListFormValues, {
|
|
226
|
-
state?: unknown;
|
|
227
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
228
|
-
extra?: unknown;
|
|
229
|
-
rejectValue?: unknown;
|
|
230
|
-
serializedErrorType?: unknown;
|
|
231
|
-
pendingMeta?: unknown;
|
|
232
|
-
fulfilledMeta?: unknown;
|
|
233
|
-
rejectedMeta?: unknown;
|
|
234
|
-
}>;
|
|
72
|
+
}, AuthenticationListFormValues, {}>;
|
|
235
73
|
export declare const createEntity: import("@reduxjs/toolkit").AsyncThunk<{
|
|
236
74
|
data: any;
|
|
237
75
|
formData: AuthenticationListFormValues;
|
|
238
|
-
}, AuthenticationListFormValues, {
|
|
239
|
-
state?: unknown;
|
|
240
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
241
|
-
extra?: unknown;
|
|
242
|
-
rejectValue?: unknown;
|
|
243
|
-
serializedErrorType?: unknown;
|
|
244
|
-
pendingMeta?: unknown;
|
|
245
|
-
fulfilledMeta?: unknown;
|
|
246
|
-
rejectedMeta?: unknown;
|
|
247
|
-
}>;
|
|
76
|
+
}, AuthenticationListFormValues, {}>;
|
|
248
77
|
export declare const confirmInfo: import("@reduxjs/toolkit").AsyncThunk<void, AuthenticationListFormValues & AuthMerchantFormValues & {
|
|
249
78
|
authId?: string | undefined;
|
|
250
|
-
}, {
|
|
251
|
-
|
|
252
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
253
|
-
extra?: unknown;
|
|
254
|
-
rejectValue?: unknown;
|
|
255
|
-
serializedErrorType?: unknown;
|
|
256
|
-
pendingMeta?: unknown;
|
|
257
|
-
fulfilledMeta?: unknown;
|
|
258
|
-
rejectedMeta?: unknown;
|
|
259
|
-
}>;
|
|
260
|
-
export declare const onSignUp: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
261
|
-
state?: unknown;
|
|
262
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
263
|
-
extra?: unknown;
|
|
264
|
-
rejectValue?: unknown;
|
|
265
|
-
serializedErrorType?: unknown;
|
|
266
|
-
pendingMeta?: unknown;
|
|
267
|
-
fulfilledMeta?: unknown;
|
|
268
|
-
rejectedMeta?: unknown;
|
|
269
|
-
}>;
|
|
79
|
+
}, {}>;
|
|
80
|
+
export declare const onSignUp: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
|
|
270
81
|
interface ResponseData {
|
|
271
82
|
responseData?: Record<string, any>;
|
|
272
83
|
}
|
|
@@ -305,7 +116,7 @@ export declare const authSlice: import("@reduxjs/toolkit").Slice<AuthState, {
|
|
|
305
116
|
resetPasswordValue: (state: AuthState) => void;
|
|
306
117
|
resetAuthenticationScreen: (state: AuthState) => void;
|
|
307
118
|
}, "auth/store">;
|
|
308
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
119
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setMobileCountryCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>, setLeadId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, resetOTPValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, storeIsStartFromBusinessCountry: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, resetAuthenticationScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, storeIsBusinessCountryPassed: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, resetPasswordValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
309
120
|
declare const _default: import("redux").Reducer<AuthState, import("redux").AnyAction>;
|
|
310
121
|
export default _default;
|
|
311
122
|
export declare const authSelector: (state: RootState) => AuthState;
|
|
@@ -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]) {
|
|
@@ -124,15 +124,14 @@ export var retrieveLeadIdentityByIdAsync = createAsyncThunk('auth/retrieveLeadId
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
}); });
|
|
127
|
-
export var createMobileAuth = createAsyncThunk('auth/createMobileAuth', function (_a, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
128
|
-
var
|
|
129
|
-
var _c, _d, _e;
|
|
127
|
+
export var createMobileAuth = createAsyncThunk('auth/createMobileAuth', function (_a, thunkApi) { var _b, _c, _d; return __awaiter(void 0, void 0, void 0, function () {
|
|
128
|
+
var _e, settings, auth, isStartWithZero, mobileNumber, requestBody, data, stepName;
|
|
130
129
|
var skipPasscode = _a.skipPasscode, params = __rest(_a, ["skipPasscode"]);
|
|
131
130
|
return __generator(this, function (_f) {
|
|
132
131
|
switch (_f.label) {
|
|
133
132
|
case 0:
|
|
134
|
-
|
|
135
|
-
isStartWithZero = (
|
|
133
|
+
_e = thunkApi.getState(), settings = _e.settings, auth = _e.auth;
|
|
134
|
+
isStartWithZero = (_b = params.mobile) === null || _b === void 0 ? void 0 : _b.startsWith('0');
|
|
136
135
|
mobileNumber = isStartWithZero ? params.mobile.slice(1) : params.mobile;
|
|
137
136
|
requestBody = __assign({ country: settings.data.businessCountry.iso2, scope: settings.data.appConfig.scope, lang: settings.data.language, lead_id: auth.data.leadId, user_credentail: {
|
|
138
137
|
phone: mobileNumber || '',
|
|
@@ -147,7 +146,7 @@ export var createMobileAuth = createAsyncThunk('auth/createMobileAuth', function
|
|
|
147
146
|
data = _f.sent();
|
|
148
147
|
stepName = (data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.PASSCODE ? 'AUTH_PASSCODE_STEP' : 'AUTH_OTP_STEP';
|
|
149
148
|
thunkApi.dispatch(handleNextScreenStep(stepName));
|
|
150
|
-
(
|
|
149
|
+
(_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, requestBody.user_credentail);
|
|
151
150
|
return [2, { response: data, formData: params, skipPasscode: skipPasscode }];
|
|
152
151
|
}
|
|
153
152
|
});
|
|
@@ -266,14 +265,13 @@ export var verifyPasscode = createAsyncThunk('auth/verifyPasscode', function (pa
|
|
|
266
265
|
}
|
|
267
266
|
});
|
|
268
267
|
}); });
|
|
269
|
-
export var createEmailAuth = createAsyncThunk('auth/createEmailAuth', function (_a, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
270
|
-
var
|
|
271
|
-
var _c, _d;
|
|
268
|
+
export var createEmailAuth = createAsyncThunk('auth/createEmailAuth', function (_a, thunkApi) { var _b, _c; return __awaiter(void 0, void 0, void 0, function () {
|
|
269
|
+
var _d, settings, auth, requestBody, data, stepName;
|
|
272
270
|
var skipPasscode = _a.skipPasscode, params = __rest(_a, ["skipPasscode"]);
|
|
273
271
|
return __generator(this, function (_e) {
|
|
274
272
|
switch (_e.label) {
|
|
275
273
|
case 0:
|
|
276
|
-
|
|
274
|
+
_d = thunkApi.getState(), settings = _d.settings, auth = _d.auth;
|
|
277
275
|
requestBody = __assign({ country: settings.data.businessCountry.iso2, scope: settings.data.appConfig.scope, lang: settings.data.language, lead_id: auth.data.leadId, user_credentail: {
|
|
278
276
|
email: params.email || ''
|
|
279
277
|
}, sign_in: true, login: true, is_lead: false, step_name: AUTH_STEP_NAMES.CREATE_AUTH_EMAIL, encryption_contract: ['user_credentail.email'] }, (skipPasscode && {
|
|
@@ -292,7 +290,7 @@ export var createEmailAuth = createAsyncThunk('auth/createEmailAuth', function (
|
|
|
292
290
|
else if ((data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.PASSCODE)
|
|
293
291
|
stepName = 'AUTH_PASSCODE_STEP';
|
|
294
292
|
thunkApi.dispatch(handleNextScreenStep(stepName));
|
|
295
|
-
(
|
|
293
|
+
(_c = (_b = settings.data.appConfig).onStepCompleted) === null || _c === void 0 ? void 0 : _c.call(_b, settings.data.activeScreen.name, requestBody.user_credentail);
|
|
296
294
|
return [2, { response: data, formData: params, skipPasscode: skipPasscode }];
|
|
297
295
|
}
|
|
298
296
|
});
|