@tap-payments/auth-jsconnect 2.4.17-test → 2.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/@types/app.d.ts +185 -18
- package/build/@types/app.js +7 -0
- package/build/@types/config.d.ts +35 -0
- package/build/@types/config.js +1 -0
- package/build/@types/form.d.ts +36 -23
- package/build/@types/index.d.ts +1 -0
- package/build/@types/index.js +1 -0
- package/build/@types/theme.d.ts +5 -1
- package/build/@types/theme.js +5 -0
- package/build/@types/user.d.ts +39 -3
- package/build/api/account.d.ts +5 -2
- package/build/api/account.js +1 -1
- package/build/api/auth.d.ts +17 -11
- package/build/api/auth.js +10 -1
- package/build/api/availabilityServices.d.ts +4 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +2 -1
- package/build/api/country.js +8 -1
- package/build/api/data.d.ts +17 -10
- package/build/api/data.js +26 -2
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +32 -8
- package/build/api/entity.js +37 -1
- package/build/api/file.d.ts +1 -1
- package/build/api/index.d.ts +29 -6
- package/build/api/individual.d.ts +26 -9
- package/build/api/individual.js +9 -1
- package/build/api/init.d.ts +2 -1
- package/build/api/lead.d.ts +18 -10
- package/build/api/lead.js +58 -1
- package/build/api/operator.d.ts +10 -1
- package/build/api/operator.js +10 -2
- package/build/api/user.d.ts +2 -2
- package/build/app/rootReducer.d.ts +1 -0
- package/build/app/rootReducer.js +3 -1
- package/build/app/settings.d.ts +37 -3
- package/build/app/settings.js +128 -43
- package/build/app/store.d.ts +6 -4
- package/build/assets/locales/ar.json +25 -1
- package/build/assets/locales/en.json +25 -1
- package/build/components/AnimationFlow/AnimationFlow.d.ts +10 -3
- package/build/components/AnimationFlow/AnimationFlow.js +4 -4
- package/build/components/AnimationFlow/BottomSheet.d.ts +5 -2
- package/build/components/AnimationFlow/BottomSheet.js +28 -6
- package/build/components/AnimationFlow/Dialog.d.ts +10 -2
- package/build/components/AnimationFlow/Dialog.js +6 -6
- 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 +5 -2
- package/build/components/ArabicDatePicker/ArabicDatePicker.js +45 -23
- package/build/components/ArabicDatePicker/arabicAr.d.ts +8 -0
- package/build/components/ArabicDatePicker/arabicAr.js +32 -0
- package/build/components/ArabicDatePicker/arabicEn.d.ts +8 -0
- package/build/components/ArabicDatePicker/arabicEn.js +32 -0
- package/build/components/ArabicDatePicker/style.css +45 -5
- 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 +2 -1
- package/build/components/DatePicker/DatePicker.js +12 -7
- package/build/components/ExpandIcon/ExpandIcon.d.ts +3 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/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 +2 -1
- package/build/components/SimpleList/SimpleList.js +12 -9
- 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 +10 -0
- package/build/constants/api.js +20 -1
- package/build/constants/app.d.ts +23 -1
- package/build/constants/app.js +116 -16
- package/build/constants/assets.d.ts +4 -0
- package/build/constants/assets.js +4 -0
- package/build/constants/dummy.d.ts +62 -0
- package/build/constants/dummy.js +603 -0
- package/build/constants/validation.d.ts +6 -2
- package/build/constants/validation.js +7 -3
- package/build/features/app/bank/bankStore.d.ts +93 -10
- package/build/features/app/bank/bankStore.js +80 -33
- package/build/features/app/board/boardStore.d.ts +69 -0
- package/build/features/app/board/boardStore.js +237 -0
- package/build/features/app/brand/brandStore.d.ts +159 -18
- package/build/features/app/brand/brandStore.js +257 -108
- package/build/features/app/business/businessStore.d.ts +171 -18
- package/build/features/app/business/businessStore.js +303 -206
- package/build/features/app/connect/connectStore.d.ts +166 -14
- package/build/features/app/connect/connectStore.js +279 -106
- package/build/features/app/connectExpress/connectExpressStore.d.ts +294 -25
- package/build/features/app/connectExpress/connectExpressStore.js +602 -112
- package/build/features/app/entity/entityStore.d.ts +98 -10
- package/build/features/app/entity/entityStore.js +158 -80
- package/build/features/app/individual/individualStore.d.ts +200 -28
- package/build/features/app/individual/individualStore.js +355 -230
- package/build/features/app/password/passwordStore.d.ts +114 -12
- package/build/features/app/password/passwordStore.js +113 -43
- 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 +83 -9
- package/build/features/app/tax/taxStore.js +79 -33
- package/build/features/bank/Bank.d.ts +2 -2
- package/build/features/bank/Bank.js +12 -7
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.js +2 -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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.js +3 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.js +2 -2
- package/build/features/board/Board.d.ts +9 -0
- package/build/features/board/Board.js +74 -0
- package/build/features/board/index.d.ts +1 -0
- package/build/features/board/index.js +1 -0
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -0
- package/build/features/board/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/board/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +35 -0
- package/build/features/board/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/board/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/board/screens/Verify/OTPInput.js +51 -0
- package/build/features/board/screens/Verify/Verify.d.ts +5 -0
- package/build/features/board/screens/Verify/Verify.js +74 -0
- package/build/features/board/screens/Verify/index.d.ts +2 -0
- package/build/features/board/screens/Verify/index.js +2 -0
- package/build/features/board/screens/Verify/validation.d.ts +8 -0
- package/build/features/board/screens/Verify/validation.js +4 -0
- package/build/features/brand/Brand.d.ts +2 -2
- package/build/features/brand/Brand.js +12 -7
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -31
- package/build/features/brand/screens/BrandActivities/ActivitiesList.js +21 -13
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +2 -1
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +6 -9
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +7 -9
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +10 -12
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +12 -20
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
- package/build/features/brand/screens/BrandActivities/validation.d.ts +36 -36
- package/build/features/brand/screens/BrandActivities/validation.js +5 -10
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +15 -34
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -4
- package/build/features/brand/screens/BrandInfo/BrandLogo.js +2 -14
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandName.js +7 -5
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/SalesChannels.js +4 -4
- package/build/features/brand/screens/BrandInfo/validation.d.ts +21 -6
- package/build/features/brand/screens/BrandInfo/validation.js +11 -10
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +4 -0
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +103 -0
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +9 -0
- package/build/features/brand/screens/{BrandInfo/Segments.js → BrandSegmentInfo/SegmentLocations.js} +6 -14
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +9 -0
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.js +69 -0
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +9 -0
- package/build/features/{connect/screens/Merchant/Segments.js → brand/screens/BrandSegmentInfo/SegmentTechs.js} +23 -25
- package/build/features/brand/screens/{BrandInfo → BrandSegmentInfo}/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/{BrandInfo → BrandSegmentInfo}/TeamSize.js +2 -10
- package/build/features/brand/screens/BrandSegmentInfo/index.d.ts +2 -0
- package/build/features/brand/screens/BrandSegmentInfo/index.js +2 -0
- package/build/features/brand/screens/BrandSegmentInfo/validation.d.ts +17 -0
- package/build/features/brand/screens/BrandSegmentInfo/validation.js +9 -0
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.js +3 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.js +2 -2
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/Business.js +5 -2
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.js +2 -1
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +14 -64
- package/build/features/business/screens/Activities/ActivitiesList.js +225 -94
- 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/Activities/OperationStartDate.js +2 -2
- package/build/features/business/screens/Activities/validation.d.ts +165 -30
- package/build/features/business/screens/Activities/validation.js +5 -2
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/BusinessType.js +14 -6
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.js +3 -6
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/EntityName.js +3 -3
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseList.js +6 -9
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -9
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +6 -6
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/BusinessType/validation.d.ts +10 -0
- package/build/features/business/screens/BusinessType/validation.js +18 -2
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/CivilID/CivilID.js +2 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +45 -33
- package/build/features/business/screens/Customers/CustomerLocations.js +33 -9
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/Customers.js +2 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedCustomers.js +4 -7
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +7 -10
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +11 -19
- 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/DOB.js +2 -2
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.js +6 -2
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.js +9 -17
- package/build/features/business/screens/IDBOD/validation.d.ts +10 -0
- package/build/features/business/screens/IDBOD/validation.js +4 -0
- package/build/features/business/screens/OTP/OTP.d.ts +1 -1
- package/build/features/business/screens/OTP/OTP.js +2 -2
- package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/business/screens/OTP/OTPInput.js +5 -2
- 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/OTPInput.js +3 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.js +2 -2
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +3 -2
- package/build/features/connect/Connect.js +99 -13
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +5 -0
- package/build/features/connect/screens/BrandSegment/BrandSegment.js +62 -0
- package/build/features/connect/screens/{Merchant → BrandSegment}/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/{Merchant → BrandSegment}/TeamSize.js +3 -8
- package/build/features/connect/screens/BrandSegment/index.d.ts +3 -0
- package/build/features/connect/screens/BrandSegment/index.js +2 -0
- package/build/features/connect/screens/BrandSegment/validation.d.ts +8 -0
- package/build/features/connect/screens/BrandSegment/validation.js +6 -0
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +103 -0
- package/build/features/connect/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/connect/screens/BusinessCountry/index.js +2 -0
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/CivilID/CivilID.js +7 -3
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Individual.js +9 -2
- 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/BrandList.js +4 -22
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +6 -3
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/Merchant.js +13 -16
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
- package/build/features/connect/screens/Merchant/SalesChannels.js +6 -6
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Merchant/validation.d.ts +0 -6
- package/build/features/connect/screens/Merchant/validation.js +10 -14
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.js +23 -22
- package/build/features/connect/screens/Mobile/MobileNumber.js +16 -6
- 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/DOB.js +3 -3
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/NID/NID.js +17 -4
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.js +14 -16
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.js +14 -2
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/connect/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/connect/screens/OperatorError/index.d.ts +3 -0
- package/build/features/connect/screens/OperatorError/index.js +2 -0
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.js +17 -2
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +2 -3
- package/build/features/connectExpress/ConnectExpress.js +87 -19
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +14 -2
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/index.d.ts +2 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/index.js +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.js +74 -0
- package/build/features/connectExpress/screens/AuthMerchant/MerchantList.d.ts +11 -0
- package/build/features/connectExpress/screens/AuthMerchant/MerchantList.js +64 -0
- package/build/features/connectExpress/screens/AuthMerchant/index.d.ts +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/index.js +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/AuthMerchant/validation.js +4 -0
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +5 -0
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +101 -0
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +10 -0
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.js +81 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +2 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.js +48 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +11 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +133 -0
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.js +36 -0
- package/build/features/connectExpress/screens/AuthenticationList/index.d.ts +3 -0
- package/build/features/connectExpress/screens/AuthenticationList/index.js +2 -0
- package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +17 -0
- package/build/features/connectExpress/screens/AuthenticationList/validation.js +58 -0
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +105 -0
- package/build/features/connectExpress/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/connectExpress/screens/BusinessCountry/index.js +2 -0
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.js +11 -4
- package/build/features/connectExpress/screens/CivilID/IDNumber.js +7 -2
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +3 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +6 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +13 -5
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +10 -12
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +9 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +6 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +13 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +72 -5
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +6 -2
- 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/OTP.js +4 -4
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +5 -3
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +2 -2
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.js +9 -5
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +9 -6
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.js +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NID/DOB.js +2 -2
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/NID.js +7 -3
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/DOB.js +2 -2
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +6 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.js +7 -4
- package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +10 -0
- package/build/features/connectExpress/screens/NIDMissed/validation.js +4 -0
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.js +3 -3
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.js +4 -2
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +15 -6
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +2 -2
- package/build/features/entity/Entity.js +12 -7
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +10 -25
- package/build/features/entity/screens/EntityCapital/ActivityList.js +46 -23
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +6 -12
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +5 -9
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +6 -12
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +2 -2
- package/build/features/entity/screens/EntityCapital/validation.d.ts +90 -90
- package/build/features/entity/screens/EntityCapital/validation.js +2 -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/EntityName.js +13 -6
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +16 -31
- package/build/features/entity/screens/EntityName/EntityTypeList.js +10 -9
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/ExpiryDate.js +3 -2
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.js +3 -2
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LegalName.js +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/LicenseNumber.js +6 -5
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/validation.d.ts +28 -0
- package/build/features/entity/screens/EntityName/validation.js +40 -2
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.js +3 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.js +2 -2
- package/build/features/featuresScreens.d.ts +1 -0
- package/build/features/featuresScreens.js +59 -2
- package/build/features/individual/Individual.d.ts +2 -2
- package/build/features/individual/Individual.js +12 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +22 -18
- 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/MonthlyIncome.js +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +91 -43
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +5 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +3 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +2 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +7 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +8 -7
- 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/IndividualList/UserList.js +10 -6
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +2 -10
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +2 -10
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +2 -2
- 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/ExpiryDate.js +2 -2
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +6 -6
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -2
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +10 -29
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +2 -10
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +2 -10
- package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +67 -63
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +2 -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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.js +3 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.js +2 -2
- package/build/features/password/Password.d.ts +2 -2
- package/build/features/password/Password.js +21 -6
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.js +3 -2
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTP.js +2 -2
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.js +5 -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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.js +3 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.js +2 -2
- 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 -30
- package/build/features/shared/Address/InputSelect.d.ts +14 -30
- 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 +14 -0
- package/build/features/shared/BusinessCountry/BusinessCountry.js +179 -0
- package/build/features/shared/BusinessCountry/index.d.ts +2 -0
- package/build/features/shared/BusinessCountry/index.js +2 -0
- package/build/features/shared/Button/AbsherButton.d.ts +1 -2
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/Button.js +8 -4
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
- package/build/features/shared/Button/EmailProvidersButtons.js +9 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +4 -3
- package/build/features/shared/Button/FlowsButtons.js +17 -13
- package/build/features/shared/Button/IndividualActionButtons.d.ts +5 -3
- package/build/features/shared/Button/IndividualActionButtons.js +26 -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 +12 -0
- package/build/features/shared/Calender/Calender.js +56 -0
- package/build/features/shared/Calender/index.d.ts +2 -0
- package/build/features/shared/Calender/index.js +2 -0
- 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 +4 -1
- package/build/features/shared/DataLoading/DataLoading.js +2 -2
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +7 -0
- package/build/features/shared/Dot/Dot.js +29 -0
- package/build/features/shared/Dot/index.d.ts +2 -0
- package/build/features/shared/Dot/index.js +2 -0
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/Footer.js +10 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +7 -16
- package/build/features/shared/Input/index.d.ts +2 -1
- package/build/features/shared/InputSelect/InputSelect.d.ts +3 -0
- package/build/features/shared/InputSelect/InputSelect.js +33 -0
- package/build/features/shared/InputSelect/index.d.ts +2 -0
- package/build/features/shared/InputSelect/index.js +2 -0
- 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 +3 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +20 -9
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.js +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +4 -4
- package/build/features/shared/UploadFile/FileUpload.js +2 -2
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -3
- package/build/features/shared/UploadFile/UploadWrapper.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +2 -2
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -3
- package/build/features/signIn/SignIn.d.ts +1 -2
- package/build/features/signIn/SignIn.js +1 -1
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Email/Email.js +2 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.js +2 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.js +2 -2
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.js +4 -2
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.js +2 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +2 -2
- package/build/features/tax/Tax.js +12 -7
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- 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 -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/OTPInput.js +3 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.js +2 -2
- package/build/hooks/useAppConfig.d.ts +4 -2
- package/build/hooks/useAppConfig.js +18 -18
- package/build/hooks/useAppDispatch.d.ts +1 -0
- package/build/hooks/useCountry.d.ts +1 -0
- package/build/hooks/useCountry.js +4 -3
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useErrorListener.d.ts +2 -1
- package/build/hooks/useErrorListener.js +16 -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/hooks/useVerifyToken.js +1 -1
- package/build/index.d.ts +3 -2
- package/build/index.js +4 -2
- package/build/utils/array.d.ts +13 -2
- package/build/utils/array.js +115 -2
- package/build/utils/common.d.ts +1 -0
- package/build/utils/common.js +10 -0
- package/build/utils/device.d.ts +2 -0
- package/build/utils/device.js +6 -0
- package/build/utils/gtm.d.ts +6 -0
- package/build/utils/gtm.js +29 -0
- package/build/utils/index.d.ts +1 -0
- package/build/utils/index.js +1 -0
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +14 -0
- package/build/utils/string.d.ts +1 -0
- package/build/utils/string.js +3 -0
- package/build/utils/validation.d.ts +2 -0
- package/build/utils/validation.js +6 -0
- package/package.json +4 -2
- package/build/features/brand/screens/BrandInfo/Segments.d.ts +0 -10
- package/build/features/connect/screens/Merchant/Segments.d.ts +0 -8
package/README.md
CHANGED
|
@@ -158,10 +158,10 @@ const App = () => {
|
|
|
158
158
|
| publicKey `required` - `string` | merchant public key |
|
|
159
159
|
| appInfo `required` | it's an object from type `AppInfo` |
|
|
160
160
|
| businessCountryCode `required` - `string` | merchant country code and it should be the ISO2 of the country |
|
|
161
|
+
| scope `required` - `string` | it's an string |
|
|
161
162
|
| language `required` - `string` | it can be `en`or `ar` |
|
|
162
163
|
| onError `required` - `function` | callback function will call in case of any error happened |
|
|
163
164
|
| onFlowCompleted `required` - `function` | callback function will called after completing the flow |
|
|
164
165
|
| onReady `required` - `function` | callback function will call after loading library configuration |
|
|
165
166
|
| onStepError `required` - `function` | callback function will call in case if any error happened in the screen |
|
|
166
167
|
| onStepStarted `required` - `function` | callback function will call in the begging of each step |
|
|
167
|
-
| scope `required` - `string` | it's an string |
|
package/build/@types/app.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { PaymentProvider } from './config';
|
|
3
|
+
import { LanguageMode, DialogEdgeFormat } from './theme';
|
|
3
4
|
export interface CountryCode {
|
|
4
5
|
created: number;
|
|
5
6
|
updated: number;
|
|
@@ -116,6 +117,10 @@ export interface License {
|
|
|
116
117
|
export interface EntityLicense extends License {
|
|
117
118
|
id: string;
|
|
118
119
|
}
|
|
120
|
+
export interface EntityLicenseAuth extends EntityLicense {
|
|
121
|
+
business_id: string;
|
|
122
|
+
country: string;
|
|
123
|
+
}
|
|
119
124
|
export interface Activity {
|
|
120
125
|
id: string;
|
|
121
126
|
name: {
|
|
@@ -145,10 +150,21 @@ export interface SourceOfIncome {
|
|
|
145
150
|
}
|
|
146
151
|
export interface Occupation {
|
|
147
152
|
id: string;
|
|
153
|
+
code: string;
|
|
148
154
|
name: {
|
|
149
155
|
ar: string;
|
|
150
156
|
en: string;
|
|
151
157
|
};
|
|
158
|
+
section_code?: string;
|
|
159
|
+
sub?: Array<{
|
|
160
|
+
id: string;
|
|
161
|
+
code: string;
|
|
162
|
+
name: {
|
|
163
|
+
ar: string;
|
|
164
|
+
en: string;
|
|
165
|
+
};
|
|
166
|
+
part_code: string;
|
|
167
|
+
}>;
|
|
152
168
|
}
|
|
153
169
|
export interface TeamSize {
|
|
154
170
|
id: string;
|
|
@@ -191,6 +207,7 @@ interface LibCallbacks {
|
|
|
191
207
|
onBoardButtonClick?: (data: Record<string, any>) => void;
|
|
192
208
|
onCreated?: (res: Record<string, any>) => void;
|
|
193
209
|
onBoardCompleted?: () => void;
|
|
210
|
+
onMaturityChanged?: (maturity: 'full' | 'express') => void;
|
|
194
211
|
}
|
|
195
212
|
export interface LibConfig extends LibCallbacks {
|
|
196
213
|
publicKey: string;
|
|
@@ -198,8 +215,15 @@ export interface LibConfig extends LibCallbacks {
|
|
|
198
215
|
merchantDomain: string;
|
|
199
216
|
language: LanguageMode;
|
|
200
217
|
appInfo: AppInfo;
|
|
201
|
-
businessCountryCode
|
|
218
|
+
businessCountryCode?: string;
|
|
202
219
|
scope: string;
|
|
220
|
+
platforms?: Array<string>;
|
|
221
|
+
dialogEdgeFormat?: DialogEdgeFormat;
|
|
222
|
+
paymentProvider?: PaymentProvider;
|
|
223
|
+
postURL?: string;
|
|
224
|
+
redirectUrl?: string;
|
|
225
|
+
data?: Array<string>;
|
|
226
|
+
mode?: 'popup' | 'page';
|
|
203
227
|
boardMaturity?: boolean;
|
|
204
228
|
}
|
|
205
229
|
export interface OSDetails {
|
|
@@ -255,7 +279,7 @@ export interface LocalProps {
|
|
|
255
279
|
};
|
|
256
280
|
};
|
|
257
281
|
}
|
|
258
|
-
export
|
|
282
|
+
export type BrandInfo = {
|
|
259
283
|
segment?: {
|
|
260
284
|
type: {
|
|
261
285
|
id: string;
|
|
@@ -263,8 +287,18 @@ export declare type BrandInfo = {
|
|
|
263
287
|
team: {
|
|
264
288
|
id: string;
|
|
265
289
|
};
|
|
290
|
+
location_type: {
|
|
291
|
+
id: string;
|
|
292
|
+
};
|
|
293
|
+
profit_type: {
|
|
294
|
+
id: string;
|
|
295
|
+
};
|
|
296
|
+
tech_type: {
|
|
297
|
+
id: string;
|
|
298
|
+
};
|
|
266
299
|
};
|
|
267
300
|
id: string;
|
|
301
|
+
business_id: string;
|
|
268
302
|
name: {
|
|
269
303
|
ar: string;
|
|
270
304
|
en: string;
|
|
@@ -282,9 +316,10 @@ export declare enum FlowsTypes {
|
|
|
282
316
|
ENTITY = "entity",
|
|
283
317
|
OTP = "otp",
|
|
284
318
|
AUTH = "auth",
|
|
285
|
-
BRAND = "brand"
|
|
319
|
+
BRAND = "brand",
|
|
320
|
+
BOARD = "board"
|
|
286
321
|
}
|
|
287
|
-
export
|
|
322
|
+
export type FlowInfo = {
|
|
288
323
|
name: string;
|
|
289
324
|
status: string;
|
|
290
325
|
url: string;
|
|
@@ -292,14 +327,15 @@ export declare type FlowInfo = {
|
|
|
292
327
|
export declare enum AuthForType {
|
|
293
328
|
MOBILE = "mobile",
|
|
294
329
|
EMAIL = "email",
|
|
295
|
-
NATIONAL_ID = "national_id"
|
|
330
|
+
NATIONAL_ID = "national_id",
|
|
331
|
+
NATIONAL_ID_MISSED = "national_id_missed"
|
|
296
332
|
}
|
|
297
333
|
export declare enum AddressFormateType {
|
|
298
334
|
SELECT = "select",
|
|
299
335
|
NUMBER = "number",
|
|
300
336
|
TEXT = "text"
|
|
301
337
|
}
|
|
302
|
-
export
|
|
338
|
+
export type AddressFormat = {
|
|
303
339
|
code: string;
|
|
304
340
|
name: {
|
|
305
341
|
ar: string;
|
|
@@ -310,14 +346,14 @@ export declare type AddressFormat = {
|
|
|
310
346
|
sort: number;
|
|
311
347
|
type: AddressFormateType;
|
|
312
348
|
};
|
|
313
|
-
export
|
|
349
|
+
export type AddressType = {
|
|
314
350
|
code: string;
|
|
315
351
|
name: {
|
|
316
352
|
ar: string;
|
|
317
353
|
en: string;
|
|
318
354
|
};
|
|
319
355
|
};
|
|
320
|
-
export
|
|
356
|
+
export type AddressProps = {
|
|
321
357
|
format: AddressFormat[];
|
|
322
358
|
type: AddressType;
|
|
323
359
|
};
|
|
@@ -349,7 +385,7 @@ export declare enum DocumentPurpose {
|
|
|
349
385
|
TAX_DOCUMENT = "tax_document_user_upload",
|
|
350
386
|
BRAND_LOGO = "business_logo"
|
|
351
387
|
}
|
|
352
|
-
export
|
|
388
|
+
export type FileDetails = {
|
|
353
389
|
created: string;
|
|
354
390
|
id: string;
|
|
355
391
|
object: string;
|
|
@@ -364,7 +400,7 @@ export declare enum VerificationStatus {
|
|
|
364
400
|
ENTERED = "entered",
|
|
365
401
|
NOT_ENTERED = "not_entered"
|
|
366
402
|
}
|
|
367
|
-
export
|
|
403
|
+
export type BankDataStatus = {
|
|
368
404
|
iban: FieldType;
|
|
369
405
|
account_number: FieldType;
|
|
370
406
|
swift_code: FieldType;
|
|
@@ -373,7 +409,7 @@ export declare type BankDataStatus = {
|
|
|
373
409
|
bank_statement_file_id: FieldType;
|
|
374
410
|
is_acknowledged: FieldType;
|
|
375
411
|
};
|
|
376
|
-
export
|
|
412
|
+
export type EntityDataStatus = {
|
|
377
413
|
type: FieldType;
|
|
378
414
|
'license.status': FieldType;
|
|
379
415
|
'license.provider': FieldType;
|
|
@@ -402,7 +438,7 @@ export declare type EntityDataStatus = {
|
|
|
402
438
|
billing_address: FieldType;
|
|
403
439
|
AOA_file_id: FieldType;
|
|
404
440
|
};
|
|
405
|
-
export
|
|
441
|
+
export type IndividualDataStatus = {
|
|
406
442
|
status: FieldType;
|
|
407
443
|
'name.en': FieldType;
|
|
408
444
|
'name.ar': FieldType;
|
|
@@ -428,7 +464,7 @@ export declare type IndividualDataStatus = {
|
|
|
428
464
|
is_influencer: FieldType;
|
|
429
465
|
gender: FieldType;
|
|
430
466
|
};
|
|
431
|
-
export
|
|
467
|
+
export type BrandDataStatus = {
|
|
432
468
|
status: FieldType;
|
|
433
469
|
'name.en': FieldType;
|
|
434
470
|
'name.ar': FieldType;
|
|
@@ -440,8 +476,12 @@ export declare type BrandDataStatus = {
|
|
|
440
476
|
'segment.type': FieldType;
|
|
441
477
|
'segment.teams': FieldType;
|
|
442
478
|
'segment.sale': FieldType;
|
|
479
|
+
'segment.location_type': FieldType;
|
|
480
|
+
'segment.profit_type': FieldType;
|
|
481
|
+
'segment.tech_type': FieldType;
|
|
443
482
|
activities: FieldType;
|
|
444
483
|
channel_services: FieldType;
|
|
484
|
+
logo: FieldType;
|
|
445
485
|
};
|
|
446
486
|
export interface MerchantInfo {
|
|
447
487
|
id: string;
|
|
@@ -500,7 +540,7 @@ export interface ActivitiesIsIc {
|
|
|
500
540
|
created: string;
|
|
501
541
|
divisions?: Array<ActivityDivision>;
|
|
502
542
|
}
|
|
503
|
-
export
|
|
543
|
+
export type BankDataVerification = {
|
|
504
544
|
account_number: string;
|
|
505
545
|
bank_name: string;
|
|
506
546
|
bank_statement_file_id: string;
|
|
@@ -510,7 +550,7 @@ export declare type BankDataVerification = {
|
|
|
510
550
|
is_acknowledged: string;
|
|
511
551
|
swift_code: string;
|
|
512
552
|
};
|
|
513
|
-
export
|
|
553
|
+
export type BrandDataVerification = {
|
|
514
554
|
logo: string;
|
|
515
555
|
'name.en': string;
|
|
516
556
|
'name.ar': string;
|
|
@@ -523,9 +563,12 @@ export declare type BrandDataVerification = {
|
|
|
523
563
|
'segment.sale': string;
|
|
524
564
|
'segment.teams': string;
|
|
525
565
|
'segment.type': string;
|
|
566
|
+
'segment.location_type': string;
|
|
567
|
+
'segment.profit_type': string;
|
|
568
|
+
'segment.tech_type': string;
|
|
526
569
|
terms: string;
|
|
527
570
|
};
|
|
528
|
-
export
|
|
571
|
+
export type EntityDataVerification = {
|
|
529
572
|
AOA_file_id: string;
|
|
530
573
|
billing_address: string;
|
|
531
574
|
'capital.announced': string;
|
|
@@ -552,7 +595,7 @@ export declare type EntityDataVerification = {
|
|
|
552
595
|
taxable: string;
|
|
553
596
|
type: string;
|
|
554
597
|
};
|
|
555
|
-
export
|
|
598
|
+
export type IndividualDataVerification = {
|
|
556
599
|
'birth.city': string;
|
|
557
600
|
'birth.country': string;
|
|
558
601
|
'birth.date': string;
|
|
@@ -577,4 +620,128 @@ export declare type IndividualDataVerification = {
|
|
|
577
620
|
relation: string;
|
|
578
621
|
status: string;
|
|
579
622
|
};
|
|
623
|
+
export interface CommonDataLayer {
|
|
624
|
+
event: string;
|
|
625
|
+
}
|
|
626
|
+
export interface DataLayer extends CommonDataLayer {
|
|
627
|
+
event_category: string;
|
|
628
|
+
event_action: string;
|
|
629
|
+
event_label?: string;
|
|
630
|
+
event_value?: number | string;
|
|
631
|
+
event_noninteraction?: number;
|
|
632
|
+
}
|
|
633
|
+
export interface CountryTrackingData extends CommonDataLayer {
|
|
634
|
+
website_country?: string;
|
|
635
|
+
}
|
|
636
|
+
export interface LeadIdentificationData extends CommonDataLayer {
|
|
637
|
+
lead_ID?: string;
|
|
638
|
+
}
|
|
639
|
+
export interface EventPageTrackingData extends CommonDataLayer {
|
|
640
|
+
title?: string;
|
|
641
|
+
}
|
|
642
|
+
export interface PageTrackingData {
|
|
643
|
+
title?: string;
|
|
644
|
+
}
|
|
645
|
+
export type VerifyExpressTokenParams = {
|
|
646
|
+
public_key: string;
|
|
647
|
+
post: {
|
|
648
|
+
url: string;
|
|
649
|
+
};
|
|
650
|
+
lead_id: string;
|
|
651
|
+
};
|
|
652
|
+
export declare enum MerchantStatus {
|
|
653
|
+
DISABLED = "disabled",
|
|
654
|
+
ENABLED = "enabled"
|
|
655
|
+
}
|
|
656
|
+
export interface AuthMerchantInfo {
|
|
657
|
+
id: string;
|
|
658
|
+
status: string;
|
|
659
|
+
created: number;
|
|
660
|
+
display_name: string;
|
|
661
|
+
business_id: string;
|
|
662
|
+
business_entity_id: string;
|
|
663
|
+
brand_id: string;
|
|
664
|
+
wallet_id: string;
|
|
665
|
+
base_currency: string;
|
|
666
|
+
charge_currenices: string[];
|
|
667
|
+
country: string;
|
|
668
|
+
is_acceptance_allowed: boolean;
|
|
669
|
+
is_payout_allowed: boolean;
|
|
670
|
+
legacy_id: string;
|
|
671
|
+
marketplace: boolean;
|
|
672
|
+
post: {
|
|
673
|
+
url: string;
|
|
674
|
+
};
|
|
675
|
+
metadata: {
|
|
676
|
+
MerchantRefrenceId: string;
|
|
677
|
+
};
|
|
678
|
+
terminal_id: string;
|
|
679
|
+
acceptance_status: string;
|
|
680
|
+
payout_status: string;
|
|
681
|
+
}
|
|
682
|
+
export interface AuthTerminalInfo {
|
|
683
|
+
id: string;
|
|
684
|
+
object: string;
|
|
685
|
+
live_mode: boolean;
|
|
686
|
+
api_version: string;
|
|
687
|
+
feature_version: string;
|
|
688
|
+
name: TerminalName;
|
|
689
|
+
merchant: TerminalMerchant;
|
|
690
|
+
authorizes: TerminalAuthorizes;
|
|
691
|
+
charges: TerminalAuthorizes;
|
|
692
|
+
refunds: TerminalAuthorizes;
|
|
693
|
+
wallet: TerminalWallet;
|
|
694
|
+
virtual: boolean;
|
|
695
|
+
operator: TerminalOperator;
|
|
696
|
+
acceptance_status: string;
|
|
697
|
+
data_status: TerminalDataStatus;
|
|
698
|
+
data_verification: TerminalDataStatus;
|
|
699
|
+
data_state: string;
|
|
700
|
+
brand: TerminalWallet;
|
|
701
|
+
}
|
|
702
|
+
interface TerminalDataStatus {
|
|
703
|
+
name: TerminalName;
|
|
704
|
+
charge_last_transaction: string;
|
|
705
|
+
charge_flag: string;
|
|
706
|
+
authorize_last_transaction: string;
|
|
707
|
+
refund_last_transaction: string;
|
|
708
|
+
acceptance_status: string;
|
|
709
|
+
}
|
|
710
|
+
interface TerminalName {
|
|
711
|
+
ar: string;
|
|
712
|
+
en: string;
|
|
713
|
+
}
|
|
714
|
+
interface TerminalWallet {
|
|
715
|
+
id: string;
|
|
716
|
+
}
|
|
717
|
+
interface TerminalOperator {
|
|
718
|
+
id: string;
|
|
719
|
+
is_merchant: boolean;
|
|
720
|
+
}
|
|
721
|
+
interface TerminalMerchant {
|
|
722
|
+
id: string;
|
|
723
|
+
base_currency: string;
|
|
724
|
+
country: string;
|
|
725
|
+
}
|
|
726
|
+
interface TerminalAuthorizes {
|
|
727
|
+
status: string;
|
|
728
|
+
status_message: string;
|
|
729
|
+
}
|
|
730
|
+
export type CountryInfo = {
|
|
731
|
+
id: number;
|
|
732
|
+
label: string;
|
|
733
|
+
country: {
|
|
734
|
+
name_en: string;
|
|
735
|
+
name_ar: string;
|
|
736
|
+
iso2: string;
|
|
737
|
+
iso3: string;
|
|
738
|
+
idd_prefix: string;
|
|
739
|
+
logo: string;
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
export type BusinessCountryInfo = {
|
|
743
|
+
id: number;
|
|
744
|
+
title: string;
|
|
745
|
+
countries: Array<CountryInfo>;
|
|
746
|
+
};
|
|
580
747
|
export {};
|
package/build/@types/app.js
CHANGED
|
@@ -33,12 +33,14 @@ export var FlowsTypes;
|
|
|
33
33
|
FlowsTypes["OTP"] = "otp";
|
|
34
34
|
FlowsTypes["AUTH"] = "auth";
|
|
35
35
|
FlowsTypes["BRAND"] = "brand";
|
|
36
|
+
FlowsTypes["BOARD"] = "board";
|
|
36
37
|
})(FlowsTypes || (FlowsTypes = {}));
|
|
37
38
|
export var AuthForType;
|
|
38
39
|
(function (AuthForType) {
|
|
39
40
|
AuthForType["MOBILE"] = "mobile";
|
|
40
41
|
AuthForType["EMAIL"] = "email";
|
|
41
42
|
AuthForType["NATIONAL_ID"] = "national_id";
|
|
43
|
+
AuthForType["NATIONAL_ID_MISSED"] = "national_id_missed";
|
|
42
44
|
})(AuthForType || (AuthForType = {}));
|
|
43
45
|
export var AddressFormateType;
|
|
44
46
|
(function (AddressFormateType) {
|
|
@@ -80,3 +82,8 @@ export var VerificationStatus;
|
|
|
80
82
|
VerificationStatus["ENTERED"] = "entered";
|
|
81
83
|
VerificationStatus["NOT_ENTERED"] = "not_entered";
|
|
82
84
|
})(VerificationStatus || (VerificationStatus = {}));
|
|
85
|
+
export var MerchantStatus;
|
|
86
|
+
(function (MerchantStatus) {
|
|
87
|
+
MerchantStatus["DISABLED"] = "disabled";
|
|
88
|
+
MerchantStatus["ENABLED"] = "enabled";
|
|
89
|
+
})(MerchantStatus || (MerchantStatus = {}));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface ConfigInfo {
|
|
2
|
+
operator: Operator;
|
|
3
|
+
scope: string;
|
|
4
|
+
data?: string[];
|
|
5
|
+
lead?: Lead;
|
|
6
|
+
board?: Board;
|
|
7
|
+
interface?: Interface;
|
|
8
|
+
redirect?: Redirect;
|
|
9
|
+
post?: Redirect;
|
|
10
|
+
connect?: Redirect;
|
|
11
|
+
platforms?: string[];
|
|
12
|
+
payment_provider?: PaymentProvider;
|
|
13
|
+
}
|
|
14
|
+
export interface PaymentProvider {
|
|
15
|
+
technology_id: string;
|
|
16
|
+
settlement_by: string;
|
|
17
|
+
}
|
|
18
|
+
interface Redirect {
|
|
19
|
+
url: string;
|
|
20
|
+
}
|
|
21
|
+
interface Interface {
|
|
22
|
+
locale?: 'dynamic' | 'ar' | 'en';
|
|
23
|
+
edges?: 'straight' | 'curved';
|
|
24
|
+
}
|
|
25
|
+
interface Board {
|
|
26
|
+
display?: boolean;
|
|
27
|
+
editable?: boolean;
|
|
28
|
+
}
|
|
29
|
+
interface Lead {
|
|
30
|
+
id: string;
|
|
31
|
+
}
|
|
32
|
+
interface Operator {
|
|
33
|
+
public_key: string;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/build/@types/form.d.ts
CHANGED
|
@@ -1,43 +1,47 @@
|
|
|
1
|
-
import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense } from './app';
|
|
2
|
-
export
|
|
1
|
+
import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense, EntityLicenseAuth, AuthMerchantInfo } from './app';
|
|
2
|
+
export type MobileFormValues = {
|
|
3
3
|
mobile: string;
|
|
4
4
|
countryCode: CountryCode;
|
|
5
5
|
termAndConditionChecked?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type EmailFormValues = {
|
|
8
8
|
email: string | null;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type OTPFormValues = {
|
|
11
11
|
otp: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type PasswordFormValues = {
|
|
14
14
|
password: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type NIDFormValues = {
|
|
17
17
|
nid: string;
|
|
18
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
|
-
segment?: Segment | undefined;
|
|
35
|
-
teamSize?: TeamSize | undefined;
|
|
36
34
|
salesChannels: Array<SaleChannel>;
|
|
37
35
|
termAndConditionChecked?: boolean;
|
|
38
36
|
selectedBrandItem: BrandInfo;
|
|
39
37
|
};
|
|
40
|
-
export
|
|
38
|
+
export type BrandSegmentFormValues = {
|
|
39
|
+
segmentLocation?: Segment | undefined;
|
|
40
|
+
segmentProfit?: Segment | undefined;
|
|
41
|
+
segmentTech?: Segment | undefined;
|
|
42
|
+
teamSize?: TeamSize | undefined;
|
|
43
|
+
};
|
|
44
|
+
export type BrandActivitiesFormValues = {
|
|
41
45
|
activities: Array<Activity>;
|
|
42
46
|
customerLocations: Array<CustomerLocation>;
|
|
43
47
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
@@ -46,7 +50,7 @@ export declare type BrandActivitiesFormValues = {
|
|
|
46
50
|
refundPolicy: boolean;
|
|
47
51
|
transactionPolicy: boolean;
|
|
48
52
|
};
|
|
49
|
-
export
|
|
53
|
+
export type BusinessTypeFormValues = {
|
|
50
54
|
licenseNumber: string;
|
|
51
55
|
entityLegalName?: string;
|
|
52
56
|
selectedEntityLicense?: EntityLicense;
|
|
@@ -54,18 +58,18 @@ export declare type BusinessTypeFormValues = {
|
|
|
54
58
|
certificateId?: Array<string>;
|
|
55
59
|
articleId?: string;
|
|
56
60
|
};
|
|
57
|
-
export
|
|
61
|
+
export type ActivitiesFormValues = {
|
|
58
62
|
activities: Array<Activity> | undefined;
|
|
59
63
|
operationStartDate: string;
|
|
60
64
|
};
|
|
61
|
-
export
|
|
65
|
+
export type CustomersFormValues = {
|
|
62
66
|
customerLocations: Array<CustomerLocation>;
|
|
63
67
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
64
68
|
expectedSale: ExpectedSaleRange | undefined;
|
|
65
69
|
refundPolicy: boolean;
|
|
66
70
|
transactionPolicy: boolean;
|
|
67
71
|
};
|
|
68
|
-
export
|
|
72
|
+
export type BankFormValues = {
|
|
69
73
|
iban: string;
|
|
70
74
|
beneficiaryName: string;
|
|
71
75
|
bankName: string;
|
|
@@ -73,7 +77,7 @@ export declare type BankFormValues = {
|
|
|
73
77
|
uploading?: boolean;
|
|
74
78
|
confirmPolicy: boolean;
|
|
75
79
|
};
|
|
76
|
-
export
|
|
80
|
+
export type TaxFormValues = {
|
|
77
81
|
vatId: string;
|
|
78
82
|
confirmPolicy: boolean;
|
|
79
83
|
documentId?: Array<string>;
|
|
@@ -101,23 +105,22 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
101
105
|
sourceIncome: SourceOfIncome | undefined;
|
|
102
106
|
monthlyIncome: MonthlyIncome | undefined;
|
|
103
107
|
employerName: string;
|
|
104
|
-
employerLocation: CountryCode | undefined;
|
|
105
108
|
isPEP: boolean | null;
|
|
106
109
|
isInfluencer: boolean | null;
|
|
107
110
|
shareCount: string;
|
|
108
111
|
shareValue: string;
|
|
109
112
|
}
|
|
110
|
-
export
|
|
113
|
+
export type IndividualAttachmentsFormValues = {
|
|
111
114
|
civilID?: Array<string>;
|
|
112
115
|
signatureFileId?: Array<string>;
|
|
113
116
|
civilIDUploading?: boolean;
|
|
114
117
|
signatureFileUploading?: boolean;
|
|
115
118
|
};
|
|
116
|
-
export
|
|
119
|
+
export type PasswordCreateFormValues = {
|
|
117
120
|
password: string;
|
|
118
121
|
confirmPassword: string;
|
|
119
122
|
};
|
|
120
|
-
export
|
|
123
|
+
export type EntityNameFormValues = {
|
|
121
124
|
legalName: string;
|
|
122
125
|
licenseNumber: string;
|
|
123
126
|
licenseType: string;
|
|
@@ -128,15 +131,25 @@ export declare type EntityNameFormValues = {
|
|
|
128
131
|
certificateId?: Array<string>;
|
|
129
132
|
articleId?: string;
|
|
130
133
|
};
|
|
131
|
-
export
|
|
134
|
+
export type EntityCapitalFormValues = {
|
|
132
135
|
activities: Array<Activity>;
|
|
133
136
|
capitalPaid: string;
|
|
134
137
|
capitalShareCount: string;
|
|
135
138
|
capitalShareValue: string;
|
|
136
139
|
};
|
|
137
|
-
export
|
|
140
|
+
export type BusinessDataFormValues = {
|
|
138
141
|
brandName: string;
|
|
139
142
|
licenseNumber: string;
|
|
140
143
|
selectedLicense?: License;
|
|
141
144
|
termAndConditionChecked?: boolean;
|
|
142
145
|
};
|
|
146
|
+
export type AuthenticationListFormValues = {
|
|
147
|
+
brandInfo?: BrandInfo;
|
|
148
|
+
entityInfo?: EntityLicenseAuth;
|
|
149
|
+
merchantInfo?: AuthMerchantInfo;
|
|
150
|
+
licenseNumber?: string;
|
|
151
|
+
legalName?: string;
|
|
152
|
+
};
|
|
153
|
+
export type AuthMerchantFormValues = {
|
|
154
|
+
merchantInfo?: AuthMerchantInfo;
|
|
155
|
+
};
|
package/build/@types/index.d.ts
CHANGED
package/build/@types/index.js
CHANGED
package/build/@types/theme.d.ts
CHANGED
|
@@ -11,4 +11,8 @@ export declare enum DirectionMode {
|
|
|
11
11
|
RTL = "rtl",
|
|
12
12
|
LTR = "ltr"
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
15
|
+
export declare enum DialogEdgeFormat {
|
|
16
|
+
STRAIGHT = "straight",
|
|
17
|
+
CURVED = "curved"
|
|
18
|
+
}
|
package/build/@types/theme.js
CHANGED
|
@@ -13,3 +13,8 @@ export var DirectionMode;
|
|
|
13
13
|
DirectionMode["RTL"] = "rtl";
|
|
14
14
|
DirectionMode["LTR"] = "ltr";
|
|
15
15
|
})(DirectionMode || (DirectionMode = {}));
|
|
16
|
+
export var DialogEdgeFormat;
|
|
17
|
+
(function (DialogEdgeFormat) {
|
|
18
|
+
DialogEdgeFormat["STRAIGHT"] = "straight";
|
|
19
|
+
DialogEdgeFormat["CURVED"] = "curved";
|
|
20
|
+
})(DialogEdgeFormat || (DialogEdgeFormat = {}));
|
package/build/@types/user.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export interface User {
|
|
2
2
|
id: string;
|
|
3
|
-
type: string;
|
|
4
3
|
status: string;
|
|
5
4
|
created: number;
|
|
6
5
|
names: Names;
|
|
@@ -13,7 +12,7 @@ export interface User {
|
|
|
13
12
|
is_authorized: boolean;
|
|
14
13
|
verification: Verification;
|
|
15
14
|
source_income: Role[];
|
|
16
|
-
occupation:
|
|
15
|
+
occupation: UserOccupation;
|
|
17
16
|
entities: Entity[];
|
|
18
17
|
documents: string[];
|
|
19
18
|
monthly_income: Role;
|
|
@@ -24,8 +23,34 @@ export interface User {
|
|
|
24
23
|
individual_id: string;
|
|
25
24
|
data_status: DataStatus;
|
|
26
25
|
data_verification: DataVerification;
|
|
26
|
+
data_state: string;
|
|
27
|
+
object: string;
|
|
28
|
+
shares: {
|
|
29
|
+
count: string;
|
|
30
|
+
value: string;
|
|
31
|
+
};
|
|
32
|
+
ids: Array<string>;
|
|
33
|
+
individual_data_state: string;
|
|
34
|
+
objects: Array<string>;
|
|
27
35
|
isRequestedEmail?: boolean;
|
|
28
36
|
}
|
|
37
|
+
interface UserOccupation {
|
|
38
|
+
chapter: OccupationData & {
|
|
39
|
+
section_code: string;
|
|
40
|
+
};
|
|
41
|
+
part: OccupationData & {
|
|
42
|
+
type_code: string;
|
|
43
|
+
};
|
|
44
|
+
section: OccupationData & {
|
|
45
|
+
part_code: string;
|
|
46
|
+
};
|
|
47
|
+
type: OccupationData;
|
|
48
|
+
}
|
|
49
|
+
interface OccupationData {
|
|
50
|
+
code: string;
|
|
51
|
+
id: string;
|
|
52
|
+
name: Name;
|
|
53
|
+
}
|
|
29
54
|
interface DataVerification {
|
|
30
55
|
status: string;
|
|
31
56
|
name: string;
|
|
@@ -110,8 +135,19 @@ interface Identification {
|
|
|
110
135
|
}
|
|
111
136
|
interface Birth {
|
|
112
137
|
date: number;
|
|
113
|
-
city:
|
|
138
|
+
city: BirthCity;
|
|
139
|
+
country: string;
|
|
140
|
+
}
|
|
141
|
+
interface BirthCity {
|
|
142
|
+
cityId: string;
|
|
114
143
|
country: string;
|
|
144
|
+
name: {
|
|
145
|
+
arabic: string;
|
|
146
|
+
english: string;
|
|
147
|
+
textId: string;
|
|
148
|
+
};
|
|
149
|
+
state: string;
|
|
150
|
+
un_locode: string;
|
|
115
151
|
}
|
|
116
152
|
interface Contact {
|
|
117
153
|
email: string;
|