@tap-payments/auth-jsconnect 2.7.11-test → 2.8.1-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/@types/app.d.ts +18 -17
- package/build/@types/config.d.ts +1 -1
- package/build/@types/form.d.ts +25 -22
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +15 -31
- package/build/api/auth.js +1 -1
- 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 +10 -10
- package/build/api/file.d.ts +1 -1
- 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 +21 -3
- package/build/app/settings.js +2 -2
- 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 +1 -2
- package/build/components/AnimationFlow/Loader.d.ts +1 -2
- 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 +1 -2
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
- package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/Radio/Radio.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.d.ts +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/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 +27 -7
- package/build/constants/assets.d.ts +1 -0
- package/build/constants/assets.js +2 -1
- package/build/constants/validation.d.ts +1 -0
- package/build/constants/validation.js +1 -0
- package/build/features/app/auth/authStore.d.ts +183 -18
- package/build/features/app/auth/authStore.js +152 -37
- package/build/features/app/bank/bankStore.d.ts +92 -11
- package/build/features/app/bank/bankStore.js +18 -11
- package/build/features/app/board/boardStore.d.ts +41 -5
- package/build/features/app/board/boardStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +142 -16
- package/build/features/app/brand/brandStore.js +16 -10
- package/build/features/app/business/businessStore.d.ts +162 -18
- package/build/features/app/business/businessStore.js +1 -1
- package/build/features/app/connect/connectStore.d.ts +151 -16
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +271 -30
- package/build/features/app/connectExpress/connectExpressStore.js +35 -39
- package/build/features/app/entity/entityStore.d.ts +92 -11
- package/build/features/app/entity/entityStore.js +16 -10
- package/build/features/app/individual/individualStore.d.ts +189 -23
- package/build/features/app/individual/individualStore.js +19 -13
- package/build/features/app/password/passwordStore.d.ts +117 -13
- package/build/features/app/password/passwordStore.js +31 -19
- package/build/features/app/signIn/signInStore.d.ts +61 -7
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +82 -10
- package/build/features/app/tax/taxStore.js +17 -11
- package/build/features/auth/Auth.d.ts +1 -2
- package/build/features/auth/Auth.js +6 -7
- 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/AccountNotFound/AccountNotFound.js +2 -5
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +5 -0
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +45 -0
- package/build/features/auth/screens/AuthSwitch/index.d.ts +3 -0
- package/build/features/auth/screens/AuthSwitch/index.js +2 -0
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +2 -8
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
- 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 +3 -3
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/CivilID/CivilID.js +4 -35
- package/build/features/auth/screens/Email/Email.d.ts +5 -0
- package/build/features/auth/screens/Email/Email.js +57 -0
- package/build/features/auth/screens/Email/EmailField.d.ts +8 -0
- package/build/features/auth/screens/Email/EmailField.js +52 -0
- package/build/features/auth/screens/Email/index.d.ts +3 -0
- package/build/features/auth/screens/Email/index.js +2 -0
- package/build/features/auth/screens/Email/validation.d.ts +8 -0
- package/build/features/auth/screens/Email/validation.js +4 -0
- package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.js +6 -38
- package/build/features/auth/screens/Mobile/MobileNumber.js +6 -9
- package/build/features/auth/screens/NID/DOB.d.ts +1 -2
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/NID/NID.js +4 -34
- 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/OTP/OTPInput.js +8 -1
- package/build/features/auth/screens/Password/Password.d.ts +5 -0
- package/build/features/auth/screens/Password/Password.js +61 -0
- package/build/features/auth/screens/Password/PasswordField.d.ts +5 -0
- package/build/features/auth/screens/Password/PasswordField.js +28 -0
- package/build/features/auth/screens/Password/index.d.ts +3 -0
- package/build/features/auth/screens/Password/index.js +2 -0
- package/build/features/auth/screens/Password/validation.d.ts +8 -0
- package/build/features/auth/screens/Password/validation.js +4 -0
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.js +3 -0
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +1 -2
- 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 +1 -2
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +13 -29
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +12 -20
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
- 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 +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- 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 +1 -2
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
- 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 +17 -41
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +11 -19
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +1 -2
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/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/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 +1 -2
- 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 +1 -2
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
- 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 +1 -2
- 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 +1 -2
- 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 +1 -3
- package/build/features/connectExpress/ConnectExpress.js +6 -10
- 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 +1 -2
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
- 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 +4 -4
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -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 +1 -2
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/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/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
- 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 +1 -2
- package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -29
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.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/featuresScreens.js +15 -0
- package/build/features/individual/Individual.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +3 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +3 -3
- 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 +1 -2
- 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 +9 -25
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualList/UserList.js +1 -1
- 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 +4 -4
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- 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/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 +1 -2
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- 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 +1 -2
- package/build/features/shared/Address/Address.d.ts +1 -2
- package/build/features/shared/Address/CountryList.d.ts +13 -29
- package/build/features/shared/Address/InputSelect.d.ts +13 -29
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/AbsherButton.d.ts +1 -2
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.js +1 -1
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +1 -2
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- package/build/features/shared/Calender/Calender.d.ts +1 -2
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
- package/build/features/shared/Chip/Chip.d.ts +1 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +6 -14
- package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +1 -2
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +4 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -3
- package/build/features/signIn/SignIn.d.ts +1 -2
- 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/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +1 -2
- 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 +2 -3
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/hooks/useAppConfig.d.ts +1 -1
- package/build/hooks/useAppConfig.js +2 -2
- 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/utils/array.js +1 -1
- package/package.json +1 -1
|
@@ -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 (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
|
|
@@ -832,13 +832,14 @@ export var checkEmailAvailability = createAsyncThunk('checkEmailAvailability', f
|
|
|
832
832
|
});
|
|
833
833
|
});
|
|
834
834
|
export var updateBoardSuccess = createAsyncThunk('individualUpdateBoardSuccess', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
835
|
-
var _a, settings, individual, _b, id, infoId, primaryUser, payload, data, boardInfoStatus, individualDataRes,
|
|
836
|
-
var
|
|
837
|
-
return __generator(this, function (
|
|
838
|
-
switch (
|
|
835
|
+
var _a, settings, individual, _b, id, infoId, primaryUser, _c, showBoard, mode, payload, data, boardInfoStatus, individualDataRes, _d, is_authorized, userId, type;
|
|
836
|
+
var _e, _f, _g, _h, _j, _k, _l, _m;
|
|
837
|
+
return __generator(this, function (_o) {
|
|
838
|
+
switch (_o.label) {
|
|
839
839
|
case 0:
|
|
840
840
|
_a = thunkApi.getState(), settings = _a.settings, individual = _a.individual;
|
|
841
841
|
_b = individual.data.verify.responseBody || {}, id = _b.board_id, infoId = _b.board_info_id, primaryUser = _b.primaryUser;
|
|
842
|
+
_c = settings.data.appConfig, showBoard = _c.showBoard, mode = _c.mode;
|
|
842
843
|
if (!id)
|
|
843
844
|
return [2];
|
|
844
845
|
payload = {
|
|
@@ -848,25 +849,30 @@ export var updateBoardSuccess = createAsyncThunk('individualUpdateBoardSuccess',
|
|
|
848
849
|
};
|
|
849
850
|
return [4, API.boardService.updateBoardInfo(__assign({ id: id, infoId: infoId }, payload))];
|
|
850
851
|
case 1:
|
|
851
|
-
data =
|
|
852
|
+
data = _o.sent();
|
|
853
|
+
if (!showBoard && mode === 'content') {
|
|
854
|
+
(_f = (_e = settings.data.appConfig).onStepCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, settings.data.activeScreen.name, {});
|
|
855
|
+
(_h = (_g = settings.data.appConfig).onFlowCompleted) === null || _h === void 0 ? void 0 : _h.call(_g, { data: data });
|
|
856
|
+
return [2, { response: __assign({}, data), formData: params }];
|
|
857
|
+
}
|
|
852
858
|
return [4, API.boardService.retrieveBoardInfoStatus(id)];
|
|
853
859
|
case 2:
|
|
854
|
-
boardInfoStatus =
|
|
860
|
+
boardInfoStatus = _o.sent();
|
|
855
861
|
return [4, thunkApi.dispatch(retrieveBoardDetails(id))];
|
|
856
862
|
case 3:
|
|
857
|
-
|
|
863
|
+
_o.sent();
|
|
858
864
|
individualDataRes = undefined;
|
|
859
|
-
|
|
865
|
+
_d = primaryUser || {}, is_authorized = _d.is_authorized, userId = _d.id, type = _d.object;
|
|
860
866
|
if (!!is_authorized) return [3, 5];
|
|
861
867
|
return [4, thunkApi
|
|
862
868
|
.dispatch(retrieveIndividualInfo({ id: userId, type: type, countryCode: settings.data.businessCountry.iso2 }))
|
|
863
869
|
.unwrap()];
|
|
864
870
|
case 4:
|
|
865
|
-
individualDataRes =
|
|
866
|
-
|
|
871
|
+
individualDataRes = _o.sent();
|
|
872
|
+
_o.label = 5;
|
|
867
873
|
case 5:
|
|
868
|
-
(
|
|
869
|
-
(
|
|
874
|
+
(_k = (_j = settings.data.appConfig).onStepCompleted) === null || _k === void 0 ? void 0 : _k.call(_j, settings.data.activeScreen.name, {});
|
|
875
|
+
(_m = (_l = settings.data.appConfig).onFlowCompleted) === null || _m === void 0 ? void 0 : _m.call(_l, { data: data });
|
|
870
876
|
thunkApi.dispatch(handleNextScreenStep());
|
|
871
877
|
return [2, { response: __assign(__assign({}, data), { flows: (boardInfoStatus === null || boardInfoStatus === void 0 ? void 0 : boardInfoStatus.info) || [] }), formData: params, individualData: individualDataRes === null || individualDataRes === void 0 ? void 0 : individualDataRes.data }];
|
|
872
878
|
}
|
|
@@ -5,27 +5,81 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
5
5
|
individualData: any;
|
|
6
6
|
boardResponse: any;
|
|
7
7
|
token: string;
|
|
8
|
-
}, string, {
|
|
8
|
+
}, string, {
|
|
9
|
+
state?: unknown;
|
|
10
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
11
|
+
extra?: unknown;
|
|
12
|
+
rejectValue?: unknown;
|
|
13
|
+
serializedErrorType?: unknown;
|
|
14
|
+
pendingMeta?: unknown;
|
|
15
|
+
fulfilledMeta?: unknown;
|
|
16
|
+
rejectedMeta?: unknown;
|
|
17
|
+
}>;
|
|
9
18
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
10
19
|
data: any;
|
|
11
|
-
}, void, {
|
|
20
|
+
}, void, {
|
|
21
|
+
state?: unknown;
|
|
22
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
23
|
+
extra?: unknown;
|
|
24
|
+
rejectValue?: unknown;
|
|
25
|
+
serializedErrorType?: unknown;
|
|
26
|
+
pendingMeta?: unknown;
|
|
27
|
+
fulfilledMeta?: unknown;
|
|
28
|
+
rejectedMeta?: unknown;
|
|
29
|
+
}>;
|
|
12
30
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
13
31
|
data: any;
|
|
14
|
-
}, string, {
|
|
32
|
+
}, string, {
|
|
33
|
+
state?: unknown;
|
|
34
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
35
|
+
extra?: unknown;
|
|
36
|
+
rejectValue?: unknown;
|
|
37
|
+
serializedErrorType?: unknown;
|
|
38
|
+
pendingMeta?: unknown;
|
|
39
|
+
fulfilledMeta?: unknown;
|
|
40
|
+
rejectedMeta?: unknown;
|
|
41
|
+
}>;
|
|
15
42
|
export declare const verifyPasswordLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
16
43
|
data: any;
|
|
17
44
|
formData: {
|
|
18
45
|
otp: string;
|
|
19
46
|
};
|
|
20
|
-
}, OTPFormValues, {
|
|
47
|
+
}, OTPFormValues, {
|
|
48
|
+
state?: unknown;
|
|
49
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
50
|
+
extra?: unknown;
|
|
51
|
+
rejectValue?: unknown;
|
|
52
|
+
serializedErrorType?: unknown;
|
|
53
|
+
pendingMeta?: unknown;
|
|
54
|
+
fulfilledMeta?: unknown;
|
|
55
|
+
rejectedMeta?: unknown;
|
|
56
|
+
}>;
|
|
21
57
|
export declare const createPassword: import("@reduxjs/toolkit").AsyncThunk<{
|
|
22
58
|
data: any;
|
|
23
59
|
formData: PasswordCreateFormValues;
|
|
24
|
-
}, PasswordCreateFormValues, {
|
|
60
|
+
}, PasswordCreateFormValues, {
|
|
61
|
+
state?: unknown;
|
|
62
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
63
|
+
extra?: unknown;
|
|
64
|
+
rejectValue?: unknown;
|
|
65
|
+
serializedErrorType?: unknown;
|
|
66
|
+
pendingMeta?: unknown;
|
|
67
|
+
fulfilledMeta?: unknown;
|
|
68
|
+
rejectedMeta?: unknown;
|
|
69
|
+
}>;
|
|
25
70
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
26
71
|
response: any;
|
|
27
72
|
formData: void;
|
|
28
|
-
} | undefined, void, {
|
|
73
|
+
} | undefined, void, {
|
|
74
|
+
state?: unknown;
|
|
75
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
76
|
+
extra?: unknown;
|
|
77
|
+
rejectValue?: unknown;
|
|
78
|
+
serializedErrorType?: unknown;
|
|
79
|
+
pendingMeta?: unknown;
|
|
80
|
+
fulfilledMeta?: unknown;
|
|
81
|
+
rejectedMeta?: unknown;
|
|
82
|
+
}>;
|
|
29
83
|
export declare const verifyOperationToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
30
84
|
data: any;
|
|
31
85
|
token: string;
|
|
@@ -38,10 +92,28 @@ export declare const verifyOperationToken: import("@reduxjs/toolkit").AsyncThunk
|
|
|
38
92
|
token: string;
|
|
39
93
|
boardId: string;
|
|
40
94
|
boardInfoId: string;
|
|
41
|
-
}, {
|
|
95
|
+
}, {
|
|
96
|
+
state?: unknown;
|
|
97
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
98
|
+
extra?: unknown;
|
|
99
|
+
rejectValue?: unknown;
|
|
100
|
+
serializedErrorType?: unknown;
|
|
101
|
+
pendingMeta?: unknown;
|
|
102
|
+
fulfilledMeta?: unknown;
|
|
103
|
+
rejectedMeta?: unknown;
|
|
104
|
+
}>;
|
|
42
105
|
export declare const resendOperationOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
43
106
|
data: any;
|
|
44
|
-
}, void, {
|
|
107
|
+
}, void, {
|
|
108
|
+
state?: unknown;
|
|
109
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
110
|
+
extra?: unknown;
|
|
111
|
+
rejectValue?: unknown;
|
|
112
|
+
serializedErrorType?: unknown;
|
|
113
|
+
pendingMeta?: unknown;
|
|
114
|
+
fulfilledMeta?: unknown;
|
|
115
|
+
rejectedMeta?: unknown;
|
|
116
|
+
}>;
|
|
45
117
|
export declare const resetPassword: import("@reduxjs/toolkit").AsyncThunk<{
|
|
46
118
|
data: any;
|
|
47
119
|
formData: {
|
|
@@ -52,15 +124,47 @@ export declare const resetPassword: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
52
124
|
} | undefined;
|
|
53
125
|
otp: string;
|
|
54
126
|
};
|
|
55
|
-
}, OTPFormValues, {
|
|
127
|
+
}, OTPFormValues, {
|
|
128
|
+
state?: unknown;
|
|
129
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
130
|
+
extra?: unknown;
|
|
131
|
+
rejectValue?: unknown;
|
|
132
|
+
serializedErrorType?: unknown;
|
|
133
|
+
pendingMeta?: unknown;
|
|
134
|
+
fulfilledMeta?: unknown;
|
|
135
|
+
rejectedMeta?: unknown;
|
|
136
|
+
}>;
|
|
56
137
|
export declare const retrieveBoardResetPasswordSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
138
|
+
id: any;
|
|
139
|
+
response: {
|
|
140
|
+
flows?: undefined;
|
|
141
|
+
};
|
|
142
|
+
} | {
|
|
57
143
|
id: any;
|
|
58
144
|
response: {
|
|
59
145
|
flows: any;
|
|
60
146
|
};
|
|
61
|
-
}, void, {
|
|
62
|
-
|
|
63
|
-
|
|
147
|
+
}, void, {
|
|
148
|
+
state?: unknown;
|
|
149
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
150
|
+
extra?: unknown;
|
|
151
|
+
rejectValue?: unknown;
|
|
152
|
+
serializedErrorType?: unknown;
|
|
153
|
+
pendingMeta?: unknown;
|
|
154
|
+
fulfilledMeta?: unknown;
|
|
155
|
+
rejectedMeta?: unknown;
|
|
156
|
+
}>;
|
|
157
|
+
export declare const onCloseCompletePassword: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
158
|
+
state?: unknown;
|
|
159
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
160
|
+
extra?: unknown;
|
|
161
|
+
rejectValue?: unknown;
|
|
162
|
+
serializedErrorType?: unknown;
|
|
163
|
+
pendingMeta?: unknown;
|
|
164
|
+
fulfilledMeta?: unknown;
|
|
165
|
+
rejectedMeta?: unknown;
|
|
166
|
+
}>;
|
|
167
|
+
type VerifyData = {
|
|
64
168
|
token: string;
|
|
65
169
|
operationType?: string;
|
|
66
170
|
};
|
|
@@ -82,7 +186,7 @@ export declare const passwordSlice: import("@reduxjs/toolkit").Slice<PasswordSta
|
|
|
82
186
|
type: string;
|
|
83
187
|
}) => void;
|
|
84
188
|
}, "password/store">;
|
|
85
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
189
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"password/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"password/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"password/store/resetOTPScreen">, storePasswordScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "password/store/storePasswordScreen">;
|
|
86
190
|
declare const _default: import("redux").Reducer<PasswordState, import("redux").AnyAction>;
|
|
87
191
|
export default _default;
|
|
88
192
|
export declare const passwordSelector: (state: RootState) => PasswordState;
|
|
@@ -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 (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
|
|
@@ -208,13 +208,14 @@ export var createPassword = createAsyncThunk('createPassword', function (params,
|
|
|
208
208
|
});
|
|
209
209
|
}); });
|
|
210
210
|
export var updateBoardSuccess = createAsyncThunk('passwordUpdateBoardSuccess', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
211
|
-
var _a, settings, password, _b, id, infoId, payload, data, boardInfoData;
|
|
212
|
-
var
|
|
213
|
-
return __generator(this, function (
|
|
214
|
-
switch (
|
|
211
|
+
var _a, settings, password, _b, id, infoId, _c, showBoard, mode, payload, data, boardInfoData;
|
|
212
|
+
var _d, _e, _f, _g, _h, _j, _k, _l;
|
|
213
|
+
return __generator(this, function (_m) {
|
|
214
|
+
switch (_m.label) {
|
|
215
215
|
case 0:
|
|
216
216
|
_a = thunkApi.getState(), settings = _a.settings, password = _a.password;
|
|
217
217
|
_b = password.data.verify.responseBody || {}, id = _b.board_id, infoId = _b.board_info_id;
|
|
218
|
+
_c = settings.data.appConfig, showBoard = _c.showBoard, mode = _c.mode;
|
|
218
219
|
if (!id)
|
|
219
220
|
return [2];
|
|
220
221
|
payload = {
|
|
@@ -224,15 +225,20 @@ export var updateBoardSuccess = createAsyncThunk('passwordUpdateBoardSuccess', f
|
|
|
224
225
|
};
|
|
225
226
|
return [4, API.boardService.updateBoardInfo(__assign({ id: id, infoId: infoId }, payload))];
|
|
226
227
|
case 1:
|
|
227
|
-
data =
|
|
228
|
+
data = _m.sent();
|
|
229
|
+
if (!showBoard && mode === 'content') {
|
|
230
|
+
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, {});
|
|
231
|
+
(_g = (_f = settings.data.appConfig).onFlowCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, { data: data });
|
|
232
|
+
return [2, { response: __assign({}, data), formData: params }];
|
|
233
|
+
}
|
|
228
234
|
return [4, API.boardService.retrieveBoardInfoStatus(id)];
|
|
229
235
|
case 2:
|
|
230
|
-
boardInfoData =
|
|
236
|
+
boardInfoData = _m.sent();
|
|
231
237
|
return [4, thunkApi.dispatch(retrieveBoardDetails(id))];
|
|
232
238
|
case 3:
|
|
233
|
-
|
|
234
|
-
(
|
|
235
|
-
(
|
|
239
|
+
_m.sent();
|
|
240
|
+
(_j = (_h = settings.data.appConfig).onStepCompleted) === null || _j === void 0 ? void 0 : _j.call(_h, settings.data.activeScreen.name, {});
|
|
241
|
+
(_l = (_k = settings.data.appConfig).onFlowCompleted) === null || _l === void 0 ? void 0 : _l.call(_k, { data: data });
|
|
236
242
|
thunkApi.dispatch(handleNextScreenStep());
|
|
237
243
|
return [2, { response: __assign(__assign({}, data), { flows: (boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.info) || [] }), formData: params }];
|
|
238
244
|
}
|
|
@@ -336,22 +342,28 @@ export var resetPassword = createAsyncThunk('resetPassword', function (params, t
|
|
|
336
342
|
});
|
|
337
343
|
}); });
|
|
338
344
|
export var retrieveBoardResetPasswordSuccess = createAsyncThunk('retrieveBoardResetPasswordSuccess', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
339
|
-
var _a, password, settings, id, boardInfoData;
|
|
340
|
-
var
|
|
341
|
-
return __generator(this, function (
|
|
342
|
-
switch (
|
|
345
|
+
var _a, password, settings, _b, id, boardResponse, _c, showBoard, mode, boardInfoData;
|
|
346
|
+
var _d, _e, _f, _g, _h, _j, _k, _l;
|
|
347
|
+
return __generator(this, function (_m) {
|
|
348
|
+
switch (_m.label) {
|
|
343
349
|
case 0:
|
|
344
350
|
_a = thunkApi.getState(), password = _a.password, settings = _a.settings;
|
|
345
|
-
|
|
351
|
+
_b = password.data.verify.responseBody || { board_id: '' }, id = _b.board_id, boardResponse = _b.boardResponse;
|
|
352
|
+
_c = settings.data.appConfig, showBoard = _c.showBoard, mode = _c.mode;
|
|
353
|
+
if (!showBoard && mode === 'content') {
|
|
354
|
+
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, {});
|
|
355
|
+
(_g = (_f = settings.data.appConfig).onFlowCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, { data: boardResponse });
|
|
356
|
+
return [2, { id: id, response: {} }];
|
|
357
|
+
}
|
|
346
358
|
return [4, API.boardService.retrieveBoardInfoStatus(id)];
|
|
347
359
|
case 1:
|
|
348
|
-
boardInfoData =
|
|
360
|
+
boardInfoData = _m.sent();
|
|
349
361
|
return [4, thunkApi.dispatch(retrieveBoardDetails(id))];
|
|
350
362
|
case 2:
|
|
351
|
-
|
|
363
|
+
_m.sent();
|
|
352
364
|
thunkApi.dispatch(handleNextScreenStep());
|
|
353
|
-
(
|
|
354
|
-
(
|
|
365
|
+
(_j = (_h = settings.data.appConfig).onStepCompleted) === null || _j === void 0 ? void 0 : _j.call(_h, settings.data.activeScreen.name, { id: id });
|
|
366
|
+
(_l = (_k = settings.data.appConfig).onFlowCompleted) === null || _l === void 0 ? void 0 : _l.call(_k, id);
|
|
355
367
|
return [2, { id: id, response: { flows: (boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.info) || [] } }];
|
|
356
368
|
}
|
|
357
369
|
});
|
|
@@ -3,18 +3,72 @@ import { MobileFormValues, SharedState, EmailFormValues, ResponseData, OTPFormVa
|
|
|
3
3
|
export declare const createMobileAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
4
4
|
data: any;
|
|
5
5
|
formData: MobileFormValues;
|
|
6
|
-
}, MobileFormValues, {
|
|
7
|
-
|
|
6
|
+
}, MobileFormValues, {
|
|
7
|
+
state?: unknown;
|
|
8
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
9
|
+
extra?: unknown;
|
|
10
|
+
rejectValue?: unknown;
|
|
11
|
+
serializedErrorType?: unknown;
|
|
12
|
+
pendingMeta?: unknown;
|
|
13
|
+
fulfilledMeta?: unknown;
|
|
14
|
+
rejectedMeta?: unknown;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const resendOTPMobile: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
17
|
+
state?: unknown;
|
|
18
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
19
|
+
extra?: unknown;
|
|
20
|
+
rejectValue?: unknown;
|
|
21
|
+
serializedErrorType?: unknown;
|
|
22
|
+
pendingMeta?: unknown;
|
|
23
|
+
fulfilledMeta?: unknown;
|
|
24
|
+
rejectedMeta?: unknown;
|
|
25
|
+
}>;
|
|
8
26
|
export declare const createEmailAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
9
27
|
data: any;
|
|
10
28
|
formData: EmailFormValues;
|
|
11
|
-
}, EmailFormValues, {
|
|
12
|
-
|
|
29
|
+
}, EmailFormValues, {
|
|
30
|
+
state?: unknown;
|
|
31
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
32
|
+
extra?: unknown;
|
|
33
|
+
rejectValue?: unknown;
|
|
34
|
+
serializedErrorType?: unknown;
|
|
35
|
+
pendingMeta?: unknown;
|
|
36
|
+
fulfilledMeta?: unknown;
|
|
37
|
+
rejectedMeta?: unknown;
|
|
38
|
+
}>;
|
|
39
|
+
export declare const resendOTPEmail: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
40
|
+
state?: unknown;
|
|
41
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
42
|
+
extra?: unknown;
|
|
43
|
+
rejectValue?: unknown;
|
|
44
|
+
serializedErrorType?: unknown;
|
|
45
|
+
pendingMeta?: unknown;
|
|
46
|
+
fulfilledMeta?: unknown;
|
|
47
|
+
rejectedMeta?: unknown;
|
|
48
|
+
}>;
|
|
13
49
|
export declare const verifyAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
14
50
|
data: any;
|
|
15
51
|
formData: OTPFormValues;
|
|
16
|
-
}, OTPFormValues, {
|
|
17
|
-
|
|
52
|
+
}, OTPFormValues, {
|
|
53
|
+
state?: unknown;
|
|
54
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
55
|
+
extra?: unknown;
|
|
56
|
+
rejectValue?: unknown;
|
|
57
|
+
serializedErrorType?: unknown;
|
|
58
|
+
pendingMeta?: unknown;
|
|
59
|
+
fulfilledMeta?: unknown;
|
|
60
|
+
rejectedMeta?: unknown;
|
|
61
|
+
}>;
|
|
62
|
+
export declare const verifyAuthPassword: import("@reduxjs/toolkit").AsyncThunk<any, PasswordFormValues, {
|
|
63
|
+
state?: unknown;
|
|
64
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
65
|
+
extra?: unknown;
|
|
66
|
+
rejectValue?: unknown;
|
|
67
|
+
serializedErrorType?: unknown;
|
|
68
|
+
pendingMeta?: unknown;
|
|
69
|
+
fulfilledMeta?: unknown;
|
|
70
|
+
rejectedMeta?: unknown;
|
|
71
|
+
}>;
|
|
18
72
|
export interface SignInData {
|
|
19
73
|
auth: Partial<MobileFormValues & EmailFormValues> & ResponseData;
|
|
20
74
|
otpData: OTPFormValues & ResponseData;
|
|
@@ -27,7 +81,7 @@ export declare const signInSlice: import("@reduxjs/toolkit").Slice<SignInState,
|
|
|
27
81
|
stopLoader: (state: SignInState) => void;
|
|
28
82
|
resetOTPScreen: (state: SignInState) => void;
|
|
29
83
|
}, "signIsn/store">;
|
|
30
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
84
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"signIsn/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"signIsn/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"signIsn/store/resetOTPScreen">;
|
|
31
85
|
declare const _default: import("redux").Reducer<SignInState, import("redux").AnyAction>;
|
|
32
86
|
export default _default;
|
|
33
87
|
export declare const signInSelector: (state: RootState) => SignInState;
|
|
@@ -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 (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
|
|
@@ -9,30 +9,102 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
9
9
|
individualData: any;
|
|
10
10
|
boardResponse: any;
|
|
11
11
|
token: string;
|
|
12
|
-
}, VerifyLeadTokenProps, {
|
|
12
|
+
}, VerifyLeadTokenProps, {
|
|
13
|
+
state?: unknown;
|
|
14
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
15
|
+
extra?: unknown;
|
|
16
|
+
rejectValue?: unknown;
|
|
17
|
+
serializedErrorType?: unknown;
|
|
18
|
+
pendingMeta?: unknown;
|
|
19
|
+
fulfilledMeta?: unknown;
|
|
20
|
+
rejectedMeta?: unknown;
|
|
21
|
+
}>;
|
|
13
22
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
14
23
|
data: any;
|
|
15
|
-
}, void, {
|
|
24
|
+
}, void, {
|
|
25
|
+
state?: unknown;
|
|
26
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
27
|
+
extra?: unknown;
|
|
28
|
+
rejectValue?: unknown;
|
|
29
|
+
serializedErrorType?: unknown;
|
|
30
|
+
pendingMeta?: unknown;
|
|
31
|
+
fulfilledMeta?: unknown;
|
|
32
|
+
rejectedMeta?: unknown;
|
|
33
|
+
}>;
|
|
16
34
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
17
35
|
flows: any;
|
|
18
|
-
}, void, {
|
|
36
|
+
}, void, {
|
|
37
|
+
state?: unknown;
|
|
38
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
39
|
+
extra?: unknown;
|
|
40
|
+
rejectValue?: unknown;
|
|
41
|
+
serializedErrorType?: unknown;
|
|
42
|
+
pendingMeta?: unknown;
|
|
43
|
+
fulfilledMeta?: unknown;
|
|
44
|
+
rejectedMeta?: unknown;
|
|
45
|
+
}>;
|
|
19
46
|
export declare const retrieveEntityInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
20
47
|
data: any;
|
|
21
|
-
}, string, {
|
|
48
|
+
}, string, {
|
|
49
|
+
state?: unknown;
|
|
50
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
51
|
+
extra?: unknown;
|
|
52
|
+
rejectValue?: unknown;
|
|
53
|
+
serializedErrorType?: unknown;
|
|
54
|
+
pendingMeta?: unknown;
|
|
55
|
+
fulfilledMeta?: unknown;
|
|
56
|
+
rejectedMeta?: unknown;
|
|
57
|
+
}>;
|
|
22
58
|
export declare const verifyTaxLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
23
59
|
data: any;
|
|
24
60
|
formData: OTPFormValues;
|
|
25
|
-
}, OTPFormValues, {
|
|
61
|
+
}, OTPFormValues, {
|
|
62
|
+
state?: unknown;
|
|
63
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
64
|
+
extra?: unknown;
|
|
65
|
+
rejectValue?: unknown;
|
|
66
|
+
serializedErrorType?: unknown;
|
|
67
|
+
pendingMeta?: unknown;
|
|
68
|
+
fulfilledMeta?: unknown;
|
|
69
|
+
rejectedMeta?: unknown;
|
|
70
|
+
}>;
|
|
26
71
|
export declare const updateTaxInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
27
72
|
data: any;
|
|
28
73
|
formData: TaxFormValues;
|
|
29
|
-
}, AsyncThunkParams<TaxFormValues>, {
|
|
74
|
+
}, AsyncThunkParams<TaxFormValues>, {
|
|
75
|
+
state?: unknown;
|
|
76
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
77
|
+
extra?: unknown;
|
|
78
|
+
rejectValue?: unknown;
|
|
79
|
+
serializedErrorType?: unknown;
|
|
80
|
+
pendingMeta?: unknown;
|
|
81
|
+
fulfilledMeta?: unknown;
|
|
82
|
+
rejectedMeta?: unknown;
|
|
83
|
+
}>;
|
|
30
84
|
export declare const updateLeadSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
31
85
|
response: any;
|
|
32
86
|
formData: void;
|
|
33
|
-
} | undefined, void, {
|
|
34
|
-
|
|
35
|
-
|
|
87
|
+
} | undefined, void, {
|
|
88
|
+
state?: unknown;
|
|
89
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
90
|
+
extra?: unknown;
|
|
91
|
+
rejectValue?: unknown;
|
|
92
|
+
serializedErrorType?: unknown;
|
|
93
|
+
pendingMeta?: unknown;
|
|
94
|
+
fulfilledMeta?: unknown;
|
|
95
|
+
rejectedMeta?: unknown;
|
|
96
|
+
}>;
|
|
97
|
+
export declare const onCloseCompleteTax: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
98
|
+
state?: unknown;
|
|
99
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
100
|
+
extra?: unknown;
|
|
101
|
+
rejectValue?: unknown;
|
|
102
|
+
serializedErrorType?: unknown;
|
|
103
|
+
pendingMeta?: unknown;
|
|
104
|
+
fulfilledMeta?: unknown;
|
|
105
|
+
rejectedMeta?: unknown;
|
|
106
|
+
}>;
|
|
107
|
+
type VerifyData = {
|
|
36
108
|
token: string;
|
|
37
109
|
};
|
|
38
110
|
export interface TaxData {
|
|
@@ -51,7 +123,7 @@ export declare const taxSlice: import("@reduxjs/toolkit").Slice<TaxState, {
|
|
|
51
123
|
resetOTPScreen: (state: TaxState) => void;
|
|
52
124
|
uploadingStatus: (state: TaxState, action: ActionState<boolean>) => void;
|
|
53
125
|
}, "tax/store">;
|
|
54
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
126
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"tax/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"tax/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"tax/store/resetOTPScreen">, uploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "tax/store/uploadingStatus">;
|
|
55
127
|
declare const _default: import("redux").Reducer<TaxState, import("redux").AnyAction>;
|
|
56
128
|
export default _default;
|
|
57
129
|
export declare const taxSelector: (state: RootState) => TaxState;
|
|
@@ -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 (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
|
|
@@ -247,13 +247,14 @@ export var updateTaxInfo = createAsyncThunk('updateTaxInfo', function (_a, thunk
|
|
|
247
247
|
});
|
|
248
248
|
});
|
|
249
249
|
export var updateLeadSuccess = createAsyncThunk('taxUpdateLeadSuccess', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
250
|
-
var _a, settings, tax, _b, id, infoId, payload, data, boardInfoData, boardData;
|
|
251
|
-
var
|
|
252
|
-
return __generator(this, function (
|
|
253
|
-
switch (
|
|
250
|
+
var _a, settings, tax, _b, id, infoId, _c, showBoard, mode, payload, data, boardInfoData, boardData;
|
|
251
|
+
var _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
252
|
+
return __generator(this, function (_o) {
|
|
253
|
+
switch (_o.label) {
|
|
254
254
|
case 0:
|
|
255
255
|
_a = thunkApi.getState(), settings = _a.settings, tax = _a.tax;
|
|
256
256
|
_b = tax.data.verify.responseBody || {}, id = _b.board_id, infoId = _b.board_info_id;
|
|
257
|
+
_c = settings.data.appConfig, showBoard = _c.showBoard, mode = _c.mode;
|
|
257
258
|
if (!id)
|
|
258
259
|
return [2];
|
|
259
260
|
payload = {
|
|
@@ -262,18 +263,23 @@ export var updateLeadSuccess = createAsyncThunk('taxUpdateLeadSuccess', function
|
|
|
262
263
|
};
|
|
263
264
|
return [4, API.boardService.updateBoardInfo(__assign({ id: id, infoId: infoId }, payload))];
|
|
264
265
|
case 1:
|
|
265
|
-
data =
|
|
266
|
+
data = _o.sent();
|
|
267
|
+
if (!showBoard && mode === 'content') {
|
|
268
|
+
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, {});
|
|
269
|
+
(_g = (_f = settings.data.appConfig).onFlowCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, { data: data });
|
|
270
|
+
return [2, { response: __assign({}, data), formData: params }];
|
|
271
|
+
}
|
|
266
272
|
return [4, API.boardService.retrieveBoardInfoStatus(id)];
|
|
267
273
|
case 2:
|
|
268
|
-
boardInfoData =
|
|
274
|
+
boardInfoData = _o.sent();
|
|
269
275
|
return [4, API.boardService.retrieveBoardDetails(id)];
|
|
270
276
|
case 3:
|
|
271
|
-
boardData =
|
|
272
|
-
(
|
|
273
|
-
(
|
|
277
|
+
boardData = _o.sent();
|
|
278
|
+
(_j = (_h = settings.data.appConfig).onStepCompleted) === null || _j === void 0 ? void 0 : _j.call(_h, settings.data.activeScreen.name, {});
|
|
279
|
+
(_l = (_k = settings.data.appConfig).onFlowCompleted) === null || _l === void 0 ? void 0 : _l.call(_k, { data: data });
|
|
274
280
|
thunkApi.dispatch(handleNextScreenStep());
|
|
275
281
|
return [2, {
|
|
276
|
-
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: (
|
|
282
|
+
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 }),
|
|
277
283
|
formData: params
|
|
278
284
|
}];
|
|
279
285
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { LibConfig } from '../../@types';
|
|
3
2
|
export interface AuthLibProps extends Pick<LibConfig, 'open' | 'mode' | 'scope' | 'merchantDomain' | 'publicKey' | 'redirectUrl' | 'data' | 'postURL' | 'appInfo' | 'businessCountryCode' | 'language' | 'onFlowCompleted' | 'onError' | 'onStepCompleted' | 'onReady' | 'onClose' | 'onStepStarted'> {
|
|
4
3
|
leadId?: string;
|
|
@@ -9,7 +8,7 @@ export interface AuthLibProps extends Pick<LibConfig, 'open' | 'mode' | 'scope'
|
|
|
9
8
|
openAnimationDirection?: 'left' | 'right' | 'up' | 'down';
|
|
10
9
|
closeAnimationDirection?: 'left' | 'right' | 'up' | 'down';
|
|
11
10
|
}
|
|
12
|
-
export declare function AuthElement(props: AuthLibProps): JSX.Element;
|
|
11
|
+
export declare function AuthElement(props: AuthLibProps): import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export declare function renderAuthLib(config: AuthLibProps, elementId: string): {
|
|
14
13
|
unmount: () => void;
|
|
15
14
|
};
|