@tap-payments/auth-jsconnect 2.8.60-development → 2.8.61-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/app.d.ts +17 -17
- package/build/@types/config.d.ts +1 -1
- package/build/@types/form.d.ts +23 -23
- package/build/@types/redux.d.ts +0 -1
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +13 -13
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +11 -11
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +12 -12
- package/build/api/entity.js +4 -12
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/index.d.ts +2 -2
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +12 -12
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +2 -2
- package/build/app/settings.d.ts +3 -21
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +4 -4
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Error.d.ts +2 -1
- package/build/components/AnimationFlow/Loader.d.ts +2 -1
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +2 -1
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -1
- package/build/components/FileInput/DragAndDrop.d.ts +2 -1
- package/build/components/FileInput/UploadInput.d.ts +2 -1
- 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 +2 -1
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/Radio/Radio.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.d.ts +1 -1
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/Text/Text.d.ts +1 -1
- package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +1 -0
- package/build/constants/api.js +2 -0
- package/build/constants/app.d.ts +3 -1
- package/build/constants/app.js +2 -0
- package/build/features/app/auth/authStore.d.ts +21 -201
- package/build/features/app/auth/authStore.js +1 -1
- package/build/features/app/bank/bankStore.d.ts +29 -104
- package/build/features/app/bank/bankStore.js +166 -184
- package/build/features/app/board/boardStore.d.ts +5 -41
- package/build/features/app/board/boardStore.js +11 -17
- package/build/features/app/brand/brandStore.d.ts +46 -157
- package/build/features/app/brand/brandStore.js +240 -244
- package/build/features/app/business/businessStore.d.ts +18 -162
- package/build/features/app/business/businessStore.js +2 -8
- package/build/features/app/connect/connectStore.d.ts +16 -151
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +29 -281
- package/build/features/app/connectExpress/connectExpressStore.js +1 -1
- package/build/features/app/entity/entityStore.d.ts +44 -111
- package/build/features/app/entity/entityStore.js +250 -205
- package/build/features/app/individual/individualStore.d.ts +58 -201
- package/build/features/app/individual/individualStore.js +271 -222
- package/build/features/app/password/passwordStore.d.ts +37 -139
- package/build/features/app/password/passwordStore.js +217 -171
- package/build/features/app/signIn/signInStore.d.ts +7 -61
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +16 -94
- package/build/features/app/tax/taxStore.js +148 -169
- package/build/features/auth/Auth.d.ts +2 -1
- package/build/features/auth/Auth.js +1 -1
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/Email/Email.d.ts +1 -1
- package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
- package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/auth/screens/NID/DOB.d.ts +2 -1
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/auth/screens/Password/Password.d.ts +1 -1
- package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/BankDetails.js +4 -17
- package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +2 -1
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +58 -15
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +11 -48
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +31 -10
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +8 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +4 -22
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -2
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +6 -22
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +2 -1
- package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +2 -1
- package/build/features/business/screens/Activities/Activities.d.ts +2 -1
- package/build/features/business/screens/Activities/Activities.js +1 -9
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +13 -5
- 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 +13 -5
- package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +2 -1
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +2 -1
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +28 -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/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +70 -19
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/Customers.js +1 -9
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +31 -10
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +3 -2
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/OTP/OTP.d.ts +1 -1
- package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +2 -1
- package/build/features/connect/Connect.js +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +2 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +2 -8
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +1 -1
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +2 -1
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/NID/DOB.d.ts +2 -1
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +2 -1
- package/build/features/connectExpress/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +28 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -3
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/DOB.d.ts +2 -1
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +8 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +2 -1
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +2 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +9 -33
- package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
- package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
- package/build/features/entity/screens/EntityName/EntityName.js +14 -31
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +58 -15
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -1
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/individual/Individual.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +10 -43
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +27 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -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/SignatureFile.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +25 -9
- package/build/features/individual/screens/IndividualList/IndividualList.js +0 -7
- package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
- package/build/features/individual/screens/IndividualList/UserList.js +3 -3
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +28 -6
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +18 -73
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/password/Password.d.ts +2 -1
- package/build/features/password/Password.js +2 -2
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +2 -1
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +2 -1
- package/build/features/shared/Address/Address.d.ts +2 -1
- package/build/features/shared/Address/CountryList.d.ts +46 -14
- package/build/features/shared/Address/InputSelect.d.ts +46 -14
- 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 +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/AbsherButton.d.ts +2 -1
- package/build/features/shared/Button/Button.d.ts +2 -1
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.js +2 -8
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +2 -1
- package/build/features/shared/Button/SuccessButton.d.ts +2 -1
- package/build/features/shared/Calender/Calender.d.ts +2 -1
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +3 -2
- package/build/features/shared/Chip/Chip.d.ts +2 -1
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +2 -1
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +2 -1
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
- package/build/features/shared/Footer/Footer.d.ts +2 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +14 -6
- package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
- package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
- 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 +2 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +2 -1
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +9 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
- package/build/features/signIn/SignIn.d.ts +2 -1
- package/build/features/signIn/SignIn.js +2 -10
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +2 -1
- package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +3 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +2 -7
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -2
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/hooks/index.d.ts +0 -1
- package/build/hooks/index.js +0 -1
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/index.css +21 -1
- package/build/utils/array.js +1 -1
- package/build/utils/common.js +4 -4
- package/package.json +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +0 -10
- package/build/hooks/useFormDirtyCheck.js +0 -66
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
28
|
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;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -55,10 +55,10 @@ import { getRecentDocumentBasedOnPurpose, hasNoneEditableValue, retrieveIndividu
|
|
|
55
55
|
export var verifyLeadToken = createAsyncThunk('taxVerifyLeadToken', function (_a, thunkApi) {
|
|
56
56
|
var token = _a.token, isInternally = _a.isInternally;
|
|
57
57
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
58
|
-
var payload, data,
|
|
59
|
-
var
|
|
60
|
-
return __generator(this, function (
|
|
61
|
-
switch (
|
|
58
|
+
var payload, data, boardData, boardInfoData, individualData, publicKey, countryIso2, _b, id_1, type_1, serviceCallBack, _c, boardRes, individualRes;
|
|
59
|
+
var _d, _e, _f, _g, _h;
|
|
60
|
+
return __generator(this, function (_j) {
|
|
61
|
+
switch (_j.label) {
|
|
62
62
|
case 0:
|
|
63
63
|
payload = __assign({ service_name: 'tap_email', verify_token: token }, (isInternally && {
|
|
64
64
|
notification: {
|
|
@@ -67,48 +67,56 @@ export var verifyLeadToken = createAsyncThunk('taxVerifyLeadToken', function (_a
|
|
|
67
67
|
}));
|
|
68
68
|
return [4, API.leadService.verifyLeadToken(payload)];
|
|
69
69
|
case 1:
|
|
70
|
-
data = (
|
|
71
|
-
|
|
72
|
-
if (((
|
|
70
|
+
data = (_j.sent()).data;
|
|
71
|
+
individualData = undefined;
|
|
72
|
+
if (((_d = data === null || data === void 0 ? void 0 : data.errors) === null || _d === void 0 ? void 0 : _d.length) || (data === null || data === void 0 ? void 0 : data.mw_error))
|
|
73
73
|
throw new Error(data.errors[0].description || (data === null || data === void 0 ? void 0 : data.mw_error));
|
|
74
74
|
if (isInternally)
|
|
75
75
|
data.step_name = TAX_STEP_NAMES.TAX_INFO;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
if (publicKey)
|
|
76
|
+
publicKey = (_e = data === null || data === void 0 ? void 0 : data.config) === null || _e === void 0 ? void 0 : _e.public_key;
|
|
77
|
+
countryIso2 = data === null || data === void 0 ? void 0 : data.country_code;
|
|
78
|
+
if (publicKey) {
|
|
79
79
|
thunkApi.dispatch(handlePublicKey(publicKey));
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
return [3,
|
|
80
|
+
}
|
|
81
|
+
if (countryIso2)
|
|
82
|
+
thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
|
|
83
|
+
if (!(data === null || data === void 0 ? void 0 : data.id)) return [3, 6];
|
|
84
|
+
if (!data.board_info_id) return [3, 3];
|
|
85
|
+
return [4, API.boardService.retrieveBoardInfo({ id: data.id, infoId: data.board_info_id })];
|
|
85
86
|
case 2:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
case
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
return [3, 6];
|
|
95
|
-
case 4: return [4, API.entityService.retrieveEntity(entity_id)];
|
|
87
|
+
boardInfoData = _j.sent();
|
|
88
|
+
_j.label = 3;
|
|
89
|
+
case 3: return [4, API.boardService.retrieveBoardDetails(data.id)];
|
|
90
|
+
case 4:
|
|
91
|
+
boardData = _j.sent();
|
|
92
|
+
_b = ((_f = boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification) === null || _f === void 0 ? void 0 : _f.recipient) || {}, id_1 = _b.id, type_1 = _b.type;
|
|
93
|
+
serviceCallBack = function () { return API.individualService.retrieveIndividual(id_1, type_1); };
|
|
94
|
+
return [4, retrieveIndividualData(type_1, boardData, serviceCallBack)];
|
|
96
95
|
case 5:
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
_c = _j.sent(), boardRes = _c.boardRes, individualRes = _c.individualRes;
|
|
97
|
+
boardData = boardRes;
|
|
98
|
+
individualData = individualRes;
|
|
99
|
+
_j.label = 6;
|
|
99
100
|
case 6:
|
|
100
|
-
if (!
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
thunkApi.dispatch(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
101
|
+
if (!countryIso2 && ((_g = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _g === void 0 ? void 0 : _g.country)) {
|
|
102
|
+
countryIso2 = boardData.entity.country;
|
|
103
|
+
thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
|
|
104
|
+
}
|
|
105
|
+
if (data.step_name === TAX_STEP_NAMES.PHONE_AUTH) {
|
|
106
|
+
thunkApi.dispatch(handleCurrentActiveScreen('TAX_VERIFY_STEP'));
|
|
107
|
+
}
|
|
108
|
+
else if (data.step_name === TAX_STEP_NAMES.TAX_INFO) {
|
|
109
|
+
if (isInternally)
|
|
110
|
+
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('TAX_TAX_DETAILS_STEP')); });
|
|
111
|
+
else
|
|
112
|
+
thunkApi.dispatch(handleNextScreenStep('TAX_TAX_DETAILS_STEP'));
|
|
113
|
+
}
|
|
114
|
+
return [2, {
|
|
115
|
+
data: data,
|
|
116
|
+
individualData: individualData,
|
|
117
|
+
boardResponse: __assign(__assign({}, boardData === null || boardData === void 0 ? void 0 : boardData.business), { entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand, user: boardData === null || boardData === void 0 ? void 0 : boardData.user, bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account, vatID: (_h = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _h === void 0 ? void 0 : _h.vat_id, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification, board_status: boardData === null || boardData === void 0 ? void 0 : boardData.status }),
|
|
118
|
+
token: token
|
|
119
|
+
}];
|
|
112
120
|
}
|
|
113
121
|
});
|
|
114
122
|
});
|
|
@@ -131,139 +139,98 @@ export var resendOTP = createAsyncThunk('resendOTPTax', function (params, thunkA
|
|
|
131
139
|
});
|
|
132
140
|
}); });
|
|
133
141
|
export var retrieveBoardStatus = createAsyncThunk('tax/retrieveBoardStatus', function (parmas, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
134
|
-
var tax,
|
|
135
|
-
return __generator(this, function (
|
|
136
|
-
switch (
|
|
142
|
+
var tax, board_id, data;
|
|
143
|
+
return __generator(this, function (_a) {
|
|
144
|
+
switch (_a.label) {
|
|
137
145
|
case 0:
|
|
138
146
|
tax = thunkApi.getState().tax;
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
throw new Error('Internal server error');
|
|
142
|
-
_b = recipient || {}, id = _b.id, type = _b.type;
|
|
143
|
-
return [4, Promise.all([
|
|
144
|
-
API.boardService.retrieveBoardInfoStatus(board_id),
|
|
145
|
-
thunkApi.dispatch(retrieveBoardDetails({ boardId: board_id, individualId: id, individualType: type })).unwrap()
|
|
146
|
-
])];
|
|
147
|
+
board_id = (tax.data.verify.responseBody || {}).board_id;
|
|
148
|
+
return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
|
|
147
149
|
case 1:
|
|
148
|
-
data =
|
|
150
|
+
data = _a.sent();
|
|
149
151
|
thunkApi.dispatch(handlePrevScreenStep());
|
|
150
152
|
return [2, { flows: (data === null || data === void 0 ? void 0 : data.info) || [] }];
|
|
151
153
|
}
|
|
152
154
|
});
|
|
153
155
|
}); });
|
|
154
|
-
export var
|
|
155
|
-
var
|
|
156
|
-
return
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
data = _g.sent();
|
|
164
|
-
individualData = data === null || data === void 0 ? void 0 : data.user;
|
|
165
|
-
boardData = data;
|
|
166
|
-
if (!(((_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.id) !== id)) return [3, 3];
|
|
167
|
-
serviceCallBack = function () { return API.individualService.retrieveIndividual(id, type); };
|
|
168
|
-
return [4, retrieveIndividualData(type, data, serviceCallBack)];
|
|
169
|
-
case 2:
|
|
170
|
-
_b = _g.sent(), boardRes = _b.boardRes, individualRes = _b.individualRes;
|
|
171
|
-
individualData = individualRes;
|
|
172
|
-
boardData = boardRes;
|
|
173
|
-
_g.label = 3;
|
|
174
|
-
case 3: return [2, __assign(__assign({}, boardData), { brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand, bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account, entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, name: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.names, vatID: (_e = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _e === void 0 ? void 0 : _e.vat_id, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, contact: (_f = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _f === void 0 ? void 0 : _f.contact, user: individualData, board_status: boardData === null || boardData === void 0 ? void 0 : boardData.status })];
|
|
175
|
-
}
|
|
176
|
-
});
|
|
156
|
+
export var retrieveEntityInfo = createAsyncThunk('retrieveTaxEntityInfo', function (entityID) { return __awaiter(void 0, void 0, void 0, function () {
|
|
157
|
+
var data;
|
|
158
|
+
return __generator(this, function (_a) {
|
|
159
|
+
switch (_a.label) {
|
|
160
|
+
case 0: return [4, API.entityService.retrieveEntityInfo(entityID)];
|
|
161
|
+
case 1:
|
|
162
|
+
data = (_a.sent()).data;
|
|
163
|
+
return [2, { data: data }];
|
|
164
|
+
}
|
|
177
165
|
});
|
|
178
|
-
});
|
|
166
|
+
}); });
|
|
179
167
|
export var verifyTaxLeadOTP = createAsyncThunk('verifyTaxLeadOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
180
|
-
var _a, tax, settings, responseBody, payload, data,
|
|
181
|
-
var _c, _d, _e, _f
|
|
182
|
-
return __generator(this, function (
|
|
183
|
-
switch (
|
|
168
|
+
var _a, tax, settings, responseBody, payload, data, publicKey;
|
|
169
|
+
var _b, _c, _d, _e, _f;
|
|
170
|
+
return __generator(this, function (_g) {
|
|
171
|
+
switch (_g.label) {
|
|
184
172
|
case 0:
|
|
185
173
|
_a = thunkApi.getState(), tax = _a.tax, settings = _a.settings;
|
|
186
174
|
responseBody = tax.data.verify.responseBody;
|
|
187
175
|
payload = {
|
|
188
176
|
data: params.otp,
|
|
189
|
-
service_name: (
|
|
177
|
+
service_name: (_b = responseBody === null || responseBody === void 0 ? void 0 : responseBody.verification_by) === null || _b === void 0 ? void 0 : _b.service_name,
|
|
190
178
|
verify_token: responseBody === null || responseBody === void 0 ? void 0 : responseBody.verify_token,
|
|
191
179
|
step_name: TAX_STEP_NAMES.PHONE_AUTH,
|
|
192
180
|
encryption_contract: ['data']
|
|
193
181
|
};
|
|
194
182
|
return [4, API.leadService.verifyLeadOTP(payload)];
|
|
195
183
|
case 1:
|
|
196
|
-
data = (
|
|
197
|
-
if ((
|
|
184
|
+
data = (_g.sent()).data;
|
|
185
|
+
if ((_c = data.errors) === null || _c === void 0 ? void 0 : _c.length)
|
|
198
186
|
throw new Error(data.errors[0].description);
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
publicKey = config === null || config === void 0 ? void 0 : config.public_key;
|
|
202
|
-
countryIso2 = country_code || (responseBody === null || responseBody === void 0 ? void 0 : responseBody.country_code);
|
|
203
|
-
if (publicKey)
|
|
187
|
+
publicKey = (_d = data === null || data === void 0 ? void 0 : data.config) === null || _d === void 0 ? void 0 : _d.public_key;
|
|
188
|
+
if (publicKey) {
|
|
204
189
|
thunkApi.dispatch(handlePublicKey(publicKey));
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
if (!!entity_id) return [3, 3];
|
|
208
|
-
return [4, API.boardService.retrieveBoardDetails(boardId)];
|
|
209
|
-
case 2:
|
|
210
|
-
data_2 = _j.sent();
|
|
211
|
-
if (!((_e = data_2 === null || data_2 === void 0 ? void 0 : data_2.entity) === null || _e === void 0 ? void 0 : _e.id))
|
|
212
|
-
throw new Error('entity_id_missing');
|
|
213
|
-
entityData = data_2;
|
|
214
|
-
return [3, 5];
|
|
215
|
-
case 3: return [4, API.entityService.retrieveEntity(entity_id)];
|
|
216
|
-
case 4:
|
|
217
|
-
entityData = _j.sent();
|
|
218
|
-
_j.label = 5;
|
|
219
|
-
case 5:
|
|
220
|
-
if (!countryIso2 && ((_f = entityData === null || entityData === void 0 ? void 0 : entityData.entity) === null || _f === void 0 ? void 0 : _f.country))
|
|
221
|
-
thunkApi.dispatch(handleSetCountryByIso2(entityData.entity.country));
|
|
222
|
-
(_h = (_g = settings.data.appConfig).onStepCompleted) === null || _h === void 0 ? void 0 : _h.call(_g, settings.data.activeScreen.name, { otp: params.otp });
|
|
190
|
+
}
|
|
191
|
+
(_f = (_e = settings.data.appConfig).onStepCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, settings.data.activeScreen.name, { otp: params.otp });
|
|
223
192
|
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('TAX_TAX_DETAILS_STEP')); });
|
|
224
|
-
return [2, { data: data,
|
|
193
|
+
return [2, { data: data, formData: params }];
|
|
225
194
|
}
|
|
226
195
|
});
|
|
227
196
|
}); });
|
|
228
197
|
export var updateTaxInfo = createAsyncThunk('updateTaxInfo', function (_a, thunkApi) {
|
|
229
|
-
var formData = _a.formData, originalFormData = _a.originalFormData
|
|
198
|
+
var formData = _a.formData, originalFormData = _a.originalFormData;
|
|
230
199
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
231
|
-
var _b, settings, tax, _c, entity,
|
|
232
|
-
var
|
|
233
|
-
return __generator(this, function (
|
|
234
|
-
switch (
|
|
200
|
+
var _b, settings, tax, _c, entity, notification, _d, id, data_status, documents, isTaxNumberNonEditable, isConfirmPolicyNonEditable, isDocumentsNonEditable, document, vatId, confirmPolicy, documentId, requestBody, data, documentBody, _e, documentBody, _f;
|
|
201
|
+
var _g, _h, _j, _k;
|
|
202
|
+
return __generator(this, function (_l) {
|
|
203
|
+
switch (_l.label) {
|
|
235
204
|
case 0:
|
|
236
205
|
_b = thunkApi.getState(), settings = _b.settings, tax = _b.tax;
|
|
237
|
-
_c = tax.data.verify.responseBody || {}, entity = _c.entity,
|
|
206
|
+
_c = tax.data.verify.responseBody || {}, entity = _c.entity, notification = _c.notification;
|
|
238
207
|
_d = entity || {}, id = _d.id, data_status = _d.data_status, documents = _d.documents;
|
|
239
208
|
isTaxNumberNonEditable = hasNoneEditableValue(data_status, 'tax_number');
|
|
240
209
|
isConfirmPolicyNonEditable = hasNoneEditableValue(data_status, 'is_vat_acknowledged');
|
|
241
210
|
isDocumentsNonEditable = hasNoneEditableValue(data_status, 'documents');
|
|
242
211
|
document = getRecentDocumentBasedOnPurpose(documents, DocumentPurpose.TAX_DOCUMENT);
|
|
243
212
|
vatId = formData.vatId, confirmPolicy = formData.confirmPolicy, documentId = formData.documentId;
|
|
244
|
-
data = entity || {};
|
|
245
213
|
requestBody = __assign(__assign({ id: id, vat_id: isTaxNumberNonEditable ? undefined : vatId }, (!isConfirmPolicyNonEditable && {
|
|
246
|
-
vat_acknowledged_by:
|
|
214
|
+
vat_acknowledged_by: (_g = notification === null || notification === void 0 ? void 0 : notification.recipient) === null || _g === void 0 ? void 0 : _g.id,
|
|
247
215
|
is_vat_acknowledged: confirmPolicy
|
|
248
216
|
})), { step_name: TAX_STEP_NAMES.TAX_INFO });
|
|
249
|
-
if (!isDirty) return [3, 2];
|
|
250
217
|
return [4, API.entityService.updateEntityInfo(requestBody)];
|
|
251
218
|
case 1:
|
|
252
|
-
data =
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
if (!(!isDocumentsNonEditable && (documentId || []).length > 0)) return [3,
|
|
256
|
-
if (!(document === null || document === void 0 ? void 0 : document.id)) return [3,
|
|
219
|
+
data = (_l.sent()).data;
|
|
220
|
+
if ((_h = data.errors) === null || _h === void 0 ? void 0 : _h.length)
|
|
221
|
+
throw new Error(data.errors[0].description);
|
|
222
|
+
if (!(!isDocumentsNonEditable && (documentId || []).length > 0)) return [3, 5];
|
|
223
|
+
if (!(document === null || document === void 0 ? void 0 : document.id)) return [3, 3];
|
|
257
224
|
documentBody = {
|
|
258
225
|
id: document === null || document === void 0 ? void 0 : document.id,
|
|
259
226
|
images: documentId
|
|
260
227
|
};
|
|
228
|
+
_e = data;
|
|
261
229
|
return [4, API.documentService.addFilesToExistingDocument(documentBody)];
|
|
230
|
+
case 2:
|
|
231
|
+
_e.documentData = _l.sent();
|
|
232
|
+
return [3, 5];
|
|
262
233
|
case 3:
|
|
263
|
-
documentData = _g.sent();
|
|
264
|
-
data = __assign(__assign({}, data), { documentData: documentData });
|
|
265
|
-
return [3, 6];
|
|
266
|
-
case 4:
|
|
267
234
|
documentBody = {
|
|
268
235
|
entity_id: id || '',
|
|
269
236
|
documents: [
|
|
@@ -273,53 +240,55 @@ export var updateTaxInfo = createAsyncThunk('updateTaxInfo', function (_a, thunk
|
|
|
273
240
|
}
|
|
274
241
|
]
|
|
275
242
|
};
|
|
243
|
+
_f = data;
|
|
276
244
|
return [4, API.documentService.updateDocumentInfo(documentBody)];
|
|
245
|
+
case 4:
|
|
246
|
+
_f.documentData = _l.sent();
|
|
247
|
+
_l.label = 5;
|
|
277
248
|
case 5:
|
|
278
|
-
documentData = _g.sent();
|
|
279
|
-
data = __assign(__assign({}, data), { documentData: documentData });
|
|
280
|
-
_g.label = 6;
|
|
281
|
-
case 6:
|
|
282
249
|
thunkApi.dispatch(handleNextScreenStep());
|
|
283
|
-
(
|
|
250
|
+
(_k = (_j = settings.data.appConfig).onStepCompleted) === null || _k === void 0 ? void 0 : _k.call(_j, settings.data.activeScreen.name, requestBody);
|
|
284
251
|
return [2, { data: data, formData: originalFormData }];
|
|
285
252
|
}
|
|
286
253
|
});
|
|
287
254
|
});
|
|
288
255
|
});
|
|
289
256
|
export var updateLeadSuccess = createAsyncThunk('taxUpdateLeadSuccess', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
290
|
-
var _a, settings, tax, _b,
|
|
291
|
-
var _e, _f, _g, _h, _j, _k, _l, _m
|
|
292
|
-
return __generator(this, function (
|
|
293
|
-
switch (
|
|
257
|
+
var _a, settings, tax, _b, id, infoId, _c, showBoard, mode, payload, data, boardInfoData, boardData;
|
|
258
|
+
var _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
259
|
+
return __generator(this, function (_o) {
|
|
260
|
+
switch (_o.label) {
|
|
294
261
|
case 0:
|
|
295
262
|
_a = thunkApi.getState(), settings = _a.settings, tax = _a.tax;
|
|
296
|
-
_b = tax.data.verify.responseBody || {},
|
|
263
|
+
_b = tax.data.verify.responseBody || {}, id = _b.board_id, infoId = _b.board_info_id;
|
|
297
264
|
_c = settings.data.appConfig, showBoard = _c.showBoard, mode = _c.mode;
|
|
298
|
-
if (!
|
|
265
|
+
if (!id)
|
|
299
266
|
return [2];
|
|
300
267
|
payload = {
|
|
301
268
|
lang: settings.data.language,
|
|
302
269
|
step_name: TAX_STEP_NAMES.TAX_SUCCESS
|
|
303
270
|
};
|
|
304
|
-
return [4, API.boardService.updateBoardInfo(__assign({ id:
|
|
271
|
+
return [4, API.boardService.updateBoardInfo(__assign({ id: id, infoId: infoId }, payload))];
|
|
305
272
|
case 1:
|
|
306
|
-
data =
|
|
273
|
+
data = _o.sent();
|
|
307
274
|
if (!showBoard && mode === 'content') {
|
|
308
|
-
(
|
|
309
|
-
(
|
|
310
|
-
return [2, {
|
|
275
|
+
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, {});
|
|
276
|
+
(_g = (_f = settings.data.appConfig).onFlowCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, { data: data });
|
|
277
|
+
return [2, { response: __assign({}, data), formData: params }];
|
|
311
278
|
}
|
|
312
|
-
|
|
313
|
-
return [4, Promise.all([
|
|
314
|
-
API.boardService.retrieveBoardInfoStatus(board_id),
|
|
315
|
-
thunkApi.dispatch(retrieveBoardDetails({ boardId: board_id, individualId: id, individualType: type })).unwrap()
|
|
316
|
-
])];
|
|
279
|
+
return [4, API.boardService.retrieveBoardInfoStatus(id)];
|
|
317
280
|
case 2:
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
281
|
+
boardInfoData = _o.sent();
|
|
282
|
+
return [4, API.boardService.retrieveBoardDetails(id)];
|
|
283
|
+
case 3:
|
|
284
|
+
boardData = _o.sent();
|
|
285
|
+
(_j = (_h = settings.data.appConfig).onStepCompleted) === null || _j === void 0 ? void 0 : _j.call(_h, settings.data.activeScreen.name, {});
|
|
286
|
+
(_l = (_k = settings.data.appConfig).onFlowCompleted) === null || _l === void 0 ? void 0 : _l.call(_k, { data: data });
|
|
321
287
|
thunkApi.dispatch(handleNextScreenStep());
|
|
322
|
-
return [2, {
|
|
288
|
+
return [2, {
|
|
289
|
+
response: __assign(__assign({}, data), { flows: (boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.info) || [], user: boardData === null || boardData === void 0 ? void 0 : boardData.user, entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand, bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account, vatID: (_m = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _m === void 0 ? void 0 : _m.vat_id, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, board_status: boardData === null || boardData === void 0 ? void 0 : boardData.status }),
|
|
290
|
+
formData: params
|
|
291
|
+
}];
|
|
323
292
|
}
|
|
324
293
|
});
|
|
325
294
|
}); });
|
|
@@ -377,13 +346,13 @@ export var taxSlice = createSlice({
|
|
|
377
346
|
.addCase(verifyLeadToken.fulfilled, function (state, action) {
|
|
378
347
|
state.error = null;
|
|
379
348
|
state.customLoading = false;
|
|
380
|
-
var _a = action.payload, data = _a.data, token = _a.token,
|
|
381
|
-
var
|
|
382
|
-
state.data.verify.responseBody = __assign(__assign({}, data),
|
|
349
|
+
var _a = action.payload, data = _a.data, token = _a.token, boardResponse = _a.boardResponse, individualData = _a.individualData;
|
|
350
|
+
var user = boardResponse.user, bank_account = boardResponse.bank_account, vatID = boardResponse.vatID, merchant = boardResponse.merchant, individuals = boardResponse.individuals, entity = boardResponse.entity;
|
|
351
|
+
state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, data), boardResponse), state.data.verify.responseBody), { board_id: data.id, name: user === null || user === void 0 ? void 0 : user.names, bank_account: bank_account, vatID: vatID, merchant: merchant, individuals: individuals, individualData: individualData });
|
|
383
352
|
state.data.verify.token = token;
|
|
384
|
-
state.data.taxData.vatId =
|
|
385
|
-
if (is_vat_acknowledged)
|
|
386
|
-
state.data.taxData.confirmPolicy = is_vat_acknowledged;
|
|
353
|
+
state.data.taxData.vatId = vatID;
|
|
354
|
+
if (entity === null || entity === void 0 ? void 0 : entity.is_vat_acknowledged)
|
|
355
|
+
state.data.taxData.confirmPolicy = entity === null || entity === void 0 ? void 0 : entity.is_vat_acknowledged;
|
|
387
356
|
})
|
|
388
357
|
.addCase(verifyLeadToken.pending, function (state) {
|
|
389
358
|
state.error = null;
|
|
@@ -417,14 +386,9 @@ export var taxSlice = createSlice({
|
|
|
417
386
|
.addCase(verifyTaxLeadOTP.fulfilled, function (state, action) {
|
|
418
387
|
state.loading = false;
|
|
419
388
|
state.error = null;
|
|
420
|
-
var _a = action.payload, data = _a.data,
|
|
389
|
+
var _a = action.payload, data = _a.data, formData = _a.formData;
|
|
421
390
|
state.data.otpData = formData;
|
|
422
391
|
state.data.otpData.responseBody = data;
|
|
423
|
-
var _b = entityData || {}, vat_id = _b.vat_id, is_vat_acknowledged = _b.is_vat_acknowledged;
|
|
424
|
-
state.data.verify.responseBody = __assign(__assign(__assign({}, state.data.verify.responseBody), data), { board_id: data.id, entity: entityData });
|
|
425
|
-
state.data.taxData.vatId = vat_id;
|
|
426
|
-
if (is_vat_acknowledged)
|
|
427
|
-
state.data.taxData.confirmPolicy = is_vat_acknowledged;
|
|
428
392
|
})
|
|
429
393
|
.addCase(verifyTaxLeadOTP.rejected, function (state, action) {
|
|
430
394
|
state.loading = false;
|
|
@@ -439,24 +403,29 @@ export var taxSlice = createSlice({
|
|
|
439
403
|
state.error = null;
|
|
440
404
|
var _a = action.payload, data = _a.data, formData = _a.formData;
|
|
441
405
|
state.data.taxData = formData;
|
|
442
|
-
state.data.taxData = __assign(__assign({}, formData), { documentId: undefined });
|
|
443
406
|
state.data.taxData.responseBody = data;
|
|
444
407
|
})
|
|
445
408
|
.addCase(updateTaxInfo.rejected, function (state, action) {
|
|
446
409
|
state.loading = false;
|
|
447
410
|
state.error = action.error.message;
|
|
448
411
|
})
|
|
449
|
-
.addCase(
|
|
412
|
+
.addCase(retrieveEntityInfo.pending, function (state) {
|
|
450
413
|
state.error = null;
|
|
451
414
|
state.loading = true;
|
|
452
415
|
})
|
|
453
|
-
.addCase(
|
|
416
|
+
.addCase(retrieveEntityInfo.fulfilled, function (state, action) {
|
|
417
|
+
var _a;
|
|
454
418
|
state.error = null;
|
|
455
419
|
state.loading = false;
|
|
456
|
-
var data = action.payload || {};
|
|
420
|
+
var data = (action.payload || {}).data;
|
|
421
|
+
var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
|
|
422
|
+
if (description) {
|
|
423
|
+
state.error = description;
|
|
424
|
+
return;
|
|
425
|
+
}
|
|
457
426
|
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), data);
|
|
458
427
|
})
|
|
459
|
-
.addCase(
|
|
428
|
+
.addCase(retrieveEntityInfo.rejected, function (state, action) {
|
|
460
429
|
state.error = action.error.message;
|
|
461
430
|
state.loading = false;
|
|
462
431
|
})
|
|
@@ -477,9 +446,19 @@ export var taxSlice = createSlice({
|
|
|
477
446
|
.addCase(updateLeadSuccess.fulfilled, function (state, action) {
|
|
478
447
|
var _a;
|
|
479
448
|
state.loading = false;
|
|
449
|
+
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { updateBoardSuccessLoading: false });
|
|
480
450
|
state.error = null;
|
|
481
|
-
var
|
|
482
|
-
|
|
451
|
+
var response = (action.payload || {}).response;
|
|
452
|
+
var description = (((_a = response === null || response === void 0 ? void 0 : response.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
|
|
453
|
+
if (description) {
|
|
454
|
+
state.error = description;
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
var flows = response.flows, steps = response.steps, user = response.user, bank_account = response.bank_account, vatID = response.vatID, merchant = response.merchant, individuals = response.individuals, entity = response.entity, brand = response.brand, individualData = response.individualData;
|
|
458
|
+
var data_state = (((individualData === null || individualData === void 0 ? void 0 : individualData.is_authorized) ? individuals : individualData) || {}).data_state;
|
|
459
|
+
state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps, bank_account: bank_account, name: user === null || user === void 0 ? void 0 : user.names, vatID: vatID, merchant: merchant, individuals: individuals, entity: entity, brand: brand }), (individualData && { user: individualData })), (data_state && {
|
|
460
|
+
individuals: __assign(__assign({}, individuals), { data_state: data_state })
|
|
461
|
+
}));
|
|
483
462
|
})
|
|
484
463
|
.addCase(updateLeadSuccess.pending, function (state) {
|
|
485
464
|
state.loading = true;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { LibConfig } from '../../@types';
|
|
2
3
|
export interface AuthLibProps extends Pick<LibConfig, 'open' | 'mode' | 'scope' | 'merchantDomain' | 'publicKey' | 'redirectUrl' | 'data' | 'postURL' | 'appInfo' | 'businessCountryCode' | 'language' | 'onFlowCompleted' | 'onError' | 'onStepCompleted' | 'onReady' | 'onClose' | 'onStepStarted'> {
|
|
3
4
|
leadId?: string;
|
|
@@ -8,7 +9,7 @@ export interface AuthLibProps extends Pick<LibConfig, 'open' | 'mode' | 'scope'
|
|
|
8
9
|
interface ConnectAuthProps extends AuthLibProps {
|
|
9
10
|
unmount?: () => void;
|
|
10
11
|
}
|
|
11
|
-
export declare function AuthElement(props: ConnectAuthProps):
|
|
12
|
+
export declare function AuthElement(props: ConnectAuthProps): JSX.Element;
|
|
12
13
|
export declare function renderAuthLib(config: AuthLibProps, elementId: string): {
|
|
13
14
|
unmount: () => void;
|
|
14
15
|
};
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
28
|
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;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface AccountCreatedLoaderProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: AccountCreatedLoaderProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: AccountCreatedLoaderProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface AccountNotFoundProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: AccountNotFoundProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: AccountNotFoundProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface AuthMerchantProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: AuthMerchantProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: AuthMerchantProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface AuthSwitchProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: AuthSwitchProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: AuthSwitchProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface AuthenticationListProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: AuthenticationListProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: AuthenticationListProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -6,5 +6,5 @@ interface BrandListProps {
|
|
|
6
6
|
onListOpen?: () => void;
|
|
7
7
|
onListClose?: () => void;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: React.MemoExoticComponent<({ show, list, ...rest }: BrandListProps) =>
|
|
9
|
+
declare const _default: React.MemoExoticComponent<({ show, list, ...rest }: BrandListProps) => JSX.Element>;
|
|
10
10
|
export default _default;
|