@tap-payments/auth-jsconnect 2.4.29-test → 2.4.31-test
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/api/account.js +1 -1
- package/build/api/auth.d.ts +1 -1
- package/build/api/auth.js +1 -1
- package/build/api/availabilityServices.js +1 -1
- package/build/api/axios.js +2 -2
- package/build/api/board.js +1 -1
- package/build/api/brand.d.ts +1 -1
- package/build/api/brand.js +1 -1
- package/build/api/country.js +1 -1
- package/build/api/data.js +1 -1
- package/build/api/document.js +1 -1
- package/build/api/entity.js +1 -1
- package/build/api/file.js +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/individual.js +1 -1
- package/build/api/init.js +1 -1
- package/build/api/lead.d.ts +1 -1
- package/build/api/lead.js +1 -1
- package/build/api/location.js +1 -1
- package/build/api/operator.js +1 -1
- package/build/api/user.js +1 -1
- package/build/app/rootReducer.d.ts +10 -10
- package/build/app/rootReducer.js +10 -10
- package/build/app/settings.d.ts +2 -2
- package/build/app/settings.js +5 -5
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/AnimationFlow.js +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.js +3 -3
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.js +4 -4
- package/build/components/ArabicDatePicker/ArabicDatePicker.js +2 -2
- package/build/components/ArabicDatePicker/style.css +24 -0
- package/build/components/DatePicker/DatePicker.js +3 -3
- package/build/components/DatePicker/customStyle.css +86 -0
- package/build/components/FileInput/DragAndDrop.js +6 -6
- package/build/components/FileInput/UploadInput.js +2 -2
- package/build/components/Footer/Footer.js +3 -3
- package/build/components/Input/Input.js +2 -2
- package/build/components/OTPTimer/OTPTimer.js +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.js +2 -2
- package/build/components/Tooltip/Tooltip.js +2 -2
- package/build/constants/app.d.ts +1 -1
- package/build/constants/app.js +1 -1
- package/build/features/app/bank/bankStore.d.ts +3 -2
- package/build/features/app/bank/bankStore.js +35 -23
- package/build/features/app/brand/brandStore.d.ts +4 -2
- package/build/features/app/brand/brandStore.js +71 -51
- package/build/features/app/business/businessStore.d.ts +2 -2
- package/build/features/app/business/businessStore.js +5 -5
- package/build/features/app/connect/connectStore.d.ts +2 -2
- package/build/features/app/connect/connectStore.js +5 -5
- package/build/features/app/connectExpress/connectExpressStore.d.ts +2 -2
- package/build/features/app/connectExpress/connectExpressStore.js +6 -6
- package/build/features/app/entity/entityStore.d.ts +6 -2
- package/build/features/app/entity/entityStore.js +92 -58
- package/build/features/app/individual/individualStore.d.ts +147 -0
- package/build/features/app/individual/individualStore.js +22 -22
- package/build/features/app/password/passwordStore.d.ts +4 -2
- package/build/features/app/password/passwordStore.js +74 -38
- package/build/features/app/signIn/signInStore.d.ts +2 -2
- package/build/features/app/signIn/signInStore.js +3 -3
- package/build/features/app/tax/taxStore.d.ts +3 -2
- package/build/features/app/tax/taxStore.js +34 -23
- package/build/features/bank/Bank.d.ts +1 -1
- package/build/features/bank/Bank.js +10 -10
- package/build/features/bank/screens/BankDetails/BankDetails.js +9 -9
- package/build/features/bank/screens/BankDetails/BankName.js +8 -8
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
- package/build/features/bank/screens/BankDetails/BankStatement.js +6 -6
- package/build/features/bank/screens/BankDetails/Beneficiary.js +6 -6
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +5 -5
- package/build/features/bank/screens/BankDetails/IBAN.js +10 -10
- package/build/features/bank/screens/BankDetails/validation.js +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/bank/screens/Success/Success.js +3 -3
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/bank/screens/Verify/OTPInput.js +5 -5
- package/build/features/bank/screens/Verify/Verify.js +8 -8
- package/build/features/brand/Brand.d.ts +1 -1
- package/build/features/brand/Brand.js +10 -10
- package/build/features/brand/screens/BrandActivities/ActivitiesList.js +12 -12
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +7 -7
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +11 -11
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +8 -8
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +12 -12
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +1 -1
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +10 -10
- package/build/features/brand/screens/BrandActivities/TAC.js +10 -10
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +8 -8
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +9 -9
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandLogo.js +7 -7
- package/build/features/brand/screens/BrandInfo/BrandName.js +9 -9
- package/build/features/brand/screens/BrandInfo/SalesChannels.js +4 -4
- package/build/features/brand/screens/BrandInfo/Segments.js +9 -9
- package/build/features/brand/screens/BrandInfo/TeamSize.js +9 -9
- package/build/features/brand/screens/BrandInfo/validation.js +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/brand/screens/Success/Success.js +3 -3
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/brand/screens/Verify/OTPInput.js +5 -5
- package/build/features/brand/screens/Verify/Verify.js +8 -8
- package/build/features/business/Business.d.ts +1 -1
- package/build/features/business/Business.js +10 -10
- package/build/features/business/screens/Activities/Activities.js +7 -7
- package/build/features/business/screens/Activities/ActivitiesList.js +12 -12
- package/build/features/business/screens/Activities/LicenseName.js +6 -6
- package/build/features/business/screens/Activities/OperationStartDate.js +5 -5
- package/build/features/business/screens/BrandDetails/BrandDetails.js +7 -7
- package/build/features/business/screens/BrandDetails/BrandName.js +4 -4
- package/build/features/business/screens/BrandDetails/Header.js +5 -5
- package/build/features/business/screens/BrandDetails/LicenseInfo.js +4 -4
- package/build/features/business/screens/BrandDetails/SalesChannel.js +5 -5
- package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Article.js +7 -7
- package/build/features/business/screens/BusinessType/BusinessType.js +10 -10
- package/build/features/business/screens/BusinessType/EntityLicenseList.js +13 -13
- package/build/features/business/screens/BusinessType/EntityName.js +6 -6
- package/build/features/business/screens/BusinessType/LicenseCertificate.js +7 -7
- package/build/features/business/screens/BusinessType/LicenseList.js +13 -13
- package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -10
- package/build/features/business/screens/BusinessType/LicenseType.js +14 -14
- package/build/features/business/screens/BusinessType/SelectType.js +6 -6
- package/build/features/business/screens/BusinessType/validation.js +2 -2
- package/build/features/business/screens/CivilID/CivilID.js +6 -6
- package/build/features/business/screens/CivilID/IDNumber.js +6 -6
- package/build/features/business/screens/Customers/CustomerLocations.js +11 -11
- package/build/features/business/screens/Customers/Customers.js +8 -8
- package/build/features/business/screens/Customers/ExpectedCustomers.js +9 -9
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +11 -11
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
- package/build/features/business/screens/Customers/RefundPolicy.js +10 -10
- package/build/features/business/screens/Customers/TransactionPolicy.js +7 -7
- package/build/features/business/screens/IDBOD/DOB.js +5 -5
- package/build/features/business/screens/IDBOD/ID.js +5 -5
- package/build/features/business/screens/IDBOD/IDBOD.js +6 -6
- package/build/features/business/screens/OTP/OTP.js +9 -9
- package/build/features/business/screens/OTP/OTPInput.js +4 -4
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/business/screens/Success/Success.js +3 -3
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/business/screens/Verify/OTPInput.js +5 -5
- package/build/features/business/screens/Verify/Verify.js +9 -9
- package/build/features/business/screens/VerifyPACI/VerifyPACI.js +4 -4
- package/build/features/connect/Connect.d.ts +1 -1
- package/build/features/connect/Connect.js +10 -10
- package/build/features/connect/screens/CivilID/CivilID.js +8 -8
- package/build/features/connect/screens/CivilID/IDNumber.js +6 -6
- package/build/features/connect/screens/Individual/Email.js +6 -6
- package/build/features/connect/screens/Individual/Individual.js +11 -11
- package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/Individual/MobileNumber.js +12 -12
- package/build/features/connect/screens/Individual/Name.js +5 -5
- package/build/features/connect/screens/Individual/validation.js +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.js +10 -10
- package/build/features/connect/screens/Merchant/BrandName.js +8 -8
- package/build/features/connect/screens/Merchant/Merchant.js +8 -8
- package/build/features/connect/screens/Merchant/SalesChannels.js +4 -4
- package/build/features/connect/screens/Merchant/Segments.js +9 -9
- package/build/features/connect/screens/Merchant/TAC.js +9 -9
- package/build/features/connect/screens/Merchant/TeamSize.js +9 -9
- package/build/features/connect/screens/Merchant/validation.js +1 -1
- package/build/features/connect/screens/Mobile/Mobile.js +11 -11
- package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/Mobile/MobileNumber.js +12 -12
- package/build/features/connect/screens/Mobile/Title.js +2 -2
- package/build/features/connect/screens/NID/DOB.js +5 -5
- package/build/features/connect/screens/NID/IDNumber.js +7 -7
- package/build/features/connect/screens/NID/NID.js +8 -8
- package/build/features/connect/screens/OTP/OTP.js +10 -10
- package/build/features/connect/screens/OTP/OTPInput.js +5 -5
- package/build/features/connect/screens/ThankYou/ThankYou.js +4 -4
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +5 -5
- package/build/features/connectExpress/ConnectExpress.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.js +10 -10
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +3 -3
- package/build/features/connectExpress/screens/Brand/Brand.js +9 -9
- package/build/features/connectExpress/screens/CivilID/CivilID.js +8 -8
- package/build/features/connectExpress/screens/CivilID/IDNumber.js +6 -6
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +6 -6
- package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.js +6 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +8 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +8 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +13 -13
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +10 -10
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +12 -12
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +8 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +2 -2
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +11 -11
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +6 -6
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +11 -11
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +5 -5
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +5 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTP.js +10 -10
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +5 -5
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +4 -4
- package/build/features/connectExpress/screens/Mobile/Mobile.js +10 -10
- package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +12 -12
- package/build/features/connectExpress/screens/Mobile/TAC.js +8 -8
- package/build/features/connectExpress/screens/Mobile/Title.js +2 -2
- package/build/features/connectExpress/screens/NID/DOB.js +5 -5
- package/build/features/connectExpress/screens/NID/IDNumber.js +9 -9
- package/build/features/connectExpress/screens/NID/NID.js +8 -8
- package/build/features/connectExpress/screens/NID/TAC.js +8 -8
- package/build/features/connectExpress/screens/NIDMissed/DOB.js +5 -5
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +7 -7
- package/build/features/connectExpress/screens/NIDMissed/NID.js +7 -7
- package/build/features/connectExpress/screens/OTP/OTP.js +10 -10
- package/build/features/connectExpress/screens/OTP/OTPInput.js +5 -5
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +4 -4
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.js +4 -4
- package/build/features/entity/Entity.d.ts +1 -1
- package/build/features/entity/Entity.js +10 -10
- package/build/features/entity/screens/EntityCapital/ActivityList.js +12 -12
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +7 -7
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +6 -6
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +7 -7
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +7 -7
- package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
- package/build/features/entity/screens/EntityName/Article.js +7 -7
- package/build/features/entity/screens/EntityName/EntityName.js +9 -9
- package/build/features/entity/screens/EntityName/EntityTypeList.js +12 -12
- package/build/features/entity/screens/EntityName/ExpiryDate.js +6 -6
- package/build/features/entity/screens/EntityName/IssuingDate.js +5 -5
- package/build/features/entity/screens/EntityName/LegalName.js +6 -6
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.js +8 -8
- package/build/features/entity/screens/EntityName/LicenseNumber.js +10 -10
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +7 -7
- package/build/features/entity/screens/EntityName/validation.js +2 -2
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/entity/screens/Success/Success.js +3 -3
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/entity/screens/Verify/OTPInput.js +5 -5
- package/build/features/entity/screens/Verify/Verify.js +8 -8
- package/build/features/featuresScreens.d.ts +1 -1
- package/build/features/featuresScreens.js +79 -79
- package/build/features/individual/Individual.d.ts +1 -1
- package/build/features/individual/Individual.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +11 -11
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +8 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +11 -11
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +9 -9
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +7 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +8 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +3 -3
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +8 -8
- package/build/features/individual/screens/IndividualList/IndividualList.js +8 -8
- package/build/features/individual/screens/IndividualList/MobileNumber.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/MobileNumber.js +11 -11
- package/build/features/individual/screens/IndividualList/UserList.js +11 -11
- package/build/features/individual/screens/IndividualList/validation.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/validation.js +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +9 -9
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +8 -8
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +6 -6
- package/build/features/individual/screens/IndividualPersonalInfo/Email.js +4 -4
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +7 -7
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +8 -8
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -6
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +9 -9
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +8 -8
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +10 -10
- package/build/features/individual/screens/IndividualPersonalInfo/Name.js +5 -5
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +8 -8
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +11 -11
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +8 -8
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/individual/screens/Success/Success.js +3 -3
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/individual/screens/Verify/OTPInput.js +5 -5
- package/build/features/individual/screens/Verify/Verify.js +8 -8
- package/build/features/password/Password.d.ts +1 -1
- package/build/features/password/Password.js +10 -10
- package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
- package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
- package/build/features/password/screens/CreatePassword/CreatePassword.js +8 -8
- package/build/features/password/screens/CreatePassword/Password.js +6 -6
- package/build/features/password/screens/OTP/OTP.js +9 -9
- package/build/features/password/screens/OTP/OTPInput.js +4 -4
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/password/screens/Success/Success.js +4 -4
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/password/screens/Verify/OTPInput.js +5 -5
- package/build/features/password/screens/Verify/Verify.js +8 -8
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +4 -4
- package/build/features/shared/Address/Address.d.ts +1 -1
- package/build/features/shared/Address/Address.js +2 -2
- package/build/features/shared/Address/CountryList.d.ts +2 -2
- package/build/features/shared/Address/CountryList.js +7 -7
- package/build/features/shared/Address/InputSelect.d.ts +1 -1
- package/build/features/shared/Address/InputSelect.js +7 -7
- package/build/features/shared/Background/Background.js +2 -2
- package/build/features/shared/Background/LogoBackground.js +3 -3
- package/build/features/shared/Button/AbsherButton.d.ts +1 -1
- package/build/features/shared/Button/AbsherButton.js +3 -3
- package/build/features/shared/Button/Button.d.ts +1 -1
- package/build/features/shared/Button/Button.js +7 -7
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
- package/build/features/shared/Button/EmailProvidersButtons.js +3 -3
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -2
- package/build/features/shared/Button/FlowsButtons.js +7 -7
- package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
- package/build/features/shared/Button/IndividualActionButtons.js +5 -5
- package/build/features/shared/Button/MobileButton.d.ts +1 -1
- package/build/features/shared/Button/MobileButton.js +3 -3
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.js +4 -4
- package/build/features/shared/DataLoading/DataLoading.js +4 -4
- package/build/features/shared/Dialog/CloseDialog.js +2 -2
- package/build/features/shared/Dialog/DialogContainer.js +2 -2
- package/build/features/shared/EndAdornment/EndAdornment.js +2 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.js +2 -2
- package/build/features/shared/Footer/Footer.js +4 -4
- package/build/features/shared/Footer/PoweredByFooter.js +3 -3
- package/build/features/shared/GenericError/GenericError.js +4 -4
- package/build/features/shared/Input/Input.d.ts +1 -1
- package/build/features/shared/Input/Input.js +2 -2
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/OTP/OTP.js +3 -3
- package/build/features/shared/PaciVerification/PaciVerification.js +5 -5
- package/build/features/shared/PaciVerification/VerifyPACILoading.js +3 -3
- package/build/features/shared/PaciVerification/VerifyPACISuccess.js +1 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +9 -9
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/SalesChannels/SalesChannel.js +6 -6
- package/build/features/shared/Search/Search.js +1 -1
- package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +6 -6
- package/build/features/shared/SuccessScreen/SuccessScreen.js +6 -6
- package/build/features/shared/UploadFile/FileUpload.d.ts +1 -1
- package/build/features/shared/UploadFile/FileUpload.js +8 -8
- package/build/features/shared/UploadFile/UploadFile.js +10 -10
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
- package/build/features/shared/UploadFile/UploadWrapper.js +7 -7
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +1 -1
- package/build/features/shared/UploadMultipleFile/UploadFile.js +8 -8
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +7 -7
- package/build/features/signIn/SignIn.d.ts +1 -1
- package/build/features/signIn/SignIn.js +10 -10
- package/build/features/signIn/screens/Email/Email.js +8 -8
- package/build/features/signIn/screens/Email/EmailField.js +5 -5
- package/build/features/signIn/screens/Email/validation.js +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.js +9 -9
- package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/MobileNumber.js +12 -12
- package/build/features/signIn/screens/OTP/OTP.js +9 -9
- package/build/features/signIn/screens/OTP/OTPInput.js +4 -4
- package/build/features/signIn/screens/Password/Password.js +7 -7
- package/build/features/signIn/screens/Password/PasswordInput.js +3 -3
- package/build/features/tax/Tax.d.ts +1 -1
- package/build/features/tax/Tax.js +10 -10
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/tax/screens/Success/Success.js +3 -3
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +5 -5
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +8 -8
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/TaxDocument.js +8 -8
- package/build/features/tax/screens/TaxDetails/VATId.js +6 -6
- package/build/features/tax/screens/Verify/OTPInput.js +5 -5
- package/build/features/tax/screens/Verify/Verify.js +8 -8
- package/build/hooks/useAppConfig.d.ts +1 -1
- package/build/hooks/useAppConfig.js +4 -4
- package/build/hooks/useAppSelector.d.ts +1 -1
- package/build/hooks/useAppTheme.d.ts +1 -1
- package/build/hooks/useAppTheme.js +3 -3
- package/build/hooks/useCountry.js +1 -1
- package/build/hooks/useDataNoneEditable.d.ts +1 -1
- package/build/hooks/useDataNoneEditable.js +1 -1
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useDataVerified.js +1 -1
- package/build/hooks/useErrorListener.js +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.js +1 -1
- package/build/hooks/useFormReadOnly.js +1 -1
- package/build/hooks/useLanguage.js +1 -1
- package/build/hooks/useRedirectionListener.js +1 -1
- package/build/hooks/useScreen.js +1 -1
- package/build/hooks/useStepStartedListener.js +1 -1
- package/build/hooks/useVerifyToken.d.ts +1 -1
- package/build/hooks/useVerifyToken.js +2 -2
- package/build/i18n.js +1 -1
- package/build/index.css +140 -0
- package/build/index.d.ts +10 -10
- package/build/index.js +10 -10
- package/build/theme/theme.d.ts +1 -1
- package/build/utils/array.d.ts +4 -3
- package/build/utils/array.js +67 -1
- package/build/utils/locale.d.ts +1 -1
- package/build/utils/locale.js +1 -1
- package/build/utils/object.js +1 -1
- package/build/utils/rsa.js +1 -1
- package/build/utils/string.d.ts +1 -1
- package/build/utils/string.js +4 -4
- package/package.json +1 -1
|
@@ -47,15 +47,16 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
-
import API from '
|
|
51
|
-
import { FlowsTypes } from '
|
|
52
|
-
import { handleCurrentActiveScreen, handleNextScreenStep, handleSetCountryByIso2 } from '
|
|
53
|
-
import { PASSWORD_OPERATION_TYPE, PASSWORD_STEP_NAMES } from '
|
|
50
|
+
import API from '../../../api';
|
|
51
|
+
import { FlowsTypes } from '../../../@types';
|
|
52
|
+
import { handleCurrentActiveScreen, handleNextScreenStep, handleSetCountryByIso2 } from '../../../app/settings';
|
|
53
|
+
import { PASSWORD_OPERATION_TYPE, PASSWORD_STEP_NAMES } from '../../../constants';
|
|
54
|
+
import { retrieveIndividualData } from '../../../utils';
|
|
54
55
|
export var verifyLeadToken = createAsyncThunk('passwordVerifyLeadToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
55
|
-
var payload, data, boardInfoData, boardData, board_id, countryIso2, info, hasPasswordCompleted;
|
|
56
|
-
var
|
|
57
|
-
return __generator(this, function (
|
|
58
|
-
switch (
|
|
56
|
+
var payload, data, boardStatusData, boardInfoData, boardData, individualData, _a, board_id, board_info_id, _b, id_1, type_1, serviceCallBack, _c, boardRes, individualRes, countryIso2, info, hasPasswordCompleted;
|
|
57
|
+
var _d, _e, _f, _g, _h;
|
|
58
|
+
return __generator(this, function (_j) {
|
|
59
|
+
switch (_j.label) {
|
|
59
60
|
case 0:
|
|
60
61
|
payload = {
|
|
61
62
|
service_name: 'tap_email',
|
|
@@ -63,24 +64,36 @@ export var verifyLeadToken = createAsyncThunk('passwordVerifyLeadToken', functio
|
|
|
63
64
|
};
|
|
64
65
|
return [4, API.leadService.verifyLeadToken(payload)];
|
|
65
66
|
case 1:
|
|
66
|
-
data = (
|
|
67
|
-
|
|
68
|
-
if (!(!(data === null || data === void 0 ? void 0 : data.errors) && !(data === null || data === void 0 ? void 0 : data.mw_error))) return [3,
|
|
69
|
-
|
|
70
|
-
if (!board_id) return [3,
|
|
71
|
-
return [
|
|
67
|
+
data = (_j.sent()).data;
|
|
68
|
+
individualData = undefined;
|
|
69
|
+
if (!(!(data === null || data === void 0 ? void 0 : data.errors) && !(data === null || data === void 0 ? void 0 : data.mw_error))) return [3, 8];
|
|
70
|
+
_a = data || {}, board_id = _a.id, board_info_id = _a.board_info_id;
|
|
71
|
+
if (!board_id) return [3, 7];
|
|
72
|
+
if (!board_info_id) return [3, 3];
|
|
73
|
+
return [4, API.boardService.retrieveBoardInfo({ id: board_id, infoId: board_info_id })];
|
|
72
74
|
case 2:
|
|
73
|
-
boardInfoData =
|
|
74
|
-
|
|
75
|
-
case 3:
|
|
76
|
-
boardData = _e.sent();
|
|
77
|
-
_e.label = 4;
|
|
75
|
+
boardInfoData = _j.sent();
|
|
76
|
+
_j.label = 3;
|
|
77
|
+
case 3: return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
|
|
78
78
|
case 4:
|
|
79
|
-
|
|
79
|
+
boardStatusData = _j.sent();
|
|
80
|
+
return [4, API.boardService.retrieveBoardDetails(board_id)];
|
|
81
|
+
case 5:
|
|
82
|
+
boardData = _j.sent();
|
|
83
|
+
_b = ((_d = boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification) === null || _d === void 0 ? void 0 : _d.recipient) || {}, id_1 = _b.id, type_1 = _b.type;
|
|
84
|
+
serviceCallBack = function () { return API.individualService.retrieveIndividual(id_1, type_1); };
|
|
85
|
+
return [4, retrieveIndividualData(type_1, boardData, serviceCallBack)];
|
|
86
|
+
case 6:
|
|
87
|
+
_c = _j.sent(), boardRes = _c.boardRes, individualRes = _c.individualRes;
|
|
88
|
+
boardData = boardRes;
|
|
89
|
+
individualData = individualRes;
|
|
90
|
+
_j.label = 7;
|
|
91
|
+
case 7:
|
|
92
|
+
countryIso2 = (_e = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _e === void 0 ? void 0 : _e.country;
|
|
80
93
|
if (countryIso2)
|
|
81
94
|
thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
|
|
82
|
-
info = (
|
|
83
|
-
hasPasswordCompleted = ((
|
|
95
|
+
info = (boardStatusData || {}).info;
|
|
96
|
+
hasPasswordCompleted = ((_f = info === null || info === void 0 ? void 0 : info.find(function (flow) { return flow.name === 'password'; })) === null || _f === void 0 ? void 0 : _f.status) === 'completed';
|
|
84
97
|
if (data.step_name === PASSWORD_STEP_NAMES.PHONE_AUTH) {
|
|
85
98
|
thunkApi.dispatch(handleCurrentActiveScreen('PASSWORD_VERIFY_STEP'));
|
|
86
99
|
}
|
|
@@ -90,10 +103,11 @@ export var verifyLeadToken = createAsyncThunk('passwordVerifyLeadToken', functio
|
|
|
90
103
|
else if (data.step_name === PASSWORD_STEP_NAMES.PASSWORD_INFO) {
|
|
91
104
|
thunkApi.dispatch(handleNextScreenStep('PASSWORD_CREATE_PASSWORD_STEP'));
|
|
92
105
|
}
|
|
93
|
-
|
|
94
|
-
case
|
|
106
|
+
_j.label = 8;
|
|
107
|
+
case 8: return [2, {
|
|
95
108
|
data: data,
|
|
96
|
-
|
|
109
|
+
individualData: individualData,
|
|
110
|
+
boardResponse: __assign(__assign({}, boardData === null || boardData === void 0 ? void 0 : boardData.business), { flows: (boardStatusData === null || boardStatusData === void 0 ? void 0 : boardStatusData.info) || [], user: boardData === null || boardData === void 0 ? void 0 : boardData.user, 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, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, name: (_g = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _g === void 0 ? void 0 : _g.names, contact: (_h = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _h === void 0 ? void 0 : _h.contact, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification }),
|
|
97
111
|
token: token
|
|
98
112
|
}];
|
|
99
113
|
}
|
|
@@ -217,10 +231,10 @@ export var updateBoardSuccess = createAsyncThunk('passwordUpdateBoardSuccess', f
|
|
|
217
231
|
});
|
|
218
232
|
}); });
|
|
219
233
|
export var verifyOperationToken = createAsyncThunk('verifyOperationToken', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
220
|
-
var token, boardId, boardInfoId, boardInfoData, boardData, payload, data;
|
|
221
|
-
var
|
|
222
|
-
return __generator(this, function (
|
|
223
|
-
switch (
|
|
234
|
+
var token, boardId, boardInfoId, boardInfoData, boardStatusData, individualData, boardData, payload, data, _a, id_2, type_2, serviceCallBack, _b, boardRes, individualRes;
|
|
235
|
+
var _c, _d, _e;
|
|
236
|
+
return __generator(this, function (_f) {
|
|
237
|
+
switch (_f.label) {
|
|
224
238
|
case 0:
|
|
225
239
|
token = params.token, boardId = params.boardId, boardInfoId = params.boardInfoId;
|
|
226
240
|
boardData = undefined;
|
|
@@ -230,24 +244,38 @@ export var verifyOperationToken = createAsyncThunk('verifyOperationToken', funct
|
|
|
230
244
|
};
|
|
231
245
|
return [4, API.authService.verifyAuth(payload)];
|
|
232
246
|
case 1:
|
|
233
|
-
data = (
|
|
234
|
-
if (!boardId) return [3,
|
|
247
|
+
data = (_f.sent()).data;
|
|
248
|
+
if (!boardId) return [3, 7];
|
|
235
249
|
return [4, API.boardService.retrieveBoardInfoStatus(boardId)];
|
|
236
250
|
case 2:
|
|
237
|
-
|
|
251
|
+
boardStatusData = _f.sent();
|
|
238
252
|
return [4, API.boardService.retrieveBoardDetails(boardId)];
|
|
239
253
|
case 3:
|
|
240
|
-
boardData =
|
|
241
|
-
|
|
254
|
+
boardData = _f.sent();
|
|
255
|
+
if (!boardInfoId) return [3, 5];
|
|
256
|
+
return [4, API.boardService.retrieveBoardInfo({ id: boardId, infoId: boardInfoId })];
|
|
242
257
|
case 4:
|
|
258
|
+
boardInfoData = _f.sent();
|
|
259
|
+
_f.label = 5;
|
|
260
|
+
case 5:
|
|
261
|
+
_a = ((_c = boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification) === null || _c === void 0 ? void 0 : _c.recipient) || {}, id_2 = _a.id, type_2 = _a.type;
|
|
262
|
+
serviceCallBack = function () { return API.individualService.retrieveIndividual(id_2, type_2); };
|
|
263
|
+
return [4, retrieveIndividualData(type_2, boardData, serviceCallBack)];
|
|
264
|
+
case 6:
|
|
265
|
+
_b = _f.sent(), boardRes = _b.boardRes, individualRes = _b.individualRes;
|
|
266
|
+
boardData = boardRes;
|
|
267
|
+
individualData = individualRes;
|
|
268
|
+
_f.label = 7;
|
|
269
|
+
case 7:
|
|
243
270
|
thunkApi.dispatch(handleNextScreenStep('PASSWORD_CREATE_PASSWORD_STEP'));
|
|
244
271
|
return [2, {
|
|
245
272
|
data: data,
|
|
246
273
|
token: token,
|
|
247
274
|
boardId: boardId,
|
|
248
275
|
boardInfoId: boardInfoId,
|
|
249
|
-
|
|
250
|
-
|
|
276
|
+
individualData: individualData,
|
|
277
|
+
boardResponse: __assign(__assign({}, boardData === null || boardData === void 0 ? void 0 : boardData.business), { user: boardData === null || boardData === void 0 ? void 0 : boardData.user, 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, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, name: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.names, contact: (_e = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _e === void 0 ? void 0 : _e.contact, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification }),
|
|
278
|
+
flows: (boardStatusData === null || boardStatusData === void 0 ? void 0 : boardStatusData.info) || []
|
|
251
279
|
}];
|
|
252
280
|
}
|
|
253
281
|
});
|
|
@@ -456,7 +484,11 @@ export var passwordSlice = createSlice({
|
|
|
456
484
|
state.error = null;
|
|
457
485
|
var response = (action.payload || {}).response;
|
|
458
486
|
var flows = response.flows;
|
|
459
|
-
state.data.verify.responseBody
|
|
487
|
+
var _a = state.data.verify.responseBody || {}, individuals = _a.individuals, individualData = _a.individualData;
|
|
488
|
+
var data_state = (individualData || {}).data_state;
|
|
489
|
+
state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, state.data.verify.responseBody), { flows: flows }), (individualData && { user: individualData })), (data_state && {
|
|
490
|
+
individuals: __assign(__assign({}, individuals), { data_state: data_state })
|
|
491
|
+
}));
|
|
460
492
|
})
|
|
461
493
|
.addCase(updateBoardSuccess.pending, function (state) {
|
|
462
494
|
state.loading = true;
|
|
@@ -533,7 +565,11 @@ export var passwordSlice = createSlice({
|
|
|
533
565
|
state.error = null;
|
|
534
566
|
var response = (action.payload || {}).response;
|
|
535
567
|
var flows = response.flows;
|
|
536
|
-
state.data.verify.responseBody
|
|
568
|
+
var _a = state.data.verify.responseBody || {}, individuals = _a.individuals, individualData = _a.individualData;
|
|
569
|
+
var data_state = (individualData || {}).data_state;
|
|
570
|
+
state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, state.data.verify.responseBody), { flows: flows }), (individualData && { user: individualData })), (data_state && {
|
|
571
|
+
individuals: __assign(__assign({}, individuals), { data_state: data_state })
|
|
572
|
+
}));
|
|
537
573
|
})
|
|
538
574
|
.addCase(retrieveBoardResetPasswordSuccess.pending, function (state) {
|
|
539
575
|
state.loading = true;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootState } from '
|
|
2
|
-
import { MobileFormValues, SharedState, EmailFormValues, ResponseData, OTPFormValues, PasswordFormValues } from '
|
|
1
|
+
import { RootState } from '../../../app/store';
|
|
2
|
+
import { MobileFormValues, SharedState, EmailFormValues, ResponseData, OTPFormValues, PasswordFormValues } from '../../../@types';
|
|
3
3
|
export declare const createMobileAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
4
4
|
data: any;
|
|
5
5
|
formData: MobileFormValues;
|
|
@@ -47,9 +47,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
-
import API from '
|
|
51
|
-
import { defaultCountry, SignIn_STEP_NAMES } from '
|
|
52
|
-
import { handleNextScreenStep, handleOpen } from '
|
|
50
|
+
import API from '../../../api';
|
|
51
|
+
import { defaultCountry, SignIn_STEP_NAMES } from '../../../constants';
|
|
52
|
+
import { handleNextScreenStep, handleOpen } from '../../../app/settings';
|
|
53
53
|
var redirection = function (type) {
|
|
54
54
|
if (type === 1)
|
|
55
55
|
return handleNextScreenStep('SIGIN_PASSWORD_STEP');
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { RootState } from '
|
|
2
|
-
import { ActionState, AsyncThunkParams, FlowsTypes, OTPFormValues, ResponseData, SharedState, TaxFormValues } from '
|
|
1
|
+
import { RootState } from '../../../app/store';
|
|
2
|
+
import { ActionState, AsyncThunkParams, FlowsTypes, OTPFormValues, ResponseData, SharedState, TaxFormValues } from '../../../@types';
|
|
3
3
|
interface VerifyLeadTokenProps {
|
|
4
4
|
token: string;
|
|
5
5
|
isInternally?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
8
8
|
data: any;
|
|
9
|
+
individualData: any;
|
|
9
10
|
boardResponse: any;
|
|
10
11
|
token: string;
|
|
11
12
|
}, VerifyLeadTokenProps, {}>;
|
|
@@ -47,18 +47,18 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
-
import API from '
|
|
51
|
-
import { DocumentPurpose, FlowsTypes } from '
|
|
52
|
-
import { handleNextScreenStep, handleCurrentActiveScreen, handleSetCountryByIso2, handlePrevScreenStep } from '
|
|
53
|
-
import { TAX_STEP_NAMES } from '
|
|
54
|
-
import { getRecentDocumentBasedOnPurpose, hasNoneEditableValue, sleep } from '
|
|
50
|
+
import API from '../../../api';
|
|
51
|
+
import { DocumentPurpose, FlowsTypes } from '../../../@types';
|
|
52
|
+
import { handleNextScreenStep, handleCurrentActiveScreen, handleSetCountryByIso2, handlePrevScreenStep } from '../../../app/settings';
|
|
53
|
+
import { TAX_STEP_NAMES } from '../../../constants';
|
|
54
|
+
import { getRecentDocumentBasedOnPurpose, hasNoneEditableValue, retrieveIndividualData, sleep } from '../../../utils';
|
|
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, boardData, boardInfoData, countryIso2;
|
|
59
|
-
var
|
|
60
|
-
return __generator(this, function (
|
|
61
|
-
switch (
|
|
58
|
+
var payload, data, boardData, boardInfoData, individualData, _b, id_1, type_1, serviceCallBack, _c, boardRes, individualRes, countryIso2;
|
|
59
|
+
var _d, _e, _f, _g;
|
|
60
|
+
return __generator(this, function (_h) {
|
|
61
|
+
switch (_h.label) {
|
|
62
62
|
case 0:
|
|
63
63
|
payload = {
|
|
64
64
|
service_name: 'tap_email',
|
|
@@ -66,24 +66,31 @@ export var verifyLeadToken = createAsyncThunk('taxVerifyLeadToken', function (_a
|
|
|
66
66
|
};
|
|
67
67
|
return [4, API.leadService.verifyLeadToken(payload)];
|
|
68
68
|
case 1:
|
|
69
|
-
data = (
|
|
70
|
-
|
|
71
|
-
if (((
|
|
69
|
+
data = (_h.sent()).data;
|
|
70
|
+
individualData = undefined;
|
|
71
|
+
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))
|
|
72
72
|
throw new Error(data.errors[0].description || (data === null || data === void 0 ? void 0 : data.mw_error));
|
|
73
73
|
if (isInternally)
|
|
74
74
|
data.step_name = TAX_STEP_NAMES.TAX_INFO;
|
|
75
|
-
if (!(data === null || data === void 0 ? void 0 : data.id)) return [3,
|
|
75
|
+
if (!(data === null || data === void 0 ? void 0 : data.id)) return [3, 6];
|
|
76
76
|
if (!data.board_info_id) return [3, 3];
|
|
77
77
|
return [4, API.boardService.retrieveBoardInfo({ id: data.id, infoId: data.board_info_id })];
|
|
78
78
|
case 2:
|
|
79
|
-
boardInfoData =
|
|
80
|
-
|
|
79
|
+
boardInfoData = _h.sent();
|
|
80
|
+
_h.label = 3;
|
|
81
81
|
case 3: return [4, API.boardService.retrieveBoardDetails(data.id)];
|
|
82
82
|
case 4:
|
|
83
|
-
boardData =
|
|
84
|
-
_e.
|
|
83
|
+
boardData = _h.sent();
|
|
84
|
+
_b = ((_e = boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification) === null || _e === void 0 ? void 0 : _e.recipient) || {}, id_1 = _b.id, type_1 = _b.type;
|
|
85
|
+
serviceCallBack = function () { return API.individualService.retrieveIndividual(id_1, type_1); };
|
|
86
|
+
return [4, retrieveIndividualData(type_1, boardData, serviceCallBack)];
|
|
85
87
|
case 5:
|
|
86
|
-
|
|
88
|
+
_c = _h.sent(), boardRes = _c.boardRes, individualRes = _c.individualRes;
|
|
89
|
+
boardData = boardRes;
|
|
90
|
+
individualData = individualRes;
|
|
91
|
+
_h.label = 6;
|
|
92
|
+
case 6:
|
|
93
|
+
countryIso2 = (_f = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _f === void 0 ? void 0 : _f.country;
|
|
87
94
|
if (countryIso2)
|
|
88
95
|
thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
|
|
89
96
|
if (data.step_name === TAX_STEP_NAMES.PHONE_AUTH) {
|
|
@@ -94,7 +101,8 @@ export var verifyLeadToken = createAsyncThunk('taxVerifyLeadToken', function (_a
|
|
|
94
101
|
}
|
|
95
102
|
return [2, {
|
|
96
103
|
data: data,
|
|
97
|
-
|
|
104
|
+
individualData: individualData,
|
|
105
|
+
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: (_g = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _g === void 0 ? void 0 : _g.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 }),
|
|
98
106
|
token: token
|
|
99
107
|
}];
|
|
100
108
|
}
|
|
@@ -302,9 +310,9 @@ export var taxSlice = createSlice({
|
|
|
302
310
|
.addCase(verifyLeadToken.fulfilled, function (state, action) {
|
|
303
311
|
state.error = null;
|
|
304
312
|
state.customLoading = false;
|
|
305
|
-
var _a = action.payload, data = _a.data, token = _a.token, boardResponse = _a.boardResponse;
|
|
313
|
+
var _a = action.payload, data = _a.data, token = _a.token, boardResponse = _a.boardResponse, individualData = _a.individualData;
|
|
306
314
|
var user = boardResponse.user, bank_account = boardResponse.bank_account, vatID = boardResponse.vatID, merchant = boardResponse.merchant, individuals = boardResponse.individuals, entity = boardResponse.entity;
|
|
307
|
-
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 });
|
|
315
|
+
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 });
|
|
308
316
|
state.data.verify.token = token;
|
|
309
317
|
state.data.taxData.vatId = vatID;
|
|
310
318
|
if (entity === null || entity === void 0 ? void 0 : entity.is_vat_acknowledged)
|
|
@@ -410,8 +418,11 @@ export var taxSlice = createSlice({
|
|
|
410
418
|
state.error = description;
|
|
411
419
|
return;
|
|
412
420
|
}
|
|
413
|
-
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;
|
|
414
|
-
|
|
421
|
+
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;
|
|
422
|
+
var data_state = (individualData || {}).data_state;
|
|
423
|
+
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 && {
|
|
424
|
+
individuals: __assign(__assign({}, individuals), { data_state: data_state })
|
|
425
|
+
}));
|
|
415
426
|
})
|
|
416
427
|
.addCase(updateLeadSuccess.pending, function (state) {
|
|
417
428
|
state.loading = true;
|
|
@@ -23,17 +23,17 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { memo } from 'react';
|
|
25
25
|
import { createRoot } from 'react-dom/client';
|
|
26
|
-
import { useAppTheme, useAppSelector, useErrorListener, useAppConfig, useStepStartedListener, useVerifyToken } from '
|
|
27
|
-
import { settingsSelector } from '
|
|
28
|
-
import AnimationFlow from '
|
|
29
|
-
import { store } from '
|
|
30
|
-
import { ReduxProvider, ThemeProvider } from '
|
|
31
|
-
import Collapse from '
|
|
32
|
-
import { findOrCreateElementAndInject } from '
|
|
33
|
-
import { FeatureContainer } from '
|
|
34
|
-
import { BANK_SCREENS_NAVIGATION } from '
|
|
26
|
+
import { useAppTheme, useAppSelector, useErrorListener, useAppConfig, useStepStartedListener, useVerifyToken } from '../../hooks';
|
|
27
|
+
import { settingsSelector } from '../../app/settings';
|
|
28
|
+
import AnimationFlow from '../../components/AnimationFlow';
|
|
29
|
+
import { store } from '../../app/store';
|
|
30
|
+
import { ReduxProvider, ThemeProvider } from '../../components/Providers';
|
|
31
|
+
import Collapse from '../../components/Collapse';
|
|
32
|
+
import { findOrCreateElementAndInject } from '../../utils';
|
|
33
|
+
import { FeatureContainer } from '../shared/Containers';
|
|
34
|
+
import { BANK_SCREENS_NAVIGATION } from '../../constants';
|
|
35
35
|
import { bankFeatureScreens } from '../featuresScreens';
|
|
36
|
-
import { bankSelector, verifyLeadToken } from '
|
|
36
|
+
import { bankSelector, verifyLeadToken } from '../app/bank/bankStore';
|
|
37
37
|
import Background from '../shared/Background';
|
|
38
38
|
var Bank = memo(function (_a) {
|
|
39
39
|
var verifyToken = _a.verifyToken, props = __rest(_a, ["verifyToken"]);
|
|
@@ -11,25 +11,25 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import * as React from 'react';
|
|
14
|
-
import { ScreenContainer } from '
|
|
14
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
15
15
|
import Beneficiary from './Beneficiary';
|
|
16
16
|
import IBAN from './IBAN';
|
|
17
17
|
import BankName from './BankName';
|
|
18
|
-
import Button from '
|
|
19
|
-
import { useAppDispatch, useAppSelector, useFormReadOnly, useSetFromDefaultValues, useDataNoneEditable, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '
|
|
18
|
+
import Button from '../../../shared/Button';
|
|
19
|
+
import { useAppDispatch, useAppSelector, useFormReadOnly, useSetFromDefaultValues, useDataNoneEditable, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '../../../../hooks';
|
|
20
20
|
import { BankKWFLValidation, BankValidation } from './validation';
|
|
21
21
|
import { useTranslation } from 'react-i18next';
|
|
22
22
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
23
23
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
24
|
-
import { useLanguage } from '
|
|
24
|
+
import { useLanguage } from '../../../../hooks';
|
|
25
25
|
import { styled } from '@mui/material/styles';
|
|
26
|
-
import { BusinessType, DocumentPurpose } from '
|
|
27
|
-
import { bankSelector, clearError, createBankAccount, retrieveBoardStatus } from '
|
|
28
|
-
import Form from '
|
|
29
|
-
import { handlePrevScreenStep, settingsSelector } from '
|
|
26
|
+
import { BusinessType, DocumentPurpose } from '../../../../@types';
|
|
27
|
+
import { bankSelector, clearError, createBankAccount, retrieveBoardStatus } from '../../../app/bank/bankStore';
|
|
28
|
+
import Form from '../../../../components/Form';
|
|
29
|
+
import { handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
|
|
30
30
|
import ConfirmPolicy from './ConfirmPolicy';
|
|
31
31
|
import BankStatement from './BankStatement';
|
|
32
|
-
import { getFileDetailsFromDocument, isKW, isStringHasOneAsterisk } from '
|
|
32
|
+
import { getFileDetailsFromDocument, isKW, isStringHasOneAsterisk } from '../../../../utils';
|
|
33
33
|
var FormStyled = styled(Form)(function () { return ({
|
|
34
34
|
display: 'flex',
|
|
35
35
|
flexDirection: 'column',
|
|
@@ -14,14 +14,14 @@ import * as React from 'react';
|
|
|
14
14
|
import { useController, useFormContext } from 'react-hook-form';
|
|
15
15
|
import { useTranslation } from 'react-i18next';
|
|
16
16
|
import { styled } from '@mui/material/styles';
|
|
17
|
-
import { useAppSelector } from '
|
|
18
|
-
import { removeAllOtherThanAlphabetAndSpace } from '
|
|
19
|
-
import { FieldType } from '
|
|
20
|
-
import Collapse from '
|
|
21
|
-
import { ScreenContainer } from '
|
|
22
|
-
import Input from '
|
|
23
|
-
import { bankSelector } from '
|
|
24
|
-
import { EndAdornment } from '
|
|
17
|
+
import { useAppSelector } from '../../../../hooks';
|
|
18
|
+
import { removeAllOtherThanAlphabetAndSpace } from '../../../../utils';
|
|
19
|
+
import { FieldType } from '../../../../@types';
|
|
20
|
+
import Collapse from '../../../../components/Collapse';
|
|
21
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
22
|
+
import Input from '../../../shared/Input';
|
|
23
|
+
import { bankSelector } from '../../../app/bank/bankStore';
|
|
24
|
+
import { EndAdornment } from '../../../shared/EndAdornment';
|
|
25
25
|
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
26
26
|
var theme = _a.theme;
|
|
27
27
|
return ({
|
|
@@ -2,12 +2,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
3
|
import { useController, useFormContext } from 'react-hook-form';
|
|
4
4
|
import { styled } from '@mui/material/styles';
|
|
5
|
-
import { ScreenContainer } from '
|
|
6
|
-
import { useAppDispatch, useAppSelector } from '
|
|
7
|
-
import { DocumentPurpose } from '
|
|
8
|
-
import { FileType } from '
|
|
9
|
-
import { bankSelector, bankStatementUploadingStatus } from '
|
|
10
|
-
import UploadMultipleFile from '
|
|
5
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
6
|
+
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
7
|
+
import { DocumentPurpose } from '../../../../@types';
|
|
8
|
+
import { FileType } from '../../../../constants';
|
|
9
|
+
import { bankSelector, bankStatementUploadingStatus } from '../../../app/bank/bankStore';
|
|
10
|
+
import UploadMultipleFile from '../../../shared/UploadMultipleFile';
|
|
11
11
|
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
12
12
|
var theme = _a.theme;
|
|
13
13
|
return ({
|
|
@@ -3,12 +3,12 @@ import * as React from 'react';
|
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { useController, useFormContext } from 'react-hook-form';
|
|
5
5
|
import { styled } from '@mui/material/styles';
|
|
6
|
-
import { useAppSelector } from '
|
|
7
|
-
import { FieldType } from '
|
|
8
|
-
import { ScreenContainer } from '
|
|
9
|
-
import { bankSelector } from '
|
|
10
|
-
import Input from '
|
|
11
|
-
import { EndAdornment } from '
|
|
6
|
+
import { useAppSelector } from '../../../../hooks';
|
|
7
|
+
import { FieldType } from '../../../../@types';
|
|
8
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
9
|
+
import { bankSelector } from '../../../app/bank/bankStore';
|
|
10
|
+
import Input from '../../../shared/Input';
|
|
11
|
+
import { EndAdornment } from '../../../shared/EndAdornment';
|
|
12
12
|
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
13
13
|
var theme = _a.theme;
|
|
14
14
|
return ({
|
|
@@ -12,13 +12,13 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useTranslation } from 'react-i18next';
|
|
14
14
|
import { useController, useFormContext } from 'react-hook-form';
|
|
15
|
-
import { ScreenContainer } from '
|
|
15
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
16
16
|
import { styled, alpha } from '@mui/material/styles';
|
|
17
17
|
import Box from '@mui/material/Box';
|
|
18
|
-
import CheckBox from '
|
|
19
|
-
import Text from '
|
|
20
|
-
import Warning from '
|
|
21
|
-
import Collapse from '
|
|
18
|
+
import CheckBox from '../../../../components/CheckBox';
|
|
19
|
+
import Text from '../../../../components/Text';
|
|
20
|
+
import Warning from '../../../../components/Warning';
|
|
21
|
+
import Collapse from '../../../../components/Collapse';
|
|
22
22
|
var ConfirmContainerStyled = styled(Box, { shouldForwardProp: function (prop) { return prop !== 'readOnly'; } })(function (_a) {
|
|
23
23
|
var theme = _a.theme, readOnly = _a.readOnly;
|
|
24
24
|
return (__assign({ display: 'flex', flexDirection: 'row', alignItems: 'center', padding: theme.spacing(0, 2.5, 1.5, 2.5), marginBlockStart: theme.spacing(3) }, (readOnly && {
|
|
@@ -41,16 +41,16 @@ import { useTranslation } from 'react-i18next';
|
|
|
41
41
|
import axios from 'axios';
|
|
42
42
|
import { useController, useFormContext } from 'react-hook-form';
|
|
43
43
|
import { styled } from '@mui/material';
|
|
44
|
-
import { removeAllOtherThanCharsAndNumber } from '
|
|
45
|
-
import { settingsSelector } from '
|
|
46
|
-
import { useAppSelector, useAppDispatch } from '
|
|
47
|
-
import { FieldType } from '
|
|
48
|
-
import { MAX_IBAN_VALUE } from '
|
|
49
|
-
import { ScreenContainer } from '
|
|
50
|
-
import { checkIbanBank } from '
|
|
51
|
-
import Input from '
|
|
52
|
-
import { bankSelector } from '
|
|
53
|
-
import { EndAdornment } from '
|
|
44
|
+
import { removeAllOtherThanCharsAndNumber } from '../../../../utils';
|
|
45
|
+
import { settingsSelector } from '../../../../app/settings';
|
|
46
|
+
import { useAppSelector, useAppDispatch } from '../../../../hooks';
|
|
47
|
+
import { FieldType } from '../../../../@types';
|
|
48
|
+
import { MAX_IBAN_VALUE } from '../../../../constants';
|
|
49
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
50
|
+
import { checkIbanBank } from '../../../app/bank/bankStore';
|
|
51
|
+
import Input from '../../../shared/Input';
|
|
52
|
+
import { bankSelector } from '../../../app/bank/bankStore';
|
|
53
|
+
import { EndAdornment } from '../../../shared/EndAdornment';
|
|
54
54
|
var InputStyled = styled(Input)(function () { return ({
|
|
55
55
|
input: {
|
|
56
56
|
textTransform: 'uppercase'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as yup from 'yup';
|
|
2
|
-
import { REGEX_ALPHANUMERIC, REGEX_IBAN } from '
|
|
2
|
+
import { REGEX_ALPHANUMERIC, REGEX_IBAN } from '../../../../constants';
|
|
3
3
|
export var BankValidation = function (isIBANMasked) {
|
|
4
4
|
return yup.object().shape({
|
|
5
5
|
iban: isIBANMasked
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { memo } from 'react';
|
|
3
|
-
import { useAppSelector } from '
|
|
4
|
-
import DataLoading from '
|
|
5
|
-
import { bankSelector } from '
|
|
3
|
+
import { useAppSelector } from '../../../../hooks';
|
|
4
|
+
import DataLoading from '../../../shared/DataLoading';
|
|
5
|
+
import { bankSelector } from '../../../app/bank/bankStore';
|
|
6
6
|
export var PrepareDataLoading = function () {
|
|
7
7
|
var error = useAppSelector(bankSelector).error;
|
|
8
8
|
return _jsx(DataLoading, { error: error });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { Trans, useTranslation } from 'react-i18next';
|
|
4
|
-
import { handlePrevScreenStep } from '
|
|
5
|
-
import SuccessScreen from '
|
|
6
|
-
import { bankSelector } from '
|
|
7
|
-
import { maskEmail } from '
|
|
8
|
-
import { useAppDispatch, useAppSelector } from '
|
|
4
|
+
import { handlePrevScreenStep } from '../../../../app/settings';
|
|
5
|
+
import SuccessScreen from '../../../shared/SuccessScreen';
|
|
6
|
+
import { bankSelector } from '../../../app/bank/bankStore';
|
|
7
|
+
import { maskEmail } from '../../../../utils';
|
|
8
|
+
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
9
9
|
var ResetPasswordSuccess = function (_a) {
|
|
10
10
|
var _b, _c;
|
|
11
11
|
var t = useTranslation().t;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import SuccessScreen from '
|
|
5
|
-
import { useAppDispatch, useAppSelector } from '
|
|
6
|
-
import { bankSelector, updateBoardSuccess } from '
|
|
4
|
+
import SuccessScreen from '../../../shared/SuccessScreen';
|
|
5
|
+
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
6
|
+
import { bankSelector, updateBoardSuccess } from '../../../app/bank/bankStore';
|
|
7
7
|
var Success = function (_a) {
|
|
8
8
|
var t = useTranslation().t;
|
|
9
9
|
var dispatch = useAppDispatch();
|
|
@@ -11,9 +11,9 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { memo } from 'react';
|
|
14
|
-
import { useAppSelector } from '
|
|
15
|
-
import { bankSelector } from '
|
|
16
|
-
import SuccessFlowButtons from '
|
|
14
|
+
import { useAppSelector } from '../../../../hooks';
|
|
15
|
+
import { bankSelector } from '../../../app/bank/bankStore';
|
|
16
|
+
import SuccessFlowButtons from '../../../shared/SuccessFlowButtons';
|
|
17
17
|
var SuccessWithFlowButtons = function () {
|
|
18
18
|
var data = useAppSelector(bankSelector).data;
|
|
19
19
|
var _a = data.verify.responseBody || {}, flows = _a.flows, entity = _a.entity, brand = _a.brand, bank = _a.bank_account, merchant = _a.merchant, user = _a.user, business = _a.business, board_id = _a.board_id, board_info_id = _a.board_info_id, name = _a.name, individuals = _a.individuals;
|