@tap-payments/auth-jsconnect 2.9.7-development → 2.9.8-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/app.d.ts +19 -18
- package/build/@types/config.d.ts +5 -1
- package/build/@types/form.d.ts +28 -24
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +4 -3
- package/build/api/auth.d.ts +15 -15
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +8 -8
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +10 -10
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +13 -13
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +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 +1 -1
- package/build/app/store.d.ts +4 -6
- package/build/assets/locales/ar.json +6 -2
- package/build/assets/locales/en.json +6 -2
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.js +16 -12
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.js +3 -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/Input/Input.js +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
- package/build/components/ProgressBar/CircularProgressBar.d.ts +2 -1
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/Radio/Radio.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.d.ts +1 -1
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/Text/Text.d.ts +1 -1
- package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +1 -0
- package/build/constants/api.js +2 -0
- package/build/constants/app.d.ts +9 -1
- package/build/constants/app.js +39 -13
- package/build/constants/flows.d.ts +0 -2
- package/build/constants/flows.js +0 -2
- package/build/features/app/auth/authStore.d.ts +21 -201
- package/build/features/app/auth/authStore.js +1 -1
- package/build/features/app/bank/bankStore.d.ts +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 +29 -173
- package/build/features/app/business/businessStore.js +117 -12
- package/build/features/app/connect/connectStore.d.ts +25 -162
- package/build/features/app/connect/connectStore.js +128 -31
- package/build/features/app/connectExpress/connectExpressStore.d.ts +36 -272
- package/build/features/app/connectExpress/connectExpressStore.js +141 -7
- 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 +3 -5
- package/build/features/app/password/passwordStore.d.ts +15 -123
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +7 -61
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +11 -83
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/auth/Auth.d.ts +2 -1
- package/build/features/auth/Auth.js +1 -1
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/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 +1 -1
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/auth/screens/Password/Password.d.ts +1 -1
- package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +6 -1
- package/build/features/bank/Bank.js +15 -7
- 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 +6 -1
- package/build/features/brand/Brand.js +15 -7
- 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/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +2 -1
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +2 -1
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +28 -6
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +70 -19
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +31 -10
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +3 -2
- package/build/features/business/screens/DOB/DOB.d.ts +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 +3 -0
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.js +105 -0
- package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/business/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/business/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/business/screens/MobileOwnership/index.js +2 -0
- package/build/features/business/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/business/screens/MobileOwnership/validation.js +38 -0
- 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 +3 -0
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.js +106 -0
- package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/connect/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/connect/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/connect/screens/MobileOwnership/index.js +2 -0
- package/build/features/connect/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/connect/screens/MobileOwnership/validation.js +38 -0
- 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 +2 -2
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +28 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -3
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/DOB/DOB.d.ts +2 -1
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -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 +3 -0
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.js +108 -0
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/connectExpress/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/connectExpress/screens/MobileOwnership/index.js +2 -0
- package/build/features/connectExpress/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/MobileOwnership/validation.js +38 -0
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +8 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +5 -1
- package/build/features/entity/Entity.js +15 -7
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +2 -1
- package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
- package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +58 -15
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -1
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/featuresScreens.d.ts +0 -1
- package/build/features/featuresScreens.js +15 -48
- package/build/features/individual/Individual.d.ts +5 -1
- package/build/features/individual/Individual.js +15 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +27 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +25 -9
- package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +28 -6
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/password/Password.d.ts +5 -1
- package/build/features/password/Password.js +14 -7
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +2 -1
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +2 -1
- package/build/features/shared/Address/Address.d.ts +2 -1
- package/build/features/shared/Address/CountryList.d.ts +46 -14
- package/build/features/shared/Address/InputSelect.d.ts +46 -14
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.d.ts +2 -1
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.js +6 -3
- 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 +2 -1
- package/build/features/shared/Containers/FeatureContainer.js +5 -3
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +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/Dialog/DialogContainer.js +5 -4
- package/build/features/shared/Dot/Dot.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
- package/build/features/shared/Footer/Footer.d.ts +2 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +14 -6
- package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
- package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +2 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +2 -1
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +9 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
- package/build/features/signIn/SignIn.d.ts +2 -1
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +5 -1
- package/build/features/tax/Tax.js +15 -7
- 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/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/utils/array.js +1 -1
- package/build/utils/common.js +4 -4
- package/package.json +2 -2
- package/build/features/app/kyc/kycStore.d.ts +0 -121
- package/build/features/app/kyc/kycStore.js +0 -401
- package/build/features/kyc/KYC.d.ts +0 -10
- package/build/features/kyc/KYC.js +0 -99
- package/build/features/kyc/index.d.ts +0 -1
- package/build/features/kyc/index.js +0 -1
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +0 -5
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.js +0 -19
- package/build/features/kyc/screens/AlreadySubmitted/index.d.ts +0 -2
- package/build/features/kyc/screens/AlreadySubmitted/index.js +0 -2
- package/build/features/kyc/screens/Loading/Loading.d.ts +0 -4
- package/build/features/kyc/screens/Loading/Loading.js +0 -10
- package/build/features/kyc/screens/Loading/index.d.ts +0 -2
- package/build/features/kyc/screens/Loading/index.js +0 -2
- package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +0 -5
- package/build/features/kyc/screens/OperatorError/OperatorError.js +0 -9
- package/build/features/kyc/screens/OperatorError/index.d.ts +0 -2
- package/build/features/kyc/screens/OperatorError/index.js +0 -2
- package/build/features/kyc/screens/Success/Success.d.ts +0 -5
- package/build/features/kyc/screens/Success/Success.js +0 -19
- package/build/features/kyc/screens/Success/index.d.ts +0 -2
- package/build/features/kyc/screens/Success/index.js +0 -2
- package/build/features/kyc/screens/Terms/Header.d.ts +0 -6
- package/build/features/kyc/screens/Terms/Header.js +0 -36
- package/build/features/kyc/screens/Terms/Terms.d.ts +0 -4
- package/build/features/kyc/screens/Terms/Terms.js +0 -72
- package/build/features/kyc/screens/Terms/index.d.ts +0 -2
- package/build/features/kyc/screens/Terms/index.js +0 -2
- package/build/features/kyc/screens/TokenError/TokenError.d.ts +0 -5
- package/build/features/kyc/screens/TokenError/TokenError.js +0 -9
- package/build/features/kyc/screens/TokenError/index.d.ts +0 -2
- package/build/features/kyc/screens/TokenError/index.js +0 -2
- package/build/features/kyc/screens/Users/Users.d.ts +0 -3
- package/build/features/kyc/screens/Users/Users.js +0 -76
- package/build/features/kyc/screens/Users/index.d.ts +0 -2
- package/build/features/kyc/screens/Users/index.js +0 -2
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +0 -5
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.js +0 -45
- package/build/features/kyc/screens/VerifyNafath/index.d.ts +0 -3
- package/build/features/kyc/screens/VerifyNafath/index.js +0 -2
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +0 -5
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.js +0 -44
- package/build/features/kyc/screens/VerifyPaci/index.d.ts +0 -3
- package/build/features/kyc/screens/VerifyPaci/index.js +0 -2
|
@@ -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]) {
|
|
@@ -685,7 +685,7 @@ export var createNIDNafathAuthIdentityAsync = createAsyncThunk('connectExpress/c
|
|
|
685
685
|
});
|
|
686
686
|
}); });
|
|
687
687
|
export var verifyNafathIdentityAsync = createAsyncThunk('connectExpress/verifyNafathIdentityAsync', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
688
|
-
var connectExpress, authData, expiry, interval, maxCalls, count, data, isSuccess, isFailed, needToCollectMoreInfo, creatingAccount, askDobInfo;
|
|
688
|
+
var connectExpress, authData, expiry, interval, maxCalls, count, data, isSuccess, isFailed, needToCollectMoreInfo, creatingAccount, askDobInfo, collectPhoneOwnershipScreen;
|
|
689
689
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
690
690
|
return __generator(this, function (_h) {
|
|
691
691
|
switch (_h.label) {
|
|
@@ -718,7 +718,11 @@ export var verifyNafathIdentityAsync = createAsyncThunk('connectExpress/verifyNa
|
|
|
718
718
|
needToCollectMoreInfo = data.step_name === 'collect_info';
|
|
719
719
|
creatingAccount = data.step_name === 'create_account';
|
|
720
720
|
askDobInfo = data.step_name === COLLECT_DOB_INFO_NAFATH;
|
|
721
|
+
collectPhoneOwnershipScreen = data.step_name === CONNECT_EXPRESS_STEP_NAMES.COLLECT_MOBILE_OWNERSHIP;
|
|
721
722
|
(_g = params.onSuccess) === null || _g === void 0 ? void 0 : _g.call(params);
|
|
723
|
+
if (collectPhoneOwnershipScreen) {
|
|
724
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('COLLECT_MOBILE_OWNERSHIP')); });
|
|
725
|
+
}
|
|
722
726
|
if (askDobInfo) {
|
|
723
727
|
sleep(100).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP')); });
|
|
724
728
|
}
|
|
@@ -783,7 +787,7 @@ export var verifyPaciLeadIdentityAsync = createAsyncThunk('connectExpress/verify
|
|
|
783
787
|
case 6:
|
|
784
788
|
count++;
|
|
785
789
|
return [3, 1];
|
|
786
|
-
case 7: throw new Error('
|
|
790
|
+
case 7: throw new Error('nafath_verification_failed');
|
|
787
791
|
}
|
|
788
792
|
});
|
|
789
793
|
}); });
|
|
@@ -840,14 +844,14 @@ export var checkBrandNameAvailabilityAsync = createAsyncThunk('connectExpress/ch
|
|
|
840
844
|
export var createAccountAsync = createAsyncThunk('connectExpress/createAccountAsync', function (_a, thunkApi) {
|
|
841
845
|
var isRetry = _a.isRetry;
|
|
842
846
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
843
|
-
var _b, connectExpress, settings, responseData, _c, postURL, scope, redirectUrl, mode, showBoard, platforms, payment_provider, leadId, authId, bi, leadData, accountData, data, body, data, urlQueryStart;
|
|
847
|
+
var _b, connectExpress, settings, responseData, _c, postURL, scope, redirectUrl, mode, showBoard, notification, platforms, payment_provider, leadId, authId, bi, leadData, accountData, data, body, data, urlQueryStart;
|
|
844
848
|
var _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
845
849
|
return __generator(this, function (_v) {
|
|
846
850
|
switch (_v.label) {
|
|
847
851
|
case 0:
|
|
848
852
|
_b = thunkApi.getState(), connectExpress = _b.connectExpress, settings = _b.settings;
|
|
849
853
|
responseData = connectExpress.data.responseData;
|
|
850
|
-
_c = settings.data.appConfig, postURL = _c.postURL, scope = _c.scope, redirectUrl = _c.redirectUrl, mode = _c.mode, showBoard = _c.showBoard;
|
|
854
|
+
_c = settings.data.appConfig, postURL = _c.postURL, scope = _c.scope, redirectUrl = _c.redirectUrl, mode = _c.mode, showBoard = _c.showBoard, notification = _c.notification;
|
|
851
855
|
platforms = (_e = (_d = responseData === null || responseData === void 0 ? void 0 : responseData.leadData) === null || _d === void 0 ? void 0 : _d.platforms) !== null && _e !== void 0 ? _e : settings.data.appConfig.platforms;
|
|
852
856
|
payment_provider = (_g = (_f = responseData === null || responseData === void 0 ? void 0 : responseData.leadData) === null || _f === void 0 ? void 0 : _f.payment_provider) !== null && _g !== void 0 ? _g : settings.data.appConfig.paymentProvider;
|
|
853
857
|
leadId = (_h = responseData === null || responseData === void 0 ? void 0 : responseData.leadData) === null || _h === void 0 ? void 0 : _h.id;
|
|
@@ -868,7 +872,8 @@ export var createAccountAsync = createAsyncThunk('connectExpress/createAccountAs
|
|
|
868
872
|
lead_id: leadId,
|
|
869
873
|
post_url: scope === SCOPE_AUTH ? '' : postURL || '',
|
|
870
874
|
platforms: platforms,
|
|
871
|
-
payment_provider: payment_provider
|
|
875
|
+
payment_provider: payment_provider,
|
|
876
|
+
notification: notification
|
|
872
877
|
};
|
|
873
878
|
if (!!(leadData === null || leadData === void 0 ? void 0 : leadData.board_id)) return [3, 4];
|
|
874
879
|
return [4, API.accountService.expressCreateAccount(body)];
|
|
@@ -1009,7 +1014,7 @@ export var updateLeadDOBAsync = createAsyncThunk('connectExpress/updateLeadDOBAs
|
|
|
1009
1014
|
export var updateLeadIndividualAsync = createAsyncThunk('connectExpress/updateLeadIndividualAsync', function (_a, thunkApi) {
|
|
1010
1015
|
var formData = _a.formData, originalFormData = _a.originalFormData;
|
|
1011
1016
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
1012
|
-
var _b, settings, connectExpress, id, countryCode, name, email, mobile, phoneCountry, isContactAvailable, payload, data, needToCollectMoreInfo, creatingAccount, isSaudi;
|
|
1017
|
+
var _b, settings, connectExpress, id, countryCode, name, email, mobile, phoneCountry, isContactAvailable, payload, data, needToCollectMoreInfo, creatingAccount, collectPhoneOwnershipScreen, isSaudi;
|
|
1013
1018
|
var _c, _d, _e, _f, _g;
|
|
1014
1019
|
return __generator(this, function (_h) {
|
|
1015
1020
|
switch (_h.label) {
|
|
@@ -1028,6 +1033,10 @@ export var updateLeadIndividualAsync = createAsyncThunk('connectExpress/updateLe
|
|
|
1028
1033
|
(_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, formData);
|
|
1029
1034
|
needToCollectMoreInfo = data.step_name === 'collect_info';
|
|
1030
1035
|
creatingAccount = data.step_name === 'create_account';
|
|
1036
|
+
collectPhoneOwnershipScreen = data.step_name === CONNECT_EXPRESS_STEP_NAMES.COLLECT_MOBILE_OWNERSHIP;
|
|
1037
|
+
if (collectPhoneOwnershipScreen) {
|
|
1038
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('COLLECT_MOBILE_OWNERSHIP')); });
|
|
1039
|
+
}
|
|
1031
1040
|
if (creatingAccount) {
|
|
1032
1041
|
sleep(100).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP')); });
|
|
1033
1042
|
}
|
|
@@ -1087,6 +1096,104 @@ export var updateLeadBusinessDataAsync = createAsyncThunk('updateLeadBusinessDat
|
|
|
1087
1096
|
});
|
|
1088
1097
|
});
|
|
1089
1098
|
});
|
|
1099
|
+
export var updateLeadMobile = createAsyncThunk('connect/updateLeadMobile', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1100
|
+
var _a, settings, connectExpress, id, startWithNID, payload, leadResponse, needToCollectMoreInfo, creatingAccount, askDobInfo, collectPhoneOwnershipScreen;
|
|
1101
|
+
var _b, _c, _d;
|
|
1102
|
+
return __generator(this, function (_e) {
|
|
1103
|
+
switch (_e.label) {
|
|
1104
|
+
case 0:
|
|
1105
|
+
_a = thunkApi.getState(), settings = _a.settings, connectExpress = _a.connectExpress;
|
|
1106
|
+
id = (((_b = connectExpress.data.responseData) === null || _b === void 0 ? void 0 : _b.leadData) || {}).id;
|
|
1107
|
+
startWithNID = connectExpress.data.otpData.authFor === AuthForType.NATIONAL_ID;
|
|
1108
|
+
payload = {
|
|
1109
|
+
id: id || '',
|
|
1110
|
+
contact: {
|
|
1111
|
+
phone: {
|
|
1112
|
+
country_code: params.countryCode.idd_prefix.toString(),
|
|
1113
|
+
number: params.mobile
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
step_name: CONNECT_EXPRESS_STEP_NAMES.COLLECT_MOBILE_OWNERSHIP,
|
|
1117
|
+
encryption_contract: ['contact.phone.country_code', 'contact.phone.number']
|
|
1118
|
+
};
|
|
1119
|
+
return [4, API.leadService.updateLeadExpress(payload)];
|
|
1120
|
+
case 1:
|
|
1121
|
+
leadResponse = _e.sent();
|
|
1122
|
+
(_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, params);
|
|
1123
|
+
needToCollectMoreInfo = leadResponse.step_name === 'collect_info';
|
|
1124
|
+
creatingAccount = leadResponse.step_name === 'create_account';
|
|
1125
|
+
askDobInfo = leadResponse.step_name === COLLECT_DOB_INFO_NAFATH;
|
|
1126
|
+
collectPhoneOwnershipScreen = leadResponse.step_name === CONNECT_EXPRESS_STEP_NAMES.COLLECT_MOBILE_OWNERSHIP;
|
|
1127
|
+
if (collectPhoneOwnershipScreen) {
|
|
1128
|
+
throw new Error("The new mobile number doesn't match the national ID, please update the mobile to the correct one");
|
|
1129
|
+
}
|
|
1130
|
+
if (askDobInfo) {
|
|
1131
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP')); });
|
|
1132
|
+
}
|
|
1133
|
+
if (creatingAccount) {
|
|
1134
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP')); });
|
|
1135
|
+
}
|
|
1136
|
+
if (!needToCollectMoreInfo) return [3, 5];
|
|
1137
|
+
if (!startWithNID) return [3, 4];
|
|
1138
|
+
if (!isSA(settings.data.businessCountry.iso2)) return [3, 3];
|
|
1139
|
+
return [4, thunkApi.dispatch(retrieveEntityListAsync(leadResponse.lead.id)).unwrap()];
|
|
1140
|
+
case 2:
|
|
1141
|
+
_e.sent();
|
|
1142
|
+
_e.label = 3;
|
|
1143
|
+
case 3:
|
|
1144
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP')); });
|
|
1145
|
+
return [3, 5];
|
|
1146
|
+
case 4:
|
|
1147
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP')); });
|
|
1148
|
+
_e.label = 5;
|
|
1149
|
+
case 5: return [2, { leadResponse: leadResponse, formData: params }];
|
|
1150
|
+
}
|
|
1151
|
+
});
|
|
1152
|
+
}); });
|
|
1153
|
+
export var skipUpdateLeadMobile = createAsyncThunk('connect/skipUpdateLeadMobile', function (_, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1154
|
+
var _a, settings, connectExpress, id, startWithNID, payload, leadResponse, needToCollectMoreInfo, creatingAccount, askDobInfo;
|
|
1155
|
+
var _b, _c, _d;
|
|
1156
|
+
return __generator(this, function (_e) {
|
|
1157
|
+
switch (_e.label) {
|
|
1158
|
+
case 0:
|
|
1159
|
+
_a = thunkApi.getState(), settings = _a.settings, connectExpress = _a.connectExpress;
|
|
1160
|
+
id = (((_b = connectExpress.data.responseData) === null || _b === void 0 ? void 0 : _b.leadData) || {}).id;
|
|
1161
|
+
startWithNID = connectExpress.data.otpData.authFor === AuthForType.NATIONAL_ID;
|
|
1162
|
+
payload = {
|
|
1163
|
+
id: id || '',
|
|
1164
|
+
step_name: CONNECT_EXPRESS_STEP_NAMES.COLLECT_MOBILE_OWNERSHIP_SKIPPED,
|
|
1165
|
+
encryption_contract: []
|
|
1166
|
+
};
|
|
1167
|
+
return [4, API.leadService.updateLeadExpress(payload)];
|
|
1168
|
+
case 1:
|
|
1169
|
+
leadResponse = _e.sent();
|
|
1170
|
+
(_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, {});
|
|
1171
|
+
needToCollectMoreInfo = leadResponse.step_name === 'collect_info';
|
|
1172
|
+
creatingAccount = leadResponse.step_name === 'create_account';
|
|
1173
|
+
askDobInfo = leadResponse.step_name === COLLECT_DOB_INFO_NAFATH;
|
|
1174
|
+
if (askDobInfo) {
|
|
1175
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP')); });
|
|
1176
|
+
}
|
|
1177
|
+
if (creatingAccount) {
|
|
1178
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP')); });
|
|
1179
|
+
}
|
|
1180
|
+
if (!needToCollectMoreInfo) return [3, 5];
|
|
1181
|
+
if (!startWithNID) return [3, 4];
|
|
1182
|
+
if (!isSA(settings.data.businessCountry.iso2)) return [3, 3];
|
|
1183
|
+
return [4, thunkApi.dispatch(retrieveEntityListAsync(leadResponse.lead.id)).unwrap()];
|
|
1184
|
+
case 2:
|
|
1185
|
+
_e.sent();
|
|
1186
|
+
_e.label = 3;
|
|
1187
|
+
case 3:
|
|
1188
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP')); });
|
|
1189
|
+
return [3, 5];
|
|
1190
|
+
case 4:
|
|
1191
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP')); });
|
|
1192
|
+
_e.label = 5;
|
|
1193
|
+
case 5: return [2, { leadResponse: leadResponse }];
|
|
1194
|
+
}
|
|
1195
|
+
});
|
|
1196
|
+
}); });
|
|
1090
1197
|
export var confirmInfo = createAsyncThunk('connectExpress/confirmInfo', function (_a, thunkApi) {
|
|
1091
1198
|
var brandInfo = _a.brandInfo, entityInfo = _a.entityInfo, merchantInfo = _a.merchantInfo;
|
|
1092
1199
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -1638,6 +1745,33 @@ export var connectSlice = createSlice({
|
|
|
1638
1745
|
.addCase(updateLeadBusinessDataAsync.rejected, function (state, action) {
|
|
1639
1746
|
state.loading = false;
|
|
1640
1747
|
state.error = action.error.message;
|
|
1748
|
+
})
|
|
1749
|
+
.addCase(updateLeadMobile.fulfilled, function (state, action) {
|
|
1750
|
+
state.loading = false;
|
|
1751
|
+
state.error = null;
|
|
1752
|
+
state.data.individualData.mobile = action.payload.formData.mobile;
|
|
1753
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { individualData: action.payload.leadResponse });
|
|
1754
|
+
})
|
|
1755
|
+
.addCase(updateLeadMobile.pending, function (state) {
|
|
1756
|
+
state.loading = true;
|
|
1757
|
+
state.error = null;
|
|
1758
|
+
})
|
|
1759
|
+
.addCase(updateLeadMobile.rejected, function (state, action) {
|
|
1760
|
+
state.loading = false;
|
|
1761
|
+
state.error = action.error.message;
|
|
1762
|
+
})
|
|
1763
|
+
.addCase(skipUpdateLeadMobile.fulfilled, function (state, action) {
|
|
1764
|
+
state.loading = false;
|
|
1765
|
+
state.error = null;
|
|
1766
|
+
state.data.responseData = __assign(__assign({}, state.data.responseData), { individualData: action.payload.leadResponse });
|
|
1767
|
+
})
|
|
1768
|
+
.addCase(skipUpdateLeadMobile.pending, function (state) {
|
|
1769
|
+
state.loading = true;
|
|
1770
|
+
state.error = null;
|
|
1771
|
+
})
|
|
1772
|
+
.addCase(skipUpdateLeadMobile.rejected, function (state, action) {
|
|
1773
|
+
state.loading = false;
|
|
1774
|
+
state.error = action.error.message;
|
|
1641
1775
|
})
|
|
1642
1776
|
.addCase(createAccountAsync.pending, function (state) {
|
|
1643
1777
|
state.loading = true;
|
|
@@ -9,70 +9,25 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
9
9
|
entityData: any;
|
|
10
10
|
entityTypes: any;
|
|
11
11
|
token: string;
|
|
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
|
-
}>;
|
|
12
|
+
}, VerifyLeadTokenProps, {}>;
|
|
22
13
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
23
14
|
data: any;
|
|
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
|
-
}>;
|
|
15
|
+
}, void, {}>;
|
|
34
16
|
export declare const verifyEntityLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
35
17
|
data: any;
|
|
36
18
|
entityData: any;
|
|
37
19
|
entityTypes: any;
|
|
38
20
|
formData: OTPFormValues;
|
|
39
|
-
}, OTPFormValues, {
|
|
40
|
-
state?: unknown;
|
|
41
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
42
|
-
extra?: unknown;
|
|
43
|
-
rejectValue?: unknown;
|
|
44
|
-
serializedErrorType?: unknown;
|
|
45
|
-
pendingMeta?: unknown;
|
|
46
|
-
fulfilledMeta?: unknown;
|
|
47
|
-
rejectedMeta?: unknown;
|
|
48
|
-
}>;
|
|
21
|
+
}, OTPFormValues, {}>;
|
|
49
22
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
50
23
|
flows: any;
|
|
51
|
-
}, void, {
|
|
52
|
-
|
|
53
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
54
|
-
extra?: unknown;
|
|
55
|
-
rejectValue?: unknown;
|
|
56
|
-
serializedErrorType?: unknown;
|
|
57
|
-
pendingMeta?: unknown;
|
|
58
|
-
fulfilledMeta?: unknown;
|
|
59
|
-
rejectedMeta?: unknown;
|
|
60
|
-
}>;
|
|
61
|
-
type RetrieveBoardProps = {
|
|
24
|
+
}, void, {}>;
|
|
25
|
+
declare type RetrieveBoardProps = {
|
|
62
26
|
boardId: string;
|
|
63
27
|
individualId: string;
|
|
64
28
|
individualType: string;
|
|
65
29
|
};
|
|
66
|
-
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
|
|
67
|
-
state?: unknown;
|
|
68
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
69
|
-
extra?: unknown;
|
|
70
|
-
rejectValue?: unknown;
|
|
71
|
-
serializedErrorType?: unknown;
|
|
72
|
-
pendingMeta?: unknown;
|
|
73
|
-
fulfilledMeta?: unknown;
|
|
74
|
-
rejectedMeta?: unknown;
|
|
75
|
-
}>;
|
|
30
|
+
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {}>;
|
|
76
31
|
export declare const updateEntityName: import("@reduxjs/toolkit").AsyncThunk<{
|
|
77
32
|
data: {
|
|
78
33
|
entity: any;
|
|
@@ -80,56 +35,20 @@ export declare const updateEntityName: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
80
35
|
activityList: any;
|
|
81
36
|
};
|
|
82
37
|
formData: EntityNameFormValues;
|
|
83
|
-
}, AsyncThunkParams<EntityNameFormValues>, {
|
|
84
|
-
state?: unknown;
|
|
85
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
86
|
-
extra?: unknown;
|
|
87
|
-
rejectValue?: unknown;
|
|
88
|
-
serializedErrorType?: unknown;
|
|
89
|
-
pendingMeta?: unknown;
|
|
90
|
-
fulfilledMeta?: unknown;
|
|
91
|
-
rejectedMeta?: unknown;
|
|
92
|
-
}>;
|
|
38
|
+
}, AsyncThunkParams<EntityNameFormValues>, {}>;
|
|
93
39
|
export declare const updateEntityCapital: import("@reduxjs/toolkit").AsyncThunk<{
|
|
94
40
|
data: any;
|
|
95
41
|
formData: EntityCapitalFormValues;
|
|
96
|
-
}, AsyncThunkParams<EntityCapitalFormValues>, {
|
|
97
|
-
state?: unknown;
|
|
98
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
99
|
-
extra?: unknown;
|
|
100
|
-
rejectValue?: unknown;
|
|
101
|
-
serializedErrorType?: unknown;
|
|
102
|
-
pendingMeta?: unknown;
|
|
103
|
-
fulfilledMeta?: unknown;
|
|
104
|
-
rejectedMeta?: unknown;
|
|
105
|
-
}>;
|
|
42
|
+
}, AsyncThunkParams<EntityCapitalFormValues>, {}>;
|
|
106
43
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
107
44
|
data: any;
|
|
108
45
|
flows?: undefined;
|
|
109
46
|
} | {
|
|
110
47
|
data: any;
|
|
111
48
|
flows: any;
|
|
112
|
-
} | undefined, void, {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
extra?: unknown;
|
|
116
|
-
rejectValue?: unknown;
|
|
117
|
-
serializedErrorType?: unknown;
|
|
118
|
-
pendingMeta?: unknown;
|
|
119
|
-
fulfilledMeta?: unknown;
|
|
120
|
-
rejectedMeta?: unknown;
|
|
121
|
-
}>;
|
|
122
|
-
export declare const onCloseCompleteEntity: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
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
|
-
}>;
|
|
132
|
-
type VerifyData = {
|
|
49
|
+
} | undefined, void, {}>;
|
|
50
|
+
export declare const onCloseCompleteEntity: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
|
|
51
|
+
declare type VerifyData = {
|
|
133
52
|
token: string;
|
|
134
53
|
};
|
|
135
54
|
export interface EntityData {
|
|
@@ -152,7 +71,7 @@ export declare const entitySlice: import("@reduxjs/toolkit").Slice<EntityState,
|
|
|
152
71
|
uploadingArticleStatus: (state: EntityState, action: ActionState<boolean>) => void;
|
|
153
72
|
clearAOAFile: (state: EntityState) => void;
|
|
154
73
|
}, "entity/store">;
|
|
155
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
74
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, uploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, uploadingArticleStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, clearAOAFile: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
156
75
|
declare const _default: import("redux").Reducer<EntityState, import("redux").AnyAction>;
|
|
157
76
|
export default _default;
|
|
158
77
|
export declare const entitySelector: (state: RootState) => EntityState;
|
|
@@ -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]) {
|