@tap-payments/auth-jsconnect 2.6.56-test → 2.6.59-test
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 +21 -19
- package/build/@types/app.js +1 -1
- package/build/@types/form.d.ts +21 -21
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +3 -2
- package/build/api/account.js +8 -1
- package/build/api/auth.d.ts +18 -11
- package/build/api/auth.js +6 -1
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +11 -11
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +8 -8
- package/build/api/file.d.ts +1 -1
- package/build/api/index.d.ts +5 -3
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +14 -11
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +4 -3
- package/build/api/operator.js +3 -3
- package/build/api/user.d.ts +2 -2
- package/build/app/rootReducer.d.ts +1 -0
- package/build/app/rootReducer.js +2 -0
- package/build/app/settings.d.ts +21 -3
- package/build/app/settings.js +4 -3
- package/build/app/store.d.ts +6 -4
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Error.d.ts +1 -2
- package/build/components/AnimationFlow/Loader.d.ts +1 -2
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +1 -2
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -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/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/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +1 -0
- package/build/constants/api.js +2 -0
- package/build/constants/app.d.ts +11 -1
- package/build/constants/app.js +53 -0
- package/build/features/app/auth/authStore.d.ts +189 -0
- package/build/features/app/auth/authStore.js +729 -0
- package/build/features/app/bank/bankStore.d.ts +92 -11
- package/build/features/app/bank/bankStore.js +6 -5
- package/build/features/app/board/boardStore.d.ts +41 -5
- package/build/features/app/board/boardStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +142 -16
- package/build/features/app/brand/brandStore.js +6 -5
- package/build/features/app/business/businessStore.d.ts +162 -18
- package/build/features/app/business/businessStore.js +38 -29
- package/build/features/app/connect/connectStore.d.ts +151 -16
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +261 -27
- package/build/features/app/connectExpress/connectExpressStore.js +50 -40
- package/build/features/app/entity/entityStore.d.ts +92 -11
- package/build/features/app/entity/entityStore.js +6 -5
- package/build/features/app/individual/individualStore.d.ts +185 -23
- package/build/features/app/individual/individualStore.js +6 -5
- package/build/features/app/password/passwordStore.d.ts +112 -13
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +61 -7
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +82 -10
- package/build/features/app/tax/taxStore.js +6 -5
- package/build/features/auth/Auth.d.ts +8 -0
- package/build/features/auth/Auth.js +93 -0
- package/build/features/auth/index.d.ts +1 -0
- package/build/features/auth/index.js +1 -0
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +5 -0
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +91 -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/EntityList.d.ts +11 -0
- package/build/features/auth/screens/AuthenticationList/EntityList.js +96 -0
- package/build/features/auth/screens/AuthenticationList/MerchantList.d.ts +10 -0
- package/build/features/auth/screens/AuthenticationList/MerchantList.js +107 -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 +14 -0
- package/build/features/auth/screens/AuthenticationList/validation.js +8 -0
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +105 -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 +88 -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/Mobile/Mobile.d.ts +5 -0
- package/build/features/auth/screens/Mobile/Mobile.js +108 -0
- package/build/features/auth/screens/Mobile/MobileNumber.d.ts +13 -0
- package/build/features/auth/screens/Mobile/MobileNumber.js +158 -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 +30 -0
- package/build/features/auth/screens/NID/DOB.d.ts +6 -0
- package/build/features/auth/screens/NID/DOB.js +47 -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 +92 -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 +11 -0
- package/build/features/auth/screens/NID/validation.js +11 -0
- package/build/features/auth/screens/OTP/OTP.d.ts +5 -0
- package/build/features/auth/screens/OTP/OTP.js +87 -0
- package/build/features/auth/screens/OTP/OTPInput.d.ts +5 -0
- package/build/features/auth/screens/OTP/OTPInput.js +57 -0
- package/build/features/auth/screens/OTP/index.d.ts +3 -0
- package/build/features/auth/screens/OTP/index.js +2 -0
- package/build/features/auth/screens/OTP/validation.d.ts +8 -0
- package/build/features/auth/screens/OTP/validation.js +4 -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 +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +1 -2
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -58
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +10 -31
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -8
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- 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/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +19 -70
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +9 -30
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +1 -2
- 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/OTP/OTP.d.ts +1 -1
- package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +1 -2
- package/build/features/connect/Connect.js +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +1 -1
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/NID/DOB.d.ts +1 -2
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
- package/build/features/connectExpress/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +6 -28
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
- 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/MobileNumber.js +2 -2
- 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/NID/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
- package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +15 -58
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/featuresScreens.d.ts +1 -0
- package/build/features/featuresScreens.js +40 -3
- package/build/features/individual/Individual.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +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/SignatureFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +6 -28
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/password/Password.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
- package/build/features/shared/Address/Address.d.ts +1 -2
- package/build/features/shared/Address/CountryList.d.ts +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 +1 -1
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/AbsherButton.d.ts +1 -2
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.js +1 -1
- 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/SuccessButton.d.ts +1 -2
- package/build/features/shared/Calender/Calender.d.ts +1 -2
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
- package/build/features/shared/Chip/Chip.d.ts +1 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +6 -14
- package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/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 +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- 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/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +1 -2
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/hooks/useAppDispatch.d.ts +1 -0
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/index.d.ts +3 -2
- package/build/index.js +3 -1
- package/build/utils/array.js +1 -1
- package/build/utils/common.d.ts +1 -0
- package/build/utils/common.js +8 -1
- package/build/utils/string.d.ts +1 -0
- package/build/utils/string.js +3 -0
- package/package.json +1 -1
package/build/@types/app.d.ts
CHANGED
|
@@ -207,6 +207,7 @@ interface LibCallbacks {
|
|
|
207
207
|
onCreated?: (res: Record<string, any>) => void;
|
|
208
208
|
onBoardCompleted?: () => void;
|
|
209
209
|
onMaturityChanged?: (maturity: 'full' | 'express') => void;
|
|
210
|
+
storeBoardId?: (boardId: string) => void;
|
|
210
211
|
}
|
|
211
212
|
export interface LibConfig extends LibCallbacks {
|
|
212
213
|
publicKey: string;
|
|
@@ -275,7 +276,7 @@ export interface LocalProps {
|
|
|
275
276
|
};
|
|
276
277
|
};
|
|
277
278
|
}
|
|
278
|
-
export
|
|
279
|
+
export type BrandInfo = {
|
|
279
280
|
segment?: {
|
|
280
281
|
type: {
|
|
281
282
|
id: string;
|
|
@@ -303,6 +304,7 @@ export declare type BrandInfo = {
|
|
|
303
304
|
export declare enum FlowsTypes {
|
|
304
305
|
CONNECT_EXPRESS = "connect_express",
|
|
305
306
|
CONNECT = "connect",
|
|
307
|
+
AUTH = "auth",
|
|
306
308
|
BANK = "bank",
|
|
307
309
|
BUSINESS = "business",
|
|
308
310
|
INDIVIDUAL = "individual",
|
|
@@ -310,11 +312,10 @@ export declare enum FlowsTypes {
|
|
|
310
312
|
TAX = "tax",
|
|
311
313
|
ENTITY = "entity",
|
|
312
314
|
OTP = "otp",
|
|
313
|
-
AUTH = "auth",
|
|
314
315
|
BRAND = "brand",
|
|
315
316
|
BOARD = "board"
|
|
316
317
|
}
|
|
317
|
-
export
|
|
318
|
+
export type FlowInfo = {
|
|
318
319
|
name: string;
|
|
319
320
|
status: string;
|
|
320
321
|
url: string;
|
|
@@ -330,7 +331,7 @@ export declare enum AddressFormateType {
|
|
|
330
331
|
NUMBER = "number",
|
|
331
332
|
TEXT = "text"
|
|
332
333
|
}
|
|
333
|
-
export
|
|
334
|
+
export type AddressFormat = {
|
|
334
335
|
code: string;
|
|
335
336
|
name: {
|
|
336
337
|
ar: string;
|
|
@@ -341,14 +342,14 @@ export declare type AddressFormat = {
|
|
|
341
342
|
sort: number;
|
|
342
343
|
type: AddressFormateType;
|
|
343
344
|
};
|
|
344
|
-
export
|
|
345
|
+
export type AddressType = {
|
|
345
346
|
code: string;
|
|
346
347
|
name: {
|
|
347
348
|
ar: string;
|
|
348
349
|
en: string;
|
|
349
350
|
};
|
|
350
351
|
};
|
|
351
|
-
export
|
|
352
|
+
export type AddressProps = {
|
|
352
353
|
format: AddressFormat[];
|
|
353
354
|
type: AddressType;
|
|
354
355
|
};
|
|
@@ -380,7 +381,7 @@ export declare enum DocumentPurpose {
|
|
|
380
381
|
TAX_DOCUMENT = "tax_document_user_upload",
|
|
381
382
|
BRAND_LOGO = "business_logo"
|
|
382
383
|
}
|
|
383
|
-
export
|
|
384
|
+
export type FileDetails = {
|
|
384
385
|
created: string;
|
|
385
386
|
id: string;
|
|
386
387
|
object: string;
|
|
@@ -395,7 +396,7 @@ export declare enum VerificationStatus {
|
|
|
395
396
|
ENTERED = "entered",
|
|
396
397
|
NOT_ENTERED = "not_entered"
|
|
397
398
|
}
|
|
398
|
-
export
|
|
399
|
+
export type BankDataStatus = {
|
|
399
400
|
iban: FieldType;
|
|
400
401
|
account_number: FieldType;
|
|
401
402
|
swift_code: FieldType;
|
|
@@ -404,7 +405,7 @@ export declare type BankDataStatus = {
|
|
|
404
405
|
bank_statement_file_id: FieldType;
|
|
405
406
|
is_acknowledged: FieldType;
|
|
406
407
|
};
|
|
407
|
-
export
|
|
408
|
+
export type EntityDataStatus = {
|
|
408
409
|
type: FieldType;
|
|
409
410
|
'license.status': FieldType;
|
|
410
411
|
'license.provider': FieldType;
|
|
@@ -433,7 +434,7 @@ export declare type EntityDataStatus = {
|
|
|
433
434
|
billing_address: FieldType;
|
|
434
435
|
AOA_file_id: FieldType;
|
|
435
436
|
};
|
|
436
|
-
export
|
|
437
|
+
export type IndividualDataStatus = {
|
|
437
438
|
status: FieldType;
|
|
438
439
|
'name.en': FieldType;
|
|
439
440
|
'name.ar': FieldType;
|
|
@@ -459,7 +460,7 @@ export declare type IndividualDataStatus = {
|
|
|
459
460
|
is_influencer: FieldType;
|
|
460
461
|
gender: FieldType;
|
|
461
462
|
};
|
|
462
|
-
export
|
|
463
|
+
export type BrandDataStatus = {
|
|
463
464
|
status: FieldType;
|
|
464
465
|
'name.en': FieldType;
|
|
465
466
|
'name.ar': FieldType;
|
|
@@ -535,7 +536,7 @@ export interface ActivitiesIsIc {
|
|
|
535
536
|
created: string;
|
|
536
537
|
divisions?: Array<ActivityDivision>;
|
|
537
538
|
}
|
|
538
|
-
export
|
|
539
|
+
export type BankDataVerification = {
|
|
539
540
|
account_number: string;
|
|
540
541
|
bank_name: string;
|
|
541
542
|
bank_statement_file_id: string;
|
|
@@ -545,7 +546,7 @@ export declare type BankDataVerification = {
|
|
|
545
546
|
is_acknowledged: string;
|
|
546
547
|
swift_code: string;
|
|
547
548
|
};
|
|
548
|
-
export
|
|
549
|
+
export type BrandDataVerification = {
|
|
549
550
|
logo: string;
|
|
550
551
|
'name.en': string;
|
|
551
552
|
'name.ar': string;
|
|
@@ -563,7 +564,7 @@ export declare type BrandDataVerification = {
|
|
|
563
564
|
'segment.tech_type': string;
|
|
564
565
|
terms: string;
|
|
565
566
|
};
|
|
566
|
-
export
|
|
567
|
+
export type EntityDataVerification = {
|
|
567
568
|
AOA_file_id: string;
|
|
568
569
|
billing_address: string;
|
|
569
570
|
'capital.announced': string;
|
|
@@ -590,7 +591,7 @@ export declare type EntityDataVerification = {
|
|
|
590
591
|
taxable: string;
|
|
591
592
|
type: string;
|
|
592
593
|
};
|
|
593
|
-
export
|
|
594
|
+
export type IndividualDataVerification = {
|
|
594
595
|
'birth.city': string;
|
|
595
596
|
'birth.country': string;
|
|
596
597
|
'birth.date': string;
|
|
@@ -637,14 +638,14 @@ export interface EventPageTrackingData extends CommonDataLayer {
|
|
|
637
638
|
export interface PageTrackingData {
|
|
638
639
|
title?: string;
|
|
639
640
|
}
|
|
640
|
-
export
|
|
641
|
+
export type VerifyExpressTokenParams = {
|
|
641
642
|
public_key: string;
|
|
642
643
|
post: {
|
|
643
644
|
url: string;
|
|
644
645
|
};
|
|
645
646
|
lead_id: string;
|
|
646
647
|
};
|
|
647
|
-
export
|
|
648
|
+
export type ConfigExpressTokenParams = {
|
|
648
649
|
post: {
|
|
649
650
|
url: string;
|
|
650
651
|
};
|
|
@@ -653,6 +654,7 @@ export declare type ConfigExpressTokenParams = {
|
|
|
653
654
|
platform_redirect_url: string;
|
|
654
655
|
data: Array<string>;
|
|
655
656
|
};
|
|
657
|
+
export type ConfigAuthTokenParams = ConfigExpressTokenParams;
|
|
656
658
|
export declare enum MerchantStatus {
|
|
657
659
|
DISABLED = "disabled",
|
|
658
660
|
ENABLED = "enabled"
|
|
@@ -731,7 +733,7 @@ interface TerminalAuthorizes {
|
|
|
731
733
|
status: string;
|
|
732
734
|
status_message: string;
|
|
733
735
|
}
|
|
734
|
-
export
|
|
736
|
+
export type CountryInfo = {
|
|
735
737
|
id: number;
|
|
736
738
|
label: string;
|
|
737
739
|
country: {
|
|
@@ -743,7 +745,7 @@ export declare type CountryInfo = {
|
|
|
743
745
|
logo: string;
|
|
744
746
|
};
|
|
745
747
|
};
|
|
746
|
-
export
|
|
748
|
+
export type BusinessCountryInfo = {
|
|
747
749
|
id: number;
|
|
748
750
|
title: string;
|
|
749
751
|
countries: Array<CountryInfo>;
|
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,7 +32,6 @@ 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
36
|
FlowsTypes["BOARD"] = "board";
|
|
37
37
|
})(FlowsTypes || (FlowsTypes = {}));
|
package/build/@types/form.d.ts
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense, EntityLicenseAuth, AuthMerchantInfo } from './app';
|
|
2
|
-
export
|
|
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
18
|
dob: string;
|
|
19
19
|
termAndConditionChecked?: boolean;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type CivilFormValues = {
|
|
22
22
|
civilId: string;
|
|
23
23
|
termAndConditionChecked?: boolean;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type IndividualFormValues = {
|
|
26
26
|
name: string;
|
|
27
27
|
email: string;
|
|
28
28
|
mobile: string | null;
|
|
29
29
|
countryCode: CountryCode;
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export type BrandFormValues = {
|
|
32
32
|
brandName: string;
|
|
33
33
|
brandLogoId?: string;
|
|
34
34
|
salesChannels: Array<SaleChannel>;
|
|
35
35
|
termAndConditionChecked?: boolean;
|
|
36
36
|
selectedBrandItem: BrandInfo;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type BrandSegmentFormValues = {
|
|
39
39
|
segmentLocation?: Segment | undefined;
|
|
40
40
|
segmentProfit?: Segment | undefined;
|
|
41
41
|
segmentTech?: Segment | undefined;
|
|
42
42
|
teamSize?: TeamSize | undefined;
|
|
43
43
|
};
|
|
44
|
-
export
|
|
44
|
+
export type BrandActivitiesFormValues = {
|
|
45
45
|
activities: Array<Activity>;
|
|
46
46
|
customerLocations: Array<CustomerLocation>;
|
|
47
47
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
@@ -50,7 +50,7 @@ export declare type BrandActivitiesFormValues = {
|
|
|
50
50
|
refundPolicy: boolean;
|
|
51
51
|
transactionPolicy: boolean;
|
|
52
52
|
};
|
|
53
|
-
export
|
|
53
|
+
export type BusinessTypeFormValues = {
|
|
54
54
|
licenseNumber: string;
|
|
55
55
|
entityLegalName?: string;
|
|
56
56
|
selectedEntityLicense?: EntityLicense;
|
|
@@ -58,18 +58,18 @@ export declare type BusinessTypeFormValues = {
|
|
|
58
58
|
certificateId?: Array<string>;
|
|
59
59
|
articleId?: string;
|
|
60
60
|
};
|
|
61
|
-
export
|
|
61
|
+
export type ActivitiesFormValues = {
|
|
62
62
|
activities: Array<Activity> | undefined;
|
|
63
63
|
operationStartDate: string;
|
|
64
64
|
};
|
|
65
|
-
export
|
|
65
|
+
export type CustomersFormValues = {
|
|
66
66
|
customerLocations: Array<CustomerLocation>;
|
|
67
67
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
68
68
|
expectedSale: ExpectedSaleRange | undefined;
|
|
69
69
|
refundPolicy: boolean;
|
|
70
70
|
transactionPolicy: boolean;
|
|
71
71
|
};
|
|
72
|
-
export
|
|
72
|
+
export type BankFormValues = {
|
|
73
73
|
iban: string;
|
|
74
74
|
beneficiaryName: string;
|
|
75
75
|
bankName: string;
|
|
@@ -77,7 +77,7 @@ export declare type BankFormValues = {
|
|
|
77
77
|
uploading?: boolean;
|
|
78
78
|
confirmPolicy: boolean;
|
|
79
79
|
};
|
|
80
|
-
export
|
|
80
|
+
export type TaxFormValues = {
|
|
81
81
|
vatId: string;
|
|
82
82
|
confirmPolicy: boolean;
|
|
83
83
|
documentId?: Array<string>;
|
|
@@ -110,17 +110,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
110
110
|
shareCount: string;
|
|
111
111
|
shareValue: string;
|
|
112
112
|
}
|
|
113
|
-
export
|
|
113
|
+
export type IndividualAttachmentsFormValues = {
|
|
114
114
|
civilID?: Array<string>;
|
|
115
115
|
signatureFileId?: Array<string>;
|
|
116
116
|
civilIDUploading?: boolean;
|
|
117
117
|
signatureFileUploading?: boolean;
|
|
118
118
|
};
|
|
119
|
-
export
|
|
119
|
+
export type PasswordCreateFormValues = {
|
|
120
120
|
password: string;
|
|
121
121
|
confirmPassword: string;
|
|
122
122
|
};
|
|
123
|
-
export
|
|
123
|
+
export type EntityNameFormValues = {
|
|
124
124
|
legalName: string;
|
|
125
125
|
licenseNumber: string;
|
|
126
126
|
licenseType: string;
|
|
@@ -131,19 +131,19 @@ export declare type EntityNameFormValues = {
|
|
|
131
131
|
certificateId?: Array<string>;
|
|
132
132
|
articleId?: string;
|
|
133
133
|
};
|
|
134
|
-
export
|
|
134
|
+
export type EntityCapitalFormValues = {
|
|
135
135
|
activities: Array<Activity>;
|
|
136
136
|
capitalPaid: string;
|
|
137
137
|
capitalShareCount: string;
|
|
138
138
|
capitalShareValue: string;
|
|
139
139
|
};
|
|
140
|
-
export
|
|
140
|
+
export type BusinessDataFormValues = {
|
|
141
141
|
brandName: string;
|
|
142
142
|
licenseNumber: string;
|
|
143
143
|
selectedLicense?: License;
|
|
144
144
|
termAndConditionChecked?: boolean;
|
|
145
145
|
};
|
|
146
|
-
export
|
|
146
|
+
export type AuthenticationListFormValues = {
|
|
147
147
|
brandInfo?: BrandInfo;
|
|
148
148
|
entityInfo?: EntityLicenseAuth;
|
|
149
149
|
merchantInfo?: AuthMerchantInfo;
|
package/build/@types/theme.d.ts
CHANGED
package/build/api/account.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type CreateAccountBody = {
|
|
2
2
|
lead_id: string;
|
|
3
3
|
notify: {
|
|
4
4
|
email: boolean;
|
|
@@ -8,12 +8,13 @@ export declare type CreateAccountBody = {
|
|
|
8
8
|
is_acknowledged: boolean;
|
|
9
9
|
step_name: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type ExpressCreateAccountBody = {
|
|
12
12
|
post_url: string;
|
|
13
13
|
lead_id: string;
|
|
14
14
|
};
|
|
15
15
|
declare const accountService: {
|
|
16
16
|
createAccount: (data: CreateAccountBody) => Promise<any>;
|
|
17
17
|
expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
|
|
18
|
+
checkAccountAvailability: (individualId: string) => Promise<any>;
|
|
18
19
|
};
|
|
19
20
|
export { accountService };
|
package/build/api/account.js
CHANGED
|
@@ -14,8 +14,15 @@ 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
|
+
};
|
|
17
23
|
var accountService = {
|
|
18
24
|
createAccount: createAccount,
|
|
19
|
-
expressCreateAccount: expressCreateAccount
|
|
25
|
+
expressCreateAccount: expressCreateAccount,
|
|
26
|
+
checkAccountAvailability: checkAccountAvailability
|
|
20
27
|
};
|
|
21
28
|
export { accountService };
|
package/build/api/auth.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { LanguageMode } from '../@types';
|
|
3
|
-
export
|
|
3
|
+
export type MobileCredential = {
|
|
4
4
|
code: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type EmailCredential = {
|
|
8
8
|
email: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export 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
|
|
16
|
+
export type CivilID = {
|
|
17
17
|
identification_id: string;
|
|
18
18
|
country_code: string;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type CreateAuthBody = {
|
|
21
21
|
country: string;
|
|
22
22
|
scope: string;
|
|
23
23
|
user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
|
|
@@ -30,7 +30,7 @@ export declare type CreateAuthBody = {
|
|
|
30
30
|
lang?: LanguageMode;
|
|
31
31
|
lead_id?: string;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type VerifyAuthBody = {
|
|
34
34
|
auth_token: string;
|
|
35
35
|
auth_type: number;
|
|
36
36
|
data: string;
|
|
@@ -41,29 +41,31 @@ export declare type VerifyAuthBody = {
|
|
|
41
41
|
sign_in: boolean;
|
|
42
42
|
encryption_contract: Array<string>;
|
|
43
43
|
remember_me?: boolean;
|
|
44
|
+
lead_id?: string;
|
|
45
|
+
terms?: Array<string>;
|
|
44
46
|
};
|
|
45
|
-
export
|
|
47
|
+
export type VerifyOperationAuthBody = {
|
|
46
48
|
auth_token: string;
|
|
47
49
|
auth_type: number;
|
|
48
50
|
};
|
|
49
|
-
export
|
|
51
|
+
export type ResetPasswordCredential = {
|
|
50
52
|
otp: string;
|
|
51
53
|
new_password: string;
|
|
52
54
|
};
|
|
53
|
-
export
|
|
55
|
+
export type ResetPasswordVerifyAuthBody = {
|
|
54
56
|
auth_token: string;
|
|
55
57
|
auth_type: number;
|
|
56
58
|
step_name: string;
|
|
57
59
|
user_credentail: ResetPasswordCredential;
|
|
58
60
|
encryption_contract: Array<string>;
|
|
59
61
|
};
|
|
60
|
-
export
|
|
62
|
+
export type CreatePasswordBody = {
|
|
61
63
|
password: string;
|
|
62
64
|
signup_token?: string;
|
|
63
65
|
step_name: string;
|
|
64
66
|
encryption_contract: Array<string>;
|
|
65
67
|
};
|
|
66
|
-
export
|
|
68
|
+
export type VerifyAuthExpressOTPBody = {
|
|
67
69
|
auth_token?: string;
|
|
68
70
|
verify_token?: string;
|
|
69
71
|
lead_id?: string;
|
|
@@ -78,6 +80,10 @@ export declare type VerifyAuthExpressOTPBody = {
|
|
|
78
80
|
terms?: Array<string>;
|
|
79
81
|
encryption_contract: Array<string>;
|
|
80
82
|
};
|
|
83
|
+
export type getExpressTokenVerifyParams = {
|
|
84
|
+
token: string;
|
|
85
|
+
leadId: string;
|
|
86
|
+
};
|
|
81
87
|
declare const authService: {
|
|
82
88
|
createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
83
89
|
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -90,5 +96,6 @@ declare const authService: {
|
|
|
90
96
|
verifyExpressLeadIdentity: (data: VerifyAuthExpressOTPBody) => Promise<any>;
|
|
91
97
|
createExpressLeadIdentityAuth: (data: CreateAuthBody) => Promise<any>;
|
|
92
98
|
getVerifyExpressAuth: (token: string, config?: AxiosRequestConfig) => Promise<any>;
|
|
99
|
+
getExpressTokenVerify: ({ token, leadId }: getExpressTokenVerifyParams, config?: AxiosRequestConfig) => Promise<any>;
|
|
93
100
|
};
|
|
94
101
|
export { authService };
|
package/build/api/auth.js
CHANGED
|
@@ -43,6 +43,10 @@ var verifyExpressAuth = function (data) {
|
|
|
43
43
|
var getVerifyExpressAuth = function (token, config) {
|
|
44
44
|
return httpClient(__assign({ method: 'get', url: "".concat(ENDPOINT_PATHS.Verify_Express_Auth_PACI_PATH, "/").concat(token) }, config));
|
|
45
45
|
};
|
|
46
|
+
var getExpressTokenVerify = function (_a, config) {
|
|
47
|
+
var token = _a.token, leadId = _a.leadId;
|
|
48
|
+
return httpClient(__assign({ method: 'get', url: "".concat(ENDPOINT_PATHS.EXPRESS_PATH, "/").concat(leadId).concat(ENDPOINT_PATHS.TOKEN_VERIFY, "/").concat(token) }, config));
|
|
49
|
+
};
|
|
46
50
|
var verifyExpressLeadIdentity = function (data) {
|
|
47
51
|
return httpClient({
|
|
48
52
|
method: 'put',
|
|
@@ -75,6 +79,7 @@ var authService = {
|
|
|
75
79
|
createExpressAuth: createExpressAuth,
|
|
76
80
|
verifyExpressLeadIdentity: verifyExpressLeadIdentity,
|
|
77
81
|
createExpressLeadIdentityAuth: createExpressLeadIdentityAuth,
|
|
78
|
-
getVerifyExpressAuth: getVerifyExpressAuth
|
|
82
|
+
getVerifyExpressAuth: getVerifyExpressAuth,
|
|
83
|
+
getExpressTokenVerify: getExpressTokenVerify
|
|
79
84
|
};
|
|
80
85
|
export { authService };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type CheckEmailBody = {
|
|
3
3
|
email: string | null;
|
|
4
4
|
country: string;
|
|
5
5
|
encryption_contract: Array<string>;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type CheckBrandBody = {
|
|
8
8
|
profile_name: string;
|
|
9
9
|
country_code: string;
|
|
10
10
|
encryption_contract: Array<string>;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type CheckIBanBody = {
|
|
13
13
|
iban_number: string;
|
|
14
14
|
encryption_contract?: Array<string>;
|
|
15
15
|
};
|
package/build/api/axios.js
CHANGED
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
17
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
package/build/api/board.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type UpdateBoardBody = {
|
|
2
2
|
id?: string;
|
|
3
3
|
infoId?: string;
|
|
4
4
|
step_name: string;
|
|
5
5
|
lang: string;
|
|
6
6
|
encryption_contract?: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type RetrieveBoardInfoBody = {
|
|
9
9
|
id: string;
|
|
10
10
|
infoId: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type UpdateBoardInfoBody = {
|
|
13
13
|
id: string;
|
|
14
14
|
infoId: string;
|
|
15
15
|
step_name: string;
|
package/build/api/brand.d.ts
CHANGED
package/build/api/country.d.ts
CHANGED
package/build/api/data.d.ts
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
|
|
2
|
+
type GetOccupationBody = {
|
|
3
3
|
page: number;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type GetSegmentsBody = {
|
|
6
6
|
page: number;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type GetTeamSizeBody = {
|
|
9
9
|
page: number;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type SegmentDataListBody = {
|
|
12
12
|
page: number;
|
|
13
13
|
limit: number;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
type GetMonthlyIncomeBody = {
|
|
16
16
|
page: number;
|
|
17
17
|
country_code: Array<string>;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type DataElementBody = {
|
|
20
20
|
id: string;
|
|
21
21
|
name: {
|
|
22
22
|
en: string;
|
|
23
23
|
ar: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
type GetCustomerBasesBody = {
|
|
27
27
|
page: number;
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
type GetExpectedSalesBody = {
|
|
30
30
|
page: number;
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
type GetExpectedCustomerSalesBody = {
|
|
33
33
|
page: number;
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
type GetSourceOfIncomeBody = {
|
|
36
36
|
page: number;
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
type GetChannelsOfServicesBody = {
|
|
39
39
|
page: number;
|
|
40
40
|
};
|
|
41
41
|
declare const dataService: {
|
package/build/api/document.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type DocumentInfo = {
|
|
2
2
|
type?: string;
|
|
3
3
|
number?: string;
|
|
4
4
|
issuing_country?: string;
|
|
@@ -6,7 +6,7 @@ export declare type DocumentInfo = {
|
|
|
6
6
|
expiry_date?: string;
|
|
7
7
|
images: Array<string>;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type DocumentUpdateBody = {
|
|
10
10
|
entity_id?: boolean;
|
|
11
11
|
individual_type_id?: number;
|
|
12
12
|
country?: string;
|