@tap-payments/auth-jsconnect 2.6.102-test → 2.7.3-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 +19 -28
- package/build/@types/config.d.ts +30 -0
- package/build/@types/config.js +1 -0
- package/build/@types/form.d.ts +22 -22
- package/build/@types/index.d.ts +1 -0
- package/build/@types/index.js +1 -0
- package/build/@types/theme.d.ts +5 -1
- package/build/@types/theme.js +5 -0
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +13 -13
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +11 -11
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +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 +23 -5
- package/build/app/settings.js +24 -21
- package/build/app/store.d.ts +4 -4
- package/build/components/AnimationFlow/AnimationFlow.d.ts +3 -2
- package/build/components/AnimationFlow/AnimationFlow.js +3 -3
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.d.ts +3 -2
- package/build/components/AnimationFlow/Dialog.js +5 -5
- 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/app.d.ts +1 -1
- package/build/features/app/auth/authStore.d.ts +151 -16
- package/build/features/app/auth/authStore.js +12 -10
- package/build/features/app/bank/bankStore.d.ts +92 -11
- package/build/features/app/bank/bankStore.js +1 -1
- 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 +1 -1
- 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 -28
- package/build/features/app/connectExpress/connectExpressStore.js +35 -32
- package/build/features/app/entity/entityStore.d.ts +92 -11
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +185 -23
- package/build/features/app/individual/individualStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +112 -13
- package/build/features/app/password/passwordStore.js +1 -1
- 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 +1 -1
- 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/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +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 +1 -1
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
- 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/OTP/OTP.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +1 -2
- package/build/features/bank/Bank.js +1 -1
- 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/Board.js +1 -1
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +1 -2
- package/build/features/brand/Brand.js +1 -1
- 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/Business.js +1 -1
- 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 +7 -7
- 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 -2
- package/build/features/connectExpress/ConnectExpress.js +8 -8
- 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/Entity.js +1 -1
- 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/individual/Individual.d.ts +1 -2
- package/build/features/individual/Individual.js +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- 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/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/Password.js +1 -1
- 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/SignIn.js +1 -1
- 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/Tax.js +1 -1
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +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 +3 -3
- 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/build/utils/device.d.ts +2 -0
- package/build/utils/device.js +6 -0
- package/package.json +1 -1
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { RootState } from '../../../app/store';
|
|
2
2
|
import { MobileFormValues, NIDFormValues, CivilFormValues, OTPFormValues, IndividualFormValues, SharedState, FlowsTypes, ActionState, CountryCode, AuthForType, BusinessDataFormValues, AsyncThunkParams, AuthenticationListFormValues, AuthMerchantFormValues } from '../../../@types';
|
|
3
3
|
import { CancelToken } from 'axios';
|
|
4
|
-
export declare const updateBusinessCountryAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
4
|
+
export declare const updateBusinessCountryAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
5
|
+
state?: unknown;
|
|
6
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
7
|
+
extra?: unknown;
|
|
8
|
+
rejectValue?: unknown;
|
|
9
|
+
serializedErrorType?: unknown;
|
|
10
|
+
pendingMeta?: unknown;
|
|
11
|
+
fulfilledMeta?: unknown;
|
|
12
|
+
rejectedMeta?: unknown;
|
|
13
|
+
}>;
|
|
5
14
|
export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
6
15
|
data: any;
|
|
7
16
|
countryCode: CountryCode;
|
|
@@ -12,64 +21,226 @@ export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").A
|
|
|
12
21
|
countryCode: CountryCode;
|
|
13
22
|
boardInfo: any;
|
|
14
23
|
boardData: any;
|
|
15
|
-
}, string, {
|
|
24
|
+
}, string, {
|
|
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 getLeadByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
17
35
|
data: any;
|
|
18
36
|
countryCode: CountryCode;
|
|
19
|
-
}, string, {
|
|
20
|
-
|
|
37
|
+
}, string, {
|
|
38
|
+
state?: unknown;
|
|
39
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
40
|
+
extra?: unknown;
|
|
41
|
+
rejectValue?: unknown;
|
|
42
|
+
serializedErrorType?: unknown;
|
|
43
|
+
pendingMeta?: unknown;
|
|
44
|
+
fulfilledMeta?: unknown;
|
|
45
|
+
rejectedMeta?: unknown;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const retrieveEntityListAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
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 retrieveAuthenticationListAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
22
58
|
brandList: any;
|
|
23
59
|
entityList: any;
|
|
24
60
|
}, {
|
|
25
61
|
individualId: string;
|
|
26
|
-
}, {
|
|
62
|
+
}, {
|
|
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
|
+
}>;
|
|
27
72
|
export declare const getMerchantListAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
28
73
|
list: any;
|
|
29
74
|
brandInfo: import("../../../@types").BrandInfo | undefined;
|
|
30
75
|
entityInfo: import("../../../@types").EntityLicenseAuth | undefined;
|
|
31
|
-
}, AuthenticationListFormValues, {
|
|
76
|
+
}, AuthenticationListFormValues, {
|
|
77
|
+
state?: unknown;
|
|
78
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
79
|
+
extra?: unknown;
|
|
80
|
+
rejectValue?: unknown;
|
|
81
|
+
serializedErrorType?: unknown;
|
|
82
|
+
pendingMeta?: unknown;
|
|
83
|
+
fulfilledMeta?: unknown;
|
|
84
|
+
rejectedMeta?: unknown;
|
|
85
|
+
}>;
|
|
32
86
|
export declare const createMobileAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
33
87
|
response: any;
|
|
34
88
|
formData: MobileFormValues;
|
|
35
|
-
}, MobileFormValues, {
|
|
89
|
+
}, MobileFormValues, {
|
|
90
|
+
state?: unknown;
|
|
91
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
92
|
+
extra?: unknown;
|
|
93
|
+
rejectValue?: unknown;
|
|
94
|
+
serializedErrorType?: unknown;
|
|
95
|
+
pendingMeta?: unknown;
|
|
96
|
+
fulfilledMeta?: unknown;
|
|
97
|
+
rejectedMeta?: unknown;
|
|
98
|
+
}>;
|
|
36
99
|
export declare const resendMobileAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
37
100
|
response: any;
|
|
38
101
|
formData: MobileFormValues;
|
|
39
|
-
}, MobileFormValues, {
|
|
102
|
+
}, MobileFormValues, {
|
|
103
|
+
state?: unknown;
|
|
104
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
105
|
+
extra?: unknown;
|
|
106
|
+
rejectValue?: unknown;
|
|
107
|
+
serializedErrorType?: unknown;
|
|
108
|
+
pendingMeta?: unknown;
|
|
109
|
+
fulfilledMeta?: unknown;
|
|
110
|
+
rejectedMeta?: unknown;
|
|
111
|
+
}>;
|
|
40
112
|
export declare const createNIDAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
41
113
|
response: any;
|
|
42
114
|
formData: NIDFormValues;
|
|
43
|
-
}, NIDFormValues, {
|
|
115
|
+
}, NIDFormValues, {
|
|
116
|
+
state?: unknown;
|
|
117
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
118
|
+
extra?: unknown;
|
|
119
|
+
rejectValue?: unknown;
|
|
120
|
+
serializedErrorType?: unknown;
|
|
121
|
+
pendingMeta?: unknown;
|
|
122
|
+
fulfilledMeta?: unknown;
|
|
123
|
+
rejectedMeta?: unknown;
|
|
124
|
+
}>;
|
|
44
125
|
export declare const resendNIDAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
45
126
|
response: any;
|
|
46
127
|
formData: NIDFormValues;
|
|
47
|
-
}, NIDFormValues, {
|
|
128
|
+
}, NIDFormValues, {
|
|
129
|
+
state?: unknown;
|
|
130
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
131
|
+
extra?: unknown;
|
|
132
|
+
rejectValue?: unknown;
|
|
133
|
+
serializedErrorType?: unknown;
|
|
134
|
+
pendingMeta?: unknown;
|
|
135
|
+
fulfilledMeta?: unknown;
|
|
136
|
+
rejectedMeta?: unknown;
|
|
137
|
+
}>;
|
|
48
138
|
export declare const createCivilIdAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
49
139
|
response: any;
|
|
50
140
|
formData: CivilFormValues;
|
|
51
|
-
}, CivilFormValues, {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
141
|
+
}, CivilFormValues, {
|
|
142
|
+
state?: unknown;
|
|
143
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
144
|
+
extra?: unknown;
|
|
145
|
+
rejectValue?: unknown;
|
|
146
|
+
serializedErrorType?: unknown;
|
|
147
|
+
pendingMeta?: unknown;
|
|
148
|
+
fulfilledMeta?: unknown;
|
|
149
|
+
rejectedMeta?: unknown;
|
|
150
|
+
}>;
|
|
151
|
+
export declare const verifyMobileOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
152
|
+
state?: unknown;
|
|
153
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
154
|
+
extra?: unknown;
|
|
155
|
+
rejectValue?: unknown;
|
|
156
|
+
serializedErrorType?: unknown;
|
|
157
|
+
pendingMeta?: unknown;
|
|
158
|
+
fulfilledMeta?: unknown;
|
|
159
|
+
rejectedMeta?: unknown;
|
|
160
|
+
}>;
|
|
161
|
+
export declare const verifyNIDOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
162
|
+
state?: unknown;
|
|
163
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
164
|
+
extra?: unknown;
|
|
165
|
+
rejectValue?: unknown;
|
|
166
|
+
serializedErrorType?: unknown;
|
|
167
|
+
pendingMeta?: unknown;
|
|
168
|
+
fulfilledMeta?: unknown;
|
|
169
|
+
rejectedMeta?: unknown;
|
|
170
|
+
}>;
|
|
171
|
+
export declare const verifyPACIAsync: import("@reduxjs/toolkit").AsyncThunk<any, verifyPACIAsyncParams, {
|
|
172
|
+
state?: unknown;
|
|
173
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
174
|
+
extra?: unknown;
|
|
175
|
+
rejectValue?: unknown;
|
|
176
|
+
serializedErrorType?: unknown;
|
|
177
|
+
pendingMeta?: unknown;
|
|
178
|
+
fulfilledMeta?: unknown;
|
|
179
|
+
rejectedMeta?: unknown;
|
|
180
|
+
}>;
|
|
55
181
|
export declare const createCivilIDAuthIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
56
182
|
response: any;
|
|
57
183
|
formData: CivilFormValues;
|
|
58
|
-
}, CivilFormValues, {
|
|
184
|
+
}, CivilFormValues, {
|
|
185
|
+
state?: unknown;
|
|
186
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
187
|
+
extra?: unknown;
|
|
188
|
+
rejectValue?: unknown;
|
|
189
|
+
serializedErrorType?: unknown;
|
|
190
|
+
pendingMeta?: unknown;
|
|
191
|
+
fulfilledMeta?: unknown;
|
|
192
|
+
rejectedMeta?: unknown;
|
|
193
|
+
}>;
|
|
59
194
|
export declare const createNIDAuthIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
60
195
|
response: {
|
|
61
196
|
verify_token: any;
|
|
62
197
|
};
|
|
63
198
|
formData: NIDFormValues;
|
|
64
|
-
}, NIDFormValues, {
|
|
199
|
+
}, NIDFormValues, {
|
|
200
|
+
state?: unknown;
|
|
201
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
202
|
+
extra?: unknown;
|
|
203
|
+
rejectValue?: unknown;
|
|
204
|
+
serializedErrorType?: unknown;
|
|
205
|
+
pendingMeta?: unknown;
|
|
206
|
+
fulfilledMeta?: unknown;
|
|
207
|
+
rejectedMeta?: unknown;
|
|
208
|
+
}>;
|
|
65
209
|
export declare const resendNIDAuthIdentityOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
66
210
|
response: {
|
|
67
211
|
verify_token: any;
|
|
68
212
|
};
|
|
69
213
|
formData: NIDFormValues;
|
|
70
|
-
}, NIDFormValues, {
|
|
71
|
-
|
|
72
|
-
|
|
214
|
+
}, NIDFormValues, {
|
|
215
|
+
state?: unknown;
|
|
216
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
217
|
+
extra?: unknown;
|
|
218
|
+
rejectValue?: unknown;
|
|
219
|
+
serializedErrorType?: unknown;
|
|
220
|
+
pendingMeta?: unknown;
|
|
221
|
+
fulfilledMeta?: unknown;
|
|
222
|
+
rejectedMeta?: unknown;
|
|
223
|
+
}>;
|
|
224
|
+
export declare const verifyNIDOtpLeadIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
225
|
+
state?: unknown;
|
|
226
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
227
|
+
extra?: unknown;
|
|
228
|
+
rejectValue?: unknown;
|
|
229
|
+
serializedErrorType?: unknown;
|
|
230
|
+
pendingMeta?: unknown;
|
|
231
|
+
fulfilledMeta?: unknown;
|
|
232
|
+
rejectedMeta?: unknown;
|
|
233
|
+
}>;
|
|
234
|
+
export declare const verifyPaciLeadIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<any, verifyPACIAsyncParams, {
|
|
235
|
+
state?: unknown;
|
|
236
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
237
|
+
extra?: unknown;
|
|
238
|
+
rejectValue?: unknown;
|
|
239
|
+
serializedErrorType?: unknown;
|
|
240
|
+
pendingMeta?: unknown;
|
|
241
|
+
fulfilledMeta?: unknown;
|
|
242
|
+
rejectedMeta?: unknown;
|
|
243
|
+
}>;
|
|
73
244
|
export declare const checkEmailAvailabilityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
74
245
|
response: any;
|
|
75
246
|
formData: string;
|
|
@@ -77,7 +248,16 @@ export declare const checkEmailAvailabilityAsync: import("@reduxjs/toolkit").Asy
|
|
|
77
248
|
email: string;
|
|
78
249
|
cancelToken: CancelToken;
|
|
79
250
|
onSuccess?: (() => void) | undefined;
|
|
80
|
-
}, {
|
|
251
|
+
}, {
|
|
252
|
+
state?: unknown;
|
|
253
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
254
|
+
extra?: unknown;
|
|
255
|
+
rejectValue?: unknown;
|
|
256
|
+
serializedErrorType?: unknown;
|
|
257
|
+
pendingMeta?: unknown;
|
|
258
|
+
fulfilledMeta?: unknown;
|
|
259
|
+
rejectedMeta?: unknown;
|
|
260
|
+
}>;
|
|
81
261
|
export declare const checkBrandNameAvailabilityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
82
262
|
response: any;
|
|
83
263
|
formData: {
|
|
@@ -87,29 +267,92 @@ export declare const checkBrandNameAvailabilityAsync: import("@reduxjs/toolkit")
|
|
|
87
267
|
name: string;
|
|
88
268
|
cancelToken: CancelToken;
|
|
89
269
|
onSuccess?: (() => void) | undefined;
|
|
90
|
-
}, {
|
|
270
|
+
}, {
|
|
271
|
+
state?: unknown;
|
|
272
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
273
|
+
extra?: unknown;
|
|
274
|
+
rejectValue?: unknown;
|
|
275
|
+
serializedErrorType?: unknown;
|
|
276
|
+
pendingMeta?: unknown;
|
|
277
|
+
fulfilledMeta?: unknown;
|
|
278
|
+
rejectedMeta?: unknown;
|
|
279
|
+
}>;
|
|
91
280
|
export declare const createAccountAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
92
281
|
boardInfo: any;
|
|
93
282
|
boardData: any;
|
|
94
283
|
account: any;
|
|
95
|
-
} | undefined, void, {
|
|
284
|
+
} | undefined, void, {
|
|
285
|
+
state?: unknown;
|
|
286
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
287
|
+
extra?: unknown;
|
|
288
|
+
rejectValue?: unknown;
|
|
289
|
+
serializedErrorType?: unknown;
|
|
290
|
+
pendingMeta?: unknown;
|
|
291
|
+
fulfilledMeta?: unknown;
|
|
292
|
+
rejectedMeta?: unknown;
|
|
293
|
+
}>;
|
|
96
294
|
export declare const createEntity: import("@reduxjs/toolkit").AsyncThunk<{
|
|
97
295
|
data: any;
|
|
98
296
|
formData: AuthenticationListFormValues;
|
|
99
|
-
}, AuthenticationListFormValues, {
|
|
297
|
+
}, AuthenticationListFormValues, {
|
|
298
|
+
state?: unknown;
|
|
299
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
300
|
+
extra?: unknown;
|
|
301
|
+
rejectValue?: unknown;
|
|
302
|
+
serializedErrorType?: unknown;
|
|
303
|
+
pendingMeta?: unknown;
|
|
304
|
+
fulfilledMeta?: unknown;
|
|
305
|
+
rejectedMeta?: unknown;
|
|
306
|
+
}>;
|
|
100
307
|
interface verifyPACIAsyncParams {
|
|
101
308
|
onSuccess: () => void;
|
|
102
309
|
}
|
|
103
310
|
export declare const updateLeadIndividualAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
104
311
|
response: any;
|
|
105
312
|
formData: IndividualFormValues;
|
|
106
|
-
}, AsyncThunkParams<IndividualFormValues>, {
|
|
313
|
+
}, AsyncThunkParams<IndividualFormValues>, {
|
|
314
|
+
state?: unknown;
|
|
315
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
316
|
+
extra?: unknown;
|
|
317
|
+
rejectValue?: unknown;
|
|
318
|
+
serializedErrorType?: unknown;
|
|
319
|
+
pendingMeta?: unknown;
|
|
320
|
+
fulfilledMeta?: unknown;
|
|
321
|
+
rejectedMeta?: unknown;
|
|
322
|
+
}>;
|
|
107
323
|
export declare const updateLeadBusinessDataAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
108
324
|
response: any;
|
|
109
325
|
formData: BusinessDataFormValues;
|
|
110
|
-
}, AsyncThunkParams<BusinessDataFormValues>, {
|
|
111
|
-
|
|
112
|
-
|
|
326
|
+
}, AsyncThunkParams<BusinessDataFormValues>, {
|
|
327
|
+
state?: unknown;
|
|
328
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
329
|
+
extra?: unknown;
|
|
330
|
+
rejectValue?: unknown;
|
|
331
|
+
serializedErrorType?: unknown;
|
|
332
|
+
pendingMeta?: unknown;
|
|
333
|
+
fulfilledMeta?: unknown;
|
|
334
|
+
rejectedMeta?: unknown;
|
|
335
|
+
}>;
|
|
336
|
+
export declare const confirmInfo: import("@reduxjs/toolkit").AsyncThunk<void, AuthenticationListFormValues & AuthMerchantFormValues, {
|
|
337
|
+
state?: unknown;
|
|
338
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
339
|
+
extra?: unknown;
|
|
340
|
+
rejectValue?: unknown;
|
|
341
|
+
serializedErrorType?: unknown;
|
|
342
|
+
pendingMeta?: unknown;
|
|
343
|
+
fulfilledMeta?: unknown;
|
|
344
|
+
rejectedMeta?: unknown;
|
|
345
|
+
}>;
|
|
346
|
+
export declare const onCloseCompleteAsync: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
347
|
+
state?: unknown;
|
|
348
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
349
|
+
extra?: unknown;
|
|
350
|
+
rejectValue?: unknown;
|
|
351
|
+
serializedErrorType?: unknown;
|
|
352
|
+
pendingMeta?: unknown;
|
|
353
|
+
fulfilledMeta?: unknown;
|
|
354
|
+
rejectedMeta?: unknown;
|
|
355
|
+
}>;
|
|
113
356
|
interface ResponseData {
|
|
114
357
|
responseData?: Record<string, any>;
|
|
115
358
|
}
|
|
@@ -150,7 +393,7 @@ export declare const connectSlice: import("@reduxjs/toolkit").Slice<ConnectExpre
|
|
|
150
393
|
resetStore: (state: ConnectExpressState) => void;
|
|
151
394
|
resetIndividualScreen: (state: ConnectExpressState) => void;
|
|
152
395
|
}, "connectExpress/store">;
|
|
153
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
396
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/stopLoader">, setIsLeadIdPassed: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "connectExpress/store/setIsLeadIdPassed">, resetMobileScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, "connectExpress/store/resetMobileScreen">, resetOTPValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetOTPValue">, resetNIDScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetNIDScreen">, resetCivilScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetCivilScreen">, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetStore">, setError: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "connectExpress/store/setError">, setLeadId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "connectExpress/store/setLeadId">, setShowBoard: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "connectExpress/store/setShowBoard">, resetIndividualScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetIndividualScreen">, setDefaultCountryCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, "connectExpress/store/setDefaultCountryCode">, storeIsStartFromBusinessCountry: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "connectExpress/store/storeIsStartFromBusinessCountry">, resetAuthenticationScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetAuthenticationScreen">;
|
|
154
397
|
declare const _default: import("redux").Reducer<ConnectExpressState, import("redux").AnyAction>;
|
|
155
398
|
export default _default;
|
|
156
399
|
export declare const connectExpressSelector: (state: RootState) => ConnectExpressState;
|
|
@@ -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]) {
|
|
@@ -216,20 +216,22 @@ export var retrieveAuthenticationListAsync = createAsyncThunk('connectExpress/re
|
|
|
216
216
|
export var getMerchantListAsync = createAsyncThunk('connectExpress/getMerchantListAsync', function (_a, thunkApi) {
|
|
217
217
|
var brandInfo = _a.brandInfo, entityInfo = _a.entityInfo;
|
|
218
218
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
219
|
-
var settings, payload, merchants, list;
|
|
220
|
-
|
|
221
|
-
|
|
219
|
+
var _b, settings, connectExpress, platforms, payload, merchants, list;
|
|
220
|
+
var _c, _d, _e;
|
|
221
|
+
return __generator(this, function (_f) {
|
|
222
|
+
switch (_f.label) {
|
|
222
223
|
case 0:
|
|
223
|
-
|
|
224
|
+
_b = thunkApi.getState(), settings = _b.settings, connectExpress = _b.connectExpress;
|
|
225
|
+
platforms = (_e = (_d = (_c = connectExpress.data.responseData) === null || _c === void 0 ? void 0 : _c.leadData) === null || _d === void 0 ? void 0 : _d.platforms) !== null && _e !== void 0 ? _e : settings.data.appConfig.platforms;
|
|
224
226
|
payload = {
|
|
225
227
|
business_entity_id: (entityInfo === null || entityInfo === void 0 ? void 0 : entityInfo.id) || '',
|
|
226
228
|
brand_id: (brandInfo === null || brandInfo === void 0 ? void 0 : brandInfo.id) || '',
|
|
227
229
|
create_if_not_present: true,
|
|
228
|
-
platforms:
|
|
230
|
+
platforms: platforms
|
|
229
231
|
};
|
|
230
232
|
return [4, API.entityService.getMerchantListUsingEntityId(payload)];
|
|
231
233
|
case 1:
|
|
232
|
-
merchants = (
|
|
234
|
+
merchants = (_f.sent()).merchants;
|
|
233
235
|
list = merchants || [];
|
|
234
236
|
if ((list === null || list === void 0 ? void 0 : list.length) > 1) {
|
|
235
237
|
thunkApi.dispatch(handleNextScreenStep('CONNECT_EXPRESS_AUTH_MERCHANT_LIST_STEP'));
|
|
@@ -408,7 +410,7 @@ export var createCivilIdAuthAsync = createAsyncThunk('connectExpress/createCivil
|
|
|
408
410
|
});
|
|
409
411
|
}); });
|
|
410
412
|
export var verifyMobileOtpAsync = createAsyncThunk('connectExpress/verifyMobileOtpAsync', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
411
|
-
var _a, settings, connectExpress, _b, responseData, leadId, isLeadIdPassed, mobileData, _c, auth_token, device_token, service_name, _d, scope, redirectUrl, authData, isScopeAuthentication, bi,
|
|
413
|
+
var _a, settings, connectExpress, _b, responseData, leadId, isLeadIdPassed, mobileData, _c, auth_token, device_token, service_name, _d, scope, redirectUrl, authData, isScopeAuthentication, bi, isDataHasIndividualOnly, payload, data, authId, urlQueryStart, _e, brandList, entityList, isKuwait, next;
|
|
412
414
|
var _f, _g;
|
|
413
415
|
return __generator(this, function (_h) {
|
|
414
416
|
switch (_h.label) {
|
|
@@ -421,7 +423,7 @@ export var verifyMobileOtpAsync = createAsyncThunk('connectExpress/verifyMobileO
|
|
|
421
423
|
_d = settings.data.appConfig, scope = _d.scope, redirectUrl = _d.redirectUrl, authData = _d.data;
|
|
422
424
|
isScopeAuthentication = scope === SCOPE_AUTH;
|
|
423
425
|
bi = settings.data.deviceInfo.browser.browser_id;
|
|
424
|
-
|
|
426
|
+
isDataHasIndividualOnly = (authData === null || authData === void 0 ? void 0 : authData.length) === 1 && authData.includes('individual');
|
|
425
427
|
payload = {
|
|
426
428
|
auth_token: auth_token,
|
|
427
429
|
lead_id: leadId,
|
|
@@ -440,7 +442,7 @@ export var verifyMobileOtpAsync = createAsyncThunk('connectExpress/verifyMobileO
|
|
|
440
442
|
(_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, params);
|
|
441
443
|
authId = data.auth.id;
|
|
442
444
|
thunkApi.dispatch(storeAuthId(authId));
|
|
443
|
-
if (isScopeAuthentication && !data.new_user &&
|
|
445
|
+
if (isScopeAuthentication && !data.new_user && isDataHasIndividualOnly && authId) {
|
|
444
446
|
if (settings.data.appConfig.mode === 'popup') {
|
|
445
447
|
settings.data.appConfig.onFlowCompleted({ auth_id: authId, bi: bi });
|
|
446
448
|
thunkApi.dispatch(handleOpen(false));
|
|
@@ -452,7 +454,7 @@ export var verifyMobileOtpAsync = createAsyncThunk('connectExpress/verifyMobileO
|
|
|
452
454
|
return [2, data];
|
|
453
455
|
}
|
|
454
456
|
}
|
|
455
|
-
if (!(isScopeAuthentication && !data.new_user &&
|
|
457
|
+
if (!(isScopeAuthentication && !data.new_user && !isDataHasIndividualOnly)) return [3, 3];
|
|
456
458
|
return [4, thunkApi.dispatch(retrieveAuthenticationListAsync({ individualId: data.individual_id })).unwrap()];
|
|
457
459
|
case 2:
|
|
458
460
|
_e = _h.sent(), brandList = _e.brandList, entityList = _e.entityList;
|
|
@@ -474,7 +476,7 @@ export var verifyMobileOtpAsync = createAsyncThunk('connectExpress/verifyMobileO
|
|
|
474
476
|
});
|
|
475
477
|
}); });
|
|
476
478
|
export var verifyNIDOtpAsync = createAsyncThunk('connectExpress/verifyNIDOtpAsync', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
477
|
-
var _a, settings, connectExpress, _b, responseData, leadId, isLeadIdPassed, nidData, _c, auth_token, device_token, service_name, _d, scope, redirectUrl, authData, isScopeAuthentication, bi,
|
|
479
|
+
var _a, settings, connectExpress, _b, responseData, leadId, isLeadIdPassed, nidData, _c, auth_token, device_token, service_name, _d, scope, redirectUrl, authData, isScopeAuthentication, bi, isDataHasIndividualOnly, payload, data, authId, urlQueryStart, _e, brandList, entityList, stepName, needToCollectMoreInfo, creatingAccount;
|
|
478
480
|
var _f, _g;
|
|
479
481
|
return __generator(this, function (_h) {
|
|
480
482
|
switch (_h.label) {
|
|
@@ -487,7 +489,7 @@ export var verifyNIDOtpAsync = createAsyncThunk('connectExpress/verifyNIDOtpAsyn
|
|
|
487
489
|
_d = settings.data.appConfig, scope = _d.scope, redirectUrl = _d.redirectUrl, authData = _d.data;
|
|
488
490
|
isScopeAuthentication = scope === SCOPE_AUTH;
|
|
489
491
|
bi = settings.data.deviceInfo.browser.browser_id;
|
|
490
|
-
|
|
492
|
+
isDataHasIndividualOnly = (authData === null || authData === void 0 ? void 0 : authData.length) === 1 && authData.includes('individual');
|
|
491
493
|
payload = {
|
|
492
494
|
auth_token: auth_token,
|
|
493
495
|
lead_id: leadId,
|
|
@@ -506,7 +508,7 @@ export var verifyNIDOtpAsync = createAsyncThunk('connectExpress/verifyNIDOtpAsyn
|
|
|
506
508
|
(_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, params);
|
|
507
509
|
authId = data.auth.id;
|
|
508
510
|
thunkApi.dispatch(storeAuthId(authId));
|
|
509
|
-
if (isScopeAuthentication && !data.new_user &&
|
|
511
|
+
if (isScopeAuthentication && !data.new_user && isDataHasIndividualOnly && authId) {
|
|
510
512
|
if (settings.data.appConfig.mode === 'popup') {
|
|
511
513
|
settings.data.appConfig.onFlowCompleted({ auth_id: authId, bi: bi });
|
|
512
514
|
thunkApi.dispatch(handleOpen(false));
|
|
@@ -518,7 +520,7 @@ export var verifyNIDOtpAsync = createAsyncThunk('connectExpress/verifyNIDOtpAsyn
|
|
|
518
520
|
return [2, data];
|
|
519
521
|
}
|
|
520
522
|
}
|
|
521
|
-
if (!(isScopeAuthentication && !data.new_user &&
|
|
523
|
+
if (!(isScopeAuthentication && !data.new_user && !isDataHasIndividualOnly)) return [3, 3];
|
|
522
524
|
return [4, thunkApi.dispatch(retrieveAuthenticationListAsync({ individualId: data.individual_id })).unwrap()];
|
|
523
525
|
case 2:
|
|
524
526
|
_e = _h.sent(), brandList = _e.brandList, entityList = _e.entityList;
|
|
@@ -544,7 +546,7 @@ export var verifyNIDOtpAsync = createAsyncThunk('connectExpress/verifyNIDOtpAsyn
|
|
|
544
546
|
});
|
|
545
547
|
}); });
|
|
546
548
|
export var verifyPACIAsync = createAsyncThunk('connectExpress/verifyPACIAsync', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
547
|
-
var _a, settings, connectExpress, authData, _b, scope, redirectUrl, authConfigData, isScopeAuthentication, bi,
|
|
549
|
+
var _a, settings, connectExpress, authData, _b, scope, redirectUrl, authConfigData, isScopeAuthentication, bi, isDataHasIndividualOnly, expiry, interval, maxCalls, count, data, isSuccess, authId, urlQueryStart, _c, brandList, entityList, stepName, needToCollectMoreInfo, creatingAccount;
|
|
548
550
|
var _d, _e, _f;
|
|
549
551
|
return __generator(this, function (_g) {
|
|
550
552
|
switch (_g.label) {
|
|
@@ -554,7 +556,7 @@ export var verifyPACIAsync = createAsyncThunk('connectExpress/verifyPACIAsync',
|
|
|
554
556
|
_b = settings.data.appConfig, scope = _b.scope, redirectUrl = _b.redirectUrl, authConfigData = _b.data;
|
|
555
557
|
isScopeAuthentication = scope === SCOPE_AUTH;
|
|
556
558
|
bi = settings.data.deviceInfo.browser.browser_id;
|
|
557
|
-
|
|
559
|
+
isDataHasIndividualOnly = (authConfigData === null || authConfigData === void 0 ? void 0 : authConfigData.length) === 1 && authData.includes('individual');
|
|
558
560
|
expiry = (authData === null || authData === void 0 ? void 0 : authData.expiry) || 120;
|
|
559
561
|
interval = 3;
|
|
560
562
|
maxCalls = Math.floor(expiry / interval);
|
|
@@ -572,7 +574,7 @@ export var verifyPACIAsync = createAsyncThunk('connectExpress/verifyPACIAsync',
|
|
|
572
574
|
if (!isSuccess) return [3, 6];
|
|
573
575
|
authId = data.auth.id;
|
|
574
576
|
thunkApi.dispatch(storeAuthId(authId));
|
|
575
|
-
if (isScopeAuthentication && !data.new_user &&
|
|
577
|
+
if (isScopeAuthentication && !data.new_user && isDataHasIndividualOnly && authId) {
|
|
576
578
|
if (settings.data.appConfig.mode === 'popup') {
|
|
577
579
|
settings.data.appConfig.onFlowCompleted({ auth_id: authId, bi: bi });
|
|
578
580
|
thunkApi.dispatch(handleOpen(false));
|
|
@@ -584,7 +586,7 @@ export var verifyPACIAsync = createAsyncThunk('connectExpress/verifyPACIAsync',
|
|
|
584
586
|
return [2, data];
|
|
585
587
|
}
|
|
586
588
|
}
|
|
587
|
-
if (!(isScopeAuthentication && !data.new_user &&
|
|
589
|
+
if (!(isScopeAuthentication && !data.new_user && !isDataHasIndividualOnly)) return [3, 4];
|
|
588
590
|
return [4, thunkApi.dispatch(retrieveAuthenticationListAsync({ individualId: data.individual_id })).unwrap()];
|
|
589
591
|
case 3:
|
|
590
592
|
_c = _g.sent(), brandList = _c.brandList, entityList = _c.entityList;
|
|
@@ -859,37 +861,38 @@ export var checkBrandNameAvailabilityAsync = createAsyncThunk('connectExpress/ch
|
|
|
859
861
|
});
|
|
860
862
|
});
|
|
861
863
|
export var createAccountAsync = createAsyncThunk('connectExpress/createAccountAsync', function (_, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
862
|
-
var _a, connectExpress, settings, _b, responseData, showBoard, _c, postURL, scope, body, data, leadData, board_id, board_info_id, _d, boardInfo, boardData;
|
|
863
|
-
var _e, _f, _g, _h, _j, _k, _l, _m;
|
|
864
|
-
return __generator(this, function (
|
|
865
|
-
switch (
|
|
864
|
+
var _a, connectExpress, settings, _b, responseData, showBoard, _c, postURL, scope, platforms, body, data, leadData, board_id, board_info_id, _d, boardInfo, boardData;
|
|
865
|
+
var _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
866
|
+
return __generator(this, function (_q) {
|
|
867
|
+
switch (_q.label) {
|
|
866
868
|
case 0:
|
|
867
869
|
_a = thunkApi.getState(), connectExpress = _a.connectExpress, settings = _a.settings;
|
|
868
870
|
_b = connectExpress.data, responseData = _b.responseData, showBoard = _b.showBoard;
|
|
869
871
|
_c = settings.data.appConfig, postURL = _c.postURL, scope = _c.scope;
|
|
872
|
+
platforms = (_f = (_e = responseData === null || responseData === void 0 ? void 0 : responseData.leadData) === null || _e === void 0 ? void 0 : _e.platforms) !== null && _f !== void 0 ? _f : settings.data.appConfig.platforms;
|
|
870
873
|
body = {
|
|
871
874
|
lead_id: responseData === null || responseData === void 0 ? void 0 : responseData.leadData.id,
|
|
872
875
|
post_url: scope === SCOPE_AUTH ? '' : postURL || '',
|
|
873
|
-
platforms:
|
|
876
|
+
platforms: platforms
|
|
874
877
|
};
|
|
875
878
|
return [4, API.accountService.expressCreateAccount(body)];
|
|
876
879
|
case 1:
|
|
877
|
-
data =
|
|
878
|
-
(
|
|
879
|
-
(
|
|
880
|
-
(
|
|
880
|
+
data = _q.sent();
|
|
881
|
+
(_h = (_g = settings.data.appConfig).onCreated) === null || _h === void 0 ? void 0 : _h.call(_g, data);
|
|
882
|
+
(_k = (_j = settings.data.appConfig).onFlowCompleted) === null || _k === void 0 ? void 0 : _k.call(_j, data);
|
|
883
|
+
(_m = (_l = settings.data.appConfig).onStepCompleted) === null || _m === void 0 ? void 0 : _m.call(_l, settings.data.activeScreen.name, data);
|
|
881
884
|
if (!showBoard) return [3, 4];
|
|
882
885
|
return [4, thunkApi.dispatch(getLeadByIdAsync(data.lead.id)).unwrap()];
|
|
883
886
|
case 2:
|
|
884
|
-
leadData = (
|
|
885
|
-
board_id = (
|
|
886
|
-
board_info_id = (
|
|
887
|
+
leadData = (_q.sent()).data;
|
|
888
|
+
board_id = (_o = data.board_id) !== null && _o !== void 0 ? _o : leadData.board_id;
|
|
889
|
+
board_info_id = (_p = data.board_info_id) !== null && _p !== void 0 ? _p : leadData.board_info_id;
|
|
887
890
|
return [4, Promise.all([
|
|
888
891
|
API.boardService.retrieveBoardInfo({ id: board_id, infoId: board_info_id }),
|
|
889
892
|
API.boardService.retrieveBoardDetails(board_id)
|
|
890
893
|
])];
|
|
891
894
|
case 3:
|
|
892
|
-
_d =
|
|
895
|
+
_d = _q.sent(), boardInfo = _d[0], boardData = _d[1];
|
|
893
896
|
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
|
|
894
897
|
return [2, { boardInfo: boardInfo, boardData: boardData, account: data }];
|
|
895
898
|
case 4:
|