@tap-payments/auth-jsconnect 2.8.61-development → 2.8.62-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/app.d.ts +17 -17
- package/build/@types/config.d.ts +1 -1
- package/build/@types/form.d.ts +23 -23
- package/build/@types/redux.d.ts +0 -1
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +13 -13
- 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 +12 -12
- package/build/api/entity.js +4 -12
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/index.d.ts +2 -2
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +12 -12
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +2 -2
- package/build/app/settings.d.ts +21 -3
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +4 -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/Tooltip/Tooltip.js +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +1 -0
- package/build/constants/api.js +2 -0
- package/build/constants/app.d.ts +3 -1
- package/build/constants/app.js +2 -0
- package/build/features/app/auth/authStore.d.ts +201 -21
- package/build/features/app/auth/authStore.js +1 -1
- package/build/features/app/bank/bankStore.d.ts +110 -23
- package/build/features/app/bank/bankStore.js +166 -184
- package/build/features/app/board/boardStore.d.ts +41 -5
- package/build/features/app/board/boardStore.js +17 -19
- package/build/features/app/brand/brandStore.d.ts +172 -31
- package/build/features/app/brand/brandStore.js +240 -244
- package/build/features/app/business/businessStore.d.ts +162 -18
- package/build/features/app/business/businessStore.js +2 -8
- 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 +281 -29
- package/build/features/app/connectExpress/connectExpressStore.js +1 -1
- package/build/features/app/entity/entityStore.d.ts +125 -30
- package/build/features/app/entity/entityStore.js +250 -205
- package/build/features/app/individual/individualStore.d.ts +220 -39
- package/build/features/app/individual/individualStore.js +271 -222
- package/build/features/app/password/passwordStore.d.ts +145 -31
- package/build/features/app/password/passwordStore.js +217 -171
- 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 +88 -22
- package/build/features/app/tax/taxStore.js +148 -169
- package/build/features/auth/Auth.d.ts +1 -2
- package/build/features/auth/Auth.js +1 -1
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +5 -27
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/Email/Email.d.ts +1 -1
- package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
- package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/auth/screens/NID/DOB.d.ts +1 -2
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/auth/screens/Password/Password.d.ts +1 -1
- package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- 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/BankDetails.js +4 -17
- package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +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/OperatorError/OperatorError.d.ts +1 -1
- 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/BrandActivities.js +11 -48
- 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/BrandInfo.js +4 -22
- 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/BrandSegmentInfo.js +6 -22
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.js +1 -9
- 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/Customers.js +1 -9
- 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 +10 -31
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -3
- 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/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/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 +2 -8
- 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/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 +1 -2
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +5 -27
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +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/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/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/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/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/EntityCapital/EntityCapital.js +9 -33
- package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityName.js +14 -31
- 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/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/individual/Individual.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +10 -43
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +5 -27
- 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/IndividualList.js +0 -7
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualList/UserList.js +3 -3
- 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/IndividualPersonalInfo.js +18 -73
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/password/Password.d.ts +1 -2
- package/build/features/password/Password.js +2 -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/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +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 +2 -8
- 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/SignIn.js +2 -10
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +1 -2
- package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +2 -7
- 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/index.d.ts +0 -1
- package/build/hooks/index.js +0 -1
- 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/utils/array.js +1 -1
- package/build/utils/common.js +4 -4
- package/package.json +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +0 -10
- package/build/hooks/useFormDirtyCheck.js +0 -66
package/build/@types/app.d.ts
CHANGED
|
@@ -294,7 +294,7 @@ export interface LocalProps {
|
|
|
294
294
|
};
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
export
|
|
297
|
+
export type BrandInfo = {
|
|
298
298
|
segment?: {
|
|
299
299
|
type: {
|
|
300
300
|
id: string;
|
|
@@ -334,7 +334,7 @@ export declare enum FlowsTypes {
|
|
|
334
334
|
BRAND = "brand",
|
|
335
335
|
BOARD = "board"
|
|
336
336
|
}
|
|
337
|
-
export
|
|
337
|
+
export type FlowInfo = {
|
|
338
338
|
name: string;
|
|
339
339
|
status: string;
|
|
340
340
|
url: string;
|
|
@@ -362,7 +362,7 @@ export declare enum AddressFormateType {
|
|
|
362
362
|
NUMBER = "number",
|
|
363
363
|
TEXT = "text"
|
|
364
364
|
}
|
|
365
|
-
export
|
|
365
|
+
export type AddressFormat = {
|
|
366
366
|
code: string;
|
|
367
367
|
name: {
|
|
368
368
|
ar: string;
|
|
@@ -373,14 +373,14 @@ export declare type AddressFormat = {
|
|
|
373
373
|
sort: number;
|
|
374
374
|
type: AddressFormateType;
|
|
375
375
|
};
|
|
376
|
-
export
|
|
376
|
+
export type AddressType = {
|
|
377
377
|
code: string;
|
|
378
378
|
name: {
|
|
379
379
|
ar: string;
|
|
380
380
|
en: string;
|
|
381
381
|
};
|
|
382
382
|
};
|
|
383
|
-
export
|
|
383
|
+
export type AddressProps = {
|
|
384
384
|
format: AddressFormat[];
|
|
385
385
|
type: AddressType;
|
|
386
386
|
};
|
|
@@ -413,7 +413,7 @@ export declare enum DocumentPurpose {
|
|
|
413
413
|
TAX_DOCUMENT = "tax_document_user_upload",
|
|
414
414
|
BRAND_LOGO = "business_logo"
|
|
415
415
|
}
|
|
416
|
-
export
|
|
416
|
+
export type FileDetails = {
|
|
417
417
|
created: string;
|
|
418
418
|
id: string;
|
|
419
419
|
object: string;
|
|
@@ -428,7 +428,7 @@ export declare enum VerificationStatus {
|
|
|
428
428
|
ENTERED = "entered",
|
|
429
429
|
NOT_ENTERED = "not_entered"
|
|
430
430
|
}
|
|
431
|
-
export
|
|
431
|
+
export type BankDataStatus = {
|
|
432
432
|
iban: FieldType;
|
|
433
433
|
account_number: FieldType;
|
|
434
434
|
swift_code: FieldType;
|
|
@@ -437,7 +437,7 @@ export declare type BankDataStatus = {
|
|
|
437
437
|
bank_statement_file_id: FieldType;
|
|
438
438
|
is_acknowledged: FieldType;
|
|
439
439
|
};
|
|
440
|
-
export
|
|
440
|
+
export type EntityDataStatus = {
|
|
441
441
|
type: FieldType;
|
|
442
442
|
'license.status': FieldType;
|
|
443
443
|
'license.provider': FieldType;
|
|
@@ -466,7 +466,7 @@ export declare type EntityDataStatus = {
|
|
|
466
466
|
billing_address: FieldType;
|
|
467
467
|
AOA_file_id: FieldType;
|
|
468
468
|
};
|
|
469
|
-
export
|
|
469
|
+
export type IndividualDataStatus = {
|
|
470
470
|
status: FieldType;
|
|
471
471
|
'name.en': FieldType;
|
|
472
472
|
'name.ar': FieldType;
|
|
@@ -492,7 +492,7 @@ export declare type IndividualDataStatus = {
|
|
|
492
492
|
is_influencer: FieldType;
|
|
493
493
|
gender: FieldType;
|
|
494
494
|
};
|
|
495
|
-
export
|
|
495
|
+
export type BrandDataStatus = {
|
|
496
496
|
status: FieldType;
|
|
497
497
|
'name.en': FieldType;
|
|
498
498
|
'name.ar': FieldType;
|
|
@@ -568,7 +568,7 @@ export interface ActivitiesIsIc {
|
|
|
568
568
|
created: string;
|
|
569
569
|
divisions?: Array<ActivityDivision>;
|
|
570
570
|
}
|
|
571
|
-
export
|
|
571
|
+
export type BankDataVerification = {
|
|
572
572
|
account_number: string;
|
|
573
573
|
bank_name: string;
|
|
574
574
|
bank_statement_file_id: string;
|
|
@@ -578,7 +578,7 @@ export declare type BankDataVerification = {
|
|
|
578
578
|
is_acknowledged: string;
|
|
579
579
|
swift_code: string;
|
|
580
580
|
};
|
|
581
|
-
export
|
|
581
|
+
export type BrandDataVerification = {
|
|
582
582
|
logo: string;
|
|
583
583
|
'name.en': string;
|
|
584
584
|
'name.ar': string;
|
|
@@ -596,7 +596,7 @@ export declare type BrandDataVerification = {
|
|
|
596
596
|
'segment.tech_type': string;
|
|
597
597
|
terms: string;
|
|
598
598
|
};
|
|
599
|
-
export
|
|
599
|
+
export type EntityDataVerification = {
|
|
600
600
|
AOA_file_id: string;
|
|
601
601
|
billing_address: string;
|
|
602
602
|
'capital.announced': string;
|
|
@@ -623,7 +623,7 @@ export declare type EntityDataVerification = {
|
|
|
623
623
|
taxable: string;
|
|
624
624
|
type: string;
|
|
625
625
|
};
|
|
626
|
-
export
|
|
626
|
+
export type IndividualDataVerification = {
|
|
627
627
|
'birth.city': string;
|
|
628
628
|
'birth.country': string;
|
|
629
629
|
'birth.date': string;
|
|
@@ -671,7 +671,7 @@ export interface PageTrackingData {
|
|
|
671
671
|
title?: string;
|
|
672
672
|
connect_flow?: string;
|
|
673
673
|
}
|
|
674
|
-
export
|
|
674
|
+
export type VerifyExpressTokenParams = {
|
|
675
675
|
public_key: string;
|
|
676
676
|
post: {
|
|
677
677
|
url: string;
|
|
@@ -756,7 +756,7 @@ interface TerminalAuthorizes {
|
|
|
756
756
|
status: string;
|
|
757
757
|
status_message: string;
|
|
758
758
|
}
|
|
759
|
-
export
|
|
759
|
+
export type CountryInfo = {
|
|
760
760
|
id: number;
|
|
761
761
|
label: string;
|
|
762
762
|
country: {
|
|
@@ -771,7 +771,7 @@ export declare type CountryInfo = {
|
|
|
771
771
|
max_digits: number;
|
|
772
772
|
};
|
|
773
773
|
};
|
|
774
|
-
export
|
|
774
|
+
export type BusinessCountryInfo = {
|
|
775
775
|
id: number;
|
|
776
776
|
title: string;
|
|
777
777
|
countries: Array<CountryInfo>;
|
package/build/@types/config.d.ts
CHANGED
package/build/@types/form.d.ts
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
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 AuthEmailFormValues = {
|
|
26
26
|
email: string;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type IndividualFormValues = {
|
|
29
29
|
name: string;
|
|
30
30
|
email: string;
|
|
31
31
|
mobile: string | null;
|
|
32
32
|
countryCode: CountryCode;
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type BrandFormValues = {
|
|
35
35
|
brandName: string;
|
|
36
36
|
brandLogoId?: string;
|
|
37
37
|
salesChannels: Array<SaleChannel>;
|
|
38
38
|
termAndConditionChecked?: boolean;
|
|
39
39
|
selectedBrandItem: BrandInfo;
|
|
40
40
|
};
|
|
41
|
-
export
|
|
41
|
+
export type BrandSegmentFormValues = {
|
|
42
42
|
segmentLocation?: Segment | undefined;
|
|
43
43
|
segmentProfit?: Segment | undefined;
|
|
44
44
|
segmentTech?: Segment | undefined;
|
|
45
45
|
teamSize?: TeamSize | undefined;
|
|
46
46
|
};
|
|
47
|
-
export
|
|
47
|
+
export type BrandActivitiesFormValues = {
|
|
48
48
|
activities: Array<Activity>;
|
|
49
49
|
customerLocations: Array<CustomerLocation>;
|
|
50
50
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
@@ -53,7 +53,7 @@ export declare type BrandActivitiesFormValues = {
|
|
|
53
53
|
refundPolicy: boolean;
|
|
54
54
|
transactionPolicy: boolean;
|
|
55
55
|
};
|
|
56
|
-
export
|
|
56
|
+
export type BusinessTypeFormValues = {
|
|
57
57
|
licenseNumber: string;
|
|
58
58
|
entityLegalName?: string;
|
|
59
59
|
selectedEntityLicense?: EntityLicense;
|
|
@@ -61,18 +61,18 @@ export declare type BusinessTypeFormValues = {
|
|
|
61
61
|
certificateId?: Array<string>;
|
|
62
62
|
articleId?: string;
|
|
63
63
|
};
|
|
64
|
-
export
|
|
64
|
+
export type ActivitiesFormValues = {
|
|
65
65
|
activities: Array<Activity> | undefined;
|
|
66
66
|
operationStartDate: string;
|
|
67
67
|
};
|
|
68
|
-
export
|
|
68
|
+
export type CustomersFormValues = {
|
|
69
69
|
customerLocations: Array<CustomerLocation>;
|
|
70
70
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
71
71
|
expectedSale: ExpectedSaleRange | undefined;
|
|
72
72
|
refundPolicy: boolean;
|
|
73
73
|
transactionPolicy: boolean;
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export type BankFormValues = {
|
|
76
76
|
iban: string;
|
|
77
77
|
beneficiaryName: string;
|
|
78
78
|
bankName: string;
|
|
@@ -80,7 +80,7 @@ export declare type BankFormValues = {
|
|
|
80
80
|
uploading?: boolean;
|
|
81
81
|
confirmPolicy: boolean;
|
|
82
82
|
};
|
|
83
|
-
export
|
|
83
|
+
export type TaxFormValues = {
|
|
84
84
|
vatId: string;
|
|
85
85
|
confirmPolicy: boolean;
|
|
86
86
|
documentId?: Array<string>;
|
|
@@ -114,17 +114,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
114
114
|
shareValue: string;
|
|
115
115
|
isAuthorized: boolean;
|
|
116
116
|
}
|
|
117
|
-
export
|
|
117
|
+
export type IndividualAttachmentsFormValues = {
|
|
118
118
|
civilID?: Array<string>;
|
|
119
119
|
signatureFileId?: Array<string>;
|
|
120
120
|
civilIDUploading?: boolean;
|
|
121
121
|
signatureFileUploading?: boolean;
|
|
122
122
|
};
|
|
123
|
-
export
|
|
123
|
+
export type PasswordCreateFormValues = {
|
|
124
124
|
password: string;
|
|
125
125
|
confirmPassword: string;
|
|
126
126
|
};
|
|
127
|
-
export
|
|
127
|
+
export type EntityNameFormValues = {
|
|
128
128
|
legalName: string;
|
|
129
129
|
licenseNumber: string;
|
|
130
130
|
licenseType: string;
|
|
@@ -135,25 +135,25 @@ export declare type EntityNameFormValues = {
|
|
|
135
135
|
certificateId?: Array<string>;
|
|
136
136
|
articleId?: string;
|
|
137
137
|
};
|
|
138
|
-
export
|
|
138
|
+
export type EntityCapitalFormValues = {
|
|
139
139
|
activities: Array<Activity>;
|
|
140
140
|
capitalPaid: string;
|
|
141
141
|
capitalShareCount: string;
|
|
142
142
|
capitalShareValue: string;
|
|
143
143
|
};
|
|
144
|
-
export
|
|
144
|
+
export type BusinessDataFormValues = {
|
|
145
145
|
brandName: string;
|
|
146
146
|
licenseNumber: string;
|
|
147
147
|
selectedLicense?: License;
|
|
148
148
|
termAndConditionChecked?: boolean;
|
|
149
149
|
};
|
|
150
|
-
export
|
|
150
|
+
export type AuthenticationListFormValues = {
|
|
151
151
|
brandInfo?: BrandInfo;
|
|
152
152
|
entityInfo?: EntityLicenseAuth;
|
|
153
153
|
licenseNumber?: string;
|
|
154
154
|
legalName?: string;
|
|
155
155
|
licenseType?: string;
|
|
156
156
|
};
|
|
157
|
-
export
|
|
157
|
+
export type AuthMerchantFormValues = {
|
|
158
158
|
merchantInfo?: AuthMerchantInfo;
|
|
159
159
|
};
|
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
|
|
14
|
+
export 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
1
|
import { PaymentProvider } from '../@types';
|
|
2
|
-
export
|
|
2
|
+
export type CreateAccountBody = {
|
|
3
3
|
lead_id: string;
|
|
4
4
|
notify: {
|
|
5
5
|
email: boolean;
|
|
@@ -9,7 +9,7 @@ export declare type CreateAccountBody = {
|
|
|
9
9
|
is_acknowledged: boolean;
|
|
10
10
|
step_name: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type ExpressCreateAccountBody = {
|
|
13
13
|
post_url: string;
|
|
14
14
|
lead_id: string;
|
|
15
15
|
platforms?: string[];
|
package/build/api/auth.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { ConfigInfo, 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;
|
|
@@ -45,28 +45,28 @@ export declare type VerifyAuthBody = {
|
|
|
45
45
|
lead_id?: string;
|
|
46
46
|
terms?: Array<string>;
|
|
47
47
|
};
|
|
48
|
-
export
|
|
48
|
+
export type VerifyOperationAuthBody = {
|
|
49
49
|
auth_token: string;
|
|
50
50
|
auth_type: number;
|
|
51
51
|
};
|
|
52
|
-
export
|
|
52
|
+
export type ResetPasswordCredential = {
|
|
53
53
|
otp: string;
|
|
54
54
|
new_password: string;
|
|
55
55
|
};
|
|
56
|
-
export
|
|
56
|
+
export type ResetPasswordVerifyAuthBody = {
|
|
57
57
|
auth_token: string;
|
|
58
58
|
auth_type: number;
|
|
59
59
|
step_name: string;
|
|
60
60
|
user_credentail: ResetPasswordCredential;
|
|
61
61
|
encryption_contract: Array<string>;
|
|
62
62
|
};
|
|
63
|
-
export
|
|
63
|
+
export type CreatePasswordBody = {
|
|
64
64
|
password: string;
|
|
65
65
|
signup_token?: string;
|
|
66
66
|
step_name: string;
|
|
67
67
|
encryption_contract: Array<string>;
|
|
68
68
|
};
|
|
69
|
-
export
|
|
69
|
+
export type VerifyAuthExpressOTPBody = {
|
|
70
70
|
auth_token?: string;
|
|
71
71
|
verify_token?: string;
|
|
72
72
|
lead_id?: string;
|
|
@@ -81,11 +81,11 @@ export declare type VerifyAuthExpressOTPBody = {
|
|
|
81
81
|
terms?: Array<string>;
|
|
82
82
|
encryption_contract: Array<string>;
|
|
83
83
|
};
|
|
84
|
-
export
|
|
84
|
+
export type getExpressTokenVerifyParams = {
|
|
85
85
|
token: string;
|
|
86
86
|
leadId: string;
|
|
87
87
|
};
|
|
88
|
-
export
|
|
88
|
+
export type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
|
|
89
89
|
declare const authService: {
|
|
90
90
|
createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
91
91
|
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -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;
|
package/build/api/entity.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { PaymentProvider } from '../@types';
|
|
3
|
-
export
|
|
3
|
+
export type EntityInfoBody = {
|
|
4
4
|
id: string;
|
|
5
5
|
lead_id?: string;
|
|
6
6
|
activities?: Array<{
|
|
@@ -35,7 +35,7 @@ export declare type EntityInfoBody = {
|
|
|
35
35
|
encryption_contract?: Array<string>;
|
|
36
36
|
vat_acknowledged_by?: string;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type BankDocumentInfo = {
|
|
39
39
|
type?: string;
|
|
40
40
|
number?: string;
|
|
41
41
|
issuing_country?: string;
|
|
@@ -43,7 +43,7 @@ export declare type BankDocumentInfo = {
|
|
|
43
43
|
expiry_date?: string;
|
|
44
44
|
files: Array<string>;
|
|
45
45
|
};
|
|
46
|
-
export
|
|
46
|
+
export type EntityBankUpdateBody = {
|
|
47
47
|
wallet_id: string;
|
|
48
48
|
acknowledged_by?: string;
|
|
49
49
|
bank_account: {
|
|
@@ -59,7 +59,7 @@ export declare type EntityBankUpdateBody = {
|
|
|
59
59
|
step_name: string;
|
|
60
60
|
encryption_contract?: Array<string>;
|
|
61
61
|
};
|
|
62
|
-
export
|
|
62
|
+
export type UpdateEntityBody = {
|
|
63
63
|
id: string;
|
|
64
64
|
license?: {
|
|
65
65
|
type?: string;
|
|
@@ -89,13 +89,13 @@ export declare type UpdateEntityBody = {
|
|
|
89
89
|
};
|
|
90
90
|
encryption_contract?: Array<string>;
|
|
91
91
|
};
|
|
92
|
-
export
|
|
92
|
+
export type UpdateEntityActivityBody = {
|
|
93
93
|
id: string;
|
|
94
94
|
activities?: Array<{
|
|
95
95
|
id: string;
|
|
96
96
|
}>;
|
|
97
97
|
};
|
|
98
|
-
export
|
|
98
|
+
export type UpdateEntityCapitalBody = {
|
|
99
99
|
id: string;
|
|
100
100
|
capital: {
|
|
101
101
|
paid: string;
|
|
@@ -105,24 +105,24 @@ export declare type UpdateEntityCapitalBody = {
|
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
|
-
export
|
|
108
|
+
export type UpdateEntityAOAFileBody = {
|
|
109
109
|
id: string;
|
|
110
110
|
AOA_file_id: string;
|
|
111
111
|
};
|
|
112
|
-
export
|
|
112
|
+
export type RemoveEntityActivity = {
|
|
113
113
|
id: string;
|
|
114
114
|
activities?: Array<{
|
|
115
115
|
id: string;
|
|
116
116
|
}>;
|
|
117
117
|
};
|
|
118
|
-
export
|
|
118
|
+
export type MerchantListBody = {
|
|
119
119
|
business_entity_id: string;
|
|
120
120
|
brand_id: string;
|
|
121
121
|
create_if_not_present: boolean;
|
|
122
122
|
platforms?: Array<string>;
|
|
123
123
|
payment_provider?: PaymentProvider;
|
|
124
124
|
};
|
|
125
|
-
export
|
|
125
|
+
export type CreateEntityBody = {
|
|
126
126
|
business_id: string;
|
|
127
127
|
entity: {
|
|
128
128
|
legal_name: {
|
|
@@ -139,8 +139,8 @@ export declare type CreateEntityBody = {
|
|
|
139
139
|
};
|
|
140
140
|
declare const entityService: {
|
|
141
141
|
createEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
142
|
-
updateEntityInfo: ({ id, ...data }: EntityInfoBody) => Promise<any
|
|
143
|
-
createBankAccount: (data: EntityBankUpdateBody) => Promise<any
|
|
142
|
+
updateEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
143
|
+
createBankAccount: (data: EntityBankUpdateBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
144
144
|
retrieveBankAccount: (id: string) => Promise<any>;
|
|
145
145
|
retrieveEntityInfo: (entity_id: string, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
146
146
|
updateIndividualInfo: ({ id, ...data }: EntityInfoBody) => Promise<any>;
|
package/build/api/entity.js
CHANGED
|
@@ -18,13 +18,9 @@ var createEntityInfo = function (_a, config) {
|
|
|
18
18
|
var id = _a.id, data = __rest(_a, ["id"]);
|
|
19
19
|
return instance.post("".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id, "/info"), data, config);
|
|
20
20
|
};
|
|
21
|
-
var updateEntityInfo = function (_a) {
|
|
21
|
+
var updateEntityInfo = function (_a, config) {
|
|
22
22
|
var id = _a.id, data = __rest(_a, ["id"]);
|
|
23
|
-
return
|
|
24
|
-
method: 'put',
|
|
25
|
-
url: "".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id),
|
|
26
|
-
data: data
|
|
27
|
-
});
|
|
23
|
+
return instance.put("".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id), data, config);
|
|
28
24
|
};
|
|
29
25
|
var retrieveEntity = function (entity_id) {
|
|
30
26
|
return httpClient({
|
|
@@ -56,12 +52,8 @@ var updateEntityCapital = function (_a) {
|
|
|
56
52
|
data: data
|
|
57
53
|
});
|
|
58
54
|
};
|
|
59
|
-
var createBankAccount = function (data) {
|
|
60
|
-
return
|
|
61
|
-
method: 'put',
|
|
62
|
-
url: "".concat(ENDPOINT_PATHS.BANK),
|
|
63
|
-
data: data
|
|
64
|
-
});
|
|
55
|
+
var createBankAccount = function (data, config) {
|
|
56
|
+
return instance.put("".concat(ENDPOINT_PATHS.BANK), data, config);
|
|
65
57
|
};
|
|
66
58
|
var retrieveBankAccount = function (id) {
|
|
67
59
|
return httpClient({
|