@tap-payments/auth-jsconnect 2.6.5-test → 2.6.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 +1 -1
- package/build/@types/app.d.ts +86 -31
- package/build/@types/app.js +19 -1
- package/build/@types/config.d.ts +45 -0
- package/build/@types/config.js +1 -0
- package/build/@types/form.d.ts +35 -24
- package/build/@types/index.d.ts +1 -0
- package/build/@types/index.js +1 -0
- package/build/@types/redux.d.ts +1 -0
- package/build/@types/theme.d.ts +5 -1
- package/build/@types/theme.js +5 -0
- package/build/api/account.d.ts +7 -2
- package/build/api/account.js +16 -2
- package/build/api/auth.d.ts +55 -13
- package/build/api/auth.js +18 -1
- package/build/api/availabilityServices.d.ts +4 -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 +2 -1
- package/build/api/country.js +8 -1
- package/build/api/data.d.ts +11 -24
- package/build/api/data.js +5 -45
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +36 -11
- package/build/api/entity.js +23 -10
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +68 -8
- package/build/api/index.d.ts +24 -29
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +38 -14
- package/build/api/lead.js +63 -1
- package/build/api/operator.d.ts +9 -4
- package/build/api/operator.js +5 -17
- package/build/api/user.d.ts +9 -2
- package/build/api/user.js +9 -1
- package/build/app/rootReducer.d.ts +2 -0
- package/build/app/rootReducer.js +5 -1
- package/build/app/settings.d.ts +32 -7
- package/build/app/settings.js +114 -67
- package/build/app/store.d.ts +8 -4
- package/build/assets/locales/ar.json +346 -143
- package/build/assets/locales/en.json +343 -143
- package/build/components/AnimationFlow/AnimationFlow.d.ts +14 -3
- package/build/components/AnimationFlow/AnimationFlow.js +16 -5
- package/build/components/AnimationFlow/BottomSheet.d.ts +7 -2
- package/build/components/AnimationFlow/BottomSheet.js +37 -12
- package/build/components/AnimationFlow/Dialog.d.ts +11 -2
- package/build/components/AnimationFlow/Dialog.js +7 -11
- package/build/components/AnimationFlow/Error.d.ts +1 -2
- package/build/components/AnimationFlow/Loader.d.ts +6 -2
- package/build/components/AnimationFlow/Loader.js +17 -5
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/ArabicDatePicker/ArabicDatePicker.js +2 -2
- package/build/components/ArabicDatePicker/style.css +32 -3
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +1 -2
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/DatePicker/DatePicker.js +2 -2
- package/build/components/ExpandIcon/ExpandIcon.d.ts +3 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Footer/Footer.js +2 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
- package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.js +3 -3
- 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 +9 -7
- package/build/constants/api.js +19 -15
- package/build/constants/app.d.ts +57 -1
- package/build/constants/app.js +446 -21
- package/build/constants/assets.d.ts +4 -0
- package/build/constants/assets.js +5 -1
- package/build/constants/dummy.d.ts +43 -196
- package/build/constants/dummy.js +614 -6141
- package/build/constants/flows.d.ts +24 -0
- package/build/constants/flows.js +25 -0
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -0
- package/build/constants/validation.d.ts +5 -0
- package/build/constants/validation.js +6 -1
- package/build/features/app/auth/authStore.d.ts +283 -0
- package/build/features/app/auth/authStore.js +1184 -0
- package/build/features/app/bank/bankStore.d.ts +104 -28
- package/build/features/app/bank/bankStore.js +195 -162
- package/build/features/app/board/boardStore.d.ts +69 -0
- package/build/features/app/board/boardStore.js +269 -0
- package/build/features/app/brand/brandStore.d.ts +158 -46
- package/build/features/app/brand/brandStore.js +273 -267
- package/build/features/app/business/businessStore.d.ts +196 -25
- package/build/features/app/business/businessStore.js +362 -216
- package/build/features/app/connect/connectStore.d.ts +194 -26
- package/build/features/app/connect/connectStore.js +322 -217
- package/build/features/app/connectExpress/connectExpressStore.d.ts +322 -45
- package/build/features/app/connectExpress/connectExpressStore.js +773 -391
- package/build/features/app/entity/entityStore.d.ts +111 -44
- package/build/features/app/entity/entityStore.js +225 -250
- package/build/features/app/individual/individualStore.d.ts +206 -54
- package/build/features/app/individual/individualStore.js +335 -291
- package/build/features/app/password/passwordStore.d.ts +150 -27
- package/build/features/app/password/passwordStore.js +264 -224
- package/build/features/app/signIn/signInStore.d.ts +61 -7
- package/build/features/app/signIn/signInStore.js +20 -16
- package/build/features/app/tax/taxStore.d.ts +94 -16
- package/build/features/app/tax/taxStore.js +179 -145
- package/build/features/auth/Auth.d.ts +13 -0
- package/build/features/auth/Auth.js +168 -0
- package/build/features/auth/index.d.ts +1 -0
- package/build/features/auth/index.js +1 -0
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
- package/build/features/auth/screens/AccountCreatedLoader/index.d.ts +2 -0
- package/build/features/auth/screens/AccountCreatedLoader/index.js +2 -0
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +5 -0
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.js +71 -0
- package/build/features/auth/screens/AccountNotFound/index.d.ts +2 -0
- package/build/features/auth/screens/AccountNotFound/index.js +2 -0
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.js +73 -0
- package/build/features/{connectExpress/screens/AuthenticationList → auth/screens/AuthMerchant}/MerchantList.d.ts +2 -1
- package/build/features/auth/screens/AuthMerchant/MerchantList.js +64 -0
- package/build/features/auth/screens/AuthMerchant/index.d.ts +2 -0
- package/build/features/auth/screens/AuthMerchant/index.js +2 -0
- package/build/features/auth/screens/AuthMerchant/validation.d.ts +8 -0
- package/build/features/auth/screens/AuthMerchant/validation.js +4 -0
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +5 -0
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +58 -0
- package/build/features/auth/screens/AuthSwitch/index.d.ts +3 -0
- package/build/features/auth/screens/AuthSwitch/index.js +2 -0
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +5 -0
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +96 -0
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +10 -0
- package/build/features/auth/screens/AuthenticationList/BrandList.js +81 -0
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +2 -0
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.js +48 -0
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +9 -0
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.js +90 -0
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +11 -0
- package/build/features/auth/screens/AuthenticationList/EntityList.js +138 -0
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.js +36 -0
- package/build/features/auth/screens/AuthenticationList/index.d.ts +3 -0
- package/build/features/auth/screens/AuthenticationList/index.js +2 -0
- package/build/features/auth/screens/AuthenticationList/validation.d.ts +20 -0
- package/build/features/auth/screens/AuthenticationList/validation.js +68 -0
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +111 -0
- package/build/features/auth/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/auth/screens/BusinessCountry/index.js +2 -0
- package/build/features/auth/screens/CivilID/CivilID.d.ts +5 -0
- package/build/features/auth/screens/CivilID/CivilID.js +57 -0
- package/build/features/auth/screens/CivilID/IDNumber.d.ts +8 -0
- package/build/features/auth/screens/CivilID/IDNumber.js +54 -0
- package/build/features/auth/screens/CivilID/index.d.ts +3 -0
- package/build/features/auth/screens/CivilID/index.js +2 -0
- package/build/features/auth/screens/CivilID/validation.d.ts +8 -0
- package/build/features/auth/screens/CivilID/validation.js +4 -0
- package/build/features/auth/screens/DOB/DOB.d.ts +5 -0
- package/build/features/auth/screens/DOB/DOB.js +47 -0
- package/build/features/auth/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/auth/screens/DOB/DOBForm.js +59 -0
- package/build/features/auth/screens/DOB/index.d.ts +3 -0
- package/build/features/auth/screens/DOB/index.js +2 -0
- package/build/features/auth/screens/DOB/validation.d.ts +8 -0
- package/build/features/auth/screens/DOB/validation.js +4 -0
- package/build/features/auth/screens/Email/Email.d.ts +5 -0
- package/build/features/auth/screens/Email/Email.js +57 -0
- package/build/features/auth/screens/Email/EmailField.d.ts +8 -0
- package/build/features/auth/screens/Email/EmailField.js +52 -0
- package/build/features/auth/screens/Email/index.d.ts +3 -0
- package/build/features/auth/screens/Email/index.js +2 -0
- package/build/features/auth/screens/Email/validation.d.ts +8 -0
- package/build/features/auth/screens/Email/validation.js +4 -0
- package/build/features/auth/screens/EmailSent/EmailSent.d.ts +5 -0
- package/build/features/auth/screens/EmailSent/EmailSent.js +79 -0
- package/build/features/auth/screens/EmailSent/index.d.ts +2 -0
- package/build/features/auth/screens/EmailSent/index.js +2 -0
- package/build/features/auth/screens/MigratingData/MigratingData.d.ts +5 -0
- package/build/features/auth/screens/MigratingData/MigratingData.js +44 -0
- package/build/features/auth/screens/MigratingData/index.d.ts +2 -0
- package/build/features/auth/screens/MigratingData/index.js +2 -0
- package/build/features/auth/screens/Mobile/Mobile.d.ts +5 -0
- package/build/features/auth/screens/Mobile/Mobile.js +82 -0
- package/build/features/auth/screens/Mobile/MobileNumber.d.ts +13 -0
- package/build/features/auth/screens/Mobile/MobileNumber.js +156 -0
- package/build/features/auth/screens/Mobile/index.d.ts +3 -0
- package/build/features/auth/screens/Mobile/index.js +2 -0
- package/build/features/auth/screens/Mobile/validation.d.ts +8 -0
- package/build/features/auth/screens/Mobile/validation.js +38 -0
- package/build/features/auth/screens/NID/IDNumber.d.ts +7 -0
- package/build/features/auth/screens/NID/IDNumber.js +55 -0
- package/build/features/auth/screens/NID/NID.d.ts +5 -0
- package/build/features/auth/screens/NID/NID.js +56 -0
- package/build/features/auth/screens/NID/index.d.ts +3 -0
- package/build/features/auth/screens/NID/index.js +2 -0
- package/build/features/auth/screens/NID/validation.d.ts +8 -0
- package/build/features/auth/screens/NID/validation.js +10 -0
- package/build/features/auth/screens/OTP/OTP.d.ts +5 -0
- package/build/features/auth/screens/OTP/OTP.js +118 -0
- package/build/features/{business → auth}/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/{connectExpress/screens/IdentityOTP → auth/screens/OTP}/OTPInput.js +27 -7
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/auth/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/auth/screens/OperatorError/index.d.ts +3 -0
- package/build/features/auth/screens/OperatorError/index.js +2 -0
- package/build/features/auth/screens/Password/Password.d.ts +5 -0
- package/build/features/auth/screens/Password/Password.js +61 -0
- package/build/features/auth/screens/Password/PasswordField.d.ts +5 -0
- package/build/features/auth/screens/Password/PasswordField.js +28 -0
- package/build/features/auth/screens/Password/index.d.ts +3 -0
- package/build/features/auth/screens/Password/index.js +2 -0
- package/build/features/auth/screens/Password/validation.d.ts +8 -0
- package/build/features/auth/screens/Password/validation.js +4 -0
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +5 -0
- package/build/features/auth/screens/PreparingData/PreparingData.js +44 -0
- package/build/features/auth/screens/PreparingData/index.d.ts +2 -0
- package/build/features/auth/screens/PreparingData/index.js +2 -0
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +5 -0
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.js +21 -0
- package/build/features/auth/screens/ResetPasswordMessage/index.d.ts +3 -0
- package/build/features/auth/screens/ResetPasswordMessage/index.js +2 -0
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.js +35 -0
- package/build/features/auth/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/auth/screens/VerifyNafath/index.js +2 -0
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.js +34 -0
- package/build/features/auth/screens/VerifyPACI/index.d.ts +3 -0
- package/build/features/auth/screens/VerifyPACI/index.js +2 -0
- package/build/features/bank/Bank.d.ts +2 -2
- package/build/features/bank/Bank.js +15 -9
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.js +21 -7
- package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/bank/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/bank/screens/OperatorError/index.d.ts +3 -0
- package/build/features/bank/screens/OperatorError/index.js +2 -0
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -3
- 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/bank/screens/Verify/Verify.js +8 -7
- package/build/features/board/Board.d.ts +12 -0
- package/build/features/board/Board.js +87 -0
- package/build/features/board/index.d.ts +1 -0
- package/build/features/board/index.js +1 -0
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/board/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/board/screens/OperatorError/index.d.ts +3 -0
- package/build/features/board/screens/OperatorError/index.js +2 -0
- package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/board/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/board/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -0
- package/build/features/board/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/board/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +44 -0
- package/build/features/board/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/board/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/{business/screens/OTP → board/screens/Verify}/OTPInput.js +9 -7
- package/build/features/{connectExpress/screens/IdentityOTP/OTPInput.d.ts → board/screens/Verify/Verify.d.ts} +1 -1
- package/build/features/{connectExpress/screens/IdentityOTP/OTP.js → board/screens/Verify/Verify.js} +25 -37
- package/build/features/board/screens/Verify/index.d.ts +2 -0
- package/build/features/board/screens/Verify/index.js +2 -0
- package/build/features/brand/Brand.d.ts +2 -2
- package/build/features/brand/Brand.js +15 -9
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -58
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +49 -12
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +1 -1
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +5 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +10 -31
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +1 -1
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -8
- package/build/features/brand/screens/BrandActivities/TAC.js +1 -1
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +1 -1
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +27 -7
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +6 -3
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/validation.js +2 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +23 -7
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/brand/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/brand/screens/OperatorError/index.d.ts +3 -0
- package/build/features/brand/screens/OperatorError/index.js +2 -0
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -3
- 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/brand/screens/Verify/Verify.js +4 -3
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/Business.js +20 -12
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.js +27 -10
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
- package/build/features/business/screens/Activities/ActivitiesList.js +1 -1
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +7 -13
- package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/BusinessType.js +24 -8
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/EntityName.js +3 -3
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseList.js +3 -3
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -9
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +6 -28
- 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/validation.d.ts +10 -0
- package/build/features/business/screens/BusinessType/validation.js +16 -0
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/CivilID/CivilID.js +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +21 -70
- package/build/features/business/screens/Customers/CustomerLocations.js +5 -3
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/Customers.js +51 -11
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +3 -2
- package/build/features/business/screens/Customers/ExpectedCustomers.js +5 -3
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +3 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +10 -4
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +16 -30
- package/build/features/business/screens/Customers/RefundPolicy.js +13 -13
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +4 -2
- package/build/features/business/screens/Customers/TransactionPolicy.js +8 -5
- package/build/features/business/screens/Customers/validation.d.ts +6 -6
- package/build/features/business/screens/Customers/validation.js +3 -8
- package/build/features/business/screens/DOB/DOB.d.ts +6 -0
- package/build/features/business/screens/DOB/DOB.js +45 -0
- package/build/features/business/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/business/screens/DOB/DOBForm.js +72 -0
- package/build/features/business/screens/DOB/index.d.ts +3 -0
- package/build/features/business/screens/DOB/index.js +2 -0
- package/build/features/business/screens/DOB/validation.d.ts +8 -0
- package/build/features/business/screens/DOB/validation.js +4 -0
- 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/ID.js +6 -2
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.js +18 -19
- package/build/features/business/screens/IDBOD/validation.d.ts +7 -0
- package/build/features/business/screens/IDBOD/validation.js +4 -1
- package/build/features/business/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/business/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/business/screens/OperatorError/index.d.ts +3 -0
- package/build/features/business/screens/OperatorError/index.js +2 -0
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -3
- 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/Verify/Verify.js +16 -5
- package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/business/screens/VerifyNafath/VerifyNafath.js +35 -0
- package/build/features/business/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/business/screens/VerifyNafath/index.js +2 -0
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +5 -2
- package/build/features/connect/Connect.js +49 -32
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.js +4 -26
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/BrandSegment/TeamSize.js +1 -1
- package/build/features/connect/screens/BrandSegment/validation.d.ts +0 -9
- package/build/features/connect/screens/BrandSegment/validation.js +0 -3
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +113 -0
- package/build/features/connect/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/connect/screens/BusinessCountry/index.js +2 -0
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/CivilID/CivilID.js +12 -4
- package/build/features/connect/screens/DOB/DOB.d.ts +5 -0
- package/build/features/connect/screens/{NID → DOB}/DOB.js +2 -2
- package/build/features/connect/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/connect/screens/DOB/DOBForm.js +59 -0
- package/build/features/connect/screens/DOB/index.d.ts +3 -0
- package/build/features/connect/screens/DOB/index.js +2 -0
- package/build/features/connect/screens/DOB/validation.d.ts +8 -0
- package/build/features/connect/screens/DOB/validation.js +4 -0
- 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/Individual.js +12 -6
- package/build/features/connect/screens/Individual/MobileNumber.js +8 -7
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Individual/validation.js +11 -3
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.js +3 -3
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +6 -3
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/Merchant.js +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
- package/build/features/connect/screens/Merchant/SalesChannels.js +1 -1
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Merchant/validation.js +2 -2
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.js +14 -7
- package/build/features/connect/screens/Mobile/MobileNumber.js +15 -11
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/Mobile/validation.js +11 -3
- package/build/features/connect/screens/NID/IDNumber.d.ts +1 -0
- package/build/features/connect/screens/NID/IDNumber.js +2 -2
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/NID/NID.js +10 -13
- package/build/features/connect/screens/NID/validation.d.ts +0 -3
- package/build/features/connect/screens/NID/validation.js +0 -1
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.js +7 -7
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.js +3 -11
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/connect/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/connect/screens/OperatorError/index.d.ts +3 -0
- package/build/features/connect/screens/OperatorError/index.js +2 -0
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.js +35 -0
- package/build/features/connect/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/connect/screens/VerifyNafath/index.js +2 -0
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +5 -3
- package/build/features/connectExpress/ConnectExpress.js +70 -37
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +14 -2
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/index.d.ts +2 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/index.js +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.js +74 -0
- package/build/features/connectExpress/screens/{AuthenticationList/TerminalList.d.ts → AuthMerchant/MerchantList.d.ts} +4 -3
- package/build/features/connectExpress/screens/AuthMerchant/MerchantList.js +64 -0
- package/build/features/connectExpress/screens/AuthMerchant/index.d.ts +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/index.js +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/AuthMerchant/validation.js +4 -0
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +28 -17
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +2 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.js +48 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +9 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +90 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +3 -3
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +52 -10
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.js +36 -0
- package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +13 -10
- package/build/features/connectExpress/screens/AuthenticationList/validation.js +66 -7
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +111 -0
- package/build/features/connectExpress/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/connectExpress/screens/BusinessCountry/index.js +2 -0
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.js +16 -5
- package/build/features/connectExpress/screens/CivilID/IDNumber.js +7 -2
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +2 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +6 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +20 -5
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +6 -5
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +9 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +6 -28
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +13 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +68 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +34 -7
- 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/MobileNumber.js +9 -8
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +11 -3
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +14 -24
- package/build/features/connectExpress/screens/DOB/DOB.d.ts +5 -0
- package/build/features/connectExpress/screens/{NID → DOB}/DOB.js +3 -3
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/connectExpress/screens/DOB/DOBForm.js +63 -0
- package/build/features/connectExpress/screens/DOB/index.d.ts +3 -0
- package/build/features/connectExpress/screens/DOB/index.js +2 -0
- package/build/features/connectExpress/screens/DOB/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/DOB/validation.js +4 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +5 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.js +35 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/index.d.ts +3 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/index.js +2 -0
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +2 -2
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.js +17 -7
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +18 -14
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.js +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/validation.js +21 -6
- package/build/features/connectExpress/screens/NID/IDNumber.d.ts +1 -0
- package/build/features/connectExpress/screens/NID/IDNumber.js +2 -2
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/NID.js +15 -12
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/NID/TAC.js +2 -2
- package/build/features/connectExpress/screens/NID/validation.d.ts +0 -3
- package/build/features/connectExpress/screens/NID/validation.js +0 -2
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +6 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.js +10 -8
- package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +7 -0
- package/build/features/connectExpress/screens/NIDMissed/validation.js +4 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.js +14 -16
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.js +12 -10
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/connectExpress/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/connectExpress/screens/OperatorError/index.d.ts +3 -0
- package/build/features/connectExpress/screens/OperatorError/index.js +2 -0
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +5 -0
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.js +34 -0
- package/build/features/connectExpress/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/connectExpress/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -4
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.js +35 -0
- package/build/features/connectExpress/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/connectExpress/screens/VerifyNafath/index.js +2 -0
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +2 -2
- package/build/features/entity/Entity.js +15 -9
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +5 -3
- 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/CapitalShareValue.js +6 -4
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +34 -10
- package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityName.js +44 -19
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +15 -58
- package/build/features/entity/screens/EntityName/EntityTypeList.js +2 -3
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/ExpiryDate.js +13 -8
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.js +15 -8
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LegalName.js +1 -13
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseNumber.js +10 -11
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +4 -6
- package/build/features/entity/screens/EntityName/validation.d.ts +31 -3
- package/build/features/entity/screens/EntityName/validation.js +38 -9
- package/build/features/entity/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/entity/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/entity/screens/OperatorError/index.d.ts +3 -0
- package/build/features/entity/screens/OperatorError/index.js +2 -0
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -3
- 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/entity/screens/Verify/Verify.js +4 -3
- package/build/features/featuresScreens.d.ts +2 -0
- package/build/features/featuresScreens.js +250 -16
- package/build/features/individual/Individual.d.ts +2 -2
- package/build/features/individual/Individual.js +15 -9
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +55 -15
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +14 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.js +76 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +5 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +5 -27
- 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/ShareValue.js +7 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +4 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +4 -3
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
- package/build/features/individual/screens/IndividualList/IndividualList.js +21 -6
- package/build/features/individual/screens/IndividualList/MobileNumber.js +8 -10
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualList/UserList.js +13 -9
- package/build/features/individual/screens/IndividualList/validation.js +11 -4
- 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 +6 -28
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -2
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +79 -21
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +6 -5
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +75 -63
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +9 -11
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/validation.js +11 -3
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/individual/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/individual/screens/OperatorError/index.d.ts +3 -0
- package/build/features/individual/screens/OperatorError/index.js +2 -0
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -3
- 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/individual/screens/Verify/Verify.js +4 -3
- package/build/features/password/Password.d.ts +2 -2
- package/build/features/password/Password.js +82 -32
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.js +10 -4
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTP.js +4 -4
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/password/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/password/screens/OperatorError/index.d.ts +3 -0
- package/build/features/password/screens/OperatorError/index.js +2 -0
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/password/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/password/screens/PrepareDataLoading/index.js +2 -0
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -3
- 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/password/screens/Verify/Verify.js +8 -7
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
- package/build/features/shared/Address/Address.d.ts +1 -2
- package/build/features/shared/Address/CountryList.d.ts +14 -46
- package/build/features/shared/Address/InputSelect.d.ts +14 -46
- 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 +3 -1
- package/build/features/shared/Background/Background.js +9 -11
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +14 -0
- package/build/features/shared/BusinessCountry/BusinessCountry.js +179 -0
- package/build/features/shared/BusinessCountry/index.d.ts +2 -0
- package/build/features/shared/BusinessCountry/index.js +2 -0
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/Button.js +11 -5
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
- package/build/features/shared/Button/EmailProvidersButtons.js +2 -0
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.js +16 -4
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +1 -2
- package/build/features/shared/Button/NafathButton.d.ts +7 -0
- package/build/features/shared/Button/{AbsherButton.js → NafathButton.js} +12 -3
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- package/build/features/shared/Button/index.d.ts +2 -2
- package/build/features/shared/Button/index.js +2 -2
- package/build/features/shared/Calender/Calender.d.ts +2 -2
- package/build/features/shared/Calender/Calender.js +3 -3
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
- package/build/features/shared/Chip/Chip.d.ts +1 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +2 -1
- package/build/features/shared/Containers/FeatureContainer.js +3 -3
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +4 -1
- package/build/features/shared/DataLoading/DataLoading.js +2 -2
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/Footer.js +2 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +6 -14
- package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +14 -0
- package/build/features/shared/NafathVerification/NafathVerification.js +92 -0
- package/build/features/shared/NafathVerification/VerifyNafathLoading.d.ts +8 -0
- package/build/features/shared/NafathVerification/VerifyNafathLoading.js +53 -0
- package/build/features/shared/NafathVerification/VerifyNafathSuccess.d.ts +5 -0
- package/build/features/shared/NafathVerification/VerifyNafathSuccess.js +8 -0
- package/build/features/shared/NafathVerification/index.d.ts +2 -0
- package/build/features/shared/NafathVerification/index.js +2 -0
- 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 +1 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +1 -2
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +6 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +10 -13
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.js +2 -2
- package/build/features/shared/UploadFile/FileUpload.d.ts +4 -9
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -8
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -8
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -9
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -8
- package/build/features/signIn/SignIn.d.ts +1 -2
- package/build/features/signIn/SignIn.js +18 -7
- 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/Mobile/MobileNumber.js +8 -7
- package/build/features/signIn/screens/Mobile/validation.js +11 -3
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.js +5 -4
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/signIn/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/signIn/screens/OperatorError/index.d.ts +3 -0
- package/build/features/signIn/screens/OperatorError/index.js +2 -0
- 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 -2
- package/build/features/tax/Tax.js +15 -9
- package/build/features/tax/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/tax/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/tax/screens/OperatorError/index.d.ts +3 -0
- package/build/features/tax/screens/OperatorError/index.js +2 -0
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -3
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +9 -3
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.js +8 -7
- package/build/hooks/index.d.ts +3 -0
- package/build/hooks/index.js +3 -0
- package/build/hooks/useAppConfig.d.ts +3 -3
- package/build/hooks/useAppConfig.js +10 -8
- package/build/hooks/useAppDispatch.d.ts +2 -0
- package/build/hooks/useAppTheme.js +4 -3
- package/build/hooks/useCountDown.d.ts +10 -0
- package/build/hooks/useCountDown.js +17 -0
- package/build/hooks/useCountry.d.ts +1 -0
- package/build/hooks/useCountry.js +4 -3
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +10 -0
- package/build/hooks/useFormDirtyCheck.js +66 -0
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useSanitizedTranslation.d.ts +2 -0
- package/build/hooks/useSanitizedTranslation.js +15 -0
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/hooks/useVerifyToken.d.ts +5 -2
- package/build/hooks/useVerifyToken.js +10 -5
- package/build/index.css +360 -120
- package/build/index.d.ts +4 -2
- package/build/index.js +6 -2
- package/build/theme/components.js +7 -0
- package/build/theme/palette.js +4 -2
- package/build/theme/shadows.js +1 -1
- package/build/theme/theme.d.ts +1 -1
- package/build/theme/theme.js +2 -2
- package/build/utils/array.js +3 -3
- package/build/utils/common.d.ts +3 -0
- package/build/utils/common.js +38 -2
- package/build/utils/device.d.ts +2 -0
- package/build/utils/device.js +6 -0
- package/build/utils/locale.js +2 -1
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +4 -1
- package/build/utils/string.d.ts +7 -2
- package/build/utils/string.js +32 -5
- package/build/utils/validation.d.ts +5 -0
- package/build/utils/validation.js +16 -0
- package/package.json +2 -2
- package/build/features/business/screens/OTP/OTP.d.ts +0 -8
- package/build/features/business/screens/OTP/OTP.js +0 -90
- package/build/features/connect/screens/BrandSegment/SegmentLocations.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentLocations.js +0 -66
- package/build/features/connect/screens/BrandSegment/SegmentProfits.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentProfits.js +0 -66
- package/build/features/connect/screens/BrandSegment/SegmentTechs.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentTechs.js +0 -66
- package/build/features/connect/screens/NID/DOB.d.ts +0 -6
- package/build/features/connectExpress/screens/AuthenticationList/MerchantList.js +0 -100
- package/build/features/connectExpress/screens/AuthenticationList/TerminalList.js +0 -101
- package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +0 -5
- package/build/features/connectExpress/screens/IdentityOTP/index.d.ts +0 -3
- package/build/features/connectExpress/screens/IdentityOTP/index.js +0 -2
- package/build/features/connectExpress/screens/NID/DOB.d.ts +0 -7
- package/build/features/shared/Button/AbsherButton.d.ts +0 -8
- /package/build/features/{business → auth}/screens/OTP/index.d.ts +0 -0
- /package/build/features/{business → auth}/screens/OTP/index.js +0 -0
- /package/build/features/{business → auth}/screens/OTP/validation.d.ts +0 -0
- /package/build/features/{business → auth}/screens/OTP/validation.js +0 -0
- /package/build/features/{connectExpress/screens/IdentityOTP → board/screens/Verify}/validation.d.ts +0 -0
- /package/build/features/{connectExpress/screens/IdentityOTP → board/screens/Verify}/validation.js +0 -0
package/README.md
CHANGED
|
@@ -158,10 +158,10 @@ const App = () => {
|
|
|
158
158
|
| publicKey `required` - `string` | merchant public key |
|
|
159
159
|
| appInfo `required` | it's an object from type `AppInfo` |
|
|
160
160
|
| businessCountryCode `required` - `string` | merchant country code and it should be the ISO2 of the country |
|
|
161
|
+
| scope `required` - `string` | it's an string |
|
|
161
162
|
| language `required` - `string` | it can be `en`or `ar` |
|
|
162
163
|
| onError `required` - `function` | callback function will call in case of any error happened |
|
|
163
164
|
| onFlowCompleted `required` - `function` | callback function will called after completing the flow |
|
|
164
165
|
| onReady `required` - `function` | callback function will call after loading library configuration |
|
|
165
166
|
| onStepError `required` - `function` | callback function will call in case if any error happened in the screen |
|
|
166
167
|
| onStepStarted `required` - `function` | callback function will call in the begging of each step |
|
|
167
|
-
| scope `required` - `string` | it's an string |
|
package/build/@types/app.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { PaymentProvider, SettingAsyncData } from './config';
|
|
3
|
+
import { LanguageMode, DialogEdgeFormat } from './theme';
|
|
3
4
|
export interface CountryCode {
|
|
4
5
|
created: number;
|
|
5
6
|
updated: number;
|
|
@@ -25,6 +26,8 @@ export interface CountryCode {
|
|
|
25
26
|
logo: string;
|
|
26
27
|
digits: number;
|
|
27
28
|
supported_by_tap: boolean;
|
|
29
|
+
min_digits: number;
|
|
30
|
+
max_digits: number;
|
|
28
31
|
}
|
|
29
32
|
export interface City {
|
|
30
33
|
id: string;
|
|
@@ -117,7 +120,7 @@ export interface EntityLicense extends License {
|
|
|
117
120
|
id: string;
|
|
118
121
|
}
|
|
119
122
|
export interface EntityLicenseAuth extends EntityLicense {
|
|
120
|
-
|
|
123
|
+
business_id: string;
|
|
121
124
|
country: string;
|
|
122
125
|
}
|
|
123
126
|
export interface Activity {
|
|
@@ -201,12 +204,14 @@ interface LibCallbacks {
|
|
|
201
204
|
onError: (err: any) => void;
|
|
202
205
|
onStepCompleted?: (name: string, data: Record<string, any>) => void;
|
|
203
206
|
onReady?: () => void;
|
|
207
|
+
onSettingFetched?: (data: SettingAsyncData) => void;
|
|
204
208
|
onClose?: () => void;
|
|
205
209
|
onStepStarted?: (name: string) => void;
|
|
206
210
|
onBoardButtonClick?: (data: Record<string, any>) => void;
|
|
207
211
|
onCreated?: (res: Record<string, any>) => void;
|
|
208
212
|
onBoardCompleted?: () => void;
|
|
209
213
|
onMaturityChanged?: (maturity: 'full' | 'express') => void;
|
|
214
|
+
onSwitchToBoard?: (boardId: string, authId: string) => void;
|
|
210
215
|
}
|
|
211
216
|
export interface LibConfig extends LibCallbacks {
|
|
212
217
|
publicKey: string;
|
|
@@ -214,13 +219,31 @@ export interface LibConfig extends LibCallbacks {
|
|
|
214
219
|
merchantDomain: string;
|
|
215
220
|
language: LanguageMode;
|
|
216
221
|
appInfo: AppInfo;
|
|
217
|
-
businessCountryCode
|
|
222
|
+
businessCountryCode?: string;
|
|
218
223
|
scope: string;
|
|
224
|
+
showBoard?: boolean;
|
|
225
|
+
platforms?: Array<string>;
|
|
226
|
+
dialogEdgeFormat?: DialogEdgeFormat;
|
|
227
|
+
paymentProvider?: PaymentProvider;
|
|
228
|
+
features?: {
|
|
229
|
+
poweredBy?: boolean;
|
|
230
|
+
merchantLogo?: boolean;
|
|
231
|
+
switchLanguage?: boolean;
|
|
232
|
+
overlay?: boolean;
|
|
233
|
+
loaderOverlay?: boolean;
|
|
234
|
+
tapTextLogo?: boolean;
|
|
235
|
+
closeButton?: boolean;
|
|
236
|
+
disableNafath?: boolean;
|
|
237
|
+
disablePaci?: boolean;
|
|
238
|
+
dialogStartTransition?: 'left' | 'right' | 'up' | 'down';
|
|
239
|
+
dialogEndTransition?: 'left' | 'right' | 'up' | 'down';
|
|
240
|
+
};
|
|
219
241
|
postURL?: string;
|
|
220
242
|
redirectUrl?: string;
|
|
221
243
|
data?: Array<string>;
|
|
222
|
-
|
|
244
|
+
mode?: 'popup' | 'page' | 'content';
|
|
223
245
|
boardMaturity?: boolean;
|
|
246
|
+
settingData?: SettingAsyncData;
|
|
224
247
|
}
|
|
225
248
|
export interface OSDetails {
|
|
226
249
|
name: string;
|
|
@@ -275,7 +298,7 @@ export interface LocalProps {
|
|
|
275
298
|
};
|
|
276
299
|
};
|
|
277
300
|
}
|
|
278
|
-
export
|
|
301
|
+
export type BrandInfo = {
|
|
279
302
|
segment?: {
|
|
280
303
|
type: {
|
|
281
304
|
id: string;
|
|
@@ -294,6 +317,7 @@ export declare type BrandInfo = {
|
|
|
294
317
|
};
|
|
295
318
|
};
|
|
296
319
|
id: string;
|
|
320
|
+
business_id: string;
|
|
297
321
|
name: {
|
|
298
322
|
ar: string;
|
|
299
323
|
en: string;
|
|
@@ -303,6 +327,7 @@ export declare type BrandInfo = {
|
|
|
303
327
|
export declare enum FlowsTypes {
|
|
304
328
|
CONNECT_EXPRESS = "connect_express",
|
|
305
329
|
CONNECT = "connect",
|
|
330
|
+
AUTH = "auth",
|
|
306
331
|
BANK = "bank",
|
|
307
332
|
BUSINESS = "business",
|
|
308
333
|
INDIVIDUAL = "individual",
|
|
@@ -310,10 +335,11 @@ export declare enum FlowsTypes {
|
|
|
310
335
|
TAX = "tax",
|
|
311
336
|
ENTITY = "entity",
|
|
312
337
|
OTP = "otp",
|
|
313
|
-
|
|
314
|
-
|
|
338
|
+
BRAND = "brand",
|
|
339
|
+
BOARD = "board",
|
|
340
|
+
kyc = "kyc"
|
|
315
341
|
}
|
|
316
|
-
export
|
|
342
|
+
export type FlowInfo = {
|
|
317
343
|
name: string;
|
|
318
344
|
status: string;
|
|
319
345
|
url: string;
|
|
@@ -321,14 +347,27 @@ export declare type FlowInfo = {
|
|
|
321
347
|
export declare enum AuthForType {
|
|
322
348
|
MOBILE = "mobile",
|
|
323
349
|
EMAIL = "email",
|
|
324
|
-
NATIONAL_ID = "national_id"
|
|
350
|
+
NATIONAL_ID = "national_id",
|
|
351
|
+
NATIONAL_ID_MISSED = "national_id_missed"
|
|
352
|
+
}
|
|
353
|
+
export declare enum AuthTypeNumber {
|
|
354
|
+
EMAIL_OTP = 5,
|
|
355
|
+
MOBILE_OTP = 2,
|
|
356
|
+
PASSWORD = 1,
|
|
357
|
+
MIGRATION = 10,
|
|
358
|
+
RESET_PASSWORD = 7
|
|
359
|
+
}
|
|
360
|
+
export declare enum MigrationStatus {
|
|
361
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
362
|
+
MIGRATED = "MIGRATED",
|
|
363
|
+
FAILED = "FAILED"
|
|
325
364
|
}
|
|
326
365
|
export declare enum AddressFormateType {
|
|
327
366
|
SELECT = "select",
|
|
328
367
|
NUMBER = "number",
|
|
329
368
|
TEXT = "text"
|
|
330
369
|
}
|
|
331
|
-
export
|
|
370
|
+
export type AddressFormat = {
|
|
332
371
|
code: string;
|
|
333
372
|
name: {
|
|
334
373
|
ar: string;
|
|
@@ -339,14 +378,14 @@ export declare type AddressFormat = {
|
|
|
339
378
|
sort: number;
|
|
340
379
|
type: AddressFormateType;
|
|
341
380
|
};
|
|
342
|
-
export
|
|
381
|
+
export type AddressType = {
|
|
343
382
|
code: string;
|
|
344
383
|
name: {
|
|
345
384
|
ar: string;
|
|
346
385
|
en: string;
|
|
347
386
|
};
|
|
348
387
|
};
|
|
349
|
-
export
|
|
388
|
+
export type AddressProps = {
|
|
350
389
|
format: AddressFormat[];
|
|
351
390
|
type: AddressType;
|
|
352
391
|
};
|
|
@@ -373,12 +412,13 @@ export declare enum DocumentPurpose {
|
|
|
373
412
|
CR = "commercial_registration",
|
|
374
413
|
ARTICLE_ASSOCIATION = "article_of_association",
|
|
375
414
|
BANK_STATEMENT = "bank_statement",
|
|
415
|
+
BANK_CERTIFICATE = "bank_certificate",
|
|
376
416
|
IDENTITY_DOCUMENT = "identity_document",
|
|
377
417
|
CUSTOMER_SIGNATURE = "customer_signature",
|
|
378
418
|
TAX_DOCUMENT = "tax_document_user_upload",
|
|
379
419
|
BRAND_LOGO = "business_logo"
|
|
380
420
|
}
|
|
381
|
-
export
|
|
421
|
+
export type FileDetails = {
|
|
382
422
|
created: string;
|
|
383
423
|
id: string;
|
|
384
424
|
object: string;
|
|
@@ -393,7 +433,7 @@ export declare enum VerificationStatus {
|
|
|
393
433
|
ENTERED = "entered",
|
|
394
434
|
NOT_ENTERED = "not_entered"
|
|
395
435
|
}
|
|
396
|
-
export
|
|
436
|
+
export type BankDataStatus = {
|
|
397
437
|
iban: FieldType;
|
|
398
438
|
account_number: FieldType;
|
|
399
439
|
swift_code: FieldType;
|
|
@@ -402,7 +442,7 @@ export declare type BankDataStatus = {
|
|
|
402
442
|
bank_statement_file_id: FieldType;
|
|
403
443
|
is_acknowledged: FieldType;
|
|
404
444
|
};
|
|
405
|
-
export
|
|
445
|
+
export type EntityDataStatus = {
|
|
406
446
|
type: FieldType;
|
|
407
447
|
'license.status': FieldType;
|
|
408
448
|
'license.provider': FieldType;
|
|
@@ -431,7 +471,7 @@ export declare type EntityDataStatus = {
|
|
|
431
471
|
billing_address: FieldType;
|
|
432
472
|
AOA_file_id: FieldType;
|
|
433
473
|
};
|
|
434
|
-
export
|
|
474
|
+
export type IndividualDataStatus = {
|
|
435
475
|
status: FieldType;
|
|
436
476
|
'name.en': FieldType;
|
|
437
477
|
'name.ar': FieldType;
|
|
@@ -457,7 +497,7 @@ export declare type IndividualDataStatus = {
|
|
|
457
497
|
is_influencer: FieldType;
|
|
458
498
|
gender: FieldType;
|
|
459
499
|
};
|
|
460
|
-
export
|
|
500
|
+
export type BrandDataStatus = {
|
|
461
501
|
status: FieldType;
|
|
462
502
|
'name.en': FieldType;
|
|
463
503
|
'name.ar': FieldType;
|
|
@@ -533,7 +573,7 @@ export interface ActivitiesIsIc {
|
|
|
533
573
|
created: string;
|
|
534
574
|
divisions?: Array<ActivityDivision>;
|
|
535
575
|
}
|
|
536
|
-
export
|
|
576
|
+
export type BankDataVerification = {
|
|
537
577
|
account_number: string;
|
|
538
578
|
bank_name: string;
|
|
539
579
|
bank_statement_file_id: string;
|
|
@@ -543,7 +583,7 @@ export declare type BankDataVerification = {
|
|
|
543
583
|
is_acknowledged: string;
|
|
544
584
|
swift_code: string;
|
|
545
585
|
};
|
|
546
|
-
export
|
|
586
|
+
export type BrandDataVerification = {
|
|
547
587
|
logo: string;
|
|
548
588
|
'name.en': string;
|
|
549
589
|
'name.ar': string;
|
|
@@ -561,7 +601,7 @@ export declare type BrandDataVerification = {
|
|
|
561
601
|
'segment.tech_type': string;
|
|
562
602
|
terms: string;
|
|
563
603
|
};
|
|
564
|
-
export
|
|
604
|
+
export type EntityDataVerification = {
|
|
565
605
|
AOA_file_id: string;
|
|
566
606
|
billing_address: string;
|
|
567
607
|
'capital.announced': string;
|
|
@@ -588,7 +628,7 @@ export declare type EntityDataVerification = {
|
|
|
588
628
|
taxable: string;
|
|
589
629
|
type: string;
|
|
590
630
|
};
|
|
591
|
-
export
|
|
631
|
+
export type IndividualDataVerification = {
|
|
592
632
|
'birth.city': string;
|
|
593
633
|
'birth.country': string;
|
|
594
634
|
'birth.date': string;
|
|
@@ -634,23 +674,15 @@ export interface EventPageTrackingData extends CommonDataLayer {
|
|
|
634
674
|
}
|
|
635
675
|
export interface PageTrackingData {
|
|
636
676
|
title?: string;
|
|
677
|
+
connect_flow?: string;
|
|
637
678
|
}
|
|
638
|
-
export
|
|
679
|
+
export type VerifyExpressTokenParams = {
|
|
639
680
|
public_key: string;
|
|
640
681
|
post: {
|
|
641
682
|
url: string;
|
|
642
683
|
};
|
|
643
684
|
lead_id: string;
|
|
644
685
|
};
|
|
645
|
-
export declare type ConfigExpressTokenParams = {
|
|
646
|
-
post: {
|
|
647
|
-
url: string;
|
|
648
|
-
};
|
|
649
|
-
lead_id: string;
|
|
650
|
-
board: boolean;
|
|
651
|
-
platform_redirect_url: string;
|
|
652
|
-
data: Array<string>;
|
|
653
|
-
};
|
|
654
686
|
export declare enum MerchantStatus {
|
|
655
687
|
DISABLED = "disabled",
|
|
656
688
|
ENABLED = "enabled"
|
|
@@ -680,6 +712,8 @@ export interface AuthMerchantInfo {
|
|
|
680
712
|
terminal_id: string;
|
|
681
713
|
acceptance_status: string;
|
|
682
714
|
payout_status: string;
|
|
715
|
+
board_id: string;
|
|
716
|
+
board_info_id: string;
|
|
683
717
|
}
|
|
684
718
|
export interface AuthTerminalInfo {
|
|
685
719
|
id: string;
|
|
@@ -729,4 +763,25 @@ interface TerminalAuthorizes {
|
|
|
729
763
|
status: string;
|
|
730
764
|
status_message: string;
|
|
731
765
|
}
|
|
766
|
+
export type CountryInfo = {
|
|
767
|
+
id: number;
|
|
768
|
+
label: string;
|
|
769
|
+
country: {
|
|
770
|
+
id: number;
|
|
771
|
+
name_en: string;
|
|
772
|
+
name_ar: string;
|
|
773
|
+
iso2: string;
|
|
774
|
+
iso3: string;
|
|
775
|
+
idd_prefix: string;
|
|
776
|
+
logo: string;
|
|
777
|
+
min_digits: number;
|
|
778
|
+
max_digits: number;
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
export type BusinessCountryInfo = {
|
|
782
|
+
id: number;
|
|
783
|
+
title: string;
|
|
784
|
+
title_ar: string;
|
|
785
|
+
countries: Array<CountryInfo>;
|
|
786
|
+
};
|
|
732
787
|
export {};
|
package/build/@types/app.js
CHANGED
|
@@ -24,6 +24,7 @@ export var FlowsTypes;
|
|
|
24
24
|
(function (FlowsTypes) {
|
|
25
25
|
FlowsTypes["CONNECT_EXPRESS"] = "connect_express";
|
|
26
26
|
FlowsTypes["CONNECT"] = "connect";
|
|
27
|
+
FlowsTypes["AUTH"] = "auth";
|
|
27
28
|
FlowsTypes["BANK"] = "bank";
|
|
28
29
|
FlowsTypes["BUSINESS"] = "business";
|
|
29
30
|
FlowsTypes["INDIVIDUAL"] = "individual";
|
|
@@ -31,15 +32,31 @@ export var FlowsTypes;
|
|
|
31
32
|
FlowsTypes["TAX"] = "tax";
|
|
32
33
|
FlowsTypes["ENTITY"] = "entity";
|
|
33
34
|
FlowsTypes["OTP"] = "otp";
|
|
34
|
-
FlowsTypes["AUTH"] = "auth";
|
|
35
35
|
FlowsTypes["BRAND"] = "brand";
|
|
36
|
+
FlowsTypes["BOARD"] = "board";
|
|
37
|
+
FlowsTypes["kyc"] = "kyc";
|
|
36
38
|
})(FlowsTypes || (FlowsTypes = {}));
|
|
37
39
|
export var AuthForType;
|
|
38
40
|
(function (AuthForType) {
|
|
39
41
|
AuthForType["MOBILE"] = "mobile";
|
|
40
42
|
AuthForType["EMAIL"] = "email";
|
|
41
43
|
AuthForType["NATIONAL_ID"] = "national_id";
|
|
44
|
+
AuthForType["NATIONAL_ID_MISSED"] = "national_id_missed";
|
|
42
45
|
})(AuthForType || (AuthForType = {}));
|
|
46
|
+
export var AuthTypeNumber;
|
|
47
|
+
(function (AuthTypeNumber) {
|
|
48
|
+
AuthTypeNumber[AuthTypeNumber["EMAIL_OTP"] = 5] = "EMAIL_OTP";
|
|
49
|
+
AuthTypeNumber[AuthTypeNumber["MOBILE_OTP"] = 2] = "MOBILE_OTP";
|
|
50
|
+
AuthTypeNumber[AuthTypeNumber["PASSWORD"] = 1] = "PASSWORD";
|
|
51
|
+
AuthTypeNumber[AuthTypeNumber["MIGRATION"] = 10] = "MIGRATION";
|
|
52
|
+
AuthTypeNumber[AuthTypeNumber["RESET_PASSWORD"] = 7] = "RESET_PASSWORD";
|
|
53
|
+
})(AuthTypeNumber || (AuthTypeNumber = {}));
|
|
54
|
+
export var MigrationStatus;
|
|
55
|
+
(function (MigrationStatus) {
|
|
56
|
+
MigrationStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
57
|
+
MigrationStatus["MIGRATED"] = "MIGRATED";
|
|
58
|
+
MigrationStatus["FAILED"] = "FAILED";
|
|
59
|
+
})(MigrationStatus || (MigrationStatus = {}));
|
|
43
60
|
export var AddressFormateType;
|
|
44
61
|
(function (AddressFormateType) {
|
|
45
62
|
AddressFormateType["SELECT"] = "select";
|
|
@@ -69,6 +86,7 @@ export var DocumentPurpose;
|
|
|
69
86
|
DocumentPurpose["CR"] = "commercial_registration";
|
|
70
87
|
DocumentPurpose["ARTICLE_ASSOCIATION"] = "article_of_association";
|
|
71
88
|
DocumentPurpose["BANK_STATEMENT"] = "bank_statement";
|
|
89
|
+
DocumentPurpose["BANK_CERTIFICATE"] = "bank_certificate";
|
|
72
90
|
DocumentPurpose["IDENTITY_DOCUMENT"] = "identity_document";
|
|
73
91
|
DocumentPurpose["CUSTOMER_SIGNATURE"] = "customer_signature";
|
|
74
92
|
DocumentPurpose["TAX_DOCUMENT"] = "tax_document_user_upload";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface ConfigInfo {
|
|
2
|
+
operator: Operator;
|
|
3
|
+
scope: string;
|
|
4
|
+
data?: string[];
|
|
5
|
+
lead?: Lead;
|
|
6
|
+
board?: Board;
|
|
7
|
+
interface?: Interface;
|
|
8
|
+
redirect?: Redirect;
|
|
9
|
+
post?: Redirect;
|
|
10
|
+
connect?: Redirect;
|
|
11
|
+
platforms?: string[];
|
|
12
|
+
payment_provider?: PaymentProvider;
|
|
13
|
+
}
|
|
14
|
+
export interface PaymentProvider {
|
|
15
|
+
technology_id: string;
|
|
16
|
+
settlement_by: string;
|
|
17
|
+
}
|
|
18
|
+
interface Redirect {
|
|
19
|
+
url: string;
|
|
20
|
+
}
|
|
21
|
+
interface Interface {
|
|
22
|
+
locale?: 'dynamic' | 'ar' | 'en';
|
|
23
|
+
edges?: 'straight' | 'curved';
|
|
24
|
+
}
|
|
25
|
+
interface Board {
|
|
26
|
+
display?: boolean;
|
|
27
|
+
editable?: boolean;
|
|
28
|
+
}
|
|
29
|
+
interface Lead {
|
|
30
|
+
id: string;
|
|
31
|
+
}
|
|
32
|
+
interface Operator {
|
|
33
|
+
public_key: string;
|
|
34
|
+
}
|
|
35
|
+
type RecordType = Record<string, any>;
|
|
36
|
+
export interface SettingAsyncData {
|
|
37
|
+
fingerPrint: RecordType;
|
|
38
|
+
locale: RecordType;
|
|
39
|
+
country_list: RecordType;
|
|
40
|
+
ip_info: RecordType;
|
|
41
|
+
merchant: RecordType;
|
|
42
|
+
operator: RecordType;
|
|
43
|
+
config: RecordType;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/build/@types/form.d.ts
CHANGED
|
@@ -1,47 +1,53 @@
|
|
|
1
|
-
import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense, EntityLicenseAuth, AuthMerchantInfo
|
|
2
|
-
export
|
|
1
|
+
import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense, EntityLicenseAuth, AuthMerchantInfo } from './app';
|
|
2
|
+
export type MobileFormValues = {
|
|
3
3
|
mobile: string;
|
|
4
4
|
countryCode: CountryCode;
|
|
5
5
|
termAndConditionChecked?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type EmailFormValues = {
|
|
8
8
|
email: string | null;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type OTPFormValues = {
|
|
11
11
|
otp: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type PasswordFormValues = {
|
|
14
14
|
password: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type NIDFormValues = {
|
|
17
17
|
nid: string;
|
|
18
|
-
dob
|
|
18
|
+
dob?: any;
|
|
19
19
|
termAndConditionChecked?: boolean;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type DOBFormValues = {
|
|
22
|
+
dob: any;
|
|
23
|
+
};
|
|
24
|
+
export type CivilFormValues = {
|
|
22
25
|
civilId: string;
|
|
23
26
|
termAndConditionChecked?: boolean;
|
|
24
27
|
};
|
|
25
|
-
export
|
|
28
|
+
export type AuthEmailFormValues = {
|
|
29
|
+
email: string;
|
|
30
|
+
};
|
|
31
|
+
export type IndividualFormValues = {
|
|
26
32
|
name: string;
|
|
27
33
|
email: string;
|
|
28
34
|
mobile: string | null;
|
|
29
35
|
countryCode: CountryCode;
|
|
30
36
|
};
|
|
31
|
-
export
|
|
37
|
+
export type BrandFormValues = {
|
|
32
38
|
brandName: string;
|
|
33
39
|
brandLogoId?: string;
|
|
34
40
|
salesChannels: Array<SaleChannel>;
|
|
35
41
|
termAndConditionChecked?: boolean;
|
|
36
42
|
selectedBrandItem: BrandInfo;
|
|
37
43
|
};
|
|
38
|
-
export
|
|
44
|
+
export type BrandSegmentFormValues = {
|
|
39
45
|
segmentLocation?: Segment | undefined;
|
|
40
46
|
segmentProfit?: Segment | undefined;
|
|
41
47
|
segmentTech?: Segment | undefined;
|
|
42
48
|
teamSize?: TeamSize | undefined;
|
|
43
49
|
};
|
|
44
|
-
export
|
|
50
|
+
export type BrandActivitiesFormValues = {
|
|
45
51
|
activities: Array<Activity>;
|
|
46
52
|
customerLocations: Array<CustomerLocation>;
|
|
47
53
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
@@ -50,7 +56,7 @@ export declare type BrandActivitiesFormValues = {
|
|
|
50
56
|
refundPolicy: boolean;
|
|
51
57
|
transactionPolicy: boolean;
|
|
52
58
|
};
|
|
53
|
-
export
|
|
59
|
+
export type BusinessTypeFormValues = {
|
|
54
60
|
licenseNumber: string;
|
|
55
61
|
entityLegalName?: string;
|
|
56
62
|
selectedEntityLicense?: EntityLicense;
|
|
@@ -58,18 +64,18 @@ export declare type BusinessTypeFormValues = {
|
|
|
58
64
|
certificateId?: Array<string>;
|
|
59
65
|
articleId?: string;
|
|
60
66
|
};
|
|
61
|
-
export
|
|
67
|
+
export type ActivitiesFormValues = {
|
|
62
68
|
activities: Array<Activity> | undefined;
|
|
63
69
|
operationStartDate: string;
|
|
64
70
|
};
|
|
65
|
-
export
|
|
71
|
+
export type CustomersFormValues = {
|
|
66
72
|
customerLocations: Array<CustomerLocation>;
|
|
67
73
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
68
74
|
expectedSale: ExpectedSaleRange | undefined;
|
|
69
75
|
refundPolicy: boolean;
|
|
70
76
|
transactionPolicy: boolean;
|
|
71
77
|
};
|
|
72
|
-
export
|
|
78
|
+
export type BankFormValues = {
|
|
73
79
|
iban: string;
|
|
74
80
|
beneficiaryName: string;
|
|
75
81
|
bankName: string;
|
|
@@ -77,7 +83,7 @@ export declare type BankFormValues = {
|
|
|
77
83
|
uploading?: boolean;
|
|
78
84
|
confirmPolicy: boolean;
|
|
79
85
|
};
|
|
80
|
-
export
|
|
86
|
+
export type TaxFormValues = {
|
|
81
87
|
vatId: string;
|
|
82
88
|
confirmPolicy: boolean;
|
|
83
89
|
documentId?: Array<string>;
|
|
@@ -109,18 +115,19 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
109
115
|
isInfluencer: boolean | null;
|
|
110
116
|
shareCount: string;
|
|
111
117
|
shareValue: string;
|
|
118
|
+
isAuthorized: boolean;
|
|
112
119
|
}
|
|
113
|
-
export
|
|
120
|
+
export type IndividualAttachmentsFormValues = {
|
|
114
121
|
civilID?: Array<string>;
|
|
115
122
|
signatureFileId?: Array<string>;
|
|
116
123
|
civilIDUploading?: boolean;
|
|
117
124
|
signatureFileUploading?: boolean;
|
|
118
125
|
};
|
|
119
|
-
export
|
|
126
|
+
export type PasswordCreateFormValues = {
|
|
120
127
|
password: string;
|
|
121
128
|
confirmPassword: string;
|
|
122
129
|
};
|
|
123
|
-
export
|
|
130
|
+
export type EntityNameFormValues = {
|
|
124
131
|
legalName: string;
|
|
125
132
|
licenseNumber: string;
|
|
126
133
|
licenseType: string;
|
|
@@ -131,21 +138,25 @@ export declare type EntityNameFormValues = {
|
|
|
131
138
|
certificateId?: Array<string>;
|
|
132
139
|
articleId?: string;
|
|
133
140
|
};
|
|
134
|
-
export
|
|
141
|
+
export type EntityCapitalFormValues = {
|
|
135
142
|
activities: Array<Activity>;
|
|
136
143
|
capitalPaid: string;
|
|
137
144
|
capitalShareCount: string;
|
|
138
145
|
capitalShareValue: string;
|
|
139
146
|
};
|
|
140
|
-
export
|
|
147
|
+
export type BusinessDataFormValues = {
|
|
141
148
|
brandName: string;
|
|
142
149
|
licenseNumber: string;
|
|
143
150
|
selectedLicense?: License;
|
|
144
151
|
termAndConditionChecked?: boolean;
|
|
145
152
|
};
|
|
146
|
-
export
|
|
153
|
+
export type AuthenticationListFormValues = {
|
|
147
154
|
brandInfo?: BrandInfo;
|
|
148
155
|
entityInfo?: EntityLicenseAuth;
|
|
156
|
+
licenseNumber?: string;
|
|
157
|
+
legalName?: string;
|
|
158
|
+
licenseType?: string;
|
|
159
|
+
};
|
|
160
|
+
export type AuthMerchantFormValues = {
|
|
149
161
|
merchantInfo?: AuthMerchantInfo;
|
|
150
|
-
terminalInfo?: AuthTerminalInfo;
|
|
151
162
|
};
|
package/build/@types/index.d.ts
CHANGED
package/build/@types/index.js
CHANGED
package/build/@types/redux.d.ts
CHANGED
package/build/@types/theme.d.ts
CHANGED
|
@@ -11,4 +11,8 @@ export declare enum DirectionMode {
|
|
|
11
11
|
RTL = "rtl",
|
|
12
12
|
LTR = "ltr"
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
15
|
+
export declare enum DialogEdgeFormat {
|
|
16
|
+
STRAIGHT = "straight",
|
|
17
|
+
CURVED = "curved"
|
|
18
|
+
}
|
package/build/@types/theme.js
CHANGED
|
@@ -13,3 +13,8 @@ export var DirectionMode;
|
|
|
13
13
|
DirectionMode["RTL"] = "rtl";
|
|
14
14
|
DirectionMode["LTR"] = "ltr";
|
|
15
15
|
})(DirectionMode || (DirectionMode = {}));
|
|
16
|
+
export var DialogEdgeFormat;
|
|
17
|
+
(function (DialogEdgeFormat) {
|
|
18
|
+
DialogEdgeFormat["STRAIGHT"] = "straight";
|
|
19
|
+
DialogEdgeFormat["CURVED"] = "curved";
|
|
20
|
+
})(DialogEdgeFormat || (DialogEdgeFormat = {}));
|
package/build/api/account.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { PaymentProvider } from '../@types';
|
|
2
|
+
export type CreateAccountBody = {
|
|
2
3
|
lead_id: string;
|
|
3
4
|
notify: {
|
|
4
5
|
email: boolean;
|
|
@@ -8,12 +9,16 @@ export declare type CreateAccountBody = {
|
|
|
8
9
|
is_acknowledged: boolean;
|
|
9
10
|
step_name: string;
|
|
10
11
|
};
|
|
11
|
-
export
|
|
12
|
+
export type ExpressCreateAccountBody = {
|
|
12
13
|
post_url: string;
|
|
13
14
|
lead_id: string;
|
|
15
|
+
platforms?: string[];
|
|
16
|
+
payment_provider?: PaymentProvider;
|
|
14
17
|
};
|
|
15
18
|
declare const accountService: {
|
|
16
19
|
createAccount: (data: CreateAccountBody) => Promise<any>;
|
|
17
20
|
expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
|
|
21
|
+
checkAccountAvailability: (individualId: string) => Promise<any>;
|
|
22
|
+
checkMigrationStatus: (jobId: string) => Promise<any>;
|
|
18
23
|
};
|
|
19
24
|
export { accountService };
|
package/build/api/account.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { httpClient } from './axios';
|
|
2
1
|
import { ENDPOINT_PATHS } from '../constants';
|
|
2
|
+
import { httpClient } from './axios';
|
|
3
3
|
var createAccount = function (data) {
|
|
4
4
|
return httpClient({
|
|
5
5
|
method: 'post',
|
|
@@ -14,8 +14,22 @@ var expressCreateAccount = function (data) {
|
|
|
14
14
|
data: data
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
|
+
var checkAccountAvailability = function (individualId) {
|
|
18
|
+
return httpClient({
|
|
19
|
+
method: 'get',
|
|
20
|
+
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts")
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
var checkMigrationStatus = function (jobId) {
|
|
24
|
+
return httpClient({
|
|
25
|
+
method: 'get',
|
|
26
|
+
url: "".concat(ENDPOINT_PATHS.MIGRATION_STATUS, "/").concat(jobId)
|
|
27
|
+
});
|
|
28
|
+
};
|
|
17
29
|
var accountService = {
|
|
18
30
|
createAccount: createAccount,
|
|
19
|
-
expressCreateAccount: expressCreateAccount
|
|
31
|
+
expressCreateAccount: expressCreateAccount,
|
|
32
|
+
checkAccountAvailability: checkAccountAvailability,
|
|
33
|
+
checkMigrationStatus: checkMigrationStatus
|
|
20
34
|
};
|
|
21
35
|
export { accountService };
|