@tap-payments/auth-jsconnect 2.7.7-test → 2.7.7
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 +61 -21
- package/build/@types/app.js +16 -0
- package/build/@types/config.d.ts +14 -0
- package/build/@types/form.d.ts +33 -23
- package/build/@types/redux.d.ts +1 -0
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +6 -3
- package/build/api/account.js +15 -1
- package/build/api/auth.d.ts +47 -32
- package/build/api/auth.js +1 -1
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +2 -3
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +11 -24
- package/build/api/data.js +5 -45
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +13 -12
- package/build/api/entity.js +12 -4
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +68 -8
- package/build/api/index.d.ts +14 -25
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +28 -15
- package/build/api/lead.js +17 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +9 -2
- package/build/api/user.js +9 -1
- package/build/app/rootReducer.d.ts +1 -0
- package/build/app/rootReducer.js +3 -1
- package/build/app/settings.d.ts +5 -22
- package/build/app/settings.js +52 -22
- package/build/app/store.d.ts +6 -4
- package/build/assets/locales/ar.json +353 -151
- package/build/assets/locales/en.json +349 -150
- package/build/components/AnimationFlow/AnimationFlow.d.ts +9 -5
- package/build/components/AnimationFlow/AnimationFlow.js +5 -5
- package/build/components/AnimationFlow/BottomSheet.d.ts +5 -2
- package/build/components/AnimationFlow/BottomSheet.js +43 -14
- package/build/components/AnimationFlow/Dialog.d.ts +4 -3
- package/build/components/AnimationFlow/Dialog.js +5 -3
- 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/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 +2 -1
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/DatePicker/DatePicker.js +2 -2
- 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/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/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/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 +5 -7
- package/build/constants/api.js +11 -15
- package/build/constants/app.d.ts +40 -1
- package/build/constants/app.js +356 -35
- package/build/constants/assets.d.ts +3 -0
- package/build/constants/assets.js +4 -1
- package/build/constants/dummy.d.ts +4 -219
- package/build/constants/dummy.js +64 -6194
- package/build/constants/flows.d.ts +26 -0
- package/build/constants/flows.js +27 -0
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -0
- package/build/constants/validation.d.ts +3 -0
- package/build/constants/validation.js +3 -0
- package/build/features/app/auth/authStore.d.ts +42 -156
- package/build/features/app/auth/authStore.js +496 -150
- package/build/features/app/bank/bankStore.d.ts +23 -109
- package/build/features/app/bank/bankStore.js +187 -154
- package/build/features/app/board/boardStore.d.ts +9 -41
- package/build/features/app/board/boardStore.js +83 -52
- package/build/features/app/brand/brandStore.d.ts +32 -174
- package/build/features/app/brand/brandStore.js +255 -258
- package/build/features/app/business/businessStore.d.ts +52 -174
- package/build/features/app/business/businessStore.js +444 -236
- package/build/features/app/connect/connectStore.d.ts +48 -155
- package/build/features/app/connect/connectStore.js +356 -121
- package/build/features/app/connectExpress/connectExpressStore.d.ts +74 -291
- package/build/features/app/connectExpress/connectExpressStore.js +677 -393
- package/build/features/app/entity/entityStore.d.ts +30 -127
- package/build/features/app/entity/entityStore.js +205 -239
- package/build/features/app/individual/individualStore.d.ts +40 -218
- package/build/features/app/individual/individualStore.js +270 -293
- package/build/features/app/kyc/kycStore.d.ts +67 -0
- package/build/features/app/kyc/kycStore.js +432 -0
- package/build/features/app/password/passwordStore.d.ts +42 -126
- package/build/features/app/password/passwordStore.js +261 -220
- package/build/features/app/signIn/signInStore.d.ts +7 -61
- package/build/features/app/signIn/signInStore.js +20 -16
- package/build/features/app/tax/taxStore.d.ts +22 -88
- package/build/features/app/tax/taxStore.js +171 -137
- package/build/features/auth/Auth.d.ts +6 -6
- package/build/features/auth/Auth.js +41 -16
- 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/AccountNotFound/AccountNotFound.js +2 -5
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- 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 +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +2 -8
- 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 +3 -3
- 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/AuthenticationList/LicenseNumber.js +2 -2
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +9 -3
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/CivilID/CivilID.js +4 -35
- package/build/features/auth/screens/DOB/DOB.d.ts +6 -0
- package/build/features/auth/screens/{NID → DOB}/DOB.js +3 -3
- 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/{business/screens/OTP → auth/screens/DOB}/validation.d.ts +4 -4
- 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 +1 -1
- package/build/features/auth/screens/Mobile/Mobile.js +6 -38
- package/build/features/auth/screens/Mobile/MobileNumber.js +13 -15
- package/build/features/auth/screens/Mobile/validation.js +11 -3
- package/build/features/auth/screens/NID/IDNumber.js +1 -1
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/NID/NID.js +7 -43
- package/build/features/auth/screens/NID/validation.d.ts +0 -3
- package/build/features/auth/screens/NID/validation.js +0 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.js +41 -10
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTPInput.js +23 -6
- 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 +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.js +3 -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 +1 -1
- package/build/features/bank/Bank.d.ts +6 -1
- package/build/features/bank/Bank.js +22 -9
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/BankDetails.js +20 -6
- 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 +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 -2
- 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 +7 -6
- package/build/features/board/Board.d.ts +4 -1
- package/build/features/board/Board.js +24 -13
- 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 +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -4
- 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/board/screens/Verify/Verify.js +3 -2
- package/build/features/brand/Brand.d.ts +6 -1
- package/build/features/brand/Brand.js +22 -9
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +29 -13
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +48 -11
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +1 -1
- 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/ExpectedSalesRange.js +6 -3
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +20 -12
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +1 -1
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -3
- package/build/features/brand/screens/BrandActivities/TAC.js +1 -1
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +1 -1
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +26 -6
- 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 +6 -3
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/validation.js +2 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +22 -6
- 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 +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 -2
- 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 +3 -2
- package/build/features/business/Business.d.ts +2 -1
- package/build/features/business/Business.js +20 -12
- package/build/features/business/screens/Activities/Activities.d.ts +2 -1
- package/build/features/business/screens/Activities/Activities.js +26 -9
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
- 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 +15 -5
- 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 +13 -5
- package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/BusinessType.js +11 -3
- 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/LicenseNumber.js +3 -3
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +43 -17
- 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 +50 -10
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +4 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.js +5 -3
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +4 -1
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +11 -5
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +26 -11
- package/build/features/business/screens/Customers/RefundPolicy.js +13 -13
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +5 -1
- 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/{connectExpress/screens/IdentityOTP → business/screens/DOB}/validation.d.ts +4 -4
- 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/IDBOD.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.js +10 -2
- package/build/features/business/screens/IDBOD/validation.d.ts +0 -3
- package/build/features/business/screens/IDBOD/validation.js +0 -1
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.js +103 -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 +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 +15 -4
- 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 +6 -1
- package/build/features/connect/Connect.js +17 -10
- 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 +8 -2
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/CivilID/CivilID.js +6 -1
- package/build/features/connect/screens/DOB/DOB.d.ts +6 -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 +2 -4
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Individual.js +11 -5
- 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/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/SalesChannels.d.ts +2 -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 +12 -9
- package/build/features/connect/screens/Mobile/MobileNumber.js +8 -7
- 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/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.js +104 -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/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 +5 -11
- 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 +6 -6
- 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 +1 -1
- package/build/features/connect/screens/OperatorError/OperatorError.js +1 -1
- 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 +6 -2
- package/build/features/connectExpress/ConnectExpress.js +63 -40
- 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 +3 -3
- 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/AuthenticationList/LicenseNumber.js +2 -2
- 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 +8 -2
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.js +6 -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 +6 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +8 -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/LicenseNumber.js +2 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +4 -4
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +2 -2
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +30 -7
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +2 -4
- 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 +6 -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/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +3 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.js +9 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/index.d.ts +2 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/index.js +2 -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/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.js +10 -3
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +9 -8
- 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/Mobile/validation.js +21 -6
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.js +106 -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/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 +10 -10
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -3
- 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 +2 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.js +3 -3
- package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +0 -3
- package/build/features/connectExpress/screens/NIDMissed/validation.js +0 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.js +13 -15
- 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 -3
- 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 +5 -1
- package/build/features/entity/Entity.js +22 -9
- 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/CapitalPaid.js +8 -4
- 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 +8 -4
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +2 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +33 -9
- package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
- package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
- package/build/features/entity/screens/EntityName/EntityName.js +33 -15
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +29 -13
- package/build/features/entity/screens/EntityName/EntityTypeList.js +2 -3
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/ExpiryDate.js +13 -8
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
- 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 +2 -1
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseNumber.js +6 -8
- 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 +3 -3
- package/build/features/entity/screens/EntityName/validation.js +1 -10
- 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 -2
- 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 +3 -2
- package/build/features/featuresScreens.d.ts +1 -0
- package/build/features/featuresScreens.js +216 -13
- package/build/features/individual/Individual.d.ts +5 -1
- package/build/features/individual/Individual.js +22 -9
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +44 -11
- 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 +3 -3
- 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 +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +3 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +8 -3
- 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 +3 -4
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +25 -9
- 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 +2 -1
- package/build/features/individual/screens/IndividualList/UserList.js +7 -7
- 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/Email.js +2 -4
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +4 -4
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +76 -20
- 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.js +11 -3
- 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/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 -2
- 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 +3 -2
- package/build/features/kyc/KYC.d.ts +11 -0
- package/build/features/kyc/KYC.js +99 -0
- package/build/features/kyc/index.d.ts +1 -0
- package/build/features/kyc/index.js +1 -0
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +5 -0
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.js +19 -0
- package/build/features/kyc/screens/AlreadySubmitted/index.d.ts +2 -0
- package/build/features/kyc/screens/AlreadySubmitted/index.js +2 -0
- package/build/features/kyc/screens/Loading/Loading.d.ts +4 -0
- package/build/features/kyc/screens/Loading/Loading.js +10 -0
- package/build/features/kyc/screens/Loading/index.d.ts +2 -0
- package/build/features/kyc/screens/Loading/index.js +2 -0
- package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/kyc/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/kyc/screens/OperatorError/index.d.ts +2 -0
- package/build/features/kyc/screens/OperatorError/index.js +2 -0
- package/build/features/kyc/screens/Success/Success.d.ts +5 -0
- package/build/features/kyc/screens/Success/Success.js +32 -0
- package/build/features/kyc/screens/Success/index.d.ts +2 -0
- package/build/features/kyc/screens/Success/index.js +2 -0
- package/build/features/kyc/screens/Terms/Header.d.ts +6 -0
- package/build/features/kyc/screens/Terms/Header.js +36 -0
- package/build/features/kyc/screens/Terms/Terms.d.ts +4 -0
- package/build/features/kyc/screens/Terms/Terms.js +87 -0
- package/build/features/kyc/screens/Terms/index.d.ts +2 -0
- package/build/features/kyc/screens/Terms/index.js +2 -0
- package/build/features/kyc/screens/TokenError/TokenError.d.ts +5 -0
- package/build/features/kyc/screens/TokenError/TokenError.js +9 -0
- package/build/features/kyc/screens/TokenError/index.d.ts +2 -0
- package/build/features/kyc/screens/TokenError/index.js +2 -0
- package/build/features/kyc/screens/Users/Users.d.ts +3 -0
- package/build/features/kyc/screens/Users/Users.js +76 -0
- package/build/features/kyc/screens/Users/index.d.ts +2 -0
- package/build/features/kyc/screens/Users/index.js +2 -0
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.js +45 -0
- package/build/features/kyc/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/kyc/screens/VerifyNafath/index.js +2 -0
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +5 -0
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.js +44 -0
- package/build/features/kyc/screens/VerifyPaci/index.d.ts +3 -0
- package/build/features/kyc/screens/VerifyPaci/index.js +2 -0
- package/build/features/password/Password.d.ts +5 -1
- package/build/features/password/Password.js +88 -31
- 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/CreatePassword.js +10 -4
- 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/OTP.js +3 -3
- 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 -2
- 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 +7 -6
- 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 +29 -13
- package/build/features/shared/Address/InputSelect.d.ts +29 -13
- 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/Background.js +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 +2 -2
- package/build/features/shared/Button/Button.d.ts +2 -1
- package/build/features/shared/Button/Button.js +3 -1
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
- package/build/features/shared/Button/EmailProvidersButtons.js +2 -0
- package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.js +19 -5
- 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 +8 -0
- package/build/features/shared/Button/{AbsherButton.js → NafathButton.js} +12 -3
- package/build/features/shared/Button/SuccessButton.d.ts +2 -1
- 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 +3 -1
- package/build/features/shared/Calender/Calender.js +3 -3
- 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 +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 +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 +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 +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +4 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -3
- package/build/features/signIn/SignIn.d.ts +2 -1
- 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 +5 -1
- package/build/features/tax/Tax.js +22 -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 -2
- 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/TaxDetails.js +9 -3
- 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/features/tax/screens/Verify/Verify.js +7 -6
- package/build/hooks/index.d.ts +3 -0
- package/build/hooks/index.js +3 -0
- package/build/hooks/useAppConfig.d.ts +1 -1
- package/build/hooks/useAppConfig.js +4 -3
- package/build/hooks/useAppDispatch.d.ts +1 -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/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 +4 -2
- package/build/hooks/useVerifyToken.js +9 -4
- package/build/index.css +360 -120
- package/build/index.d.ts +3 -2
- package/build/index.js +4 -2
- package/build/theme/components.js +7 -0
- package/build/theme/palette.js +2 -1
- 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 +1 -0
- package/build/utils/common.js +16 -3
- package/build/utils/error.d.ts +1 -0
- package/build/utils/error.js +3 -0
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +3 -0
- package/build/utils/string.d.ts +6 -2
- package/build/utils/string.js +28 -3
- package/build/utils/validation.d.ts +2 -0
- package/build/utils/validation.js +6 -0
- package/package.json +3 -4
- package/build/features/auth/screens/NID/DOB.d.ts +0 -6
- package/build/features/business/screens/OTP/OTP.d.ts +0 -8
- package/build/features/business/screens/OTP/OTP.js +0 -90
- package/build/features/business/screens/OTP/OTPInput.d.ts +0 -5
- package/build/features/business/screens/OTP/OTPInput.js +0 -49
- package/build/features/business/screens/OTP/index.d.ts +0 -3
- package/build/features/business/screens/OTP/index.js +0 -2
- package/build/features/business/screens/OTP/validation.js +0 -4
- package/build/features/connect/screens/NID/DOB.d.ts +0 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +0 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTP.js +0 -87
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +0 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +0 -54
- 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/IdentityOTP/validation.js +0 -4
- package/build/features/connectExpress/screens/NID/DOB.d.ts +0 -6
- package/build/features/shared/Button/AbsherButton.d.ts +0 -7
package/build/@types/app.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PaymentProvider } from './config';
|
|
2
|
+
import { PaymentProvider, SDKNotification, SettingAsyncData } from './config';
|
|
3
3
|
import { LanguageMode, DialogEdgeFormat } from './theme';
|
|
4
4
|
export interface CountryCode {
|
|
5
5
|
created: number;
|
|
@@ -26,6 +26,8 @@ export interface CountryCode {
|
|
|
26
26
|
logo: string;
|
|
27
27
|
digits: number;
|
|
28
28
|
supported_by_tap: boolean;
|
|
29
|
+
min_digits: number;
|
|
30
|
+
max_digits: number;
|
|
29
31
|
}
|
|
30
32
|
export interface City {
|
|
31
33
|
id: string;
|
|
@@ -202,13 +204,14 @@ interface LibCallbacks {
|
|
|
202
204
|
onError: (err: any) => void;
|
|
203
205
|
onStepCompleted?: (name: string, data: Record<string, any>) => void;
|
|
204
206
|
onReady?: () => void;
|
|
207
|
+
onSettingFetched?: (data: SettingAsyncData) => void;
|
|
205
208
|
onClose?: () => void;
|
|
206
209
|
onStepStarted?: (name: string) => void;
|
|
207
210
|
onBoardButtonClick?: (data: Record<string, any>) => void;
|
|
208
211
|
onCreated?: (res: Record<string, any>) => void;
|
|
209
212
|
onBoardCompleted?: () => void;
|
|
210
|
-
onMaturityChanged?: (maturity: 'full' | 'express') => void
|
|
211
|
-
|
|
213
|
+
onMaturityChanged?: (maturity: 'full' | 'express') => Promise<void>;
|
|
214
|
+
onSwitchToBoard?: (boardId: string, authId: string) => void;
|
|
212
215
|
}
|
|
213
216
|
export interface LibConfig extends LibCallbacks {
|
|
214
217
|
publicKey: string;
|
|
@@ -218,14 +221,30 @@ export interface LibConfig extends LibCallbacks {
|
|
|
218
221
|
appInfo: AppInfo;
|
|
219
222
|
businessCountryCode?: string;
|
|
220
223
|
scope: string;
|
|
224
|
+
showBoard?: boolean;
|
|
221
225
|
platforms?: Array<string>;
|
|
222
226
|
dialogEdgeFormat?: DialogEdgeFormat;
|
|
223
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
|
+
};
|
|
224
241
|
postURL?: string;
|
|
225
242
|
redirectUrl?: string;
|
|
226
243
|
data?: Array<string>;
|
|
227
244
|
mode?: 'popup' | 'page' | 'content';
|
|
245
|
+
notification?: SDKNotification;
|
|
228
246
|
boardMaturity?: boolean;
|
|
247
|
+
settingData?: SettingAsyncData;
|
|
229
248
|
}
|
|
230
249
|
export interface OSDetails {
|
|
231
250
|
name: string;
|
|
@@ -280,7 +299,7 @@ export interface LocalProps {
|
|
|
280
299
|
};
|
|
281
300
|
};
|
|
282
301
|
}
|
|
283
|
-
export type BrandInfo = {
|
|
302
|
+
export declare type BrandInfo = {
|
|
284
303
|
segment?: {
|
|
285
304
|
type: {
|
|
286
305
|
id: string;
|
|
@@ -318,9 +337,10 @@ export declare enum FlowsTypes {
|
|
|
318
337
|
ENTITY = "entity",
|
|
319
338
|
OTP = "otp",
|
|
320
339
|
BRAND = "brand",
|
|
321
|
-
BOARD = "board"
|
|
340
|
+
BOARD = "board",
|
|
341
|
+
kyc = "kyc"
|
|
322
342
|
}
|
|
323
|
-
export type FlowInfo = {
|
|
343
|
+
export declare type FlowInfo = {
|
|
324
344
|
name: string;
|
|
325
345
|
status: string;
|
|
326
346
|
url: string;
|
|
@@ -331,12 +351,24 @@ export declare enum AuthForType {
|
|
|
331
351
|
NATIONAL_ID = "national_id",
|
|
332
352
|
NATIONAL_ID_MISSED = "national_id_missed"
|
|
333
353
|
}
|
|
354
|
+
export declare enum AuthTypeNumber {
|
|
355
|
+
EMAIL_OTP = 5,
|
|
356
|
+
MOBILE_OTP = 2,
|
|
357
|
+
PASSWORD = 1,
|
|
358
|
+
MIGRATION = 10,
|
|
359
|
+
RESET_PASSWORD = 7
|
|
360
|
+
}
|
|
361
|
+
export declare enum MigrationStatus {
|
|
362
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
363
|
+
MIGRATED = "MIGRATED",
|
|
364
|
+
FAILED = "FAILED"
|
|
365
|
+
}
|
|
334
366
|
export declare enum AddressFormateType {
|
|
335
367
|
SELECT = "select",
|
|
336
368
|
NUMBER = "number",
|
|
337
369
|
TEXT = "text"
|
|
338
370
|
}
|
|
339
|
-
export type AddressFormat = {
|
|
371
|
+
export declare type AddressFormat = {
|
|
340
372
|
code: string;
|
|
341
373
|
name: {
|
|
342
374
|
ar: string;
|
|
@@ -347,14 +379,14 @@ export type AddressFormat = {
|
|
|
347
379
|
sort: number;
|
|
348
380
|
type: AddressFormateType;
|
|
349
381
|
};
|
|
350
|
-
export type AddressType = {
|
|
382
|
+
export declare type AddressType = {
|
|
351
383
|
code: string;
|
|
352
384
|
name: {
|
|
353
385
|
ar: string;
|
|
354
386
|
en: string;
|
|
355
387
|
};
|
|
356
388
|
};
|
|
357
|
-
export type AddressProps = {
|
|
389
|
+
export declare type AddressProps = {
|
|
358
390
|
format: AddressFormat[];
|
|
359
391
|
type: AddressType;
|
|
360
392
|
};
|
|
@@ -381,12 +413,13 @@ export declare enum DocumentPurpose {
|
|
|
381
413
|
CR = "commercial_registration",
|
|
382
414
|
ARTICLE_ASSOCIATION = "article_of_association",
|
|
383
415
|
BANK_STATEMENT = "bank_statement",
|
|
416
|
+
BANK_CERTIFICATE = "bank_certificate",
|
|
384
417
|
IDENTITY_DOCUMENT = "identity_document",
|
|
385
418
|
CUSTOMER_SIGNATURE = "customer_signature",
|
|
386
419
|
TAX_DOCUMENT = "tax_document_user_upload",
|
|
387
420
|
BRAND_LOGO = "business_logo"
|
|
388
421
|
}
|
|
389
|
-
export type FileDetails = {
|
|
422
|
+
export declare type FileDetails = {
|
|
390
423
|
created: string;
|
|
391
424
|
id: string;
|
|
392
425
|
object: string;
|
|
@@ -401,7 +434,7 @@ export declare enum VerificationStatus {
|
|
|
401
434
|
ENTERED = "entered",
|
|
402
435
|
NOT_ENTERED = "not_entered"
|
|
403
436
|
}
|
|
404
|
-
export type BankDataStatus = {
|
|
437
|
+
export declare type BankDataStatus = {
|
|
405
438
|
iban: FieldType;
|
|
406
439
|
account_number: FieldType;
|
|
407
440
|
swift_code: FieldType;
|
|
@@ -410,7 +443,7 @@ export type BankDataStatus = {
|
|
|
410
443
|
bank_statement_file_id: FieldType;
|
|
411
444
|
is_acknowledged: FieldType;
|
|
412
445
|
};
|
|
413
|
-
export type EntityDataStatus = {
|
|
446
|
+
export declare type EntityDataStatus = {
|
|
414
447
|
type: FieldType;
|
|
415
448
|
'license.status': FieldType;
|
|
416
449
|
'license.provider': FieldType;
|
|
@@ -439,7 +472,7 @@ export type EntityDataStatus = {
|
|
|
439
472
|
billing_address: FieldType;
|
|
440
473
|
AOA_file_id: FieldType;
|
|
441
474
|
};
|
|
442
|
-
export type IndividualDataStatus = {
|
|
475
|
+
export declare type IndividualDataStatus = {
|
|
443
476
|
status: FieldType;
|
|
444
477
|
'name.en': FieldType;
|
|
445
478
|
'name.ar': FieldType;
|
|
@@ -465,7 +498,7 @@ export type IndividualDataStatus = {
|
|
|
465
498
|
is_influencer: FieldType;
|
|
466
499
|
gender: FieldType;
|
|
467
500
|
};
|
|
468
|
-
export type BrandDataStatus = {
|
|
501
|
+
export declare type BrandDataStatus = {
|
|
469
502
|
status: FieldType;
|
|
470
503
|
'name.en': FieldType;
|
|
471
504
|
'name.ar': FieldType;
|
|
@@ -541,7 +574,7 @@ export interface ActivitiesIsIc {
|
|
|
541
574
|
created: string;
|
|
542
575
|
divisions?: Array<ActivityDivision>;
|
|
543
576
|
}
|
|
544
|
-
export type BankDataVerification = {
|
|
577
|
+
export declare type BankDataVerification = {
|
|
545
578
|
account_number: string;
|
|
546
579
|
bank_name: string;
|
|
547
580
|
bank_statement_file_id: string;
|
|
@@ -551,7 +584,7 @@ export type BankDataVerification = {
|
|
|
551
584
|
is_acknowledged: string;
|
|
552
585
|
swift_code: string;
|
|
553
586
|
};
|
|
554
|
-
export type BrandDataVerification = {
|
|
587
|
+
export declare type BrandDataVerification = {
|
|
555
588
|
logo: string;
|
|
556
589
|
'name.en': string;
|
|
557
590
|
'name.ar': string;
|
|
@@ -569,7 +602,7 @@ export type BrandDataVerification = {
|
|
|
569
602
|
'segment.tech_type': string;
|
|
570
603
|
terms: string;
|
|
571
604
|
};
|
|
572
|
-
export type EntityDataVerification = {
|
|
605
|
+
export declare type EntityDataVerification = {
|
|
573
606
|
AOA_file_id: string;
|
|
574
607
|
billing_address: string;
|
|
575
608
|
'capital.announced': string;
|
|
@@ -596,7 +629,7 @@ export type EntityDataVerification = {
|
|
|
596
629
|
taxable: string;
|
|
597
630
|
type: string;
|
|
598
631
|
};
|
|
599
|
-
export type IndividualDataVerification = {
|
|
632
|
+
export declare type IndividualDataVerification = {
|
|
600
633
|
'birth.city': string;
|
|
601
634
|
'birth.country': string;
|
|
602
635
|
'birth.date': string;
|
|
@@ -642,8 +675,9 @@ export interface EventPageTrackingData extends CommonDataLayer {
|
|
|
642
675
|
}
|
|
643
676
|
export interface PageTrackingData {
|
|
644
677
|
title?: string;
|
|
678
|
+
connect_flow?: string;
|
|
645
679
|
}
|
|
646
|
-
export type VerifyExpressTokenParams = {
|
|
680
|
+
export declare type VerifyExpressTokenParams = {
|
|
647
681
|
public_key: string;
|
|
648
682
|
post: {
|
|
649
683
|
url: string;
|
|
@@ -679,6 +713,8 @@ export interface AuthMerchantInfo {
|
|
|
679
713
|
terminal_id: string;
|
|
680
714
|
acceptance_status: string;
|
|
681
715
|
payout_status: string;
|
|
716
|
+
board_id: string;
|
|
717
|
+
board_info_id: string;
|
|
682
718
|
}
|
|
683
719
|
export interface AuthTerminalInfo {
|
|
684
720
|
id: string;
|
|
@@ -728,21 +764,25 @@ interface TerminalAuthorizes {
|
|
|
728
764
|
status: string;
|
|
729
765
|
status_message: string;
|
|
730
766
|
}
|
|
731
|
-
export type CountryInfo = {
|
|
767
|
+
export declare type CountryInfo = {
|
|
732
768
|
id: number;
|
|
733
769
|
label: string;
|
|
734
770
|
country: {
|
|
771
|
+
id: number;
|
|
735
772
|
name_en: string;
|
|
736
773
|
name_ar: string;
|
|
737
774
|
iso2: string;
|
|
738
775
|
iso3: string;
|
|
739
776
|
idd_prefix: string;
|
|
740
777
|
logo: string;
|
|
778
|
+
min_digits: number;
|
|
779
|
+
max_digits: number;
|
|
741
780
|
};
|
|
742
781
|
};
|
|
743
|
-
export type BusinessCountryInfo = {
|
|
782
|
+
export declare type BusinessCountryInfo = {
|
|
744
783
|
id: number;
|
|
745
784
|
title: string;
|
|
785
|
+
title_ar: string;
|
|
746
786
|
countries: Array<CountryInfo>;
|
|
747
787
|
};
|
|
748
788
|
export {};
|
package/build/@types/app.js
CHANGED
|
@@ -34,6 +34,7 @@ export var FlowsTypes;
|
|
|
34
34
|
FlowsTypes["OTP"] = "otp";
|
|
35
35
|
FlowsTypes["BRAND"] = "brand";
|
|
36
36
|
FlowsTypes["BOARD"] = "board";
|
|
37
|
+
FlowsTypes["kyc"] = "kyc";
|
|
37
38
|
})(FlowsTypes || (FlowsTypes = {}));
|
|
38
39
|
export var AuthForType;
|
|
39
40
|
(function (AuthForType) {
|
|
@@ -42,6 +43,20 @@ export var AuthForType;
|
|
|
42
43
|
AuthForType["NATIONAL_ID"] = "national_id";
|
|
43
44
|
AuthForType["NATIONAL_ID_MISSED"] = "national_id_missed";
|
|
44
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 = {}));
|
|
45
60
|
export var AddressFormateType;
|
|
46
61
|
(function (AddressFormateType) {
|
|
47
62
|
AddressFormateType["SELECT"] = "select";
|
|
@@ -71,6 +86,7 @@ export var DocumentPurpose;
|
|
|
71
86
|
DocumentPurpose["CR"] = "commercial_registration";
|
|
72
87
|
DocumentPurpose["ARTICLE_ASSOCIATION"] = "article_of_association";
|
|
73
88
|
DocumentPurpose["BANK_STATEMENT"] = "bank_statement";
|
|
89
|
+
DocumentPurpose["BANK_CERTIFICATE"] = "bank_certificate";
|
|
74
90
|
DocumentPurpose["IDENTITY_DOCUMENT"] = "identity_document";
|
|
75
91
|
DocumentPurpose["CUSTOMER_SIGNATURE"] = "customer_signature";
|
|
76
92
|
DocumentPurpose["TAX_DOCUMENT"] = "tax_document_user_upload";
|
package/build/@types/config.d.ts
CHANGED
|
@@ -18,6 +18,10 @@ export interface PaymentProvider {
|
|
|
18
18
|
interface Redirect {
|
|
19
19
|
url: string;
|
|
20
20
|
}
|
|
21
|
+
export interface SDKNotification {
|
|
22
|
+
email: boolean;
|
|
23
|
+
mobile?: boolean;
|
|
24
|
+
}
|
|
21
25
|
interface Interface {
|
|
22
26
|
locale?: 'dynamic' | 'ar' | 'en';
|
|
23
27
|
edges?: 'straight' | 'curved';
|
|
@@ -32,4 +36,14 @@ interface Lead {
|
|
|
32
36
|
interface Operator {
|
|
33
37
|
public_key: string;
|
|
34
38
|
}
|
|
39
|
+
declare type RecordType = Record<string, any>;
|
|
40
|
+
export interface SettingAsyncData {
|
|
41
|
+
fingerPrint: RecordType;
|
|
42
|
+
locale: RecordType;
|
|
43
|
+
country_list: RecordType;
|
|
44
|
+
ip_info: RecordType;
|
|
45
|
+
merchant: RecordType;
|
|
46
|
+
operator: RecordType;
|
|
47
|
+
config: RecordType;
|
|
48
|
+
}
|
|
35
49
|
export {};
|
package/build/@types/form.d.ts
CHANGED
|
@@ -1,47 +1,53 @@
|
|
|
1
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 = {
|
|
2
|
+
export declare type MobileFormValues = {
|
|
3
3
|
mobile: string;
|
|
4
4
|
countryCode: CountryCode;
|
|
5
5
|
termAndConditionChecked?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export type EmailFormValues = {
|
|
7
|
+
export declare type EmailFormValues = {
|
|
8
8
|
email: string | null;
|
|
9
9
|
};
|
|
10
|
-
export type OTPFormValues = {
|
|
10
|
+
export declare type OTPFormValues = {
|
|
11
11
|
otp: string;
|
|
12
12
|
};
|
|
13
|
-
export type PasswordFormValues = {
|
|
13
|
+
export declare type PasswordFormValues = {
|
|
14
14
|
password: string;
|
|
15
15
|
};
|
|
16
|
-
export type NIDFormValues = {
|
|
16
|
+
export declare type NIDFormValues = {
|
|
17
17
|
nid: string;
|
|
18
|
-
dob
|
|
18
|
+
dob?: any;
|
|
19
19
|
termAndConditionChecked?: boolean;
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export declare type DOBFormValues = {
|
|
22
|
+
dob: any;
|
|
23
|
+
};
|
|
24
|
+
export declare type CivilFormValues = {
|
|
22
25
|
civilId: string;
|
|
23
26
|
termAndConditionChecked?: boolean;
|
|
24
27
|
};
|
|
25
|
-
export type
|
|
28
|
+
export declare type AuthEmailFormValues = {
|
|
29
|
+
email: string;
|
|
30
|
+
};
|
|
31
|
+
export declare type IndividualFormValues = {
|
|
26
32
|
name: string;
|
|
27
33
|
email: string;
|
|
28
34
|
mobile: string | null;
|
|
29
35
|
countryCode: CountryCode;
|
|
30
36
|
};
|
|
31
|
-
export type BrandFormValues = {
|
|
37
|
+
export declare 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 type BrandSegmentFormValues = {
|
|
44
|
+
export declare 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 type BrandActivitiesFormValues = {
|
|
50
|
+
export declare type BrandActivitiesFormValues = {
|
|
45
51
|
activities: Array<Activity>;
|
|
46
52
|
customerLocations: Array<CustomerLocation>;
|
|
47
53
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
@@ -50,7 +56,7 @@ export type BrandActivitiesFormValues = {
|
|
|
50
56
|
refundPolicy: boolean;
|
|
51
57
|
transactionPolicy: boolean;
|
|
52
58
|
};
|
|
53
|
-
export type BusinessTypeFormValues = {
|
|
59
|
+
export declare type BusinessTypeFormValues = {
|
|
54
60
|
licenseNumber: string;
|
|
55
61
|
entityLegalName?: string;
|
|
56
62
|
selectedEntityLicense?: EntityLicense;
|
|
@@ -58,18 +64,18 @@ export type BusinessTypeFormValues = {
|
|
|
58
64
|
certificateId?: Array<string>;
|
|
59
65
|
articleId?: string;
|
|
60
66
|
};
|
|
61
|
-
export type ActivitiesFormValues = {
|
|
67
|
+
export declare type ActivitiesFormValues = {
|
|
62
68
|
activities: Array<Activity> | undefined;
|
|
63
69
|
operationStartDate: string;
|
|
64
70
|
};
|
|
65
|
-
export type CustomersFormValues = {
|
|
71
|
+
export declare 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 type BankFormValues = {
|
|
78
|
+
export declare type BankFormValues = {
|
|
73
79
|
iban: string;
|
|
74
80
|
beneficiaryName: string;
|
|
75
81
|
bankName: string;
|
|
@@ -77,7 +83,7 @@ export type BankFormValues = {
|
|
|
77
83
|
uploading?: boolean;
|
|
78
84
|
confirmPolicy: boolean;
|
|
79
85
|
};
|
|
80
|
-
export type TaxFormValues = {
|
|
86
|
+
export declare type TaxFormValues = {
|
|
81
87
|
vatId: string;
|
|
82
88
|
confirmPolicy: boolean;
|
|
83
89
|
documentId?: Array<string>;
|
|
@@ -111,17 +117,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
111
117
|
shareValue: string;
|
|
112
118
|
isAuthorized: boolean;
|
|
113
119
|
}
|
|
114
|
-
export type IndividualAttachmentsFormValues = {
|
|
120
|
+
export declare type IndividualAttachmentsFormValues = {
|
|
115
121
|
civilID?: Array<string>;
|
|
116
122
|
signatureFileId?: Array<string>;
|
|
117
123
|
civilIDUploading?: boolean;
|
|
118
124
|
signatureFileUploading?: boolean;
|
|
119
125
|
};
|
|
120
|
-
export type PasswordCreateFormValues = {
|
|
126
|
+
export declare type PasswordCreateFormValues = {
|
|
121
127
|
password: string;
|
|
122
128
|
confirmPassword: string;
|
|
123
129
|
};
|
|
124
|
-
export type EntityNameFormValues = {
|
|
130
|
+
export declare type EntityNameFormValues = {
|
|
125
131
|
legalName: string;
|
|
126
132
|
licenseNumber: string;
|
|
127
133
|
licenseType: string;
|
|
@@ -132,25 +138,29 @@ export type EntityNameFormValues = {
|
|
|
132
138
|
certificateId?: Array<string>;
|
|
133
139
|
articleId?: string;
|
|
134
140
|
};
|
|
135
|
-
export type EntityCapitalFormValues = {
|
|
141
|
+
export declare type EntityCapitalFormValues = {
|
|
136
142
|
activities: Array<Activity>;
|
|
137
143
|
capitalPaid: string;
|
|
138
144
|
capitalShareCount: string;
|
|
139
145
|
capitalShareValue: string;
|
|
140
146
|
};
|
|
141
|
-
export type BusinessDataFormValues = {
|
|
147
|
+
export declare type BusinessDataFormValues = {
|
|
142
148
|
brandName: string;
|
|
143
149
|
licenseNumber: string;
|
|
144
150
|
selectedLicense?: License;
|
|
145
151
|
termAndConditionChecked?: boolean;
|
|
146
152
|
};
|
|
147
|
-
export type AuthenticationListFormValues = {
|
|
153
|
+
export declare type AuthenticationListFormValues = {
|
|
148
154
|
brandInfo?: BrandInfo;
|
|
149
155
|
entityInfo?: EntityLicenseAuth;
|
|
150
156
|
licenseNumber?: string;
|
|
151
157
|
legalName?: string;
|
|
152
158
|
licenseType?: string;
|
|
153
159
|
};
|
|
154
|
-
export type AuthMerchantFormValues = {
|
|
160
|
+
export declare type AuthMerchantFormValues = {
|
|
155
161
|
merchantInfo?: AuthMerchantInfo;
|
|
156
162
|
};
|
|
163
|
+
export declare type MobileOwnershipFormValues = {
|
|
164
|
+
mobile: string;
|
|
165
|
+
countryCode: CountryCode;
|
|
166
|
+
};
|
package/build/@types/redux.d.ts
CHANGED
package/build/@types/theme.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare enum DirectionMode {
|
|
|
11
11
|
RTL = "rtl",
|
|
12
12
|
LTR = "ltr"
|
|
13
13
|
}
|
|
14
|
-
export type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
14
|
+
export declare type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
15
15
|
export declare enum DialogEdgeFormat {
|
|
16
16
|
STRAIGHT = "straight",
|
|
17
17
|
CURVED = "curved"
|
package/build/api/account.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PaymentProvider } from '../@types';
|
|
2
|
-
export type CreateAccountBody = {
|
|
1
|
+
import { PaymentProvider, SDKNotification } from '../@types';
|
|
2
|
+
export declare type CreateAccountBody = {
|
|
3
3
|
lead_id: string;
|
|
4
4
|
notify: {
|
|
5
5
|
email: boolean;
|
|
@@ -9,15 +9,18 @@ export type CreateAccountBody = {
|
|
|
9
9
|
is_acknowledged: boolean;
|
|
10
10
|
step_name: string;
|
|
11
11
|
};
|
|
12
|
-
export type ExpressCreateAccountBody = {
|
|
12
|
+
export declare type ExpressCreateAccountBody = {
|
|
13
13
|
post_url: string;
|
|
14
14
|
lead_id: string;
|
|
15
15
|
platforms?: string[];
|
|
16
16
|
payment_provider?: PaymentProvider;
|
|
17
|
+
notification?: SDKNotification;
|
|
17
18
|
};
|
|
18
19
|
declare const accountService: {
|
|
19
20
|
createAccount: (data: CreateAccountBody) => Promise<any>;
|
|
20
21
|
expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
|
|
21
22
|
checkAccountAvailability: (individualId: string) => Promise<any>;
|
|
23
|
+
checkAccountAvailabilityStatus: (individualId: string) => Promise<any>;
|
|
24
|
+
checkMigrationStatus: (jobId: string) => Promise<any>;
|
|
22
25
|
};
|
|
23
26
|
export { accountService };
|
package/build/api/account.js
CHANGED
|
@@ -20,9 +20,23 @@ var checkAccountAvailability = function (individualId) {
|
|
|
20
20
|
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts")
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
|
+
var checkAccountAvailabilityStatus = function (individualId) {
|
|
24
|
+
return httpClient({
|
|
25
|
+
method: 'get',
|
|
26
|
+
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts?data=status")
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
var checkMigrationStatus = function (jobId) {
|
|
30
|
+
return httpClient({
|
|
31
|
+
method: 'get',
|
|
32
|
+
url: "".concat(ENDPOINT_PATHS.MIGRATION_STATUS, "/").concat(jobId)
|
|
33
|
+
});
|
|
34
|
+
};
|
|
23
35
|
var accountService = {
|
|
24
36
|
createAccount: createAccount,
|
|
25
37
|
expressCreateAccount: expressCreateAccount,
|
|
26
|
-
checkAccountAvailability: checkAccountAvailability
|
|
38
|
+
checkAccountAvailability: checkAccountAvailability,
|
|
39
|
+
checkAccountAvailabilityStatus: checkAccountAvailabilityStatus,
|
|
40
|
+
checkMigrationStatus: checkMigrationStatus
|
|
27
41
|
};
|
|
28
42
|
export { accountService };
|
package/build/api/auth.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { LanguageMode } from '../@types';
|
|
3
|
-
export type MobileCredential = {
|
|
2
|
+
import { ConfigInfo, LanguageMode } from '../@types';
|
|
3
|
+
export declare type MobileCredential = {
|
|
4
4
|
code: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
};
|
|
7
|
-
export type EmailCredential = {
|
|
7
|
+
export declare type EmailCredential = {
|
|
8
8
|
email: string;
|
|
9
9
|
};
|
|
10
|
-
export type IDCredential = {
|
|
10
|
+
export declare type IDCredential = {
|
|
11
11
|
country_code?: string;
|
|
12
12
|
identification_id: string;
|
|
13
13
|
identification_id_type?: string;
|
|
14
14
|
date_of_birth?: string;
|
|
15
15
|
};
|
|
16
|
-
export type CivilID = {
|
|
16
|
+
export declare type CivilID = {
|
|
17
17
|
identification_id: string;
|
|
18
18
|
country_code: string;
|
|
19
19
|
};
|
|
20
|
-
export type CreateAuthBody = {
|
|
20
|
+
export declare type CreateAuthBody = {
|
|
21
21
|
country: string;
|
|
22
22
|
scope: string;
|
|
23
23
|
user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
|
|
@@ -29,8 +29,39 @@ export type CreateAuthBody = {
|
|
|
29
29
|
encryption_contract: Array<string>;
|
|
30
30
|
lang?: LanguageMode;
|
|
31
31
|
lead_id?: string;
|
|
32
|
+
board_id?: string;
|
|
33
|
+
user_id?: string;
|
|
32
34
|
};
|
|
33
|
-
export type
|
|
35
|
+
export declare type CreateNafathAuthBody = {
|
|
36
|
+
country: string;
|
|
37
|
+
scope: string;
|
|
38
|
+
user_credentail: IDCredential;
|
|
39
|
+
auth_type?: number;
|
|
40
|
+
email_url?: string;
|
|
41
|
+
sign_in?: boolean;
|
|
42
|
+
is_lead?: boolean;
|
|
43
|
+
step_name?: string;
|
|
44
|
+
encryption_contract: Array<string>;
|
|
45
|
+
lang?: LanguageMode;
|
|
46
|
+
lead_id?: string;
|
|
47
|
+
board_id?: string;
|
|
48
|
+
user_id?: string;
|
|
49
|
+
};
|
|
50
|
+
export declare type CreateKYCAuthBody = {
|
|
51
|
+
country: string;
|
|
52
|
+
scope: string;
|
|
53
|
+
auth_type?: number;
|
|
54
|
+
email_url?: string;
|
|
55
|
+
sign_in?: boolean;
|
|
56
|
+
is_lead?: boolean;
|
|
57
|
+
step_name?: string;
|
|
58
|
+
encryption_contract: Array<string>;
|
|
59
|
+
lang?: LanguageMode;
|
|
60
|
+
lead_id?: string;
|
|
61
|
+
board_id?: string;
|
|
62
|
+
user_id?: string;
|
|
63
|
+
};
|
|
64
|
+
export declare type VerifyAuthBody = {
|
|
34
65
|
auth_token: string;
|
|
35
66
|
auth_type: number;
|
|
36
67
|
data: string;
|
|
@@ -39,33 +70,34 @@ export type VerifyAuthBody = {
|
|
|
39
70
|
service_name: string;
|
|
40
71
|
new_user?: boolean;
|
|
41
72
|
sign_in: boolean;
|
|
73
|
+
is_lead?: boolean;
|
|
42
74
|
encryption_contract: Array<string>;
|
|
43
75
|
remember_me?: boolean;
|
|
44
76
|
lead_id?: string;
|
|
45
77
|
terms?: Array<string>;
|
|
46
78
|
};
|
|
47
|
-
export type VerifyOperationAuthBody = {
|
|
79
|
+
export declare type VerifyOperationAuthBody = {
|
|
48
80
|
auth_token: string;
|
|
49
81
|
auth_type: number;
|
|
50
82
|
};
|
|
51
|
-
export type ResetPasswordCredential = {
|
|
83
|
+
export declare type ResetPasswordCredential = {
|
|
52
84
|
otp: string;
|
|
53
85
|
new_password: string;
|
|
54
86
|
};
|
|
55
|
-
export type ResetPasswordVerifyAuthBody = {
|
|
87
|
+
export declare type ResetPasswordVerifyAuthBody = {
|
|
56
88
|
auth_token: string;
|
|
57
89
|
auth_type: number;
|
|
58
90
|
step_name: string;
|
|
59
91
|
user_credentail: ResetPasswordCredential;
|
|
60
92
|
encryption_contract: Array<string>;
|
|
61
93
|
};
|
|
62
|
-
export type CreatePasswordBody = {
|
|
94
|
+
export declare type CreatePasswordBody = {
|
|
63
95
|
password: string;
|
|
64
96
|
signup_token?: string;
|
|
65
97
|
step_name: string;
|
|
66
98
|
encryption_contract: Array<string>;
|
|
67
99
|
};
|
|
68
|
-
export type VerifyAuthExpressOTPBody = {
|
|
100
|
+
export declare type VerifyAuthExpressOTPBody = {
|
|
69
101
|
auth_token?: string;
|
|
70
102
|
verify_token?: string;
|
|
71
103
|
lead_id?: string;
|
|
@@ -80,30 +112,13 @@ export type VerifyAuthExpressOTPBody = {
|
|
|
80
112
|
terms?: Array<string>;
|
|
81
113
|
encryption_contract: Array<string>;
|
|
82
114
|
};
|
|
83
|
-
export type getExpressTokenVerifyParams = {
|
|
115
|
+
export declare type getExpressTokenVerifyParams = {
|
|
84
116
|
token: string;
|
|
85
117
|
leadId: string;
|
|
86
118
|
};
|
|
87
|
-
export type ConfigBody =
|
|
88
|
-
board: boolean;
|
|
89
|
-
public_key: string;
|
|
90
|
-
domain: string;
|
|
91
|
-
language: string;
|
|
92
|
-
country: string;
|
|
93
|
-
scope: string;
|
|
94
|
-
lead_id: string;
|
|
95
|
-
maturity: boolean;
|
|
96
|
-
board_maturity?: boolean;
|
|
97
|
-
notification?: {
|
|
98
|
-
email: boolean;
|
|
99
|
-
sms: boolean;
|
|
100
|
-
};
|
|
101
|
-
post?: {
|
|
102
|
-
url: string;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
119
|
+
export declare type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
|
|
105
120
|
declare const authService: {
|
|
106
|
-
createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
121
|
+
createAuth: (data: CreateAuthBody | CreateKYCAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
107
122
|
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
108
123
|
createPassword: (data: CreatePasswordBody) => Promise<any>;
|
|
109
124
|
verifyExpressAuth: (data: VerifyAuthExpressOTPBody) => Promise<any>;
|