@tap-payments/auth-jsconnect 2.4.27-test → 2.4.27
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 +191 -18
- package/build/@types/app.js +8 -0
- package/build/@types/config.d.ts +35 -0
- package/build/@types/config.js +1 -0
- package/build/@types/form.d.ts +36 -22
- 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 +18 -1
- 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 +26 -4
- package/build/api/individual.d.ts +17 -6
- 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 +35 -3
- package/build/app/settings.js +121 -43
- package/build/app/store.d.ts +6 -4
- package/build/assets/locales/ar.json +24 -1
- package/build/assets/locales/en.json +24 -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 +10 -7
- 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 +2 -0
- package/build/constants/assets.js +2 -0
- package/build/constants/dummy.d.ts +43 -196
- package/build/constants/dummy.js +610 -6141
- 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 +88 -34
- 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 +269 -111
- package/build/features/app/business/businessStore.d.ts +173 -23
- package/build/features/app/business/businessStore.js +368 -252
- 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 +611 -114
- package/build/features/app/entity/entityStore.d.ts +98 -10
- package/build/features/app/entity/entityStore.js +172 -84
- package/build/features/app/individual/individualStore.d.ts +192 -25
- package/build/features/app/individual/individualStore.js +203 -137
- package/build/features/app/password/passwordStore.d.ts +114 -12
- package/build/features/app/password/passwordStore.js +121 -44
- 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 +86 -33
- package/build/features/bank/Bank.d.ts +2 -2
- package/build/features/bank/Bank.js +10 -5
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.js +3 -3
- 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 +10 -5
- 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 +16 -7
- 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 +7 -13
- package/build/features/business/screens/Activities/OperationStartDate.js +3 -3
- 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 +47 -33
- package/build/features/business/screens/Customers/CustomerLocations.js +38 -12
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/Customers.js +40 -8
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +3 -2
- package/build/features/business/screens/Customers/ExpectedCustomers.js +9 -10
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +3 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +12 -12
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +18 -19
- package/build/features/business/screens/Customers/RefundPolicy.js +13 -13
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +4 -2
- package/build/features/business/screens/Customers/TransactionPolicy.js +8 -5
- package/build/features/business/screens/Customers/validation.d.ts +6 -6
- package/build/features/business/screens/Customers/validation.js +3 -8
- package/build/features/business/screens/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 +10 -4
- package/build/features/connect/screens/Individual/MobileNumber.js +6 -3
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Individual/validation.js +8 -3
- 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 +21 -8
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/Mobile/validation.js +8 -3
- 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 +7 -4
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +7 -4
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +8 -3
- 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 +15 -9
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.js +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/validation.js +16 -6
- 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/NID/TAC.js +2 -2
- 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 +10 -5
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +10 -25
- package/build/features/entity/screens/EntityCapital/ActivityList.js +14 -12
- 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 +12 -12
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/ExpiryDate.js +7 -8
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.js +7 -8
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LegalName.js +1 -13
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseNumber.js +10 -11
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +4 -6
- package/build/features/entity/screens/EntityName/validation.d.ts +31 -3
- package/build/features/entity/screens/EntityName/validation.js +40 -11
- 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 +10 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +5 -5
- 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 +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +3 -3
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
- package/build/features/individual/screens/IndividualList/MobileNumber.js +6 -3
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualList/validation.js +8 -3
- 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 +4 -3
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +2 -10
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +6 -3
- 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 +72 -63
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +7 -4
- 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/IndividualPhoneInfo/validation.js +8 -3
- 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 +24 -9
- 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 +15 -12
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/IndividualActionButtons.js +1 -1
- 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 +1 -2
- package/build/features/shared/Dot/Dot.js +2 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/Footer.js +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 +9 -7
- 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/Mobile/MobileNumber.js +6 -3
- package/build/features/signIn/screens/Mobile/validation.js +8 -3
- 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 +10 -5
- 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 +15 -16
- 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 +4 -2
- package/build/utils/array.js +74 -3
- 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;
|
|
@@ -25,6 +26,8 @@ export interface CountryCode {
|
|
|
25
26
|
logo: string;
|
|
26
27
|
digits: number;
|
|
27
28
|
supported_by_tap: boolean;
|
|
29
|
+
min_digits: number;
|
|
30
|
+
max_digits: number;
|
|
28
31
|
}
|
|
29
32
|
export interface City {
|
|
30
33
|
id: string;
|
|
@@ -116,6 +119,10 @@ export interface License {
|
|
|
116
119
|
export interface EntityLicense extends License {
|
|
117
120
|
id: string;
|
|
118
121
|
}
|
|
122
|
+
export interface EntityLicenseAuth extends EntityLicense {
|
|
123
|
+
business_id: string;
|
|
124
|
+
country: string;
|
|
125
|
+
}
|
|
119
126
|
export interface Activity {
|
|
120
127
|
id: string;
|
|
121
128
|
name: {
|
|
@@ -145,10 +152,21 @@ export interface SourceOfIncome {
|
|
|
145
152
|
}
|
|
146
153
|
export interface Occupation {
|
|
147
154
|
id: string;
|
|
155
|
+
code: string;
|
|
148
156
|
name: {
|
|
149
157
|
ar: string;
|
|
150
158
|
en: string;
|
|
151
159
|
};
|
|
160
|
+
section_code?: string;
|
|
161
|
+
sub?: Array<{
|
|
162
|
+
id: string;
|
|
163
|
+
code: string;
|
|
164
|
+
name: {
|
|
165
|
+
ar: string;
|
|
166
|
+
en: string;
|
|
167
|
+
};
|
|
168
|
+
part_code: string;
|
|
169
|
+
}>;
|
|
152
170
|
}
|
|
153
171
|
export interface TeamSize {
|
|
154
172
|
id: string;
|
|
@@ -191,6 +209,7 @@ interface LibCallbacks {
|
|
|
191
209
|
onBoardButtonClick?: (data: Record<string, any>) => void;
|
|
192
210
|
onCreated?: (res: Record<string, any>) => void;
|
|
193
211
|
onBoardCompleted?: () => void;
|
|
212
|
+
onMaturityChanged?: (maturity: 'full' | 'express') => void;
|
|
194
213
|
}
|
|
195
214
|
export interface LibConfig extends LibCallbacks {
|
|
196
215
|
publicKey: string;
|
|
@@ -198,8 +217,15 @@ export interface LibConfig extends LibCallbacks {
|
|
|
198
217
|
merchantDomain: string;
|
|
199
218
|
language: LanguageMode;
|
|
200
219
|
appInfo: AppInfo;
|
|
201
|
-
businessCountryCode
|
|
220
|
+
businessCountryCode?: string;
|
|
202
221
|
scope: string;
|
|
222
|
+
platforms?: Array<string>;
|
|
223
|
+
dialogEdgeFormat?: DialogEdgeFormat;
|
|
224
|
+
paymentProvider?: PaymentProvider;
|
|
225
|
+
postURL?: string;
|
|
226
|
+
redirectUrl?: string;
|
|
227
|
+
data?: Array<string>;
|
|
228
|
+
mode?: 'popup' | 'page' | 'content';
|
|
203
229
|
boardMaturity?: boolean;
|
|
204
230
|
}
|
|
205
231
|
export interface OSDetails {
|
|
@@ -255,7 +281,7 @@ export interface LocalProps {
|
|
|
255
281
|
};
|
|
256
282
|
};
|
|
257
283
|
}
|
|
258
|
-
export
|
|
284
|
+
export type BrandInfo = {
|
|
259
285
|
segment?: {
|
|
260
286
|
type: {
|
|
261
287
|
id: string;
|
|
@@ -263,8 +289,18 @@ export declare type BrandInfo = {
|
|
|
263
289
|
team: {
|
|
264
290
|
id: string;
|
|
265
291
|
};
|
|
292
|
+
location_type: {
|
|
293
|
+
id: string;
|
|
294
|
+
};
|
|
295
|
+
profit_type: {
|
|
296
|
+
id: string;
|
|
297
|
+
};
|
|
298
|
+
tech_type: {
|
|
299
|
+
id: string;
|
|
300
|
+
};
|
|
266
301
|
};
|
|
267
302
|
id: string;
|
|
303
|
+
business_id: string;
|
|
268
304
|
name: {
|
|
269
305
|
ar: string;
|
|
270
306
|
en: string;
|
|
@@ -282,9 +318,10 @@ export declare enum FlowsTypes {
|
|
|
282
318
|
ENTITY = "entity",
|
|
283
319
|
OTP = "otp",
|
|
284
320
|
AUTH = "auth",
|
|
285
|
-
BRAND = "brand"
|
|
321
|
+
BRAND = "brand",
|
|
322
|
+
BOARD = "board"
|
|
286
323
|
}
|
|
287
|
-
export
|
|
324
|
+
export type FlowInfo = {
|
|
288
325
|
name: string;
|
|
289
326
|
status: string;
|
|
290
327
|
url: string;
|
|
@@ -292,14 +329,15 @@ export declare type FlowInfo = {
|
|
|
292
329
|
export declare enum AuthForType {
|
|
293
330
|
MOBILE = "mobile",
|
|
294
331
|
EMAIL = "email",
|
|
295
|
-
NATIONAL_ID = "national_id"
|
|
332
|
+
NATIONAL_ID = "national_id",
|
|
333
|
+
NATIONAL_ID_MISSED = "national_id_missed"
|
|
296
334
|
}
|
|
297
335
|
export declare enum AddressFormateType {
|
|
298
336
|
SELECT = "select",
|
|
299
337
|
NUMBER = "number",
|
|
300
338
|
TEXT = "text"
|
|
301
339
|
}
|
|
302
|
-
export
|
|
340
|
+
export type AddressFormat = {
|
|
303
341
|
code: string;
|
|
304
342
|
name: {
|
|
305
343
|
ar: string;
|
|
@@ -310,14 +348,14 @@ export declare type AddressFormat = {
|
|
|
310
348
|
sort: number;
|
|
311
349
|
type: AddressFormateType;
|
|
312
350
|
};
|
|
313
|
-
export
|
|
351
|
+
export type AddressType = {
|
|
314
352
|
code: string;
|
|
315
353
|
name: {
|
|
316
354
|
ar: string;
|
|
317
355
|
en: string;
|
|
318
356
|
};
|
|
319
357
|
};
|
|
320
|
-
export
|
|
358
|
+
export type AddressProps = {
|
|
321
359
|
format: AddressFormat[];
|
|
322
360
|
type: AddressType;
|
|
323
361
|
};
|
|
@@ -344,12 +382,13 @@ export declare enum DocumentPurpose {
|
|
|
344
382
|
CR = "commercial_registration",
|
|
345
383
|
ARTICLE_ASSOCIATION = "article_of_association",
|
|
346
384
|
BANK_STATEMENT = "bank_statement",
|
|
385
|
+
BANK_CERTIFICATE = "bank_certificate",
|
|
347
386
|
IDENTITY_DOCUMENT = "identity_document",
|
|
348
387
|
CUSTOMER_SIGNATURE = "customer_signature",
|
|
349
388
|
TAX_DOCUMENT = "tax_document_user_upload",
|
|
350
389
|
BRAND_LOGO = "business_logo"
|
|
351
390
|
}
|
|
352
|
-
export
|
|
391
|
+
export type FileDetails = {
|
|
353
392
|
created: string;
|
|
354
393
|
id: string;
|
|
355
394
|
object: string;
|
|
@@ -364,7 +403,7 @@ export declare enum VerificationStatus {
|
|
|
364
403
|
ENTERED = "entered",
|
|
365
404
|
NOT_ENTERED = "not_entered"
|
|
366
405
|
}
|
|
367
|
-
export
|
|
406
|
+
export type BankDataStatus = {
|
|
368
407
|
iban: FieldType;
|
|
369
408
|
account_number: FieldType;
|
|
370
409
|
swift_code: FieldType;
|
|
@@ -373,7 +412,7 @@ export declare type BankDataStatus = {
|
|
|
373
412
|
bank_statement_file_id: FieldType;
|
|
374
413
|
is_acknowledged: FieldType;
|
|
375
414
|
};
|
|
376
|
-
export
|
|
415
|
+
export type EntityDataStatus = {
|
|
377
416
|
type: FieldType;
|
|
378
417
|
'license.status': FieldType;
|
|
379
418
|
'license.provider': FieldType;
|
|
@@ -402,7 +441,7 @@ export declare type EntityDataStatus = {
|
|
|
402
441
|
billing_address: FieldType;
|
|
403
442
|
AOA_file_id: FieldType;
|
|
404
443
|
};
|
|
405
|
-
export
|
|
444
|
+
export type IndividualDataStatus = {
|
|
406
445
|
status: FieldType;
|
|
407
446
|
'name.en': FieldType;
|
|
408
447
|
'name.ar': FieldType;
|
|
@@ -428,7 +467,7 @@ export declare type IndividualDataStatus = {
|
|
|
428
467
|
is_influencer: FieldType;
|
|
429
468
|
gender: FieldType;
|
|
430
469
|
};
|
|
431
|
-
export
|
|
470
|
+
export type BrandDataStatus = {
|
|
432
471
|
status: FieldType;
|
|
433
472
|
'name.en': FieldType;
|
|
434
473
|
'name.ar': FieldType;
|
|
@@ -440,8 +479,12 @@ export declare type BrandDataStatus = {
|
|
|
440
479
|
'segment.type': FieldType;
|
|
441
480
|
'segment.teams': FieldType;
|
|
442
481
|
'segment.sale': FieldType;
|
|
482
|
+
'segment.location_type': FieldType;
|
|
483
|
+
'segment.profit_type': FieldType;
|
|
484
|
+
'segment.tech_type': FieldType;
|
|
443
485
|
activities: FieldType;
|
|
444
486
|
channel_services: FieldType;
|
|
487
|
+
logo: FieldType;
|
|
445
488
|
};
|
|
446
489
|
export interface MerchantInfo {
|
|
447
490
|
id: string;
|
|
@@ -500,7 +543,7 @@ export interface ActivitiesIsIc {
|
|
|
500
543
|
created: string;
|
|
501
544
|
divisions?: Array<ActivityDivision>;
|
|
502
545
|
}
|
|
503
|
-
export
|
|
546
|
+
export type BankDataVerification = {
|
|
504
547
|
account_number: string;
|
|
505
548
|
bank_name: string;
|
|
506
549
|
bank_statement_file_id: string;
|
|
@@ -510,7 +553,7 @@ export declare type BankDataVerification = {
|
|
|
510
553
|
is_acknowledged: string;
|
|
511
554
|
swift_code: string;
|
|
512
555
|
};
|
|
513
|
-
export
|
|
556
|
+
export type BrandDataVerification = {
|
|
514
557
|
logo: string;
|
|
515
558
|
'name.en': string;
|
|
516
559
|
'name.ar': string;
|
|
@@ -523,9 +566,12 @@ export declare type BrandDataVerification = {
|
|
|
523
566
|
'segment.sale': string;
|
|
524
567
|
'segment.teams': string;
|
|
525
568
|
'segment.type': string;
|
|
569
|
+
'segment.location_type': string;
|
|
570
|
+
'segment.profit_type': string;
|
|
571
|
+
'segment.tech_type': string;
|
|
526
572
|
terms: string;
|
|
527
573
|
};
|
|
528
|
-
export
|
|
574
|
+
export type EntityDataVerification = {
|
|
529
575
|
AOA_file_id: string;
|
|
530
576
|
billing_address: string;
|
|
531
577
|
'capital.announced': string;
|
|
@@ -552,7 +598,7 @@ export declare type EntityDataVerification = {
|
|
|
552
598
|
taxable: string;
|
|
553
599
|
type: string;
|
|
554
600
|
};
|
|
555
|
-
export
|
|
601
|
+
export type IndividualDataVerification = {
|
|
556
602
|
'birth.city': string;
|
|
557
603
|
'birth.country': string;
|
|
558
604
|
'birth.date': string;
|
|
@@ -577,4 +623,131 @@ export declare type IndividualDataVerification = {
|
|
|
577
623
|
relation: string;
|
|
578
624
|
status: string;
|
|
579
625
|
};
|
|
626
|
+
export interface CommonDataLayer {
|
|
627
|
+
event: string;
|
|
628
|
+
}
|
|
629
|
+
export interface DataLayer extends CommonDataLayer {
|
|
630
|
+
event_category: string;
|
|
631
|
+
event_action: string;
|
|
632
|
+
event_label?: string;
|
|
633
|
+
event_value?: number | string;
|
|
634
|
+
event_noninteraction?: number;
|
|
635
|
+
}
|
|
636
|
+
export interface CountryTrackingData extends CommonDataLayer {
|
|
637
|
+
website_country?: string;
|
|
638
|
+
}
|
|
639
|
+
export interface LeadIdentificationData extends CommonDataLayer {
|
|
640
|
+
lead_ID?: string;
|
|
641
|
+
}
|
|
642
|
+
export interface EventPageTrackingData extends CommonDataLayer {
|
|
643
|
+
title?: string;
|
|
644
|
+
}
|
|
645
|
+
export interface PageTrackingData {
|
|
646
|
+
title?: string;
|
|
647
|
+
}
|
|
648
|
+
export type VerifyExpressTokenParams = {
|
|
649
|
+
public_key: string;
|
|
650
|
+
post: {
|
|
651
|
+
url: string;
|
|
652
|
+
};
|
|
653
|
+
lead_id: string;
|
|
654
|
+
};
|
|
655
|
+
export declare enum MerchantStatus {
|
|
656
|
+
DISABLED = "disabled",
|
|
657
|
+
ENABLED = "enabled"
|
|
658
|
+
}
|
|
659
|
+
export interface AuthMerchantInfo {
|
|
660
|
+
id: string;
|
|
661
|
+
status: string;
|
|
662
|
+
created: number;
|
|
663
|
+
display_name: string;
|
|
664
|
+
business_id: string;
|
|
665
|
+
business_entity_id: string;
|
|
666
|
+
brand_id: string;
|
|
667
|
+
wallet_id: string;
|
|
668
|
+
base_currency: string;
|
|
669
|
+
charge_currenices: string[];
|
|
670
|
+
country: string;
|
|
671
|
+
is_acceptance_allowed: boolean;
|
|
672
|
+
is_payout_allowed: boolean;
|
|
673
|
+
legacy_id: string;
|
|
674
|
+
marketplace: boolean;
|
|
675
|
+
post: {
|
|
676
|
+
url: string;
|
|
677
|
+
};
|
|
678
|
+
metadata: {
|
|
679
|
+
MerchantRefrenceId: string;
|
|
680
|
+
};
|
|
681
|
+
terminal_id: string;
|
|
682
|
+
acceptance_status: string;
|
|
683
|
+
payout_status: string;
|
|
684
|
+
}
|
|
685
|
+
export interface AuthTerminalInfo {
|
|
686
|
+
id: string;
|
|
687
|
+
object: string;
|
|
688
|
+
live_mode: boolean;
|
|
689
|
+
api_version: string;
|
|
690
|
+
feature_version: string;
|
|
691
|
+
name: TerminalName;
|
|
692
|
+
merchant: TerminalMerchant;
|
|
693
|
+
authorizes: TerminalAuthorizes;
|
|
694
|
+
charges: TerminalAuthorizes;
|
|
695
|
+
refunds: TerminalAuthorizes;
|
|
696
|
+
wallet: TerminalWallet;
|
|
697
|
+
virtual: boolean;
|
|
698
|
+
operator: TerminalOperator;
|
|
699
|
+
acceptance_status: string;
|
|
700
|
+
data_status: TerminalDataStatus;
|
|
701
|
+
data_verification: TerminalDataStatus;
|
|
702
|
+
data_state: string;
|
|
703
|
+
brand: TerminalWallet;
|
|
704
|
+
}
|
|
705
|
+
interface TerminalDataStatus {
|
|
706
|
+
name: TerminalName;
|
|
707
|
+
charge_last_transaction: string;
|
|
708
|
+
charge_flag: string;
|
|
709
|
+
authorize_last_transaction: string;
|
|
710
|
+
refund_last_transaction: string;
|
|
711
|
+
acceptance_status: string;
|
|
712
|
+
}
|
|
713
|
+
interface TerminalName {
|
|
714
|
+
ar: string;
|
|
715
|
+
en: string;
|
|
716
|
+
}
|
|
717
|
+
interface TerminalWallet {
|
|
718
|
+
id: string;
|
|
719
|
+
}
|
|
720
|
+
interface TerminalOperator {
|
|
721
|
+
id: string;
|
|
722
|
+
is_merchant: boolean;
|
|
723
|
+
}
|
|
724
|
+
interface TerminalMerchant {
|
|
725
|
+
id: string;
|
|
726
|
+
base_currency: string;
|
|
727
|
+
country: string;
|
|
728
|
+
}
|
|
729
|
+
interface TerminalAuthorizes {
|
|
730
|
+
status: string;
|
|
731
|
+
status_message: string;
|
|
732
|
+
}
|
|
733
|
+
export type CountryInfo = {
|
|
734
|
+
id: number;
|
|
735
|
+
label: string;
|
|
736
|
+
country: {
|
|
737
|
+
id: number;
|
|
738
|
+
name_en: string;
|
|
739
|
+
name_ar: string;
|
|
740
|
+
iso2: string;
|
|
741
|
+
iso3: string;
|
|
742
|
+
idd_prefix: string;
|
|
743
|
+
logo: string;
|
|
744
|
+
min_digits: number;
|
|
745
|
+
max_digits: number;
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
export type BusinessCountryInfo = {
|
|
749
|
+
id: number;
|
|
750
|
+
title: string;
|
|
751
|
+
countries: Array<CountryInfo>;
|
|
752
|
+
};
|
|
580
753
|
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) {
|
|
@@ -69,6 +71,7 @@ export var DocumentPurpose;
|
|
|
69
71
|
DocumentPurpose["CR"] = "commercial_registration";
|
|
70
72
|
DocumentPurpose["ARTICLE_ASSOCIATION"] = "article_of_association";
|
|
71
73
|
DocumentPurpose["BANK_STATEMENT"] = "bank_statement";
|
|
74
|
+
DocumentPurpose["BANK_CERTIFICATE"] = "bank_certificate";
|
|
72
75
|
DocumentPurpose["IDENTITY_DOCUMENT"] = "identity_document";
|
|
73
76
|
DocumentPurpose["CUSTOMER_SIGNATURE"] = "customer_signature";
|
|
74
77
|
DocumentPurpose["TAX_DOCUMENT"] = "tax_document_user_upload";
|
|
@@ -80,3 +83,8 @@ export var VerificationStatus;
|
|
|
80
83
|
VerificationStatus["ENTERED"] = "entered";
|
|
81
84
|
VerificationStatus["NOT_ENTERED"] = "not_entered";
|
|
82
85
|
})(VerificationStatus || (VerificationStatus = {}));
|
|
86
|
+
export var MerchantStatus;
|
|
87
|
+
(function (MerchantStatus) {
|
|
88
|
+
MerchantStatus["DISABLED"] = "disabled";
|
|
89
|
+
MerchantStatus["ENABLED"] = "enabled";
|
|
90
|
+
})(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>;
|
|
@@ -106,17 +110,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
106
110
|
shareCount: string;
|
|
107
111
|
shareValue: string;
|
|
108
112
|
}
|
|
109
|
-
export
|
|
113
|
+
export type IndividualAttachmentsFormValues = {
|
|
110
114
|
civilID?: Array<string>;
|
|
111
115
|
signatureFileId?: Array<string>;
|
|
112
116
|
civilIDUploading?: boolean;
|
|
113
117
|
signatureFileUploading?: boolean;
|
|
114
118
|
};
|
|
115
|
-
export
|
|
119
|
+
export type PasswordCreateFormValues = {
|
|
116
120
|
password: string;
|
|
117
121
|
confirmPassword: string;
|
|
118
122
|
};
|
|
119
|
-
export
|
|
123
|
+
export type EntityNameFormValues = {
|
|
120
124
|
legalName: string;
|
|
121
125
|
licenseNumber: string;
|
|
122
126
|
licenseType: string;
|
|
@@ -127,15 +131,25 @@ export declare type EntityNameFormValues = {
|
|
|
127
131
|
certificateId?: Array<string>;
|
|
128
132
|
articleId?: string;
|
|
129
133
|
};
|
|
130
|
-
export
|
|
134
|
+
export type EntityCapitalFormValues = {
|
|
131
135
|
activities: Array<Activity>;
|
|
132
136
|
capitalPaid: string;
|
|
133
137
|
capitalShareCount: string;
|
|
134
138
|
capitalShareValue: string;
|
|
135
139
|
};
|
|
136
|
-
export
|
|
140
|
+
export type BusinessDataFormValues = {
|
|
137
141
|
brandName: string;
|
|
138
142
|
licenseNumber: string;
|
|
139
143
|
selectedLicense?: License;
|
|
140
144
|
termAndConditionChecked?: boolean;
|
|
141
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
|
@@ -12,7 +12,7 @@ export interface User {
|
|
|
12
12
|
is_authorized: boolean;
|
|
13
13
|
verification: Verification;
|
|
14
14
|
source_income: Role[];
|
|
15
|
-
occupation:
|
|
15
|
+
occupation: UserOccupation;
|
|
16
16
|
entities: Entity[];
|
|
17
17
|
documents: string[];
|
|
18
18
|
monthly_income: Role;
|
|
@@ -34,6 +34,23 @@ export interface User {
|
|
|
34
34
|
objects: Array<string>;
|
|
35
35
|
isRequestedEmail?: boolean;
|
|
36
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
|
+
}
|
|
37
54
|
interface DataVerification {
|
|
38
55
|
status: string;
|
|
39
56
|
name: string;
|
package/build/api/account.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { PaymentProvider } from '../@types';
|
|
2
|
+
export type CreateAccountBody = {
|
|
2
3
|
lead_id: string;
|
|
3
4
|
notify: {
|
|
4
5
|
email: boolean;
|
|
@@ -8,9 +9,11 @@ export declare type CreateAccountBody = {
|
|
|
8
9
|
is_acknowledged: boolean;
|
|
9
10
|
step_name: string;
|
|
10
11
|
};
|
|
11
|
-
export
|
|
12
|
+
export type ExpressCreateAccountBody = {
|
|
12
13
|
post_url: string;
|
|
13
14
|
lead_id: string;
|
|
15
|
+
platforms?: string[];
|
|
16
|
+
payment_provider?: PaymentProvider;
|
|
14
17
|
};
|
|
15
18
|
declare const accountService: {
|
|
16
19
|
createAccount: (data: CreateAccountBody) => Promise<any>;
|