@tap-payments/auth-jsconnect 2.4.23-test → 2.4.23
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 +190 -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 -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 +37 -3
- package/build/app/settings.js +128 -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 +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 +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 +193 -24
- package/build/features/app/individual/individualStore.js +262 -172
- 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 +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 +34 -10
- 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 +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 +12 -7
- 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 +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 +14 -11
- 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 +5 -5
- 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 +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 +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 +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 +11 -2
- package/build/utils/array.js +90 -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/build/api/auth.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { LanguageMode } from '../@types';
|
|
3
|
-
export
|
|
3
|
+
export type MobileCredential = {
|
|
4
4
|
code: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type EmailCredential = {
|
|
8
8
|
email: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type IDCredential = {
|
|
11
11
|
country_code?: string;
|
|
12
12
|
identification_id: string;
|
|
13
13
|
identification_id_type?: string;
|
|
14
14
|
date_of_birth?: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type CivilID = {
|
|
17
17
|
identification_id: string;
|
|
18
18
|
country_code: string;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type CreateAuthBody = {
|
|
21
21
|
country: string;
|
|
22
22
|
scope: string;
|
|
23
23
|
user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
|
|
@@ -30,7 +30,7 @@ export declare type CreateAuthBody = {
|
|
|
30
30
|
lang?: LanguageMode;
|
|
31
31
|
lead_id?: string;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type VerifyAuthBody = {
|
|
34
34
|
auth_token: string;
|
|
35
35
|
auth_type: number;
|
|
36
36
|
data: string;
|
|
@@ -42,28 +42,28 @@ export declare type VerifyAuthBody = {
|
|
|
42
42
|
encryption_contract: Array<string>;
|
|
43
43
|
remember_me?: boolean;
|
|
44
44
|
};
|
|
45
|
-
export
|
|
45
|
+
export type VerifyOperationAuthBody = {
|
|
46
46
|
auth_token: string;
|
|
47
47
|
auth_type: number;
|
|
48
48
|
};
|
|
49
|
-
export
|
|
49
|
+
export type ResetPasswordCredential = {
|
|
50
50
|
otp: string;
|
|
51
51
|
new_password: string;
|
|
52
52
|
};
|
|
53
|
-
export
|
|
53
|
+
export type ResetPasswordVerifyAuthBody = {
|
|
54
54
|
auth_token: string;
|
|
55
55
|
auth_type: number;
|
|
56
56
|
step_name: string;
|
|
57
57
|
user_credentail: ResetPasswordCredential;
|
|
58
58
|
encryption_contract: Array<string>;
|
|
59
59
|
};
|
|
60
|
-
export
|
|
60
|
+
export type CreatePasswordBody = {
|
|
61
61
|
password: string;
|
|
62
62
|
signup_token?: string;
|
|
63
63
|
step_name: string;
|
|
64
64
|
encryption_contract: Array<string>;
|
|
65
65
|
};
|
|
66
|
-
export
|
|
66
|
+
export type VerifyAuthExpressOTPBody = {
|
|
67
67
|
auth_token?: string;
|
|
68
68
|
verify_token?: string;
|
|
69
69
|
lead_id?: string;
|
|
@@ -78,6 +78,10 @@ export declare type VerifyAuthExpressOTPBody = {
|
|
|
78
78
|
terms?: Array<string>;
|
|
79
79
|
encryption_contract: Array<string>;
|
|
80
80
|
};
|
|
81
|
+
export type getExpressTokenVerifyParams = {
|
|
82
|
+
token: string;
|
|
83
|
+
leadId: string;
|
|
84
|
+
};
|
|
81
85
|
declare const authService: {
|
|
82
86
|
createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
83
87
|
verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -89,5 +93,7 @@ declare const authService: {
|
|
|
89
93
|
createExpressAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
|
|
90
94
|
verifyExpressLeadIdentity: (data: VerifyAuthExpressOTPBody) => Promise<any>;
|
|
91
95
|
createExpressLeadIdentityAuth: (data: CreateAuthBody) => Promise<any>;
|
|
96
|
+
getVerifyExpressAuth: (token: string, config?: AxiosRequestConfig) => Promise<any>;
|
|
97
|
+
getExpressTokenVerify: ({ token, leadId }: getExpressTokenVerifyParams, config?: AxiosRequestConfig) => Promise<any>;
|
|
92
98
|
};
|
|
93
99
|
export { authService };
|
package/build/api/auth.js
CHANGED
|
@@ -40,6 +40,13 @@ var verifyExpressAuth = function (data) {
|
|
|
40
40
|
data: data
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
|
+
var getVerifyExpressAuth = function (token, config) {
|
|
44
|
+
return httpClient(__assign({ method: 'get', url: "".concat(ENDPOINT_PATHS.Verify_Express_Auth_PACI_PATH, "/").concat(token) }, config));
|
|
45
|
+
};
|
|
46
|
+
var getExpressTokenVerify = function (_a, config) {
|
|
47
|
+
var token = _a.token, leadId = _a.leadId;
|
|
48
|
+
return httpClient(__assign({ method: 'get', url: "".concat(ENDPOINT_PATHS.EXPRESS_PATH, "/").concat(leadId).concat(ENDPOINT_PATHS.TOKEN_VERIFY, "/").concat(token) }, config));
|
|
49
|
+
};
|
|
43
50
|
var verifyExpressLeadIdentity = function (data) {
|
|
44
51
|
return httpClient({
|
|
45
52
|
method: 'put',
|
|
@@ -71,6 +78,8 @@ var authService = {
|
|
|
71
78
|
createAuthKitNID: createAuthKitNID,
|
|
72
79
|
createExpressAuth: createExpressAuth,
|
|
73
80
|
verifyExpressLeadIdentity: verifyExpressLeadIdentity,
|
|
74
|
-
createExpressLeadIdentityAuth: createExpressLeadIdentityAuth
|
|
81
|
+
createExpressLeadIdentityAuth: createExpressLeadIdentityAuth,
|
|
82
|
+
getVerifyExpressAuth: getVerifyExpressAuth,
|
|
83
|
+
getExpressTokenVerify: getExpressTokenVerify
|
|
75
84
|
};
|
|
76
85
|
export { authService };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type CheckEmailBody = {
|
|
3
3
|
email: string | null;
|
|
4
|
+
country: string;
|
|
4
5
|
encryption_contract: Array<string>;
|
|
5
6
|
};
|
|
6
|
-
export
|
|
7
|
+
export type CheckBrandBody = {
|
|
7
8
|
profile_name: string;
|
|
8
9
|
country_code: string;
|
|
9
10
|
encryption_contract: Array<string>;
|
|
10
11
|
};
|
|
11
|
-
export
|
|
12
|
+
export type CheckIBanBody = {
|
|
12
13
|
iban_number: string;
|
|
13
14
|
encryption_contract?: Array<string>;
|
|
14
15
|
};
|
package/build/api/axios.js
CHANGED
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
17
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
package/build/api/board.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type UpdateBoardBody = {
|
|
2
2
|
id?: string;
|
|
3
3
|
infoId?: string;
|
|
4
4
|
step_name: string;
|
|
5
5
|
lang: string;
|
|
6
6
|
encryption_contract?: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type RetrieveBoardInfoBody = {
|
|
9
9
|
id: string;
|
|
10
10
|
infoId: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type UpdateBoardInfoBody = {
|
|
13
13
|
id: string;
|
|
14
14
|
infoId: string;
|
|
15
15
|
step_name: string;
|
package/build/api/brand.d.ts
CHANGED
package/build/api/country.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetCitiesBody = {
|
|
2
2
|
country: string[];
|
|
3
3
|
};
|
|
4
4
|
declare const countryService: {
|
|
@@ -6,5 +6,6 @@ declare const countryService: {
|
|
|
6
6
|
list: never[];
|
|
7
7
|
};
|
|
8
8
|
getCities: (data: GetCitiesBody) => Promise<any>;
|
|
9
|
+
getCurrency: (countryCode: string) => Promise<any>;
|
|
9
10
|
};
|
|
10
11
|
export { countryService };
|
package/build/api/country.js
CHANGED
|
@@ -15,8 +15,15 @@ var getCities = function (data) {
|
|
|
15
15
|
data: data
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
|
+
var getCurrency = function (countryCode) {
|
|
19
|
+
return httpClient({
|
|
20
|
+
method: 'get',
|
|
21
|
+
url: "".concat(ENDPOINT_PATHS.CURRENCY, "/").concat(countryCode)
|
|
22
|
+
});
|
|
23
|
+
};
|
|
18
24
|
var countryService = {
|
|
19
25
|
getCountries: getCountries,
|
|
20
|
-
getCities: getCities
|
|
26
|
+
getCities: getCities,
|
|
27
|
+
getCurrency: getCurrency
|
|
21
28
|
};
|
|
22
29
|
export { countryService };
|
package/build/api/data.d.ts
CHANGED
|
@@ -1,37 +1,41 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
|
|
2
|
+
type GetOccupationBody = {
|
|
3
3
|
page: number;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type GetSegmentsBody = {
|
|
6
6
|
page: number;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type GetTeamSizeBody = {
|
|
9
9
|
page: number;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type SegmentDataListBody = {
|
|
12
|
+
page: number;
|
|
13
|
+
limit: number;
|
|
14
|
+
};
|
|
15
|
+
type GetMonthlyIncomeBody = {
|
|
12
16
|
page: number;
|
|
13
17
|
country_code: Array<string>;
|
|
14
18
|
};
|
|
15
|
-
export
|
|
19
|
+
export type DataElementBody = {
|
|
16
20
|
id: string;
|
|
17
21
|
name: {
|
|
18
22
|
en: string;
|
|
19
23
|
ar: string;
|
|
20
24
|
};
|
|
21
25
|
};
|
|
22
|
-
|
|
26
|
+
type GetCustomerBasesBody = {
|
|
23
27
|
page: number;
|
|
24
28
|
};
|
|
25
|
-
|
|
29
|
+
type GetExpectedSalesBody = {
|
|
26
30
|
page: number;
|
|
27
31
|
};
|
|
28
|
-
|
|
32
|
+
type GetExpectedCustomerSalesBody = {
|
|
29
33
|
page: number;
|
|
30
34
|
};
|
|
31
|
-
|
|
35
|
+
type GetSourceOfIncomeBody = {
|
|
32
36
|
page: number;
|
|
33
37
|
};
|
|
34
|
-
|
|
38
|
+
type GetChannelsOfServicesBody = {
|
|
35
39
|
page: number;
|
|
36
40
|
};
|
|
37
41
|
declare const dataService: {
|
|
@@ -46,5 +50,8 @@ declare const dataService: {
|
|
|
46
50
|
getTeamSize: (data: GetTeamSizeBody) => Promise<any>;
|
|
47
51
|
getActivities: (config?: AxiosRequestConfig) => Promise<any>;
|
|
48
52
|
getActivitiesIsIc: () => Promise<any>;
|
|
53
|
+
getSegmentLocation: (data: SegmentDataListBody) => Promise<any>;
|
|
54
|
+
getSegmentProfit: (data: SegmentDataListBody) => Promise<any>;
|
|
55
|
+
getSegmentTech: (data: SegmentDataListBody) => Promise<any>;
|
|
49
56
|
};
|
|
50
57
|
export { dataService };
|
package/build/api/data.js
CHANGED
|
@@ -56,7 +56,7 @@ var getMonthlyIncome = function (data) {
|
|
|
56
56
|
var getOccupation = function (data) {
|
|
57
57
|
return httpClient({
|
|
58
58
|
method: 'post',
|
|
59
|
-
url: "".concat(ENDPOINT_PATHS.OCCUPATION),
|
|
59
|
+
url: "".concat(ENDPOINT_PATHS.OCCUPATION, "/list"),
|
|
60
60
|
data: data
|
|
61
61
|
});
|
|
62
62
|
};
|
|
@@ -84,6 +84,27 @@ var getTeamSize = function (data) {
|
|
|
84
84
|
data: data
|
|
85
85
|
});
|
|
86
86
|
};
|
|
87
|
+
var getSegmentLocation = function (data) {
|
|
88
|
+
return httpClient({
|
|
89
|
+
method: 'post',
|
|
90
|
+
url: "".concat(ENDPOINT_PATHS.SEGMENT_LOCATION, "/list"),
|
|
91
|
+
data: data
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
var getSegmentProfit = function (data) {
|
|
95
|
+
return httpClient({
|
|
96
|
+
method: 'post',
|
|
97
|
+
url: "".concat(ENDPOINT_PATHS.SEGMENT_PROFIT, "/list"),
|
|
98
|
+
data: data
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
var getSegmentTech = function (data) {
|
|
102
|
+
return httpClient({
|
|
103
|
+
method: 'post',
|
|
104
|
+
url: "".concat(ENDPOINT_PATHS.SEGMENT_TECH, "/list"),
|
|
105
|
+
data: data
|
|
106
|
+
});
|
|
107
|
+
};
|
|
87
108
|
var dataService = {
|
|
88
109
|
getChannelsOfServices: getChannelsOfServices,
|
|
89
110
|
getCustomerBases: getCustomerBases,
|
|
@@ -95,6 +116,9 @@ var dataService = {
|
|
|
95
116
|
getSegments: getSegments,
|
|
96
117
|
getTeamSize: getTeamSize,
|
|
97
118
|
getActivities: getActivities,
|
|
98
|
-
getActivitiesIsIc: getActivitiesIsIc
|
|
119
|
+
getActivitiesIsIc: getActivitiesIsIc,
|
|
120
|
+
getSegmentLocation: getSegmentLocation,
|
|
121
|
+
getSegmentProfit: getSegmentProfit,
|
|
122
|
+
getSegmentTech: getSegmentTech
|
|
99
123
|
};
|
|
100
124
|
export { dataService };
|
package/build/api/document.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type DocumentInfo = {
|
|
2
2
|
type?: string;
|
|
3
3
|
number?: string;
|
|
4
4
|
issuing_country?: string;
|
|
@@ -6,7 +6,7 @@ export declare type DocumentInfo = {
|
|
|
6
6
|
expiry_date?: string;
|
|
7
7
|
images: Array<string>;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type DocumentUpdateBody = {
|
|
10
10
|
entity_id?: boolean;
|
|
11
11
|
individual_type_id?: number;
|
|
12
12
|
country?: string;
|
package/build/api/entity.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
|
|
2
|
+
import { PaymentProvider } from '../@types';
|
|
3
|
+
export type EntityInfoBody = {
|
|
3
4
|
id: string;
|
|
4
5
|
lead_id?: string;
|
|
5
6
|
activities?: Array<{
|
|
@@ -34,7 +35,7 @@ export declare type EntityInfoBody = {
|
|
|
34
35
|
encryption_contract?: Array<string>;
|
|
35
36
|
vat_acknowledged_by?: string;
|
|
36
37
|
};
|
|
37
|
-
export
|
|
38
|
+
export type BankDocumentInfo = {
|
|
38
39
|
type?: string;
|
|
39
40
|
number?: string;
|
|
40
41
|
issuing_country?: string;
|
|
@@ -42,7 +43,7 @@ export declare type BankDocumentInfo = {
|
|
|
42
43
|
expiry_date?: string;
|
|
43
44
|
files: Array<string>;
|
|
44
45
|
};
|
|
45
|
-
export
|
|
46
|
+
export type EntityBankUpdateBody = {
|
|
46
47
|
wallet_id: string;
|
|
47
48
|
acknowledged_by?: string;
|
|
48
49
|
bank_account: {
|
|
@@ -58,7 +59,7 @@ export declare type EntityBankUpdateBody = {
|
|
|
58
59
|
step_name: string;
|
|
59
60
|
encryption_contract?: Array<string>;
|
|
60
61
|
};
|
|
61
|
-
export
|
|
62
|
+
export type UpdateEntityBody = {
|
|
62
63
|
id: string;
|
|
63
64
|
license?: {
|
|
64
65
|
type?: string;
|
|
@@ -88,13 +89,13 @@ export declare type UpdateEntityBody = {
|
|
|
88
89
|
};
|
|
89
90
|
encryption_contract?: Array<string>;
|
|
90
91
|
};
|
|
91
|
-
export
|
|
92
|
+
export type UpdateEntityActivityBody = {
|
|
92
93
|
id: string;
|
|
93
94
|
activities?: Array<{
|
|
94
95
|
id: string;
|
|
95
96
|
}>;
|
|
96
97
|
};
|
|
97
|
-
export
|
|
98
|
+
export type UpdateEntityCapitalBody = {
|
|
98
99
|
id: string;
|
|
99
100
|
capital: {
|
|
100
101
|
paid: string;
|
|
@@ -104,16 +105,35 @@ export declare type UpdateEntityCapitalBody = {
|
|
|
104
105
|
};
|
|
105
106
|
};
|
|
106
107
|
};
|
|
107
|
-
export
|
|
108
|
+
export type UpdateEntityAOAFileBody = {
|
|
108
109
|
id: string;
|
|
109
110
|
AOA_file_id: string;
|
|
110
111
|
};
|
|
111
|
-
export
|
|
112
|
+
export type RemoveEntityActivity = {
|
|
112
113
|
id: string;
|
|
113
114
|
activities?: Array<{
|
|
114
115
|
id: string;
|
|
115
116
|
}>;
|
|
116
117
|
};
|
|
118
|
+
export type MerchantListBody = {
|
|
119
|
+
business_entity_id: string;
|
|
120
|
+
brand_id: string;
|
|
121
|
+
create_if_not_present: boolean;
|
|
122
|
+
platforms?: Array<string>;
|
|
123
|
+
payment_provider?: PaymentProvider;
|
|
124
|
+
};
|
|
125
|
+
export type CreateEntityBody = {
|
|
126
|
+
business_id: string;
|
|
127
|
+
entity: {
|
|
128
|
+
legal_name: {
|
|
129
|
+
en: string;
|
|
130
|
+
ar: string;
|
|
131
|
+
};
|
|
132
|
+
license_number: string;
|
|
133
|
+
country: string;
|
|
134
|
+
is_licensed?: boolean;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
117
137
|
declare const entityService: {
|
|
118
138
|
createEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
119
139
|
updateEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -129,5 +149,9 @@ declare const entityService: {
|
|
|
129
149
|
updateEntityAOAFile: ({ id, ...data }: UpdateEntityAOAFileBody) => Promise<any>;
|
|
130
150
|
retrieveAllEntities: (id: string) => Promise<any>;
|
|
131
151
|
removeEntityActivities: ({ id, ...data }: RemoveEntityActivity) => Promise<any>;
|
|
152
|
+
getEntityListUsingIndividualId: (individualId: string) => Promise<any>;
|
|
153
|
+
getMerchantListUsingEntityId: (data: MerchantListBody) => Promise<any>;
|
|
154
|
+
getTerminalListUsingMerchantId: (merchantId: string) => Promise<any>;
|
|
155
|
+
createEntity: (data: CreateEntityBody) => Promise<any>;
|
|
132
156
|
};
|
|
133
157
|
export { entityService };
|
package/build/api/entity.js
CHANGED
|
@@ -97,6 +97,38 @@ var removeEntityActivities = function (_a) {
|
|
|
97
97
|
data: data
|
|
98
98
|
});
|
|
99
99
|
};
|
|
100
|
+
var getEntityListUsingIndividualId = function (individualId) {
|
|
101
|
+
return httpClient({
|
|
102
|
+
method: 'post',
|
|
103
|
+
url: "".concat(ENDPOINT_PATHS.ENTITY, "/list"),
|
|
104
|
+
data: {
|
|
105
|
+
individual_id: individualId
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
var getMerchantListUsingEntityId = function (data) {
|
|
110
|
+
return httpClient({
|
|
111
|
+
method: 'post',
|
|
112
|
+
url: "".concat(ENDPOINT_PATHS.MERCHANT, "/list"),
|
|
113
|
+
data: data
|
|
114
|
+
});
|
|
115
|
+
};
|
|
116
|
+
var getTerminalListUsingMerchantId = function (merchantId) {
|
|
117
|
+
return httpClient({
|
|
118
|
+
method: 'post',
|
|
119
|
+
url: "".concat(ENDPOINT_PATHS.TERMINAL, "/list"),
|
|
120
|
+
data: {
|
|
121
|
+
merchant_id: [merchantId]
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
var createEntity = function (data) {
|
|
126
|
+
return httpClient({
|
|
127
|
+
method: 'post',
|
|
128
|
+
url: "".concat(ENDPOINT_PATHS.ENTITY),
|
|
129
|
+
data: data
|
|
130
|
+
});
|
|
131
|
+
};
|
|
100
132
|
var entityService = {
|
|
101
133
|
createEntityInfo: createEntityInfo,
|
|
102
134
|
updateEntityInfo: updateEntityInfo,
|
|
@@ -111,6 +143,10 @@ var entityService = {
|
|
|
111
143
|
updateEntityCapital: updateEntityCapital,
|
|
112
144
|
updateEntityAOAFile: updateEntityAOAFile,
|
|
113
145
|
retrieveAllEntities: retrieveAllEntities,
|
|
114
|
-
removeEntityActivities: removeEntityActivities
|
|
146
|
+
removeEntityActivities: removeEntityActivities,
|
|
147
|
+
getEntityListUsingIndividualId: getEntityListUsingIndividualId,
|
|
148
|
+
getMerchantListUsingEntityId: getMerchantListUsingEntityId,
|
|
149
|
+
getTerminalListUsingMerchantId: getTerminalListUsingMerchantId,
|
|
150
|
+
createEntity: createEntity
|
|
115
151
|
};
|
|
116
152
|
export { entityService };
|
package/build/api/file.d.ts
CHANGED
package/build/api/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import axiosInstance, { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, getAxiosHeaders } from './axios';
|
|
2
|
-
import { ValidateOperatorBody } from './operator';
|
|
2
|
+
import { ValidateOperatorBody, UpdateOperatorBody } from './operator';
|
|
3
3
|
import { CreateAuthBody, VerifyAuthBody, CreatePasswordBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, VerifyAuthExpressOTPBody } from './auth';
|
|
4
|
-
import { UpdateLeadBody, LeadVerifyBody, CreateLeadBody, LeadOTPVerifyBody, LeadIdentityUpdateBody } from './lead';
|
|
4
|
+
import { UpdateLeadBody, LeadVerifyBody, CreateLeadBody, LeadOTPVerifyBody, LeadIdentityUpdateBody, ExpressLeadVerifyBody } from './lead';
|
|
5
5
|
import { CheckEmailBody, CheckBrandBody } from './availabilityServices';
|
|
6
|
-
import { EntityInfoBody, EntityBankUpdateBody, BankDocumentInfo, UpdateEntityBody, UpdateEntityActivityBody, UpdateEntityCapitalBody, UpdateEntityAOAFileBody, RemoveEntityActivity } from './entity';
|
|
6
|
+
import { EntityInfoBody, EntityBankUpdateBody, BankDocumentInfo, UpdateEntityBody, UpdateEntityActivityBody, UpdateEntityCapitalBody, UpdateEntityAOAFileBody, RemoveEntityActivity, MerchantListBody, CreateEntityBody } from './entity';
|
|
7
7
|
import { CreateAccountBody, ExpressCreateAccountBody } from './account';
|
|
8
8
|
import { DataElementBody } from './data';
|
|
9
9
|
import { BrandListBody, UpdateBrandBody, UpdateIndividualBody, GetIndividualListBody, UpdateIndividualWithTypeBody, UpdateMultipleIndividualBody } from './individual';
|
|
@@ -20,12 +20,14 @@ declare const API: {
|
|
|
20
20
|
};
|
|
21
21
|
operatorService: {
|
|
22
22
|
validateOperator: (body: ValidateOperatorBody) => Promise<any>;
|
|
23
|
+
updateOperator: (data: UpdateOperatorBody) => Promise<any>;
|
|
23
24
|
};
|
|
24
25
|
countryService: {
|
|
25
26
|
getCountries: (disableCountries?: boolean | undefined) => Promise<any> | {
|
|
26
27
|
list: never[];
|
|
27
28
|
};
|
|
28
29
|
getCities: (data: import("./country").GetCitiesBody) => Promise<any>;
|
|
30
|
+
getCurrency: (countryCode: string) => Promise<any>;
|
|
29
31
|
};
|
|
30
32
|
authService: {
|
|
31
33
|
createAuth: (data: CreateAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
@@ -38,6 +40,8 @@ declare const API: {
|
|
|
38
40
|
createExpressAuth: (data: CreateAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
39
41
|
verifyExpressLeadIdentity: (data: VerifyAuthExpressOTPBody) => Promise<any>;
|
|
40
42
|
createExpressLeadIdentityAuth: (data: CreateAuthBody) => Promise<any>;
|
|
43
|
+
getVerifyExpressAuth: (token: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
44
|
+
getExpressTokenVerify: ({ token, leadId }: import("./auth").getExpressTokenVerifyParams, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
41
45
|
};
|
|
42
46
|
leadService: {
|
|
43
47
|
createLead: (data: CreateLeadBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -49,6 +53,8 @@ declare const API: {
|
|
|
49
53
|
retrieveEntityList: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
50
54
|
retrieveLeadIdentity: (leadId: string) => Promise<any>;
|
|
51
55
|
updateLeadExpress: ({ id, ...data }: UpdateLeadBody) => Promise<any>;
|
|
56
|
+
verifyExpressLeadToken: (data: ExpressLeadVerifyBody) => Promise<any>;
|
|
57
|
+
createVerifyTokenByBoardId: (boardId: string) => Promise<any>;
|
|
52
58
|
};
|
|
53
59
|
entityService: {
|
|
54
60
|
createEntityInfo: ({ id, ...data }: EntityInfoBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -65,6 +71,10 @@ declare const API: {
|
|
|
65
71
|
updateEntityAOAFile: ({ id, ...data }: UpdateEntityAOAFileBody) => Promise<any>;
|
|
66
72
|
retrieveAllEntities: (id: string) => Promise<any>;
|
|
67
73
|
removeEntityActivities: ({ id, ...data }: RemoveEntityActivity) => Promise<any>;
|
|
74
|
+
getEntityListUsingIndividualId: (individualId: string) => Promise<any>;
|
|
75
|
+
getMerchantListUsingEntityId: (data: MerchantListBody) => Promise<any>;
|
|
76
|
+
getTerminalListUsingMerchantId: (merchantId: string) => Promise<any>;
|
|
77
|
+
createEntity: (data: CreateEntityBody) => Promise<any>;
|
|
68
78
|
};
|
|
69
79
|
availabilityServices: {
|
|
70
80
|
checkEmail: (data: CheckEmailBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -109,6 +119,18 @@ declare const API: {
|
|
|
109
119
|
}) => Promise<any>;
|
|
110
120
|
getActivities: (config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
111
121
|
getActivitiesIsIc: () => Promise<any>;
|
|
122
|
+
getSegmentLocation: (data: {
|
|
123
|
+
page: number;
|
|
124
|
+
limit: number;
|
|
125
|
+
}) => Promise<any>;
|
|
126
|
+
getSegmentProfit: (data: {
|
|
127
|
+
page: number;
|
|
128
|
+
limit: number;
|
|
129
|
+
}) => Promise<any>;
|
|
130
|
+
getSegmentTech: (data: {
|
|
131
|
+
page: number;
|
|
132
|
+
limit: number;
|
|
133
|
+
}) => Promise<any>;
|
|
112
134
|
};
|
|
113
135
|
individualService: {
|
|
114
136
|
retrieveIndividualInfo: (id: string) => Promise<any>;
|
|
@@ -152,6 +174,6 @@ declare const API: {
|
|
|
152
174
|
getInitialData: (body: InitBody) => Promise<any>;
|
|
153
175
|
};
|
|
154
176
|
};
|
|
155
|
-
export type { ValidateOperatorBody, CreateAuthBody, ExpressCreateAccountBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody, DataElementBody, UploadFileBody, UpdateEntityBody, DocumentUpdateBody, DocumentInfo, VerifyAuthExpressOTPBody, UpdateIndividualBody, UpdateEntityActivityBody, UpdateEntityCapitalBody, BankDocumentInfo, GetUserListBody, GetIndividualListBody, RequestEmailBody, DocumentBody, UpdateEntityAOAFileBody, InitBody, RemoveBrandActivity, RemoveEntityActivity, UpdateIndividualWithTypeBody, UpdateMultipleIndividualBody };
|
|
177
|
+
export type { ValidateOperatorBody, CreateAuthBody, ExpressCreateAccountBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody, DataElementBody, UploadFileBody, UpdateEntityBody, DocumentUpdateBody, DocumentInfo, VerifyAuthExpressOTPBody, UpdateIndividualBody, UpdateEntityActivityBody, UpdateEntityCapitalBody, BankDocumentInfo, GetUserListBody, GetIndividualListBody, RequestEmailBody, DocumentBody, UpdateEntityAOAFileBody, InitBody, RemoveBrandActivity, RemoveEntityActivity, UpdateIndividualWithTypeBody, UpdateMultipleIndividualBody, ExpressLeadVerifyBody, UpdateOperatorBody, MerchantListBody, CreateEntityBody };
|
|
156
178
|
export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
|
|
157
179
|
export default API;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DocumentInfo } from './document';
|
|
2
|
-
export
|
|
2
|
+
export type BrandListBody = {
|
|
3
3
|
individual_id: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type UpdateBrandBody = {
|
|
6
6
|
id: string;
|
|
7
7
|
name?: {
|
|
8
8
|
en?: string;
|
|
@@ -53,6 +53,15 @@ export declare type UpdateBrandBody = {
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
segment?: {
|
|
56
|
+
location_type?: {
|
|
57
|
+
id: string;
|
|
58
|
+
};
|
|
59
|
+
profit_type?: {
|
|
60
|
+
id: string;
|
|
61
|
+
};
|
|
62
|
+
tech_type?: {
|
|
63
|
+
id: string;
|
|
64
|
+
};
|
|
56
65
|
type?: {
|
|
57
66
|
id: string;
|
|
58
67
|
};
|
|
@@ -65,14 +74,14 @@ export declare type UpdateBrandBody = {
|
|
|
65
74
|
encryption_contract?: Array<string>;
|
|
66
75
|
term_by?: string;
|
|
67
76
|
};
|
|
68
|
-
export
|
|
77
|
+
export type UpdateSalesChannels = {
|
|
69
78
|
id?: string;
|
|
70
79
|
channel_services: Array<{
|
|
71
80
|
id: string;
|
|
72
81
|
address: string;
|
|
73
82
|
}>;
|
|
74
83
|
};
|
|
75
|
-
export
|
|
84
|
+
export type UpdateIndividualBody = {
|
|
76
85
|
names?: {
|
|
77
86
|
en?: {
|
|
78
87
|
title?: string;
|
|
@@ -125,7 +134,9 @@ export declare type UpdateIndividualBody = {
|
|
|
125
134
|
is_influencer?: boolean | null;
|
|
126
135
|
documents?: Array<DocumentInfo | undefined>;
|
|
127
136
|
occupation?: {
|
|
128
|
-
|
|
137
|
+
chapter: {
|
|
138
|
+
id: string;
|
|
139
|
+
};
|
|
129
140
|
};
|
|
130
141
|
step_name?: string;
|
|
131
142
|
encryption_contract?: Array<string>;
|
|
@@ -137,7 +148,7 @@ export interface UpdateIndividualWithTypeBody extends UpdateIndividualBody {
|
|
|
137
148
|
export interface UpdateMultipleIndividualBody extends UpdateIndividualBody {
|
|
138
149
|
ids: Array<string>;
|
|
139
150
|
}
|
|
140
|
-
export
|
|
151
|
+
export type GetIndividualListBody = {
|
|
141
152
|
page: number;
|
|
142
153
|
limit: number;
|
|
143
154
|
business_id: string;
|
package/build/api/init.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type InitBody = {
|
|
2
2
|
type: string;
|
|
3
3
|
app_client_version: string;
|
|
4
4
|
requirer_browser: string;
|
|
@@ -9,6 +9,7 @@ export declare type InitBody = {
|
|
|
9
9
|
country_list?: boolean;
|
|
10
10
|
merchant?: boolean;
|
|
11
11
|
};
|
|
12
|
+
config_token?: string;
|
|
12
13
|
};
|
|
13
14
|
declare const initService: {
|
|
14
15
|
getInitialData: (body: InitBody) => Promise<any>;
|