{"version":3,"sources":["static/images/close.svg","static/images/left-arrow.png","static/images/remove.png","static/images/View.png","static/images/hide.png","static/images/downloadIcon.png","static/images/noDataFound.png","static/images/checkGreen.png","static/images/download.png","static/images/generating.gif","static/images/down-arrow.png","static/images/view.svg","static/images/profile.png","static/images/transactionview.png","static/images/file-upload.svg","static/images/info.svg","static/images/orangeinfo.png","static/images/picture.png","containers/Checker/checker.constants.js","static/images/sidebarIcon/refundImg.png","static/images/grayinfo.png","static/images/skeletons/bar.gif","static/images/skeletons/line-big.gif","static/images/skeletons/line.gif","static/images/warning-icon.png","static/images/fc-logo-01.png","static/images/error.svg","static/images/sidebarIcon/onboardingImg.png","static/images/sidebarIcon/accessManagement.png","static/images/sidebarIcon/dashBoard.png","static/images/sidebarIcon/manageAccount.png","static/images/sidebarIcon/manageBin.png","static/images/sidebarIcon/myAccount.png","static/images/wallet.png","static/images/fcloader.gif","static/images/filter.png","static/images/up-arrow.svg","static/images/down-arrow.svg","static/images/Cards/amex.png","static/images/Cards/defaultLogo.png","static/images/Cards/mastercard.png","static/images/Cards/rupay.png","static/images/Cards/visa.png","static/images/SuccessRate.svg","static/images/blackinfo.png","static/images/calender.png","static/images/copy-icon.svg","static/images/delete.png","static/images/deleteIcon.svg","static/images/docIcon.svg","static/images/fc-logo-03.png","static/images/file.png","static/images/forgotimg.png","static/images/gmv.svg","static/images/green-tick-icon.png","static/images/happyFace.svg","static/images/loginimg.png","static/images/otp-img.png","static/images/paymentInfo.png","static/images/resetimg.png","static/images/search.svg","static/images/tick.png","static/images/tranx.svg","static/images/tranxCount.svg","static/images/unexpected-error.png","static/images/upload.svg","static/images/grey-tick-icon.png","static/images/test1.png","static/images/test2.png","containers/TerminalOnboard/models/BulkUpload/Terminal_ID_Update_Sample_Sheet.xlsx","static/images sync /^/.//.*$","static/images/CardTypes.png","static/images/CardTypesTwo.png","static/images/Edit.png","static/images/NetBanking.png","static/images/access.png","static/images/action.png","static/images/add.png","static/images/alert-triangle.svg","static/images/amex.png","static/images/axis-logo.png","static/images/axisloader.gif","static/images/axisloader_grey.gif","static/images/barIcon.svg","static/images/billDesk.png","static/images/ccavenue.png","static/images/check.png","static/images/copiedIcon.png","static/images/copy.png","static/images/cyber.png","static/images/drag.svg","static/images/duplicate.svg","static/images/failure.png","static/images/fc-logo-02.png","static/images/fc-logo-full.png","static/images/fcloader_grey.gif","static/images/fiserv.png","static/images/graphIcon.svg","static/images/hdfc.png","static/images/mastercard.png","static/images/migs.png","static/images/onboarding.png","static/images/payu.png","static/images/payuPg.png","static/images/refund.png","static/images/retryMerchantIcon.png","static/images/retryingMerchantIcon.png","static/images/rupay.png","static/images/share.png","static/images/sidebarIcon/profile.png","static/images/skeletons/pie.gif","static/images/visa.png","static/images/warning.png","redux/common/auth/auth.constants.js","redux/common/auth/auth.actions.js","redux/common/staticData/staticData.actions.js","redux/common/staticData/staticData.constants.js","components/Header/Header.jsx","components/Header/index.js","utils/constants/commonValues.js","utils/helperMethods.js","utils/constants/menuConstant.js","components/Sidebar/Sidebar.jsx","components/Sidebar/index.js","components/AuthRoute/AuthRoute.js","components/AuthRoute/index.js","components/Card/Card.jsx","components/Card/index.js","components/Alert/Alert.jsx","components/Alert/index.js","components/ErrorCard/ErrorCard.jsx","components/ErrorCard/index.js","components/Loader/Loader.jsx","components/Loader/index.js","components/DatePicker/DatePicker.jsx","components/DatePicker/index.js","components/TimePicker/TimePicker.jsx","components/TimePicker/index.js","components/FakeLoader/index.jsx","components/Table/Pagination.jsx","components/Table/Table.jsx","components/AuthResource/AuthResource.jsx","components/AuthResource/index.js","components/Table/FiltersSection.jsx","components/Table/TableWrap.jsx","components/Table/index.js","components/Popup/Popup.jsx","components/Popup/index.js","components/Modal/Modal.jsx","components/Modal/index.js","components/Overlay/Overlay.jsx","components/Overlay/index.js","components/Timeline/Timeline.jsx","components/Timeline/index.js","redux/common/loader/loader.constants.js","redux/common/loader/loader.actions.js","utils/validators.js","components/TableFilters/validator.js","components/TableFilters/TableFilters.jsx","components/TableFilters/index.js","containers/UserManagement/redux/userManagement.constants.js","containers/UserManagement/redux/userManagement.actions.js","utils/constants/toastMessages.js","components/CreateUserForm/validator.js","components/CreateUserForm/CreateUserForm.jsx","components/CreateUserForm/index.js","containers/RoleManagement/redux/roleManagement.constants.js","containers/RoleManagement/redux/roleManagement.actions.js","components/RoleViewEditForm/validator.js","components/RoleViewEditForm/RoleViewEditForm.jsx","components/CreateRoleForm/validator.js","components/CreateRoleForm/CreateRoleForm.jsx","components/CreateRoleForm/index.js","components/Accordion/Accordion.js","components/Accordion/index.js","containers/MerchantOnboard/redux/merchantOnBoard.constants.js","containers/MerchantOnboard/redux/merchantOnBoard.actions.js","containers/MerchantOnboard/redux/editMerchant/editMerchant.actions.js","containers/MerchantOnboard/redux/editMerchant/editMerchant.constants.js","components/MerchantTab/AddRole.jsx","components/MerchantTab/validator.js","components/MerchantTab/constant.js","components/MerchantTab/MerchantTab.jsx","components/MerchantTab/index.js","components/IntegrationTab/validator.js","components/IntegrationTab/dummyData.js","components/IntegrationTab/IntegrationTab.jsx","components/IntegrationTab/index.js","components/PayModeTab/validator.js","components/PayModeTab/PayModeTab.jsx","components/PayModeTab/index.js","components/AddAggregator/validator.js","components/AddAggregator/AddAggregator.jsx","components/AddAggregator/index.js","components/AddMLE/validator.js","components/AddMLE/AddMLE.jsx","components/AddMLE/index.js","components/AddFranchise/validator.js","components/AddFranchise/AddFranchise.jsx","components/AddFranchise/index.js","containers/MerchantOnboard/redux/pgConfig/pgConfig.constants.js","containers/MerchantOnboard/redux/pgConfig/pgConfig.actions.js","components/PGConfigTab/DummyData.js","components/PGConfigTab/DetailsForm.jsx","components/AccordionFields/AccordionFields.jsx","components/PGConfigTab/ConfigForm.jsx","components/PGConfigTab/validator.js","components/PGConfigTab/ConfigDetails.jsx","components/PGConfigTab/PGConfigTab.jsx","components/PGConfigTab/index.js","components/RoutingTab/validator.js","components/RoutingTab/RoutingTab.jsx","components/RoutingTab/index.js","components/SurchargeTab/CardSurchargeSlab.jsx","components/SurchargeTab/UpiSurchargeSlab.jsx","components/SurchargeTab/NBSurchargeSlab.jsx","components/SurchargeTab/validator.js","components/SurchargeTab/SurchargeTab.jsx","components/SurchargeTab/index.js","components/NotificationTab/validator.js","components/NotificationTab/NotificationTab.jsx","components/NotificationTab/index.js","components/CustomSelect/CustomSelect.js","components/CustomSelect/index.js","components/NetBankCard/NetBankCard.js","components/BreadCrumb/BreadCrumb.jsx","components/BreadCrumb/index.js","components/UserEditViewForm/validator.js","components/UserEditViewForm/UserEditViewForm.js","components/UserEditViewForm/index.js","containers/RoleVerification/redux/roleVerification.constants.js","containers/RoleVerification/redux/roleVerification.actions.js","components/UserVerificationForm/validator.js","components/UserVerificationForm/UserVerificationForm.js","components/UserVerificationForm/index.js","components/Table/table.constants.js","components/AlertModal/AlertModal.jsx","components/AlertModal/index.js","containers/Refund/redux/refund.constants.js","containers/Refund/redux/refund.actions.js","components/RefundForm/validator.js","components/RefundForm/RefundForm.js","components/RefundForm/index.js","components/form-elements/button/index.jsx","components/form-elements/input/index.jsx","components/form-elements/radio/index.jsx","components/form-elements/select/index.jsx","components/form-elements/checkbox/index.jsx","components/form-elements/switch/index.jsx","components/form-elements/textarea/index.jsx","hooks/usePreviousRef.js","components/form-elements/otpInput/index.jsx","components/form-elements/inputTags/index.jsx","components/form-elements/searchSelect/index.jsx","components/form-elements/UploadElement/index.jsx","components/form-elements/MultiUpload/index.jsx","components/Onboarding/Mle/mle.constants.js","components/form-elements/MultiUploadUrlHandling/index.jsx","components/form-elements/LabelInput/index.jsx","components/form-elements/multiselect/index.js","components/form-elements/searchSelect2/index.jsx","components/ChargebackComponents/constant.js","components/ChargebackComponents/ChargeBackAccordion.jsx","containers/Chargeback/redux/chargeback.constants.js","containers/Chargeback/redux/chargeback.actions.js","components/ChargebackComponents/FindTransactionForm.jsx","components/ChargebackComponents/validators.js","components/ChargebackComponents/RaiseChargebackForm.jsx","components/ChargebackComponents/RaiseChargeBackComponent.jsx","components/TransactionForm/TransactionForm.js","components/TransactionForm/index.js","components/Table/Checkers.jsx","containers/CommProfile/redux/commProfile.constants.js","containers/CommProfile/redux/commProfile.actions.js","components/EditViewComm/validator.js","components/EditViewComm/EditViewComm.jsx","components/EditViewComm/index.js","containers/PaymentLink/redux/paymentLink.constants.js","containers/PaymentLink/redux/paymentLink.actions.js","components/ViewEditPaymentLink/validator.js","components/ViewEditPaymentLink/ViewEditPaymentLink.jsx","components/ViewEditPaymentLink/index.js","components/AddComm/validator.js","components/AddComm/AddComm.jsx","components/AddComm/index.js","containers/ManageBin/redux/manageBin.constants.js","containers/ManageBin/redux/manageBin.actions.js","components/EditBin/validator.js","components/EditBin/EditBin.jsx","components/EditBin/index.js","containers/ManageBin/SearchBar.jsx","containers/ManageBin/SearchBinHeader.jsx","components/BinSearch/BinSearch.js","components/BinSearch/index.js","components/RoleVerificationForm/validator.js","components/RoleVerificationForm/RoleVerificationForm.js","components/RoleVerificationForm/index.js","hooks/customHooks.js","containers/Transactions/redux/transactions.actions.js","containers/Transactions/redux/transactions.constants.js","components/ViewDownloadStatus/ViewDownloadStatus.js","components/ViewDownloadStatus/index.js","components/UserMakerView/UserMakerView.js","components/UserMakerView/index.js","components/RoleMakerView/RoleMakerView.js","components/CreatePaymentLink/validator.js","components/CreatePaymentLink/CreatePaymentLink.jsx","components/CreatePaymentLink/index.js","containers/PaymentLink/models/paySummary.js","components/ViewPayments/ViewPayments.js","components/ViewPayments/index.js","components/ViewAuditTrails/EventData.js","components/ViewAuditTrails/ViewAuditTrails.js","components/ViewAuditTrails/index.js","hooks/useOtpTimes.js","components/Otp/validator.js","components/Otp/Otp.js","components/Otp/index.js","components/GraphSwitch/GraphSwitch.jsx","components/GraphSwitch/index.js","components/Charts/Charts.jsx","components/Charts/index.js","components/CardWithTab/CardWithTab.jsx","components/CardWithTab/index.js","components/TableSearch/index.js","components/SuccessCard/StatusTable.jsx","components/SuccessCard/SuccessCard.jsx","components/SuccessCard/index.js","components/FailureCard/FailureCard.jsx","components/FailureCard/index.js","components/CustomDate/CustomDate.js","components/CustomDate/index.js","components/ChartNoData/ChartNoData.jsx","components/ChartNoData/index.js","components/SettlementTab/validator.js","components/SettlementTab/constants.js","components/SettlementTab/MerchantReportModal.jsx","components/SettlementTab/TermsConditions.jsx","utils/constants/browserStorageFieldNames.js","utils/API/apiResponseKeys.js","utils/fetchWrappers.js","utils/API/apiUrls.js","utils/API/apiStatusCodes.js","components/SettlementTab/SettlementTab.jsx","components/SettlementTab/index.js","components/SettlementForm/SettlementForm.js","components/SettlementForm/index.js","containers/MerchantAdjustments/redux/adjustments.constants.js","containers/MerchantAdjustments/redux/adjustments.actions.js","components/CreateAdjustmentForm/validator.js","components/CreateAdjustmentForm/constants.js","components/CreateAdjustmentForm/adjustmentForm.jsx","components/CreateAdjustmentForm/index.js","components/ViewDownloadGeneric/ViewDownloadGeneric.js","components/ViewDownloadGeneric/index.js","components/ViewAdjustment/adjustment.js","components/ViewAdjustment/index.js","components/login-flow-components/ImageSplitView/ImageSplitView.jsx","components/login-flow-components/ImageSplitView/index.js","components/TermPicker/TermPicker.jsx","components/TermPicker/index.js","components/KYCTab/contants.js","components/KYCTab/KycTab.jsx","components/KYCTab/index.js","components/GetTemplateFields/GetTemplateFields.jsx","components/GetTemplateFields/index.js","components/PageTable/PageTableMessage.jsx","components/PageTable/TableContent.jsx","hooks/useCustomPagination.js","components/PageTable/TablePagination.jsx","components/PageTable/PageFilter.jsx","components/PageTable/MainTable.jsx","components/PageTable/index.jsx","components/PageTable/TableHead.jsx","components/ConditionalComponent/index.jsx","components/Description/DescriptionItems.jsx","components/Description/Description.jsx","components/Description/index.js","components/DownloadFileGeneric/DownloadFileGeneric.jsx","components/DownloadFileGeneric/index.js","components/DownloadFileGeneric/validator.js","containers/Settlement/redux/settlement.constants.js","containers/Settlement/redux/settlement.actions.js","components/OdsCard/index.js","components/TerminalTab/AddRole.jsx","containers/TerminalOnboard/redux/TIDOnBoard.constants.js","containers/TerminalOnboard/redux/TIDOnBoard.actions.js","components/TerminalTab/validator.js","components/TerminalTab/helper.js","components/TerminalTab/constants.js","components/TerminalTab/TerminalTab.jsx","components/TerminalTab/index.js","components/Timelinev1/Timeline.jsx","components/Timelinev1/index.js","components/QRCodeWithCopyDownload/index.js","components/PaymentPageTab/constants.js","containers/PaymentPage/redux/paymentPage.constants.js","containers/PaymentPage/redux/paymentPage.actions.js","components/PaymentPageTab/validator.js","components/DateTimePicker/DateTimePicker.jsx","components/PaymentPageTab/PreviewModal.jsx","components/PaymentPageTab/RenderUserDefineFields.jsx","components/PaymentPageTab/PaymentPageTab.jsx","components/PaymentPageTab/index.js","components/ViewEditPaymentPage/validator.js","components/ViewEditPaymentPage/ViewEditPaymentPage.jsx","components/ViewEditPaymentPage/index.js","containers/PaymentPage/models/PaySummery.js","components/ViewPaymentsPage/ViewPayments.js","components/ViewPaymentsPage/index.js","layouts/HeaderLayout/HeaderLayout.js","layouts/HeaderLayout/index.js","layouts/SidebarLayout/SidebarLayout.js","layouts/SidebarLayout/index.js","containers/Login/validator.js","containers/Login/Login.js","containers/Login/index.js","containers/ForgotPassword/validator.js","containers/ForgotPassword/ForgotPassword.js","containers/ForgotPassword/index.js","containers/SetPassword/validator.js","containers/SetPassword/SetPassword.js","containers/SetPassword/index.js","containers/MerchantOnboard/timelineSteps.js","containers/MerchantOnboard/CreateMerchant.jsx","containers/MerchantOnboard/EditViewMerchant.jsx","containers/MerchantOnboard/UserActionsMob.jsx","containers/MerchantOnboard/DraftAction.jsx","containers/MerchantOnboard/InactiveAction.jsx","containers/MerchantOnboard/BDInprogressAction.jsx","containers/MerchantOnboard/MerchantOnboard.js","containers/MerchantOnboard/index.js","containers/RoleManagement/PendingVerification.js","containers/RoleManagement/RoleManagement.js","containers/RoleManagement/index.js","containers/UserManagement/UserManagement.js","containers/UserManagement/index.js","containers/UserVerification/redux/userVerification.constants.js","containers/UserVerification/redux/userVerification.actions.js","containers/UserVerification/UserVerification.js","containers/UserVerification/index.js","containers/Transactions/DownloadFile.jsx","containers/Transactions/Transactions.js","containers/Transactions/constant.js","containers/Transactions/index.js","containers/PaymentLink/DownloadFile.jsx","containers/PaymentLink/PaymentLink.js","containers/PaymentLink/index.js","containers/AuditTrail/redux/auditTrail.constants.js","containers/AuditTrail/redux/auditTrail.actions.js","containers/AuditTrail/AuditTrail.js","containers/AuditTrail/index.js","containers/Refund/Refund.js","containers/Refund/index.js","containers/CommProfile/ComTabs.jsx","containers/CommProfile/CommProfile.js","containers/CommProfile/index.js","containers/ManageBin/BinHeader.jsx","components/BinFormatting/BinFormatting.js","components/BinFormatting/index.js","containers/ManageBin/ManageBin.js","containers/ManageBin/index.js","containers/RoleVerification/RoleVerification.js","containers/RoleVerification/index.js","containers/Profile/redux/profile.constants.js","containers/Profile/redux/profile.actions.js","containers/Profile/Profile.js","containers/Profile/index.js","containers/Dashboard/redux/dashboard.constants.js","containers/Dashboard/redux/dashboard.actions.js","containers/Dashboard/Dashboard.js","containers/Dashboard/index.js","containers/ErrorPage/ErrorPage.js","containers/ErrorPage/index.js","containers/Settlement/DownloadFile.jsx","containers/Settlement/constant.js","containers/Settlement/DateFilter.js","containers/Settlement/CurrentDaySummary.js","containers/Settlement/Settlement.js","containers/Settlement/index.js","containers/checkoutCustom/validator.js","containers/checkoutCustom/constant.js","containers/checkoutCustom/redux/checkout.actions.js","containers/checkoutCustom/redux/checkout.constants.js","containers/checkoutCustom/checkout.js","containers/checkoutCustom/index.js","containers/MerchantAdjustments/DownloadFile.jsx","containers/MerchantAdjustments/MerchantAdjustments.js","containers/MerchantAdjustments/constant.js","containers/MerchantAdjustments/index.js","containers/BulkRefund/redux/bulkRefund.constants.js","containers/BulkRefund/redux/bulkRefund.actions.js","containers/BulkRefund/constant.js","containers/BulkRefund/DownloadPreFilledFileFilter.js","containers/BulkRefund/BulkRefundHeader.js","containers/BulkRefund/BulkRefundTable.js","containers/BulkRefund/BulkRefundFileView.js","containers/BulkRefund/BulkRefund.js","containers/BulkRefund/index.js","containers/MerchantOnboardStatus/constants.js","containers/MerchantOnboardStatus/redux/MerchantOnboardStatus.actions.js","containers/MerchantOnboardStatus/redux/MerchantOnboardStatus.constants.js","containers/MerchantOnboardStatus/MerchantOnboardStatusTable.js","containers/MerchantOnboardStatus/MerchantOnboardStatus.js","containers/MerchantOnboardStatus/index.js","containers/Invoice/constant.js","containers/Invoice/redux/invoice.constants.js","containers/Invoice/redux/invoice.actions.js","components/InvoicePaymentStatusChange/InvoicePaymentStatusChange.jsx","components/InvoicePaymentStatusChange/index.js","containers/Invoice/DownloadFile.jsx","containers/Invoice/InvoiceTable.js","containers/Invoice/Invoice.js","containers/Invoice/index.js","containers/BulkPaymentLink/redux/BulkPaymentLink.constants.js","containers/BulkPaymentLink/redux/BulkPaymentLink.actions.js","containers/BulkPaymentLink/DownloadPreFilledFileFilter.jsx","containers/BulkPaymentLink/BulkPaymentLinkHeader.jsx","containers/BulkPaymentLink/BulkPaymentLinkTable.jsx","containers/BulkPaymentLink/BulkPaymentLink.jsx","containers/BulkPaymentLink/index.js","containers/Maker/redux/maker.constants.js","containers/Maker/redux/maker.actions.js","components/MakerCheckerView/commonViews.js","components/MakerCheckerView/MerchantView.jsx","components/MakerCheckerView/IntegrationView.jsx","components/MakerCheckerView/PayModeView.jsx","components/MakerCheckerView/SettlementView.jsx","components/MakerCheckerView/SurchargeView.jsx","components/MakerCheckerView/KYCView.jsx","components/MakerCheckerView/PGConfigurationView.jsx","components/MakerCheckerView/RoutingView.jsx","components/MakerCheckerView/NotificationView.jsx","components/MakerCheckerView/OnBoardingView.jsx","components/MakerCheckerView/MakerDetailsView.jsx","components/MakerCheckerView/CheckerApprovalForm.jsx","components/MakerCheckerView/TerminalView.jsx","containers/Checker/CheckerView.jsx","containers/Maker/Maker.jsx","components/Onboarding/Mle/BusinessTab/ImageViewModal.jsx","components/MleMakerChecker/constant.js","components/Onboarding/Mle/BusinessTab/contants.js","components/Onboarding/Mle/UobTab/constant.js","components/Onboarding/Mle/BusinessTab/carouselImage/SliderContent.jsx","components/Onboarding/Mle/BusinessTab/carouselImage/Arrow.jsx","components/Onboarding/Mle/BusinessTab/carouselImage/Dots.jsx","components/Onboarding/Mle/BusinessTab/carouselImage/Slider.jsx","components/Onboarding/Mle/BusinessTab/MultiImageViewModal.jsx","mockApiWiseReqRes/mockapis/makerget.res.js","components/Onboarding/Mle/mle.utils.jsx","components/MleMakerChecker/MultiViewChecker.jsx","components/MleMakerChecker/mleMakerChecker.utils.jsx","components/MleMakerChecker/MerchantDetailsView.jsx","components/MleMakerChecker/RiskCheckerView.jsx","components/MleMakerChecker/OwnershipDetailsView.jsx","components/Onboarding/Mle/BusinessTab/MyTooltip.jsx","components/FileUploadField/FileUploadField.js","components/FileUploadField/index.jsx","components/MleMakerChecker/LegalInput.jsx","components/MleMakerChecker/MleCheckerApprovalForm.jsx","components/MleMakerChecker/UboDetailAccordian.jsx","components/MleMakerChecker/OwnershipDetailsAccordion.jsx","components/MleMakerChecker/BusinessDetailsAccordian.jsx","containers/MerchantLegalEntity/merchantLegalEntity.utils.js","containers/Maker/Maker.utils.js","components/Onboarding/Mle/mle.validation.js","components/Onboarding/Mle/BusinessTab/validator.js","components/Address/Address.js","components/Address/index.js","components/VerifyButton/VerifyButton.jsx","components/PanOcr/PanOcr.jsx","components/Onboarding/Mle/BusinessTab/MleInformation.jsx","containers/MerchantLegalEntity/redux/merchantLegalEntity.constants.js","containers/MerchantLegalEntity/redux/merchantLegalEntity.actions.js","components/Onboarding/Mle/BusinessTab/BusinessTab.jsx","components/Onboarding/Mle/BusinessTab/index.js","components/Onboarding/Mle/UobTab/UboActiveField.jsx","components/Onboarding/Mle/UobTab/UboInputFields.jsx","components/Onboarding/Mle/UobTab/UboInputs.jsx","components/Onboarding/Mle/UobTab/UboTab.validator.js","components/Onboarding/Mle/UobTab/UobTab.jsx","components/Onboarding/Mle/UobTab/index.js","components/Timelinev1/timelinev1.contants.js","containers/Maker/EditAndViewMaker.jsx","containers/Maker/MakerRoute.jsx","containers/Maker/index.js","containers/Checker/redux/checker.constants.js","containers/Checker/redux/checker.actions.js","containers/Checker/checker.utils.js","components/MleMakerChecker/RiskDetailsAccordian.jsx","containers/Checker/MleRequestedApprovalView.jsx","containers/Checker/Checker.jsx","containers/Checker/MleRequestedApprovalRoute.jsx","containers/Checker/index.js","containers/Mandate/redux/mandates.constant.js","containers/Mandate/redux/mandates.actions.js","containers/Mandate/constant.js","hooks/useInfiniteScroll.js","containers/Mandate/MandateUpdateForm.jsx","containers/Mandate/MandateSidePanel.jsx","containers/Mandate/MandateActions.js","containers/Mandate/Mandate.jsx","containers/Mandate/index.js","containers/Chargeback/ChargebackPage.jsx","components/ChargebackComponents/DefendChargebackForm.jsx","components/ChargebackComponents/ExtendChargeBackDeadlineForm.jsx","components/ChargebackComponents/UpdateChargeBackStatusForm.jsx","components/ChargebackComponents/UpdateDisputeForm.jsx","components/ChargebackComponents/ChargeBackModalComponents.jsx","containers/Chargeback/constant.js","containers/Chargeback/ChargebackDetails.jsx","containers/Chargeback/DisputeDetails.jsx","containers/Chargeback/Chargeback.jsx","containers/Chargeback/index.jsx","containers/MerchantLegalEntity/constants.js","containers/MerchantLegalEntity/MleDraftAction.jsx","containers/MerchantLegalEntity/MerchantLegalEntityTable.jsx","containers/MerchantLegalEntity/validator.js","containers/MerchantLegalEntity/MerchantLegalEntityMutate.jsx","components/Redirection/Redirection.js","components/Redirection/index.js","containers/MerchantLegalEntity/timelinesteps/mleOnBoarding.js","containers/MerchantLegalEntity/CreateMle.jsx","containers/MerchantLegalEntity/redux/model/mleDraftData.js","containers/MerchantLegalEntity/MleDraftTable.jsx","containers/MerchantLegalEntity/EditViewMle.jsx","containers/MerchantLegalEntity/MerchantLegalEntity.jsx","containers/MerchantLegalEntity/index.js","containers/PaymentGatewayCredentials/PaymentGatewayCredentialsActions.jsx","containers/PaymentGatewayCredentials/redux/paymentGatewayCredentials.constants.js","containers/PaymentGatewayCredentials/redux/paymentGatewayCredentials.actions.js","containers/PaymentGatewayCredentials/components/PGCredentialsForm.jsx","containers/PaymentGatewayCredentials/components/validator.js","containers/PaymentGatewayCredentials/components/PGCredentialsModeForm.jsx","containers/PaymentGatewayCredentials/mock/basicformdata.res.js","containers/PaymentGatewayCredentials/components/PGCredentialsPricingForm.jsx","containers/PaymentGatewayCredentials/constants.js","containers/PaymentGatewayCredentials/PaymentGatewayCredentialsPage.jsx","containers/PaymentGatewayCredentials/CreatePaymentGatewayCredentials.jsx","containers/PaymentGatewayCredentials/EditPaymentGatewayCredentials.jsx","containers/PaymentGatewayCredentials/PaymentGatewayCredentials.jsx","containers/PaymentGatewayCredentials/index.js","containers/TerminalOnboard/CreateTerminal.jsx","containers/TerminalOnboard/EditTerminal.jsx","containers/TerminalOnboard/ViewTerminal.jsx","containers/TerminalOnboard/UserActionsMob.jsx","containers/TerminalOnboard/models/BulkUpload/BulkUploadModal.jsx","containers/TerminalOnboard/models/BulkCreation/BulkCreationModal.jsx","containers/TerminalOnboard/constant.js","containers/TerminalOnboard/TerminalOnboard.js","containers/TerminalOnboard/index.js","containers/PaymentPage/CreatePaymentPage.jsx","containers/PaymentPage/EditPaymentPage.jsx","components/PaymentPageTab/SuccessModal.jsx","containers/PaymentPage/PaymentPageListing.js","containers/PaymentPage/index.js","App.js","containers/BulkPaymentLink/model/bulkPaymentLinkModel.js","containers/BulkPaymentLink/redux/BulkPaymentLink.reducers.js","containers/MerchantOnboard/models/entity.js","containers/MerchantOnboard/models/timeline.js","containers/MerchantOnboard/models/paymentModes.js","containers/MerchantOnboard/redux/merchantOnBoard.reducer.js","containers/MerchantOnboard/redux/editMerchant/editMerchant.reducer.js","containers/MerchantOnboard/redux/pgConfig/pgConfig.reducer.js","containers/UserManagement/models/user.js","containers/UserManagement/models/roles.js","containers/UserManagement/models/entityList.js","containers/UserManagement/models/userMaker.js","containers/UserManagement/models/UserList.js","containers/UserManagement/redux/userManagement.reducer.js","containers/RoleManagement/models/role.js","containers/RoleManagement/models/roleMakers.js","containers/RoleManagement/redux/roleManagement.reducer.js","containers/Transactions/models/transactionList.js","containers/Transactions/models/transactionStatusData.js","containers/Transactions/redux/transactions.reducer.js","containers/MerchantAdjustments/models/adjustmentsList.js","containers/MerchantAdjustments/redux/adjustments.reducer.js","containers/Refund/models/refundList.js","containers/Refund/redux/refund.reducer.js","containers/UserVerification/models/userVerified.js","containers/UserVerification/redux/userVerification.reducer.js","containers/RoleVerification/models/roleChecker.js","containers/RoleVerification/redux/roleVerification.reducer.js","containers/CommProfile/model/comDetails.js","containers/CommProfile/redux/commProfile.reducer.js","containers/ManageBin/model/binStatus.js","containers/ManageBin/model/searchBin.js","containers/ManageBin/redux/manageBin.reducer.js","containers/Profile/model/profileData.js","containers/Profile/redux/profile.reducer.js","containers/Settlement/models/settlementData.js","containers/Settlement/redux/settlement.reducer.js","containers/PaymentLink/models/paymentLinkList.js","containers/PaymentLink/models/paymentTrxnList.js","containers/PaymentLink/redux/paymentLink.reducer.js","containers/AuditTrail/models/auditTrailData.js","containers/AuditTrail/redux/auditTrail.reducer.js","containers/Dashboard/models/dashBoardData.js","containers/Dashboard/redux/dashboard.reducer.js","containers/checkoutCustom/redux/checkout.reducer.js","containers/BulkRefund/model/bulkRefund.js","containers/BulkRefund/model/BulkRefundFileViewModel.js","containers/BulkRefund/redux/bulkRefund.reducer.js","containers/MerchantOnboardStatus/redux/models/MerchantOnboardStatusModel.js","containers/MerchantOnboardStatus/redux/MerchantOnboardStatus.reducer.js","containers/Maker/redux/model/MakerModel.js","containers/Maker/redux/maker.reducer.js","containers/Checker/redux/model/CheckerModel.js","containers/Checker/redux/checker.reducer.js","containers/Mandate/models/mandateList.js","containers/Mandate/redux/mandates.reducers.js","containers/Chargeback/models/chargebackList.js","containers/Chargeback/models/ChargebackDetailFormat.js","containers/Chargeback/redux/chargeback.reducer.js","containers/MerchantLegalEntity/redux/model/merchantLegalEntityList.js","containers/MerchantLegalEntity/redux/merchantLegalEntity.reducer.js","containers/PaymentGatewayCredentials/redux/models/PaymentGatewayCredentialList.js","containers/PaymentGatewayCredentials/redux/paymentGatewayCredentials.reducer.js","containers/Invoice/redux/model/InvoiceModel.js","containers/Invoice/redux/invoice.reducer.js","redux/common/auth/auth.reducer.js","redux/common/loader/loader.reducer.js","redux/common/models/MerchantStaticInfo.js","redux/common/staticData/staticData.reducer.js","containers/TerminalOnboard/models/entity.js","containers/TerminalOnboard/redux/TIDOnBoard.reducer.js","containers/PaymentPage/models/paymentPageEntity.js","containers/PaymentPage/models/paymentTransaction.js","containers/PaymentPage/redux/paymentPage.reducer.js","redux/rootReduer.js","containers/BulkPaymentLink/redux/BulkPaymentLink.sagas.js","containers/MerchantOnboard/redux/merchantOnBoard.sagas.js","containers/UserManagement/redux/userManagement.sagas.js","containers/Transactions/redux/transactions.sagas.js","containers/Refund/redux/refund.sagas.js","containers/PaymentLink/redux/paymentLink.sagas.js","containers/RoleManagement/redux/roleManagement.sagas.js","containers/UserVerification/redux/userVerification.sagas.js","containers/RoleVerification/redux/roleVerification.sagas.js","containers/MerchantOnboard/redux/pgConfig/pgConfig.sagas.js","containers/MerchantOnboard/redux/editMerchant/editMerchant.sagas.js","containers/Dashboard/redux/dashboard.sagas.js","containers/CommProfile/redux/commProfile.sagas.js","containers/ManageBin/redux/manageBin.sagas.js","containers/BulkRefund/redux/bulkRefund.sagas.js","containers/AuditTrail/redux/auditTrail.sagas.js","containers/Profile/redux/profile.sagas.js","containers/Settlement/redux/settlement.sagas.js","containers/checkoutCustom/redux/checkout.sagas.js","containers/MerchantAdjustments/redux/adjustments.sagas.js","containers/MerchantOnboardStatus/redux/MerchantOnboardStatus.sagas.js","containers/Invoice/redux/invoice.sagas.js","containers/Maker/redux/maker.sagas.js","containers/MerchantLegalEntity/redux/merchantLegalEntity.sagas.js","containers/Checker/redux/checker.sagas.js","containers/Mandate/redux/mandates.sagas.js","containers/Chargeback/redux/chargeback.sagas.js","containers/PaymentGatewayCredentials/redux/paymentGatewayCredentials.sagas.js","containers/TerminalOnboard/redux/TIDOnBoard.sagas.js","containers/PaymentPage/redux/paymentPage.sagas.js","redux/common/auth/auth.sagas.js","redux/common/staticData/staticData.sagas.js","redux/rootSaga.js","redux/configureStore.js","index.js"],"names":["module","exports","MLE_ONBOARDING","map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","createSessionRequest","history","type","loginRequest","payload","loginError","isLoggedInRequest","isLoggedInSuccess","userProfileRequest","logoutRequest","forgotPasswordRequest","forgotPasswordError","resetPasswordRequest","resetPasswordError","markUserActiveRequest","getUserAccessibleItemsRequest","resendOtpRequest","resendOtpError","validateOtpRequest","validateOtpError","getStaticDataRequest","getStaticDataError","fetchUnderlyingMerchantStaticRequest","fetchUnderlyingMerchantStaticError","fetStaticInfoRequest","fetStaticInfoError","fetchAuditTrailStaticRequest","fetchAuditTrailStaticSuccess","fetchChargebackStaticRequest","fetchChargebackStaticError","connect","Header","_ref","auth","staticData","dispatch","actions","bindActionCreators","props","staticInfo","payValues","underlyingMerchant","chargebackStaticInfo","location","useLocation","useEffect","isLoggedIn","isEmpty","React","createElement","className","Link","to","pathname","src","axislogo","alt","indexOf","style","color","background","border","cursor","onClick","USER_LEVEL","ADMIN","AGGREGATOR","FRANCHISE","MLE","MERCHANT","RM","USER_LEVEL_ENUM","L1","L2","L3","USER_STATUS","REGISTERED","CHECKER_VERIFIED","CHECKER_REJECTED","ACTIVE","INACTIVE","USER_STATUS_UPDATED","ENTITY_TYPE","RESELLER","ROLE_STATUS","USER_ACTIONS_MAP","USER_CREATION","USER_UPDATION","ROLE_ACTIONS_MAP","ROLE_CREATION","ROLE_UPDATION","STATUS_MAP","Inprocess","Approved","Rejected","FORM_TYPE","SECTION_LIST","createMerchantSection","integrationSection","paymentModeSection","notificationSection","settlementSection","TRANSACTION_TYPE","PAY","REFUND","ROLLBACK","PAY_DELAYED","ACCOUNT_VERIFICATION","INSTANT_REFUND","ADMIN_ONLY_TRANSACTION_TYPE","ADJUSTMENT_TYPE","CREDIT","DEBIT","PAY_TRANSACTION_STATUS","CREATED","EXPIRED","SHARED","FAILED","TRANSACTION_FAILED","TRANSACTION_INITIATED","TRANSACTION_SUCCESS","PAYMENT_PAGE_TRANSACTION_STATUS","PENDING","SUCCESS","STATUS_TYPE","TRANSACTION_STATUS","STATE_ENUM","IN_PROGRESS","FAILURE","AUDIT_STATUS","SETTLEMENT_STATUS","INITIATED","DISBURSED","SETTLED","ENTITY_MAP","0","1","2","3","4","TAB_LIST","value","label","validityOptions","name","dateOptions","trendLegends","bankLegends","DC","CC","NB","UPI","WALLET","EMI_CC","overall","barLegends","pieLegends","ALL","VI","MC","AMEX","RPAY","others","rank1","rank2","rank3","rank4","rank5","successRateTab","failureRateTab","transactionTypeNameMap","MNDT_REG_PAY","MNDT_EXE_PAY","EXCLUDED_ENTITY_USER_LEVELS","SECTION_TYPE_TO_STEP_MAP","surchargeSection","kycSection","MAKER_CHECKER_EVENT_TYPES","INTEGRATION","PAYMENTMODE","NOTIFICATION","SETTLEMENT","BTS_ACCOUNT","ROUTING","PG_CONFIG","KYC","PRICING","SETTLEMENT_RETRY","ONBOARDING","TERMINAL","TERMINAL_UPDATE","MAKER_CHECKER_EVENT_TYPES_TITLE_MAP","KYC_FIELD_NAME_TO_TITLE_MAP","dlUrl","panUrl","eBillUrl","aadharUrl","voterIdUrl","passPortUrl","MANDATE_TRANSACTION_STATUS_MAP","MANDATE_FREQUENCY_ENUM","ADHO","MNTH","YEAR","CHARGEBACK_STATUS_ENUM","PENDING_RESPONSE","PENDING_DOC_REVIEW","SUBMITTED_TO_BANK","INSUFFICIENT_DOCUMENT","CLOSED_IN_CUSTOMER_FAVOUR","CLOSED_IN_MERCHANT_FAVOUR","OPEN","CLOSED","DISPUTE_STATUS_ENUM","INTITIATED","FULL_REFUND","PARTIAL_REFUND","CHARGEBACK_TERMINAL_STATE","CHARGEBACK_UPDATE_TERMINAL_STATE","CHARGEBACK_MERCHANT_STATUS_ENUM","FULLY_ACCEPT","PARTIALLY_ACCEPT","CONTEST","POPUP_ENUM","POPUP_TITLE_ENUM","UPDATE_FORM","EXTEND_DEADLINE_FORM","RE_RAISE_CHARGEBACK_FORM","CHARGEBACK_DEFEND","UPDATE_DISPUTE","PAYMENT_MODE","REPORT_TYPE_ENUM","MAKER_CHECKER_EVENT_TYPES_MLE","business","ubo","risk","legal","MAKER_CHECKER_EVENT_LABEL_MLE","key","toLowerCase","setToLocalStorage","data","localStorage","setItem","JSON","stringify","getFromLocalStorage","parse","getItem","getLoginRedirectPath","resources","arguments","length","undefined","permissions","includes","access_management","NUMERIC","zero","one","two","three","four","five","six","seven","eight","nine","ten","twenty","forty","hundred","getPipeSeparateValue","values","join","sumOfDigits","number","sum","lastDigit","Math","floor","getRoleStatusOptions","options","prototype","hasOwnProperty","call","push","getUserLevel","entityType","filter","item","getId","idName","split","capitaliseString","str","splitStr","i","charAt","toUpperCase","substring","capitalizeStringWithUnderscores","word","slice","getFlatEntities","entities","franchise","mle","merchants","getFormInitialValues","liveValue","concat","uniqueId","testValue","testInitialValues","forEach","_objectSpread","getModesOptions","savedPgs","liveConfig","testConfig","checked","credentials","some","cred","_cred$status$","status","_cred$status$2","getFormData","formType","uniqueIdentifier","formData","find","form","sections","getTimelineStatus","draftData","path","sectionType","currentPath","sectionData","section","state","getKeyValue","keyMode","test","live","getDraftTableData","forms","merchantData","elm","integrationData","merchant","integration","createdOn","moment","format","merchantIdentifier","objToArr","newArr","arr","dynamicFieldHandler","_arr","cardType","cardCategory","issuerData","bank","updatedList","bankSlabs","console","log","createSurchargeOptions","debitCard","paymentType","creditCard","netbanking","upi","wallets","AccountVerification","emi","domesticDebitCard","foreignDebitCard","domesticFlag","domesticCreditCard","foreignCreditCard","domesticDebitCardOnUs","domesticDebitCardOffUs","onUsFlag","foreignDebitCardOnUs","foreignDebitCardOffUs","domesticCreditCardOnUs","domesticCreditCardOffUs","foreignCreditCardOnUs","foreignCreditCardOffUs","upiData","issuerId","netBankingList","walletsList","AccountVerificationList","emiList","index","issuer","surchargeOptions","slabs","Wallets","getDynamicBoolValues","boolValue","Array","isArray","getFilteredSectionData","editData","entityDetails","paymentModeData","customisedReports","settlementDataSection","getcustomisedReportsData","kycData","pgConfigurationDataResponse","pgRoutingResponseList","enableDynamicRouting","pgRoutingRequestList","feeConfigListMap","feeConfigList","notificationData","getFormattedSectionData","singleSection","isObjectEmpty","obj","colours","getUserPermissionFromResourceDetails","resourceDetails","permissionMap","resource","resourceName","permissionDetail","perm","permissionName","subPermissionDetails","subPermission","isValuesEmpty","getDependentSectionName","steps","dependentSections","filterSection","formatBoolean","getFormattedData","cardNatureData","CARD_NATURE","bankCodeData","BANK_CODE","cardTypeData","CARD_TYPE","binBlocked","binHead","cardNature","created","emiBin","isDomestic","issuingBank","lastUpdated","codeNameUI","getFormattedStaticData","compareValue","replace","getInitialsEditBin","initialValues","getBinOptions","initialValuesCopy","formattedCardNature","formattedCardType","formattedBankType","withAllBank","itemObject","image","imagePath","orderedOptions","orderBy","unshift","getSurchargeBankOptions","bankCodes","paymentOptions","getWalletOptions","withAllWallets","getSchemeOptions","schemes","cardOptions","DINR","SDK","scheme","getPermissionsOptions","oldData","newData","isMob","permissionResourceOld","res","permissionResourceNew","oldPermissionDetail","newPermissionDetail","mergedOptions","unionBy","mobMappedValues","havePermission","isChanged","isPrevious","extraOpt","getExtraOptionsPermission","oldPermission","newPermission","permId","permIdListOld","permissionId","permIdListNew","extraOption","getIntent","getConvertedDate","date","getFormattedDate","formatDate","startDate","endDate","startOf","isAfter","endOf","hourStringPrt","minuteDelta","Number","hourDelta","subtract","hours","minutes","formatPieChartData","staticValues","aggregator","SUCCESS_RATE","TRANSACTION_COUNT","parseInt","formatChartDate","granularity","getFormattedGranularity","formattedItem","getTagsValue","getCommDetails","transactionStatus","communicationModeValue","email","mobile","formatFormDataOptions","suffix","updateTxnStatus","tableData","viewTransactionData","txn","transactionReferenceNumber","details","nameValueOptions","states","isNumeric","downloadFile","url","link","document","href","setAttribute","body","appendChild","click","removeChild","getBusinessSources","paymentTypeArray","txnConfig","config","businessSource","getBusinessSourcesToAccountTypeMapping","txnConfigObj","accountTypes","accountType","getFormButtonText","isUserTerminalState","camelCaseToTitle","inputString","newString","result","caseStr","regex","RegExp","getFormattedPGConfigOldData","paymentGatewayDtoList","selectedPg","oldConfValues","referenceId","confName","pgName","capitalize","environment","getActiveReports","reports","reportsAll","reportsList","generating","requestStatus","complete","getRequestData","isFileRequest","request","startDateTime","endDateTime","merchantIds","merchantCodes","minAmt","minAmount","transactionModes","maxAmt","maxAmount","transactionTypes","mandateStatus","orderId","subscriptionId","reportFileName","paginationDetails","pageNo","pageIndex","pageSize","isPresentOrDefault","defaultValue","isAdminUser","_auth$userDetails","userDetails","userLevel","capitalizeFirstLetterOfEachWord","capitalizeFirstLetter","message","createDeepCopyObj","MENU_LIST","menuName","serverKey","imgSrc","accessManagement","subMenu","onboardingImg","transactionview","refundImg","isParentLevelPermission","manageBin","manageAccount","myAccount","dashBoard","profileImg","paymentPage","Sidebar","_ref2","currentMatch","activeSubMenu","setActiveSubMenu","useState","isActiveSubMenuOpen","setIsActiveSubMenuOpen","selectedParentIndex","findIndex","element","selectedSubMenu","_MENU_LIST$index","_MENU_LIST$index2","getSelectedParentIndex","hasPermissionMatch","avatar","intials","reduce","acc","substr","charIndex","charCodeAt","colour","getInitials","menuItem","event","handleSubMenuToggle","selectedMenuItem","downArrowImg","subMenuItem","Fragment","AuthRoute","children","rest","render","from","Card","customClass","Alert","data-testid","ErrorCard","text","isNoResult","NoDataFound","version","xmlns","width","height","viewBox","d","Loader","fcloader","ErrorWrapper","styled","span","_templateObject","_taggedTemplateLiteral","DatePicker","input","meta","singleDatePicker","startDateId","endDateId","numberOfMonths","onSetStartDate","onSetEndDate","maximumNights","showDefaultInputIcon","_objectWithoutProperties","_excluded","focused","setFocused","focusedInput","setFocusedInput","validStartDate","validEndDate","SingleDatePicker","assign","onDateChange","onChange","onFocusChange","DateRangePicker","minimumNights","onDatesChange","_ref3","isOutsideRange","day","isBefore","clone","add","diff","touched","error","StyledErrorWrapper","TimePicker","startTime","endTime","setStarTime","setEndTime","hour24Mode","onTimeChange","showStartTime","setShowStartTime","showEndTime","setShowEndTime","time","newTime","formatted24","formatted12","onDoneClick","loaderClass","grey","LoaderWrap","FakeLoader","withMask","PaginationNumber","pagesCount","gotoPage","pagePerView","pageList","getPageInfo","totalPages","currentIndex","pageLength","currentPage","endPage","startPage","endPageCalc","halfOfPagePerView","ceil","pages","countValue","pageCount","Pagination","pageSizeOptions","previousPage","canPreviousPage","nextPage","canNextPage","setPageSize","paginationLabel","totalItems","target","disabled","Table","tableTitle","tableHead","tableCell","columns","fetchData","isFiltersEnable","isPaginationEnable","loading","roleStatus","controlledPageCount","userActions","tableSubSection","isResetPage","afterResetPage","filterData","tableSummary","isPGRepoTab","tableCard","headers","getTableProps","getTableBodyProps","prepareRow","page","pageOptions","useTable","initialState","autoResetPage","manualPagination","usePagination","header","_header$column","column","overflow","textOverflow","whiteSpace","row","getRowProps","cells","cell","_cell$column","getCellProps","AuthResource","permission","overridePermission","FilterSection","filterActionTitle","tableFilters","onClickTableAction","tableActionPopup","additionalActions","searchAction","tableSearch","filterActionPermission","Cell","startsWith","title","TableWrap","defaultProps","Portal","createPortal","getElementById","Popup","showCloseIcon","showOverlay","showFilter","closePopup","childrenWithProps","Children","child","cloneElement","closeFilter","cross","customStyles","content","portalRoot","ReactModal","setAppElement","Modal","setOverlayRef","setContentRef","modalId","contentLabel","ariaDescription","ariaLabel","handleAfterOpen","handleAfterClose","showCloseButton","closeTimeoutMS","shouldCloseOnOverlayClick","shouldCloseOnEsc","shouldReturnFocusAfterClose","shouldFocusAfterRender","modalIsOpen","closeModal","customWrapperClass","isOpen","onAfterOpen","onAfterClose","onRequestClose","portalClassName","overlayClassName","bodyOpenClassName","htmlOpenClassName","ariaHideApp","role","parentSelector","querySelector","aria","describedby","labelledby","overlayRef","contentRef","Overlay","isTransparent","Timeline","onboardingProcess","isCreate","merchantOnboard","tabId","showLoader","hideLoader","fourteen","nineteen","hexCodeRegex","validators","REQUIRED","val","REQUIRE","_","EMAIL","PHONE_NUMBER","MAX_LENGTH","maxLength","MIN_LENGTH","minLength","MIN_MAX_LENGTH","EXACT_LENGTH","exactLength","GREATER_THAN_EQUAL_TO","num","LESS_THAN_EQUAL_TO","NUMBER_IN_BETWEEN","lowerLimit","upperLimit","POSITIVE_NUMBER","isNaN","ALPHA_NUMERIC","ATLEAST_ONE_NUMBER","ATLEAST_ONE_ALPHABET","PHONE_NUMBER_OR_EMAIL","CURRENT_PASSWORD","NEW_PASSWORD","EXPIRY_DATE","splitValues","month","year","currrentDate","Date","currentMonth","getMonth","currentYearInYY","getFullYear","CVV","CREDIT_CARD_NUMBER","isSeparatorIncluded","separatorSymbol","isCardLengthValid","count","isLuhnNumber","IS_CREDIT_CARD_NUMBER_BLOCKED","blockedBinPrefixesList","INTEGER","URL","IS_VALID_HEX_CODE","checkNumberList","checkEmailList","VALIDATOR_ERROR_MESSAGES","AADHAR_PATTERN","GST_PATTERN","PAN_PATTERN","validateData","max","min","fieldLevelValidators","required","numeric","maxLength30","maxLength10","minLength5","minLength10","minValue0","length10","mobileNumber","containsNumber","alphanumeric","alpha","alphaWithSpace","alphanumericWithSpace","capitalNumericWithoutSpace","pan","fieldData","errors","panValidation","gst","gstValidation","aadhar","aadhaarValidation","pin","_val$toString","toString","validate","createdBy","renderDateInput","field","renderTimeInput","FormField","setStartDate","setEndDate","fieldType","Field","onFocusedInput","component","FormElems","Select","Radio","TermPicker","Checkbox","fieldA","Input","fieldB","SearchSelect","Multiselect","MultiSelectWithSearch","displayLabel","div","compose","TableFilter","reduxForm","destroyOnUnmount","enableReinitialize","keepDirtyOnReinitialize","fieldsList","handleSubmit","onSubmit","customFilterClass","pristine","reset","onReset","submitting","dirty","invalid","change","isResetFilterOnLoad","dateField","dateProps","startDateDefault","endDateDefault","notResetDate","setShowFilter","defaultDate","resetFilter","handleFilterClick","prevState","data-field_type","syncErrors","Button","buttonType","handleClick","handleReset","isDisable","fetchSystemUsersRequest","fetchUserRequest","fetchUserError","createUserRequest","createUserError","createUserReset","updateUserReset","getAllRolesRequest","getAllRolesError","fetchEntityRequest","fetchEntityError","updateUserRequest","updateUserError","createAdminUserRequest","createAdminUserError","updateAdminUserRequest","updateAdminUserError","getUserMakersDetailsRequest","getUserMakersDetailsError","ERROR_MESSAGES","SUCCESS_MESSAGES","VERIFICATION_MESSAGE","USER_MANAGEMENT_MSG","MERCHANT_ADJUSTMENT_MSG","roleId","entityId","uLevel","supervisor","CreateUserForm","userManagementData","createUser","userRoles","entityList","systemUserList","resultPerPage","userFilter","level","userLevelOption","isSuccess","toast","info","isLoading","parentUserId","entityName","entity","placeholder","marginRight","list","labelField","valueField","wrapperClass","isVisible","fetchRolesRequest","fetchRolesError","createRoleRequest","createRoleError","createRoleReset","updateRoleRequest","updateRoleError","updateRoleReset","getAllResourcePermissionsRequest","getAllResourcePermissionsError","getMakersDetailsRequest","getMakersDetailsError","remarks","selectedPermissions","refunds","manage_bin","manage_account","merchant_onboarding","dashboard","payLink","roleManagementData","roleViewEdit","actionType","handleOpenActionPopup","resetPage","isPendingMode","updateRole","allResourcePermissionDetails","accessManagementOptions","setAccessManagementOptions","mobOptions","setMobOptions","payLinkOptions","setPayLinkOptions","reportOptions","setReportOptions","refundOptions","setRefundOptions","manageBinOptions","setManageBinOptions","manageAccountOptions","setManageAccountOptions","myAccountOptions","setMyAccountOptions","dashboardOptions","setDashboardOptions","auditTrailOptions","setAuditTrailOptions","settlementOptions","setSettlementOptions","mandateOptions","setMandateOptions","chargebackOptions","setChargebackOptions","merchantAdjustmentOptions","setMerchantAdjustmentOptions","resourcePermissionDetails","accessManagementResource","mobResource","paymentLinkSource","reportResource","refundResource","manageBinResource","manageAccountResource","myAccountResource","dashboardResource","auditTrailResource","settlementResource","merchantAdjustmentResource","mandateResource","chargebackResource","userAccessManagementOptions","resourceDetail","userMobOptions","userPayLinkOptions","userReportOptions","userRefundOptions","userManageBinOptions","userManageAccountOptions","userMyAccountOptions","userDashboardOptions","auditTrailFormatOptions","settlementFormatOptions","merchantAdjustmentFormatOptions","mandateFormatOptions","chargebackFormatOptions","opt","isFormReadOnly","reqPayload","comment","payLinkResource","amValues","mobValues","payLinkValues","reportValues","refundValues","manageBinValues","manageAccountValues","my_account","myAccountValues","dashboardValues","audit_trail","auditTrailValues","view_settlement","settlementValues","view_merchant_adjustment","merchantAdjustmentValues","mandates","mandateValues","chargeback","chargebackValues","selectedAccessManagementResourcePerm","selectedMobResourcePerm","selectedPayLinkResourcePerm","selectedReportResourcePerm","selectedRefundResourcePerm","selectedManageBinResourcePerm","selectedManageAccountResourcePerm","selectedMyAccountResourcePerm","selectedDashboardResourcePerm","selectedAuditTrailResourcePerm","selectedSettlementTrailResourcePerm","selectedMerchantAdjustmentTrailResourcePerm","selectedMandateResourcePerm","selectedChargebackResourcePerm","lastUpdatedByName","lastUpdatedDate","calendar","roleCreatedByName","roleCreationDate","defaultSelected","isDisabled","TextArea","display","preventDefault","roleName","CreateRoleForm","roleData","isViewMode","isEditMode","createRole","subPermissionMap","roleStatusOptions","errorMessage","resourceData","resourceId","permissionData","subPermissions","labelName","startCase","camelCase","selectedPermissionId","Indicator","isArrowIndicator","isExpanded","upArrow","downArrow","Accordion","accordionData","imageUrl","accordionToggleHandler","isOpened","upperComponent","lowerComponent","isAlwaysExpendable","setIsExpanded","data-state","data-testId","fetchFormDetailsRequest","fetchFormDetailsError","fetchFormInProcessRequest","fetchFormInProcessError","fetchEntityListRequest","entityData","fetchEntityListError","fetchEntityHierarchyRequest","onSuccess","fetchEntityHierarchyError","fetchEntityHierarchyMLERequest","fetchEntityHierarchyMLEError","fetchEntityListMLERequest","fetchEntityListMLEError","saveAndContinueRequest","makerDetails","saveAndContinueSuccess","saveAndContinueError","createEntityRequest","createEntityError","fetchPaymentModesRequest","fetchPaymentModesError","fetchSurchargeSlabsRequest","fetchSurchargeSlabsSuccess","fetchSurchargeSlabsError","fetchDefaultRoutingRequest","fetchDefaultRoutingError","setUniqueIdentifierRequest","resetSaveDataSuccessKey","submitFormRequest","submitFormError","retryFailedMerchantFormRequest","resetRetryFormStore","submitStepFormRequest","submitStepFormError","fetchBDInprogressMerchantRequest","fetchBDInprogressMerchantError","getMerchantInfoRequest","fields","getMerchantInfoError","getMerchantSectionInfoRequest","getMerchantSectionInfoError","setEntityDataRequest","setEntityDataSuccess","setEntityDataError","fetchPgConfigDetailsRequest","fetchPgConfigDetailsError","fetchRouterDetailsRequest","fetchRouterDetailsError","fetchSurchargeDetailsRequest","fetchSurchargeDetailsError","updateMerchantDataRequest","updateMerchantDataError","updatePgConfigDataRequest","updatePgConfigDataError","updateRoutingDataRequest","updateRoutingDataError","updateSurchargeDataRequest","updateSurchargeDataError","updateSectionDataRequest","updateSectionDataError","resetUpdateDataSuccessKey","updateSettlementDataRequest","updateSettlementDataError","fetchBasicFormData","fetchBasicFormError","addMerchantStepUpdateMakerRequest","addMerchantStepUpdateMakerError","RoleType","onRoleSelect","entityValue","entitySelectedValue","setEntityValues","hierarchyLoader","handleCloseAddRole","onSuccessClose","parentDetails","getParentDetails","loader","handleChange","originalData","popupTitle","_values$pinCode","_values$gstNumber","_values$pan","integrationType","pinCode","turnoverCategory","city","addressLine1","gstNumber","userEmail","axisAcquiredMerchantId","relationshipManagerId","merchantCategory","mcc","stateCity","Assam","Bihar","Chandigarh","Chhattisgarh","Delhi","Goa","Gujarat","Haryana","Jharkhand","Karnataka","Kerala","Maharashtra","Manipur","Meghalaya","Mizoram","Nagaland","Odisha","Puducherry","Punjab","Rajasthan","Telangana","Tripura","Uttarakhand","businessType","turnOverCategory","stateCode","Sikkim","Meghalya","LAKSHADWEEP","Ladakh","getPortalAccess","portalsValue","getRollList","withRouter","MerchantTab","nextPath","previousPath","isInEditMode","onBoardSteps","saveData","timeline","listExecuting","updateData","entityValues","categoryCodeList","setCategoryCodeList","parentEntityCode","setParentEntityCode","roleList","setRoleList","showUserEmailField","setShowUserEmailField","cityOptions","setCityOptions","memoEntityValues","useMemo","currentStep","first","isChange","setIsChange","isOrAre","isShowModal","setIsShowModal","resetErrors","fetchAllList","handleRoleEdit","onNext","parentEntityType","merchantId","last","handleCategorySelect","isUpdated","handleFormSubmit","valuesCopy","updatedBy","portalAccess","requestUpdate","entityCode","makerId","idempotencyId","eventType","resetSelection","typeList","roles","resetSelect","handleRoleSelect","categoryMap","category","setEntitySelectedValue","selectedStateCities","portalValue","isPortalVisible","checkPortalVisible","portalValues","errorDetails","AlertModal","onCloseModal","primaryButtonText","secondaryButtonText","showActions","onSuccessModal","currentSection","AddRole","handleStateSelect","relationshipManagers","class","onBack","isValidKeyMode","encryptionData","perTransactionLimit","dailyTransactionLimit","monthlyTransactionLimit","modeOfIntegration","security","allowRetry","retryCount","platform","isMerchantTatEnabled","merchantTxnTat","refundQueueTat","isEncryptionEnabled","isTestKeyEnabled","encTestKey","isLiveKeyEnabled","encLiveKey","isMerTxnLimitEnabled","isMandateRegTatEnabled","mandateRegApprovalTat","mandateRegFirstExeTat","entityStatus","verifiedPayment","isFcMerchant","isStaticQREnabled","allowFPS","isMultiAttemptOnPayLink","allowOpenMultiPaymentLink","instantRollback","instantRefund","refundRetry","refundQueue","sftpReport","threeDimensionSecurityBrowserInfoCollect","merchantTxnLimit","threeDimensionSecurityInfoHardCoded","mtrViaEmailRequired","getKeyMode","getRequestValues","String","property","getOptions","initialValuesData","keyField","allSelectedValues","getCheckboxOptions","IntegrationTab","useDispatch","showCount","setShowCount","showMerchantTxnTat","setShowMerchantTxnTat","showEncryptionKeys","setShowEncryptionKeys","showPayLinkConfigs","setShowPayLinkConfigs","statusOptions","setStatusOptions","showMandateRegTxnTat","setShowMandateRegTxnTat","history2","useHistory","showRefundQueueTat","setShowRefundQueueTat","initial","preState","newState","isMtrViaEmailRequired","isSftpRequired","getRefundQueueValue","changeFormValue","_formData$initial$ref","newValue","attemptCount","paymentLinkAttemptDiff","updateRequest","configurationType","merchantConfig","getDefaultSelected","step","_values$preVpa","_values$vpa","netBanking","vpa","accountVerification","creditCardBusinessSource","debitCardBusinessSource","upiBusinessSource","preVpa","appId","emiBusinessSource","allOption","allOptionWallets","customOptions","bankList","optionFor","formattedBanks","subModeNameUI","paymentModeInfo","subMode","paymentModeInfoUI","paymentModeDetails","payDetails","ValueContainer","getValue","hasValue","newChildren","nbValues","components","Option","isSelected","dataOptions","formatGroupLabel","renderCustomSelect","attributes","_excluded2","CustomSelect","instanceId","onBlur","handleBlur","PayModeTab","allDraftData","paymentModes","basicFormData","memoizedPay","getPayOptions","payData","creditCards","debitCards","upiAccountType","formatValues","debitCardBusinessSources","creditCardBusinessSources","upiBusinessSources","upiAccountTypes","businessSourceNameUI","businessSourceValue","resultObj","entries","formattedAccountTypes","accountTypesNameUI","accountTypesValue","_CARD_TYPE$item$subMo","selectedBanks","setSelectedBanks","bankOptions","setBankOptions","selectedWallets","setSelectedWallets","walletsOptions","setWalletsOptions","sort","cur","next","checkedBanks","filteredBanks","allOpt","checkedWallets","filteredWallets","isRefIdEnabled","_upi$filter","selectedCreditCards","selectedDebitCards","selectedNetBanking","selectedUPIOptions","selectedMandateUpi","mandateUpi","selectedWalletList","selectedAccountVerification","selectedEMI","isValidAccountType","emptyBusinessSource","businessSourceIndex","creditCardOptions","mode","_values$creditCardBus","upiOptions","_values$upiBusinessSo","paymentSubModeInfo","mandateUPIOptions","_values$upiBusinessSo2","debitCardOptions","_values$debitCardBusi","netBankingOptions","accountVerificationOptions","emiOptions","_values$emiBusinessSo","paymentLinkEnabled","paymentPageEnabled","voidCapability","emiEnabled","checkIsAllRemoved","oldState","isAllClicked","isOldStateHaveAll","isNewStateHaveAll","upiDetails","merchentVPA","merchantVpa","changeValue","merchantSection","_merchantSection$data","upiMode","isMulti","isSearchable","isAllRemoved","allBanks","getAllSelectedBanks","selectedValue","closeMenuOnSelect","allWallets","walletList","getAllSelectedWallets","communicationEmailId","AddAggregator","createEntity","onCancel","marginBottom","AddMLE","addRole","selectedAgg","setSelectedAgg","resetFranchise","setResetFranchise","handleEntitySelect","AddFranchise","fetchPgConfigRequest","savePgDetailsRequest","updatePgsRequest","updatePgStatusRequest","resetSavedPgs","configFormsDetails","cca","onlyAfterDefault","cybs","migs","payU","hdfc","bdk","fiserv","mpgs","axisnb","pgDetails","configData","imagesName","cardImages","modes","networks","isConfigured","DummyData","images","require","DetailsForm","onConfig","onModeSwitch","configuredPgs","nonConfiguredPgs","pgList","segregatePgByConfig","imgsrc","cardSrc","Switch","ind","customFieldOptions","allFieldsValues","getAll","fieldName","DynamicFieldsController","submitFailed","properties","addButtonText","removeButtonText","shouldShowRemove","remove","AccordionFields","FieldArray","ConfigForm","testPrefix","paymentModeOptions","paymentSubModeOptions","paymentModeIndex","Boolean","credentialsErrors","credential","credentialIndex","credentialError","merchantPGCode","accessCode","secret","username","password","merchantPGKey","merchantKey","merchantPGSecurityKey","keySerialNumber","uniqueCombinations","combination","test_merchantId","test_salt","test_secret","test_accessCode","test_amaUsername","test_amaPassword","test_referenceId","test_accountPassword","test_username","test_soapKey","test_sharedSecretKey","test_keySerialNumber","onBackClick","getFilteredPgsData","splitKey","splice","valuesResult","valuesKeys","every","getValues","autoComplete","onLinkClick","withBack","breadCrumbs","PGConfigTab","pgData","formInProcess","isConfig","setIsConfig","configDetails","setConfigDetails","configMode","setConfigMode","selectedPaymentMode","setSelectedPaymentMode","selectedPaymentSubMode","setSelectedPaymentSubMode","filterAndSetPaymentMode","paymentTypeMap","paymentTypeList","listOfPgs","Set","pgs","setTimeout","setInitialPgConfig","requestData","itemName","configIndex","pg","pgConf","generateRequestData","handleModeSwitch","configType","routingErrors","route","routeIndex","pgPercentage","payu","pgPercentageTotal","paymentGateway","paymentTypeNameMapping","renderRoutingRows","defaultRouting","colSpan","warningIcon","member","postfixContent","RoutingTab","pgConfigSection","pgConfigs","formIdentifier","getDynamicRoutingBoolValues","renderSurchargeSlabItems","noSlab","lowerSlab","higherSlab","tiles","replaceAll","borderRadius","leftSlab","rightSlab","renderSlabs","renderSurchargeSlab","schemeOptions","cardCategoriesOptions","newAddFieldInitialData","selectedScheme","selectedCardType","option","getSelectedCardCategory","selectedCardCategory","getFilteredSchemaOptions","cardMap","fieldDataIndex","filteredSchemeOptions","categories","getFilteredCardCategories","selectedCardCategoriesForCardType","filteredCardCategories","updateCardCategory","renderBankSlabItems","sectionName","transactionType","cardTitle","flexWrap","defaultSlab","firstSlab","secondSlab","thirdSlab","forthSlab","renderSurchargeBankSlab","walletOptions","selectedSchemes","filteredBankOptions","filteredWalletsOptions","selectedBank","selectedBankType","selectedWallet","selectedWalletType","feeConfigListErrors","prop","propErrors","bankIndex","bankErrors","slab","slabIndex","slabErrors","feePercent","feeFlat","upperSlab","tax","feeCriteria","AccLowerComponent","renderComponent","CardSurcharge","NBSurcharge","UPISurcharge","SurchargeTab","userId","userOptions","bankSlab","updatedBankSlab","updatedSlab","user","paymentOptionList","emailList","registeredEmail","emailListErrors","emailIndex","commonErrors","stopSubmit","mobileList","mobileListErrors","mobileIndex","multipleEmails","multipleEmailsErrors","emailDetails","emailDetailsIndex","emailId","renderEmails","emailChecks","formFields","noLabel","renderMobiles","renderMultipleEmails","checkboxOptions","NotificationTab","submitData","isAdditionalEmailEnabled","setIsAdditionalEmailEnabled","uniqueIdMail","finalEmailData","emailData","isMSR","isMTR","formError","notFillSectionName","filterNotFillSection","notIncludeSectionType","notificationEmailList","getRegisteredMail","indexOfUniqueId","provided","backgroundColor","padding","control","menu","borderTop","boxShadow","Spinner","_templateObject2","autoFocus","menuIsOpen","selectProps","onInputChange","classNamePrefix","styles","hideSelectedOptions","NetBankCard","BreadCrumb","LeftArrow","userRole","UserEditViewForm","updateUser","userStatus","userStatusOption","getUserStatus","userCreatedByName","userCreatedDate","userRoleName","fetchRoleCheckerRequest","fetchRoleCheckerError","updateIntentRequest","updateIntentError","UserVerificationForm","roleVerificationData","updateIntent","isInProcess","userAction","requestId","action","userCreatedUpdate","lastActions","userStatusOld","userRoleNameOld","userLevelOld","entityNameOld","checkerComment","makerComment","headerText","fetchRefundRequest","fetchRefundError","initiateRefundRequest","initiateRefundError","refundAmount","amount","RefundForm","refundData","refundStatus","refundType","currency","txnReferenceId","paymentMode","defaultValues","transactionAmount","customerName","customerID","rrnArn","transactionDateAndTime","maskedCardNumber","ripple","keyframes","ButtonWrapper","button","PrimaryButtonWrapper","_templateObject3","SecondaryButtonWrapper","_templateObject4","DraftButtonWrapper","_templateObject5","RoundedButtonWrapper","_templateObject6","handleButtonClick","InputContainerWrapper","InputFieldWrapper","prefixContent","prefixPadding","InputWrapper","prefixIconUrl","prefixPositionX","prefixPositionY","prefixIconWidth","prefixIconHeight","showSubmitButton","ShowPasswordWrapper","img","SubmitWrapper","p","RemoveButtonWrapper","_templateObject7","InfoElementWrapper","_templateObject8","PostfixWrapper","_templateObject9","PrefixWrapper","_templateObject10","showPasswordIconUrl","hidePasswordIconUrl","handleFocus","handleReadOnlyClick","autocomplete","readOnly","hideErrors","showSubmitOnChange","submitComponent","showRemoveBtn","removeBtnComponent","rePositionErrors","rePositionErrorsElement","pattern","infoElement","inputRef","useRef","accept","passwordMaskIcon","setPasswordMaskIcon","inputType","setInputType","setShowSubmitButton","inputComponent","formFieldChangeMethod","onFocus","ref","onWheel","blur","passwordComponent","current","focus","ReactDOM","RadioContainer","LabelWrapper","RadioWrapper","CustomIconWrapper","LabelTextWrapper","setSelectedValue","handleRadioChange","bind","SelectContainer","SelectElement","select","selectValue","setSelectValue","handleSelectChange","data-value","isChecked","SingleCheckbox","isRequired","isSingleDisable","selectedValues","setSelectedValues","selectedValuesState","indexValue","captureSelectedBoxes","TextAreaContainer","TextAreaElement","textarea","maxlength","cols","rows","wrap","readonly","usePreviousRef","SingleOtpInput","prevFocus","useLayoutEffect","OTPInput","serverError","isNumberInput","handleChangeOtp","inputClassName","isReset","setReset","inputStyle","serverErr","setServerErr","activeInput","setActiveInput","otpValues","setOTPValues","fill","handleOtpChange","useCallback","otp","otpValue","getRightValue","changedValue","changeCodeAtFocus","updatedOTPValues","focusInput","inputIndex","selectedIndex","focusPrevInput","focusNextInput","handleOnFocus","handleOnChange","currentTarget","handleOnKeyDown","handleOnPaste","pastedData","clipboardData","getData","trim","nextFocusIndex","shift","aria-label","onKeyDown","onPaste","tagifyCallbacks","baseTagifySettings","blacklist","maxTags","dropdown","enabled","InputTags","settings","tagifyProps","handleInputChange","handleInputBlur","handleInputFocus","tagifyRef","tagifySettings","setTagifySettings","setTagifyProps","callbacks","emptyOptions","handleSearchEnd","finalOptions","setFinalOptions","selectedOption","getOptionLabel","getOptionValue","finalOptionsTemp","UploadWrapper","UploadFieldWrapper","isValuePresent","UploadField","Label","Icon","size","isActionIcon","UploadElement","uploadImageAndGetURL","allowedExtensions","docUrl","handleView","MLEerrorMessage","MaxFileSize","docUrlState","setDocUrlState","fileName","setFileName","uploadComponent","async","files","fileExtension","pop","uploadMarginUpdateClass","htmlFor","alignItems","docIcon","paddingLeft","viewIcon","deleteIcon","uploadIcon","MainContainer","DropzoneContainer","layout","FileList","StyledFile","StyledComponent","StyledImg","StyledDiv","StyledTitle","StyledParagraph","StyledSpan","StyledSeprator","StyledButton","FileNameSpan","CloseIcon","MultiUpload","onFileListChange","subtitle","fileList","maxSize","isDropFailed","setIsDropFailed","removeFile","file","newFiles","onDrop","acceptedFiles","fileRejections","getRootProps","getInputProps","useDropzone","fileUploadImg","crossImg","ERROR_PINDATA","ERROR_FETCH","GST","PAN","IMAGE_MSG","_templateObject11","_templateObject12","MultiUploadUrlHandling","fileListUrl","handleViewImages","maxFiles","setErrorMessage","_fileRejections$filte","errorMsg","_file$errors","_file$errors2","_file$errors2$","justifyContent","maxWidth","margin","FILE_MSG_WITH_EXT","LabelInput","labelText","position","MultiSearchSelect","selectedOptions","setSelectedOptions","lastSearchValue","initialSelected","MultiSelect","selected","labelledBy","disable","filterOptions","searchValue","filtered","SearchInput","DropdownList","ul","DropdownItem","li","setSearchValue","filteredData","setFilteredData","isDropdownOpen","setIsDropdownOpen","selectedItem","lowercasedFilter","onMouseDown","handleSelect","CUSTOMER_AGENT_INFO_ENUM","CHARGEBACK_SEARCH_OPTIONS","MERCHANT_RESPONSE_INFO_ENUM","DEFEND_TRANSACTION_INFO_ENUM","UPDATE_STATUS_OPTIONS","CLOSURE_OPTIONS","UPDATE_STATUS_OPTIONS_NEW_LEVEL","DEADLINE_OPTIONS","ChargeBackAccordion","chargebackDetails","chargebackIndex","handleChargebackExtensionClick","handleChargebackReRaiseClicked","handleChargebackFullyAccept","handleChargebackDefend","currentChargebackId","customerAgentData","allowChargebackReRaise","isMerchantActionVisibile","currentChargebackStatus","customerAgentResponseData","merchantResponseData","daysRemaining","levelChargebackId","items","fetchChargeBackDataRequest","fetchChargeBackDataFailure","fetchDisputeStatusRequest","fetchDisputeStatusFailure","fetchChargeBackDetailsRequest","fetchChargeBackDetailsFailure","validateChargeBackRequest","validateChargeBackFailure","raiseChargeBackRequest","raiseChargeBackFailure","chargeBackAgentActionRequest","chargeBackAgentActionFailure","chargeBackMerchantActionRequest","downloadChargebackReportRequest","downloadChargebackReportError","generateChargebackReportRequest","generateChargebackReportError","getActiveChargebackReportRequest","getActiveChargebackReportError","resetFindTransactionForm","resetRaiseChargebackForm","fetchRefundDisputeRequest","fetchRefundDisputeFailure","identifier","searchParameter","chargebackData","chargebackStoreData","selectedTransactionDetails","criteria","reasonCode","rrnNumber","reportedDate","transactionData","raisedChargebackData","transactionModeListMap","REASON_CODE_OPTIONS","REASON_MESSAGE_OPTIONS","chargebackReportDate","setChargebackReportDate","setFileList","PaymentType","transactionSubMode","NETWORK_MAPPING","DISCOVER","getReasonCodeType","reasonMessage","selectedReason","isChargebackRaisedSuccess","RaiseChargeBackComponent","isTransactionPage","transactionPageData","onRaiseSuccess","initialDataTransactionPage","dueDate","set","hour","minute","second","cbStatus","cbLevel","txnId","merchantName","setCurrentStep","isModalOpen","setIsModalOpen","initialRaiseChargebackData","setInitialRaiseChargebackData","handleModalClose","closeImgIcon","merchantCode","toDateString","rrn","TransactionForm","_data$splitPay","statusData","fetchStatus","getRefundTxnRequest","refundTxnData","entityTransactionId","transactionId","payeeVpa","payerVpa","loanAmount","emiAmount","emiBankInterest","emiValue","emiInterestPaid","tenure","getStatus","merchantTxnId","statusCode","splitPay","subOrderId","refund","refundDate","ConditionalComponent","Checkers","checkerList","setRoleStatus","numberOfRecord","setIsResetPage","checker","fetchNotificationEventRequest","fetchNotificationEventError","addCommProfileRequest","addCommProfileError","fetchCommProfileRequest","fetchCommProfileError","updateCommProfileRequest","updateCommProfileError","entityCodes","eventsList","versionData","EditViewComm","commData","selectedTab","notificationEvents","updateCommProfile","selectedMerchant","setSelectedMerchant","merchantOptions","setMerchantOptions","eventOptions","setEventOptions","isViewOnly","setIsViewOnly","formatEvents","eventList","formatMerchant","linkedEntities","allOptionCopy","updatedOn","allMerchants","allMerchantList","merchantList","getAllSelectedMerchant","profile","comments","fetchPaymentLinkRequest","fetchPaymentLinkError","fetchPaymentsRequest","fetchPaymentsError","createPayLinksRequest","createPayLinksError","sharePayLinksRequest","sharePayLinksError","updatePayLinksRequest","updatePayLinksError","viewPayLinksRequest","viewPayLinksError","reSharePayLinksRequest","reSharePayLinksError","fetchMerchantTemplateRequest","fetchMerchantTemplateError","generateReportRequest","linkName","sharebysms","sharebyemail","multiProductDownLink","ViewEditPaymentLink","paymentLinkData","updatePayLink","sharePay","templateDetails","templateInfo","template","isShareMode","communicationDetails","linkDataId","linkDataStatus","validityPeriod","linkDataStatusView","editedBy","editedOn","linkId","amountView","validityPeriodView","sharedCount","txnSuccessCount","productInfo","itemIndex","isMandatory","additionalInfo","templateId","templateFields","getMsg","AddComm","addCommProfile","fetchBinDataRequest","fetchBinDataError","uploadBinFileRequest","uploadBinFileError","searchBinDetailRequest","searchBinDetailError","updateBinDetailRequest","updateBinDetailError","downloadByIdRequest","downloadByIdError","getSearchRecentRequest","getSearchRecentError","uploadNetworkBinFileRequest","uploadNetworkBinFileError","radioOptions","SingleValue","EditBin","updateBin","setSelectedCardType","setCardOptions","getCardNatureOption","binValues","binValuesCopy","cardBinRangevo","isValid","search","untouch","inputEl","BinHeader","useParams","BackIcon","original","ManageBinSearchActions","setActionType","handleCloseOpenActionPopup","isFetch","BinHeadTitle","TableHeadSearch","BinSearch","tableDataSearch","searchedBin","pagination","fetchDataSearch","getSearchDetails","accessor","formatTableData","bankCode","itemCopy","SearchBinHeader","totalNumberOfRecords","RoleVerificationForm","roleCreatedUpdate","roleCreatedDate","roleStatusNew","roleStatusOld","useInterval","callbackFunc","delay","savedCallback","setInterval","clearInterval","fetchTransactionsRequest","fetchTransactionsError","fetchTransactionsStatusRequest","fetchTransactionsStatusError","generateReportSuccess","generateReportError","getActiveReportRequest","getActiveReportError","getRefundTxnError","resetRefunTxn","downloadReportRequest","downloadReportError","resetTxnState","ViewDownloadStatus","isGeneratingData","isCompleteData","reportType","Generating","handleDownload","NoResult","UserMakerView","userCreatedUpdatedName","payLinkOption","setPayLinkOption","auditTrailOption","setAuditTrailOption","mandateOption","setMandateOption","resourcePermissionDetailsOld","resourceDetailOld","roleCreatedUpdatedName","productDetailsErrors","isMultiProductLink","multiProductLink","validity","shareValue","product","productIndex","productError","CreatePaymentLink","createPay","isMultiProductLinkHidden","multiProductLinkHidden","isDefaultShareEnabled","defaultShareEnabled","defaultLinkName","isShareable","getShareableValue","numberToBeAdded","parseFloat","hiddenFields","mandatorySum","totalSum","updatedProductInfo","GetTemplateFields","fieldIndex","validationRule","validator","validatorFunction","PaySummary","summaryData","this","createRow","convertDate","getTransactionStatus","getValidity","dateFormat","ViewPaymentsActions","viewPay","commDetails","sharedLinkId","PaymentLinkHeader","ViewPayments","tableDataTxn","paginationTxn","setPageCount","fetchDataPayments","StringBaseEvent","ArrayBaseEvent","TableBaseEvent","formatColum","allPermission","flatMapPermission","formatCell","tableInstance","headerGroups","headerGroup","getHeaderGroupProps","getHeaderProps","EventData","ViewAuditTrails","dateAndTime","externalIpAddress","eventData","sec2time","timeInSeconds","pad","toFixed","seconds","useOtpTimes","setSeconds","interval","Otp","otpMail","otpId","otpDetails","otpResend","setIsReset","ImageSplitView","splitImg","loginImg","OtpInput","getLegendsOptions","legends","GraphSwitch","defaultType","canSwitch","timeSeriesValues","staticPayValues","chartType","setChartType","selectedLabel","setSelectedLabel","legendsList","getLegendsList","checkTabData","firstValue","CustomTooltip","active","fontWeight","unit","stroke","removeExtra","formatLabel","getColor","getChartKeys","getAllKeys","LineGraph","lineData","top","right","left","bottom","dataKey","tick","fontSize","tickLine","axisLine","tickMargin","line","strokeWidth","isAnimationActive","BarGraph","barData","barGap","maxBarSize","AreaGraph","areaData","stackId","fillOpacity","PieGraph","cx","cy","nameKey","animationBegin","animationDuration","innerRadius","outerRadius","labelLine","midAngle","RADIAN","PI","sin","cos","sx","sy","mx","my","ex","ey","textAnchor","r","x","y","dy","entry","Charts","renderChart","CardWithTab","tabs","setSelectedTab","handleTab","Search","handleSearchSubmit","setSearch","el","onKeyPress","searchSvg","TdWrapper","td","isPercent","StatusTable","disableSortRemove","useSortBy","getSortByToggleProps","isSorted","isSortedDesc","strokeLinecap","strokeLinejoin","getCy","node","clientHeight","SuccessCard","tabData","clientWidth","FailureCard","absoluteValues","tableValues","FAILED_TRANSACTION_COUNT","FAILURE_RATE","sortBy","desc","prevDateValue","startD","endD","formatDateValue","CustomDatePicker","isCustomDate","applyDate","CustomDate","setDateValue","setPrevDateValue","selectedDate","setSelectedDate","setIsCustomDate","handleDateSelect","ChartNoData","narrationConfig","prefix","interim","secondInterim","accountErrors","accountDetails","account","accountIndex","accountError","accountOwnership","accountNumber","ifscCode","bankName","accountHolderName","ediErrors","ediConfInfoList","edi","ediIdx","ediError","debitType","debitFrequency","settlementFrequency","flatAmount","monthlyDebitDate","debitAmountPer","feeType","settlementAmount","settlementAmountType","totalAmount","sameDaySettlementCharge","refundWithNegativeBalanceFlag","refundThreshold","hierarchyCommission","hierarchyCommissionList","disbursementCycle","disbursementTriggerSlot","disbursementInterval","settlementType","settlementParty","fcCommissionType","fundTransferType","sameDaySettlement","odsFeeCriteria","flatFee","prefixType","customPrefixIdentifier","suffixType","customSuffixIdentifier","instantSettlement","interimType","initialBankAccount","initialEDIData","multipleAdditionalDoc","multiple","MerchantReportModal","setModalOpen","selectedReportType","reportParameters","setReportParameters","isMRViewMode","handleCombinedReports","isMRViewModeValue","initialValue","setInitialValue","setError","close","handleClose","DragDropContext","onDragEnd","destination","source","updatedConfiguration","configuration","reorderedItem","reorderedWithSeq","isEnable","seq","prev","Droppable","droppableId","droppableProps","innerRef","param","Draggable","draggableId","isDragDisabled","snapshot","isDragging","draggableProps","dragHandleProps","updated","char","reordered","finalUpdated","toggleEnable","newName","Tooltip","placement","overlay","grayinfo","orangeinfo","validateReports","TermsAndConditions","LOCAL_STORAGE_FIELD_NAMES","COMMON_RESPONSE_HEADER_KEYS","mainAxiosInstance","axios","create","csrfIdentifier","defaults","common","GetIEVersion","sAgent","window","navigator","userAgent","Idx","match","Pragma","Expires","setCsrfInRequestHeaders","toasting","executed","interceptors","response","use","store","Promise","reject","createRequestOptions","headerOptions","withCredentials","fetchaxiosData","apiUrl","post","POST","notStringify","GET","get","API_CREATE_SESSION","API_LOGIN","API_LOGOUT","API_FORGOT_PASSWORD","API_RESET_PASSWORD","API_MARK_USER_ACTIVE","API_IS_LOGGED_IN","API_GET_USER_PROFILE","API_GET_ACCESSIBLE_ITEMS_FOR_USER","API_GET_ALL_USERS","API_CREATE_USER","API_UPDATE_USER","API_CREATE_ADMIN_USER","API_UPDATE_ADMIN_USER","API_GET_ALL_USER_CHECKERS","API_GET_ALL_USER_MAKERS","API_UPDATE_INTENT","API_GET_ALL_ROLES","API_CREATE_ROLE","API_UPDATE_ROLE","API_GET_ALL_RESOURCE_PERMISSION_DETAILS","API_GET_ALL_ROLE_CHECKERS","API_GET_ALL_ROLE_MAKERS","API_FETCH_ENTITY_V2","API_ENTITY_CREATE","API_ENTITY_LIST","API_ENTITY_LIST1","API_SAVE_CONTINUE","API_FORM_IN_PROCESS","API_FORM_DETAILS","API_HIERARCHY_LIST","API_GET_STATIC_INFO","API_GET_PAYMENT_MODES","API_GET_DEFAULT_ROUTING","API_GET_SURCHARGE_SLABS","API_SUBMIT_FORM","API_RETRY_FAILED_MERCHANT_FORM_BY_ID","APT_FETCH_MLE_LIST","APT_CREATE_MLE","APT_UPDATE_MLE","APT_FETCH_MLE_DETAILS","APT_FETCH_MLE_DETAILS_PINCODE","API_FETCH_BD_INPROGRESS_MERCHANT","API_ADD_BD_ONBOARDING_MAKER","service","API_MERCHANT_UPDATE_STATUS","API_GET_MERCHANT_INFO","API_GET_TERMINAL_INFO","API_FETCH_PG_CONFIG","API_FETCH_ROUTER_DETAILS","API_FETCH_SURCHARGE_DETAILS","API_UPDATE_MERCHANT","API_UPDATE_PG_CONFIG","API_UPDATE_SETTLEMENT","API_FETCH_BASIC_DATA","API_UPDATE_ROUTING","API_UPDATE_SURCHARGE","API_UPDATE_SECTIONS","API_FETCH_SECTIONS","API_UPLOAD_KYC_DOCUMENT","API_VIEW_KYC_DOCUMENT","API_FETCH_TRANSACTION","API_FETCH_UNDERLYING_MERCHANTS","API_INITIATE_REFUND","API_GENERATE_REPORT","API_GET_ACTIVE_REPORT","API_DOWNLOAD_REPORT","API_TRANSACTION_STATUS","API_FETCH_REFUND_TXN","API_FETCH_BIN_RECENT","API_BIN_UPLOAD_FILE","API_NETWORK_BIN_UPLOAD_FILE","API_DOWNLOAD_BY_REQUEST","API_SEARCH_BIN_DETAIL","API_BIN_UPDATE_DETAIL","API_RECENT_SEARCH","API_STATIC_DATA","API_FETCH_NOTIFICATION_EVENTS","API_ADD_COMM_PROFILE","API_FETCH_COMM_PROFILE","API_UPDATE_COMM_PROFILE","API_OTP_RESEND","API_OTP_VALIDATE","API_FETCH_MERCHANT_PROFILE","API_UPDATE_PROFILE","API_CREATE_STATIC_QR","API_DELETE_PROFILE","API_SDK_JSON","API_AUDIT_TRAIL_STATIC","API_AUDIT_TRAIL_FETCH","API_FETCH_MIXED_GRAPH","API_FETCH_MULTI_GRAPH","API_FETCH_SINGLE_GRAPH","API_FETCH_SUMMARY_GRAPH","API_HIERARCHY_LIST_MULTI","API_FETCH_PAY_DATA","API_CREATE_PAY_LINK","API_UPDATE_PAY_LINK","API_SHARE_PAY_LINK","API_RESHARE_PAY_LINK","API_LIST_PAY_TRANSACTIONS","API_PAY_LINK_SUMMARY","API_MERCHANT_TEMPLATE_DETAILS","API_SETTLEMENT_LISTING","API_RETRY_SETTLEMENT","API_RETRIGGER_SETTLEMENT","API_FETCH_AVAILABLE_BALANCE","API_FETCH_ODS_FEE_DETAILS","API_PROCESS_ODS","API_FETCH_NET_SETTLEMENT","API_ADD_CHECKOUT_CUSTOMIZATION","API_ADD_CHECKOUT_CUSTOMIZATION_CUSTOM_DETAILS","API_GET_CHECKOUT_CUSTOMIZATION","API_FETCH_MERCHANT_ADJUSTMENTS","API_CREATE_MERCHANT_ADJUSTMENTS","API_GENERATE_ADJUSTMENT_REPORT","API_FETCH_BULK_UPLOAD_RECENT","API_FETCH_BULK_UPLOAD_PREFILLED_FILE","API_BULK_UPLOAD_FILE","API_BULK_UPLOAD_FILE_TRANSACTION_VIEW","API_BULK_UPLOAD_DOWNLOAD_FILE","API_INVOICE_LIST_DETAILS","API_INVOICE_GENERATE_REPORT","API_INVOICE_GENERATE_INVOICE","API_UPDATE_INVOICE_PAYMENT_STATUS","API_DOWNLOAD_BULK_PAYMENT_LINK_PRE_FILLED_FILE","API_FETCH_RECENT_BULK_PAYMENT_LINK","API_UPLOAD_BULK_PAYMENT_LINK_FILE","API_DOWNLOAD_BULK_PAYMENT_LINK_FILE","API_FETCH_MAKER_LIST","API_FETCH_CHECKER_LIST","API_UPDATE_MAKER_REQUEST","API_FETCH_MANDATES","API_GET_ACTIVE_REPORT_MANDATE","API_FETCH_MANDATE_TRANSACTIONS","API_UPDATE_MANDATE","API_CHARGEBACK_STATIC_DATA","API_FETCH_CHARGEBACK_DATA","API_FETCH_CHAREGEBACK_DETAILS","API_VALIDATE_CHARGEBACK","API_RAISE_CHARGEBACK","API_CHARGEBACK_AGENT_ACTION","API_CHARGEBACK_MERCHANT_ACTION","API_GET_ACTIVE_REPORT_CHARGEBACK","API_FETCH_PAYMENT_GATEWAY_CREDENTIAL","API_FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA","API_GET_ACTIVE_REPORTS","API_CHECK_DISPUTE_STATUS","API_REFUND_DISPUTE","API_CREATE_TID_REQUEST","API_FETCH_STATIC_URL","API_BULK_UPLOAD_TERMINAL_ID","API_UPLOAD_AND_FETCH_OCR","API_VERIFY_PII_ACCOUNT_DETAILS","FETCH_PAYMENT_PAGE_DATA","API_LIST_PAY_TRANSACTIONS_PAYMENT_PAGE","API_CREATE_PAYMENT_PAGE","API_GET_PAYMENT_PAGE_DETAILS","API_UPDATE_PAYMENT_PAGE_DETAILS","apiStatusCodes","INTERIM_OPTIONS","initialSettlementTypeOptions","renderAccounts","accountErrorMessage","setAccountErrorMessage","reRenderAccountDetails","FormData","append","s3Path","handleViewClick","open","s3Url","handleAddAccount","len","preAccount","primary","segment","getModifiedErrorMessage","_fields$get$ifscCode","_fields$get$ifscCode2","lastFourDigits","ifscCodeFirstFour","ifscCodeLastFour","handleFileChange","idx","updatedFields","ediDocs","isAddedOnEDI","removeAccount","handleAccountOwnerShip","RenderMultiUpload","docUrls","accountIdx","renderSettlements","setTermsConditionsView","initialData","getBankAccounts","_fields$getAll","allAccounts","has","ediDetails","ediEnable","isEdiEnebled","getSettlementFrequencyData","addSattlement","getIsEmpty","removeSattlement","handleEDIChange","isPreviouslyOn","debitTypes","handleDebitFrequencyChange","toISOString","settlementAmountTypes","settlementTypes","info_image","consent","handleConsentChange","_ref4","setDocUrls","onlySingleFile","SettlementTab","_ref5","_formData$values","_formData$values$narr","_formData$values$narr2","_formData$values2","_formData$values2$nar","_formData$values2$nar2","_formData$values3","_formData$values3$nar","_formData$values3$nar2","_formData$values4","_formData$values4$nar","_formData$values4$nar2","_formData$initial2","_formData$initial2$od","_formData$values7","_formData$values$same","_formData$values$same2","_formData$values$same3","_formData$values8","_formData$values8$nar","_formData$values8$nar2","_formData$values9","_formData$values10","_formData$values10$na","_formData$values10$na2","firstCall","isShowModalAccount","setIsShowModalAccount","isShowModalSettlement","setIsShowModalSettlement","settlementErrorMessage","setSettlementErrorMessage","switchState","setSwitchState","isSettlementEnable","isPayableEnable","isZeroSettlementEnabled","customError","setCustomError","interimOptions","setInterimOptions","secondInterimOptions","setSecondInterimOptions","formValues","setFormValues","formConfirmation","setFormConfirmation","oldFormData","setOldFormData","modalOpen","setIsMRViewMode","setSelectedReportType","termsConditionView","settlementConfirmation","setSettlementConfirmation","settlementTypeOptions","setSettlementTypeOptions","nextSettlementType","checkHierarchy","finalReports","setFinalReports","_settlementSection$da","_draftData$data","_settlementSection$da2","_draftData$data2","_draftData$data3","defaultReports","parameters","fetchMerchantData","isAncillaryFeeEnabled","isUnifiedMsr","formvalues","_values$sameDaySettle","_values$sameDaySettle2","_values$sameDaySettle3","_values$sameDaySettle4","odsFlag","isPrimeryAcc","isDuplicateAcc","j","setMdr","fcCommissionType2","pre","handleSettlementChange","odsActivation","previousSettlement","_formData$initial","_formData$initial$ods","odsConfigInfo","odSfeeInfo","_formData$values5","_formData$values5$sam","_formData$values6","_formData$values6$sam","preData","TermsConditions","onCloseConfirmation","onShowModalConfirmation","disbursementCycles","disbursementIntervals","disbursementTriggerSlots","settlementChangeDate","settlementTypeApplicableDate","today","nextMonth","padStart","getDate","commissionHierarchy","SettlementForm","callbackFunction","userComment","setUserComment","setIsDisabled","settlementId","utr","grossAmt","refundAmt","fee","settlementStatus","netSettlementAmount","settlementMode","repeatSettlementHandler","retrySettlementHandler","retrySettlementRequest","executionIds","timeStamp","retriggerSettlementRequest","executionId","fetchAdjustmentsRequest","fetchAdjustmentsError","createAdjustmentRequest","createAdjustmentError","createAdjustmentReset","adjustmentType","adjustmentCategory","merchantAdjAmount","creditAdjustmentCategory","debitAdjustmentCategory","AdjustmentForm","adjustmentsData","createAdjustment","adjustmentCategoryOptions","setAdjustmentCat","adjustmentOptions","marginLeft","displayRefId","ViewDownloadGeneric","ViewAdjustment","adjustmentcategory","adjustmentId","adjustmentAmount","remark","altTitle","MONTHS","OPERATION","TYPE","ERROR_MESSAGE_ENUM","isFutureDateAllowed","lowerYear","setLowerYear","lowerMonth","setLowerMonth","upperYear","setUpperYear","upperMonth","setUpperMonth","isError","setIsError","setIsOpen","isValidTransition","lowerDate","upperDate","currentDate","updateMonthSelected","monthIndex","newLowerMonth","newLowerYear","newLowerDate","newUpperDate","newUpperMonth","newUpperYear","handleYearChange","operation","valueToAdd","inputLowerMonth","inputLowerYear","inputUpperMonth","inputUpperYear","singleAdditionalDoc","multiField","newDocMap","KYCTab","makerCheckerData","additionalDocs","setAdditionalDoc","BR","MEA","WEB_CRAWLING","websiteUrl","groupedFields","chunkArray","chunkSize","group","groupIndex","PageTableMessage","imageSrc","NO_DATA_FOUND","TableContent","noDataError","noDataFoundError","columnData","keyIndex","errorImage","ERROR","range","start","end","TablePagination","onPageChange","siblingCount","customClassName","totalPageCount","paginationRange","leftSiblingIndex","rightSiblingIndex","shouldShowLeftDots","shouldShowRightDots","lastPageIndex","useCustomPagination","lastPage","pageNumber","isResetClicked","setIsResetClicked","dropdownRef","handleOutsideClick","contains","addEventListener","removeEventListener","handleCheckboxChange","toggleOption","DateRange","handleFilterSubmit","renderFields","getDefaultValues","MainTable","isPaginationEnabled","filters","setCurrentPage","setFilterData","dateRange","PageTable","TableHead","tableHeading","rightComponent","customTableHeadClass","TextCopy","itemCustomClass","clipboard","writeText","CopyIconImg","DocumentView","ViewIconImg","Description","DescriptionItems","DownloadFileGeneric","showDownloadPopup","setShowDownloadPopup","generateData","fetchSettlementRequest","fetchSettlementMetricsRequest","retrySettlementError","retriggerSettlementError","fetchAvailableBalanceRequest","fetchAvailableBalanceError","fetchNetSettlementRequest","fetchOdsDetailsRequest","handleSuccess","fetchOdsDetailsError","fetchProcessOdsRequest","fetchProcessOdsError","SettlementSuccessModal","_settlementData$settl","_settlementData$settl2","handleSuccessClose","settlementData","removeIcon","tickIcon","settledAmount","_settlementData$avail","_settlementData$odsFe","_settlementData$odsFe2","_settlementData$odsFe3","_settlementData$odsFe4","_settlementData$odsFe5","_settlementData$odsFe6","_settlementData$odsFe7","_settlementData$odsFe8","_settlementData$odsFe9","_settlementData$odsFe10","_settlementData$odsFe11","availableBalance","totalSettlementAmount","availableBalanceError","availableBalanceLoading","odsPageLoader","processLoader","setIsSuccess","handleRefresh","associatedEntityId","handleOpen","odsFeeDetails","minOdsAmount","odsFee","root","zIndex","opacity","infoIcon","amountTobeSettled","handleSettlement","handleProcessODSSuccess","handleResetSection","SelectSearch2","terminalIDBulkUploadRequest","handleError","fetchTIDRequest","fetchTIDError","addTIDMakerRequest","getTerminalInfoRequest","getTerminalInfoError","fetchEntityHierarchySuccess","resetTerminalData","fetchStaticURL","fetchStaticUrlError","resetMerchantData","resetHList","terminalName","paymentCategory","settlementAccountRefence","terminalCount","hList","agr","fra","fraList","mleList","mid","midList","initialStatusOptions","TerminalTab","terminalsData","_terminalsData$static","terminalId","tidEditData","tidError","merchantError","setMerchantError","preTerminalData","setPreTerminalData","isUpdateAllowed","setIsUpdateAllowed","accounsList","setAccountsList","isAlert","setIsAlert","alertMessage","setAlertMessage","merchantStatus","setMerchantStatus","terminalStatus","accountNumbers","maskedAccountNumbers","payment","isUPI","linkedEntityInfoList","jsonResponse","merchantDetails","terminalIdInfo","parentSettlementAccountNumber","_jsonResponse$merchan","newHlist","_entityList$type$toLo","_item$key","handleAlertOk","bulkGenerate","staticQr","terminalVpa","terminalCode","overlayStyle","staticQrString","marginTop","QRCodeWithCopyDownload","qr","subMerchantVpa","Timelinev1","heading","checkGreen","copied","setCopied","qrCodeRef","then","catch","err","blob","Blob","Uint8Array","atob","createObjectURL","download","revokeObjectURL","amountRange","userInput","fetchPaymentPageRequest","fetchPaymentPageError","createPaymentPageRequest","handleSuccessClick","createPaymentPageError","getPaymentPageDetailsRequest","updatePaymentPageDetailsRequest","updatePaymentPageDetailsError","_values$purpose","purpose","amountType","callBackUrl","userDefineFields","userDefineFieldsError","fieldError","hasName","hasType","hasValidators","DatePickerWrapper","DateTimePicker","onSetDateTime","showTimeSelect","timeIntervals","setDate","toDate","minTime","isSame","newDate","disabledKeyboardNavigation","timeFormat","timeCaption","maxTime","setHours","placeholderText","PreviewModal","onClose","dangerouslySetInnerHTML","__html","paymentInfo","_field$name","_field$name2","_field$name3","_field$name4","suggestedFields","RenderUserDefineFields","fieldNameErrorMsgs","setFieldNameErrorMsgs","showSuggestions","setShowSuggestions","inputRefs","onMouseEnter","newShowSuggestions","onMouseLeave","validateFieldName","newErrors","suggestion","handleSelectSuggestion","insert","deleteImage","PaymentPageTab","paymentPageData","_paymentPageEditData$","_paymentPageEditData$2","_paymentPageEditData$3","paymentPageEditData","isPreview","setIsPreview","setDesc","templates","systemDefineFields","showAdditionalSettings","setShowAdditionalSettings","setStatus","descError","setDescError","linkData","setLinkData","dateOfPaymentPage","setDateOfPaymentPage","changeAmountTypeCount","setChangeAmountTypeCount","setErrorMsg","handlePreviewClick","showSuccessModal","successData","quillRef","editor","getEditor","on","getText","deleteText","getLength","innerHTML","_paymentPageEditData$4","_paymentPageEditData$5","_paymentPageEditData$6","_paymentPageEditData$7","_paymentPageEditData$8","_paymentPageEditData$9","updatedRequest","formId","selectedAmountType","ReactQuill","theme","minDate","ViewEditPaymentPage","_data$template","_data$productInfo","_Object$keys","isActive","setIsActive","setLoading","pageId","validTill","newStatus","reload","toggleSwitch","linkDataList","createdDate","successCount","dataId","successSum","convertDateTime","timestamp","toLocaleString","timeZone","hourCycle","_viewPay$linkDataList","_viewPay$linkDataList2","setMerchantId","HeaderLayout","SidebarLayout","Login","checkOtp","redirectPath","resetLoginError","ForgotPassword","resetForgotError","forgotImg","newPassword","confirmPassword","passwordRules","SetPassword","passwordRulesOpts","setPasswordRulesOpts","showStrengthTooltip","setShowStrengthTooltip","linkToken","pageType","URLSearchParams","resetError","resetImg","updatedRulesOpts","rule","greenTick","baseUrl","formatPayModeInitialData","formatIntegrationInitialData","draftDataValue","securityValue","getDefaultSecurityValue","baseUrlEdit","baseUrlView","onboardingProcessEdit","merchantOnboardingPermissions","processStepsList","sortedField","mandatory","sortedFieldMapped","previousIndex","nextIndex","previousSectionData","nextSectionData","getDraftData","routePath","completedSection","lastSelected","unloadRoute","returnValue","tab","Route","exact","setOnBoardSteps","isEditOnly","onSetId","tableType","reduxActions","handleEditView","filterFieldList","setEditData","MerchantOnboard","handleCreateMerchant","columnsDraft","columnsInactive","fetchDataDraft","fetchInactiveData","retryForm","handleBackClick","handleEditId","UserActionsMob","DraftAction","BDInprogressAction","filterValues","resetValue","CreateMerchant","EditViewMerchant","resourceDetailToFormData","UserActionsRole","RoleManagementActionsMaker","RoleManagement","makerData","makerPagination","pendingColumns","pageSizeMaker","setPageSizeMaker","pageCountMaker","setPageCountMaker","fetchDataMaker","UserManagementActions","UserManagementActionsMaker","UserManagement","fetchVerifiedUserRequest","fetchVerifiedUserError","UserVerificationActions","UserVerification","userVerificationData","searchKeyList","TransactionsActions","fetchTxnError","Transactions","generatedFile","activeReports","isLive","searchKey","setSearchKey","selectedAggregator","handleAggregatorSelect","setMerchantFilter","setAggregatorFilter","handleViewDownloads","TableSearch","DownloadFile","handleCloseViewDownloads","aggregatorId","filterSubmitHandler","filterFieldListView","PaymentLinkActions","PaymentLink","filterDataView","setFilterDataView","showFilter2","setShowFilter2","handleViewDownloadsTwo","handleCloseViewDownloadsTwo","fetchAuditTrailRequest","fetchAuditTrailError","AuditTrailActions","AuditTrail","auditTrailData","staticEvents","setActionFilters","RefundActions","isRefund","Refund","ComTabs","tabList","CommProfileActions","AddActions","tabName","getTabName","CommProfile","headerName","getHeaderName","webhook","sms","getTableData","filePlaceHolder","uploadFile","selectedFile","setSelectedFile","SearchBar","DownloadIcon","networkOptions","BinFormatting","binType","issuerBinFile","ManageBinActions","downloadRequest","requestStaus","getDisableClass","fileTypeEnum","ManageBin","columnsRecent","RoleVerificationActions","RoleVerification","resetStaticQrData","createStaticQrRequest","createStaticQrError","fetchProfileDetailsRequest","fetchProfileDetailsError","fetchProfileJSONRequest","fetchProfileJSONError","updateImageRequest","updateImageError","deleteImageRequest","deleteImageError","resetImageSuccess","ImageDropZone","onFileChange","currentImg","inputError","setImgSrc","isDragActive","reader","FileReader","readAsDataURL","onloadend","dragMsg","PictureIcon","ProfileEdit","getProfileData","deleteImageData","updateImage","resetImage","selectedImg","setSelectedImg","checkoutLogoUrl","setInputError","handleBrowse","isDirectFile","inputValidate","checkValidation","Cross","encType","Profile","profileData","sdkData","createStaticQrData","staticQREnabled","isPopupOpen","setIsPopupOpen","onStaticQrPopupClose","getImageUrl","Rupay","Visa","MasterCard","Amex","LogoDefault","getRmName","rmName","bankData","getBankName","sdkList","fileUrl","handleDownloadSdk","filePath","imgPath","fetchMixedGraphRequest","fetchMixedGraphError","fetchMultiGraphRequest","fetchMultiGraphError","fetchSingleGraphRequest","fetchSingleGraphError","fetchDashboardSummaryRequest","fetchDashboardSummaryError","resetDashboardRequest","fetchMultiEntityHierarchyRequest","fetchMultiEntityHierarchyError","_options$","getEntityIds","formatOptions","underlyingMerchantID","Dashboard","summary","singleGraph","GMV","STATUS_TREND","TRANSACTIONS_COUNT","paymentModeWise","failures","selectedMerchantID","setSelectedMerchantID","dateValue","merchantOptionsID","setMerchantOptionsID","aggregatorOptions","setAggregatorOptions","setSelectedAggregator","_entityList$aggregato","_entityList$merchants","formattedMerchants","_entityList$merchants2","currentUserEntity","defaultSelectedMerchant","merchantListID","memoMerchantData","memoMerchantDataID","memoAggregatorData","fetchDasboardData","graphIdentifier","merchantIds2","aggregatorIds","entityIds","parsedAggregatorVal","TotalGmv","TransactionCount","SUCCESSFUL_TRANSACTION_COUNT","Transaction","SuccessRate","lineLoader","barLoader","lineBigLoader","InfoSvg","ErrorPage","resetErrorBoundary","isDateRangeFieldRequired","dateRangeFieldName","isDownloadButtonDisabled","unix","isMultipleMerchantsSelected","msrReportMetadata","entityNames","entityID","isGenerateButtonDisabled","isMultipleMerchant","isDateRangeField","addProp","configOptions","isResetDate","CurrentDaySummary","dataLen","settlementIds","SettlementActions","generateReport","settlementAcc","settlementDate","entityGSTIN","entityState","payableEntityId","payableType","handelCallbackFunction","Settlement","dailySettlementMetrics","setIsResetDate","formatMerchantIDs","formatOptionsID","OdsCard","primaryColor","themesOptions","fetchCheckoutDetailsRequest","fetchCheckoutDetailsError","addCheckoutDetailsRequest","addCheckoutDetailsError","Checkout","checkoutData","hasEntityFetched","headerLogoSelectedFile","setHeaderLogoSelectedFile","headerLogoSelectedImg","setHeaderLogoSelectedImg","headerLogo","headerLogoInputError","setHeaderLogoInputError","loaderSelectedFile","setLoaderSelectedFile","loaderSelectedImg","setLoaderSelectedImg","loaderInputError","setLoaderInputError","onRemoveFile","checkoutUiData","primaryCheckoutColor","headerLogoUrl","loaderUrl","addCheckout","updateCheckout","MerchantAdjustmentAction","MerchantAdjustments","createAdjustmentRef","onClickCreateAdjustment","searchQuery","handleCloseViewDownload","CreateAdjustmentForm","fetchBulkRefundDataRequest","uploadBulkUploadFileRequest","uploadBulkUploadFileError","fetchBulkRefundFileTableDataByIdRequest","fetchBulkRefundFileTableDataByIdError","downloadBulkRefundFileByIdRequest","downloadBulkRefundFileByIdError","downloadBulkRefundPreFilledFileRequest","UPLOAD_FILE_STATUS_ENUM","SAMPLE_FILE_SCHEMA","statusLabel","fileUploadStatus","FilterPopupUp","showPopUp","customComponent","bulkRefundData","_auth$userDetails2","_auth$userDetails3","setShowPopUp","uploadFileLabel","setUploadFileLabel","uploadFileStatus","setUploadFileStatus","togglePopUp","handleDownloadSampleFile","generateCSVFromArray","csvArray","csvfileName","csvContent","encodedUri","encodeURI","DownloadPreFilledFileFilter","ManageBulkRefundActions","totalRecordCount","totTxnAmt","selectedBulkUploadFile","selectedBulkUploadFileTableData","BulkRefund","fetchUpdatingMerchantRequest","fetchUpdatingMerchantError","merchantOnBoardStatusData","userEmailId","MerchantOnboardStatus","INVOICE_PAYMENT_STATUS","INVOICE_SETTLEMENT_TYPES","fetchInvoiceDataRequest","fetchInvoiceDataError","updateInvoicePaymentStatusRequest","updateInvoicePaymentStatusSuccess","updateInvoicePaymentStatusError","updateInvoicePaymentStatusReset","generateInvoiceReportRequest","generateInvoiceReportError","generateInvoiceReportSuccess","generateInvoiceRequest","generateInvoiceError","InvoicePaymentStatusChange","invoiceData","onUpdateStatusSuccess","invoicePeriod","paymentStatus","invoiceDate","invoiceNumber","grossAmount","totalFee","totalGst","totalValue","isSuccessfulRefund","isStatusLoading","statusUpdateError","buttonTitle","invoicePaymentDate","setInvoicePaymentDate","ManageInvoiceActions","handleCloseDataActionPopup","s3path","invoiceURL","setPageIndex","displayValue","fetchFilterData","Invoice","fetchLinkIdForPreFilledFileRequest","fetchRecentBulkPaymentLinkRequest","fetchRecentBulkPaymentLinkFailed","uploadBulkPaymentLinkFileRequest","downloadBulkPaymentLinkFileRequest","bulkPaymentLinkData","BulkPaymentLink","fetchMakerRequest","fetchMakerError","getTextData","isNestedRenderingAllowed","GetValuesRender","renderAccountAndEDI","verified","MerchantView","IntegrationView","PaymentTable","PayModeView","simpleFields","SettlementView","accountDetail","extractHeaders","flatMap","report","warn","msrHeaders","MSR","mtrHeaders","MTR","secondInterimType","cellPadding","cellSpacing","borderCollapse","FeeView","paySlabId","feeEntityId","conditionTrue","SurchargeView","KYCView","additionalDoc","additionalDocIndex","CredentialTable","encryptionKey","soapKey","PGConfigurationView","pgStaticData","RoutingSectionDetails","pgPercentageKeys","RoutingView","NotificationView","OnBoardingView","onboardingData","transformedData","pgConfigurationSection","dynamicRoutingSection","MakerDetailsView","createdAt","makerRequestId","CheckerApprovalForm","requestDetails","isBDOnboarding","checkerRemarks","setComment","isApproved","setIsApproved","goLive","metaDataRequest","isLiveEnabled","remarkBy","success","_error$response","_error$response$data","TerminalView","accountNo","kycSectionData","getComponent","CheckerActions","setSelectedData","handleOnClick","selectedData","handleCloseView","handleViewOpen","CheckerView","ImageViewModal","selectedDocument","setSelectedDocument","removeImg","downloadImg","mleFields","legalName","fieldValidations","alphaValid","place","brandName","pinValid","district","address","panUpload","reqname","maxFileSize","panValid","panName","panDate","gstUpload","reqName","gstValid","companyId","haveNumberValid","turnoverAmount","rangeValid","emailValid","websiteURLs","urlValid","telephoneNumbers","numericValid","mobileValid","appLink","verifyPan","verifyGst","UBO_SECTION_TYPE","uboDeclarationUrls","uboFields","uboActive","default","uboName","uboAddress","uboDistrict","uboState","uboPincode","uboPoA","uboEmail","uploadUboPoA","SliderContent","activeIndex","sliderImage","slide","Arrow","prevSlide","nextSlide","Dots","Slider","sliderImages","handleDeleteFile","setActiveIndex","MultiImageViewModal","multiDocuments","setMultiDocuments","data-ride","fetchKycDocsS3Details","_data","updateDataToArr","uboFormDefaultSetData","uboSubmitDataFormat","intentId","_requestData$data6","ubodeclarationsFile","uboDetails","uboPanUpload","panurl","addressFile","dob","dateData","timezoneOffset","originalDate","adjustDateToTimezone","fetchFieldValue","resp","_name$split","nameHierarchy","setFieldValue","allowedImgExtensions","defaultOption","defaultOptionDoc","docName","docType","FIELD_TYPES","setIsUploading","handleUploadKycImage","formName","isAllErrorFixed","toastShown","isPanVerifyDisable","piiData","panUploaded","documentDetails","_documentDetails$panN","_documentDetails$name","_documentDetails$dob","panNumber","panError","VERIFIED","isSaveSubmitDisable","isPiiVerified","_isPiiVerified$PAN","_isPiiVerified$GST","panVerify","verifiedStatus","gstVerify","handleVerifyPiiAccount","setIsPiiVerified","setIntentId","verificationId","accountIdentifier","gstUploaded","_documentDetails$dob2","_documentDetails$panN2","_documentDetails$name2","panData","verifyPanDetails","kycMetaData","_documentDetails$gstN","_panUploaded$document","verifyGstDetails","_data6","_data$errorMessage2","verifyAccountDetails","getActiveCount","activeCount","checkPiiData","addActiveUboField","UBO_ACTIVE_FIELDS","updateIsInvalidButton","setInvalidButton","flag","curr","handlePiiUpload","setPiiData","_data5","_data$errorMessage","fetchPiiData","setData","initialValueUploadData","fatherName","setInitialPiiData","gstData","_fields$gst","_fields$gst2","_fields$gstUpload","gstUrl","setInitialVerifiedData","_piiData$PAN","_piiData$PAN$document","_piiData$PAN$document2","_fields$gst3","_checkData","checkData","_data$status","_data$key$replace$rep","_data$key$replace$rep2","redClassRemarksCond","_unused","handleViewClickReturnUrl","getFileListUrls","urls","urlList","MultiViewChecker","multiViewDocument","setMultiViewDocument","fetchViewUrl","headingKeysCheckerView","clubbingDetails","keyList","updateList","flattenUboObject","currObj","flattenedArr","flattenObjitem","formatLabels","labelsName","lastWord","customLabelNames","fieldCustom","orderedData","customSequence","setDataCheckerRemark","checkerRemarksData","flattenedData","_item$status","fetchKey","multiVal","dataVal","clientValue","clientLabel","clubKey","flattenObjectEntries","sortedEntries","transformCheckerData","transformCheckerResponse","transformedDataitem","updatedtransformedDataitem","cleanCheckerRemarks","_remarksItem$key","remarksItem","isHeading","MerchantDetailsView","additionalData","handleCheckerRemarksData","fieldsWithViewLink","flattenObject","parentKey","newKey","merchantDetailData","setMerchantDetailData","updateCheckerRemarks","updatedData","handleAction","_data$original","_data$original2","_data$original3","_data$original4","_data$original5","handleRemarks","RiskDetailsView","_additionalData$child","_additionalData$child2","childCheckerResponseList","isObject","selectedCheckerRemarksData","riskDetailData","setRiskDetailData","_data$original$key","_data$values","_data$values$value","OwnershipDetailsView","ownershipDetailData","setOwnershipDetailData","uniqueName","MyTooltip","getCheckerRemark","trigger","SingleUpload","handleUploadImageAndGetUrl","setFileListUrl","all","fetchS3Url","handleViewClickBtn","FileUploadField","_fetchFieldValue","itemInfo","resetFieldError","prefixReqName","clearedClicked","multi","itemReqName","setFileUrl","remarkKeyName","maxDocCount","jiraLink","setJiraLink","expiryDate","setExpiryDate","setRemarks","MleCheckerApprovalForm","raisedToLevel","loggedInUserLevel","buttonAction","setButtonAction","approveDisable","setApproveDisable","normalizedCheckerRemarks","transformedCheckerRemarks","isApproveRejectDisable","normalizedRemarks","firstRadioButton","scrollIntoView","behavior","block","unselectedRadioIndex","unselectedRadio","invalidCheckerRemarksIndex","invalidRemarkInput","classList","validateCheckerRemarks","UboDetailsAccordion","uboDetailsitem","uboDetailsindex","OwnershipDetailsAccordion","_additionalData$child3","_additionalData$child4","_additionalData$child5","_additionalData$child6","_additionalData$child7","_additionalData$child8","_additionalData$child9","_additionalData$child10","_additionalData$child11","setCheckerRemarksData","setTransformedData","DataArray","transformedDataOne","checkerRemarksitem","_checkerRemarksitem$k","_checkerRemarksitem$k2","hierarchyArr","transformedItem","hierarchyArrLen","hierarchyArritem","hierarchyArrindex","transformedDatatwo","transformedDatathree","flattenUboDetailsItem","convertArrayToObject","approvalLevel","requestCheckerData","BusinessDetailsAccordion","setFieldsWithViewLink","currentEventType","currentMakerRequestId","checkerLevel","mutateMleDataMerchant","_data$telephoneNumber","_data$mobileNumbers","_data$PREFIX_KYCURLS","mobileNumbers","panValue","_data$PREFIX_KYCURLS2","_data$PREFIX_KYCURLS3","gstUrlValue","uboDetailsItem","uboDetailsIdx","getMakerData","_checkerRemarks","requestedData","formIdentityData","makerCheckerResponse","_makerCheckerResponse","userActionStatus","updatedRemark","convertCheckerRemarks","generalValidationFunction","idxName","itemData","aadharValid","basicData","EXCEED","mandatoryDocs","_values$KYC_FILES","_values$PREFIX_KYCURL","_values$PREFIX_KYCURL2","valueExist","Address","setPinCodeDetails","pinCodeDetails","disablePinFields","setDisablePinFields","fieldEditable","setFieldEditable","stateName","districtName","_pin$toString","handlePinValue","_pin$toString2","_pinData$basicSection","fieldValue","pinData","_data2","fetchPinCodeDetails","basicSectionData","removeDuplicates","array","seen","districts","VerifyButton","isVerified","PanOcr","_piiData$PAN2","_piiData$PAN2$documen","_piiData$PAN2$documen2","_piiData$PAN3","_piiData$PAN3$documen","_piiData$PAN3$documen2","_piiData$PAN4","_piiData$PAN5","_piiData$PAN6","_piiData$PAN7","_piiData$PAN8","_isPiiVerified$PAN2","itemCount","clearClicked","panNumbers","setPanDate","isPanVerified","isPanVerifyButtonDisable","piiCode","customClasses","merchantLegalEntityData","_piiData$GST","_piiData$GST2","_isPiiVerified$GST2","mutateFormData","setKycDocsList","setKycListUpdated","constitutionTypes","turnOverData","_merchantLegalEntityD","fetchDataFromReducerObject","basicFormDataList","setBasicFormDataList","setRetryCount","setBasicFormData","_mutateFormData$value","handleChangeBusinessType","_kycDocs$basicSection","_kycDocs$basicSection2","_kycDocs$basicSection3","_kycDocs$basicSection4","kycDocs","constitutionTypesDocuments","partiallyMandatoryDocs","_data3","fetchBasicDataBusinessDetails","_data$basicSectionDat","_data$basicSectionDat2","_basicFormDataList$co","_documentDetails$gstN2","_documentDetails$gstN3","_documentDetails$gstN4","formattedConstitutionData","maximum","minimum","isGstVerifyDisable","fetchMerchantLegalEntityRequest","fetchMerchantLegalEntityFailure","createMerchantLegalEntityRequest","createMerchantLegalEntityFailure","fetchMerchantLegalEntityDetailsRequest","fetchMerchantLegalEntityDetailsFailure","fetchMerchantLegalEntityDetailsPincodeRequest","fetchMerchantLegalEntityDetailsPincodeFailure","editMerchantLegalEntityRequest","editMerchantLegalEntityFailure","resetMerchantLegalEntityFormReset","fetchBasicFormDataProcess","fetchBasicFormDataFailure","saveAndContinueRequestV1","saveAndContinueSuccessV1","saveAndContinueFailedV1","resetSuccessKey","resetFormDataMLE","fetchMLEFormInProcessRequest","fetchMLEFormInProcessError","submitRequestCallMle","submitFailureMle","removeRedirectKey","BusinessTab","kycStatus","_kycDocsList$mandator","_kycDocsList$mandator2","_kycDocsList$partiall","_kycDocsList$partiall2","initialIntentId","isUploading","kycDocsList","partialMandatoryDocs","kycListUpdated","formEvents","section_type","updatedPayload","_requestData$data","_requestData$data2","_requestData$data3","emails","merchantType","panDetails","dateOfIncorporation","gstUploadFile","_requestData$data4","_requestData$data5","mleSubmitDataFormat","MleInformation","multiDocs","_mutateFormData$value2","UboActiveField","_activeCount$index","setActiveCount","isToggled","setIsToggled","handleToggle","UboInputFields","poaOptions","setInvalidSubmit","uboFormData","setPanNumbers","panFields","setClearClicked","addressFields","panList","isUboTabNotEmpty","UboInputs","_generalValidationFun","validationObject","panArrays","_values$UBO_ACCORDIAN","_values$UBO_ACCORDIAN2","errorData","UobTab","setPoaOptions","_uboFormData$values","_uboFormData$values2","_uboFormData$values2$","_uboFormData$values$u","fetchUboActiveFlag","invalidSubmit","handlePoaUploadOptions","isFormSubmitted","_fetchData$basicSecti","_data4","fetchOwnershipDetails","ProofOfAddresses","enableCount","tabname","makerRequestData","makerSteps","_getMakerData","_getMakerData2","MakerRoute","Maker","EditAndViewMaker","fetchCheckerRequest","fetchCheckerError","CHECKER_EVENT_TYPES","fetchMleSectionData","getCheckerData","addtionalData","_draftData","_draftData$panDetails","businessRequestedData","isCheckerSectionDataExist","checkerData","isCheckerActionable","RiskDetailsAccordion","checkerRequestData","BusinessDetailsAccordian","RiskDetailsAccordian","_checkerRequestData$c","isTabDataAvailable","eventTypeName","MleRequestedApprovalRoute","Checker","MleRequestedApprovalView","fetchMandatesRequest","fetchMandatesError","fetchMandatesTransactionListRequest","fetchMandatesTransactionListError","updateMandateStatusRequest","resetMandateTransactionList","downloadMandateReportRequest","downloadMandateReportError","generateMandateReportRequest","generateMandateReportError","getActiveMandateReportRequest","getActiveMandateReportError","MANDATE_CUSTOMER_DETAILS_MAP","MANDATE_BILLING_DETAILS_MAP","MANDATE_BILLING_DETAILS_BASIC_MAP","MANDATE_COLUMNS","useInfiniteScroll","hasNextPage","loadMore","scrollTriggerGap","isFetching","setIsFetching","scrollContainerRef","handleScroll","container","scrollTop","scrollHeight","isUpdating","mandateProductRefId","allowedActions","productState","mandateData","billingDetails","mandateTransactionData","setPageNo","newPageNumber","fcLoader","overflowY","maxHeight","txnDetail","txnDetailIndex","CalendarImage","executionDate","MandateActions","Mandate","getColumns","priority","showDownload","setShowDownload","filterInfo","setFilterInfo","chargebackId","happyFaceImage","subChargebackDetails","transactionDescriptionData","chargebackAgentAction","chargebackMetaData","currentChargebackLevel","chargebackLevel","getLevelOptions","ChargeBackModalComponents","META_INFO_ENUM","TRANSACTION_INFO_ENUM","ChargeBackStatusView","chargeabckLevel","chargebackReduxData","charegebackDetailsData","chargebackMerchantAction","popUpComponent","setPopUpComponent","selectedSubChargeback","setSelectedChargeaback","fullyAccpetConfirm","setFullyAccpetConfirm","resetDetailsPage","isMerchantActionSuccess","isChargebackAgentAction","metaDescriptionData","goBack","agentAction","cbId","txnRefNumber","updateCbDueDate","deadline","merchantAction","merchantRemarks","disputeDetails","disputeId","isDisputeUpdatedSucessfully","disputeRefund","Chargeback","singleValueFields","multipleValuesFields","onlySingleValue","singleUploadFields","singleMultipleUploadFieldsIndividual","singleMultipleUploadFieldsSoleProp","multipleUploadFields","uboSingleUploadFields","MERCHANT_TIMELINE_STATUS","handleDraftClick","MleUserActions","DownloadActions","handleDownloadClick","convertToCSV","it","filename","csv","a","downloadCSV","getTime","MleDraftAction","_auth$resourceDetails","_auth$resourceDetails2","_auth$resourceDetails3","_auth$resourceDetails4","isClickable","mle_onboarding","_auth$resourceDetails5","_auth$resourceDetails6","aadharNumber","fieldErrorList","fieldValueIndex","renderSingleField","_configuration$props","isMultiLevelField","previousLevelId","selectedBusinessType","removeAll","handleAddButtonClick","_configuration$props2","_configuration$props3","_configuration$props4","_configuration$props5","uboDetailsInput","getUboDetails","UBOForm","onRemove","removeIndex","uboDate","setuboDate","uboDatefocusedInput","setuboDateFocusedInput","multipleDocUrls","setMultipleDocUrls","panDocs","proofOfAddress","selfie","initlalMultipleDocUrls","displayFormat","_ref6","_merchantLegalEntityD16","_merchantLegalEntityD17","CERTIFICATE_OF_INCORPORATION","CANCELLED_CHEQUE","MEMORANDUM_OF_ASSOCIATION","PARTNERSHIP_DEED","BO_DECLARATION","BO_ADDRESS","PRIVACY_POLICY","BO_IDENTITY_PROOF","PROOF_OF_ADDRESS","SHOP_PICS","RESOLUTION_OF_THE_MANAGING_BODY","PROOF_PRINCIPLE_PLACE","AGREEMENT","NGO_REGISTRATION","WEBSITE_TERMS_AND_CONDITION","REFUND_POLICY","CUSTOMER_GRIEVANCE_POLICY","ARTICLE_OF_ASSOCIATION","AUTHORISED_SIGNATORY_ADDRESS","PROOF_BUSINESS_1","PROOF_BUSINESS_2","AUTHORISED_PAN","REGISTRATION_CERTIFICATE","LISTS_OF_PEOPLE","TRUST_DEED","POWER_OF_ATTORNEY","UNI_CA_MOA_PARTNERSHIP_DEED","JURIDICAL_PERSON_MOA","RBI_LICENSE","CHANNELS","LOB_VERIFICATION","OWNERSHIP_CHECK","RESTRICTED_STATES","TRACK_RECORD_1_YEAR","UNDERTAKING_MERCHANT_2","MAIL_APPROVAL_SCREENSHOT","AUTHORISED_SIGNATORY_SELFIE","AUTHORISED_SIGNATORY_PAN","ALL_MCA_PRODUCTS","MCA_REGISTRATION","COPYRIGHT","WEBSITE_REDIRECTION","MERCHANT_APPLICATION_FORM","BANK_PROOF","PERMANENT_ACCOUNT_NUMBER","expirytDate","setDateOfIncorporation","dateOfIncorporationfocusedInput","setDateOfIncorporationFocusedInput","authorisedSignatoryDob","setAuthorisedSignatoryDob","authorisedSignatoryDobInput","setAuthorisedSignatoryDobInput","setErrors","setSelectedBusinessType","pinCodeValue","setPinCodeValue","handleBusinessTypeChange","fieldRef","_merchantLegalEntityD3","_merchantLegalEntityD4","_merchantLegalEntityD2","requiredFieldsByBusinessType","getFilteredSingleUploadFields","filteredType","requiredFields","finalComponent","newField","capturePincodeFun","_mutateFormData$value3","emailIds","agreementExpiry","_merchantLegalEntityD5","_merchantLegalEntityD6","_merchantLegalEntityD7","_merchantLegalEntityD8","_merchantLegalEntityD9","_merchantLegalEntityD10","_merchantLegalEntityD11","_merchantLegalEntityD12","_merchantLegalEntityD13","_merchantLegalEntityD14","_merchantLegalEntityD15","createData","prevErrors","getSortedFields","order","getFieldOrderForBusinessType","orderMap","Map","b","indexA","indexB","sortedFields","aria-modal","frameBorder","scrolling","docUrlMap","singleFilteredFields","multipleFilteredFields","validFileUrls","hasValidFiles","nameVsDocUrls","updatedDocUrls","uboDOBDate","_staticData$staticInf","onSelect","Redirection","mleOnBoarding","pathType","pathid","_draftData$forms","_draftData$forms$","_draftData$forms$$sec","_formData$forms$0$int","_formData$forms","_formData$forms$","_formData$forms2","_formData$forms2$","locationArray","intendId","mleOnBoardSteps","headingName","MLEDraftData","createMleFieldsFields","draftDetails","_sections$","_sections$$data","_sections$2","_sections$2$data","_sections$2$data$emai","listingDraftData","listingError","setTableData","mledraftData","fetchMleDataDraft","modelData","redirect","CreateMle","MerchantLegalEntity","MerchantLegalEntityTable","MleDraftTable","EditViewMle","PaymentGatewayCredentialsActions","handleActionClick","pgMid","fetchPayementGatewayCredentialsRequest","fetchPayementGatewayCredentialsFailure","fetchPaymentGatewayCredentialDataRequest","fetchPaymentGatewayCredentialDataError","generatePaymentGatewayCredentialReportRequest","generatePaymentGatewayCredentialReportError","getActivePaymentGatewayCredentialReportRequest","getActivePaymentGatewayCredentialReportError","downloadPaymentGatewayCredentialReportRequest","downloadPaymentGatewayCredentialReportError","resetPaymentGatewayCredentialCreateFormData","resetPaymentGatewayCredentialEditDataOnCreateFormData","resetPaymentGatewayCredentialUpdateFormData","createPaymentGatewayCredentialStepRequest","formSectionData","createPaymentGatewayCredentialStepSuccess","requestPayload","createPaymentGatewayCredentialStepError","updatePaymentGatewayCredentialStepRequest","updatePaymentGatewayCredentialStepError","fetchFormDataPricingSectionRequest","clickedCreatePaymentCredentialData","_field$props","_values$credentials","paymentGatewayCredentialsData","createFormData","editFormData","pgMidReferenceId","subCategory","PAYMENT_GATEWAY_OPTION","ShowPgCode","PAYMENT_GATEWAY_CREDENTIALS_FIELD_MAP","isStringArray","selectAllNetBanking","setSelectAllNetBanking","DEBIT_CARD_OPTIONS","DEBIT_CARD_BUSINESS_SOURCE_OPTIONS","CREDIT_CARD_OPTIONS","CREDIT_CARD_BUSINESS_SOURCE_OPTIONS","UPI_OPTIONS","UPI_MANDATE_OPTIONS","UPI_BUSINESS_SOURCE","UPI_ACCOUNT_TYPES","NET_BANKING_OPTIONS","WALLET_OPTIONS","netbankingValues","allSelected","getPGCredentialPayModeRequestFromValues","pgMidInfoId","handleSelectAllNetBanking","_payModeSectionData$","_payModeSectionData$2","payModeSection","payModeSectionData","defaultBasicFormData","paymodeData","walletData","payModeSectionDetails","getSlabDataWithDetails","PgMidBasicFees","getSlabData","networkData","selectedCardTypes","_fields$get","selectedType","_defaultBasicFormData","_defaultBasicFormData2","schemensMapp","subModeName","_slabData$bankSlabs","slabData","_section$index","getLabelValuePG","_merchantData$payment2","_merchantData$payment4","setDefaultBasicFormData","setpayModesData","setWalletData","_response","_response$data","_response2","_response2$data","_response3","_response3$data","basicFormDataCall","_merchantData$payment","_merchantData$payment3","NG_OPTIONSNET_BANKI","getPGCredentialPricingRequestFromValues","pgMerchantDetailId","PAYMENT_GATEWAY_ENUM","view_icon","hide_icon","SECTION_TYPE_TO_URL_MAP","credentialSection","paymodeSection","pricingSection","onboardingProcessPGEdit","credentialId","PGCredentialsForm","isEditableComp","PGCredentialsModeForm","_draftData$data6","feeConfigListData","_draftData$data7","_draftData$data8","_draftData$data8$feeC","_draftData$data8$feeC2","_draftData$data10","_draftData$data9","PGCredentialsPricingForm","modeDetails","basicDetails","defaultVals","isSingle","_modeDetails$","_modeDetails$2","netBankingMap","_item$cardType","feeCategoryInfo","_feeCategoryInfo$bank","feeEntityType","getSelectedPayModePGMID","updatedField","paymentOption","isSingleSlab","capitalizeFirst","updateLabel","showViewDownloadList","setViewDownloadList","handleCreateCredentails","handleCategoryFilterChange","categoryDetails","onboardingProcessPG","_draftData$data3$feeC","_draftData$data3$feeC2","_draftData$data5","_draftData$data4","pgpageHeading","setPGPageheading","PaymentGatewayCredentials","PaymentGatewayCredentialsPage","CreatePaymentGatewayCredentials","EditPaymentGatewayCredentials","CreateTerminal","EditTerminal","ViewTerminal","BulkUpload","uploadedFile","setUploadedFile","dragOver","setDragOver","uploadSuccess","setUploadSuccess","handleFileUpload","handleFileRemove","onDragOver","onDragLeave","handleDragLeave","dataTransfer","handleUploadFile","TID_Sample","handleCloseModal","TerminalOnboard","filterList","setFilterList","bulkIsOpen","setBulkIsOpen","bulkCreationIsOpen","setBulkCreationIsOpen","_entityList$merchant","newFilter","handleBulkUploadClose","BulkCreationModal","handleBulkCreationClose","CreatePaymentPage","SuccessModal","formLinkData","copyText","formLink","alert","PaymentPageActions","_data$original6","handleEditPaymentPage","handleDuplicate","linkUrl","handleCopy","PaymentPage","_location$state","replaceState","formatAmount","handleCreatePaymentpage","ViewPaymentsPage","EditPaymentPage","ToastContainer","autoClose","hideProgressBar","closeOnClick","closeButton","toastClassName","ErrorBoundary","fallbackRender","isLoggedInExecuted","Redirect","TidOnboard","CheckoutCustom","BulkPaymentLinkList","createTableData","createPaginationData","bulkPaylinkFileProcessDto","totalElements","hasPreviousPage","sortingCriteria","totalNumberOfPages","requestPurpose","validCount","invalidCount","bulkPaymentLinkReducer","bulkPaymentLinkTableData","Entity","paging","verificationStatus","formatStatus","formatData","formatStatus2","createTimelineFields","timelineDetails","sectionDetails","PaymentModes","payModes","createPayModes","sortOptions","merchantReducer","_action$payload","_action$payload$basic","updatedEntities","existing","flatEntities","paymetModes","basicFees","cardCategories","formsPayload","setSingleSection","editMerchantReducer","updatePgsData","getPgDate","resetPgList","isContainValues","keyValues","accountPassword","updatePgsStatusData","pgConfigReducer","updatedPgList","updatedSavedPgs","User","userDetailsList","totalRecord","lastUpdatedBy","userCreatedBy","userRoleId","getUserRole","Roles","createUserRoles","rolesData","roleDetails","EntityList","createEntityList","UserMaker","makerCheckerUserResponseDetailDto","extUserDetailData","newUserDetailData","intentFor","requestCreationTime","makerName","getEntityName","getLastAction","UserList","userManagementReducer","createUserData","makersList","Role","roleUpdatedBy","roleUpdatedByName","roleUpdateionDate","roleCreatedBy","RoleMaker","makerCheckerRoleResponseDetailDto","extRoleDetailData","newRoleDetailData","getResourceDetail","roleManagementReducer","RoleMakers","allResourcePermissionDetail","TransactionList","transactionViewList","getTransactionType","instrumentInfo","TransactionStatusData","viewDetails","statusMessage","surchargeInfo","tags","ltxnStatusInfo","txnType","downloadReport","transactionsReducer","createTransactionData","updatedTableData","refundViewResponseList","AdjustmentList","merchantAdjustmentViewList","adjustmentDateAndTime","adjustmentsReducer","createAdjustmentData","adjustmentList","RefundList","refundReducer","createRefundData","UserVerified","userVerificationReducer","RoleChecker","getUserByName","createdBY","roleVerificationReducer","roleChecker","ComDetails","createEmail","createWebhook","createSms","WEBHOOK","SMS","noOfMerchants","eventsListView","commProfileReducer","BinStatus","fileProcessStatus","failRecordCount","successRecordCount","uplodedDate","SearchBin","recentResults","uploadNetorkFile","manageBinReducer","binData","cardBinRangeVO","ProfileData","createProfile","getPaymentDetails","paymentList","profileReducer","SettlementStatusData","createMetrics","settlementMetrics","settlementMetric","settlementReducer","SettlementData","settlementMetricsData","netSettlementAmountError","PaymentLinkList","PaymentTrxnList","linkDetailsDataList","sharedDate","transactionDate","transactionStatusView","reSharePay","paymentLinkReducer","payLinkData","txnPayData","AuditTrailData","auditTrailViewList","auditTrailReducer","DashBoardData","dashBoardReducer","checkoutReducer","BulkRefundModel","bulkRefundFileProcessStatus","pendingRecordCount","BulkRefundFileViewModel","refundReqResLst","merchantRefundTxnId","bulRefundReducer","MerchantOnBoardStatusList","userUpdateTrackingListList","getState","merchantOnboardStatusReducer","merchantOnboardStatusData","MakerModel","getMakerCheckerResponseList","makerReducer","invoiceList","CheckerModel","checkerReducer","MandateList","merchantMandateResponseList","customerId","lastPaidDate","frequency","lastPaidAmount","payType","customerDetails","paymentInstrument","subscriptionID","lastPaidAt","nextDueOn","getDateStringFromDateAndTime","nextDueOnDate","createdAtDate","getPaymentInfoString","phoneNo","userMobileNo","setBillingDetails","billingAmount","getBillingFrequency","getBillingAmount","mandatesReducer","mandateTxnResponseList","hasNext","ChargeBackList","chargebackListDataList","chargebackDate","chargebackAmount","chargebackStatus","ChargebackDetailFormat","createChargebackDetails","disputeDetail","createChargeBackDetailData","parentChargebackId","latestDueDate","createDisputeDetails","disputeData","createDisputeDetailData","disputeMetaData","parentDisputeId","currentDisputeId","currentDisputeStatus","currentDisputeLevel","createCustomerAgentData","createMerchantData","mrRemarks","refundedAmount","mrDocuments","docs","reasonCodeMsg","cbRemarks","cbCreatedDate","chagebackLevel","reasonCodeMessage","chargebackMessage","chargebackStatusValue","dateTime","transactionMode","initiationMode","subType","orgTxnId","reqRefId","orgTxnDate","reqAdjFlag","reqAdjCode","reqAdjAmount","orgSettRespCode","crn","userRemarks","npciRemarks","reason","complaintStatus","metadata","modifiedDate","daysSinceCreated","daysSinceModified","chargebackReducer","createChargebackData","checchargebackMetaData","MerchantLegalEntityModal","relationshipManagerMap","makeEditData","getFilledStatus","_data$forms","_data$forms$","_data$forms$$sections","filledStatus","_data$forms2","_data$forms2$","_data$forms2$$section","_data$forms2$$section2","_data$forms3","_data$forms3$","_data$forms3$$section","_data$forms3$$section2","businessDetailLen","uboDetailLen","merchantLegalEntityReducer","_action$payload4","_action$payload5","_action$payload6","_action$payload8","tempeditData","relationshipManagerInfoResponse","_action$payload2","_action$payload3","_action$payload3$form","_action$payload3$form2","isSubmit","formDataError","_action$payload7","listing","PaymentGatewayCredentialList","viewList","pgMerchantCode","capitalisedCategory","capitalisedUser","payModeToPricingMapping","getSelectedPayMode","selectedMode","mapbusinessSource","idddxxx","isBoolSelected","isItemConsider","_type$toLowerCase","_mapBusinessTypes","mapBusinessTypes","getPricingInitValue","selectedPayMode","finalSelectedPayMode","paymode","pricing_section_initial_data","getPaymodeFormValuesFromResponse","getPricingFormValuesFromResponse","payModeData","pgMIDFeeInfoResponse","initPricingValue","editInitPricingValue","pgMidFeeConfigInfoList","initData","editBankSlabData","respUpdateInitData","initDataPayModKey","payModData","filteredEditSlabData","uniqueCode","filteredEditDataKey","filteredEditDataItem","sectionSlabData","updateInitData","getEditDraftData","_data$infoResponse","onboardingInitialData","category_name","sub_category_name","payment_modes","pg_code","getOnboardingFormValuesFromResponse","infoResponse","pricingInitData","paymentGatewayCredentialsReducer","_state$createFormData","_state$createFormData2","_state$editFormData","updatedDraftData","_action$requestPayloa","payModeDraftData","_action$requestPayloa2","prePayMode","pricingInitData2","formDraftData","hasPricing","nesItem","InvoiceModel","invoiceViewList","totalGST","invoiceReducer","authReducer","maskedEmail","userPermissions","loaderReducer","MerchantStaticInfo","createRelationshipManagers","createCategoryMap","createManagerRow","categoryCodeMappingResponse","categoryCodeMap","createCategoryRow","staticDataReducer","parentEntityName","TIDReducer","hListError","staticQrError","PaymentPageList","numberOfTransactions","sumTxns","numTxns","linkTransactionsList","txnMode","utc","paymentPageReducer","payPageData","createRootReducer","injectedReducers","combineReducers","formReducer","downloadBulkPaymentLinkPreFilledFile","put","downloadBulkPaymentLinkPreFilledFileCSV","fetchRecentBulkPaymentLink","fileProcessEnum","bulkPaymentLinkActions","uploadBulkPaymentLinkFile","downloadBulkPaymentLinkFile","bulkPaymentLinkSaga","takeLatest","enterpriseMerchant","axisMid","fetchEntity","fetchFormDetails","fetchFormInProcessDetails","fetchEntityListDetails","fetchEntityListSuccessAddList","fetchHierarchyDetails","entityLevel","saveAndContinueDetails","modifiedPayload","makerRequest","makerRequestResponse","createEntityDetails","getPaymentModes","getSurchargeSlabs","nbOptions","getDefaultRouting","setUniqueIdentifer","setUniqueIdentifierSuccess","exception","fetchHierarchyMLEDetails","fetchEntityHierarchyMLESuccess","fetchEntityListMLEDetails","submitDetails","retryFailedMerchantForm","submitStepFormDetails","submitStepFormSuccess","fetchBDInProgressMerchants","merchantSagas","takeEvery","createUserDetails","userManagementActions","fetchUserDetails","createdStartDate","createdEndDate","userEntityType","fetchSystemUsersDetails","getAllRolesDetails","fetchUserMakerDetails","getEntityDetails","updateUserDetails","updateEnumList","getUserDataRequest","createAdminUserDetails","updateAdminUserDetails","getAdminUserDataRequest","userManagementSaga","fetchTransactionsDetails","transactionView","merchantOrderId","transactionStates","transactionsActions","getActiveReportDetails","_actions$payload","RequestType","generateTransactionReport","getRequestDataFile","fetchTransactionsStatusDetails","fetchRefundTxnDetails","transactionsSaga","fetchRefundDetails","refundActions","initiateRefundDetails","refundSaga","fetchPaymentLinkDetails","paymentLinkActions","fetchPaymentsDetails","getRequestDataTrxn","createPayLinkDetails","updatePayLinkDetails","sharePayLinkDetails","viewPayLinkDetails","reSharePayLinkDetails","fetchMandateTemplateRequest","paymentLinkSaga","fetchAllRoles","roleFilter","roleManagementActions","fetchRolesMakers","getAllResoursePermissions","roleManagementSaga","fetchVerificationUserDetails","userVerificationActions","userVerificationSaga","fetchRoleCheckerDetails","roleVerificationActions","updateIntentDetails","roleVerificationSaga","fetchPgConfigDetails","pgActions","savePgsDetails","updatePgsDetails","updatePgStatusDetails","pgConfigDataSagas","fetchMerchantInfoDetails","formattedData","editMerchantActions","fetchPGInfoDetails","oldFormatData","fetchRouterDetails","fetchSurchargeDetails","shortedData","shortFormatedData","updateMerchantDetails","updatePGInfoDetails","updateSettlementDetails","updateRoutingDetails","updateSurchargeDetails","updateSectionsDetails","fetchSectionDetails","setSelectedEntityDetails","getFlatSelectedData","currentEntityCode","parent","addSectionMakerRequest","editMerchantSagas","fetchMixedGraph","dashboardFilter","dashboardActions","fetchMultiGraph","fetchSingleGraph","graphIdentifierList","fetchDashboardSummary","summaryMetrics","dashBoardSaga","fetchNotificationEvents","commProfileActions","fetchCommProfile","commProfileSaga","fetchBinRecentDetails","binActions","uploadBinFileDetails","downloadByIdDetails","searchBinDetails","updateBinDetails","getRecentSearch","uploadNetworkBinFileDetails","manageBinSaga","fetchBulkUploadRecentDetails","bulkRefundActions","fetchBulkRefundFileTableDataByIdDetails","downloadBulkRefundFileByIdDetails","downloadBulkRefundPreFilledFile","bulkRefundSaga","fetchAuditTrailDetails","dateStrStart","dateStrEnd","timeStart","timeEnd","auditTrailActions","auditTrailSaga","fetchUserProfile","profileActions","updateUserImage","deleteUserImage","getProfileJsonDetails","createStaticQR","profileSaga","settlementStates","fetchSettlementDetails","settlementActions","fetchSettlementMetrics","settlementSaga","getEntityInfo","checkoutAction","addCheckoutCustomization","themeRequest","customizationRequestFormData","otherDetailsResponseData","themeUpdateResponseData","checkoutSaga","fetchAdjustmentsDetails","adjustmentsActions","generateAdjustmentReport","adjustmentsSaga","fetchUpdatingMerchantsDetails","merchantOnboardStatusActions","merchantOnboardStatusSaga","fetchInvoiceDetails","monthRange","invoiceActions","generateInvoice","updateInvoicePaymentStatus","InvoiceSaga","fetchMakerDataList","makerActions","MakerSaga","fetchMerchantLegalEntityList","enterprise_merchant","merchantLegalEntityActions","_e$response","_e$response$data","createMerchantLegalEntity","fetchMerchantLegalEntityDetails","fetchMerchantLegalEntityDetailsPinCode","editMerchantLegalEntity","submitRequestV1","finalSubmitPayload","data1","merchantLegalEntitySaga","fetchCheckerDataList","checkerActions","CheckerSaga","fetchMandateList","mandateActions","fetchMandateTransactionList","updateMandateStatus","generateMandateReport","getActiveMandateReportDetails","mandateSaga","fetchChargeBackList","chargebackActions","fetchChargeBackDetails","validateChargeBack","raiseChargeBack","formdata","dtoObject","generateChargebackReport","cbIdentifierType","getActiveChargebackReportDetails","checkDisputeStatus","refundDispute","chargeBackSaga","isListFetchData","pageLimit","fetchPaymentGatewayCredentials","paymentGatewayCredentialActions","generatePaymentGatewayCredentialReport","getActivePaymentGatewayCredentialReportDetails","createPaymentGatewayCredentialStep","fetchPaymentGatewayCredentialData","updatePaymentGatewayCredentialStep","updatePaymentGatewayCredentialStepSuccess","paymentGatewayCredentialsSaga","fetchTIDList","TIDActions","fetchTerminalInfoDetails","createTIDRequest","fetchHierarchyData","fetchParentEntityCode","_data$parent","agrLowerData","fraLowerData","fraUpperData","midUpperData","mleLowerData","mleUpperData","terminalIDBulkUpload","tidSagas","fetchPaymentPageDetails","valueOf","formDataStatus","paymentPageActions","createPaymentPageDetails","fetchPaymentPageEditDetails","updatePaymentPageDetails","paymentPageSagas","createSession","storedcsrfIdentifier","loginUser","authActions","checkIsLoggedIn","loggedIn","getUserProfile","logoutUser","forgotPassword","resetPassword","markUserActive","getAccessibleItems","getResendOtp","getValidateOtp","authSagas","getStaticDetails","staticDataInfo","staticDataActions","fetchUnderlyingMerchantDetails","getStaticInfoDetails","fetchStaticDataAuditTrail","getChargebackStaticDetails","staticData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,QACA,WACA,mBACA,YACA,WACA,YACA,UACA,QACA,WACA,eACA,aACA,eACA,kDACA,aACA,iBACA,WACA,SACA,SACA,WACA,WACA,OACA,aACA,cACA,aACA,YACA,gBACA,eACA,aACA,eAEJ,oBAAqB,CAAC,aAAc,YACpCC,MAAO,CACH,UACA,kBACA,SACA,YACA,QACA,WACA,WACA,SACA,YACA,QACA,UACA,YACA,YACA,aACA,UACA,WACA,SACA,UACA,kBACA,SACA,WACA,aACA,UACA,SACA,YAEJC,MAAO,CACH,SACA,QACA,QACA,WACA,aACA,SACA,OACA,YACA,UACA,SACA,YACA,QACA,UACA,YACA,gBACA,UACA,aACA,OACA,YACA,UACA,WACA,QACA,YACA,UACA,aACA,aACA,UACA,YACA,YACA,cACA,eACA,aACA,QACA,WACA,WACA,WACA,UACA,UACA,WACA,UACA,SACA,YACA,cACA,eACA,aACA,SACA,QACA,QACA,OACA,SACA,WACA,SACA,WACA,eACA,YACA,SACA,UACA,aACA,UACA,aACA,UACA,YACA,QACA,YACA,QACA,UACA,UACA,aACA,SACA,gBAEJC,WAAY,CAAC,cACbC,aAAc,CACV,YACA,YACA,eACA,WACA,WACA,gBACA,WACA,OACA,YACA,QACA,aACA,eACA,UACA,gBACA,UACA,SACA,cACA,QACA,eAEJ,yBAA0B,CAAC,YAC3BC,MAAO,CAAC,QAAS,aACjBC,IAAK,CAAC,SAAU,SAAU,WAAY,UACtCC,QAAS,CACL,SACA,YACA,SACA,QACA,QACA,aACA,UACA,YACA,OACA,UACA,QACA,UACA,SACA,WACA,OACA,YACA,SACA,WACA,QACA,SACA,WACA,WACA,SACA,YACA,SACA,UACA,QACA,aACA,SACA,QACA,SACA,UACA,QACA,WACA,WACA,QACA,QACA,SACA,YACA,YACA,SACA,WACA,SACA,UACA,QACA,SACA,SACA,cACA,UACA,QACA,UACA,QACA,SACA,WACA,SACA,YACA,SACA,MACA,QACA,SACA,WACA,WACA,SACA,OACA,OACA,UACA,UACA,WACA,WACA,QACA,UACA,YAEJC,QAAS,CACL,SACA,cACA,UACA,gBACA,YACA,YACA,SACA,UACA,QACA,QACA,OACA,UACA,SACA,QACA,eACA,gBACA,UACA,UACA,SACA,YACA,UACA,SACA,UACA,QACA,QACA,SACA,SACA,UACA,WACA,SACA,UACA,QACA,QACA,UACA,UACA,WACA,SACA,eAEJ,mBAAoB,CAChB,QACA,QACA,WACA,SACA,QACA,eAEJ,oBAAqB,CACjB,WACA,WACA,QACA,SACA,QACA,UACA,SACA,WACA,YAEJC,UAAW,CACP,YACA,oBACA,WACA,SACA,YACA,2BACA,UACA,UACA,QACA,UACA,QACA,YACA,aACA,iBACA,YACA,WACA,UACA,WACA,SACA,UACA,SACA,UACA,SACA,YACA,SACA,UACA,yBAEJC,UAAW,CACP,QACA,WACA,WACA,QACA,YACA,WACA,UACA,iBACA,aACA,QACA,gBACA,SACA,QACA,eACA,YACA,SACA,YACA,WACA,SACA,gBACA,YACA,QACA,SACA,YACA,QACA,WACA,YACA,aACA,SACA,WACA,WACA,YACA,UACA,YACA,cACA,WACA,cACA,SACA,mBACA,aACA,cACA,cACA,UACA,aACA,gBACA,MACA,WACA,SACA,gBACA,UACA,UACA,cACA,qBACA,UACA,QACA,WACA,UACA,WACA,aACA,aACA,WACA,mBACA,cACA,WACA,WACA,OACA,QACA,YACA,cACA,WACA,cACA,SACA,WACA,SACA,SACA,QACA,aACA,OACA,SACA,UAEJC,OAAQ,CACJ,QACA,YACA,WACA,YACA,gBACA,YACA,yBACA,aACA,YACA,SACA,YACA,aACA,QACA,cACA,SACA,WACA,YACA,cACA,aACA,YACA,cACA,SACA,eACA,aACA,gBACA,WACA,aACA,QACA,WACA,aACA,cACA,eACA,WACA,iBACA,cACA,iBACA,cACA,UACA,UACA,cACA,YACA,WACA,cACA,aACA,qBACA,aACA,WACA,QACA,SACA,UACA,YAEJ,iBAAkB,CACd,YACA,cACA,WACA,SACA,aACA,UACA,SACA,SACA,WACA,QACA,aACA,WACA,SACA,cACA,SACA,UACA,YACA,SACA,WACA,UACA,kBACA,WACA,SACA,SACA,QACA,kBACA,QACA,UACA,eACA,eACA,UACA,YACA,SACA,UACA,0BACA,UACA,OACA,UACA,YACA,QACA,QACA,WACA,YACA,QACA,aACA,qBACA,YACA,SACA,UACA,SACA,MACA,QACA,OACA,YACA,QACA,UACA,YACA,QACA,QACA,SACA,SACA,UACA,QACA,cACA,UACA,WACA,WACA,UACA,WACA,YACA,QACA,SACA,YACA,SACA,WACA,SACA,YACA,SACA,SACA,UACA,WACA,cAEJC,YAAa,CACT,OACA,aACA,QACA,OACA,UACA,YACA,WACA,YACA,OACA,aACA,WACA,QACA,mBACA,eACA,mBACA,SACA,QACA,OACA,QACA,UACA,QACA,WACA,WACA,cACA,aACA,aACA,SACA,UACA,SACA,UACA,iBACA,SACA,SACA,MACA,iBACA,aACA,SACA,iBACA,WACA,UACA,YACA,UACA,SACA,cACA,UACA,UACA,YACA,OACA,UACA,UACA,UACA,eACA,aACA,SACA,WACA,QACA,SACA,WACA,SACA,QACA,QACA,MACA,UACA,UACA,OACA,QACA,QACA,SACA,SACA,SACA,YACA,QACA,QACA,QACA,YACA,SACA,UACA,SACA,SACA,SACA,SACA,aACA,UACA,UACA,cACA,SACA,kBACA,SACA,YACA,aACA,SACA,SACA,UACA,WACA,mBACA,SACA,UACA,QACA,SACA,WACA,SACA,UACA,QACA,SACA,WACA,QACA,OACA,gBACA,gBACA,WACA,cACA,OACA,eACA,MACA,OACA,SACA,SACA,QACA,SACA,WACA,QACA,SAEJC,QAAS,CAAC,SAAU,SAAU,gBAAiB,WAC/CC,UAAW,CAAC,YAAa,WAAY,QACrCC,QAAS,CAAC,SAAU,UAAW,SAC/BC,SAAU,CACN,UACA,SACA,aACA,WACA,QACA,aAEJC,OAAQ,CACJ,WACA,iBACA,SACA,UACA,gBACA,UACA,eACA,cACA,YACA,aACA,UACA,YACA,SACA,aACA,aACA,YACA,aACA,eACA,UACA,gBACA,cACA,YACA,OACA,aACA,eACA,WACA,WACA,YACA,OACA,WACA,aACA,UACA,SACA,aAEJC,WAAY,CAAC,WAAY,OAAQ,cAAe,SAChDC,OAAQ,CACJ,WACA,UACA,SACA,WACA,QACA,WACA,UACA,WACA,kBACA,aACA,YACA,aACA,UACA,mBACA,YACA,aACA,SACA,SACA,aACA,WACA,WACA,aACA,SACA,QACA,OACA,SACA,iBACA,WACA,UACA,QACA,UACA,SACA,aACA,YACA,UACA,UACA,QACA,WACA,WACA,SACA,SACA,UACA,eACA,WACA,SACA,UACA,0BACA,WACA,QACA,UACA,aACA,cACA,OACA,YAEJC,UAAW,CACP,QACA,QACA,UACA,YACA,WACA,SACA,UACA,eACA,QACA,UACA,SACA,QACA,UACA,UACA,aACA,UACA,UACA,aACA,YACA,SACA,QACA,SACA,YACA,YACA,gBACA,YACA,QACA,QACA,OACA,UACA,UACA,SACA,YACA,WACA,aACA,UACA,aACA,gBACA,YACA,aACA,kBACA,kBACA,YACA,gBACA,WACA,YACA,aACA,WACA,UACA,QACA,cACA,WACA,UACA,UACA,WACA,WACA,eACA,iBACA,WACA,WACA,WACA,QACA,SACA,QACA,eACA,YACA,WACA,YACA,YACA,WACA,eACA,OACA,UACA,cACA,qBAEJ,aAAc,CACV,YACA,gBACA,UACA,aACA,QACA,oBACA,eACA,QACA,UACA,UACA,gBACA,eACA,YACA,iBACA,WACA,0BACA,cACA,SACA,cACA,eACA,YACA,eACA,YACA,SACA,kBACA,SACA,WACA,aACA,aACA,WACA,UACA,aACA,gBACA,eACA,aACA,aACA,cACA,cACA,cACA,WACA,QACA,UACA,cACA,eACA,cACA,gBACA,UACA,cACA,iBACA,cACA,YACA,QACA,eACA,UACA,iBACA,SACA,aACA,cACA,YACA,UACA,YACA,WACA,WACA,iBACA,WACA,iBACA,UACA,eACA,YACA,gBACA,gBACA,oBACA,gBACA,eACA,oBACA,cACA,aACA,YACA,aACA,cACA,eACA,kBACA,kBACA,eACA,cACA,aACA,aACA,WACA,YACA,iBACA,iBACA,YACA,iBACA,iBACA,iBACA,cACA,gBACA,cACA,kBACA,UACA,YACA,WACA,YACA,cACA,aACA,YACA,UACA,oBACA,aACA,gBACA,eACA,eAEJC,UAAW,CACP,WACA,cACA,eACA,UACA,UACA,SACA,cACA,SACA,YACA,UACA,UACA,aACA,YACA,aACA,UACA,UACA,aACA,eACA,cACA,aACA,aACA,WACA,QACA,cACA,eACA,aACA,SACA,YACA,YACA,aACA,aACA,aACA,WACA,WACA,WACA,SACA,YACA,aACA,WACA,YAEJC,QAAS,CACL,WACA,UACA,cACA,aACA,SACA,aACA,WAEJ,gBAAiB,CACb,WACA,OACA,UACA,YACA,SACA,WACA,WACA,WACA,YACA,SACA,YACA,iBACA,YACA,QACA,UACA,SACA,QACA,SACA,QACA,WACA,YACA,yBACA,WACA,UACA,MACA,OACA,UACA,UACA,SACA,YACA,YACA,SACA,YACA,QACA,UACA,UACA,iBACA,WACA,YACA,UACA,QACA,QACA,UACA,OACA,OACA,WACA,cACA,SACA,UACA,SACA,WACA,WACA,UACA,YACA,WACA,WACA,QACA,aACA,SACA,mBACA,mBACA,QACA,OACA,WACA,QACA,cACA,UACA,WACA,UACA,UACA,aACA,WACA,WACA,UACA,WACA,UACA,UACA,UACA,UACA,QACA,UACA,WACA,UACA,mBACA,mBACA,WACA,eACA,SACA,kBACA,yBACA,UACA,yBACA,aACA,YACA,QACA,cACA,eACA,cACA,YACA,QACA,UACA,QACA,OACA,YACA,WACA,QACA,cACA,eACA,SACA,YACA,WACA,SACA,SACA,QACA,UACA,WACA,YACA,WACA,UACA,WAEJC,YAAa,CACT,YACA,WACA,yBACA,UACA,WACA,WACA,YACA,QACA,WACA,QACA,cACA,WACA,YACA,UACA,WACA,YACA,WACA,SAEJ,cAAe,CACX,OACA,aACA,WACA,UACA,aACA,YACA,UACA,YACA,YACA,gBACA,cACA,QACA,kBACA,aACA,WACA,YACA,YACA,UACA,YACA,QACA,cACA,YACA,SACA,aACA,cACA,WACA,UACA,UACA,SACA,oBACA,UACA,eACA,gBACA,UACA,YACA,WACA,WACA,W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O,WACPE,KAAM,WACN1G,MAAO,CACH+iC,YAAa,iBACbnlC,KAAM,SAGd,CACIk/B,UAAW,QACXt2B,MAAO,WACPE,KAAM,UACN1G,MAAO,CACH+iC,YAAa,aACbnlC,KAAM,WACNshE,oBAAqBujG,KACrBtjG,oBAAqBujG,OAG7B,CACI5lI,UAAW,QACXt2B,MAAO,eACPE,KAAM,wBACN1G,MAAO,CACH+iC,YAAa,qBACbnlC,KAAM,WACNshE,oBAAqBujG,KACrBtjG,oBAAqBujG,OAG7B,CACI5lI,UAAW,QACXt2B,MAAO,kBACPE,KAAM,gBACN1G,MAAO,CACH+iC,YAAa,eACbnlC,KAAM,WACNshE,oBAAqBujG,KACrBtjG,oBAAqBujG,QAIjC,CAACF,IAA4B,CACzB,CACI1lI,UAAW,QACXt2B,MAAO,eACPE,KAAM,wBACN1G,MAAO,CACH+iC,YAAa,qBACbnlC,KAAM,WACNshE,oBAAqBujG,KACrBtjG,oBAAqBujG,OAG7B,CACI5lI,UAAW,QACXt2B,MAAO,kBACPE,KAAM,gBACN1G,MAAO,CACH+iC,YAAa,eACbnlC,KAAM,WACNshE,oBAAqBujG,KACrBtjG,oBAAqBujG,OAG7B,CACI5lI,UAAW,QACXt2B,MAAO,WACPE,KAAM,WACN1G,MAAO,CACH+iC,YAAa,iBACbnlC,KAAM,SAGd,CACIk/B,UAAW,QACXt2B,MAAO,WACPE,KAAM,WACN1G,MAAO,CACH+iC,YAAa,iBACbnlC,KAAM,WACNshE,oBAAqBujG,KACrBtjG,oBAAqBujG,QAIjC,CAACF,IAA4B,CACzB,CACI1lI,UAAW,QACXt2B,MAAO,kBACPE,KAAM,gBACN1G,MAAO,CACH+iC,YAAa,eACbnlC,KAAM,WACNshE,oBAAqBujG,KACrBtjG,oBAAqBujG,QAIjC,CAACF,IAA4B,CACzB,CACI1lI,UAAW,QACXt2B,MAAO,kBACPE,KAAM,gBACN1G,MAAO,CACH+iC,YAAa,eACbnlC,KAAM,WACNshE,oBAAqBujG,KAC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AUi/F,QAehC,MAAMr+F,EAAQs+F,YACV/S,KACApxJ,EACAkN,eAAW82J,IAMf,OAFAH,EAAeO,IAAIT,IAEZ99F,GC7CX,uCAWA,MACaA,GAAQ+9F,GADA,IAGrBvzH,KAAS74C,OACL,kBAAC,IAAD,CAAUquE,MAAOA,IACb,kBAAC,IAAD,KACI,kBAAC,GAAD,QAGRh2E,SAASsS,eAAe,Y","file":"static/js/main.792b8b24.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/close.07082e5b.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAcCAYAAAATFf3WAAAAAXNSR0IArs4c6QAAAeNJREFUWAnNlssuQ1EUhls1wMgtBhKcuiRCvIM3EeotvIi4PYqRFzBqxS1tY+baEEzE/7FWwknVOYO9T1fyWWfT9nzW2mufVkr5Y1xv2RDroi06IlgM5vxk5LbEor1vTRnJYJFHcEIWyC2Yza3yqV0HS1kFp2SAXGImyO2JG1sHSwMZPtnbmthrH5WPRMvWQdN/FUSuJhKzuFc+EFe2Dp56VXBMd6etvueoXFQ5/vsyP7oEA0Hl5u1vd8qHIlrl7L6lbi2mrduiai9Cble0bR01pVuM3KZwOdpK5QqR031/tdgHwvdc9IFAKB3eYgaCyrkc59y+aIpCA8FJURPeVoQaYlrMsiggyrrnu2hwsSNmRD9GKz0k/Sb5QQVpMQeyn3lInohL4XuU38UMb3GdC8KfGkvfyxJnH18GmrYuLFXszm/KZyIRHDcjYlVciwdRWLggAq+C6WVgeNQNCyR5vBUm+VNQHl+SVJL9SNuHxLK4EE8ieqQFEaCSdZEIb/eKrtmP0SvZTVAeXSUL2ZN/CSLJ4LAnE0ElabdXkud0lOgliIAPju9JBgfJaNP9n6BLnuuiKkZF1MHJIojki0gPDnuSie+IYJFVEAFv95yu2ZO0my+0VDdY5BFEwiU5yJ/FsQhawU9ko1tACVMbHgAAAABJRU5ErkJggg==\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANS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Zrb6JN8WRRI+szzTXf6dgVu7Ajjbpdlh5LeOXPhs8UrnF/8BH4P6C84G1oqBz2AAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/noDataFound.1ca6184f.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAALP6AACz+gFmujCYAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAFqdJREFUeJzt3XmQnVWZx/Hvub2EACEbQhQsAi5BJCYgWxIBm+TemwRwgSExAwOjjswMg7IpbqhxBEdAIjpQKGZUQAZpUWQkSXenMQOkwxYo2UQWCYpBBpKQACEk3X3P/HHTZRKzdOc97/u8y+9TRRVVpJ/zS8h57nnPfd/zgoiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIikjbMOIIG08VYc+1NiNDX2xDESx57ASDxvAYYCjcCQjT+xCzAYAM96HG9s/PfXcXTjeBXPCjwrKLESWIlnJY5llFjG3fyF2dQS/31KUGoAWfJrdmUQB+EZh2MsnjE4RgOjqU/oJK0H/gQsA57G8wglHqGRx2jh9YSzyE5SA0irpTSxgkNoYCKeCcB44B1Ag3GyHfF4nsXxMJ57cSyhh6VMZ711MPlbagBp0UozwzgaOA6YBBwO7GobKpj1wFIcS3D8hl25k4mssw4lagC2FjCaEhUcU4AK9ev0IliHpwtHJ55OqjxoHaio1ACStoAxNDADOAUYax0nJZ7C0Qq0UuZR6zBFogaQhE4OoJeZOGYC46zjpNwTeFopcTNlnrAOk3dqAHGpX9N/GM+ZOCajP+ud8SCea2nmv/XNQjz0lzK0dg7E8SngdGBP6zg5sQbHjXh+SIXfWofJEzWAUBbyAeDzeI5Hf65x6gK+y2p+yQx6rcNknf6iRjGbEhM4HseXgSOt4xTMM8BV7M61+kpx56kB7IylNLGKM4CLgP2s4xSa50Uc36KJH9DCm9ZxskYNYCBmU2IiJwOXAO+yjiObeQmYQxPfVSPoP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owcrXvMvAx9rRxmVo397O11BSeuNvZNvq11zh1O1d71ri61NI9UjxK6IjmUv+P/DzCgwIEECxo8iDChwoUMGzp8CDGixIkUPxQAADs=\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAOCAYAAAAxDQxDAAAAAXNSR0IArs4c6QAAAYZJREFUOBGtk0svA1EYhqcuCxRxWZSQDHFduMXKT/FnkViw6FYiRFRSNELQuN+fR2YmJkxb9E2entOZc857vsvkgiBYhTMowjU0U70ctgyFVn6GIIQueIIqNEMjHLIAY1DW6BJ01jAP7XAO/9Esm6fBM0+hqNEDvIBmPRF3jH+NzEjmoDs6Y4exopHy0BbQaBDawKge4Tdy/zwYifXehwMIYqN35hdgjUzdRDTaJM/QiDpYZOFnoAS7oIlnJ0bOfXAFFegDNxilkZnaLOV40QmaLMIhbIL7Pk0YU0b+V0ZlAU3hJLhYoxv4SQUeTsESlGEdrHFKcepSD/mj2TH0wzjk4RXs0K+yda2JFzqBNbiFb8oycqG18eABsCM1tTlMrwrBKGwA121B/I5pWrWMXHkPRmKDaGQtTKEfty3sBWwYu8sMJDVhnlI9Izd6S808fBhsEE1DsOB7UII3yJQd04i8kClcgdFowxHjNvhZ1DRxfb2IXKOMzE6y9e3GKmyAtclMF+8SfQBSS1jI2BvprgAAAABJRU5ErkJggg==\"","module.exports = __webpack_public_path__ + \"static/media/view.7cfab0aa.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAACGNJREFUWAm9mXtol1UYx91v87JNnW1G29ApKs7wMlMykNJaSeQlQ0xrWlGhhknBQBeb29Tp0ETBS4G5zHBWzj/cxEDTzAvmhfwjc4M0CTe3GehQm/Myt/X5vrzvj+Pr7/3d1A4cznmf81y+53mf85zznjem00OW0tLSJ2/evPkKavrFxMSk06bZ9SZtI7UBekN7e/uZrKysYzNmzGiDFnWJiUZyyZIlA1pbW6cBZCryYzs6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cx1AB6UVAtgZT6fnz9cIVEUfVxdXT1D0gZJ3ygWi+tzuVzTpk2bvhrH8bXW2tGZTGZaNps9qFAo/BzAyCAIrisWi+slTSe5OZvNNjQ2Nm4DBjn9BkHgJOVKh08BuCqO43eGIygMw9pisfgwyXMBgGQ3gHUANkr6D8lDvfcTAZxC8sCSW2smk7kgiqIPenj6XTLdG21tbasbGhq2kJwNYArJKxoaGkbNnDnzjTVr1nw8GK7SSssJALqdcytOO+20vwIY7b2fDOBIACcCOB3ANJITSnsozxhjrozjuKm1tbW7N99Qd6wOTpJkGYALgT3baytJPg3gWefc5j78apMkmUryHElzARwm6fnm5uY9PZZz7mu7d++eUdoJOxDAO8aYTSRfj6Lo3b5yGlZlz+fz07z310iaQzK7h5TsAvAOgK0AjKQaSWMAHNl7n5Hkm5JuiOP4keHkAVSoRQnD8GDv/Xne+zNJzpY0bl92knaSbAfwIoBH4jh+oRLxgf3Ua5XqwnhJh0hKAHQbY3ZMmjRpcyW3pHvjf0urVYjvADkFAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/file-upload.f84e3cfb.svg\";","module.exports = __webpack_public_path__ + \"static/media/info.019f8880.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAA2lJREFUWIXtll+IVHUUxz/n3tvozJ1pXBOpXYmp9U3Iyl1kpYc1KiQoemhci4WihSCx3RV7kALZiCIK2jWhh0QKjFpbCJElkYzqJYsxwgd7iLRWxRSjcXbudXacmXt6iIk7M3v/WEY9+H265/zO73u+9/zu79wDN/AfQ/7OJs3nzdKtp3NisMJSq4539dfUxdUXZWam8a8J0O0DSbdRe1wNhlFjA2i6jchVOCKqB+3llQMycfLqdRPgjPUPK7wO9MTUewp4KbO7cOAfCbjwwl22XUvsBXkiZuI2ct1nd1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h3LL5049A0mV3mBM5ucKMmDflmM7e81Qb/QmsAZYE9rgtJGIleX11Es6qcxy+9AE1KS39eSx8R5LXkLauLu7o4nt1RN+CiG93FKFONxskzBpQwdapoaqKmGqu5JVVrJe5sf5gLAZZolzFG2mnDj9IxrfQemmLNmZ/kN3IHao0e9zFXESH5+fj7+L8lbsC80weyxRxN6/5DnKFazvsNIh6euHdvya00oq1a6ZiREWy295eolTRNq/6AmYpzOGvQdSdGYO9V5hJrfnmyU6qHNn5ycXDhJa8mvjiJ5C6sJ384rHB080jQGSyj4EGv5DfQhBi//gsr20NY9w75X8hZKE1Ul4dg6rO3HOm8NcZ7+avnlzVzHn1lJu3vLPD7I0v7w7otMANQy59FhmTbPg35aP9Io67z40vzSB6qqfwudvlHqiBTdOC8TAucRZSYQWIEStv3QXiI/7vlm+e2uwtc0/VGghP0eAP+7GNTf8huYW4OJXrGkIUXCg5DoCk9kr24N5PkO/8P+D2ARofs/8AeTun7/B5yAe24zfsnrdXeb0b1e995cRLHOUMX7S/mkIOO0FkZH3mbwQqDnF5M8q73imlryyf4PcE5ExxjMt9Oy4CmmmGKKj8e/dfNpjx5XaVwAAAAASUVORK5CYII=\"","export const MLE_ONBOARDING = 'MLE_ONBOARDING';","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAVCAYAAABCIB6VAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJJSURBVHgBpVQ7buJQFLWNCz7FeAfDrGCcHoQjFjDOCoBuOkyHACmOBAwSRcwKMllBYAVxEEVK7yBOmY4CKPjmnMgvcoj5JVd6vs/v3nd8fH+ytEeq1aqhKEpOlmVjs9mkodPQPrQPfbter91Op+NH3ZV3AKZjsdgNAHS89rBcVVV927a50svlUgewifMCtD2bzXqO44z3AtdqNR0s7wk4mUyc7QsRBGxsc6vV6jzMXt52JChWqdlsutKR0mg0bDAvTKfTM0FEEUbLsjR8nUyvTgGl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p34a1BUFgfPoDqGmtl6MEYtdbkocNOXOsXC4/F2HH+PQHcCROIDYAlmWFrtkpeSRsK7y4uDgsItcasrOaWN9jA7C0tPQ0gMgPSUJCp//p06e3AVg3WZqDfzSbzcfjhGIDsHXr1reR79ICAN5aWVkJuw8A+rD8kTywa9cuP04u0Z67WCzuQ75N0eHZ2dnQLE93+SPJh0l+SkR2A0h6clyPDsl7kggmCsD4+PirAO7L6g3J0Onvuu65JBsi8lHbtnfatn1ocnJyL4D5rPYA/GxqairREp64iqPT6XynWCzuBFBK6Yzved7vwhq7y9QZdwL1en0nADulnR6nlFJ3JhVOfOycmZl5jeSeDA49u/YyNIz5+fn3OI6zX0R+g4x3ECLyPa31qaTyqc7dlUrll0iwtKzh2SRCtVrt2uHh4RqAVHd7a3hIa70/TYdUARARep73JaTYHYpIZE6uXq9vcRznXqXUkwAiszcxtIrF4lfS1g1lKpCoVqubC4XCHwEkuYR8HcBUpVL5e+8BSWk0GlcEQXAbgJuRv6LsGMlP2LbdStsxc4lMrVabUUodQrIgnABwAMAxAGMkP52jwGItrwRBcN3U1NTzWTrnKpKqVqubLct6VER0Hj05eLE7+Myn1lzJx+np6Zd837+KZOyW0zQi8iDJ2TyDBwxWitbr9S+IyD5kqxpLw5sk99i2nXd7DsBg+tm27Qc7nY4G8Av0IZcI4G2Se5VSl5kaPNCnYulGo3GR53nfEJGvI/+MOE7y/qGhobu6W3Kj9LVc/ujRo+csLy9fLSLbSd6Ad8rl4/AAvCAivyf5ULPZfCbJqS4rZ/UHE9VqdWOxWLxYRC4OgmAzyREAbwAggGXLshpDQ0PNsEqyAQMGDBgwYIBR/gOU7m5i7IVrcwAAAABJRU5ErkJggg==\"","module.exports = __webpack_public_path__ + \"static/media/bar.e8df2345.gif\";","module.exports = __webpack_public_path__ + \"static/media/line-big.4e1424ba.gif\";","module.exports = __webpack_public_path__ + \"static/media/line.c96b7165.gif\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAg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9dCK0vgFkyOItaq8BJKk1OgqZgEbDwjDbhIeWvxLC6uvsZCEtv/wo6pybTsDyoLYEGkNmIwDDEZV5FAVBdd1Y30sfo1dDRUx4MYAj6Fh9oovcB9jIaEE2f6z6OLi6LVtbId1bl+4FXeV66kg5oJqZdQUZazINNQV5mYMysOcDH14Wt957VOgLL7pccd6lMVgQakkvae8KT9l9gA5GdU3A+HPhCrYK7FC/CSihlvKzAZO3zvmKdHI8xx7hvIf2S4EW7yf2pxS1Sze52OlOmd9PtRQKat0Ph9rcx5atbKCE0Atyve9A9qiNyirfAsN8/xiZcXvSgLD/T68+NUqg/qO99XedL9PL/4zjMEuT/4NjQ+j7s5abUHnH/b3xPMiFK0i6UQbkT8ikfkJmwm3b5WVwGteV82ERCFSWoo40vtqQWcnqTs0bsNtm5Yb/yndR3aWjn86PlzncO6+3SID8hqo3VR3q9rrxpHuVtU5jXzJ3qHhNswyk6dkWPiEh7pp9xjUca5/ulxfpPhwWeedaE3d76l1W3U1Z29IPQYVDbMIlvQ2DWhhM2y2HqN0naaf7jfyIqj17NWLvFcmDtVyZpSO4xR6421hUEMvnDivKdomPpFG7BjryAJgmAj6jcb1sWyHptJu2fddim2p+WepvYnF6jAuo2B1Gfcbm6gXzng0rTOqx1+r8iLFoZC/jALBE9Mb8iJ2jijiN8AmbrFt3dAmJsSrAH4DoOiXC9KdY2TEjfx7+eTCYtUX1SY62wdDFWTeDL3z5yKt7ylrImqjiXfXf/T4H/+LjYYbfPPZAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/error.eb8617b7.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIoSURBVHgBpZQ9aFNRFMfve3kBwY+CqzwQHJ/ipNDi5pKCs9kFHZwEIZAvQzRfBCOdXBxcXCoITra42w4uHdpBR1N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0Wq1+luAugk87FmWFaiYNJ1OZZxu4MImqKWbgNJXp1FQr9dlrG7EXiulhg7KN/ULonkOx1bHLfUH0ilv6sw4hrtzJ3Wv1WqvgNlkl1OnRFitVq85/gsju4AUkbNyYxh0n9szQC9TMqQPjTgpO4D8E4HzQaYBscCyUJPJRDqd57+LgyLARhzAECN9l9V8Pg9kMhg1qd8QIHc0Gp1nMpkznNhHAVkEgZYrlcrL5zq70vNHLQdyFem4rLpSrKZowuACXq80AIqAecg2UYc8jtagccEkZQ6HuolhgCwL5AzOS6pSGtjGodkn/NyhlSTEVZNOh6lU6p76DSQylm0B21t0D+IMR3fr5cAVupN5gnv7AKVuRHIpnwHel7EREEk/pM75r7LID8X1did+lzBs6G+KNAPwc2xK4/F4y+4d1e0I0yXQjYAAAAAASUVORK5CYII=\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAUCAYAAABmvqYOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgB7VVdaoNAEB7NIoIv2xvYG/QGOUKbE0Rv4KOokAZUfIs3CDlBr5AbtDeoRzDgk/jTb4pL2zSlJd0+FPLB6uwI387Mfh8aBERR5OF1axiGpN+j6vt+XRRFZYB4hcSVZVklaUDXde44jlsU6gs8vCzLrkkfqiRJfBywFNjIMAw90giMRZqmSUxOCFzSi9e7Y/I6z/N70ghMwp3NZiuT/hD/l1wcJ9hQkOdc7RHv0jTdq30QBLIsy5pjNVuOlXHec32qfBiGPROq1TTNk/rGZI7jPE7GI9u2a3Y11p0Qwv228un06jg/VfkAcyxAFvABbdtyZwfkdqzrn45lSW9jWfNYUNkGXfmQLXfiwYUlSCXc7dFXiOP4mTSDuwTv9qLzj6SmKRV5zTMijQD5HJd94J/FDRSxoRPyOwesexC7MNXC4ARXfsoE5wByrSe50gvskYk8vuGJWAAAAABJRU5ErkJggg==\"","module.exports = \"data:image/png;base64,iVBORw0KGgo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AABJRU5ErkJggg==\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAHwZJREFUeJzt3XmcXFW1L/Df2l3V1YGkAwgvJAxexggokFxmEAxwDXRSdU41UioKIugF5JHh4WUWmhllSvLgeeN7igiIliR9htiae7l0mAlDglyecImIggqKMlQH0pXu2uv90dV5bchQu+qcqlN11vfzyR+kz157f0jXqn3O3mdtghAR4brugUR0vNb6ICI6AMAUADsCSAH4AMD7zPx7AL8BsLKtre2xdDr9qwYOuelRowcg4s113b0BfB3AaQB2rSLE7wAsUUotTqfTa4IcWxxIAhAN4XneAcx8DYAsgvk91ET0cyL6lswKKicJQNSV67qTAFwP4KsAVAhdaAB3aa2/mc1m3wshfkuRBCDqYvHixcmdd975AgBXAphYhy7fAPAVy7L669BX05IEIELn+/4JWuuFAA6oc9clAPMsy7qjzv02DUkAIjS+7++jtb4NwOwGD+Vay7KubPAYIkkSgAic67oTAFwBYB6A9gYPZ9RllmXd2OhBRI0kABEYZibP8z4H4FYAuzV6PBthZv6ibds/bfRAokQSgAhEb2/vYUqpRQAOb/RYtmAtMx9u2/avGz2QqJAEIGqyZMmSyYlEogfA1xDOsl6giOjpwcHBo3K5XKnRY4mCRKMHIJpTPp9vT6VS8zByrz8hpG5eAfA6gHeJaFtm3g/AP6CGLy5mPqy9vf18AIuCGWJzkxmAMOZ53mxmvg3APiGEX8PMtxKRY1nWnzf+4dKlSz+WSCROY+azARxUZR/vKaX2SafTf61tqM1PEoComOu6UwHcDuDkEML/iYguWbVq1X09PT16axf39PSoadOmnQPgBgDbVdHfdy3L+kYV7VqKJACxVcuXL992cHDwXwBcgpE384I0RETfTSQS3+rq6iqYNvY8bw9m/ncAexk2LQGYblnWC6Z9thJJAGKzenp61PTp07/KzNcDmBRCF67W+sJsNvtqLUEcx9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IGk0xuZiZCybXKwBvGVw/1ff9bUw6EEJUj4gONmzyZ5OLFYBXDK4fVyqVZpqNRwhRjcWLFyeZucugiZ44ceIakz4UgBdNGhDRmSbXCyGqM2nSpG4A2xk0eXXGjBmDJn0orfXDZsNCxvf9YwzbCCEMLF68OElE1xo26zftR6VSqScBfGDSSGt9x/Lly7c17UwIUZnJkydfAWAfkzbM/JBpP6qrq6sIoNew3UHr1q27m5llX4AQAXMc53PM/C3DZmvHjRu3zLSv0Y1APzJtSESnuK77M5kJCBEcz/POJqL7AJh+uS6ZOXOm0Uweo50wM3me9zyAA00DAHhBKXV+Op1+rIq2QggArutOAnA9gLOraM5KqWnpdPpXpg03ZBnHcT5PRD+povORQEQ+gLtTqdQvq8lEQsQNM5Pv+4cw86kAzgMwvspQnmVZVjUNNySA8izgUQBHVzmIUesA/IaI3mBmSQRCbISZkwAmEdHeAHaqMVyxVCod2N3dbbKfZ4O/u89wXfdAAM8CSNY4KCFEfVxrWdaV1Tb+u7cBLct6AcClNQ9JCBE6Inq6WCxeV1OMjf+ifCvwAIDuWgILIUL1Z6XUYel0+vVagnykHgARcWdn55cAPFJLYCFEaAaUUl21fviBzRQEmTFjxmCxWMwAeLTWDoQQgXqPmWel0+lVQQTbbEWgXC73frFYnMnMS4LoSAhRs9eZ+VjbtgP7Yt7qbqPyM4E5AL4DoD2ojoUQRpaVSqUzu7u7/xZk0K3WBCQitixrIYADmfk/guxcCLFlRPQOgHmrV6+2gv7wA4b7jcs7l05l5ssAHBT0YIQQG7xHRIuUUgtmz579blidVPU2HzOT67onADiDiLoByAtBQtSOATxORPckEomfdHV1GdX3q0bNr/P29fWlhoaGDmfmzxDRAQD2xUjx0PGQxCDEpgwBWAvgLwBeA/AygCeSyeSKrq6ut+s5kP8HvI2koEqsbtsAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/fcloader.ea69c9ac.gif\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAY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Qr+OdZlllHAC4nr+Kuob1IvQ+4+/3hP8Pj8pIs37BalQFaWFI/MfpakBdA+rJexu5jM062oj1r3SZYFmtPkubaIjfFke8XgEZRQUcAfiUR+5QQbOP4Cjm4+8DpylnMAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/up-arrow.c5a8ef58.svg\";","module.exports = __webpack_public_path__ + \"static/media/down-arrow.48ae0f2e.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAAA2CAYAAAA8ukzvAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAA9hSURBVHhe7ZtZbJxXFceP7bFnPON9iZO4ibNvbdKmaZOqlG5U0KpqRRcWqTyBVKl9APGGEEJC8ICE4AGBKBICCdrSFsEDtKiAKEtTNVtpmi5J0zarszrxOrbHM2OH/+988zn2zGTxksQPczJnvpm7nv2ce8cpOyewElxzKM89S3CNocAjvvvaCfvLvj6rKC+zslxbCWYOSBlBRyNlVi7z3/q1VUFHDgo8ggYUUFLCLENOoFlpJFskGRQookwT8IYSzC4gUcSKEkZGCzVRyhFXGcoUoMB8KCniGgBRJx9KipgjUFLEHIGSIq46EJcKY1NJEXMESoqYI3BFFEFxNluYD8XGzDbmQ7ExxXAmMOuKmClBF4MrufaF4GrtOauKgOgwFbFwMQz7LzYmRMawZohTmTsdDNcO74XAEIqNz0fOB8XOCJMhf+UAmD8rMIloUZOPFTzVFzLrxOeNCdHHahCYz5e6cn2F86aL7Afq5eiimsAQNJSpY+LY/DVAxoDTgYLb1+/964S9/GF/7tvlAVcnlZJOXbTc1rXGbN28qFVWBMSNa0iST2XPWX9q1DKjY8Jz1lZTabFIuTPvwFjn2mw4fc5GsmP22sGknR7M+o3lvETE7llS42vHK9UwifLzX+GINX3dvDFFIbf/oPYczozZX/f3+53QcHrUVjRHbWVzlS2sq7Rq0cpyvmRu3XAv1jjSm/b5//gk6X0YTD6MlTHB7K0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zBEoKWKOQEkRcwRKipgjUFLENQDOY/lQUsQcgaKKCDTGezHdlWC6wE0W91b8PW8+lDziKkF4IV8pifPHFflQoAju4efF+es5/ncMV7qlfzP9F/5ewi8YW9qr7YHl/LI5GQoUwS9wF/uz8hJMDfKDO78e8p9c8qHg94gSXBso5Yg5AWb/B5Iy1i5Lg8caAAAAAElFTkSuQmCC\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAyOSURBVHgB7V1rUttIF714SEhS+cGsIJoVBFYQewUJK4hdlcqzUuAVACuAVCokpFKFWQGwAntWEGYFo6xg+JMHIY/vHPk2X1tIxrJ1ZQE6VSq1jLDaffs++97WjFwAvHnzZmFmZqZeq9Xu4DLg8evXr93fv3/P47NV/158vo57j3Dc5zXOh/jsE877z549C6XkmJGS4e3btwEG+gEG+i7OdXzUw7GL4wGuQ5xDnm/duhW2Wq2jpO/Y2dmZ//bt2wLbuJfEDPB9PRCG33efRMLnB7g+fPHixaGUCKUgyOvXr+uzs7PBH3/8cfjz5889fBQNFgcx71mtBCexHoAw9378+NHCc8hx4cuXL3syZUyNIDqLlzEonPnzOF49f/58U6YAiMQ1EOWhXq7j6E1LvBVOEOoDipvj4+MuiPA3PqJs70kJAO6po09Ncg769Be5qWjCFEYQ/jicdlSmL5WFCGngxAHXUHz2cKwXRRhzglA0gRtWIaM5817duHFjM00ZlxHb29sr6PuyFEQYU4JsbW1RcdKKaV40QvhQ7l7BsQkjILBU/iYEceKJbRBi6aISIo6NjY15/J6PaIY4WhbckjtB3r17tww9sTJNq8kamHBrOPF3ruf9G3MlyPv37xfUj2hcBK94EqgU6NKPyVOE5UIQdg66Yg8zZgksfXRZRNQo8MRYLpNwYoK4mcLYEsIQa3IFoSKMjuXERJmIIBr06+JooyMducIAUZo4bWBiNiaJj9VkAiD2tKpOXkeuOD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cX8g2KBqxEE6+NrVWuqAvqkViHwdbAEf/eLiVB+poAzOcw3CvHdJfw9KhVWWDwKT0OVKbMXwRDR01KrfhLrVSsAzVHo126ICatevuKL/cu3GqJAvdzAzPL5rCnR0bKxSZsPI5NRWA72N2Ze64Dq11ieHEb7mdcBHnI8xfWOCBx9IA4+xzb7g2BFBK6uGjMe5oaPnq03c4VBptD34triLH0NwLWTdn015eoY62OBlr/lBr4Uh+BWHAYoUcz2FPrF+rhjgs58LGl8OFvDhfi2dIB+GhFGNAp5kLpQhWoiPmZIB70QGCwQkVm+jw0ugzpEeb7Dilkv+MZXmBHs352C/huDp2gsqfsLtWrnOKJuPW1Zb+evHb4jAreFLdi4q0HDFrbgxJbAbeEdxZbAbeEdhMi/A+dn2CrCQWqFAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/SuccessRate.51b366aa.svg\";","module.exports = __webpack_public_path__ + \"static/media/blackinfo.5ce3302b.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAABFdJREFUSA21lk1MXFUUx+8wb2aYdBwKFGRkiOimbTSGYtOVTQjfBE2ICe4acdk0Xdm6MCZG3Bhr0A2JIe5oN8WwKgSIEJu4cFFMjV+kwdoGFxpMCnSa4gzM+Du3745v3rsjz6S9yZt77v/8zzn3nHvefRNRltHf399cU1NzolAoREQdi8VKrL+fn5//w0LXEDaHIpHIqb29vYQAjuOoaDR6G5tbNhvHBmL8RjKZHBNjGaVSSeXz+auIH2vA8gPnJIEu1dbWKjZgbH6EOmahqxobuL+/H6urq1OTk5NqampKNTU1KbKP2bgGI7DWj4+Pa5vOzk61u7trTUxsnJ6ennfZ4QvIukQCknGD7DqbzSpKLCUTuK+3t/eECLZB4ENsWLW0tKhMJqOomGT+PDZf+vh/w/2JajqvF4vFHKRvDAH5GHJaHElgd2whr5mFf4bbAtbEpssqAjz024C9QiJHHQQhri8tLb1nLLq7u8+zoXaaSkMSnM19C+cjw/HPVO40DjvkjGVIf2Dzu9ev4H19fV8Qs8OcQTktUTISuVxOTUxM6DJvbW2Jo/JRPKJU/rK5pByP9EQ6nVZra2sqHo/bbHQsE7jCC5ne3N7e7pidndWvk3teqxUk3wKbOzTgD4uLiwkyKpE5BYiWj89HVyZw0avA+CvW8oQe7vv6VggDHUsHpkRHuABe8xrRLPrwDcbudfZmbZtD2hwRW9NcWeT3vc6kobzDbUIvFJD/j40jDYHTX+jACwFPTwBgc58Q87gpdX55efnPJxAn4JIjzQuo60nGB55fV1fX4dHRUX2FBbwBcEPVwTHNaqNozMSqPMgq9IGBgQyvy5WdnZ2XbZSRkZHDlG86kUh02fQ2LFRgdulwNk8zp2xOCBrleYauTtv0NixQmsHBwXaIaS6DMl+cElTWz3E1vlRWuAK3XL2I8Nr8ei6SQmtr6zo32r8O4VYE5gyT3Fif8s628bhuH32PJTCOz4KfLSs8gqs/g/6MgeHLd7y4sbExBvazwWWuCDwzM7PLB+ICTp7yknCQ4fkQ/HPwG16dyBxDPbpLvJKX4X1t9LIZdIVUKrVuMDNXBAYsrays/GqUZh4aGvqL85MPxvrCwsJNg5uZ5msQmSB3+BoF9IbnnUM1lzEggwNfO8M9aPZnrCj1s3wCK0pNthnXUTsXwIsWp7q5KHWbXy+l3tzcvL26unpgc31GSduktN4h58U458WM7Oqk1G+CyaOHNBd+is3NzWMA/91cnNdFdp4WIzMkY5x+wHoKPNBc4A0El38nV9BfN3Yyg4drLr7FgQ6kubJSAYLform+8zoWeXh4uJ7XRsTfsA/oReEfoZqLyyRO+cXW9ldGskpIhXji/gDV1qECcwffo/zXee7aHDU2Nt5Ht4IuUC0bXzDd1exUd0410tzc3D10b1fTT09PP0D3TjW9FzexIrT/DUqVQ1n1P7PX8DHIxwiekoyvIbzKfPIxOA3r4to/s+auuGLsttwAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/copy-icon.63720289.svg\";","module.exports = \"data:image/png;base64,iVB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VV/XHsOZCWsiz3pfbiF0nwDuC6TqfzKxH5buw5kISkvvG3VnJ3ANf1er0fiEjtf1sL0b09Njb2/dhDDEuyAWi1Wlf7/f6chPmEIHx6N8uy6cnJySuxBxmWZAMgIjI3N/dmWZaTMuBzA+HSNTNrTE9PJ30XmXQARERmZ2dfMbNvisi12LOgNt7Psmy22WzW/vf9P0ryARARaTabvy3L8j4ReTf2LKg2VX1PRL42PT19MvYso5DsTwE+TFEU96hqR0Q+G3sWVNKZLMuSv+1fy8UdwHXNZvMNEdkhIs/GngWVs9Dr9b7o6cUv4uwOYK1ut7tbRH5uZp+IPQuiumRmjzebzWdiDxKDqzuAtWZmZo4uLS19TlWflDC/Rox6MTP75djY2FavL34Rx3cAaxVFsV1EHlfV70iY3xlHdZUisliW5U9mZ2f/GHuY2AjAGgsLC1vzPH9ERL4tIrfGngdBvSsiv86y7KC39/k3QgA+RLvd3jwxMTFZluWsiNwvImwgWk/nRORFVX1uaWnpRCqP8QqJAPwfFhYW7srz/F5VvdvM7jKzu0TkZlW9RURuEd42xNIXkSsi8i8zu6qqZ1T1jJm9lWXZy9PT03+LPSAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMBH+y+o6lCmWayEtQAAAABJRU5ErkJggg==\"","module.exports = __webpack_public_path__ + \"static/media/deleteIcon.d7ac7a66.svg\";","module.exports = __webpack_public_path__ + \"static/media/docIcon.ab997930.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAf4AAACKCAMAAAB8ddh0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABUUExURUdwTPJhIpgUTfNiI/JiIuJXP/NjI/JiI8hCP/JiIvNiI5gWTvRjJPZlJZcVTfJiIpcVTvJiIpgVTfJiIpoYUJcVTZkWTpgXT5gWTvFhIpcUTZQcTlU/w98AAAAZdFJOUwDa9FfDCER/FO5qfjIhu4+aoeGyKsxPPWaDSZXsAAANBUlEQVR42u1d6bqrKgytAwrOQ621ff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LhLAmJI0N2kHoUEHB6d0F2nf+lOLmgWdJWkpYMfis0TNp/86sI/tZ2o+b60iAYw5SRuSSmwtWvOpDfwc+B5wue27aj5/JZKWBdYj/dKv0cAlHgM+YPuCBs5du0gAYVJv4Ouk596m/Jk0MekK4Arb9zZ4rRcUjztrT/ZZqMHL/RT4kO37G7xGrSIBhBdI2og0qLfIEC73AHAbaVLNCx/bD1Q5maRFSbshTf55Pc3e8JM8SCrhVfvGHU2LBBBeRNI8pBp2H2gphCdJ3egnSFWLHp/s30UqZDLnFP+cl7yNNuryHKl8+RdGdQVlJIAwVZLWBg4E1mw7lo66jjSj77dtBzKImAkYpsr2FbbXAtYhDeaF5BZgO+C/Rv3mh+gBhJIkvQPYn/zNSPriOuDLtqsus+6kSAAhi6S1SIlgnbZjGZJLga/Y7mUvKBJAqKSYUrwTsBXw8pbDqdvfgTOBk/teGSkSQBiIpJmBDYHtgc2Bfc3NGwAAAKdJREFUOdqNqLKngR+RZjFe3PUZfHWJBBBqU1Qh2pSUDDYmbwvzNvyL9Gx/Fmk3nn+0HM/QRQIIjShmF25Oeo34ZmB56ltkU9WzwK9IOyv/DLjOdu6GKr0SCSAMhaRZSFt8v3myz+vJ30CjrGdIC5MmzTK8BrjK9hMNXW8kRQIIrZE0G7AS8DpgPtJg4vQ+8OKZgZN/HgPuAG4n3fD32H52WP8vo+r/AXpBahkP9PloAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/forgotimg.c9b612af.png\";","module.exports = __webpack_public_path__ + \"static/media/gmv.5070ebdd.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAWCAYAAADeiIy1AAAABHNCSVQICAgIfAhkiAAAAF96VFh0UmF3IHByb2ZpbGUgdHlwZSBBUFAxAAAImeNKT81LLcpMVigoyk/LzEnlUgADYxMuE0sTS6NEAwMDCwMIMDQwMDYEkkZAtjlUKNEABZiYm6UBoblZspkpiM8FAE+6FWgbLdiMAAACiElEQVRIic3STUgUYRgH8P/zzm5rpgRKIhF1sEOXhaQuQWD5scTuioSd6pQGkjsjFEKHIi91iQxsZpSFKPBSSEGkM32s9uGlDuYhTx0MipASi0pL92Pep4Pu+NG2rrZCz23+8zz83mfmBTawoiNRrzEYKQUA2ihEt1U/S9hg3kGCLmwIpD9W9yDhvGCIMgAA0UeRbyRqaxWYw5CLABCQVl43isbadibizjAzdrkhkeUr9x/15AvRY+r2eFw+xXJkcLegxuD+lmRePl3Pk/YyzGEIzBWLBoZ95aUNwaAeB/Jw6248OlMym0o+Z2a/GzK92lJSGGg+eGU6HSn/gkRj57bOJn8NgrE3nREwWlzsCTRVXfuxtFcAQI+tVd60tW1rQcxnHUWJuZmHxLTPRYjGaDMCJw93fVvZL7r6VSPpyNGfjvPOtLVATpuMdBQ601MDDBxIZ1LKt55NBbVqrfkl04wgQgMAMKjIkfzAtLX6bIhta77Ep6n7IFS5IdG4UqhUnw5cnfzbnCDCLfeJ2Sdl6p7Zrx3LvEnUO56Sd5lR546APgjy1Wh1xkS2AwotZFwUgjsXLeGVMnXHHNBOLG3s4z4lMfHmNhPC7iKSJgoUqlZDne+zIcDCZVBD3e1EdNnFhFCSzL26pTbP4x3i88BwLxMaXQRyEgWoaQnq46sh8/1LSrfU8yz5kvuSJDM8bYCsBKMpnUuir4rAIS1ojOWC/AEBgGFFzkqJzkzNC/h3Bd6a1vD117kiGSEA0C21FewYzIKWN/MMeSmgHjFfrgUBFv7RytJCRjfBc0qCZDqTkmYVRQmvB5k/ZJbSbfU4kk4vK0pKENerITO2HiSnMqxIo2FFwqt3/if1GzeB/Day85pQAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/happyFace.4cdecab8.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAD3CAYAAABLhgw7AAAABmJLR0QA/wD/AP+gvaeTAAAh60lEQVR42u2dCZgU5ZnHG9EYdXO5OTbZxKxuPFnNRs2TxCQbVzer2cRo3Me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W1z91JJW8OpQ3jR5jikreGJ1a91P/gskF9N8GwU71kYN+NYr9z+tChD825bc5XnFnhPlBzFcNzp1G952FznVLlFaR6f4xijhBkn9no6ekAUxiQsq1FG5f70doWguwK0pqaixN+eS1gZTvPEA0FMUIhyAFK+KWb+KGtAListq88rsg3YERCkNNmo1VVZ6WX9SGALO+uFQE+Xq53xUiEICeDlFOe+IGexI4BbKa7jssRDiO//xsYeRBUSCDlyG8apHGAznDXc7eAN0iWv4eRBkGFDNKamovS7UMiAJ8RkXXpZQSIIMhtIOWHPl39vhYgzNgVYn+ZVPWbGEkQ5GaQStI5Ij+RCzhvARg7dFIkwScU320i7xYjB4Kg1jBtqj06ErPSVvaKa0IB+QKMEAiCOgdpRcVX07mkH2qRZfdBUxHfXVwDnm2egREBQVB2MPV6zxbLVnGapsBnppUiS4ET3/8bS3QIgoyHKSeGkyL9UgSf+MjoJoenRDWmFHklf5f+vHXRDXcXgqD8ApUDUPGAdF1SlV9ItxwJ2haYiizzZ5zPfz5JivwrLM0hCLLbDLULBaTzuWr+nzk/8nn27HSpvXzuo9amMwo+ELNLbUleU/N93B0IgpwL1zrvt7l26dXafqooBM1HHhly4wVkU35fMf99q2ZV3sd/HmIfSf95SBTlOPHfeRa5vGk/VnqTXzuY/9vDos0JqfJPSVG+jisNQdbr/wHjiojdnoWW6QAAAABJRU5ErkJggg==\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAD3CAYAAABLhgw7AAAABmJLR0QA/wD/AP+gvaeTAAAeoklEQVR42u2dCZgU5ZnHG/GIurncHJtsYlY3ikI065HHxCQbV9fVTWKMZk04FKPigReoiHgglwcKeIAgYIgHt4iAoCIDw3CfkctBrmEYZuiuqp6q6p67p493369pRkCY6e6prvqq6v9/nv/j+NDT01P11W/e7/ve730DAR+JiDqSrv4iaWgDkoY6LWGoa/i/e9jlSV3dxf+/ir9+O6krD5GpXcSv7xCAIAjys8gInslgHMEOsikH702a6iCqDX0bVxGCIH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LS3EHwePBhg9sH4XAAAAAElFTkSuQmCC\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAD3CAYAAABLhgw7AAAABmJLR0QA/wD/AP+gvaeTAAAeoklEQVR42u2dCZgU5ZnHG/GIurncHJtsYlY3ikI065HHxCQbV9fVTWKMZk04FKPigReoiHgglwcKeIAgYIgHt4iAoCIDw3CfkctBrmEYZuiuqp6q6p67p493369pRkCY6e6prvqq6v9/nv/j+NDT01P11W/e7/ve730DAR+JiDqSrv4iaWgDkoY6LWGoa/i/e9jlSV3dxf+/ir9+O6krD5GpXcSv7xCAIAjys8gInslgHMEOsikH702a6iCqDX0bVxGCIH+BM1p5BkPwdXZzjuA82vVJQ3mOFOV0XFUIgjyvhKn8gcEXbic4j/Y+MtRf4upCEOTNqJPXLZO6Noxhl7IYnoccZ9+LKw1BkPfgaajjCwTOI20qT+GKQxDkGTHYhtsCzy+MSBSCIPcroWs32QzP9HSeDO1XuPoQBLl36h4Of59hFnEAoMIV2J2HIMjNU/dpDsHzkIfjLkAQ5L7oUw91ZoAlHQZoI0fB38PdgCDIXdGnrr7pMDwPWleH4m5AEOSe6JPXHhletVIAVCTZE52AuwJBkCuUMNUbJYFn2lQd+hnuCgRB7pi+G8oYmQDK7o+7AkGQOyJQQ10pGUCn4a74fFmJNxO5ZOLlCUPpzqfV+maOFY9LmeqslKEV89cbMxZlFMtEGhy7OvO1cKn4d55drUsZ6kf89WR+j1e4KthAcXCD3/c6MpQL+Od8FVcbal8EqquqZADdiLviA0gSncRFZS7kP+A9+J6/kDKUD3k29LnIxrB5vFUndGXDwTQ+7bGEof2W9AM/xB2CspzCpwt7yATQctwVDwIzop7NEeEtmdKImy0oj1hoGyldXcwBxpC4rl5Duv413EXoqChg9ykSDtww7owHxpau/4Aju15i2s33NCQ5LLOxyJPewp0WXuUo9X+psvJU3GVMozpIkED/pWOduDOuHEsdyQz/hu/fi+ytHgBmW27g9dWPeY22D0WUszAC/DuF1yUbmJt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r+6yWAXSES6btyIn1vPBQwnO3m0fRhQ+50QU3RAz9MGNrSQxBtrNhB28cNwO68hS7uLo5y4qGA4axSl/pd1TTl2aHd3dQihE8uKX0OryvatH8XVS14k7a82JvWPX4jLb/n17T0tkvh1szR++Jb/oOKuKBI0a2XUvHdV9CyJ26hVaOH0OqxzxTEq14blljyXL89Cwf2XgvDbvVHT/VeI9Y7pwwZct+7N717sjsr3EfClzA8t1jVex4urFOmuojM4I9QzBGC5IlGT8xsMDUCUtJatHG5C61tIUhWkIbDnRKGugywks7TRENBjFAIcoEShnIdP7TlAJfT1rbHdfUajEgIcls0Wll5amZaXwuQ2e5qscHH0/WOGIkQ5GaQcsoTP9AT2M0AW8Fdw+UIh5JhfB0jD4K8BFLe+c2ANA7QWe467hbwKqnqdzHSIMjLIA2Hz820D2kC+KzYWVeexwYRBPkNpPzQZ6rfVwOEObtcrC+TaX4DIwmC/AxSRTld5CdyAecNAGOrTook+ISu3STybjFyIAg6EqYHa48OR1R6hIPimlBEPRsjBIKgtkFaXv6VTC7pO+mdZf9BUxe/u7gGHG2ehBEBQVB+MA0GTxPTVnGaxuORaYXIUuDE9//BFB2CIOthyonhpCs/F5tPfGR0rctTohpSurqYf5d+vHTRBXcXgiB7gcobUPGIcmXSVJ/OtByJSgtMXVX5M87h/z5CuvoLTM0hCJItQu1AEeUsrpr/B86PfJI9M1Nqz8511OpMRsHbIrpMT8nD4e/h7kAQ5F641gS/xbVLL02vp4pC0HzkkSE3VkA2ZWjF/PXGtE11J/+3jL0v898yUZTj0L9zFPnJwfVYZTS/dhD/2/2izQmZ6k9J17+GKw1Bzuv/AfN+GVzJlfoxAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/search.b98b67da.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3J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gXAp2JMbxh4eI744Cyz1YC3fyA7AVLzQiq7bfDIxTWVYUwhcA+B4mDe08wBeY2CdBTzvkvtCrmbJa0H9btxuST4Lwqc8WYzxoFOXmunJWj4x7ZdJ7EcL3RywHnv/uQMAsPFqO/KhMyEEfJJBJwPu8QCNA3AsgKG+xtl7wO4tMDYR8UaX8ArAr+TY+mOQvvYqijy86pPwCc/W8kl57ABa51RFnNhJsKiQb8+9avJnTL8MeemqEdmwM85yQ0cR3BFs0QhiHsGgEcwYYhFsAGBC9V/+I4ZLwIcA4IK7CFYHgXcweAeRtYNdd4fLeD8fyb+FSUvbNP3R1Fk+K2SPr87Bowu9CNiVTaSGe7GWX4I9AFrnVNm5+CIQ5uKjG3p2EPj2bLxtgYlHmIXZ7HSyA0CVR8u94yRSYz1ayxfBvaR1VX0s2h3/DQhX4a/v5juYQV+zs9UPYfkseQSY6K8tXi3EIM/W8ktgB0B0cPQ62nukvGeMc2PHDZ+rMJIoD896tZAFGP/YscAOACLUF3uNy7hMQRRRToge8GqpgoUHvVrLL8EcAHu39uOLvcwCn6AgjSgjTm3TE0xYXfpK9Gi+pild+jr+CuYA2HuOdVexlzEQiAsyhFm4wNcAcEpYoh1sXe9VHj8FcwAAAKPoXWG4D68R4mD5yc0tBMwDBnQyUzeYLw3K2Y+BHQCu5d4EoLev+TooTDeryiPKSzaR+gmIL0D/dpG7QXyxU9f8sF+5vBbYAZCvXZJhpksAdPbw4zYAM51JTRsVxxJlxKltfpQK7qkEvh+9PyCmAGBJyOo+0altflRRPE8E+0QgAPE1DUdzONTIQA2YmS2siVK+uaPmnm26s4nyMSidHFVgXACgBkSjwcwgbCailjDlHpXfNyGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCDNz/AcOpqwEq+iCBAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/tranx.0920d369.svg\";","module.exports = __webpack_public_path__ + \"static/media/tranxCount.fb3fdd55.svg\";","module.exports = __webpack_public_path__ + \"static/media/unexpected-error.59cfe134.png\";","module.exports = __webpack_public_path__ + \"static/media/upload.70040e49.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAYAAAAmL5yKAAAAAXNSR0IArs4c6QAAAVdJREFUKBWdkb9Lw0AUx5s0EQcdFUE3lwZnETfjJDgJ4uAoCAmODh3cCoogKCIkKQWzibaCSCdXwf+g4OAqTs3gGPLLz1WvlAOL8eDy7uW+n/fevVep/GM1m81aGIaTAtXL8p7nHWRZ9hrHcaN0gCAIVjVNu/hJ+lIqgO/7s0VRdNgm4LnjOI9/DtBut6uI74DnqeDZsqy6gMUyvs34b7/fP0Wxxv4wDGPHtu1UEpo8/GZ593ae5x0yJ2hs13UHb5f6sVMQ46LsayEmwKEKi/86Y+kh3BTO6OLdU2R+IMA08A1Nuxq9l2dRwRLCLl1uIB5WFEVRiF8D7um6vi8B1WpUUEd0jLiKfTJNczdN0z2CnuF/spfJ/qaC0h80kezrBLjl5wzAO+c5rAi4JectAdUOp9BqtRaSJLlHsCJEwCc07UgFVH8YQFzQuAlmfgm8SOYNbK4Cqv8FmmGIhG+xVS8AAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/test1.efef19b5.png\";","module.exports = __webpack_public_path__ + \"static/media/test2.cd21b44f.png\";","module.exports = __webpack_public_path__ + \"static/media/Terminal_ID_Update_Sample_Sheet.bfc04e8c.xlsx\";","var map = {\n\t\"./CardTypes.png\": 1137,\n\t\"./CardTypesTwo.png\": 1138,\n\t\"./Cards/amex.png\": 404,\n\t\"./Cards/defaultLogo.png\": 405,\n\t\"./Cards/mastercard.png\": 406,\n\t\"./Cards/rupay.png\": 407,\n\t\"./Cards/visa.png\": 408,\n\t\"./Edit.png\": 1139,\n\t\"./NetBanking.png\": 1140,\n\t\"./SuccessRate.svg\": 409,\n\t\"./View.png\": 71,\n\t\"./access.png\": 1141,\n\t\"./action.png\": 1142,\n\t\"./add.png\": 1143,\n\t\"./alert-triangle.svg\": 1144,\n\t\"./amex.png\": 1145,\n\t\"./axis-logo.png\": 1146,\n\t\"./axisloader.gif\": 1147,\n\t\"./axisloader_grey.gif\": 1148,\n\t\"./barIcon.svg\": 1149,\n\t\"./billDesk.png\": 1150,\n\t\"./blackinfo.png\": 410,\n\t\"./calender.png\": 411,\n\t\"./ccavenue.png\": 1151,\n\t\"./check.png\": 1152,\n\t\"./checkGreen.png\": 129,\n\t\"./close.svg\": 66,\n\t\"./copiedIcon.png\": 1153,\n\t\"./copy-icon.svg\": 412,\n\t\"./copy.png\": 1154,\n\t\"./cyber.png\": 1155,\n\t\"./delete.png\": 413,\n\t\"./deleteIcon.svg\": 414,\n\t\"./docIcon.svg\": 415,\n\t\"./down-arrow.png\": 172,\n\t\"./down-arrow.svg\": 402,\n\t\"./download.png\": 130,\n\t\"./downloadIcon.png\": 100,\n\t\"./drag.svg\": 1156,\n\t\"./duplicate.svg\": 1157,\n\t\"./error.svg\": 387,\n\t\"./failure.png\": 1158,\n\t\"./fc-logo-01.png\": 386,\n\t\"./fc-logo-02.png\": 1159,\n\t\"./fc-logo-03.png\": 416,\n\t\"./fc-logo-full.png\": 1160,\n\t\"./fcloader.gif\": 395,\n\t\"./fcloader_grey.gif\": 1161,\n\t\"./file-upload.svg\": 238,\n\t\"./file.png\": 417,\n\t\"./filter.png\": 398,\n\t\"./fiserv.png\": 1162,\n\t\"./forgotimg.png\": 418,\n\t\"./generating.gif\": 147,\n\t\"./gmv.svg\": 419,\n\t\"./graphIcon.svg\": 1163,\n\t\"./grayinfo.png\": 297,\n\t\"./green-tick-icon.png\": 420,\n\t\"./grey-tick-icon.png\": 602,\n\t\"./happyFace.svg\": 421,\n\t\"./hdfc.png\": 1164,\n\t\"./hide.png\": 72,\n\t\"./info.svg\": 239,\n\t\"./left-arrow.png\": 67,\n\t\"./loginimg.png\": 422,\n\t\"./mastercard.png\": 1165,\n\t\"./migs.png\": 1166,\n\t\"./noDataFound.png\": 109,\n\t\"./onboarding.png\": 1167,\n\t\"./orangeinfo.png\": 240,\n\t\"./otp-img.png\": 423,\n\t\"./paymentInfo.png\": 424,\n\t\"./payu.png\": 1168,\n\t\"./payuPg.png\": 1169,\n\t\"./picture.png\": 241,\n\t\"./profile.png\": 197,\n\t\"./refund.png\": 1170,\n\t\"./remove.png\": 70,\n\t\"./resetimg.png\": 425,\n\t\"./retryMerchantIcon.png\": 1171,\n\t\"./retryingMerchantIcon.png\": 1172,\n\t\"./rupay.png\": 1173,\n\t\"./search.svg\": 426,\n\t\"./share.png\": 1174,\n\t\"./sidebarIcon/accessManagement.png\": 389,\n\t\"./sidebarIcon/dashBoard.png\": 390,\n\t\"./sidebarIcon/manageAccount.png\": 391,\n\t\"./sidebarIcon/manageBin.png\": 392,\n\t\"./sidebarIcon/myAccount.png\": 393,\n\t\"./sidebarIcon/onboardingImg.png\": 388,\n\t\"./sidebarIcon/profile.png\": 1175,\n\t\"./sidebarIcon/refundImg.png\": 246,\n\t\"./skeletons/bar.gif\": 298,\n\t\"./skeletons/line-big.gif\": 299,\n\t\"./skeletons/line.gif\": 300,\n\t\"./skeletons/pie.gif\": 1176,\n\t\"./test1.png\": 603,\n\t\"./test2.png\": 604,\n\t\"./tick.png\": 427,\n\t\"./transactionview.png\": 207,\n\t\"./tranx.svg\": 428,\n\t\"./tranxCount.svg\": 429,\n\t\"./unexpected-error.png\": 430,\n\t\"./up-arrow.svg\": 401,\n\t\"./upload.svg\": 431,\n\t\"./view.svg\": 196,\n\t\"./visa.png\": 1177,\n\t\"./wallet.png\": 394,\n\t\"./warning-icon.png\": 301,\n\t\"./warning.png\": 1178\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 1136;","module.exports = __webpack_public_path__ + \"static/media/CardTypes.074d64f3.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJIAAAAiCAYAAAC0sYD7AAAABHNCSVQICAgIfAhkiAAAAAFzUkdCAK7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAX3pUWHRSYXcgcHJvZmlsZSB0eXBlIEFQUDEAAAiZ40pPzUstykxWKCjKT8vMSeVSAANjEy4TSxNLo0QDAwMLAwgwNDAwNgSSRkC2OVQo0QAFmJibpQGhuVmymSmIzwUAT7oVaBst2IwAABLnSURBVHhe7VsJdFXVuf7uvbkJmWcChEEgQoAwDz4GkUmtVSmKrSK2lkFt0fXa1dLC8/VVSlFrX3Wpq77HklJfn0IfLhUQeTiBMghBCCCTSSBACCEQQghknt/3nXNu7klygyGXWN5a+dbaOeeeYe999v729///3juOegLXgrIy4PJloLwcCAgAwsPNpPPWoqYSKM4BLp3kMQ+oLgUCQ5lPIhDdl8dugCvQergD/x/QOiLlsbM3bwY2bgT27wcuXAAqSQaXyyRRjx7AqFHA1KnAuHFA587Wi01QeAxIXwtkvA+cP0RCFasGTLynWtQxBUbx/RQgZRYw8H4gJIH39UAHbmRcnUi5ucCaNcBf/0oCpAO1tdaNFuB2s/MHAs88A0ybZpJMKDkHpC0HvvovU4nqyZiWshJnnNYxMgkY88/A0DlAUJjuduAGhW8i6dLWrcAf/gBs2ULTU23daCWCg4HZs4HFi0mus8DnJFbeTqCKKibVaS0oeAahkqaTmH8CYmj2HGJZB240NCeSSLOW5ue556ggX1kX24jRg4GxNIuxhaYKtRVyl2JHANNX0uwxT6cYdp1RTtUsy0W9g76ekRqbU+OXk9eD6b+5r66OF65U4NzlCnNAWtBZ7/gwhAe7ca6ovPF9lhUU4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0BavW+0nDOGwpAZIgbQ3pGW799Q079GZbT4FeRtF0jO/mcbb8amhNJKKVD8/bbwIsvAke01bEN0ALwkmeABBJz57NAPh2nGltDtgYioyxF98kMBl5mUDCI13ybjg78Y+GbSB4cZOdLnd57j06zd+b0qtBE5VN0hufNM9fuBG332EOFO7gKqJId5zVrADSDBpoIpBRKWR7+BDBqAf2rWN3twA2KqxNJ0Iy2/qtk3Trg00/Nvd2aCff8162WTyIizOUSbTmZMYOdT89a1+1QMVp8PbIaOPYhNVwLr3QivQptqpWjExDDvFIeBAY9ZC7gykfowA2NbyaSHfp///x8cz1OyydCNG2wlEcLvp18741pBm3/kEoVZpKUzEtRSUAwEKk1P5JIi7Pf8mRjB/zDtRGpAx1oAR02owPXBR1E6sB1QQeROnAdAPwfjN030w+E73wAAAAASUVORK5CYII=\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAmCAYAAACsyDmTAAAAAXNSR0IArs4c6QAABN1JREFUWAntmGloVFcUxzNbkgmpVBMtWmrEVghKVdSInxSxajuIlGIHGyOafVFRiPqpIgTRIBaKgclK3GKXILRIm/ohiKEgFVyIrVS/SMYFt4xL3JhJZsbfec4d3ryZCXFeDH7wwp1777nnnvO//7udN5a0MUjNzc2fB4PBOovFMg933nA4fKCmpuZkIteWRMLRlLW2ts4eHBzsweaHBruHbDbb5srKyhd6eRygxsbGaSisYjafMpNsvfJwdfTPVlVVHdLrwExWKBS6gJ185L/b7fbvaX9B3kfbSf6fce7q6ur/1Di7qnR1dWV4vd462rUYsJFV10jLbxlzGAfRgSzTbwzOR3Y9Jyen0O12v6R9paWlpXtoaOhX6rMY8w/Al8HUOXGkAfJ4POP7+vr+FgUGB8h/UJeZ3RGlkSSr1XpRDwam1zJ+RWTs1P7+fpnoXnRCFRUVVzo7Owt8Pl8bskIYa0dvluhqS8bgDjrWofwvtBaVl5dfjhhKqWCC0xl4iTyOfAq7K7EvvnocDofYv0U9DVBOgN6nmp2ZmTmppKTk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d7ayJItg+LyUZa75qRkSHVyyglS05Opmy8HKR/CbKdiNiL4EVn8KKKboX0oI/hkCC5EqRYn/BG0Z/sNoLFE0C0JZjYQBRDx9++ffuMSDC/RBIbiDtEGaLuZySy75Eh5G3p8+bNG/p41ItJP8YXie/AdZUYG4Q7cjYWbmhqauI5IK4LehhXJmcc6ZT1IHUgqtQwMhMr/AgKBuCBZCj5hvrEDz5/VO/evdvT29tb3MwoW8Yi6rDYSJMOVOgAwIn1BXTbQXcxdisJ85ltr3ScbB0AtsdW2cp2ohFwuISPlS1YgMmP2sChF5XGEa1Y0iuMMwsSoUMoQaQ9wrtcCSw2yqVeSN3pVGmRG0NtMJDfOZT6hfYRDRQElUpsUVZZWVkCfVjCoc/FKHrpEzCCokBp3GjbFTE4WgUkBxzOAZ6iESx8wcDXIKK7AKlax1j0/C9l/wLiyIkJZEM3eAAAAABJRU5ErkJggg==\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAPdJREFUSA1jYKAxYCTW/Jni/lH//v7zYGZgaUl7s/4WsfqYiFXI8P+fCVBt7H9GBjGi9QAVEm8BKaYiqR21ACkwsDNHgwh7uCCJ0jyIWOZJ+cv+/ftPFclSrMw//xjkQBL/Gf4azxb3ZcOqCEnwH7PkifRns76x/Pr1P/Q/A0Mvkhxe5v///yf8+YtXCViS+e9rdSDjFgsDE/NeRoZ/2YS0/P/3PxjoficmJob+/wxMdwipZ+X6/4rhDQMD8YWdmG/fv38MhUyMLLbpr9cfIWQBTJ7mkTxqASyocdKjQYQzaGASgyeI/v9neAl01XWG/4zfYK4jhgYA2OZALRMnw/UAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/alert-triangle.ed726c9a.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAiCAYAAADmvn/1AAAABHNCSVQICAgIfAhkiAAAAAFzUkdCAK7OHOkAAA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II=\"","module.exports = __webpack_public_path__ + \"static/media/axisloader.dfeae490.gif\";","module.exports = __webpack_public_path__ + \"static/media/axisloader_grey.ab48652d.gif\";","module.exports = __webpack_public_path__ + \"static/media/barIcon.81ecc518.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAnFBMVEX///9fYGL0cyFmZ2liY2Vub3H3dCHV1dX5+fn09PT7diLf3+Cjo6T1eiyXmJmCgoT98Oapqar4pXB2dnjPz8/4oWr/+/j83cl8fX/0fjL6xqTFxcZpamzt7e3+9O66urv2klKNjY/n5+f2iUT5r4D3m2D95tf5uZCIiYqysrP828X2lVj2ikb7z7P1gzq/v8H6wZ381Lr6w6D6topjLFR1AAAJmElEQVR4nO2c6XqqOhSGCQRkErUqYgUVWwdq1e56//d2EgKZQLsdesT95PvTAjHkJVkrKwNompKSkpKSkpKSkpKSkpKSkpKSkpKSktKlCqeaZjuPLsXNmn7svzTN6QfJo0tymz6WrvuKQCIY954YJVy2dZ2AAADiw6PLc6XCV8vSORAAo8Wjy3SFwj9zV9cFEABhz3t0uS7VaKlbugyCUMye/eiiXaLwXacSQJCMwaNL99cKd7p7GgTAzZO0r9I4SpBv3I8AnsTwn8DqV9u2JXDsV+jszACCzN6jy/mDwrUu6UguJJFIAvutx5b0rMLdXmhVVnvYpRcnERRQjKCxprLbWnyrstztR4jPr17zP8nBFFBg7DcyapluxTZltf/k5Q/XY/1zlSdxArFSQJw9tMh1mr7qgo3r7ZcpPh+uPl1cOe/5keZJ7Qt2vEZ1kOGr6HJ1/e0jvzAauoTPHa8JykFEgbBJpjKaS9WhWy+4WU1fmCu29P13ntiZxWKtxMFjS8/0ItVGCbKTz86JD3NSyVRgM6KWbrvCQUCGlbPumqAMpF6lGXXCg5T+Nwd5qQK6+6/cldmHPmwyiDueW2dBkMbEDdgZbC5I+1jayxkQ3V2S9pVsYENB3rpaDYhlbd/FyMVtF6YygY0EsV60GhB3vJtqq6MrBC/W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l/+l+54XYExHtrypNHo88yJlh8aML1LWt6MNfqA/Eim/WHtntDyKN7o881t7e+TCnBsHt/4g/FEyw1/wPr9UOPPNyeqx+16RWHffUvjD8Src7c/zOLi9uNSwDftekV3zU2AbOqRowuofrKVfaYTuFs3Vj88uoj249wHQ/1KY1P4dXnJD8zmopa3e44897x452u5Y2YA2NRDBi//5S03AALz+HD1isE1PHTw8jcmALCp0XfCvnbw8oExRh/7B/82QAGATY0OAFcNXj4wxugXA108ePkbEwDY1OiD4F2Dlw+M8c7ByzcDwPRGzwBcP3j5wBjXDV7+6B8/GztndAEcvBODl28fhnk5/2zADAAATEgAAIAJCQAAMCEBAAAmJAAAwIQEAACYkAAAABMSAABgQgIAAExIAACACQkAADAhAQAAJiQAAMCEBAAAmJAAAAATEgAAYEICAABMSAAAgAkJAAAwIQEAACYkAADAhAQAAJiQAAAAExIAAGBCAgAATEgAAIAJCQAAMCEBAAAmJAAAwIQEAACYkAAAABMSAABgQgIAAExIAACACQkAADAhAQAAJiQAAMCEBAAAmJAAAAATEgAAYEICAABMSAAAgAkJAAAwIQEAACYkAADAhAQAAJiQAAAAEzp/dAErdkn1yOpR1aOP/v2w6qKj9ilHfy8cVeBKnBhdAAft5urD1YeO/n64end1TfXW6uqjf183qkDYlXNGF7AiF1dPqL74qD02MyywFu+sXnNS+9DYcjgy+gfAQY+hB138Hrhf9XXVN1dPqs4bWw5wDG6r/qD6hepXqmvHljM1AWADB138IOdWT6+eUz2ruufYcoCBbqpeVv1c9crq9rHlTEcA2MBBF3/Mzq2urJ5fXT62FGAP/UX1H6tfqm4dXMssBIANHHTxx+T86tuqH6geMbYU4AC8vXpBy6yAILBbAsAGDrr4Y/C46meP/gKciauq7265X4DdEAA24C71u3b/6qerP8rgD5ydx1S/V72oetDgWuATHHR62ZGvrF7YEgIAtuED1fOq3xhdyMqYAdiAGYB/dH7Ldbtfy+APbNcDql9vmVn08i/2wkGnly16ePWS6orRhQCr94bq2dVfD65jDcwAbOCgi9+Sx1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1taykiSZFEURCSEmWZZNoijyqqqyPM8zqqqyvfGONE0zeJ7XVVU1eJ7XZVlWRVGUKKWSIAiyyWSSrqeKz3Kd8t9S4bWfR742UgAAAABJRU5ErkJggg==\"","module.exports = __webpack_public_path__ + \"static/media/drag.546cfe39.svg\";","module.exports = __webpack_public_path__ + \"static/media/duplicate.0beb885a.svg\";","module.exports = __webpack_public_path__ + \"static/media/failure.f1b3277e.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVQAAABcCAMAAAAGaL1eAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABpUExURUdwTPJhIpoYUPJhIuJlSOBUM8U+R/JiI/VjJPJiI5gUTvJiIvNkJPNiI/JiIpcVTfNjI5gUTfNiI/NjI5cVTpgWTvJiI5cWTpcXTvJhIpkXT/JiIpgWTvJiIvJhIvJhIpcWTvFhIpcUTYIozsYAAAAhdFJOUwDiJvgFFw2qJYDV1Tdv7vdT6GBGolGOiXW2O6JjmcvDvS86Py0AAAlGSURBVHja7ZwJc7MgEIajolHjHe8jiv//R36AN7JpktoZ8w07006rQfFheXc5zOVyiN2ri7Rj7d7iQlI4GinGluRwNFKMA0niOKQPPJgpWRyNFHsSxtFIMW4ljiMsWCHFOJVAjkaKcSSR/BrpDXPmSChHI8UaklgORorxTXI5GinGcuT/sSEAKcauhPMh0ghCivFd4jkaKca6BHQ0UqxIQkcjxZWcTXkfqSKRSqTfjVSTSA9H2kikbyN1JVKJ9OuRymz/aKSpRPrnSHU5mXo40tQDoEbXla2LBeOxytotGFSrIpslGnN9sYCvdFC1j8o1uMMu+ehQtzv5ax8EyHnRTFA63qVxRT3yXima97D4Z7ZW1eMmQo33kWr4AbRPsS65PnFdjnMbW0xw3St6Mil2HyutcMcf86xEQ87yyNnNBBtr0GpOY9foejueenBttObWbpF6T0dPNxFSjBsAKngfBZyJDcB1rxSeFHPn497mBCKVK3i8XNte99V21r7AoTOXqm9dSQeWln9CulveMxvt2Qw1v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qIyNqibSMEFAAIgITEBXd3G/12bB2KUrH/vYiQ7TUf+U/0wfVhzMun2JXSEIk+C5H7MIiN4jVg1lS1c9/L+d938A757sGK9MCyQAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/fcloader_grey.3fe72b98.gif\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARoAAACzCAMAAABhCSMaAAAAtFBMVEX/////ZgD/WwD/YgD/XgD/YQD/2cT/uJr/3Mz/p37/klv/VQD/WQD/387/XQD/mWf/7eH/jVP/0sT/f0b/7uj/ey//Zw3/qYP/eCf/dTP/hkz/v6T/+PH/xKr//fj/9e7+g0D+y7P+bQD+49b+xaz+sY7+nG7/8uf/roz/n3j/bRr+TgD+iE3+0br/t6D+6d//kWL+tIn/mGv/eSv/jUv+fjv/dBr/pYD/eDj/2Mz/sZP+i1hl7XXaAAAKU0lEQVR4nO2de1/iPhaHe2XE1sLMD7whBWQQRB1mdXWd8f2/r6XX802aYsC2dD97nr+0pG3y2OZykqBhMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMP8/hDcxx85Gu1jOLh5vfc/f4t0eOzNtYjz0LNc2E+zhsbPTHjqmlWlhNQIj3xRgNRknnslq1AxtVqPmRHqdWE3OnctqSngX3yfbdYLLY+epHdwID40b/NO7WH07dqbawQCrGue0f+z8tIgzUOP+PnZuWkXHIjXW5Ni5aRWgxr4+dmbaBahxu8fOTLsANQ63TAKsphRWUwqrKYXVlMJqSmE1pbCaUlhNKaymFFZTCqsphdWUwmpKOQM1I81zJvOn8fjXaDw7G+xKdrN5+jn+9Wv8s7PRWXsRbp7Go1YE08JezHeaULBfk0O9KG4z6uWczvG8zt2V41tB4DiB5Qfr05/q0nS673aabJvOfL84Ez9f0OWX0e/znrlN7vWFO/dm4kmTU8hVdSpkQseNENYBxEdcJ5ps6VpuhndCZ43XvniKbbl3xVj76E1Mtr20//ITU3wP8stHp3f9eGbD2f78zc/vbN2Jl517+UdO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7XePGQolD1NCM5QQa71gFrNIMMHiAmwbjAxpqxB2Nqf9p+mGfVhFeXb2XXOFr6Kr5QZUF1CIwEZ20qqBAuBysQEsKp6HmSQyWJX+WbHNC38cJ9apsCGiPoZS7r3H/2Eq6HG6IgvmZdHGMhpqBYuYm3z3XR2/nVRrJ0VWzxK2XWWUDTXK2KhMrn9esXujAq5GO4zXU3BTN0DLiFqkR1tYE3bgqPYONQKabjG0ucOhwPhqEYXh2hyOt9OHXUGNcKdRkDVSb1OC+geg70D8+LoX5uLQDP8As245vrh0LzwzSm+ioUWxdvc0exDapkf7fgrxFPF/lfLHzixOSJt7QU/O30ETRprI2qZEWgMp5pvbzclc6PwtE6aiZFSy7veyzVqnZ7PpOCQgwDXaoCfKZRx0180ITRVlslZriajUwg6fO7TI5AYW8ddRgA5hAmxPapcYYeeoy24KZbUOv/NajbTJY+Kejxrgs/AnyHnYTakr2enZhN18+ozB/U3yhkW2ZHfmqC79Yg/prnJnQUvMo3c2mziauybBrUvNgZXg4jXHvZYf9ByjSbOoFsLrGdh1/rVo/drMwfYdWcbqBdy1OVT/G//Yu5qE0c908E0lOfBqy9h98Ou4cWPjdTE7OcnC836fDJ8JM6mTWvc7+n587fB6VBvjn357fAs/zPe922p3Jwe5lnyjN3AAyF0M3C4WP9itzzUy26KVrLorAMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzzv8p/AQ1ctirYJuu4AAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/graphIcon.1267f7ba.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASEAAAAyCAMAAAAk9p2oAAAC9FBMVEUAAAAATYwATZEATI7QKDbRKDbMKTnOKDcAS4/cJTHeJjDfJS/pc3vpdXzqc3nrdHrrdXzrd30ATI8BTY8CTZADTpAET5EFUJEGUJIHUZIIUpMJUpMKU5MLVJQMVJQNVZUOVpUPV5YQV5YRWJYSWZcTWZcUWpgVW5gWW5kXXJkYXZoZ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6m+PAkIC/Od5/LSsPCfhrYfM3t8iQgL853n8tK0uaVPO1rDS0yBAHhjhw9jnw/17BjvaOLnKwAAAAAElFTkSuQmCC\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHDSURBVHgB7ZXNbcJAEIVtY/F3cglOBYEO7ApiVxCQuABCyVZAqMAgBBxNOnAHpIR0gNOBcwQE5L1oQStrIcI55JKRLO/vt29mZ2zTKGBRFDnlcnltmuao1+uN8/OWUcCq1aoDoEP+YrEY/hoKiHs4HDy2AfaPx2NrPp9H6hpT7dAtquh2u6k6Pp1OvVKpNASgIWEZ35vNpsn1GF+hm6EfCiFSM7+JG/Ae9fv9pYwdVQR4JpZlLfMHnsRUKpUYzQbAvgnpASAxXAoHg8FbbuFKKgt1MI03XC9sbHgCVKhAGoC8AKdWqzXb7XYmD/Gw1jmFADefsD2bzZ7QZxYIZgOVruGi1+l0PhSVLgDr/X7vs6+EJsXzLsEB9rm73a4FL59VT22dK7Zt80IywOgF1U3q9XpIxZxnBmAs2G63VNdArJu4g/S8XwfFIkKpxgXs7gTTmMu0YrwRghYHeMHX8pSuhjogIQhNiHj7ygW68tErxWkvcRyPryg0EL/k0txFpdeAP1mh2v+H/gEUlfHKymBtGwWNZY2cfuRXjP3vTx+qYYzBBwwmSOrPW4DYd89SRlOwms5QGusZwED+Jm6xFKWcqHn9BX+l4u6pOZdaAAAAAElFTkSuQmCC\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJeSURBVHgBlVXrjdpAELYNQuIhxSXQQdzBmQogFQAVYH4g8ZIwEq9/56vgSAW5VGCuApwKwnXgSDwkEJDvc+xos1n7dCOt1js7+803szNrXcsQx3HMYrFoG4ZRvd/vpq7r4e12251Op43neWHaOV2lHA6HFgAeMSyABRg/oCYIgT9jtjHW1+t1ulqtdu+CjsfjDiYX42m/33sqRoygVCo14GACh+vFYjFNBR2NRo9kAQZfVAxk6ff71Vwu9w2fm/l83v0PFCFP4LlxOBxqIrv4YCcOOZBDdl3XvFwuPnL9dblcetQZyUEAtshQDheAPkLUMdqwecP6WdwHaMhz0E94F2LYz1C0FOHZ2NuKOtj97PV6lmwLvQtbP2JK+phbx+PxRTZEKUU3LurAVlNJoVDwWC28RJ1sSB2JrqmMY+87hPiaz+frSEMI23aaLXL7ZADQiutQKXSG/VfYPXBOA6TEOFWDnaL9KWylMBx454E3suSlaukSIgWmwdbTpLwlwkZAkW/JkmvkuI7v7WAwcFJATTrOA3SHRV3eZTXAwAHLmliXcd36cBjMZrONeIYtDMcvBpLPjejWJIMORlvuLK6ph8OJqI+ryEZrBywphh8gTEcyqMpMEon1tqg7n88NTGs2T9RR8NolM/ESqNMyBPZTMSV8XNjC0V6ygRoj06bc++8J01Yul32AfkcE7j+gFCTfA8OHj75SrF88f3/Tp3pPXRg1MaZs3Yz3tIObdmiHhvDEfT2DgYvPJsYGg6//L4T4Cd+W8EfogmEgn1e/DgKjSqVCACv5R7GuUTaZ/6jf8htzJzxiP0IAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/pie.4d780d92.gif\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAYCAYAAABHqosDAAAAAXNSR0IArs4c6QAADA9JREFUWAnlWWlsVNcV/mbx2IO3seMNY2O8g1kCJmCCMVtCSEiiSmlCNlKlVdO0UqomUptWqrJWVZQmbRKlP6KoaSClaoJQICkJhZKWuhAW2xFgY/Ay3hfwOuOxx8vMvOl3Zua9ec8Ywv8eMX7v3Xvuueee+53lXkyB9kNB+FyAKQhYbADM/PHdQCaYHEtgSllqaJ394fMp+LKmE9MBJdpFUYlxVtx1Wy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x4anoEkE09jF1clKNiIBips9kpmUhcZvWAe60uAAXPsXvbl5qdfOOJ0QyVAyrM4qJgxx0h1d23opiousfTNFnGYQNPNywX91Xhkc3Fl5T68jF2QDrsPt/9xV6PZFCkIjp93jh5Gn8phAjyt11aw5+++kF3kTOsgon38wUvX4pz1VzkIuTNvWyhhGjqYUYg2U+Cyw5IQt5JqbgYjkew8X7hEfcVAwhP5VkWvYJTyor4GJmyp/dW4YHWUxOTvvx7heNCNLg2hjy5qbOo1GKkK271lDFyTM7LQGFGYnolXukSFxye/yoru+7ecOU5ibjdh4KB8XH9btPpR7jjsRp9x36qcHD4xQyk2KRZOceqHFJqyPCvCaicPuqHKTxRN87Okm3mKHbBOCl0cVOcQycCURHEgO7FGpVPKA+WFmA4txwvdQ36EH/sBeLJWbp5pDjxfWMIjNL2t60OAMDg0SrGowZ+Js7R/h/A8HgX41Luf7X0bOdGCLEDfclFHQnb/gzkqPxQi9hYHQCx2q6Dd6ncGdvX35tIdjKs8p5ZoXzLVdDF1CNDNpTzDr5zDqr8lOwdnE2Khlo83Q3fjJXG8fJ/z6oCJQ2hXqtLslEWZEUctenC60DnG+ItWckQXMjbKHUd/0x/9c9/wMOTpXs4ZHp/gAAAABJRU5ErkJggg==\"","module.exports = __webpack_public_path__ + \"static/media/warning.b818c509.png\";","// Create Session\nexport const CREATE_SESSION_REQUEST = 'CREATE_SESSION_REQUEST';\nexport const CREATE_SESSION_SUCCESS = 'CREATE_SESSION_SUCCESS';\nexport const CREATE_SESSION_ERROR = 'CREATE_SESSION_ERROR';\n\n// Login\nexport const LOGIN_REQUEST = 'LOGIN_REQUEST';\nexport const LOGIN_SUCCESS = 'LOGIN_SUCCESS';\nexport const LOGIN_ERROR = 'LOGIN_ERROR';\n\n// Is Logged In\nexport const IS_LOGGED_IN_REQUEST = 'IS_LOGGED_IN_REQUEST';\nexport const IS_LOGGED_IN_SUCCESS = 'IS_LOGGED_IN_SUCCESS';\nexport const IS_LOGGED_IN_ERROR = 'IS_LOGGED_IN_ERROR';\n\n// User Profile\nexport const USER_PROFILE_REQUEST = 'USER_PROFILE_REQUEST';\nexport const USER_PROFILE_SUCCESS = 'USER_PROFILE_SUCCESS';\nexport const USER_PROFILE_ERROR = 'USER_PROFILE_ERROR';\n\n// Logout\nexport const LOGOUT_REQUEST = 'LOGOUT_REQUEST';\nexport const LOGOUT_SUCCESS = 'LOGOUT_SUCCESS';\nexport const LOGOUT_ERROR = 'LOGOUT_ERROR';\n\n// Forgot Password\nexport const FORGOT_PASSWORD_REQUEST = 'FORGOT_PASSWORD_REQUEST';\nexport const FORGOT_PASSWORD_SUCCESS = 'FORGOT_PASSWORD_SUCCESS';\nexport const FORGOT_PASSWORD_ERROR = 'FORGOT_PASSWORD_ERROR';\n\n// Reset Password\nexport const RESET_PASSWORD_REQUEST = 'RESET_PASSWORD_REQUEST';\nexport const RESET_PASSWORD_SUCCESS = 'RESET_PASSWORD_SUCCESS';\nexport const RESET_PASSWORD_ERROR = 'RESET_PASSWORD_ERROR';\n\n// Mark User Active\nexport const MARK_USER_ACTIVE_REQUEST = 'MARK_USER_ACTIVE_REQUEST';\nexport const MARK_USER_ACTIVE_SUCCESS = 'MARK_USER_ACTIVE_SUCCESS';\nexport const MARK_USER_ACTIVE_ERROR = 'MARK_USER_ACTIVE_ERROR';\n\n// User Permissions\nexport const GET_USER_ACCESSIBLE_ITEMS_REQUEST =\n 'GET_USER_ACCESSIBLE_ITEMS_REQUEST';\nexport const GET_USER_ACCESSIBLE_ITEMS_SUCCESS =\n 'GET_USER_ACCESSIBLE_ITEMS_SUCCESS';\nexport const GET_USER_ACCESSIBLE_ITEMS_ERROR =\n 'GET_USER_ACCESSIBLE_ITEMS_ERROR';\n\n// Otp Resend\nexport const OTP_RESEND_REQUEST = 'OTP_RESEND_REQUEST';\nexport const OTP_RESEND_SUCCESS = 'OTP_RESEND_SUCCESS';\nexport const OTP_RESEND_ERROR = 'OTP_RESEND_ERROR';\n\n// Otp Validate\nexport const OTP_VALIDATE_REQUEST = 'OTP_VALIDATE_REQUEST';\nexport const OTP_VALIDATE_SUCCESS = 'OTP_VALIDATE_SUCCESS';\nexport const OTP_VALIDATE_ERROR = 'OTP_VALIDATE_ERROR';\n\n// Reset Otp Flag\nexport const RESET_OTP_FLAG = 'RESET_OTP_FLAG';\n","/* eslint-disable sort-keys */\nimport {\n CREATE_SESSION_REQUEST,\n CREATE_SESSION_SUCCESS,\n CREATE_SESSION_ERROR,\n LOGIN_REQUEST,\n LOGIN_SUCCESS,\n LOGIN_ERROR,\n IS_LOGGED_IN_REQUEST,\n IS_LOGGED_IN_SUCCESS,\n IS_LOGGED_IN_ERROR,\n USER_PROFILE_REQUEST,\n USER_PROFILE_SUCCESS,\n USER_PROFILE_ERROR,\n LOGOUT_REQUEST,\n LOGOUT_SUCCESS,\n LOGOUT_ERROR,\n FORGOT_PASSWORD_REQUEST,\n FORGOT_PASSWORD_SUCCESS,\n FORGOT_PASSWORD_ERROR,\n RESET_PASSWORD_REQUEST,\n RESET_PASSWORD_SUCCESS,\n RESET_PASSWORD_ERROR,\n MARK_USER_ACTIVE_REQUEST,\n MARK_USER_ACTIVE_SUCCESS,\n MARK_USER_ACTIVE_ERROR,\n GET_USER_ACCESSIBLE_ITEMS_REQUEST,\n GET_USER_ACCESSIBLE_ITEMS_SUCCESS,\n GET_USER_ACCESSIBLE_ITEMS_ERROR,\n OTP_RESEND_REQUEST,\n OTP_RESEND_SUCCESS,\n OTP_RESEND_ERROR,\n OTP_VALIDATE_REQUEST,\n OTP_VALIDATE_SUCCESS,\n OTP_VALIDATE_ERROR,\n RESET_OTP_FLAG,\n} from './auth.constants';\n\n// Create Session\nexport const createSessionRequest = history => ({\n type: CREATE_SESSION_REQUEST,\n history,\n});\n\nexport const createSessionSuccess = payload => ({\n type: CREATE_SESSION_SUCCESS,\n payload,\n});\n\nexport const createSessionError = payload => ({\n type: CREATE_SESSION_ERROR,\n payload,\n});\n\n// Login\nexport const loginRequest = payload => ({ type: LOGIN_REQUEST, payload });\n\nexport const loginSuccess = payload => ({\n type: LOGIN_SUCCESS,\n payload,\n});\n\nexport const loginError = payload => ({\n type: LOGIN_ERROR,\n payload,\n});\n\n// Is Logged In\nexport const isLoggedInRequest = () => ({\n type: IS_LOGGED_IN_REQUEST,\n});\n\nexport const isLoggedInSuccess = payload => ({\n type: IS_LOGGED_IN_SUCCESS,\n payload,\n});\n\nexport const isLoggedInError = payload => ({\n type: IS_LOGGED_IN_ERROR,\n payload,\n});\n\n// User Profile\nexport const userProfileRequest = () => ({\n type: USER_PROFILE_REQUEST,\n});\n\nexport const userProfileSuccess = payload => ({\n type: USER_PROFILE_SUCCESS,\n payload,\n});\n\nexport const userProfileError = payload => ({\n type: USER_PROFILE_ERROR,\n payload,\n});\n\n// Logout\nexport const logoutRequest = () => ({ type: LOGOUT_REQUEST });\n\nexport const logoutSuccess = payload => ({\n type: LOGOUT_SUCCESS,\n payload,\n});\n\nexport const logoutError = payload => ({\n type: LOGOUT_ERROR,\n payload,\n});\n\n// Forgot Password\nexport const forgotPasswordRequest = payload => ({\n type: FORGOT_PASSWORD_REQUEST,\n payload,\n});\n\nexport const forgotPasswordSuccess = payload => ({\n type: FORGOT_PASSWORD_SUCCESS,\n payload,\n});\n\nexport const forgotPasswordError = payload => ({\n type: FORGOT_PASSWORD_ERROR,\n payload,\n});\n\n// Reset Password\nexport const resetPasswordRequest = payload => ({\n type: RESET_PASSWORD_REQUEST,\n payload,\n});\n\nexport const resetPasswordSuccess = payload => ({\n type: RESET_PASSWORD_SUCCESS,\n payload,\n});\n\nexport const resetPasswordError = payload => ({\n type: RESET_PASSWORD_ERROR,\n payload,\n});\n\n// Mark User Active\nexport const markUserActiveRequest = payload => ({\n type: MARK_USER_ACTIVE_REQUEST,\n payload,\n});\n\nexport const markUserActiveSuccess = payload => ({\n type: MARK_USER_ACTIVE_SUCCESS,\n payload,\n});\n\nexport const markUserActiveError = payload => ({\n type: MARK_USER_ACTIVE_ERROR,\n payload,\n});\n\n// Reset Password\nexport const getUserAccessibleItemsRequest = () => ({\n type: GET_USER_ACCESSIBLE_ITEMS_REQUEST,\n});\n\nexport const getUserAccessibleItemsSuccess = payload => ({\n type: GET_USER_ACCESSIBLE_ITEMS_SUCCESS,\n payload,\n});\n\nexport const getUserAccessibleItemsError = payload => ({\n type: GET_USER_ACCESSIBLE_ITEMS_ERROR,\n payload,\n});\n\n// Resend Otp\nexport const resendOtpRequest = payload => ({\n type: OTP_RESEND_REQUEST,\n payload,\n});\n\nexport const resendOtpSuccess = payload => ({\n type: OTP_RESEND_SUCCESS,\n payload,\n});\n\nexport const resendOtpError = payload => ({\n type: OTP_RESEND_ERROR,\n payload,\n});\n\n// Validate Otp\nexport const validateOtpRequest = payload => ({\n type: OTP_VALIDATE_REQUEST,\n payload,\n});\n\nexport const validateOtpSuccess = payload => ({\n type: OTP_VALIDATE_SUCCESS,\n payload,\n});\n\nexport const validateOtpError = payload => ({\n type: OTP_VALIDATE_ERROR,\n payload,\n});\n\nexport const resetOtpFlag = () => ({\n type: RESET_OTP_FLAG,\n});\n","import {\n GET_STATIC_DATA_REQUEST,\n GET_STATIC_DATA_SUCCESS,\n GET_STATIC_DATA_ERROR,\n FETCH_UNDERLYING_MERCHANT_STATIC_REQUEST,\n FETCH_UNDERLYING_MERCHANT_STATIC_SUCCESS,\n FETCH_UNDERLYING_MERCHANT_STATIC_ERROR,\n FETCH_STATIC_INFO_REQUEST,\n FETCH_STATIC_INFO_SUCCESS,\n FETCH_STATIC_INFO_ERROR,\n FETCH_AUDIT_TRAIL_STATIC_REQUEST,\n FETCH_AUDIT_TRAIL_STATIC_SUCCESS,\n FETCH_AUDIT_TRAIL_STATIC_ERROR,\n FETCH_CHARGEBACK_STATIC_DATA_REQUEST,\n FETCH_CHARGEBACK_STATIC_DATA_SUCCESS,\n FETCH_CHARGEBACK_STATIC_DATA_ERROR,\n} from './staticData.constants';\n\n// Get Static Data\nexport const getStaticDataRequest = () => ({\n type: GET_STATIC_DATA_REQUEST,\n});\n\nexport const getStaticDataSuccess = payload => ({\n type: GET_STATIC_DATA_SUCCESS,\n payload,\n});\n\nexport const getStaticDataError = payload => ({\n type: GET_STATIC_DATA_ERROR,\n payload,\n});\nexport const fetchUnderlyingMerchantStaticRequest = () => ({\n type: FETCH_UNDERLYING_MERCHANT_STATIC_REQUEST,\n});\n\nexport const fetchUnderlyingMerchantStaticSuccess = payload => ({\n type: FETCH_UNDERLYING_MERCHANT_STATIC_SUCCESS,\n payload,\n});\n\nexport const fetchUnderlyingMerchantStaticError = payload => ({\n type: FETCH_UNDERLYING_MERCHANT_STATIC_ERROR,\n payload,\n});\n\nexport const fetStaticInfoRequest = () => ({\n type: FETCH_STATIC_INFO_REQUEST,\n});\n\nexport const fetStaticInfoSuccess = payload => ({\n type: FETCH_STATIC_INFO_SUCCESS,\n payload,\n});\n\nexport const fetStaticInfoError = payload => ({\n type: FETCH_STATIC_INFO_ERROR,\n payload,\n});\n\nexport const fetchAuditTrailStaticRequest = () => ({\n type: FETCH_AUDIT_TRAIL_STATIC_REQUEST,\n});\n\nexport const fetchAuditTrailStaticSuccess = payload => ({\n type: FETCH_AUDIT_TRAIL_STATIC_SUCCESS,\n payload,\n});\n\nexport const fetchAuditTrailStaticError = payload => ({\n type: FETCH_AUDIT_TRAIL_STATIC_ERROR,\n payload,\n});\n\nexport const fetchChargebackStaticRequest = () => ({\n type: FETCH_CHARGEBACK_STATIC_DATA_REQUEST,\n});\n\nexport const fetchChargebackStaticSuccess = payload => ({\n type: FETCH_CHARGEBACK_STATIC_DATA_SUCCESS,\n payload,\n});\n\nexport const fetchChargebackStaticError = payload => ({\n type: FETCH_CHARGEBACK_STATIC_DATA_ERROR,\n payload,\n});\n","// Get Static Data\nexport const GET_STATIC_DATA_REQUEST = 'GET_STATIC_DATA_REQUEST';\nexport const GET_STATIC_DATA_SUCCESS = 'GET_STATIC_DATA_SUCCESS';\nexport const GET_STATIC_DATA_ERROR = 'GET_STATIC_DATA_ERROR';\nexport const FETCH_UNDERLYING_MERCHANT_STATIC_REQUEST =\n 'FETCH_UNDERLYING_MERCHANT_STATIC_REQUEST';\nexport const FETCH_UNDERLYING_MERCHANT_STATIC_SUCCESS =\n 'FETCH_UNDERLYING_MERCHANT_STATIC_SUCCESS';\nexport const FETCH_UNDERLYING_MERCHANT_STATIC_ERROR =\n 'FETCH_UNDERLYING_MERCHANT_STATIC_ERROR';\nexport const FETCH_STATIC_INFO_REQUEST = 'FETCH_STATIC_COMMON_INFO_REQUEST';\nexport const FETCH_STATIC_INFO_SUCCESS = 'FETCH_STATIC_COMMON_INFO_SUCCESS';\nexport const FETCH_STATIC_INFO_ERROR = 'FETCH_STATIC_COMMON_INFO_ERROR';\nexport const FETCH_AUDIT_TRAIL_STATIC_REQUEST =\n 'FETCH_AUDIT_TRAIL_STATIC_REQUEST';\nexport const FETCH_AUDIT_TRAIL_STATIC_SUCCESS =\n 'FETCH_AUDIT_TRAIL_STATIC_SUCCESS';\nexport const FETCH_AUDIT_TRAIL_STATIC_ERROR = 'FETCH_AUDIT_TRAIL_STATIC_ERROR';\n\nexport const FETCH_CHARGEBACK_STATIC_DATA_REQUEST =\n 'FETCH_CHARGEBACK_STATIC_DATA_REQUEST';\nexport const FETCH_CHARGEBACK_STATIC_DATA_SUCCESS =\n 'FETCH_CHARGEBACK_STATIC_DATA_SUCCESS';\nexport const FETCH_CHARGEBACK_STATIC_DATA_ERROR =\n 'FETCH_CHARGEBACK_STATIC_DATA_ERROR';\n","// Libraries\nimport { logoutRequest } from '../../redux/common/auth/auth.actions';\nimport {\n getStaticDataRequest,\n fetchUnderlyingMerchantStaticRequest,\n fetStaticInfoRequest,\n fetchChargebackStaticRequest,\n} from '../../redux/common/staticData/staticData.actions';\nimport axislogo from '../../static/images/fc-logo-01.png';\nimport React, { useEffect } from 'react';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport { Link, useLocation } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { isEmpty } from 'lodash';\n\n// Actions\n\n// Images\n\n// Styles\nimport './header.scss';\n\nconst Header = props => {\n const { actions, auth, staticData } = props;\n const {\n staticInfo,\n payValues,\n underlyingMerchant,\n chargebackStaticInfo,\n } = staticData;\n\n const location = useLocation();\n\n useEffect(() => {\n if (auth.isLoggedIn) {\n if (isEmpty(payValues)) {\n actions.getStaticDataRequest();\n }\n if (isEmpty(underlyingMerchant)) {\n actions.fetchUnderlyingMerchantStaticRequest();\n }\n if (isEmpty(staticInfo)) {\n actions.fetStaticInfoRequest();\n }\n if (isEmpty(chargebackStaticInfo)) {\n actions.fetchChargebackStaticRequest();\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [auth.isLoggedIn]);\n\n return (\n
\n
\n \n \"Axis\n \n
\n
\n {auth.isLoggedIn &&\n location.pathname.indexOf('/resetpassword') < 0 && (\n actions.logoutRequest()}\n >\n Logout\n \n )}\n
\n
\n );\n};\n\nconst mapStateToProps = ({ auth, staticData }) => ({\n auth,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n logoutRequest,\n getStaticDataRequest,\n fetchUnderlyingMerchantStaticRequest,\n fetStaticInfoRequest,\n fetchChargebackStaticRequest,\n },\n dispatch\n ),\n});\n\nHeader.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n staticData: PropTypes.object,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Header);\n","import Header from './Header';\n\nexport default Header;\n","export const USER_LEVEL = {\n ADMIN: 'Admin',\n AGGREGATOR: 'Aggregator',\n FRANCHISE: 'Franchise',\n MLE: 'MLE',\n MERCHANT: 'Merchant',\n RM: 'RM',\n};\n\n/**\n * Enum for user levels.\n * @readonly\n * @enum {string}\n */\nexport const USER_LEVEL_ENUM = {\n L1: 'L1',\n L2: 'L2',\n L3: 'L3',\n};\n\nexport const MAX_USER_FETCH_COUNT_USER_MANAGEMENT = 100;\n\n// This can removed in future.\nexport const USER_STATUS = {\n REGISTERED: 'Checker Pending',\n CHECKER_VERIFIED: 'Checker Verified',\n CHECKER_REJECTED: 'Checker Rejected',\n ACTIVE: 'Active',\n INACTIVE: 'Inactive',\n};\n\nexport const USER_STATUS_UPDATED = {\n CHECKER_VERIFIED: 'Checker Verified',\n ACTIVE: 'Active',\n INACTIVE: 'Inactive',\n};\n\nexport const ENTITY_TYPE = {\n AGGREGATOR: 'Aggregator',\n FRANCHISE: 'Franchise',\n MLE: 'MLE',\n MERCHANT: 'Merchant',\n RESELLER: 'Reseller ',\n RM: 'RM',\n};\n\nexport const ROLE_STATUS = {\n ACTIVE: 'Active',\n INACTIVE: 'Inactive',\n};\n\nexport const USER_ACTIONS_MAP = {\n USER_CREATION: 'Create',\n USER_UPDATION: 'Update',\n};\nexport const ROLE_ACTIONS_MAP = {\n ROLE_CREATION: 'Create',\n ROLE_UPDATION: 'Update',\n};\n\nexport const ROLE_MAP = {\n REGISTERED: 'Inprocess',\n CHECKER_VERIFIED: 'Approved',\n CHECKER_REJECTED: 'Rejected',\n};\n\nexport const STATUS_MAP = {\n Inprocess: 'UNDER_APPROVAL',\n Approved: 'APPROVED',\n Rejected: 'REJECTED',\n};\n\nexport const FORM_TYPE = {\n MERCHANT_ON_BOARD: 'merchantOnboardingForm',\n MLE_ON_BOARD: 'mleOnboardingForm'\n};\n\nexport const SECTION_LIST = {\n createMerchantSection: 'MERCHANT',\n integrationSection: 'INTEGRATION',\n paymentModeSection: 'PAYMENTMODE',\n notificationSection: 'NOTIFICATION',\n settlementSection: \"SETTLEMENT\",\n};\n\nexport const TRANSACTION_TYPE = {\n PAY: 'Pay',\n REFUND: 'Refund',\n ROLLBACK: 'Rollback',\n PAY_DELAYED: 'Pay Delayed',\n ACCOUNT_VERIFICATION: 'Account Verification',\n INSTANT_REFUND: 'Instant Refund',\n};\n\nexport const ADMIN_ONLY_TRANSACTION_TYPE = [\n TRANSACTION_TYPE.ROLLBACK,\n TRANSACTION_TYPE.PAY_DELAYED,\n];\n\nexport const ADJUSTMENT_TYPE = {\n CREDIT: 'CREDIT',\n DEBIT: 'DEBIT',\n};\n\nexport const PAY_TRANSACTION_STATUS = {\n CREATED: 'Link Created',\n EXPIRED: 'Link Expired',\n SHARED: 'Link Shared',\n FAILED: 'Link Failed',\n TRANSACTION_FAILED: 'Transaction Failed',\n TRANSACTION_INITIATED: 'Transaction Initiated',\n TRANSACTION_SUCCESS: 'Transaction Success',\n};\nexport const PAYMENT_PAGE_TRANSACTION_STATUS = {\n FAILED: 'FAILED',\n PENDING: 'PENDING',\n SUCCESS: 'SUCCESS',\n};\n\nexport const STATUS_TYPE = {\n ACTIVE: 'Active',\n INACTIVE: 'Inactive ',\n};\n\nexport const TRANSACTION_STATUS = {\n SUCCESS: 'Success',\n PENDING: 'Pending',\n FAILED: 'Failed',\n};\n\nexport const STATE_ENUM = {\n SUCCESS: 'Completed',\n IN_PROGRESS: 'Inprocess',\n FAILURE: 'Failed',\n};\n\nexport const AUDIT_STATUS = {\n SUCCESS: 'Success',\n PENDING: 'Pending',\n FAILURE: 'Failure',\n};\n\nexport const SETTLEMENT_STATUS = {\n INITIATED: 'INITIATED',\n DISBURSED: 'DISBURSED',\n SETTLED: 'SETTLED',\n};\n\nexport const ENTITY_MAP = {\n 0: 'AGGREGATOR',\n 1: 'FRANCHISE',\n 2: 'MLE',\n 3: 'MERCHANT',\n 4: 'RESELLER',\n};\n\nexport const TAB_LIST = [\n {\n value: 'EMAIL',\n label: 'Email',\n },\n {\n value: 'SMS',\n label: 'SMS',\n },\n {\n value: 'WEBHOOK',\n label: 'Webhook',\n },\n];\n\nexport const validityOptions = [\n {\n name: '1 Day',\n value: 1,\n },\n {\n name: '2 Days',\n value: 2,\n },\n {\n name: '3 Days',\n value: 3,\n },\n {\n name: '4 Days',\n value: 4,\n },\n {\n name: '5 Days',\n value: 5,\n },\n {\n name: '6 Days',\n value: 6,\n },\n {\n name: '7 Days',\n value: 7,\n },\n {\n name: '8 Days',\n value: 8,\n },\n {\n name: '9 Days',\n value: 9,\n },\n {\n name: '10 Days',\n value: 10,\n },\n {\n name: '11 Days',\n value: 11,\n },\n {\n name: '12 Days',\n value: 12,\n },\n {\n name: '13 Days',\n value: 13,\n },\n {\n name: '14 Days',\n value: 14,\n },\n {\n name: '15 Days',\n value: 15,\n },\n];\n\nexport const TEST_PREFIX = 'test_';\nexport const DEFAULT_CURRENCY = '₹';\n\nexport const dateOptions = [\n {\n label: 'Last 1 Hour',\n value: '1Hour',\n },\n {\n label: 'Today',\n value: 'today',\n },\n {\n label: 'Yesterday',\n value: 'yesterday',\n },\n {\n label: 'Last 7 Days',\n value: '7Days',\n },\n {\n label: 'Last 30 Days',\n value: '30Days',\n },\n {\n label: 'Last 180 Days',\n value: '180Days',\n },\n {\n label: 'Last 1 Year',\n value: '1Year',\n },\n {\n label: 'Custom',\n value: 'custom',\n },\n];\n\nexport const trendLegends = {\n SUCCESS: {\n label: 'Successful',\n color: '#54ac06',\n },\n PENDING: {\n label: 'Pending',\n color: '#ffd900',\n },\n FAILED: {\n label: 'Failed',\n color: '#d71717',\n },\n};\n\nexport const bankLegends = {\n DC: {\n label: 'Debit Card',\n color: '#F16122',\n },\n CC: {\n label: 'Credit Card',\n color: '#a8a9ad',\n },\n NB: {\n label: 'Net Banking',\n color: '#ec1264',\n },\n UPI: {\n label: 'UPI',\n color: '#f9b234',\n },\n WALLET: {\n label: 'Wallet',\n color: '#0096FF',\n },\n EMI_CC: {\n label: 'EMI CC',\n color: '#03fcd7',\n },\n overall: {\n label: 'Over All',\n color: '#54ac06',\n },\n};\n\nexport const barLegends = {\n DC: {\n label: 'Debit Card',\n color: '#F16122',\n },\n CC: {\n label: 'Credit Card',\n color: '#a8a9ad',\n },\n NB: {\n label: 'Net Banking',\n color: '#ec1264',\n },\n UPI: {\n label: 'UPI',\n color: '#f9b234',\n },\n WALLET: {\n label: 'Wallet',\n color: '#0096FF',\n },\n EMI_CC: {\n label: 'EMI CC',\n color: '#03fcd7',\n },\n};\n\nexport const pieLegends = {\n ALL: {\n label: 'All',\n color: '#F16122',\n },\n DC: {\n label: 'Debit card',\n color: '#F16122',\n },\n CC: {\n label: 'Credit card',\n color: '#6c6d70',\n },\n NB: {\n label: 'Net Banking',\n color: '#ec1264',\n },\n UPI: {\n label: 'UPI',\n color: '#f9b234',\n },\n WALLET: {\n label: 'Wallet',\n color: '#0096FF',\n },\n EMI_CC: {\n label: 'EMI CC',\n color: '#0096FF',\n },\n VI: {\n label: 'Visa',\n color: '#f9a619',\n },\n MC: {\n label: 'Master Card',\n color: '#cc1c01',\n },\n AMEX: {\n label: 'Amex',\n color: '#3f51b5',\n },\n RPAY: {\n label: 'Rupay',\n color: '#009688',\n },\n others: {\n label: 'Others',\n color: '#a8a9ad',\n },\n rank1: {\n color: '#f9a619',\n },\n rank2: {\n color: '#cc1c01',\n },\n rank3: {\n color: '#3f51b5',\n },\n rank4: {\n color: '#009688',\n },\n rank5: {\n color: '#363791',\n },\n};\n\nexport const successRateTab = [\n {\n label: 'All',\n value: 'ALL_SUCCESS',\n },\n {\n label: 'Debit Card',\n value: 'DC_SUCCESS',\n },\n {\n label: 'Credit Card',\n value: 'CC_SUCCESS',\n },\n {\n label: 'UPI',\n value: 'UPI_SUCCESS',\n },\n {\n label: 'Wallet',\n value: 'WALLET_SUCCESS',\n },\n {\n label: 'Net Banking',\n value: 'NB_SUCCESS',\n },\n {\n label: 'EMI CC',\n value: 'EMI_CC_SUCCESS',\n },\n];\nexport const GRANULE_VALUES = [\n 'DAILY',\n 'FIFTEENMINUTE',\n 'HOURLY',\n 'MONTHLY',\n 'WEEKLY',\n];\nexport const failureRateTab = [\n {\n label: 'Over All',\n value: 'ALL_FAILURE',\n },\n {\n label: 'Debit Card',\n value: 'DC_FAILURE',\n },\n {\n label: 'Credit Card',\n value: 'CC_FAILURE',\n },\n {\n label: 'UPI',\n value: 'UPI_FAILURE',\n },\n {\n label: 'Wallet',\n value: 'WALLET_FAILURE',\n },\n {\n label: 'Net Banking',\n value: 'NB_FAILURE',\n },\n {\n label: 'EMI CC',\n value: 'EMI_CC_FAILURE',\n },\n];\n\nexport const dateOptionsSettlement = [\n {\n label: 'Today',\n value: 'today',\n },\n {\n label: 'Last 1 Hour',\n value: '1Hour',\n },\n {\n label: 'Last 12 Hour',\n value: '12Hour',\n },\n {\n label: 'Yesterday',\n value: 'yesterday',\n },\n {\n label: 'Last 3 Days',\n value: '3Days',\n },\n {\n label: 'Last 7 Days',\n value: '7Days',\n },\n {\n label: 'Custom',\n value: 'custom',\n },\n];\n\nexport const transactionTypeNameMap = {\n INSTANT_REFUND: 'Instant Refund',\n PAY: 'Payment',\n MNDT_REG_PAY: 'Mandate Registration Fee',\n MNDT_EXE_PAY: 'Mandate Execution Fee',\n};\n\n// Defined an array of user levels for which we should not fetch entity lists.\nexport const EXCLUDED_ENTITY_USER_LEVELS = ['ADMIN', 'RM'];\n\n/**\n * Mapping of section types to their corresponding step names.\n * Use this map to translate section types into step names.\n */\nexport const SECTION_TYPE_TO_STEP_MAP = {\n paymentModeSection: 'paymode',\n settlementSection: 'settlement',\n surchargeSection: 'surcharge',\n kycSection: 'kyc',\n};\n\nexport const MAKER_CHECKER_EVENT_TYPES = {\n INTEGRATION: 'INTEGRATION',\n PAYMENTMODE: 'PAYMENTMODE',\n NOTIFICATION: 'NOTIFICATION',\n SETTLEMENT: 'SETTLEMENT',\n BTS_ACCOUNT: 'BTS_ACCOUNT',\n ROUTING: 'ROUTING',\n PG_CONFIG: 'PG_CONFIG',\n MERCHANT: 'MERCHANT',\n KYC: 'KYC',\n PRICING: 'PRICING',\n SETTLEMENT_RETRY: 'SETTLEMENT_RETRY',\n ONBOARDING: 'ONBOARDING',\n TERMINAL: 'TERMINAL_ID_ONBOARD',\n TERMINAL_UPDATE: 'TERMINAL_ID_UPDATE',\n};\n\nexport const MAKER_CHECKER_EVENT_TYPES_SECTION_MAP = {\n INTEGRATION: 'integration',\n PAYMENTMODE: 'pay-mode',\n NOTIFICATION: 'notification',\n SETTLEMENT: 'settlement',\n BTS_ACCOUNT: 'BTS_ACCOUNT',\n ROUTING: 'routing',\n PG_CONFIG: 'pg-conf',\n MERCHANT: 'merchant',\n KYC: 'kyc',\n PRICING: 'surcharge',\n SETTLEMENT_RETRY: 'SETTLEMENT_RETRY',\n ONBOARDING: 'ONBOARDING',\n};\n\nexport const MAKER_CHECKER_EVENT_TYPES_TITLE_MAP = {\n INTEGRATION: 'Integration Section Update Checker View',\n PAYMENTMODE: 'Payment Mode Section Update Checker View',\n NOTIFICATION: 'Notification Section Update Checker View',\n SETTLEMENT: 'Settlement Section Update Checker View',\n BTS_ACCOUNT: 'BTS Account Section Update Checker View',\n ROUTING: 'Routing Section Update Checker View',\n PG_CONFIG: 'PG Config Section Update Checker View',\n MERCHANT: 'Merchant Section Update Checker View',\n KYC: 'KYC Section Update Checker View',\n PRICING: 'Pricing Section Update Checker View',\n SETTLEMENT_RETRY: 'Settlement Retry Checker View',\n ONBOARDING: 'Onboarding Section Checker View',\n};\n\nexport const KYC_FIELD_NAME_TO_TITLE_MAP = {\n dlUrl: 'Driving License',\n panUrl: 'Pan Card',\n eBillUrl: 'Electricity Bill',\n aadharUrl: 'Aadhar Card',\n voterIdUrl: 'Voter ID',\n passPortUrl: 'Passport',\n};\n\n/**\n * Map representing possible transaction statuses for mandates.\n * @const {Object.}\n * @readonly\n */\nexport const MANDATE_TRANSACTION_STATUS_MAP = {\n /**\n * Mandate transaction status: Created.\n * @type {string}\n */\n CREATED: 'Created',\n\n /**\n * Mandate transaction status: Initiated.\n * @type {string}\n */\n INITIATED: 'Initiated',\n\n /**\n * Mandate transaction status: Success.\n * @type {string}\n */\n SUCCESS: 'Success',\n\n /**\n * Mandate transaction status: Failed.\n * @type {string}\n */\n FAILED: 'Failed',\n};\n\nexport const MANDATE_FREQUENCY_ENUM = {\n ADHO: 'Adhoc',\n MNTH: 'Monthly',\n YEAR: 'Yearly',\n};\n\nexport const CHARGEBACK_STATUS_ENUM = {\n PENDING_RESPONSE: {\n value: 'PENDING_RESPONSE',\n label: 'Pending Merchant Response',\n },\n PENDING_DOC_REVIEW: {\n label: 'Pending Documents Review',\n value: 'PENDING_DOC_REVIEW',\n },\n SUBMITTED_TO_BANK: {\n label: 'Submitted to Bank',\n value: 'SUBMITTED_TO_BANK',\n },\n INSUFFICIENT_DOCUMENT: {\n label: 'Insufficient Document',\n value: 'INSUFFICIENT_DOCUMENT',\n },\n CLOSED_IN_CUSTOMER_FAVOUR: {\n label: 'Closed in customer favour',\n value: 'CLOSED_IN_CUSTOMER_FAVOUR',\n },\n CLOSED_IN_MERCHANT_FAVOUR: {\n label: 'Closed in merchant favour',\n value: 'CLOSED_IN_MERCHANT_FAVOUR',\n },\n OPEN: {\n label: 'Open',\n value: 'OPEN',\n },\n CLOSED: {\n label: 'Close',\n value: 'CLOSED',\n }\n\n};\n\nexport const DISPUTE_STATUS_ENUM = {\n\n INTITIATED: {\n value: 'INTITIATED',\n label: 'Initiated',\n },\n FULL_REFUND: {\n label: 'Fully Refund Raised',\n value: 'FULL_REFUND_RAISED',\n },\n PARTIAL_REFUND: {\n label: 'Partial Refund Raised',\n value: 'PARTIAL_REFUND_RAISED',\n },\n CLOSED: {\n label: 'Closed',\n value: 'CLOSED',\n },\n OPEN: {\n label: 'Open',\n value: 'OPEN',\n },\n\n};\n\nexport const CHARGEBACK_TERMINAL_STATE = [\n 'CLOSED_IN_CUSTOMER_FAVOUR',\n 'CLOSED_IN_MERCHANT_FAVOUR',\n];\n\nexport const CHARGEBACK_UPDATE_TERMINAL_STATE = [\n 'CLOSED_IN_CUSTOMER_FAVOUR',\n 'CLOSED_IN_MERCHANT_FAVOUR',\n 'INSUFFICIENT_DOCUMENT',\n];\n\nexport const CHARGEBACK_MERCHANT_STATUS_ENUM = {\n FULLY_ACCEPT: 'Accepted',\n PARTIALLY_ACCEPT: 'Partially Accept',\n CONTEST: 'Defend',\n PENDING: 'Pending',\n};\n\nexport const POPUP_ENUM = {\n UPDATE_FORM: 'UPDATE_FORM',\n EXTEND_DEADLINE_FORM: 'EXTEND_DEADLINE_FORM',\n RE_RAISE_CHARGEBACK_FORM: 'RE_RAISE_CHARGEBACK_FORM',\n CHARGEBACK_FULLY_ACCEPT: 'CHARGEBACK_FULLY_ACCEPT',\n CHARGEBACK_DEFEND: 'CHARGEBACK_DEFEND',\n UPDATE_DISPUTE: 'UPDATE_DISPUTE',\n};\n\nexport const POPUP_TITLE_ENUM = {\n UPDATE_FORM: 'Update Chargeback Status',\n EXTEND_DEADLINE_FORM: 'Extend Chargeback Deadline by',\n RE_RAISE_CHARGEBACK_FORM: 'Reraise Chargeback - L1',\n CHARGEBACK_DEFEND: 'Defend Chargeback',\n UPDATE_DISPUTE: 'Refund',\n};\n\nexport const PAYMENT_MODE = [\n {\n label: 'Debit Card',\n value: 'DC',\n },\n {\n label: 'Credit Card',\n value: 'CC',\n },\n {\n label: 'Net Banking',\n value: 'NB',\n },\n // {\n // label: 'UPI',\n // value: 'UPI',\n // },\n {\n label: 'Wallet',\n value: 'WALLET',\n },\n];\n\nexport const MAX_5MB = 5242880\nexport const MAX_25MB = 26214400\n\nexport const REPORT_TYPE_ENUM = {\n PG_MID_REPORT: 'PG_MID_REPORT',\n};\n\nexport const MOCK_API_VALUE = 0;\n\nexport const MAX_FILE_SIZE=5;\nexport const ACCEPT_IMG_PDF = 'image/*, .pdf';\nexport const ACCEPT_IMG_ONLY = 'image/*';\n\nexport const MAKER_CHECKER_EVENT_TYPES_MLE = {\n business: 'BUSINESS_DETAIL_SECTION',\n ubo: 'OWNERSHIP_DETAIL_SECTION',\n risk: 'RISK_DETAIL_SECTION',\n legal: 'LEGAL_DETAILS'\n}\n\n/*used for breadCrumbs Navigation*/\nexport const MAKER_CHECKER_EVENT_LABEL_MLE = (key) => {\n if (key == MAKER_CHECKER_EVENT_TYPES_MLE.business.toLowerCase()) {\n return 'Business Details';\n } else if (key == MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase()) {\n return 'UBO Details';\n } else if (key == MAKER_CHECKER_EVENT_TYPES_MLE.risk.toLowerCase()) {\n return 'Risk Details';\n } else if (key == MAKER_CHECKER_EVENT_TYPES_MLE.legal.toLowerCase()) {\n return 'Legal Details';\n } else {\n return '';\n }\n}\n\n","/* eslint-disable max-lines */\n/* eslint-disable indent */\n/* eslint-disable max-lines */\n/* eslint-disable max-statements */\n/* eslint-disable complexity */\n/* eslint-disable array-callback-return */\n/* eslint-disable max-lines-per-function */\n/* eslint-disable operator-linebreak */\nimport errorImage from 'static/images/error.svg';\nimport {\n USER_STATUS,\n USER_LEVEL,\n ROLE_STATUS,\n ROLE_MAP,\n TEST_PREFIX,\n pieLegends,\n} from './constants/commonValues';\nimport moment from 'moment';\nimport { isEmpty, orderBy, unionBy, first, capitalize } from 'lodash';\n\n/**\n * Stringifies and stores data in local storage\n *\n * @param {string} key - Key name\n * @param {instanceOf(Object)} data - Data to be stored in localStorage\n * @returns {undefined}\n */\nexport const setToLocalStorage = (key, data) => {\n localStorage.setItem(key, JSON.stringify(data));\n};\n\n/**\n * Fetches and parses data from local storage\n *\n * @param {string} key - Key name\n * @returns {instanceOf(Object)} - data from local storage\n */\nexport const getFromLocalStorage = key => {\n return (localStorage && JSON.parse(localStorage.getItem(key))) || null;\n};\n\n/**\n * Removes a key from local storage\n *\n * @param {String} key - Key Name\n * @returns {undefined}\n */\nexport const removeFromLocalStorage = key => {\n localStorage.removeItem(key);\n};\n\nexport const getLoginRedirectPath = (resources = [], permissions = []) => {\n if (resources.includes('access_management')) {\n if (permissions.access_management.includes('role_management')) {\n return '/rolemanagement';\n } else if (permissions.access_management.includes('user_management')) {\n return '/usermanagement';\n } else if (permissions.access_management.includes('userverification')) {\n return '/userverification';\n }\n }\n\n if (resources.includes('merchant_onboarding')) {\n return '/mob';\n }\n\n if (resources.includes('reports')) {\n return '/transactions';\n }\n\n if (resources.includes('refunds')) {\n return '/refund';\n }\n};\n\nexport const NUMERIC = {\n zero: 0,\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n six: 6,\n seven: 7,\n eight: 8,\n nine: 9,\n ten: 10,\n twenty: 20,\n forty: 40,\n hundred: 100,\n};\n\n/**\n * Join array values with Pipe |.\n *\n * @param {values} array - Input array of values\n * @returns {String} - Will return the string with piped joined.\n */\n\nexport const getPipeSeparateValue = values => values.join(' | ');\n\n/**\n * Returns sum of digits of a number\n *\n * @param {Number} number - Input number\n * @returns {Number} sum - Sum of digits\n */\nexport const sumOfDigits = value => {\n let number = value;\n const { ten, zero } = NUMERIC;\n let sum = zero;\n while (number) {\n const lastDigit = number % ten;\n number = Math.floor(number / ten);\n sum = sum + lastDigit;\n }\n return sum;\n};\n\n/**\n * Checks whether a given number is luhn number or not\n *\n * @param {Number} number - Input number\n * @returns {Boolean} - True: if number is luhn number; False: if number is not luhn number\n */\nexport const isLuhnNumber = value => {\n const { one, zero, ten, twenty, nine, two, three } = NUMERIC;\n let number = value;\n let count = one;\n let sum = zero;\n while (number) {\n const lastDigit = number % ten;\n number = Math.floor(number / ten);\n sum =\n sum +\n // eslint-disable-next-line no-nested-ternary\n (count === two\n ? (lastDigit * two) % twenty > nine\n ? sumOfDigits(lastDigit * two)\n : lastDigit * two\n : lastDigit);\n count++;\n count = count === three ? one : count;\n }\n return sum % ten === zero;\n};\n\nexport function humanDate(timestamp, isDateString) {\n if (isDateString) {\n return new Date(timestamp)\n .toISOString()\n .replace('T', ' ')\n .replace(/\\.\\d+Z$/, '');\n }\n return new Date(timestamp).toLocaleDateString('en-US', {\n day: 'numeric',\n month: 'short',\n year: 'numeric',\n });\n}\n\nexport const getUserStatus = data => {\n const userStatus = USER_STATUS;\n if (data && data.userStatus) {\n switch (data.userStatus) {\n case userStatus.CHECKER_VERIFIED:\n return [\n {\n name: userStatus.CHECKER_VERIFIED,\n value: 'CHECKER_VERIFIED',\n },\n ];\n case userStatus.ACTIVE:\n case userStatus.INACTIVE:\n return [\n {\n name: userStatus.ACTIVE,\n value: 'ACTIVE',\n },\n {\n name: userStatus.INACTIVE,\n value: 'INACTIVE',\n },\n ];\n\n default:\n return [];\n }\n }\n return [];\n};\n\nexport const getRoleStatusOptions = () => {\n const options = [];\n for (const key in ROLE_STATUS) {\n if (Object.prototype.hasOwnProperty.call(ROLE_STATUS, key)) {\n const value = ROLE_STATUS[key];\n options.push({\n label: value,\n value: key,\n });\n }\n }\n return options;\n};\n\nexport const getUserLevel = entityType => {\n const options = [];\n for (const key in USER_LEVEL) {\n if (Object.prototype.hasOwnProperty.call(USER_LEVEL, key)) {\n const value = USER_LEVEL[key];\n options.push({\n name: value,\n value: key,\n });\n }\n }\n if (entityType) {\n if (entityType === 'ADMIN') {\n const adminValues = [\n {\n name: 'Admin',\n value: 'ADMIN',\n },\n ];\n return [...adminValues];\n }\n\n if (entityType !== 'ADMIN') {\n const newOptions = options.filter(item => item.value !== 'ADMIN');\n\n return newOptions;\n }\n }\n return options;\n};\n\nexport const getStatusMap = value => {\n return Object.keys(USER_STATUS).find(key => USER_STATUS[key] === value);\n};\n\nexport const getId = name => {\n if (name) {\n const idName = name.split(' ').join('-', '.');\n return idName && idName.toLowerCase();\n }\n return '';\n};\n\nexport const capitaliseString = str => {\n const splitStr = str.toLowerCase().split(' ');\n for (let i = 0; i < splitStr.length; i++) {\n splitStr[i] =\n splitStr[i].charAt(0).toUpperCase() + splitStr[i].substring(1);\n }\n\n // Return the joined string\n return splitStr.join(' ');\n};\n\nexport const capitalizeStringWithUnderscores = str => {\n if (typeof str !== 'string') {\n return str;\n }\n\n const words = str.split('_');\n const capitalizedWords = words.map(\n word => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()\n );\n return capitalizedWords.join(' ');\n};\n\nexport const getRoleStatusMap = value => {\n return Object.keys(ROLE_MAP).find(key => ROLE_MAP[key] === value);\n};\n\nexport const getFlatEntities = (values, entityType) => {\n const entities = {};\n if (entityType === 'AGGREGATOR') {\n if (values.franchise.length || values.mle.length) {\n entities.mle = values.mle || [];\n entities.franchise = values.franchise || [];\n } else {\n entities.mle = [];\n entities.franchise = [];\n }\n } else if (entityType === 'FRANCHISE') {\n if (values.mle.length) {\n entities.mle = values.mle;\n } else {\n entities.mle = [];\n }\n } else if (entityType === 'AGGREGATOR_TXN') {\n if (values.merchants.length) {\n entities.merchants = values.merchants || [];\n } else {\n entities.merchants = [];\n }\n }\n return entities;\n};\n\n/**\n * Segregate the configured and non configured pgs.\n *\n * @param {Array} Object - Array of pg objects\n * @returns {Object} - Object of configured and noConfigured Pgs\n */\n\nexport const segregatePgByConfig = pgList => {\n if (pgList.length > 0) {\n const configuredPgs = pgList.filter(item => item.isConfigured);\n const nonConfiguredPgs = pgList.filter(item => !item.isConfigured);\n return { configuredPgs, nonConfiguredPgs };\n }\n return { configuredPgs: [], nonConfiguredPgs: [] };\n};\n\nexport const getFilteredPgsData = (values, data) => {\n const request = {};\n const testConfig = {};\n const liveConfig = {};\n Object.keys(values).forEach(item => {\n if (item.includes('test')) {\n const splitKey = item.split('_');\n const key = splitKey.splice(1, splitKey.length).join('_');\n testConfig[key] = values[item];\n } else {\n liveConfig[item] = values[item];\n }\n });\n if (Object.keys(liveConfig).length) {\n liveConfig.isUpdated = true;\n request[`${data.uniqueId}ConfLive`] = liveConfig;\n }\n if (Object.keys(testConfig).length) {\n testConfig.isUpdated = true;\n request[`${data.uniqueId}ConfTest`] = testConfig;\n }\n return request;\n};\n\nexport const getFormInitialValues = (values, data) => {\n const liveValue = (values && values[`${data.uniqueId}ConfLive`]) || {};\n const testValue = (values && values[`${data.uniqueId}ConfTest`]) || {};\n\n const testInitialValues = {};\n Object.keys(testValue).forEach(item => {\n testInitialValues[`${TEST_PREFIX}${item}`] = testValue[item];\n });\n return { ...liveValue, ...testInitialValues };\n};\n\nexport const getModesOptions = (uniqueId, savedPgs) => {\n const options = [];\n const liveConfig = (savedPgs && savedPgs[`${uniqueId}ConfLive`]) || {};\n const testConfig = (savedPgs && savedPgs[`${uniqueId}ConfTest`]) || {};\n if (Object.keys(testConfig).length) {\n options.push({\n label: 'Test',\n value: 'test',\n checked:\n testConfig &&\n testConfig.credentials.some(\n cred => cred.status && cred.status[0]?.includes('ENABLED')\n ),\n });\n }\n if (Object.keys(liveConfig).length) {\n options.push({\n label: 'Live',\n value: 'live',\n checked:\n liveConfig &&\n liveConfig.credentials.some(\n cred => cred.status && cred.status[0]?.includes('ENABLED')\n ),\n });\n }\n return options;\n};\n\nexport const getFormData = (formType, data, uniqueIdentifier) => {\n if (data) {\n const formData = data.find(\n form =>\n form.type === formType &&\n form.uniqueIdentifier === uniqueIdentifier\n );\n return (formData && formData.sections) || [];\n }\n return [];\n};\n\nexport const getTimelineStatus = (\n draftData,\n path,\n sectionType,\n currentPath\n) => {\n if (draftData && sectionType) {\n const sectionData = draftData.find(\n section => section.type === sectionType\n );\n if (sectionData) {\n return sectionData.state;\n } else if (path.indexOf(currentPath) !== -1) {\n return '';\n }\n }\n return 'pending';\n};\n\nconst getKeyValue = keyMode => {\n if (keyMode.test && keyMode.live) {\n return 'TEST, LIVE';\n } else if (keyMode.test) {\n return 'TEST';\n } else if (keyMode.live) {\n return 'LIVE';\n }\n return '-';\n};\n\nexport const getDraftTableData = formData => {\n if (formData && formData.forms && formData.forms.length) {\n const formList = formData.forms;\n\n const tableData = formList.map(item => {\n const merchantData = item.sections.find(\n elm => elm.type === 'createMerchantSection'\n );\n const integrationData = item.sections.find(\n elm => elm.type === 'integrationSection'\n );\n const merchant = merchantData && merchantData.data;\n let integration = {};\n if (integrationData && integrationData.data) {\n integration = {\n ...integrationData.data,\n keyMode: getKeyValue(integrationData.data.keyMode),\n };\n }\n return {\n createdOn: moment(item.createdOn).format('DD/MM/YYYY'),\n merchantIdentifier: item.merchantIdentifier,\n ...merchant,\n ...integration,\n };\n });\n return tableData;\n }\n return [];\n};\n\nexport function objToArr(data = {}) {\n let newArr = [];\n\n // eslint-disable-next-line guard-for-in\n for (const key in data) {\n const arr = data[key].map(item => {\n item.type = key;\n return item;\n });\n // newArr.push(arr);\n newArr = [...newArr, ...arr];\n }\n\n return newArr;\n}\n\nconst dynamicFieldHandler = (_arr, item) => {\n let arr = _arr;\n const cardType =\n !item.cardType || item.cardType === null ? 'all' : item.cardType;\n const cardCategory = !item.cardCategory ? \"All Card Categories\" : item.cardCategory;\n\n item.cardType = cardType;\n item.cardCategory = cardCategory;\n\n const issuerData = arr.find(bank => bank.cardType === cardType && bank.cardCategory === cardCategory);\n\n if (issuerData) {\n const updatedList = arr.map(bank => {\n if (bank.cardType === cardType && bank.cardCategory === cardCategory) {\n return {\n ...bank,\n cardCategory,\n bankSlabs: [...bank.bankSlabs, { ...item }],\n };\n }\n return bank;\n });\n\n arr = [...updatedList];\n } else {\n // Keep all banks option as the first item in the array\n if (\n !item.cardType ||\n item.cardType === null ||\n item.cardType === 'all'\n ) {\n arr = [{ bankSlabs: [{ ...item }], cardType, cardCategory }, ...arr];\n } else {\n arr = [...arr, { bankSlabs: [{ ...item }], cardType, cardCategory }];\n }\n }\n\n console.log(\"arr22\", arr, item, issuerData);\n\n return arr;\n};\n\n// eslint-disable-next-line max-statements\n// eslint-disable-next-line max-lines-per-function\n// eslint-disable-next-line max-statements\nexport const createSurchargeOptions = (data, type = 'default') => {\n // convert obj to arr\n // eslint-disable-next-line no-param-reassign\n data = objToArr(data);\n\n const debitCard = data.filter(item => item.paymentType === 'DC');\n const creditCard = data.filter(item => item.paymentType === 'CC');\n const netbanking = data.filter(item => item.paymentType === 'NB');\n const upi = data.filter(item => item.paymentType === 'UPI');\n const wallets = data.filter(item => item.paymentType === 'WALLET');\n const AccountVerification = data.filter(\n item => item.paymentType === 'ACCOUNT_VERIFICATION'\n );\n const emi = data.filter(item => item.paymentType === 'EMI_CC');\n const domesticDebitCard = [];\n const foreignDebitCard = [];\n\n debitCard.map(item => {\n if (item.domesticFlag) {\n domesticDebitCard.push(item);\n } else {\n foreignDebitCard.push(item);\n }\n });\n\n const domesticCreditCard = [];\n const foreignCreditCard = [];\n\n creditCard.map(item => {\n if (item.domesticFlag) {\n domesticCreditCard.push(item);\n } else {\n foreignCreditCard.push(item);\n }\n });\n\n let domesticDebitCardOnUs = [];\n let domesticDebitCardOffUs = [];\n\n domesticDebitCard.map(item => {\n if (item.onUsFlag) {\n // domesticDebitCardOnUs.push(item);\n domesticDebitCardOnUs = dynamicFieldHandler(\n domesticDebitCardOnUs,\n item\n );\n } else {\n // domesticDebitCardOffUs.push(item);\n domesticDebitCardOffUs = dynamicFieldHandler(\n domesticDebitCardOffUs,\n item\n );\n }\n });\n\n let foreignDebitCardOnUs = [];\n let foreignDebitCardOffUs = [];\n\n foreignDebitCard.map(item => {\n if (item.onUsFlag) {\n // foreignDebitCardOnUs.push(item);\n foreignDebitCardOnUs = dynamicFieldHandler(\n foreignDebitCardOnUs,\n item\n );\n } else {\n // foreignDebitCardOffUs.push(item);\n foreignDebitCardOffUs = dynamicFieldHandler(\n foreignDebitCardOffUs,\n item\n );\n }\n });\n\n let domesticCreditCardOnUs = [];\n let domesticCreditCardOffUs = [];\n\n domesticCreditCard.map(item => {\n if (item.onUsFlag) {\n // domesticCreditCardOnUs.push(item);\n domesticCreditCardOnUs = dynamicFieldHandler(\n domesticCreditCardOnUs,\n item\n );\n } else {\n // domesticCreditCardOffUs.push(item);\n domesticCreditCardOffUs = dynamicFieldHandler(\n domesticCreditCardOffUs,\n item\n );\n }\n });\n\n let foreignCreditCardOnUs = [];\n let foreignCreditCardOffUs = [];\n\n foreignCreditCard.map(item => {\n if (item.onUsFlag) {\n // foreignCreditCardOnUs.push(item);\n foreignCreditCardOnUs = dynamicFieldHandler(\n foreignCreditCardOnUs,\n item\n );\n } else {\n // foreignCreditCardOffUs.push(item);\n foreignCreditCardOffUs = dynamicFieldHandler(\n foreignCreditCardOffUs,\n item\n );\n }\n });\n\n let upiData = [];\n\n if (upi.length) {\n upiData = [\n {\n bankSlabs: upi,\n issuerId: 'all',\n },\n ];\n }\n\n let netBankingList = [];\n let walletsList = [];\n let AccountVerificationList = [];\n let emiList = [];\n\n netbanking.map((item, index) => {\n const issuerId =\n !item.issuer || item.issuer === null ? 'all' : item.issuer;\n\n item.issuerId = issuerId;\n\n const issuerData = netBankingList.find(\n bank => bank.issuerId === issuerId\n );\n\n if (issuerData) {\n const updatedList = netBankingList.map(bank => {\n if (bank.issuerId === issuerId) {\n return {\n ...bank,\n bankSlabs: [...bank.bankSlabs, { ...item }],\n };\n }\n return bank;\n });\n netBankingList = [...updatedList];\n } else {\n // Keep all banks option as the first item in the array\n if (!item.issuer || item.issuer === null) {\n netBankingList = [\n { bankSlabs: [{ ...item }], issuerId },\n ...netBankingList,\n ];\n } else {\n netBankingList = [\n ...netBankingList,\n { bankSlabs: [{ ...item }], issuerId },\n ];\n }\n }\n });\n\n wallets.map((item, index) => {\n const issuerId =\n !item.issuer || item.issuer === null ? 'all' : item.issuer;\n\n item.issuerId = issuerId;\n\n const issuerData = walletsList.find(bank => bank.issuerId === issuerId);\n\n if (issuerData) {\n const updatedList = walletsList.map(bank => {\n if (bank.issuerId === issuerId) {\n return {\n ...bank,\n bankSlabs: [...bank.bankSlabs, { ...item }],\n };\n }\n return bank;\n });\n walletsList = [...updatedList];\n } else {\n // Keep all banks option as the first item in the array\n if (!item.issuer || item.issuer === null) {\n walletsList = [\n { bankSlabs: [{ ...item }], issuerId },\n ...walletsList,\n ];\n } else {\n walletsList = [\n ...walletsList,\n { bankSlabs: [{ ...item }], issuerId },\n ];\n }\n }\n });\n\n AccountVerification.map((item, index) => {\n const issuerId =\n !item.issuer || item.issuer === null ? 'all' : item.issuer;\n\n item.issuerId = issuerId;\n\n const issuerData = AccountVerificationList.find(\n bank => bank.issuerId === issuerId\n );\n\n if (issuerData) {\n const updatedList = AccountVerificationList.map(bank => {\n if (bank.issuerId === issuerId) {\n return {\n ...bank,\n bankSlabs: [...bank.bankSlabs, { ...item }],\n };\n }\n return bank;\n });\n AccountVerificationList = [...updatedList];\n } else {\n // Keep all banks option as the first item in the array\n if (!item.issuer || item.issuer === null) {\n AccountVerificationList = [\n { bankSlabs: [{ ...item }], issuerId },\n ...AccountVerificationList,\n ];\n } else {\n AccountVerificationList = [\n ...AccountVerificationList,\n { bankSlabs: [{ ...item }], issuerId },\n ];\n }\n }\n });\n\n emi.map((item, index) => {\n const issuerId =\n !item.issuer || item.issuer === null ? 'all' : item.issuer;\n item.issuerId = issuerId;\n const issuerData = emiList.find(bank => bank.issuerId === issuerId);\n if (issuerData) {\n const updatedList = emiList.map(bank => {\n if (bank.issuerId === issuerId) {\n return {\n ...bank,\n bankSlabs: [...bank.bankSlabs, { ...item }],\n };\n }\n return bank;\n });\n emiList = [...updatedList];\n } else {\n // Keep all banks option as the first item in the array\n if (!item.issuer || item.issuer === null) {\n emiList = [{ bankSlabs: [{ ...item }], issuerId }, ...emiList];\n } else {\n emiList = [...emiList, { bankSlabs: [{ ...item }], issuerId }];\n }\n }\n });\n\n const surchargeOptions = {\n sections: [\n 'Domestic-Debit-Card-On-Us',\n 'Domestic-Debit-Card-Off-Us',\n 'Foreign-Debit-Card-On-Us',\n 'Foreign-Debit-Card-Off-Us',\n 'Domestic-Credit-Card-On-Us',\n 'Domestic-Credit-Card-Off-Us',\n 'Foreign-Credit-Card-On-Us',\n 'Foreign-Credit-Card-Off-Us',\n 'Net-Banking',\n 'UPI',\n 'Wallets',\n 'AccountVerification',\n 'emi',\n ],\n slabs: {\n 'Domestic-Debit-Card-On-Us': domesticDebitCardOnUs,\n 'Domestic-Debit-Card-Off-Us': domesticDebitCardOffUs,\n 'Foreign-Debit-Card-On-Us': foreignDebitCardOnUs,\n 'Foreign-Debit-Card-Off-Us': foreignDebitCardOffUs,\n 'Domestic-Credit-Card-On-Us': domesticCreditCardOnUs,\n 'Domestic-Credit-Card-Off-Us': domesticCreditCardOffUs,\n 'Foreign-Credit-Card-On-Us': foreignCreditCardOnUs,\n 'Foreign-Credit-Card-Off-Us': foreignCreditCardOffUs,\n 'Net-Banking': netBankingList,\n UPI: upiData,\n Wallets: walletsList,\n AccountVerification: AccountVerificationList,\n emi: emiList,\n },\n };\n\n return surchargeOptions;\n};\n\nexport const getDynamicBoolValues = (data, key) => {\n if (data && data[key]) {\n const boolValue = data[key] || false;\n if (boolValue === true || boolValue === key) {\n return [key];\n } else if (Array.isArray(boolValue) && boolValue.includes(key)) {\n return [key];\n }\n }\n return [];\n};\n\nexport const getDynamicBoolFromArray = (values, key) => {\n const boolValues = values && values.length && values.includes(key);\n return boolValues || false;\n};\nlet count = 0;\n\nconst getcustomisedReportsData = (editData) =>{\n count++;\n //console.log(count,editData,\"cccccc\");\n // debugger;\n if(editData.customisedReports != undefined){\n return editData;\n }\n else {\n return {...editData.settlementDataSection, customisedReports: editData.customisedReports};\n }\n}\n\nconst getFilteredSectionData = (editData, sectionType) => {\n //console.log(editData, \"consoling edit data in helper methods 1234\")\n switch (sectionType) {\n case 'createMerchantSection':\n return (editData && editData.entityDetails) || {};\n case 'integrationSection':\n return (editData && editData.integrationData) || {};\n case 'paymentModeSection':\n return (editData && editData.paymentModeData) || {};\n case 'settlementSection':\n return (editData && getcustomisedReportsData(editData)) || {};\n case 'kycSection':\n return (editData && editData.kycData) || {};\n case 'pgConfigurationSection':\n return (editData && editData.pgConfigurationDataResponse) || {};\n case 'dynamicRoutingSection':\n return (\n (editData &&\n editData.pgRoutingResponseList && {\n enableDynamicRouting: getDynamicBoolValues(\n editData,\n 'enableDynamicRouting'\n ),\n pgRoutingRequestList: editData.pgRoutingResponseList,\n }) ||\n {}\n );\n case 'surchargeSection':\n return (\n (editData &&\n editData.feeConfigListMap && {\n feeConfigList: createSurchargeOptions(\n editData.feeConfigListMap,\n 'draft'\n ).slabs,\n }) ||\n {}\n );\n case 'notificationSection':\n return (editData && editData.notificationData) || {};\n default:\n return [];\n }\n};\n\n\nexport const getFormattedSectionData = (editData, sections, singleSection) => {\n //console.log(editData, \"consoling edit data in helper methods 1234666666\")\n const sectionData = [];\n if (singleSection) {\n return [\n {\n type: singleSection,\n state: 'Complete',\n data: getFilteredSectionData(editData, singleSection),\n },\n ];\n }\n sections.forEach(section => {\n sectionData.push({\n type: section.sectionType,\n state: 'Complete',\n data: getFilteredSectionData(editData, section.sectionType),\n });\n });\n return sectionData;\n};\n\nexport const shortFormatedData = (data) => {\n const sortedData = data.map((section) => {\n if (section.type === \"surchargeSection\" && section.data && section.data.feeConfigList) {\n const feeConfigList = section.data.feeConfigList;\n\n // Iterate over each feeConfigList entry and sort `bankSlabs`\n Object.keys(feeConfigList).forEach((key) => {\n feeConfigList[key] = feeConfigList[key].map((config) => {\n if (config.bankSlabs && config.bankSlabs.length > 0) {\n config.bankSlabs = config.bankSlabs.sort((a, b) => {\n if (a.cardCategory === \"CORPORATE\" && b.cardCategory !== \"CORPORATE\") return -1;\n if (a.cardCategory !== \"CORPORATE\" && b.cardCategory === \"CORPORATE\") return 1;\n if (a.cardCategory === \"CORPORATE\" && b.cardCategory === \"CORPORATE\") {\n // Place ESF before MDR within corporate items\n return a.feeType === \"ESF\" ? -1 : 1;\n }\n return 0;\n });\n }\n return config;\n });\n });\n\n return { ...section, data: { ...section.data, feeConfigList } };\n }\n return section;\n });\n\n return sortedData;\n}\n\nexport const isObjectEmpty = obj => {\n for (const key in obj) {\n if (obj.hasOwnProperty(key)) {\n return false;\n }\n }\n return true;\n};\n\nexport const debounce = (func, wait, immediate) => {\n let timeout;\n\n return function executedFunction() {\n // eslint-disable-next-line consistent-this, no-invalid-this\n const context = this;\n const args = arguments;\n\n const later = () => {\n timeout = null;\n if (!immediate) {\n func.apply(context, args);\n }\n };\n\n const callNow = immediate && !timeout;\n\n clearTimeout(timeout);\n\n timeout = setTimeout(later, wait);\n\n if (callNow) {\n func.apply(context, args);\n }\n };\n};\nconst colours = [\n '#1abc9c',\n '#2ecc71',\n '#3498db',\n '#9b59b6',\n '#34495e',\n '#16a085',\n '#27ae60',\n '#2980b9',\n '#8e44ad',\n '#2c3e50',\n '#f1c40f',\n '#e67e22',\n '#e74c3c',\n '#95a5a6',\n '#f39c12',\n '#d35400',\n '#c0392b',\n '#bdc3c7',\n '#7f8c8d',\n];\nexport const getInitials = name => {\n if (name) {\n const intials = name\n .replace(/[^A-Za-z0-9À-ÿ ]/gi, '')\n .replace(/ +/gi, ' ')\n .split(/ /)\n .reduce((acc, item) => acc + item[0], '')\n .concat(name.substr(1))\n .concat(name)\n .substr(0, 2)\n .toUpperCase();\n\n const charIndex = intials.charCodeAt(0) - 65;\n const colourIndex = charIndex % 19;\n const colour = colours[colourIndex];\n return {\n name: intials,\n colour,\n };\n }\n return {\n name: '',\n colour: '',\n };\n};\n\nexport const getUserPermissionFromResourceDetails = resourceDetails => {\n const resources = [];\n const permissions = {};\n const permissionMap = {};\n resourceDetails.forEach(resource => {\n resources.push(resource.resourceName);\n permissions[resource.resourceName] = resource.permissionDetail.map(\n perm => {\n permissionMap[perm.permissionName] = perm.permissionName;\n\n if (\n perm.subPermissionDetails &&\n perm.subPermissionDetails.length > 0\n ) {\n perm.subPermissionDetails.forEach(subPermission => {\n permissionMap[subPermission.permissionName] =\n subPermission.permissionName;\n });\n }\n\n return perm.permissionName;\n }\n );\n });\n\n return {\n resources,\n permissions,\n permissionMap,\n };\n};\n\nexport const getFlatSelectedData = (values, entityType, currentEntityCode) => {\n const entities = {\n aggregator: '',\n franchise: '',\n mle: '',\n };\n\n let aggregator = '';\n let franchise = '';\n let mle = '';\n\n if (entityType === 'AGGREGATOR') {\n aggregator = currentEntityCode;\n } else if (entityType === 'FRANCHISE') {\n franchise = currentEntityCode;\n } else {\n mle = currentEntityCode;\n }\n\n if (values.parent) {\n const { entityCode, entityType } = values.parent;\n if (entityType === 'AGGREGATOR') {\n aggregator = entityCode;\n } else if (entityType === 'FRANCHISE') {\n franchise = entityCode;\n } else {\n mle = entityCode;\n }\n\n if (values.parent.parent) {\n const { entityCode, entityType } = values.parent.parent;\n if (entityType === 'AGGREGATOR') {\n aggregator = entityCode;\n } else if (entityType === 'FRANCHISE') {\n franchise = entityCode;\n } else {\n mle = entityCode;\n }\n }\n }\n entities.aggregator = aggregator;\n entities.franchise = franchise;\n entities.mle = mle;\n return entities;\n};\n\nexport const isValuesEmpty = values => {\n if (values) {\n const allValues = Object.values(values);\n const checkAllValues = allValues.some(item => !isEmpty(item));\n return checkAllValues ? false : true;\n }\n\n return isEmpty(values);\n};\n\nexport const filterNotFillSection = (list, notIncludeSectionType) => {\n if (list && list.length) {\n const filterSection = list.filter(\n item =>\n item.sectionType !== notIncludeSectionType &&\n item.status === 'Open'\n );\n\n const sections =\n filterSection && filterSection.map(item => item.name).join(', ');\n return sections || 'All';\n }\n return 'All';\n};\n\nexport const getDependentSectionName = (steps, dependentSections) => {\n if (\n steps &&\n steps.length &&\n dependentSections &&\n dependentSections.length\n ) {\n const filterSection = steps.filter(\n item => dependentSections.includes(item.sectionType)\n // eslint-disable-next-line function-paren-newline\n );\n\n const sections =\n filterSection && filterSection.map(item => item.name).join(', ');\n return sections || '';\n }\n return '';\n};\n\nexport const formatBoolean = data => {\n if (data === true) {\n return 'True';\n } else if (data === false) {\n return 'False';\n }\n return '-';\n};\n\nexport const getFormattedData = (data, staticData) => {\n if (!isEmpty(data) && !isEmpty(staticData)) {\n const cardNatureData = staticData.CARD_NATURE;\n const bankCodeData = staticData.BANK_CODE;\n const cardTypeData = staticData.CARD_TYPE;\n\n const {\n binBlocked,\n binHead,\n cardNature,\n cardType,\n created,\n emiBin,\n isDomestic,\n issuingBank,\n lastUpdated,\n } = data;\n return {\n binBlocked: formatBoolean(binBlocked),\n binHead: binHead || '-',\n cardNature:\n (cardNatureData[cardNature] &&\n cardNatureData[cardNature].codeNameUI) ||\n '-',\n cardType:\n (cardTypeData[cardType] && cardTypeData[cardType].codeNameUI) ||\n '-',\n created: moment(created).format('DD/MM/YYYY') || '-',\n emiBin: formatBoolean(emiBin),\n isDomestic: formatBoolean(isDomestic),\n issuingBank:\n (bankCodeData[issuingBank] &&\n bankCodeData[issuingBank].codeNameUI) ||\n '-',\n lastUpdated: moment(lastUpdated).format('DD/MM/YYYY') || '-',\n };\n }\n return {};\n};\n\nconst getFormattedStaticData = (data, compareValue) => {\n return data.find(\n item =>\n item.label.toUpperCase().replace(/\\s/g, '') ===\n compareValue.toUpperCase().replace(/\\s/g, '')\n );\n};\n\nexport const getInitialsEditBin = (initialValues, staticData) => {\n if (!isEmpty(initialValues) && !isEmpty(staticData)) {\n const cardNatureData = getBinOptions(staticData.CARD_NATURE);\n const bankCodeData = getBinOptions(staticData.BANK_CODE);\n const cardTypeData = getBinOptions(staticData.CARD_TYPE);\n\n const initialValuesCopy = { ...initialValues };\n delete initialValuesCopy.created;\n delete initialValuesCopy.lastUpdated;\n if (initialValuesCopy.binBlocked) {\n initialValuesCopy.binBlocked = JSON.parse(\n initialValuesCopy.binBlocked.toLowerCase()\n );\n }\n if (initialValuesCopy.emiBin) {\n initialValuesCopy.emiBin = JSON.parse(\n initialValuesCopy.emiBin.toLowerCase()\n );\n }\n if (initialValuesCopy.isDomestic) {\n initialValuesCopy.isDomestic = JSON.parse(\n initialValuesCopy.isDomestic.toLowerCase()\n );\n }\n if (initialValuesCopy.cardNature) {\n const formattedCardNature = getFormattedStaticData(\n cardNatureData,\n initialValuesCopy.cardNature\n );\n initialValuesCopy.cardNature =\n (formattedCardNature && formattedCardNature.value) || '';\n }\n if (initialValuesCopy.cardType) {\n const formattedCardType = getFormattedStaticData(\n cardTypeData,\n initialValuesCopy.cardType\n );\n initialValuesCopy.cardType =\n (formattedCardType && formattedCardType.value) || '';\n }\n if (initialValuesCopy.issuingBank) {\n const formattedBankType = getFormattedStaticData(\n bankCodeData,\n initialValuesCopy.issuingBank\n );\n initialValuesCopy.issuingBank =\n (formattedBankType && formattedBankType.value) || '';\n }\n return initialValuesCopy;\n }\n return {};\n};\n\nexport const formatTableData = (tableData, staticData) => {\n if (tableData && tableData.length && !isEmpty(staticData)) {\n const cardNature = staticData.CARD_NATURE;\n const bankCode = staticData.BANK_CODE;\n const cardType = staticData.CARD_TYPE;\n\n const formattedData = tableData.map(item => {\n const itemCopy = { ...item };\n if (cardNature[itemCopy.cardNature]) {\n itemCopy.cardNature =\n cardNature[itemCopy.cardNature].codeNameUI || '-';\n }\n if (cardType[itemCopy.cardType]) {\n itemCopy.cardType =\n cardType[itemCopy.cardType].codeNameUI || '-';\n }\n if (bankCode[itemCopy.issuingBank]) {\n itemCopy.issuingBank =\n bankCode[itemCopy.issuingBank].codeNameUI || '-';\n }\n return itemCopy;\n });\n return formattedData;\n }\n return tableData;\n};\n\nexport const getBinOptions = (values, withAllBank) => {\n if (values) {\n const options = Object.keys(values).map(item => {\n const itemObject = values[item];\n return {\n label: itemObject.codeNameUI,\n value: item,\n image: itemObject.imagePath,\n };\n });\n const orderedOptions = orderBy(options, ['label'], ['asc']);\n if (withAllBank) {\n orderedOptions.unshift({\n label: 'All Bank',\n value: 'all',\n image: '',\n });\n }\n return orderedOptions;\n }\n return [];\n};\n\nexport const getSurchargeBankOptions = (\n bankCodes,\n paymentOptions = [],\n withAllBank\n) => {\n const options = paymentOptions\n .filter(item => item.paymentType === 'NB' && item.issuer)\n .map(item => {\n return {\n label: bankCodes[item.issuer].codeNameUI,\n value: item.issuer,\n image: bankCodes[item.issuer].imagePath,\n };\n });\n\n const orderedOptions = orderBy(options, ['label'], ['asc']);\n if (withAllBank) {\n orderedOptions.unshift({\n label: 'All Bank',\n value: 'all',\n image: '',\n });\n }\n\n return orderedOptions;\n};\n\nexport const getWalletOptions = (wallets = [], withAllWallets) => {\n const options = wallets\n .filter(item => item.paymentType === 'WALLET' && item.issuer)\n .map(item => {\n return {\n label: item.issuer,\n value: item.issuer,\n };\n });\n const orderedOptions = orderBy(options, ['label'], ['asc']);\n if (withAllWallets) {\n orderedOptions.unshift({\n label: 'All Wallet',\n value: 'all',\n });\n }\n\n return orderedOptions;\n};\n\nexport const getSchemeOptions = (schemes = []) => {\n const cardOptions = {\n AMEX: 'AMEX',\n VI: 'VISA',\n MC: 'MASTERCARD',\n RPAY: 'RUPAY',\n DINR: 'DINER',\n SDK: 'SDK'\n };\n\n const options = schemes\n .filter(scheme => scheme !== 'All Schemes')\n .map(scheme => {\n return {\n label: cardOptions[scheme],\n value: scheme,\n };\n });\n\n return options;\n};\n\nconst getExtraOptionsPermission = (oldPermission, newPermission, permId) => {\n const permIdListOld = oldPermission.map(perm => perm.permissionId);\n const permIdListNew = newPermission.map(perm => perm.permissionId);\n const extraOption = {\n checked: false,\n isPrevious: false,\n isChanged: false,\n };\n if (permIdListOld.includes(permId) && permIdListNew.includes(permId)) {\n extraOption.checked = true;\n } else if (\n !permIdListOld.includes(permId) &&\n permIdListNew.includes(permId)\n ) {\n extraOption.checked = true;\n extraOption.isChanged = true;\n } else if (\n permIdListOld.includes(permId) &&\n !permIdListNew.includes(permId)\n ) {\n extraOption.isPrevious = true;\n }\n\n return extraOption;\n};\n\nexport const getPermissionsOptions = (oldData, newData, key, isMob) => {\n if (oldData || newData) {\n const permissionResourceOld = oldData.find(\n res => res.resourceName === key\n );\n const permissionResourceNew = newData.find(\n res => res.resourceName === key\n );\n const oldPermissionDetail =\n (permissionResourceOld && permissionResourceOld.permissionDetail) ||\n [];\n const newPermissionDetail =\n (permissionResourceNew && permissionResourceNew.permissionDetail) ||\n [];\n\n const mergedOptions = unionBy(\n oldPermissionDetail,\n newPermissionDetail,\n 'permissionName'\n );\n if (isMob) {\n let mobMappedValues = [];\n\n if (newPermissionDetail.length > 0) {\n const havePermission =\n newPermissionDetail.length > 0 ? true : false;\n mobMappedValues = [\n {\n label: 'Merchant Onboarding',\n value: newPermissionDetail[0].value,\n checked: havePermission,\n isChanged: havePermission,\n isPrevious: false,\n },\n ];\n } else if (oldPermissionDetail.length > 0) {\n mobMappedValues = [\n {\n label: 'Merchant Onboarding',\n value: oldPermissionDetail[0].value,\n checked: false,\n isChanged: false,\n isPrevious: true,\n },\n ];\n }\n return mobMappedValues;\n }\n\n const mappedValues = mergedOptions.map(perm => {\n const extraOpt = getExtraOptionsPermission(\n oldPermissionDetail,\n newPermissionDetail,\n perm.permissionId\n );\n return {\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n ...extraOpt,\n };\n });\n return mappedValues;\n }\n return [];\n};\n\nexport const getIntent = value => {\n if (value && value === 'Update') {\n return 'Last Edit :';\n }\n return 'Created By :';\n};\n\nconst getConvertedDate = date => {\n if (!date) {\n return '-';\n }\n return moment(date).format('DD/MM/YYYY');\n};\n\nexport const getPgDate = (key, values) => {\n if (key && values) {\n const liveValue = values[`${key}ConfLive`];\n const testValue = values[`${key}ConfTest`];\n if (liveValue) {\n if (liveValue.lastUpdated) {\n return getConvertedDate(liveValue.lastUpdated);\n }\n return getConvertedDate(liveValue.created);\n } else if (testValue) {\n if (testValue.lastUpdated) {\n return getConvertedDate(testValue.lastUpdated);\n }\n return getConvertedDate(testValue.created);\n }\n return '-';\n }\n return '-';\n};\n\nexport const getRmName = (emailId, relationshipManagers) => {\n const rmName =\n relationshipManagers &&\n relationshipManagers.find(item => item.email === emailId);\n return (rmName && rmName.name) || '-';\n};\n\nexport const getFormattedDate = date => {\n const formatDate = {\n startDate: '',\n endDate: '',\n };\n if (!date && !date.value) {\n return formatDate;\n }\n if (date.value === 'custom' && date.endDate && date.startDate) {\n formatDate.startDate = moment(date.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n if (moment(date.endDate).isAfter(moment())) {\n formatDate.endDate = moment().format('YYYY-MM-DD HH:mm:ss');\n } else {\n formatDate.endDate = moment(date.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n } else {\n const hourString = '01:00:00',\n hourStringPrt = hourString.split(':'),\n minuteDelta = Number(hourStringPrt[1]),\n hourDelta = Number(hourStringPrt[0]);\n\n switch (date.value) {\n case '1Hour': {\n formatDate.startDate = moment()\n .subtract({ hours: hourDelta, minutes: minuteDelta })\n .format('YYYY-MM-DD HH:mm:ss');\n formatDate.endDate = moment().format('YYYY-MM-DD HH:mm:ss');\n return formatDate;\n }\n case 'today': {\n formatDate.startDate = moment()\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n formatDate.endDate = moment().format('YYYY-MM-DD HH:mm:ss');\n return formatDate;\n }\n case 'yesterday': {\n formatDate.startDate = moment()\n .subtract(1, 'days')\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n formatDate.endDate = moment()\n .subtract(1, 'days')\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n return formatDate;\n }\n case '7Days': {\n formatDate.startDate = moment()\n .subtract(7, 'days')\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n formatDate.endDate = moment()\n .subtract(1, 'days')\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n return formatDate;\n }\n case '30Days': {\n formatDate.startDate = moment()\n .subtract(30, 'days')\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n formatDate.endDate = moment()\n .subtract(1, 'days')\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n return formatDate;\n }\n case '180Days': {\n formatDate.startDate = moment()\n .subtract(180, 'days')\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n formatDate.endDate = moment()\n .subtract(1, 'days')\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n return formatDate;\n }\n case '1Year': {\n formatDate.startDate = moment()\n .subtract(365, 'days')\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n formatDate.endDate = moment()\n .subtract(1, 'days')\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n return formatDate;\n }\n default:\n return formatDate;\n }\n }\n return formatDate;\n};\n\nexport const formatPieChartData = (item, { payValues }) => {\n if (item && item.length && payValues) {\n const staticValues = {\n ...payValues.CARD_TYPE,\n ...payValues.BANK_CODE,\n ...payValues.CARD_NATURE,\n };\n\n const formatItem = item.map((value, index) => {\n let color = '#999';\n\n if (pieLegends && item) {\n if (pieLegends[value.aggregator]) {\n color = pieLegends[value.aggregator].color;\n } else if (pieLegends[`rank${index + 1}`]) {\n color = pieLegends[`rank${index + 1}`].color;\n }\n }\n const payVal =\n (staticValues[value.aggregator] &&\n staticValues[value.aggregator].codeNameUI) ||\n (pieLegends[value.aggregator] &&\n pieLegends[value.aggregator].label) ||\n value.aggregator;\n return {\n aggregator: payVal,\n key: value.aggregator,\n color,\n SUCCESS_RATE: value.values.SUCCESS_RATE\n ? `${value.values.SUCCESS_RATE} %`\n : 'NA',\n TRANSACTION_COUNT: value.values.TRANSACTION_COUNT || 'NA',\n value: parseInt(value.values.TRANSACTION_COUNT, 10) || null,\n };\n });\n return formatItem;\n }\n};\n\nconst formatChartDate = (value, granularity) => {\n if (value && granularity) {\n switch (granularity) {\n case 'DAILY':\n return moment(value).format('Do MMM');\n case 'FIFTEENMINUTE':\n return moment(value).format('HH:mm');\n case 'HOURLY':\n return moment(value).format('HH:mm');\n case 'MONTHLY':\n return moment(value).format('MMM `YY');\n case 'WEEKLY':\n return moment(value).format('Do MMM');\n default:\n return value;\n }\n }\n return value;\n};\n\nexport const getFormattedGranularity = (data, granularity, label) => {\n if (data && granularity && data.length) {\n const sortData = orderBy(data, ['aggregator'], ['asc']);\n const formattedData = sortData.map(item => {\n const formattedItem = {\n aggregator: formatChartDate(item.aggregator, granularity),\n values: {},\n };\n if (!label || label === 'all') {\n formattedItem.values = item.values;\n } else {\n formattedItem.values[label] = item.values[label];\n }\n return formattedItem;\n });\n return formattedData;\n }\n return data;\n};\n\nexport const checkTabData = (data, label) => {\n if (!isEmpty(data) && !isEmpty(label)) {\n const firstValue = first(data);\n const checkData = Object.keys(firstValue.values).some(\n item => item === label\n );\n if (checkData || label === 'all' || label === 'overall') {\n return false;\n }\n return true;\n }\n return true;\n};\n\nexport const getTagsValue = data => {\n if (data && data.length) {\n const formattedValue = data.map(item => item.value);\n return formattedValue;\n }\n\n return [];\n};\n\nexport const getCommDetails = data => {\n if (\n data &&\n data.transactionStatus !== 'EXPIRED' &&\n data.transactionStatus !== 'TRANSACTION_INITIATED' &&\n data.transactionStatus !== 'TRANSACTION_SUCCESS' &&\n data.transactionStatus !== 'TRANSACTION_FAILED'\n ) {\n const { communicationModeValue } = data;\n // eslint-disable-next-line no-useless-escape\n const expr = /^([\\w-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([\\w-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$/;\n if (expr.test(communicationModeValue)) {\n return { email: [communicationModeValue] };\n }\n\n return { mobile: [communicationModeValue] };\n }\n\n return {};\n};\n\nexport const formatFormDataOptions = (data = [], suffix = '') => {\n return data.map(item => {\n return {\n name: `${item} ${suffix}`,\n value: item,\n };\n });\n};\n\nexport const updateTxnStatus = (tableData, viewTransactionData) => {\n const updatedTableData = tableData.map(txn => {\n if (\n txn.transactionReferenceNumber ===\n viewTransactionData.details.transactionReferenceNumber\n ) {\n return {\n ...txn,\n transactionStatus:\n viewTransactionData.details.transactionStatus,\n };\n }\n\n return txn;\n });\n\n return updatedTableData;\n};\n\nexport const nameValueOptions = (states = []) => {\n return states.map(state => {\n const capitalizedState = state.charAt(0).toUpperCase() + state.slice(1).toLowerCase();\n return {\n name: capitalizedState,\n value: state,\n };\n });\n};\n\nexport const mapMerchant = (merchants = []) => {\n return merchants.map(merchant => {\n return {\n name: merchant.name,\n value: merchant.entityCode,\n };\n });\n};\n\nexport function isNumeric(value) {\n return /^-?\\d+$/.test(value);\n}\n\nexport const generateCSVFromArray = (csvArray, csvfileName) => {\n const csvContent = `data:text/csv;charset=utf-8,${csvArray\n .map(value => value.join(','))\n .join('\\n')}`;\n const encodedUri = encodeURI(csvContent);\n const link = document.createElement('a');\n link.setAttribute('href', encodedUri);\n link.setAttribute('download', csvfileName);\n document.body.appendChild(link);\n link.click();\n};\n\nexport const downloadFile = url => {\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('target', '_blank');\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n};\n\nexport const getBusinessSources = paymentTypeArray => {\n return paymentTypeArray.txnConfig\n ? paymentTypeArray.txnConfig\n .filter(config => config.businessSource)\n .map(config => config.businessSource)\n : [];\n};\n\nexport const getBusinessSourcesToAccountTypeMapping = txnConfig => {\n const txnConfigObj = {};\n\n for (const txn of txnConfig) {\n console.log(\"accountTypes\", txn);\n\n const businessSource = txn.businessSource;\n const accountTypes = txn.accountType.filter(type => type !== null) || [];\n\n\n if (businessSource !== null && accountTypes.length > 0) {\n if (!txnConfigObj[`upiAccountTypes-${businessSource}`]) {\n txnConfigObj[`upiAccountTypes-${businessSource}`] = [];\n }\n\n txnConfigObj[`upiAccountTypes-${businessSource}`].push(\n ...accountTypes\n );\n }\n }\n\n return txnConfigObj;\n};\n\nexport const downloadBulkPaymentLinkPreFilledFileCSV = (\n linkDataId,\n linkName = 'DUMMY_NAME'\n) => {\n // Define the CSV content\n const csvContent = `Link ID,${linkDataId},Link Name,${linkName}\n\n\nCustomer ID,Customer Name,Customer Mobile,Cust Email,Min Amount,Max Amount,Validity Period,TimeUnit,Link Type,UDF1,UDF2,UDF3,UDF4,UDF5\nCUSTOMER_ID,,,,,,,MINUTE-HOUR-DAY,(PL_LINK/INTENT_LINK),All UDF fields are optional. Please remove sample data from this row and input your entries,udf2,udf3,udf4,udf5`;\n\n // Create a Blob object\n const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });\n\n // Create a temporary download link\n const link = document.createElement('a');\n link.setAttribute('href', URL.createObjectURL(blob));\n link.setAttribute('download', `${linkDataId}.csv`);\n link.style.display = 'none';\n\n // Append the link to the document body\n document.body.appendChild(link);\n\n // Trigger the click event on the link\n link.click();\n\n // Cleanup\n document.body.removeChild(link);\n};\n\nexport const getFormButtonText = isUserTerminalState => {\n return isUserTerminalState ? 'SUBMIT' : 'NEXT';\n};\n\nexport const camelCaseToTitle = inputString => {\n const specialCases = [\"EDI\", \"ODS\", \"TID\"];\n const addODS = [\"feePercent\", \"flatFee\"];\n\n if (addODS.includes(inputString)) {\n inputString = `ODS ${inputString.charAt(0).toUpperCase() + inputString.slice(1)}`;\n }\n\n const newString = inputString.length < 4\n ? inputString.toUpperCase()\n : inputString.replace(/([a-z])([A-Z])/g, '$1 $2');\n\n let result = newString.charAt(0).toUpperCase() + newString.slice(1);\n\n specialCases.forEach(caseStr => {\n const regex = new RegExp(caseStr, 'gi');\n result = result.replace(regex, caseStr);\n });\n\n return result;\n};\n\nexport const getFormattedPGConfigOldData = draftData => {\n const { paymentGatewayDtoList } = draftData;\n\n const pgConfigurationDataResponse = {};\n if (paymentGatewayDtoList && paymentGatewayDtoList.length) {\n paymentGatewayDtoList.forEach((selectedPg, index) => {\n const oldConfValues = {\n credentials: selectedPg.credentials.map(cred => {\n return {\n ...cred,\n status: cred.status === true ? ['ENABLED'] : [],\n };\n }),\n referenceId: 'REFERENCE',\n };\n const confName = `${selectedPg.pgName}Conf${capitalize(\n selectedPg.environment\n )}`;\n pgConfigurationDataResponse[confName] = oldConfValues;\n });\n }\n\n if (pgConfigurationDataResponse) {\n return pgConfigurationDataResponse;\n }\n return {};\n};\n\nexport const getActiveReports = reports => {\n const reportsAll = {};\n if (reports.reportsList.length) {\n reportsAll.generating = reports.reportsList.filter(\n item => item.requestStatus !== 'COMPLETED'\n );\n reportsAll.complete = reports.reportsList.filter(\n item => item.requestStatus === 'COMPLETED'\n );\n }\n return reportsAll;\n};\n\nexport const getRequestData = (payload, isFileRequest = false) => {\n const request = {};\n\n if (payload.createdOn) {\n request.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n\n if (payload.merchantIds && payload.merchantIds.length) {\n request.merchantCodes = payload.merchantIds;\n }\n\n if (payload.minAmt) {\n request.minAmt = payload.minAmt;\n }\n\n if (payload.minAmount) {\n request.minAmount = payload.minAmount;\n }\n\n if (payload.transactionModes) {\n request.transactionModes = [payload.transactionModes];\n }\n\n if (payload.paymentType) {\n request.paymentType = [payload.paymentType];\n }\n\n if (payload.maxAmt) {\n request.maxAmt = payload.maxAmt;\n }\n\n if (payload.maxAmount) {\n request.maxAmount = payload.maxAmount;\n }\n\n if (payload.transactionTypes && payload.transactionTypes.length) {\n const { transactionTypes } = payload;\n request.transactionTypes = transactionTypes;\n }\n\n if (payload.mandateStatus) {\n request.status = payload.mandateStatus;\n }\n\n if (payload.orderId) {\n request.referenceId = payload.orderId;\n }\n\n if (payload.referenceId) {\n request.subscriptionId = payload.referenceId;\n }\n\n if (!isFileRequest) {\n request.paginationDetails = {\n pageNo: payload.pageIndex || 1,\n pageSize: payload.pageSize || 10,\n };\n } else {\n if (payload.reportFileName) {\n request.reportFileName = payload.reportFileName;\n }\n }\n\n return request;\n};\n\n// export const setAggregatorFilter = (fieldsList, entityList) => {\n// const { aggregator = [] } = entityList;\n// if (aggregator.length) {\n// fieldsList.forEach(element => {\n// if (element.name === 'aggregatorId') {\n// element.props.data = aggregator;\n// }\n// });\n// return fieldsList;\n// }\n// return fieldsList.filter(item => item.name !== 'aggregatorId');\n// };\n\nexport const setAggregatorFilter = (fieldsList, entityList, handleSearchEnd) => {\n const { aggregator = [] } = entityList;\n if (aggregator.length) {\n fieldsList.forEach(element => {\n if (element.name === 'aggregatorId') {\n element.props.data = aggregator;\n element.props.handleSearchEnd = handleSearchEnd;\n }\n });\n return fieldsList;\n }\n return fieldsList;\n};\n\n// export const setMerchantFilter = (\n// fieldsList,\n// underlyingMerchant,\n// entityList,\n// selectedAggregator\n// ) => {\n// const { merchants = [] } = entityList;\n// if (selectedAggregator) {\n// fieldsList.forEach(element => {\n// if (element.name === 'merchantId') {\n// element.props.data = merchants;\n// }\n// });\n// return fieldsList;\n// }\n//\n// if (underlyingMerchant.length) {\n// fieldsList.forEach(element => {\n// if (element.name === 'merchantId') {\n// element.props.data = underlyingMerchant;\n// }\n// });\n// return fieldsList;\n// }\n// return fieldsList.filter(item => item.name !== 'merchantId');\n// };\n\nexport const setMerchantFilter = (\n fieldsList,\n underlyingMerchant,\n entityList,\n selectedAggregator,\n handleSearchEnd\n) => {\n const { merchants = [] } = entityList;\n if (selectedAggregator) {\n fieldsList.forEach(element => {\n if (element.name === 'merchantId' || element.name === 'merchantName') {\n element.props.data = merchants;\n element.props.handleSearchEnd = handleSearchEnd;\n }\n });\n return fieldsList;\n }\n\n if (underlyingMerchant.length) {\n fieldsList.forEach(element => {\n if (element.name === 'merchantId' || element.name === 'merchantName') {\n element.props.data = underlyingMerchant;\n element.props.handleSearchEnd = handleSearchEnd;\n }\n });\n return fieldsList;\n }\n return fieldsList;\n};\n\nexport const chunkArray = (arr, chunkSize) => {\n const result = [];\n for (let i = 0; i < arr.length; i += chunkSize) {\n result.push(arr.slice(i, i + chunkSize));\n }\n return result;\n};\n\n/**\n * Function to generate an error message object.\n * @param {string} [error] - The error message. Optional, defaults to \"Something Went Wrong!!\" if not provided.\n * @returns {{message: string, imageSrc: string}} - The error message object.\n */\nexport const ERROR = error => {\n return {\n message: error || 'Something Went Wrong!!',\n imageSrc: errorImage,\n };\n};\n\nexport const isPresentOrDefault = (value, defaultValue) => {\n return value ? value : defaultValue;\n};\n\nexport const isAdminUser = auth => {\n return auth?.userDetails?.userLevel === 'ADMIN';\n};\n\nexport const isMerchantUser = auth => {\n return auth?.userDetails?.userLevel === 'MERCHANT';\n};\n\nexport const capitalizeFirstLetter = (str) => str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();\n\nexport const capitalizeFirstLetterOfEachWord = (str) => {\n try {\n return str\n .split(' ') // Split the string by spaces into an array of words\n .map(word => capitalizeFirstLetter(word)) // Capitalize each word\n .join(' '); // Join the array back into a string with spaces\n } catch(e) {\n console.log(\"e message\", e?.message);\n }\n return '';\n}\n\nexport const createDeepCopyObj = (data) => {\n if (typeof data === 'object') {\n return JSON.parse(JSON.stringify(data));\n }\n return data;\n}","import profileImg from '../../static/images/profile.png';\nimport transactionview from '../../static/images/transactionview.png';\nimport onboardingImg from '../../static/images/sidebarIcon/onboardingImg.png';\nimport refundImg from '../../static/images/sidebarIcon/refundImg.png';\nimport accessManagement from '../../static/images/sidebarIcon/accessManagement.png';\nimport dashBoard from '../../static/images/sidebarIcon/dashBoard.png';\nimport manageAccount from '../../static/images/sidebarIcon/manageAccount.png';\nimport manageBin from '../../static/images/sidebarIcon/manageBin.png';\nimport myAccount from '../../static/images/sidebarIcon/myAccount.png';\nimport paymentPage from \"../../static/images/wallet.png\"\n\nexport const MENU_LIST = [\n {\n menuName: 'Access Management',\n serverKey: 'access_management',\n imgSrc: accessManagement,\n subMenu: [\n {\n menuName: 'Role Management',\n serverKey: 'role_management',\n link: '/rolemanagement',\n },\n {\n menuName: 'User Management',\n serverKey: 'user_management',\n link: '/usermanagement',\n },\n {\n menuName: 'Role Verification',\n serverKey: 'role_verification',\n link: '/roleverification',\n },\n {\n menuName: 'User Verification',\n serverKey: 'user_verification',\n link: '/userverification',\n },\n ],\n },\n {\n menuName: 'Onboarding',\n serverKey: 'merchant_onboarding',\n imgSrc: onboardingImg,\n // isParentLevelPermission: true,\n subMenu: [\n {\n menuName: 'TID Onboarding',\n serverKey: 'create_merchant',\n link: '/tid-onboarding',\n },\n {\n menuName: 'MID Onboarding',\n serverKey: 'create_merchant',\n link: '/mob',\n },\n {\n menuName: 'MLE Onboarding',\n serverKey: 'create_merchant',\n link: '/mle-onboarding',\n },\n {\n menuName: 'Merchant Maker',\n serverKey: 'maker',\n link: '/maker',\n },\n {\n menuName: 'Requested Approvals',\n serverKey: 'checker',\n link: '/checker',\n },\n ],\n },\n {\n menuName: 'PG Credentials Repository',\n // TODO! change this permission in future\n serverKey: 'merchant_onboarding',\n imgSrc: transactionview,\n link: '/payment-gateway-credentials',\n },\n {\n menuName: 'Transaction View',\n serverKey: 'reports',\n imgSrc: transactionview,\n link: '/transactions',\n },\n {\n menuName: 'Mandate View',\n serverKey: 'mandates',\n imgSrc: transactionview,\n link: '/mandate',\n },\n {\n menuName: 'Merchant Adjustments',\n serverKey: 'reports',\n imgSrc: transactionview,\n link: '/merchant-adjustments',\n },\n {\n menuName: 'Refund',\n serverKey: 'refunds',\n imgSrc: refundImg,\n isParentLevelPermission: true,\n subMenu: [\n {\n menuName: 'Refund',\n serverKey: 'refunds',\n link: '/refund',\n },\n {\n menuName: 'Bulk Refund',\n serverKey: 'bulk_refund',\n link: '/bulk-refund',\n },\n ],\n },\n {\n menuName: 'Settlement',\n serverKey: 'view_settlement',\n imgSrc: refundImg,\n isParentLevelPermission: true,\n subMenu: [\n {\n menuName: 'Settlement',\n serverKey: 'settlement',\n link: '/settlement',\n },\n {\n menuName: 'Invoice',\n serverKey: 'bulk_refund',\n link: '/invoice',\n },\n ],\n },\n {\n menuName: 'Manage Bin',\n serverKey: 'manage_bin',\n imgSrc: manageBin,\n link: '/manage-bin',\n },\n {\n menuName: 'Manage Account',\n serverKey: 'manage_account',\n imgSrc: manageAccount,\n subMenu: [\n {\n menuName: 'Communication Profile',\n serverKey: 'communication_profile',\n link: '/communication',\n },\n ],\n },\n {\n menuName: 'My Account',\n serverKey: 'my_account',\n imgSrc: myAccount,\n subMenu: [\n {\n menuName: 'Profile',\n serverKey: 'merchant_profile',\n link: '/profile',\n },\n {\n menuName: 'Checkout Customization',\n serverKey: 'merchant_profile',\n link: '/checkout-customization',\n },\n ],\n },\n {\n menuName: 'Dashboard',\n serverKey: 'dashboard',\n imgSrc: dashBoard,\n link: '/dashboard',\n },\n {\n menuName: 'Payment Link',\n serverKey: 'payment_links',\n imgSrc: profileImg,\n isParentLevelPermission: true,\n subMenu: [\n {\n menuName: 'Payment Link',\n serverKey: 'manage_payment_link',\n link: '/payment-link',\n },\n {\n menuName: 'Bulk Payment Link',\n serverKey: 'manage_payment_link',\n link: '/bulk-payment-link',\n },\n ],\n },\n {\n menuName: 'Payment Page',\n serverKey: 'payment_links',\n imgSrc: paymentPage,\n link: '/payment-page',\n },\n {\n menuName: 'Dispute resolution',\n serverKey: 'chargeback',\n imgSrc: refundImg,\n link: '/chargeback',\n },\n {\n menuName: 'Audit Trail',\n serverKey: 'audit_trail',\n imgSrc: profileImg,\n link: '/audit-report',\n },\n];\n","// Constants\n\nimport { getInitials } from '../../utils/helperMethods';\nimport downArrowImg from '../../static/images/down-arrow.png';\nimport { MENU_LIST } from '../../utils/constants/menuConstant';\n\n// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './sidebar.scss';\n\n// Images\nimport { Link, useLocation } from 'react-router-dom';\nimport { connect } from 'react-redux';\n\nconst Sidebar = ({ auth }) => {\n const { userDetails, resourceDetails } = auth;\n const currentMatch = useLocation();\n\n const getSelectedParentIndex = currentMatch => {\n let selectedParentIndex = MENU_LIST.findIndex(\n element => element.link === currentMatch.pathname\n );\n\n if (selectedParentIndex === -1) {\n let selectedSubMenu = -1;\n for (let index = 0; index < MENU_LIST.length; index++) {\n if (MENU_LIST[index]?.subMenu) {\n selectedSubMenu = MENU_LIST[index]?.subMenu.findIndex(\n element => element.link === currentMatch.pathname\n );\n }\n if (selectedSubMenu !== -1) {\n selectedParentIndex = index;\n break;\n }\n }\n return selectedParentIndex;\n }\n return -1;\n };\n\n const [activeSubMenu, setActiveSubMenu] = useState(null);\n\n const [isActiveSubMenuOpen, setIsActiveSubMenuOpen] = useState(true);\n\n const handleSubMenuToggle = selectedMenuItem => {\n if (\n activeSubMenu &&\n activeSubMenu?.serverKey === selectedMenuItem?.serverKey\n ) {\n setIsActiveSubMenuOpen(!isActiveSubMenuOpen);\n } else {\n setActiveSubMenu(selectedMenuItem);\n setIsActiveSubMenuOpen(true);\n }\n };\n\n useEffect(() => {\n const selectedParentIndex = getSelectedParentIndex(currentMatch);\n if (selectedParentIndex !== -1) {\n setActiveSubMenu(MENU_LIST[selectedParentIndex]);\n setIsActiveSubMenuOpen(true);\n }\n }, [currentMatch, currentMatch.pathname]);\n\n const hasPermissionMatch = element => {\n return element.link === currentMatch.pathname;\n };\n\n const avatar = getInitials(userDetails.name);\n\n return (\n
\n
\n
\n \n {avatar.name}\n
\n
\n
\n

{userDetails.name}

\n

{userDetails.email}

\n
\n
\n
\n {MENU_LIST.map((menuItem, index) => {\n if (\n resourceDetails.resources &&\n resourceDetails.resources.includes(\n menuItem.serverKey\n ) &&\n menuItem.subMenu &&\n menuItem.subMenu.length > 0\n ) {\n return (\n \n \n handleSubMenuToggle(menuItem)\n }\n >\n
\n
\n \n
\n {menuItem.menuName}\n
\n \n
\n\n \n {menuItem.subMenu.map(\n (subMenuItem, index) => {\n if (\n menuItem.isParentLevelPermission ||\n resourceDetails.permissions[\n menuItem.serverKey\n ].includes(\n subMenuItem.serverKey\n )\n ) {\n return (\n \n \n \n {\n subMenuItem.menuName\n }\n \n \n \n );\n }\n return <>;\n }\n )}\n \n \n );\n } else if (\n resourceDetails.resources &&\n resourceDetails.resources.includes(menuItem.serverKey)\n ) {\n return (\n
\n \n
\n
\n \n
\n \n {menuItem.menuName}\n \n
\n
\n \n );\n }\n return <>;\n })}\n \n \n );\n};\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\nSidebar.propTypes = {\n auth: PropTypes.object,\n};\n\nexport default connect(mapStateToProps, null)(Sidebar);\n","import Sidebar from './Sidebar';\n\nexport default Sidebar;\n","// Library Methods\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Route, Redirect } from 'react-router-dom';\n\n// A wrapper for that redirects to the login\n// screen if you're not yet authenticated.\nfunction AuthRoute({ children, isLoggedIn, ...rest }) {\n // const isLoggedIn = getFromLocalStorage(\n // LOCAL_STORAGE_FIELD_NAMES.IS_LOGGED_IN\n // );\n\n return (\n \n isLoggedIn ? (\n children\n ) : (\n \n )\n }\n />\n );\n}\n\nAuthRoute.propTypes = {\n children: PropTypes.node,\n isLoggedIn: PropTypes.bool,\n};\n\nexport default AuthRoute;\n","import AuthRoute from './AuthRoute';\n\nexport default AuthRoute;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './card.scss';\n\n/**\n * Card Component\n *\n * @param {String} customClass - Custom wrapper class\n * @param {Node} children - React Node\n */\n\nconst Card = ({ customClass, children }) => (\n
{children}
\n);\n\nCard.propTypes = {\n children: PropTypes.node.isRequired,\n customClass: PropTypes.string,\n};\n\nexport default Card;\n","import Card from './Card';\n\nexport default Card;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './alert.scss';\n\n/**\n * Alert Component\n *\n * @param {Object} children - React component\n * @param {string} customClass - React component\n */\n\nconst Alert = ({ children, customClass }) => (\n \n {children}\n \n);\n\nAlert.propTypes = {\n children: PropTypes.node.isRequired,\n customClass: PropTypes.string,\n};\n\nexport default Alert;\n","import Alert from './Alert';\n\nexport default Alert;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './errorCard.scss';\nimport NoDataFound from '../../static/images/noDataFound.png';\n\nconst ErrorCard = ({ text, isNoResult }) => (\n
\n {isNoResult ? (\n
\n \"No\n

Data Not Found

\n

\n We are not finding data, Please try again after some time\n

\n
\n ) : (\n
\n \n Error Indicator\n \n \n \n \n \n

{text}

\n
\n )}\n
\n);\n\nErrorCard.propTypes = {\n text: PropTypes.string.isRequired,\n isNoResult: PropTypes.bool,\n};\n\nexport default ErrorCard;\n","import ErrorCard from './ErrorCard';\n\nexport default ErrorCard;\n","// Libraries\nimport React from 'react';\n\n// Images\nimport fcloader from '../../static/images/fcloader.gif';\n\n// Styles\nimport './loader.scss';\n\nconst Loader = props => (\n
\n \"Loading\"\n
\n);\n\nexport default Loader;\n","import Loader from './Loader';\n\nexport default Loader;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport momentPropTypes from 'react-moment-proptypes';\nimport { DateRangePicker, SingleDatePicker } from 'react-dates';\nimport styled from 'styled-components';\nimport moment from 'moment';\n\n// Styles\nimport 'react-dates/initialize';\nimport 'react-dates/lib/css/_datepicker.css';\nimport './datePicker.scss';\n\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n`;\n\nconst DatePicker = ({\n input,\n meta,\n singleDatePicker = false,\n startDate,\n endDate,\n startDateId,\n endDateId,\n numberOfMonths = 1,\n onSetStartDate,\n onSetEndDate,\n maximumNights,\n showDefaultInputIcon = true,\n ...props\n}) => {\n const [focused, setFocused] = useState(false);\n const [focusedInput, setFocusedInput] = useState(null);\n\n // Ensure startDate and endDate are moment objects\n const validStartDate = startDate ? moment(startDate) : null;\n const validEndDate = endDate ? moment(endDate) : null;\n\n return (\n <>\n {singleDatePicker ? (\n {\n if (input?.onChange) input.onChange(date);\n if (onSetStartDate) onSetStartDate(date);\n }}\n focused={focused}\n onFocusChange={({ focused }) => setFocused(focused)}\n id={startDateId}\n numberOfMonths={numberOfMonths}\n showDefaultInputIcon={showDefaultInputIcon}\n />\n ) : (\n {\n if (input?.onChange) {\n input.onChange({\n startDate: startDate ? startDate.format() : null,\n endDate: endDate ? endDate.format() : null,\n });\n }\n if (onSetStartDate) onSetStartDate(startDate);\n if (onSetEndDate) onSetEndDate(endDate);\n }}\n focusedInput={focusedInput}\n onFocusChange={(focusedInput) => setFocusedInput(focusedInput)}\n startDateId={startDateId}\n endDateId={endDateId}\n numberOfMonths={numberOfMonths}\n isOutsideRange={(day) => {\n if (maximumNights && focusedInput === 'endDate' && validStartDate) {\n return (\n day.isBefore(validStartDate) ||\n day.isAfter(validStartDate.clone().add(maximumNights, 'days')) ||\n day.isAfter(moment().endOf('day'))\n );\n }\n return moment().diff(day, 'days') < 0;\n }}\n showDefaultInputIcon={showDefaultInputIcon}\n />\n )}\n {meta?.touched && meta?.error && (\n {meta.error}\n )}\n \n );\n};\n\nDatePicker.propTypes = {\n input: PropTypes.object,\n meta: PropTypes.object,\n singleDatePicker: PropTypes.bool,\n startDate: momentPropTypes.momentObj,\n endDate: momentPropTypes.momentObj,\n startDateId: PropTypes.string.isRequired,\n endDateId: PropTypes.string,\n numberOfMonths: PropTypes.number,\n onSetStartDate: PropTypes.func,\n onSetEndDate: PropTypes.func,\n maximumNights: PropTypes.number,\n showDefaultInputIcon: PropTypes.bool,\n};\n\nexport default DatePicker;\n","import DatePicker from './DatePicker';\n\nexport default DatePicker;\n","// Libraries\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport TimeKeeper from 'react-timekeeper';\n\nimport './timePicker.scss';\n\nconst StyledErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n`;\n\nconst TimePicker = ({\n startTime,\n endTime,\n setStarTime,\n setEndTime,\n hour24Mode,\n input,\n onTimeChange,\n meta,\n}) => {\n // End Start Time States\n const [showStartTime, setShowStartTime] = useState(false);\n const [showEndTime, setShowEndTime] = useState(false);\n\n const handleStartTimeChange = newTime => {\n const time = hour24Mode ? newTime.formatted24 : newTime.formatted12;\n setStarTime(time);\n const data = {\n startTime: time,\n endTime,\n };\n if (input) {\n input.onChange(data);\n } else {\n onTimeChange(data);\n }\n };\n\n const handleEndTimeChange = newTime => {\n const time = hour24Mode ? newTime.formatted24 : newTime.formatted12;\n setEndTime(time);\n const data = {\n startTime,\n endTime: time,\n };\n if (input) {\n input.onChange(data);\n } else {\n onTimeChange(data);\n }\n };\n\n return (\n <>\n
\n
\n {showStartTime && (\n <>\n setShowStartTime(false)}\n />\n setShowStartTime(false)}\n />\n \n )}\n {startTime ? (\n setShowStartTime(true)}\n >\n {startTime}\n \n ) : (\n setShowStartTime(true)}\n >\n Start Time\n \n )}\n
\n
\n {showEndTime && (\n <>\n setShowEndTime(false)}\n />\n setShowEndTime(false)}\n />\n \n )}\n {endTime ? (\n setShowEndTime(true)}\n >\n {endTime}\n \n ) : (\n setShowEndTime(true)}\n >\n End Time\n \n )}\n
\n
\n {meta && meta.touched && meta.error && (\n \n {meta.error}\n \n )}\n \n );\n};\n\nTimePicker.propTypes = {\n input: PropTypes.object,\n onTimeChange: PropTypes.func,\n startTime: PropTypes.string,\n endTime: PropTypes.string,\n setStarTime: PropTypes.func,\n setEndTime: PropTypes.func,\n hour24Mode: PropTypes.bool,\n meta: PropTypes.object,\n};\n\nexport default TimePicker;\n","import TimePicker from './TimePicker';\n\nexport default TimePicker;\n","// NPM Modules\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styling\nimport './style.scss';\n\nconst loaderClass = grey => `loader ${grey || 'grey'}`;\nconst LoaderWrap = ({ grey }) => (\n
\n
\n
\n
\n);\n\nconst FakeLoader = ({ withMask, grey }) =>\n withMask ? :
;\n\nFakeLoader.propTypes = {\n grey: PropTypes.bool,\n withMask: PropTypes.bool,\n};\n\nLoaderWrap.propTypes = {\n grey: PropTypes.bool,\n};\n\nexport default FakeLoader;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst getPageInfo = (totalPages, currentIndex, pageLength, pagePerView) => {\n // default to first page\n const IndexGap = 1;\n const halfNumber = 2;\n const currentPage = currentIndex || IndexGap;\n const pageSize = pageLength;\n\n let endPage, startPage;\n if (totalPages.length <= pagePerView) {\n // less than Page Per View total pages so show all\n startPage = IndexGap;\n endPage = totalPages.length;\n } else {\n // more than 10 total pages so calculate start and end pages\n const endPageCalc = currentPage + (pagePerView - IndexGap);\n const halfOfPagePerView = Math.ceil(pagePerView / halfNumber);\n if (currentPage <= halfOfPagePerView) {\n // For less than half number of page per view\n startPage = IndexGap;\n endPage = pagePerView;\n } else if (endPageCalc >= totalPages.length) {\n // For handling than last pages.\n const diff = endPageCalc - totalPages.length;\n startPage = currentPage - diff;\n endPage = totalPages.length;\n } else {\n startPage = currentPage - (halfOfPagePerView - IndexGap);\n endPage = currentPage + (halfOfPagePerView - IndexGap);\n }\n }\n\n // create an array of pages to ng-repeat in the pager control\n const pages = [...Array(endPage + IndexGap - startPage).keys()].map(\n index => startPage + index\n );\n\n // return object with all pager properties required by the view\n return {\n currentPage,\n endPage,\n pages,\n pageSize,\n startPage,\n totalPages,\n };\n};\n\nconst PaginationNumber = ({\n pagesCount,\n pageIndex, //0 NaN\n gotoPage,\n pageSize, //10\n pagePerView, //3, 5\n}) => {\n console.log(\"Pagination PaginationNumber---->\",\n pageIndex, + \"pageIndex->\");\n const paginationGap = 1;\n const currentPage = pageIndex + paginationGap;\n \n const pageList = getPageInfo(\n pagesCount, // 1 to 40\n currentPage, // 1\n pageSize, // 10\n pagePerView //3, 5\n );\n console.log(\"Pagination getPageInfo---->\", pagesCount);\n return pageList.pages.map(countValue => {\n const pageCount = countValue - paginationGap;\n console.log(\"pagination pageCount\", pageCount);\n return (\n
  • \n gotoPage(pageCount)}\n className={`pageLink ${\n pageCount === pageIndex ? 'selected' : null\n }`}\n >\n {countValue}\n \n
  • \n );\n });\n};\n\nconst Pagination = ({\n pageSize,\n pageSizeOptions,\n previousPage,\n canPreviousPage,\n pagesCount,\n gotoPage,\n nextPage,\n canNextPage,\n setPageSize,\n pageIndex,\n paginationLabel,\n totalItems,\n pagePerView,\n id,\n}) => {\n // console.log(\"inside Pagination\", pageSize,\n // pageSizeOptions, //10\n // previousPage, // [10,20,40,60]\n // canPreviousPage,\n // pagesCount, // 1 to 40\n // gotoPage,\n // nextPage,\n // canNextPage, //true \n // setPageSize,\n // pageIndex, // 0\n // paginationLabel, //Rows per page\n // totalItems,\n // pagePerView, //3\n // id)\n return(\n
    \n
      \n
    • \n \n {\n setPageSize(Number(event.target.value));\n }}\n >\n {pageSizeOptions.map(pageSize => (\n \n ))}\n \n
    • \n
    • \n previousPage()}\n disabled={!canPreviousPage}\n className={`pageLink ${!canPreviousPage ? 'disabled' : ''}`}\n >\n Previous\n \n
    • \n \n \n
    • \n nextPage()}\n disabled={!canNextPage}\n className={`pageLink ${!canNextPage ? 'disabled' : ''}`}\n >\n Next\n \n
    • \n
    \n
    \n )\n};\nPagination.propTypes = {\n canNextPage: PropTypes.bool,\n canPreviousPage: PropTypes.bool,\n gotoPage: PropTypes.func,\n nextPage: PropTypes.func,\n pageIndex: PropTypes.number,\n pagePerView: PropTypes.number,\n pagesCount: PropTypes.array,\n pageSize: PropTypes.number,\n pageSizeOptions: PropTypes.array,\n paginationLabel: PropTypes.string,\n previousPage: PropTypes.func,\n setPageSize: PropTypes.func,\n totalItems: PropTypes.number,\n id: PropTypes.string,\n};\n\nexport default Pagination;\n","/* eslint-disable no-nested-ternary */\n/* eslint-disable multiline-ternary */\n// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { useTable, usePagination } from 'react-table';\n\n// Components\nimport { ErrorCard } from '../../components';\nimport FakeLoader from '../FakeLoader';\nimport Pagination from './Pagination';\n\n// Styles\nimport './table.scss';\n\nconst Table = ({\n filter,\n tableTitle,\n tableHead,\n tableCell,\n pageSizeOptions,\n columns,\n data,\n fetchData,\n isFiltersEnable,\n isPaginationEnable,\n loading,\n roleStatus,\n pageCount: controlledPageCount,\n paginationLabel,\n userActions,\n pagePerView,\n tableSubSection,\n error,\n isResetPage,\n afterResetPage,\n filterData,\n id,\n tableSummary,\n isPGRepoTab,\n tableCard,\n}) => {\n const {\n headers,\n getTableProps,\n getTableBodyProps,\n prepareRow,\n page,\n canPreviousPage,\n canNextPage,\n pageOptions,\n gotoPage,\n nextPage,\n previousPage,\n setPageSize,\n // Get the state from the instance\n state,\n } = useTable(\n {\n columns,\n data,\n initialState: { pageIndex: 0, pageSize: 10 },\n // Pass our hoisted table state\n autoResetPage: true,\n manualPagination: true,\n // Tell the usePagination\n // hook that we'll handle our own data fetching\n // This means we'll also have to provide our own\n // pageCount.\n pageCount: controlledPageCount,\n },\n usePagination\n );\n const { pageIndex, pageSize } = state;\n\n // console.log(\"tableWrapp---->\", controlledPageCount);\n\n React.useEffect(() => {\n if (isResetPage && isPGRepoTab === true) {\n state.pageIndex = 0;\n state.pageSize = 50;\n }\n if (isResetPage && isPGRepoTab !== true) {\n state.pageIndex = 0;\n state.pageSize = 10;\n }\n return () => {\n afterResetPage && afterResetPage();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isResetPage]);\n\n // Listen for changes in pagination and use the state to fetch our new data\n React.useEffect(() => {\n fetchData({ pageIndex: pageIndex + 1, pageSize, roleStatus });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n pageIndex,\n pageSize,\n roleStatus,\n state.pageIndex,\n state.pageSize,\n filterData,\n ]);\n\n const incrementValue = 1;\n const pagesCount = [...Array(pageOptions.length).keys()].map(\n value => value + incrementValue\n );\n\n return (\n \n {/* Dynamic Filter Element prop */}\n {isFiltersEnable ? filter : null}\n {tableSummary ? tableSummary : null}\n {tableCard ? tableCard : <>}\n
    \n {/* Dynamic TableHead Element prop */}\n {tableHead || null}\n {tableSubSection && tableSubSection ? tableSubSection() : null}\n {loading ? : null}\n {!loading && error ? (\n \n ) : (\n \n \n \n {headers.map(header => (\n \n ))}\n \n \n \n {page && page.length ? (\n page.map(row => {\n prepareRow(row);\n return (\n \n {row.cells.map((cell, index) => (\n \n \n {tableCell(\n cell,\n userActions,\n row\n )}\n \n \n ))}\n \n );\n })\n ) : (\n
    \n )}\n
    \n
    \n {header.header}\n
    \n )}\n {!loading && !error ? (\n (page && page.length) || loading ? null : (\n \n )\n ) : null}\n
    \n {isPaginationEnable ? (\n \n ) : null}\n
    \n );\n};\n\nTable.propTypes = {\n actionTitle: PropTypes.string,\n tableHead: PropTypes.node,\n columns: PropTypes.array.isRequired,\n data: PropTypes.array.isRequired,\n fetchData: PropTypes.func.isRequired,\n filter: PropTypes.node,\n tableSummary: PropTypes.node,\n isFiltersEnable: PropTypes.bool,\n isPaginationEnable: PropTypes.bool,\n loading: PropTypes.bool,\n onClickTableAction: PropTypes.func,\n pageCount: PropTypes.number,\n pagePerView: PropTypes.number,\n pageSizeOptions: PropTypes.array,\n paginationLabel: PropTypes.string,\n roleStatus: PropTypes.string,\n setRoleStatus: PropTypes.func,\n tableCell: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n tableFilters: PropTypes.node,\n tableSubSection: PropTypes.node,\n title: PropTypes.string,\n userActions: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n error: PropTypes.string,\n isResetPage: PropTypes.object,\n afterResetPage: PropTypes.func,\n filterData: PropTypes.object,\n id: PropTypes.string,\n};\n\nexport default Table;\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\n\n/**\n * A component that conditionally renders its children based on user permissions.\n *\n * @param {Object} props - The component props.\n * @param {Object} props.auth - The authentication object containing user details.\n * @param {string} props.permission - The required permission to render the children.\n * @param {React.ReactNode} props.children - The children components to render if the user has the required permission.\n * @param {boolean} props.overridePermission - If true, renders children without checking permissions.\n * @returns {React.ReactElement|null} - The rendered children if the user has the required permission, otherwise null.\n */\nconst AuthResource = ({ auth, permission, children, overridePermission }) => {\n if (\n overridePermission ||\n (auth &&\n auth.resourceDetails &&\n auth.resourceDetails.permissionMap &&\n auth.resourceDetails.permissionMap[permission])\n ) {\n return <>{children};\n }\n\n return ;\n};\n\nAuthResource.propTypes = {\n auth: PropTypes.object,\n permission: PropTypes.string,\n children: PropTypes.node,\n overridePermission: PropTypes.bool,\n};\n\n/**\n * Maps the Redux state to the component props.\n *\n * @param {Object} state - The Redux state.\n * @param {Object} state.auth - The authentication state.\n * @returns {Object} The mapped props.\n */\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\n/**\n * Maps the dispatch function to the component props.\n *\n * @param {Function} dispatch - The Redux dispatch function.\n * @returns {Object} The mapped props with action creators.\n */\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AuthResource);\n","import AuthResource from './AuthResource';\n\nexport default AuthResource;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport AuthResource from 'components/AuthResource';\n\nconst FilterSection = ({\n filterActionTitle,\n tableTitle,\n tableFilters,\n onClickTableAction,\n tableActionPopup,\n additionalActions,\n searchAction,\n tableSearch,\n filterActionPermission,\n}) => (\n
    \n {tableTitle ?

    {tableTitle}

    : null}\n
    \n {tableSearch && tableSearch}\n {searchAction && searchAction}\n {tableFilters && tableFilters}\n {tableActionPopup && tableActionPopup}\n {additionalActions && additionalActions()}\n {filterActionTitle ? (\n \n \n {filterActionTitle}\n
    \n \n ) : null}\n
    \n
    \n);\n\nFilterSection.propTypes = {\n additionalActions: PropTypes.node,\n tableSearch: PropTypes.node,\n filterActionTitle: PropTypes.string,\n onClickTableAction: PropTypes.func,\n tableActionPopup: PropTypes.node,\n tableFilters: PropTypes.node,\n tableTitle: PropTypes.string,\n searchAction: PropTypes.node,\n filterActionPermission: PropTypes.string,\n};\n\nexport default FilterSection;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Components\nimport Table from './Table';\nimport FilterSection from './FiltersSection';\n\nconst Cell = ({ cell, userActions, data }) => {\n // console.log(data,cell, \"data inside cell\");\n if (cell.column.id.startsWith('action')){\n return <>{data ? userActions(data, cell) : '-'};\n } else if (\n cell.column.header === 'Status' ||\n cell.column.header.includes('status')\n ) \n {\n if (cell.value && cell.value !== '-') {\n return (\n \n {cell.value || '-'}\n
    \n );\n }\n return (\n \n -\n \n );\n }\n else if (cell.column.id === 'label' || cell.column.id === 'clientLabel') {\n return (\n \n {cell.value || '-'}\n \n );\n } \n else if (cell.column.id === 'value') {\n return (\n \n {cell.value || '-'}\n \n );\n }\n return (\n \n {cell.value || cell.value === 0 ? cell.render('Cell') : '-'}\n \n );\n};\n\nCell.propTypes = {\n cell: PropTypes.object,\n userActions: PropTypes.func,\n data: PropTypes.object,\n};\n\nconst TableWrap = ({\n columns,\n isFiltersEnable,\n isPaginationEnable,\n filterActionTitle,\n filterActionPermission,\n tableTitle,\n userActions,\n tableFilters,\n tableSearch,\n onClickTableAction,\n tableActionPopup,\n pageSizeOptions,\n paginationLabel,\n fetchData,\n data,\n loading,\n roleStatus,\n pageCount,\n pagePerView,\n additionalActions,\n tableSubSection,\n searchAction,\n error,\n isResetPage,\n afterResetPage,\n filterData,\n tableHead,\n id,\n tableSummary,\n isPGRepoTab,\n tableCard,\n}) => (\n \n \n }\n tableSubSection={tableSubSection}\n tableCell={(cell, userActions, row) => (\n \n )}\n tableHead={tableHead}\n isFiltersEnable={isFiltersEnable}\n isPaginationEnable={\n isPaginationEnable && data && data.length > 0 && !error\n }\n pageSizeOptions={pageSizeOptions}\n paginationLabel={paginationLabel}\n roleStatus={roleStatus}\n columns={columns}\n data={data}\n fetchData={fetchData}\n loading={loading}\n pageCount={pageCount}\n userActions={userActions}\n pagePerView={pagePerView}\n error={error}\n isResetPage={isResetPage}\n afterResetPage={afterResetPage}\n filterData={filterData}\n tableSummary={tableSummary}\n tableTitle={tableTitle}\n isPGRepoTab={isPGRepoTab}\n tableCard={tableCard}\n />\n \n);\n\nTableWrap.propTypes = {\n additionalActions: PropTypes.node,\n searchAction: PropTypes.node,\n columns: PropTypes.array,\n data: PropTypes.array,\n fetchData: PropTypes.func,\n filterActionTitle: PropTypes.string,\n isFiltersEnable: PropTypes.bool,\n isPaginationEnable: PropTypes.bool,\n loading: PropTypes.bool,\n numberOfRecord: PropTypes.number,\n onClickTableAction: PropTypes.func,\n pageCount: PropTypes.number,\n pagePerView: PropTypes.number,\n pageSizeOptions: PropTypes.array,\n paginationLabel: PropTypes.string,\n roleStatus: PropTypes.string,\n setRoleStatus: PropTypes.func,\n tableActionPopup: PropTypes.node,\n tableFilters: PropTypes.node,\n tableSummary: PropTypes.node,\n tableSearch: PropTypes.node,\n tableSubSection: PropTypes.node,\n tableTitle: PropTypes.string,\n userActions: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n error: PropTypes.string,\n isResetPage: PropTypes.object,\n afterResetPage: PropTypes.func,\n filterData: PropTypes.object,\n tableHead: PropTypes.node,\n id: PropTypes.string,\n filterActionPermission: PropTypes.string,\n};\n\nTableWrap.defaultProps = {\n isFiltersEnable: false,\n isPaginationEnable: false,\n pagePerView: 5,\n};\n\nexport default TableWrap;\n","import TableWrap from './TableWrap';\n\nexport default TableWrap;\n","/* eslint-disable no-nested-ternary */\n/* eslint-disable function-paren-newline */\n// Assets\nimport cross from '../../static/images/remove.png';\n\n// Libraries\nimport React, { cloneElement } from 'react';\nimport PropTypes from 'prop-types';\nimport { createPortal } from 'react-dom';\n\n// Components\nimport { Overlay } from '..';\n\n// Styles\nimport './popup.scss';\n\nconst Portal = ({ children }) =>\n createPortal(children, document.getElementById('modal-root'));\n\nconst Popup = props => {\n const {\n title,\n showCloseIcon,\n showOverlay,\n showFilter,\n closePopup,\n children,\n type,\n } = props;\n const childrenWithProps = React.Children.map(children, child =>\n cloneElement(child, { ...props })\n );\n return (\n \n {showFilter ? (\n
    \n {showOverlay ? : null}\n \n
    \n

    {title}

    \n \n \n \n
    \n
    \n {childrenWithProps}\n
    \n
    \n
    \n ) : null}\n \n );\n};\n\nPopup.propTypes = {\n children: PropTypes.node,\n closePopup: PropTypes.func,\n showCloseIcon: PropTypes.bool,\n showFilter: PropTypes.bool,\n showOverlay: PropTypes.bool,\n title: PropTypes.string,\n type: PropTypes.string,\n};\n\nexport default Popup;\n","import Popup from './Popup';\n\nexport default Popup;\n","// Libraries\nimport React from 'react';\nimport ReactModal from 'react-modal';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './modal.scss';\n\nconst customStyles = {\n content: {\n background: '#fff',\n },\n};\nlet portalRoot = document.getElementById('modal-root');\nif (!portalRoot) {\n portalRoot = document.createElement('div');\n portalRoot.setAttribute('id', 'modal-root');\n document.body.appendChild(portalRoot);\n}\nReactModal.setAppElement('#modal-root');\n\nconst Modal = props => {\n const {\n children,\n setOverlayRef,\n setContentRef,\n modalId,\n contentLabel,\n ariaDescription,\n ariaLabel,\n handleAfterOpen,\n handleAfterClose,\n showCloseButton,\n closeTimeoutMS,\n shouldCloseOnOverlayClick,\n shouldCloseOnEsc,\n shouldReturnFocusAfterClose,\n shouldFocusAfterRender,\n modalIsOpen,\n closeModal,\n customWrapperClass = '',\n } = props;\n\n return (\n
    \n
    \n );\n};\n\nModal.propTypes = {\n ariaDescription: PropTypes.string,\n ariaLabel: PropTypes.string,\n children: PropTypes.node.isRequired,\n closeTimeoutMS: PropTypes.number,\n contentLabel: PropTypes.string,\n handleAfterClose: PropTypes.func,\n handleAfterOpen: PropTypes.func,\n modalButton: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n modalId: PropTypes.string,\n setContentRef: PropTypes.func,\n setOverlayRef: PropTypes.func,\n shouldCloseOnEsc: PropTypes.bool,\n shouldCloseOnOverlayClick: PropTypes.bool,\n shouldFocusAfterRender: PropTypes.bool,\n shouldReturnFocusAfterClose: PropTypes.bool,\n modalIsOpen: PropTypes.bool,\n closeModal: PropTypes.func,\n primaryButtonText: PropTypes.string,\n secondaryButtonText: PropTypes.string,\n showCloseButton: PropTypes.bool,\n showActions: PropTypes.bool,\n onSuccessModal: PropTypes.func,\n customWrapperClass: PropTypes.string,\n};\n\nModal.defaultProps = {\n closeTimeoutMS: 0,\n shouldCloseOnEsc: true,\n shouldCloseOnOverlayClick: true,\n shouldFocusAfterRender: true,\n shouldReturnFocusAfterClose: true,\n};\n\nexport default Modal;\n","import Modal from './Modal';\n\nexport default Modal;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './overlay.scss';\n\nconst Overlay = ({ closeFilter, isTransparent }) => (\n \n);\n\nOverlay.propTypes = {\n closeFilter: PropTypes.func,\n isTransparent: PropTypes.bool,\n};\n\nexport default Overlay;\n","import Overlay from './Overlay';\n\nexport default Overlay;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport { getId } from '../../utils/helperMethods';\nimport './timeline.scss';\n\nconst Timeline = ({ onboardingProcess, isCreate }) => {\n console.log(\"timeLine onboardingProcess--->\", onboardingProcess);\n return(\n <>\n
      \n {onboardingProcess.map(merchantOnboard => {\n // console.log(\"inisde TimeLine --> onBoarding\", onboardingProcess );\n return(\n \n {merchantOnboard.status !== 'Complete' &&\n merchantOnboard.status !== 'Open' ? (\n

      {merchantOnboard.name}

      \n ) : (\n \n

      {merchantOnboard.name}

      \n \n )}\n \n )\n })}\n
    \n \n )\n};\n\nTimeline.propTypes = {\n isCreate: PropTypes.bool,\n onboardingProcess: PropTypes.array.isRequired,\n};\n\nexport default Timeline;\n","import Timeline from './Timeline';\n\nexport default Timeline;\n","const SHOW_LOADER = 'SHOW_LOADER';\nconst HIDE_LOADER = 'HIDE_LOADER';\n\nexport { SHOW_LOADER, HIDE_LOADER };\n","import { SHOW_LOADER, HIDE_LOADER } from './loader.constants';\n\nexport const showLoader = () => ({ type: SHOW_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_LOADER });\n","/* eslint-disable */\n// Importing common helper methods\nimport _ from 'lodash';\nimport { isLuhnNumber, NUMERIC } from './helperMethods';\n\nconst {\n zero,\n one,\n three,\n four,\n ten,\n forty,\n hundred,\n six,\n fourteen,\n nineteen,\n} = NUMERIC;\n\nconst hexCodeRegex = /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/;\n\nexport const validators = {\n /**\n * Method used with two different cases. First if we use this method with redux form then it passes the different props and if we use this method with custom methods then it passes the different props.\n *\n * @param {String} value - Value of an input element\n * @param {String | Object} name - If we are using this method with redux form it pass an object which is all values of redux form and if we are using this method with custom method it will pass a string which is name of an input field\n * @param {String | Object} type - If we are using this method with redux form it pass an object which is all props of redux form and if we are using this method with custom method we are passing type of an input element which is input or select i.e: String.\n * @param {String} fieldName - Passing the name of Redux Form Field element\n * @param {String} customInputName - Passing the custom name for Redux Form Field element\n * @returns {String | Undefined} - Return the error message which is String or an undefined\n */\n REQUIRED: (value, name = '', type = 'input', customInputName = '') => {\n const val = value || typeof value === 'number';\n if (typeof type === 'object') {\n return val ? false : true;\n }\n if (typeof type === 'Array') {\n return val.length > 0 ? false : true;\n }\n return val\n ? undefined\n : type === 'input'\n ? `Please Enter ${name}`\n : `Please Select ${name}`;\n },\n\n REQUIRE: value => {\n return _.isEmpty(value) ? true : false;\n },\n\n EMAIL: value => {\n if (value && !/^[A-Za-z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/.test(value)) {\n return 'Invalid email address';\n } else if (value && value.length > 64) {\n return 'Email cannot be more than 64 characters';\n } else {\n return undefined;\n }\n },\n \n PHONE_NUMBER: value =>\n value && !/^[6-9]\\d{9}$/i.test(value)\n ? 'Invalid phone number, must be 10 digits'\n : undefined,\n\n MAX_LENGTH: (value, maxLength) =>\n value && value.length > maxLength\n ? `Must be ${maxLength} characters or less`\n : undefined,\n\n MIN_LENGTH: (value, minLength) =>\n value && value.length < minLength\n ? `Must be ${minLength} characters or more`\n : undefined,\n\n MIN_MAX_LENGTH: (value, minLength, maxLength) =>\n value && value.length >= minLength && value.length <= maxLength\n ? undefined\n : `Must be ${minLength} to ${maxLength} characters long`,\n\n EXACT_LENGTH: (value, exactLength) =>\n value && value.length !== exactLength\n ? `Must be ${exactLength} characters`\n : undefined,\n\n GREATER_THAN_EQUAL_TO: (value, num) =>\n value && value < num\n ? `Must be greater than or equal to ${num}`\n : undefined,\n\n LESS_THAN_EQUAL_TO: num => value =>\n value && value > num\n ? `Must be less than or equal to ${num}`\n : undefined,\n\n NUMBER_IN_BETWEEN: (value, lowerLimit, upperLimit) =>\n value && value >= lowerLimit && value <= upperLimit\n ? undefined\n : `Must be between ${lowerLimit} to ${upperLimit}`,\n POSITIVE_NUMBER: value =>\n value && value > 0 ? undefined : `Must be greater than 0`,\n\n NUMERIC: value =>\n value && isNaN(Number(value)) ? 'Must be a number' : undefined,\n\n ALPHA_NUMERIC: value =>\n value && /[^a-zA-Z0-9 ]/i.test(value)\n ? 'Only alphanumeric characters'\n : undefined,\n\n ATLEAST_ONE_NUMBER: value =>\n value && /\\d{1}/i.test(value)\n ? undefined\n : 'At least one number should be entered',\n\n ATLEAST_ONE_ALPHABET: value =>\n value && /[A-Z]{1}/i.test(value)\n ? undefined\n : 'At least one alphabet should be entered',\n\n PHONE_NUMBER_OR_EMAIL: value =>\n value && validators.PHONE_NUMBER(value) && validators.EMAIL(value)\n ? 'Enter a valid email or phone number'\n : undefined,\n\n CURRENT_PASSWORD: value =>\n value &&\n (validators.MIN_LENGTH(value, six) ||\n validators.MAX_LENGTH(value, forty))\n ? 'Password should be between 6 and 40 characters'\n : undefined,\n\n NEW_PASSWORD: value =>\n value &&\n (validators.MIN_LENGTH(value, six) ||\n validators.MAX_LENGTH(value, forty) ||\n validators.ATLEAST_ONE_ALPHABET(value) ||\n validators.ATLEAST_ONE_NUMBER(value))\n ? 'Password should be atleast 6 characters long, with one alphabet and one number'\n : undefined,\n\n EXPIRY_DATE: value => {\n const splitValues = _.split(value, '/');\n const month = splitValues[zero];\n const year = splitValues[one];\n const currrentDate = new Date();\n const currentMonth = currrentDate.getMonth();\n const currentYearInYY = currrentDate.getFullYear() % hundred;\n const monthList = [\n '01',\n '02',\n '03',\n '04',\n '05',\n '06',\n '07',\n '08',\n '09',\n '10',\n '11',\n '12',\n ];\n\n if (value) {\n return monthList.indexOf(month) > -one &&\n ((parseInt(year, ten) === currentYearInYY &&\n parseInt(month, ten) >= currentMonth + one) ||\n parseInt(year, ten) > currentYearInYY)\n ? undefined\n : 'Invalid expiry date';\n }\n },\n\n CVV: value =>\n value && validators.MIN_MAX_LENGTH(value, three, four)\n ? 'Invalid CVV'\n : undefined,\n\n CREDIT_CARD_NUMBER: (value, isSeparatorIncluded, separatorSymbol) => {\n if (value && isSeparatorIncluded) {\n value = _.split(value, separatorSymbol).join('');\n }\n const isCardLengthValid = validators.MIN_MAX_LENGTH(\n value,\n fourteen,\n nineteen\n )\n ? false\n : true;\n return value && isCardLengthValid && isLuhnNumber(parseInt(value, ten))\n ? undefined\n : 'Invalid card number';\n },\n\n IS_CREDIT_CARD_NUMBER_BLOCKED: (value, blockedBinPrefixesList) =>\n value && !_.includes(blockedBinPrefixesList, parseInt(value, ten))\n ? undefined\n : 'Invalid card number',\n\n INTEGER: value =>\n value && /^[0-9]+$/i.test(value) ? undefined : 'Must be an integer',\n\n URL: value =>\n value &&\n /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/.test(\n value\n )\n ? undefined\n : 'Must be an valid url',\n\n IS_VALID_HEX_CODE: value =>\n !value || hexCodeRegex.test(value)\n ? undefined\n : 'Please Enter Valid Hex Code',\n};\n\nexport const checkNumberList = values => {\n const { PHONE_NUMBER } = validators;\n const data = values && JSON.parse(values);\n if (data && data.length) {\n const formatValues = data.some(item => PHONE_NUMBER(item.value));\n return formatValues;\n }\n return false;\n};\n\nexport const checkEmailList = values => {\n const { EMAIL } = validators;\n const data = values && JSON.parse(values);\n if (data && data.length) {\n const formatValues = data.some(item => EMAIL(item.value));\n return formatValues;\n }\n return false;\n};\n\nexport const VALIDATOR_ERROR_MESSAGES = {\n empty: '',\n required: (label) => `Please enter ${label} `,\n panLen: \"Please enter 10 digit PAN Number. \",\n numbericType: \"Only Numeric Values are accepted. \",\n aadhaarDigits: \"\",\n pinCodeLen: \"Pin code must be exactly 6 digits long. \",\n emailValid: \"Please enter valid email Id. \",\n mobileLen: \"lease enter valid 10 digit mobile number. \",\n panValid: \"Please enter valid PAN. \",\n gstValid: \"Please enter valid gst number. \",\n aadhaarValid: \"Please enter valid aadhaar number. \",\n}\n\nexport const AADHAR_PATTERN = /^[0-9]{12}$/;\nexport const GST_PATTERN = /^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$/;\nexport const PAN_PATTERN = /^[A-Z]{5}[0-9]{4}[A-Z]$/;\n\nfunction validateData(data, regex) {\n return regex.test(data);\n}\n\nexport const panValidation = (fieldData) => {\n let errors = VALIDATOR_ERROR_MESSAGES.empty;\n if (!validateData(fieldData, PAN_PATTERN)) {\n errors += VALIDATOR_ERROR_MESSAGES.panValid;\n }\n \n return !errors;\n}\n\nexport const gstValidation = (fieldData) => {\n let errors = VALIDATOR_ERROR_MESSAGES.empty;\n \n if (!validateData(fieldData, GST_PATTERN)) {\n errors += VALIDATOR_ERROR_MESSAGES.gstValid;\n }\n \n return !errors;\n}\n\nexport const aadhaarValidation = (fieldData) => {\n let errors = VALIDATOR_ERROR_MESSAGES.empty;\n \n if (!validateData(fieldData, AADHAR_PATTERN)) {\n errors += VALIDATOR_ERROR_MESSAGES.aadhaarValid;\n }\n \n return !errors;\n}\n\nconst maxLength = max => value =>\n value && value.length > max\n ? `Must be ${max} characters or less`\n : undefined;\n\nconst minLength = min => value =>\n value && value.length <= min\n ? `Must be ${min} characters or more`\n : undefined;\n\nconst minValue = min => value =>\n value && value < min ? `Must be at least ${min}` : undefined;\n\nexport const fieldLevelValidators = {\n required: value => (value ? undefined : 'This Field is Required. '),\n number: value =>\n value && isNaN(Number(value)) ? 'Must be a number. ' : undefined,\n numeric: value =>\n value && isNaN(Number(value)) ? 'Must be Numeric. ' : undefined,\n maxLength30: maxLength(30),\n maxLength10: maxLength(10),\n minLength5: minLength(5),\n minLength10: minLength(10),\n minValue0: minValue(0),\n length10: value =>\n value && value.length !== 10 ? 'Length Must be equal to 10. ' : undefined,\n mobileNumber: value =>\n value && !/^[5-9]\\d{9}$/.test(value)\n ? 'Invalid Mobile Number. '\n : undefined,\n\n containsNumber: value => \n value && !(/\\d/.test(value))\n ? 'Invalid no numeric value found'\n : undefined,\n alphanumeric: value =>\n value && !/^[a-zA-Z0-9]+$/.test(value)\n ? 'Invalid Characters. '\n : undefined,\n alpha: value =>\n value && !/^[a-zA-Z]+$/.test(value)\n ? 'Invalid Characters. '\n : undefined,\n alphaWithSpace : value =>\n value && !/^[a-zA-Z ]+$/.test(value)\n ? 'Invalid Characters. '\n : undefined,\n alphanumericWithSpace: value =>\n value && !/^[a-zA-Z0-9 ]+$/.test(value)\n ? 'Invalid Characters. '\n : undefined,\n capitalNumericWithoutSpace: value =>\n value && !/^[A-Z0-9]+$/.test(value) ? 'Invalid Characters. ' : undefined,\n email: value =>\n value && !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(value)\n ? 'Invalid email address. '\n : undefined,\n pan: val =>\n val && panValidation(val) \n ? undefined\n : VALIDATOR_ERROR_MESSAGES.panValid,\n gst: val =>\n val && gstValidation(val) \n ? undefined\n : VALIDATOR_ERROR_MESSAGES.gstValid,\n aadhar: val =>\n val && aadhaarValidation(val) \n ? undefined\n : VALIDATOR_ERROR_MESSAGES.aadhaarValid,\n pin: val =>\n val && val?.toString()?.length === 6\n ? undefined\n : VALIDATOR_ERROR_MESSAGES.pinCodeLen\n\n};\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRE } = validators;\n const errors = {};\n if (REQUIRE(values)) {\n errors.form = 'Please enter Values first';\n errors.createdOn = 'Please enter Values first';\n }\n if (values.createdOn) {\n if (\n REQUIRE(values.createdOn.endDate) ||\n REQUIRE(values.createdOn.startDate)\n ) {\n errors.form = 'Please enter both dates';\n errors.createdOn = 'Please enter both dates';\n }\n }\n if (values.createdBy) {\n if (values.createdBy.length < 3) {\n errors.createdBy = 'Please enter at least 3 characters.';\n }\n }\n if (values.role) {\n if (values.role.length < 3) {\n errors.role = 'Please enter at least 3 characters.';\n }\n }\n if (values.time) {\n if (REQUIRE(values.time.startTime) || REQUIRE(values.time.endTime)) {\n errors.form = 'Please enter both start and end time';\n errors.time = 'Please enter both start and end time';\n }\n if (\n !values.createdOn ||\n REQUIRE(values.createdOn.endDate) ||\n REQUIRE(values.createdOn.startDate)\n ) {\n errors.form = 'Please enter both dates';\n errors.createdOn = 'Please enter both dates';\n }\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport filter from '../../static/images/filter.png';\nimport { isValuesEmpty } from '../../utils/helperMethods';\nimport validate from './validator';\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport styled from 'styled-components';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { components } from 'react-select';\nimport { MultiSelect } from \"react-multi-select-component\";\n\n// Actions\n\n// Assets\n\n// Validator\nimport { FormElems, Overlay, DatePicker, TimePicker, TermPicker, CustomSelect } from '..';\n\n// Components\n\n// Styles\nimport './tableFilter.scss';\n\nconst renderDateInput = field => ;\n\nconst renderTimeInput = field => ;\n\n\nconst FormField = props => {\n const {\n field,\n startDate,\n endDate,\n focusedInput,\n setStartDate,\n setEndDate,\n setFocusedInput,\n startTime,\n endTime,\n setStarTime,\n setEndTime,\n maximumNights\n } = props;\n if (field.fieldType === 'date') {\n return (\n {\n setStartDate(startDate);\n }}\n onSetEndDate={endDate => {\n setEndDate(endDate);\n }}\n onFocusedInput={focusedInput => {\n setFocusedInput(focusedInput);\n }}\n component={renderDateInput}\n maximumNights={maximumNights}\n />\n );\n } else if (field.fieldType === 'select') {\n return (\n \n );\n } else if (field.fieldType === 'radio') {\n return (\n \n );\n } else if (field.fieldType === 'month-picker') {\n return (\n \n );\n } else if (field.fieldType === 'checkbox') {\n return (\n \n );\n } else if (field.fieldType === 'time') {\n return (\n \n );\n } else if (field.fieldType === 'parallel-input') {\n return (\n
    \n
    \n \n
    \n\n
    \n \n
    \n
    \n );\n } else if (field.fieldType === 'search-select') {\n return (\n \n );\n } else if(field.fieldType === 'multi-select') {\n return (\n \n )\n } else if(field.fieldType === 'multi-select-with-search') {\n return (\n \n )\n } else if(field.fieldType === 'parallel-multi-select') {\n return (\n
    \n
    \n \n
    \n\n
    \n \n
    \n
    \n );\n }\n return (\n \n );\n};\n\nFormField.propTypes = {\n endDate: PropTypes.string,\n field: PropTypes.object,\n focusedInput: PropTypes.string,\n setEndDate: PropTypes.func,\n setFocusedInput: PropTypes.func,\n setStartDate: PropTypes.func,\n startDate: PropTypes.string,\n startTime: PropTypes.string,\n endTime: PropTypes.string,\n setStarTime: PropTypes.func,\n setEndTime: PropTypes.func,\n};\n\nconst ErrorWrapper = styled.div`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n`;\nconst TableFilter = ({\n fieldsList,\n handleSubmit,\n showOverlay,\n onSubmit,\n customFilterClass,\n pristine,\n reset,\n onReset,\n submitting,\n formData,\n dirty,\n invalid,\n change,\n isResetFilterOnLoad,\n maximumNights,\n}) => {\n const dateField = fieldsList.find(field => field.fieldType === 'date');\n const dateProps = dateField?.props || {};\n const startDateDefault = dateProps.startDate || null;\n const endDateDefault = dateProps.endDate || null;\n const notResetDate = dateProps.notResetDate;\n\n const [showFilter, setShowFilter] = useState(false);\n const [startDate, setStartDate] = useState(startDateDefault);\n const [endDate, setEndDate] = useState(endDateDefault);\n const [focusedInput, setFocusedInput] = useState(null);\n\n // Start Time States\n const [startTime, setStarTime] = useState(null);\n const [endTime, setEndTime] = useState(null);\n\n const closeFilter = () => {\n // If user clicks outside the element, hide it!\n setShowFilter(false);\n };\n\n useEffect(() => {\n if (endDateDefault && startDateDefault) {\n const defaultDate = {\n createdOn: {\n startDate: startDateDefault,\n endDate: endDateDefault,\n },\n };\n change('createdOn', defaultDate.createdOn);\n onSubmit(defaultDate);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [endDateDefault, startDateDefault]);\n\n const handleFilterClick = () => {\n setShowFilter(prevState => !prevState);\n };\n\n const handleFormSubmit = values => {\n console.log(values, \"VALUES_VALUES\");\n onSubmit(values);\n closeFilter();\n };\n\n const resetFilter = () => {\n reset();\n if (endDateDefault && startDateDefault && notResetDate) {\n const defaultDate = {\n createdOn: {\n startDate: startDateDefault,\n endDate: endDateDefault,\n },\n };\n change('createdOn', defaultDate.createdOn);\n setStartDate(startDateDefault);\n setEndDate(endDateDefault);\n onReset &&\n onReset({\n createdOn: defaultDate.createdOn,\n });\n } else {\n onReset && onReset({});\n }\n };\n\n useEffect(() => {\n if (isResetFilterOnLoad) {\n resetFilter();\n }\n return () => {\n resetFilter();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isResetFilterOnLoad]);\n\n const handleReset = () => {\n if (!notResetDate) {\n setStartDate(null);\n setEndDate(null);\n setStarTime(null);\n setEndTime(null);\n }\n resetFilter();\n closeFilter();\n };\n\n return (\n
    \n \n \"Close\n \n {showFilter ? (\n <>\n {showOverlay ? (\n \n ) : null}\n
    \n \n {fieldsList.map(field => (\n <>\n \n

    \n {field.label}\n

    \n \n
    \n {field.fieldType === 'date'\n ? dirty &&\n formData &&\n formData.syncErrors && (\n \n {formData &&\n formData.syncErrors &&\n formData.syncErrors.form}\n \n )\n : null}\n \n ))}\n
    \n \n \n
    \n \n
    \n \n ) : null}\n \n );\n};\n\nTableFilter.propTypes = {\n customFilterClass: PropTypes.string,\n fieldsList: PropTypes.array,\n handleSubmit: PropTypes.func,\n onReset: PropTypes.func,\n onSubmit: PropTypes.func,\n change: PropTypes.func,\n showOverlay: PropTypes.bool,\n pristine: PropTypes.bool,\n reset: PropTypes.func,\n submitting: PropTypes.bool,\n dirty: PropTypes.bool,\n invalid: PropTypes.bool,\n formData: PropTypes.object,\n isResetFilterOnLoad: PropTypes.bool,\n};\n\nconst mapStateToProps = ({ auth, form }) => ({\n auth,\n formData: form['table-filter'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'table-filter',\n destroyOnUnmount: false,\n enableReinitialize: true,\n keepDirtyOnReinitialize: true,\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(TableFilter);\n","import TableFilter from './TableFilters';\n\nexport default TableFilter;\n","const FETCH_USER_REQUEST = 'FETCH_USER_REQUEST';\nconst FETCH_USER_SUCCESS = 'FETCH_USER_SUCCESS';\nconst FETCH_USER_ERROR = 'FETCH_USER_ERROR';\nconst SHOW_USER_LOADER = 'SHOW_USER_LOADER';\nconst HIDE_USER_LOADER = 'HIDE_USER_LOADER';\nconst CREATE_USER_REQUEST = 'CREATE_USER_REQUEST';\nconst CREATE_USER_SUCCESS = 'CREATE_USER_SUCCESS';\nconst CREATE_USER_ERROR = 'CREATE_USER_ERROR';\nconst CREATE_ADMIN_USER_REQUEST = 'CREATE_ADMIN_USER_REQUEST';\nconst CREATE_ADMIN_USER_SUCCESS = 'CREATE_ADMIN_USER_SUCCESS';\nconst CREATE_ADMIN_USER_ERROR = 'CREATE_ADMIN_USER_ERROR';\nconst CREATE_USER_RESET = 'CREATE_USER_RESET';\nconst UPDATE_USER_RESET = 'UPDATE_USER_RESET';\nconst GET_USER_ROLES_REQUEST = 'GET_USER_ROLES_REQUEST';\nconst GET_USER_ROLES_SUCCESS = 'GET_USER_ROLES_SUCCESS';\nconst GET_USER_ROLES_ERROR = 'GET_USER_ROLES_ERROR';\nconst FETCH_ENTITY_LIST_REQUEST = 'FETCH_ENTITY_LIST_REQUEST';\nconst FETCH_ENTITY_LIST_SUCCESS = 'FETCH_ENTITY_LIST_SUCCESS';\nconst FETCH_ENTITY_LIST_ERROR = 'FETCH_ENTITY_LIST_ERROR';\nconst UPDATE_USER_REQUEST = 'UPDATE_USER_REQUEST';\nconst UPDATE_USER_SUCCESS = 'UPDATE_USER_SUCCESS';\nconst UPDATE_USER_ERROR = 'UPDATE_USER_ERROR';\nconst UPDATE_ADMIN_USER_REQUEST = 'UPDATE_ADMIN_USER_REQUEST';\nconst UPDATE_ADMIN_USER_SUCCESS = 'UPDATE_ADMIN_USER_SUCCESS';\nconst UPDATE_ADMIN_USER_ERROR = 'UPDATE_ADMIN_USER_ERROR';\nconst FETCH_USER_MAKER_REQUEST = 'FETCH_USER_MAKER_REQUEST';\nconst FETCH_USER_MAKERS_SUCCESS = 'FETCH_USER_MAKERS_SUCCESS';\nconst FETCH_USER_MAKERS_ERROR = 'FETCH_USER_MAKERS_ERROR';\n\nconst FETCH_SYSTEM_USERS_REQUEST = 'FETCH_SYSTEM_USERS_REQUEST';\nconst FETCH_SYSTEM_USERS_SUCCESS = 'FETCH_SYSTEM_USERS_SUCCESS';\nconst FETCH_SYSTEM_USERS_ERROR = 'FETCH_SYSTEM_USERS_ERROR';\n\nexport {\n FETCH_SYSTEM_USERS_REQUEST,\n FETCH_SYSTEM_USERS_SUCCESS,\n FETCH_SYSTEM_USERS_ERROR,\n FETCH_USER_REQUEST,\n FETCH_USER_SUCCESS,\n FETCH_USER_ERROR,\n FETCH_USER_MAKER_REQUEST,\n FETCH_USER_MAKERS_SUCCESS,\n FETCH_USER_MAKERS_ERROR,\n HIDE_USER_LOADER,\n SHOW_USER_LOADER,\n CREATE_USER_REQUEST,\n CREATE_USER_SUCCESS,\n CREATE_USER_ERROR,\n CREATE_USER_RESET,\n GET_USER_ROLES_SUCCESS,\n GET_USER_ROLES_REQUEST,\n GET_USER_ROLES_ERROR,\n FETCH_ENTITY_LIST_REQUEST,\n FETCH_ENTITY_LIST_SUCCESS,\n FETCH_ENTITY_LIST_ERROR,\n UPDATE_USER_REQUEST,\n UPDATE_USER_SUCCESS,\n UPDATE_USER_ERROR,\n CREATE_ADMIN_USER_REQUEST,\n CREATE_ADMIN_USER_SUCCESS,\n CREATE_ADMIN_USER_ERROR,\n UPDATE_ADMIN_USER_REQUEST,\n UPDATE_ADMIN_USER_SUCCESS,\n UPDATE_ADMIN_USER_ERROR,\n UPDATE_USER_RESET,\n};\n","import {\n FETCH_USER_REQUEST,\n FETCH_USER_SUCCESS,\n FETCH_USER_ERROR,\n HIDE_USER_LOADER,\n SHOW_USER_LOADER,\n CREATE_USER_REQUEST,\n CREATE_USER_SUCCESS,\n CREATE_USER_ERROR,\n CREATE_USER_RESET,\n GET_USER_ROLES_REQUEST,\n GET_USER_ROLES_SUCCESS,\n GET_USER_ROLES_ERROR,\n FETCH_ENTITY_LIST_REQUEST,\n FETCH_ENTITY_LIST_SUCCESS,\n FETCH_ENTITY_LIST_ERROR,\n UPDATE_USER_REQUEST,\n UPDATE_USER_SUCCESS,\n UPDATE_USER_ERROR,\n CREATE_ADMIN_USER_REQUEST,\n CREATE_ADMIN_USER_SUCCESS,\n CREATE_ADMIN_USER_ERROR,\n UPDATE_ADMIN_USER_REQUEST,\n UPDATE_ADMIN_USER_SUCCESS,\n UPDATE_ADMIN_USER_ERROR,\n UPDATE_USER_RESET,\n FETCH_USER_MAKER_REQUEST,\n FETCH_USER_MAKERS_SUCCESS,\n FETCH_USER_MAKERS_ERROR,\n FETCH_SYSTEM_USERS_REQUEST,\n FETCH_SYSTEM_USERS_SUCCESS,\n FETCH_SYSTEM_USERS_ERROR,\n} from './userManagement.constants';\n\nexport const fetchSystemUsersRequest = payload => ({\n type: FETCH_SYSTEM_USERS_REQUEST,\n payload,\n});\n\nexport const fetchSystemUsersSuccess = payload => ({\n type: FETCH_SYSTEM_USERS_SUCCESS,\n payload,\n});\n\nexport const fetchSystemUsersError = payload => ({\n type: FETCH_SYSTEM_USERS_ERROR,\n payload,\n});\n\n\nexport const fetchUserRequest = payload => ({\n type: FETCH_USER_REQUEST,\n payload,\n});\n\nexport const fetchUserSuccess = payload => ({\n type: FETCH_USER_SUCCESS,\n payload,\n});\n\nexport const fetchUserError = payload => ({\n type: FETCH_USER_ERROR,\n payload,\n});\n\nexport const createUserRequest = payload => ({\n type: CREATE_USER_REQUEST,\n payload,\n});\n\nexport const createUserSuccess = payload => ({\n type: CREATE_USER_SUCCESS,\n payload,\n});\n\nexport const createUserError = payload => ({\n type: CREATE_USER_ERROR,\n payload,\n});\n\nexport const createUserReset = payload => ({\n type: CREATE_USER_RESET,\n});\n\nexport const updateUserReset = payload => ({\n type: UPDATE_USER_RESET,\n});\n\nexport const getAllRolesRequest = () => ({\n type: GET_USER_ROLES_REQUEST,\n});\n\nexport const getAllRolesSuccess = payload => ({\n type: GET_USER_ROLES_SUCCESS,\n payload,\n});\n\nexport const getAllRolesError = payload => ({\n type: GET_USER_ROLES_ERROR,\n payload,\n});\n\nexport const fetchEntityRequest = payload => ({\n type: FETCH_ENTITY_LIST_REQUEST,\n payload,\n});\n\nexport const fetchEntitySuccess = payload => ({\n type: FETCH_ENTITY_LIST_SUCCESS,\n payload,\n});\n\nexport const fetchEntityError = payload => ({\n type: FETCH_ENTITY_LIST_ERROR,\n payload,\n});\n\nexport const updateUserRequest = payload => ({\n type: UPDATE_USER_REQUEST,\n payload,\n});\n\nexport const updateUserSuccess = payload => ({\n type: UPDATE_USER_SUCCESS,\n payload,\n});\n\nexport const updateUserError = payload => ({\n type: UPDATE_USER_ERROR,\n payload,\n});\n\nexport const createAdminUserRequest = payload => ({\n type: CREATE_ADMIN_USER_REQUEST,\n payload,\n});\n\nexport const createAdminUserSuccess = payload => ({\n type: CREATE_ADMIN_USER_SUCCESS,\n payload,\n});\n\nexport const createAdminUserError = payload => ({\n type: CREATE_ADMIN_USER_ERROR,\n payload,\n});\n\nexport const updateAdminUserRequest = payload => ({\n type: UPDATE_ADMIN_USER_REQUEST,\n payload,\n});\n\nexport const updateAdminUserSuccess = payload => ({\n type: UPDATE_ADMIN_USER_SUCCESS,\n payload,\n});\n\nexport const updateAdminUserError = payload => ({\n type: UPDATE_ADMIN_USER_ERROR,\n payload,\n});\n\nexport const getUserMakersDetailsRequest = payload => ({\n type: FETCH_USER_MAKER_REQUEST,\n payload,\n});\n\nexport const getUserMakersDetailsSuccess = payload => ({\n type: FETCH_USER_MAKERS_SUCCESS,\n payload,\n});\n\nexport const getUserMakersDetailsError = payload => ({\n type: FETCH_USER_MAKERS_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_USER_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_USER_LOADER });\n","export const ERROR_MESSAGES = {\n CREATE_SESSION: 'Oops! Something went wrong. Please come back later.',\n LOGIN: 'Oops! Error logging in. Please try again later.',\n LOGOUT: 'Oops! Something went wrong. Please try again later.',\n SESSION_TIME_OUT: 'Session timed out. Please login.',\n FORGOT_PASSWORD: 'Oops! Something went wrong. Please try again later.',\n RESET_PASSWORD: 'Oops! Something went wrong. Please try again later.',\n MARK_USER_ACTIVE: 'Oops! Something went wrong. Please try again later.',\n ONLY_CSV_FILE: 'Oops ! Only CSV files are allowed for upload.',\n FALLBACK_ERROR: 'Oops! Something went wrong. Please try again later.',\n PLEASE_ENTER_EMAIL_ID: 'Please Enter Atleast one emailId',\n ONLY_IMAGE_FILE: 'Oops! Only Image files are allowed for upload.',\n ONLY_CSV_XLSM_XLSX_FILE: 'Oops! Only CSV, XLSX, and XLSM files are allowed for upload.',\n PLEASE_SELECT_BIN_TYPE: 'Please select the bin type.',\n PLEASE_UPLOAD_BIN_FILE: 'Please upload the bin file.',\n OFFLINE_MSG: 'Oops! You are offline. Please reload.'\n};\n\nexport const SUCCESS_MESSAGES = {\n LOGIN_SUCCESS_WELCOME: name => `Welcome back ${name}!`,\n LOGOUT_SUCCESS: 'Successfully logged out.',\n FORGOT_PASSWORD: 'A reset link has been sent to your mail.',\n RESET_PASSWORD: 'Password has been reset successfully.',\n SET_PASSWORD: 'Password has been set successfully.',\n CREATE_ROLE: 'Role created successfully.',\n UPDATE_ROLE: 'Role updated successfully.',\n OTP: 'Otp successfully sent',\n CREATE_ENTITY: name => `${name} successfully created`,\n SAVE_DATA: name => `${name} data successfully saved`,\n UPDATE_DATA: name => `${name} data successfully updated`,\n SHARED_DATA: name => `${name} successfully shared`,\n REMOVED_DATA: name => `${name} data successfully removed`,\n ADD_DATA: name => `${name} data successfully added.`,\n REFUND: name => `${name} amount successfully initiated`,\n IMAGE: name => `${name} successfully updated.`,\n APPLICATION_UPDATED_SUCCESSFULLY: 'Application updated successfully',\n UPDATE_MAKER_REQUEST_SUCCESS: name =>\n `${name} update request added successfully`,\n MANDATE_STATUS_UPDATE_SUCCESS: 'Mandate status updated successfully!',\n MLE_SUCCESS: 'MLE form has been submitted successfully!',\n MLE_UPDATED: 'MLE form has been updated successfully!'\n};\n\nexport const VERIFICATION_MESSAGE = {\n USER_APPROVED: name => `${name} Approved.`,\n USER_REJECTED: name => `${name} REJECTED.`,\n STATUS_UPDATE: 'User status updated.',\n ROLE_STATUS_UPDATE: 'Role status updated.',\n};\n\nexport const USER_MANAGEMENT_MSG = {\n USER_UPDATE: 'User updated',\n USER_CREATE: 'User created',\n};\n\nexport const MERCHANT_ADJUSTMENT_MSG = {\n MERCHANT_ADJUSTMENT_CREATE: 'Merchant adjustment created',\n};\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED, EMAIL } = validators;\n const errors = {};\n if (REQUIRED(values.email)) {\n errors.email = 'Please enter your email address';\n }\n if (EMAIL(values.email)) {\n errors.email = 'Please enter a valid email address';\n }\n if (REQUIRED(values.name)) {\n errors.name = 'Please enter a name';\n }\n if (values.name && values.name.length < 3) {\n errors.name = 'Must be 3 characters or more';\n }\n if (REQUIRED(values.roleId)) {\n errors.roleId = 'Please select a role';\n }\n if (REQUIRED(values.entityType)) {\n errors.entityType = 'Please select a User Level';\n }\n if (REQUIRED(values.entityId)) {\n errors.entityId = 'Please select a Entity';\n }\n if (REQUIRED(values.uLevel)) {\n errors.uLevel = 'Please select user level';\n }\n\n if(values.uLevel && !values.supervisor){\n errors.supervisor = 'Please select a supervisor'\n }\n\n return errors;\n};\n\nexport default validate;\n","// Components\nimport { FormElems, Alert, ConditionalComponent } from '../';\n\n// Actions\nimport {\n createUserRequest,\n fetchEntityRequest,\n createUserError,\n createUserReset,\n updateUserReset,\n createAdminUserRequest,\n fetchSystemUsersRequest,\n} from '../../containers/UserManagement/redux/userManagement.actions';\n\n// Constant\nimport { getUserLevel, nameValueOptions } from '../../utils/helperMethods';\nimport {\n ENTITY_TYPE,\n EXCLUDED_ENTITY_USER_LEVELS,\n MAX_USER_FETCH_COUNT_USER_MANAGEMENT,\n USER_LEVEL_ENUM,\n} from '../../utils/constants/commonValues';\nimport { USER_MANAGEMENT_MSG } from '../../utils/constants/toastMessages';\n\n// Validator\nimport validate from './validator';\n\n// Styles\nimport './createUserForm.scss';\n\n/* eslint-disable indent */\n// Libraries\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport { isEmpty } from 'lodash';\n\n/**\n * CreateUserForm Component\n *\n * @param {Object} props - React component props\n */\n\nconst CreateUserForm = props => {\n const {\n handleSubmit,\n actions,\n closePopup,\n userManagementData,\n formData,\n fetchData,\n change,\n } = props;\n const {\n createUser,\n userRoles,\n entityList,\n systemUserList,\n } = userManagementData;\n\n const entityType =\n formData && formData.values && formData.values.entityType;\n const uLevel = formData && formData.values && formData.values.uLevel;\n\n /* Effect is to fetch entity list */\n useEffect(() => {\n if (entityType && !EXCLUDED_ENTITY_USER_LEVELS.includes(entityType)) {\n actions.fetchEntityRequest({\n entityType,\n });\n } else if (\n entityType &&\n uLevel &&\n EXCLUDED_ENTITY_USER_LEVELS.includes(entityType)\n ) {\n if (uLevel !== 'L3') {\n actions.fetchSystemUsersRequest({\n page: 1,\n resultPerPage: MAX_USER_FETCH_COUNT_USER_MANAGEMENT,\n userFilter: {\n level: uLevel === 'L2' ? 'L3' : 'L2',\n },\n });\n }\n }\n }, [actions, entityType, uLevel]);\n\n const userLevelOption = getUserLevel();\n\n /* Effect is to show the success message and reset redux error */\n useEffect(() => {\n if (createUser.isSuccess) {\n closePopup();\n fetchData({ pageIndex: 1, pageSize: 10 });\n toast.info(USER_MANAGEMENT_MSG.USER_CREATE);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [closePopup, createUser.isSuccess]);\n\n /* Effect to reset the redux values */\n useEffect(() => {\n // reset data\n return () => {\n actions.createUserReset();\n actions.updateUserReset();\n };\n }, [actions]);\n\n const resetForm = () => {\n actions.createUserReset();\n };\n\n /**\n * Method to handle form submit values for create user\n * @param {object} values\n * @returns {null}\n */\n function handleFormSubmit(values) {\n if (values.entityType === 'ADMIN') {\n const request = {\n email: values.email || '',\n name: values.name || '',\n roleId: values.roleId || '',\n level: values.uLevel || null,\n parentUserId: values.supervisor || '',\n };\n actions.createAdminUserRequest(request);\n } else if (values.entityType === 'RM') {\n const request = {\n ...values,\n entityId: values.roleId,\n entityName: values.name,\n level: values.uLevel || null,\n parentUserId: values.supervisor || '',\n };\n actions.createUserRequest(request);\n } else {\n const entityName = entityList.find(\n entity => entity.value === values.entityId\n ).name;\n\n const request = {\n ...values,\n entityName,\n };\n actions.createUserRequest(request);\n }\n }\n\n function resetEntityId() {\n change('entityId', '');\n change('uLevel', '');\n }\n\n useEffect(() => {\n // reset error message on unmount\n return () => {\n actions.createUserError({\n isLoading: false,\n message: '',\n });\n };\n }, [actions]);\n\n return (\n \n
    \n
    \n

    Email ID

    \n \n
    \n
    \n
    \n
    \n

    Name

    \n \n
    \n
    \n

    Role

    \n \n
    \n
    \n
    \n
    \n

    Select User Type

    \n \n
    \n
    \n \n
    \n
    \n

    Select User Level

    \n \n
    \n
    \n \n
    \n
    \n

    Select Supervisor

    \n \n
    \n
    \n \n \n {formData &&\n formData.values &&\n formData.values.entityType &&\n !EXCLUDED_ENTITY_USER_LEVELS.includes(\n formData.values.entityType\n ) ? (\n
    \n
    \n

    \n {ENTITY_TYPE[formData.values.entityType]}\n

    \n \n
    \n
    \n ) : null}\n {createUser.message ? {createUser.message} : null}\n
    \n
    closePopup()}>\n CANCEL\n
    \n
    \n \n
    \n
    \n \n );\n};\n\nconst mapStateToProps = ({ auth, userManagementData, form }) => ({\n auth,\n userManagementData,\n formData: form['create-user'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createUserRequest,\n fetchEntityRequest,\n change,\n createUserError,\n createUserReset,\n updateUserReset,\n createAdminUserRequest,\n fetchSystemUsersRequest,\n },\n dispatch\n ),\n});\n\nCreateUserForm.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n closePopup: PropTypes.func,\n handleSubmit: PropTypes.func,\n userManagementData: PropTypes.object,\n formData: PropTypes.object,\n fetchData: PropTypes.func,\n change: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'create-user',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(CreateUserForm);\n","import CreateUserForm from './CreateUserForm';\n\nexport default CreateUserForm;\n","// Fetch Roles\nexport const FETCH_ROLES_REQUEST = 'FETCH_ROLE_REQUEST';\nexport const FETCH_ROLES_SUCCESS = 'FETCH_ROLE_SUCCESS';\nexport const FETCH_ROLES_ERROR = 'FETCH_ROLE_ERROR';\n\n// Fetching Loader\nexport const SHOW_ROLE_LOADER = 'SHOW_ROLE_LOADER';\nexport const HIDE_ROLE_LOADER = 'HIDE_ROLE_LOADER';\n\n// Create Role\nexport const CREATE_ROLE_REQUEST = 'CREATE_ROLE_REQUEST';\nexport const CREATE_ROLE_SUCCESS = 'CREATE_ROLE_SUCCESS';\nexport const CREATE_ROLE_ERROR = 'CREATE_ROLE_ERROR';\nexport const CREATE_ROLE_RESET = 'CREATE_ROLE_RESET';\n\n// Update Role\nexport const UPDATE_ROLE_REQUEST = 'UPDATE_ROLE_REQUEST';\nexport const UPDATE_ROLE_SUCCESS = 'UPDATE_ROLE_SUCCESS';\nexport const UPDATE_ROLE_ERROR = 'UPDATE_ROLE_ERROR';\nexport const UPDATE_ROLE_RESET = 'UPDATE_ROLE_RESET';\n\n// Get Maker Details\nexport const FETCH_ROLE_MAKERS_REQUEST = 'FETCH_ROLE_MAKERS_REQUEST';\nexport const FETCH_ROLE_MAKERS_SUCCESS = 'FETCH_ROLE_MAKERS_SUCCESS';\nexport const FETCH_ROLE_MAKERS_ERROR = 'FETCH_ROLE_MAKERS_ERROR';\n\n// Fetch All Resource Permission\nexport const FETCH_ALL_RESOURCE_PERMISSIONS_REQUEST =\n 'FETCH_ALL_RESOURCE_PERMISSIONS_REQUEST';\nexport const FETCH_ALL_RESOURCE_PERMISSIONS_SUCCESS =\n 'FETCH_ALL_RESOURCE_PERMISSIONS_SUCCESS';\nexport const FETCH_ALL_RESOURCE_PERMISSIONS_ERROR =\n 'FETCH_ALL_RESOURCE_PERMISSIONS_ERROR';\n","import {\n FETCH_ROLES_REQUEST,\n FETCH_ROLES_SUCCESS,\n FETCH_ROLES_ERROR,\n SHOW_ROLE_LOADER,\n HIDE_ROLE_LOADER,\n CREATE_ROLE_REQUEST,\n CREATE_ROLE_SUCCESS,\n CREATE_ROLE_ERROR,\n CREATE_ROLE_RESET,\n UPDATE_ROLE_REQUEST,\n UPDATE_ROLE_SUCCESS,\n UPDATE_ROLE_ERROR,\n UPDATE_ROLE_RESET,\n FETCH_ALL_RESOURCE_PERMISSIONS_REQUEST,\n FETCH_ALL_RESOURCE_PERMISSIONS_SUCCESS,\n FETCH_ALL_RESOURCE_PERMISSIONS_ERROR,\n FETCH_ROLE_MAKERS_REQUEST,\n FETCH_ROLE_MAKERS_SUCCESS,\n FETCH_ROLE_MAKERS_ERROR,\n} from './roleManagement.constants';\n\n// Fetch Roles\nexport const fetchRolesRequest = payload => ({\n type: FETCH_ROLES_REQUEST,\n payload,\n});\n\nexport const fetchRolesSuccess = payload => ({\n type: FETCH_ROLES_SUCCESS,\n payload,\n});\n\nexport const fetchRolesError = payload => ({\n type: FETCH_ROLES_ERROR,\n payload,\n});\n\n// Create Role\nexport const createRoleRequest = payload => ({\n type: CREATE_ROLE_REQUEST,\n payload,\n});\n\nexport const createRoleSuccess = payload => ({\n type: CREATE_ROLE_SUCCESS,\n payload,\n});\n\nexport const createRoleError = payload => ({\n type: CREATE_ROLE_ERROR,\n payload,\n});\n\nexport const createRoleReset = payload => ({\n type: CREATE_ROLE_RESET,\n});\n\n// Update Role\nexport const updateRoleRequest = payload => ({\n type: UPDATE_ROLE_REQUEST,\n payload,\n});\n\nexport const updateRoleSuccess = payload => ({\n type: UPDATE_ROLE_SUCCESS,\n payload,\n});\n\nexport const updateRoleError = payload => ({\n type: UPDATE_ROLE_ERROR,\n payload,\n});\n\nexport const updateRoleReset = payload => ({\n type: UPDATE_ROLE_RESET,\n});\n\n// Get All Resource Permissions\nexport const getAllResourcePermissionsRequest = payload => ({\n type: FETCH_ALL_RESOURCE_PERMISSIONS_REQUEST,\n payload,\n});\n\nexport const getAllResourcePermissionsSuccess = payload => ({\n type: FETCH_ALL_RESOURCE_PERMISSIONS_SUCCESS,\n payload,\n});\n\nexport const getAllResourcePermissionsError = payload => ({\n type: FETCH_ALL_RESOURCE_PERMISSIONS_ERROR,\n payload,\n});\n\n// Get All Makers Details\nexport const getMakersDetailsRequest = payload => ({\n type: FETCH_ROLE_MAKERS_REQUEST,\n payload,\n});\n\nexport const getMakersDetailsSuccess = payload => ({\n type: FETCH_ROLE_MAKERS_SUCCESS,\n payload,\n});\n\nexport const getMakersDetailsError = payload => ({\n type: FETCH_ROLE_MAKERS_ERROR,\n payload,\n});\n\n// Fetching Loader\nexport const showLoader = () => ({ type: SHOW_ROLE_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_ROLE_LOADER });\n","/* eslint-disable camelcase */\nconst validate = values => {\n const errors = {};\n if (!values.roleStatus) {\n errors.roleStatus = 'Please select status';\n }\n if (!values.remarks) {\n errors.remarks = 'Please enter your comment';\n }\n if (values.remarks && values.remarks.length > 300) {\n errors.remarks = 'Cannot be more than 300 characters';\n }\n let selectedPermissions = [];\n if (values.access_management) {\n selectedPermissions = [\n ...selectedPermissions,\n ...values.access_management,\n ];\n }\n if (values.refunds) {\n selectedPermissions = [...selectedPermissions, ...values.refunds];\n }\n if (values.reports) {\n selectedPermissions = [...selectedPermissions, ...values.reports];\n }\n if (values.manage_bin) {\n selectedPermissions = [...selectedPermissions, ...values.manage_bin];\n }\n if (values.manage_account) {\n selectedPermissions = [\n ...selectedPermissions,\n ...values.manage_account,\n ];\n }\n if (values.merchant_onboarding) {\n selectedPermissions = [\n ...selectedPermissions,\n ...values.merchant_onboarding,\n ];\n }\n if (values.dashboard) {\n selectedPermissions = [...selectedPermissions, ...values.dashboard];\n }\n if (values.payLink) {\n selectedPermissions = [...selectedPermissions, ...values.payLink];\n }\n if (selectedPermissions.length === 0) {\n errors.dashboard = 'Please select at least one permission';\n }\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable complexity */\n/* eslint-disable camelcase */\n/* eslint-disable indent */\n/* eslint-disable no-nested-ternary */\n/* eslint-disable max-statements */\n/* eslint-disable max-lines-per-function */\n// Libraries\nimport { FormElems, Alert } from '../';\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport {\n updateRoleRequest,\n updateRoleReset,\n} from '../../containers/RoleManagement/redux/roleManagement.actions';\nimport {\n getRoleStatusOptions,\n capitaliseString,\n} from '../../utils/helperMethods';\nimport validate from './validator';\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport moment from 'moment';\n\n// Components\n\n// Actions\n\n// Helper Methods\n\n// Validator\n\n// Styles\nimport './RoleViewEditForm.scss';\n\nconst RoleViewEditForm = props => {\n const {\n closePopup,\n handleSubmit,\n actionType,\n actions,\n data,\n handleOpenActionPopup,\n roleManagementData,\n formData,\n fetchData,\n resetPage,\n isPendingMode,\n } = props;\n\n const { updateRole, allResourcePermissionDetails } = roleManagementData;\n\n const [accessManagementOptions, setAccessManagementOptions] = useState([]);\n const [mobOptions, setMobOptions] = useState([]);\n const [payLinkOptions, setPayLinkOptions] = useState([]);\n const [reportOptions, setReportOptions] = useState([]);\n const [refundOptions, setRefundOptions] = useState([]);\n const [manageBinOptions, setManageBinOptions] = useState([]);\n const [manageAccountOptions, setManageAccountOptions] = useState([]);\n const [myAccountOptions, setMyAccountOptions] = useState([]);\n const [dashboardOptions, setDashboardOptions] = useState([]);\n const [auditTrailOptions, setAuditTrailOptions] = useState([]);\n const [settlementOptions, setSettlementOptions] = useState([]);\n const [mandateOptions, setMandateOptions] = useState([]);\n const [chargebackOptions, setChargebackOptions] = useState([]);\n const [merchantAdjustmentOptions, setMerchantAdjustmentOptions] = useState(\n []\n );\n\n useEffect(() => {\n if (updateRole.isSuccess) {\n closePopup();\n fetchData({ pageIndex: 1, pageSize: 10 });\n resetPage();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fetchData, updateRole.isSuccess]);\n\n useEffect(() => {\n // reset data\n return () => {\n actions.updateRoleReset();\n };\n }, [actions]);\n\n useEffect(() => {\n const resourcePermissionDetails = [...allResourcePermissionDetails];\n\n const accessManagementResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'access_management'\n ),\n };\n\n const mobResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'merchant_onboarding'\n ),\n };\n\n const paymentLinkSource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'payment_links'\n ),\n };\n\n const reportResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'reports'\n ),\n };\n\n const refundResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'refunds'\n ),\n };\n\n const manageBinResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'manage_bin'\n ),\n };\n\n const manageAccountResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'manage_account'\n ),\n };\n\n const myAccountResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'my_account'\n ),\n };\n\n const dashboardResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'dashboard'\n ),\n };\n\n const auditTrailResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'audit_trail'\n ),\n };\n\n const settlementResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'view_settlement'\n ),\n };\n\n const merchantAdjustmentResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'view_merchant_adjustment'\n ),\n };\n\n const mandateResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'mandates'\n ),\n };\n\n const chargebackResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'chargeback'\n ),\n };\n\n let accessManagementOptions =\n accessManagementResource.permissionDetail &&\n accessManagementResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let mobOptions =\n mobResource.permissionDetail &&\n mobResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let payLinkOptions =\n paymentLinkSource.permissionDetail &&\n paymentLinkSource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let reportOptions =\n reportResource.permissionDetail &&\n reportResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let refundOptions =\n refundResource.permissionDetail &&\n refundResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let manageBinOptions =\n manageBinResource.permissionDetail &&\n manageBinResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let manageAccountOptions =\n manageAccountResource.permissionDetail &&\n manageAccountResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let myAccountOptions =\n myAccountResource.permissionDetail &&\n myAccountResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let dashboardOptions =\n dashboardResource.permissionDetail &&\n dashboardResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let auditTrailOptions =\n auditTrailResource.permissionDetail &&\n auditTrailResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n let settlementOptions =\n settlementResource.permissionDetail &&\n settlementResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let merchantAdjustmentOptions =\n merchantAdjustmentResource.permissionDetail &&\n merchantAdjustmentResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let mandateOptions =\n mandateResource.permissionDetail &&\n mandateResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let chargebackOptions =\n chargebackResource.permissionDetail &&\n chargebackResource.permissionDetail.map(perm => ({\n label: capitaliseString(\n perm.permissionName.split('_').join(' ')\n ),\n value: perm.permissionId,\n }));\n\n let userAccessManagementOptions = data.resourceDetail.find(\n res => res.resourceName === 'access_management'\n );\n\n if (userAccessManagementOptions) {\n userAccessManagementOptions = userAccessManagementOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n userAccessManagementOptions = [];\n }\n\n let userMobOptions = data.resourceDetail.find(\n res => res.resourceName === 'merchant_onboarding'\n );\n\n if (userMobOptions) {\n userMobOptions = userMobOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n userMobOptions = [];\n }\n\n let userPayLinkOptions = data.resourceDetail.find(\n res => res.resourceName === 'payment_links'\n );\n\n if (userPayLinkOptions) {\n userPayLinkOptions = userPayLinkOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n userPayLinkOptions = [];\n }\n\n let userReportOptions = data.resourceDetail.find(\n res => res.resourceName === 'reports'\n );\n\n if (userReportOptions) {\n userReportOptions = userReportOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n userReportOptions = [];\n }\n\n let userRefundOptions = data.resourceDetail.find(\n res => res.resourceName === 'refunds'\n );\n\n if (userRefundOptions) {\n userRefundOptions = userRefundOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n userRefundOptions = [];\n }\n\n let userManageBinOptions = data.resourceDetail.find(\n res => res.resourceName === 'manage_bin'\n );\n\n if (userManageBinOptions) {\n userManageBinOptions = userManageBinOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n userManageBinOptions = [];\n }\n\n let userManageAccountOptions = data.resourceDetail.find(\n res => res.resourceName === 'manage_account'\n );\n\n if (userManageAccountOptions) {\n userManageAccountOptions = userManageAccountOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n userManageAccountOptions = [];\n }\n\n let userMyAccountOptions = data.resourceDetail.find(\n res => res.resourceName === 'my_account'\n );\n\n if (userMyAccountOptions) {\n userMyAccountOptions = userMyAccountOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n userMyAccountOptions = [];\n }\n\n let userDashboardOptions = data.resourceDetail.find(\n res => res.resourceName === 'dashboard'\n );\n\n if (userDashboardOptions) {\n userDashboardOptions = userDashboardOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n userDashboardOptions = [];\n }\n\n let auditTrailFormatOptions = data.resourceDetail.find(\n res => res.resourceName === 'audit_trail'\n );\n\n if (auditTrailFormatOptions) {\n auditTrailFormatOptions = auditTrailFormatOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n auditTrailFormatOptions = [];\n }\n let settlementFormatOptions = data.resourceDetail.find(\n res => res.resourceName === 'view_settlement'\n );\n\n if (settlementFormatOptions) {\n settlementFormatOptions = settlementFormatOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n settlementFormatOptions = [];\n }\n\n let merchantAdjustmentFormatOptions = data.resourceDetail.find(\n res => res.resourceName === 'view_merchant_adjustment'\n );\n\n if (merchantAdjustmentFormatOptions) {\n merchantAdjustmentFormatOptions = merchantAdjustmentFormatOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n merchantAdjustmentFormatOptions = [];\n }\n\n let mandateFormatOptions = data.resourceDetail.find(\n res => res.resourceName === 'mandates'\n );\n\n if (mandateFormatOptions) {\n mandateFormatOptions = mandateFormatOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n mandateFormatOptions = [];\n }\n\n let chargebackFormatOptions = data.resourceDetail.find(\n res => res.resourceName === 'chargeback'\n );\n\n if (chargebackFormatOptions) {\n chargebackFormatOptions = chargebackFormatOptions.permissionDetail.map(\n perm => perm.permissionId\n );\n } else {\n chargebackFormatOptions = [];\n }\n\n accessManagementOptions =\n accessManagementOptions &&\n accessManagementOptions.map(opt => {\n if (userAccessManagementOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n mobOptions =\n mobOptions &&\n mobOptions.map(opt => {\n if (userAccessManagementOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n payLinkOptions =\n payLinkOptions &&\n payLinkOptions.map(opt => {\n if (userPayLinkOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n reportOptions =\n reportOptions &&\n reportOptions.map(opt => {\n if (userReportOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n refundOptions =\n refundOptions &&\n refundOptions.map(opt => {\n if (userRefundOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n manageBinOptions =\n manageBinOptions &&\n manageBinOptions.map(opt => {\n if (userManageBinOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n manageAccountOptions =\n manageAccountOptions &&\n manageAccountOptions.map(opt => {\n if (userManageAccountOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n myAccountOptions =\n myAccountOptions &&\n myAccountOptions.map(opt => {\n if (userMyAccountOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n dashboardOptions =\n dashboardOptions &&\n dashboardOptions.map(opt => {\n if (userDashboardOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n auditTrailOptions =\n auditTrailOptions &&\n auditTrailOptions.map(opt => {\n if (auditTrailFormatOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n settlementOptions =\n settlementOptions &&\n settlementOptions.map(opt => {\n if (settlementFormatOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n merchantAdjustmentOptions =\n merchantAdjustmentOptions &&\n merchantAdjustmentOptions.map(opt => {\n if (merchantAdjustmentFormatOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n mandateOptions =\n mandateOptions &&\n mandateOptions.map(opt => {\n if (mandateFormatOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n chargebackOptions =\n chargebackOptions &&\n chargebackOptions.map(opt => {\n if (chargebackFormatOptions.includes(opt.value)) {\n return {\n ...opt,\n checked: true,\n };\n }\n return opt;\n });\n\n setAccessManagementOptions(accessManagementOptions);\n setMobOptions(mobOptions);\n setPayLinkOptions(payLinkOptions);\n setReportOptions(reportOptions);\n setRefundOptions(refundOptions);\n setManageBinOptions(manageBinOptions);\n setManageAccountOptions(manageAccountOptions);\n setMyAccountOptions(myAccountOptions);\n setDashboardOptions(dashboardOptions);\n setAuditTrailOptions(auditTrailOptions);\n setSettlementOptions(settlementOptions);\n setMerchantAdjustmentOptions(merchantAdjustmentOptions);\n setMandateOptions(mandateOptions);\n setChargebackOptions(chargebackOptions);\n }, [allResourcePermissionDetails, data.resourceDetail]);\n\n const onEdit = event => {\n event.preventDefault();\n handleOpenActionPopup('edit');\n };\n\n const onCancel = event => {\n event.preventDefault();\n closePopup();\n };\n\n function handleFormSubmit(formData) {\n const resourcePermissionDetails = [...allResourcePermissionDetails];\n const values = { ...formData };\n const reqPayload = {};\n\n // reqPayload.roleName = values.roleName;\n reqPayload.roleStatus = values.roleStatus;\n reqPayload.comment = values.remarks;\n reqPayload.roleId = data.roleId;\n const resourceDetail = [];\n const accessManagementResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'access_management'\n ),\n };\n const mobResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'merchant_onboarding'\n ),\n };\n\n const payLinkResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'payment_links'\n ),\n };\n\n const reportResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'reports'\n ),\n };\n const refundResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'refunds'\n ),\n };\n const manageBinResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'manage_bin'\n ),\n };\n const manageAccountResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'manage_account'\n ),\n };\n const myAccountResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'my_account'\n ),\n };\n const dashboardResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'dashboard'\n ),\n };\n\n const auditTrailResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'audit_trail'\n ),\n };\n const settlementResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'view_settlement'\n ),\n };\n const merchantAdjustmentResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'view_merchant_adjustment'\n ),\n };\n\n const mandateResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'mandates'\n ),\n };\n\n const chargebackResource = {\n ...resourcePermissionDetails.find(\n res => res.resourceName === 'chargeback'\n ),\n };\n\n if (!values.access_management) {\n const amValues = values.resourceDetail.find(\n res => res.resourceName === 'access_management'\n );\n\n if (amValues) {\n values.access_management = amValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.access_management = [];\n }\n }\n if (!values.merchant_onboarding) {\n const mobValues = values.resourceDetail.find(\n res => res.resourceName === 'merchant_onboarding'\n );\n\n if (mobValues) {\n values.merchant_onboarding = mobValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.merchant_onboarding = [];\n }\n }\n if (!values.payLink) {\n const payLinkValues = values.resourceDetail.find(\n res => res.resourceName === 'payment_links'\n );\n\n if (payLinkValues) {\n values.payLink = payLinkValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.payLink = [];\n }\n }\n\n if (!values.reports) {\n const reportValues = values.resourceDetail.find(\n res => res.resourceName === 'reports'\n );\n\n if (reportValues) {\n values.reports = reportValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.reports = [];\n }\n }\n if (!values.refunds) {\n const refundValues = values.resourceDetail.find(\n res => res.resourceName === 'refunds'\n );\n\n if (refundValues) {\n values.refunds = refundValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.refunds = [];\n }\n }\n if (!values.manage_bin) {\n const manageBinValues = values.resourceDetail.find(\n res => res.resourceName === 'manage_bin'\n );\n\n if (manageBinValues) {\n values.manage_bin = manageBinValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.manage_bin = [];\n }\n }\n if (!values.manage_account) {\n const manageAccountValues = values.resourceDetail.find(\n res => res.resourceName === 'manage_account'\n );\n\n if (manageAccountValues) {\n values.manage_account = manageAccountValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.manage_account = [];\n }\n }\n if (!values.my_account) {\n const myAccountValues = values.resourceDetail.find(\n res => res.resourceName === 'my_account'\n );\n\n if (myAccountValues) {\n values.my_account = myAccountValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.my_account = [];\n }\n }\n if (!values.dashboard) {\n const dashboardValues = values.resourceDetail.find(\n res => res.resourceName === 'dashboard'\n );\n\n if (dashboardValues) {\n values.dashboard = dashboardValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.dashboard = [];\n }\n }\n\n if (!values.audit_trail) {\n const auditTrailValues = values.resourceDetail.find(\n res => res.resourceName === 'audit_trail'\n );\n\n if (auditTrailValues) {\n values.audit_trail = auditTrailValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.audit_trail = [];\n }\n }\n\n if (!values.view_settlement) {\n const settlementValues = values.resourceDetail.find(\n res => res.resourceName === 'view_settlement'\n );\n\n if (settlementValues) {\n values.view_settlement = settlementValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.view_settlement = [];\n }\n }\n\n if (!values.view_merchant_adjustment) {\n const merchantAdjustmentValues = values.resourceDetail.find(\n res => res.resourceName === 'view_merchant_adjustment'\n );\n\n if (merchantAdjustmentValues) {\n values.view_merchant_adjustment = merchantAdjustmentValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.view_merchant_adjustment = [];\n }\n }\n\n if (!values.mandates) {\n const mandateValues = values.resourceDetail.find(\n res => res.resourceName === 'mandates'\n );\n if (mandateValues) {\n values.mandates = mandateValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.mandates = [];\n }\n }\n\n if (!values.chargeback) {\n const chargebackValues = values.resourceDetail.find(\n res => res.resourceName === 'chargeback'\n );\n if (chargebackValues) {\n values.chargeback = chargebackValues.permissionDetail.map(\n val => val.permissionId\n );\n } else {\n values.chargeback = [];\n }\n }\n\n const selectedAccessManagementResourcePerm = accessManagementResource.permissionDetail.filter(\n perm => values.access_management.includes(perm.permissionId)\n );\n\n const selectedMobResourcePerm = mobResource.permissionDetail.filter(\n perm => values.merchant_onboarding.includes(perm.permissionId)\n );\n\n const selectedPayLinkResourcePerm = payLinkResource.permissionDetail.filter(\n perm => values.payLink.includes(perm.permissionId)\n );\n\n const selectedReportResourcePerm = reportResource.permissionDetail.filter(\n perm => values.reports.includes(perm.permissionId)\n );\n\n const selectedRefundResourcePerm = refundResource.permissionDetail.filter(\n perm => values.refunds.includes(perm.permissionId)\n );\n\n const selectedManageBinResourcePerm = manageBinResource.permissionDetail.filter(\n perm => values.manage_bin.includes(perm.permissionId)\n );\n\n const selectedManageAccountResourcePerm = manageAccountResource.permissionDetail.filter(\n perm => values.manage_account.includes(perm.permissionId)\n );\n\n const selectedMyAccountResourcePerm = myAccountResource.permissionDetail.filter(\n perm => values.my_account.includes(perm.permissionId)\n );\n\n const selectedDashboardResourcePerm = dashboardResource.permissionDetail.filter(\n perm => values.dashboard.includes(perm.permissionId)\n );\n\n const selectedAuditTrailResourcePerm = auditTrailResource.permissionDetail.filter(\n perm => values.audit_trail.includes(perm.permissionId)\n );\n\n const selectedSettlementTrailResourcePerm = settlementResource.permissionDetail.filter(\n perm => values.view_settlement.includes(perm.permissionId)\n );\n const selectedMerchantAdjustmentTrailResourcePerm = merchantAdjustmentResource.permissionDetail.filter(\n perm => values.view_merchant_adjustment.includes(perm.permissionId)\n );\n\n const selectedMandateResourcePerm = mandateResource.permissionDetail.filter(\n perm => values.mandates.includes(perm.permissionId)\n );\n\n const selectedChargebackResourcePerm = chargebackResource.permissionDetail.filter(\n perm => values.chargeback.includes(perm.permissionId)\n );\n\n accessManagementResource.permissionDetail = selectedAccessManagementResourcePerm;\n mobResource.permissionDetail = selectedMobResourcePerm;\n payLinkResource.permissionDetail = selectedPayLinkResourcePerm;\n reportResource.permissionDetail = selectedReportResourcePerm;\n refundResource.permissionDetail = selectedRefundResourcePerm;\n manageBinResource.permissionDetail = selectedManageBinResourcePerm;\n manageAccountResource.permissionDetail = selectedManageAccountResourcePerm;\n myAccountResource.permissionDetail = selectedMyAccountResourcePerm;\n dashboardResource.permissionDetail = selectedDashboardResourcePerm;\n auditTrailResource.permissionDetail = selectedAuditTrailResourcePerm;\n selectedSettlementTrailResourcePerm.permissionDetail = selectedSettlementTrailResourcePerm;\n selectedMerchantAdjustmentTrailResourcePerm.permissionDetail = selectedMerchantAdjustmentTrailResourcePerm;\n selectedMandateResourcePerm.permissionDetail = selectedMandateResourcePerm;\n selectedChargebackResourcePerm.permissionDetail = selectedChargebackResourcePerm;\n\n if (selectedAccessManagementResourcePerm.length > 0) {\n resourceDetail.push(accessManagementResource);\n }\n if (selectedMobResourcePerm.length > 0) {\n resourceDetail.push(mobResource);\n }\n\n if (selectedPayLinkResourcePerm.length > 0) {\n resourceDetail.push(payLinkResource);\n }\n\n if (selectedReportResourcePerm.length > 0) {\n resourceDetail.push(reportResource);\n }\n if (selectedRefundResourcePerm.length > 0) {\n resourceDetail.push(refundResource);\n }\n if (selectedManageBinResourcePerm.length > 0) {\n resourceDetail.push(manageBinResource);\n }\n if (selectedManageAccountResourcePerm.length > 0) {\n resourceDetail.push(manageAccountResource);\n }\n if (selectedMyAccountResourcePerm.length > 0) {\n resourceDetail.push(myAccountResource);\n }\n if (selectedDashboardResourcePerm.length > 0) {\n resourceDetail.push(dashboardResource);\n }\n if (selectedAuditTrailResourcePerm.length > 0) {\n resourceDetail.push(auditTrailResource);\n }\n if (selectedSettlementTrailResourcePerm.length > 0) {\n resourceDetail.push(settlementResource);\n }\n if (selectedMerchantAdjustmentTrailResourcePerm.length > 0) {\n resourceDetail.push(merchantAdjustmentResource);\n }\n if (selectedMandateResourcePerm.length > 0) {\n resourceDetail.push(mandateResource);\n }\n\n if (selectedChargebackResourcePerm.length > 0) {\n resourceDetail.push(chargebackResource);\n }\n\n reqPayload.resourceDetail = resourceDetail;\n\n actions.updateRoleRequest(reqPayload);\n }\n\n const isFormReadOnly = actionType === 'view';\n\n return (\n \n
    \n
    \n

    Status

    \n {isFormReadOnly ? (\n <>\n
    \n {data.roleStatus}\n
    \n
    \n {data.lastUpdatedByName && (\n <>\n Last Edit :{' '}\n \n {data.lastUpdatedByName},{' '}\n \n {moment(\n data.lastUpdatedDate,\n 'DD/MM/YYYY'\n )\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(\n data.lastUpdatedDate,\n 'DD/MM/YYYY'\n )\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.lastUpdatedDate}\n \n )}\n {!data.lastUpdatedByName && (\n <>\n Created By :\n \n {' '}\n {data.roleCreatedByName},{' '}\n \n {moment(\n data.roleCreationDate,\n 'DD/MM/YYYY'\n )\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(\n data.roleCreationDate,\n 'DD/MM/YYYY'\n )\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.roleCreationDate}\n \n )}\n
    \n \n ) : (\n <>\n \n \n \n )}\n
    \n
    \n
    \n
    \n
    \n

    Access Management

    \n \n \n
    \n
    \n
    \n

    Reports

    \n \n \n
    \n
    \n
    \n

    Refunds

    \n \n \n
    \n \n
    \n

    Dashboard

    \n \n \n
    \n \n
    \n

    Audit Report

    \n \n \n
    \n \n
    \n

    Merchant Adjustment

    \n \n \n
    \n \n
    \n

    Chargeback

    \n \n \n
    \n \n \n
    \n
    \n

    Merchant Onboarding

    \n \n \n
    \n
    \n
    \n

    Manage Bin

    \n \n \n
    \n \n
    \n

    Manage Account

    \n \n \n
    \n \n
    \n

    My Account

    \n \n \n
    \n \n\n
    \n

    Payment Links

    \n \n \n
    \n \n
    \n

    Settlement

    \n \n \n
    \n \n
    \n

    Mandate

    \n \n \n
    \n \n \n \n {isFormReadOnly ? (\n
    \n
    Comment
    \n
    \n {data.comment || '-'}\n
    \n
    \n ) : null}\n {updateRole.message ? {updateRole.message} : null}\n {!isPendingMode ? (\n
    \n \n {actionType === 'view' ? (\n \n ) : (\n \n )}\n
    \n ) : null}\n \n );\n};\n\nconst mapStateToProps = ({ auth, roleManagementData, form }) => ({\n auth,\n roleManagementData,\n formData: form.roleViewEdit,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n updateRoleRequest,\n updateRoleReset,\n },\n dispatch\n ),\n});\n\nRoleViewEditForm.propTypes = {\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n actionType: PropTypes.string,\n data: PropTypes.object,\n handleOpenActionPopup: PropTypes.func,\n roleManagementData: PropTypes.object,\n actions: PropTypes.func,\n formData: PropTypes.object,\n fetchData: PropTypes.object,\n resetPage: PropTypes.func,\n isPendingMode: PropTypes.bool,\n};\n\nexport default compose(\n reduxForm({\n form: 'roleViewEdit',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(RoleViewEditForm);\n","/* eslint-disable complexity */\n/* eslint-disable camelcase */\nconst validate = values => {\n const errors = {};\n if (!values.roleName) {\n errors.roleName = 'Please enter a role name';\n }\n if (values.roleName && !/^[A-Za-z0-9 ]{1,100}$/.test(values.roleName)) {\n errors.roleName = 'Special characters not allowed';\n }\n if (values.roleName && values.roleName.length > 50) {\n errors.roleName = 'Cannot be more than 50 characters';\n }\n if (values.roleName && values.roleName.length < 3) {\n errors.roleName = 'Must be 3 characters or more';\n }\n if (!values.roleStatus) {\n errors.roleStatus = 'Please select a status';\n }\n if (\n (!values.access_management || values.access_management.length === 0) &&\n (!values.refunds || values.refunds.length === 0) &&\n (!values.reports || values.reports.length === 0) &&\n (!values.merchant_onboarding ||\n values.merchant_onboarding.length === 0) &&\n (!values.manage_bin || values.manage_bin.length === 0) &&\n (!values.manage_account || values.manage_account.length === 0) &&\n (!values.dashboard || values.dashboard.length === 0) &&\n (!values.payLink || values.payLink.length === 0)\n ) {\n errors.dashboard = 'Please select at least one permission';\n }\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable complexity */\n/* eslint-disable camelcase */\n/* eslint-disable max-statements */\n// Libraries\nimport { FormElems, Alert, ConditionalComponent } from '../';\nimport {\n createRoleRequest,\n createRoleReset,\n updateRoleRequest,\n updateRoleReset,\n} from '../../containers/RoleManagement/redux/roleManagement.actions';\nimport {\n getRoleStatusOptions,\n capitaliseString,\n} from '../../utils/helperMethods';\nimport validate from './validator';\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { camelCase, isEmpty, startCase } from 'lodash';\n\n// Components\n\n// Actions\n\n// Helper Methods\n\n// Validator\n\n// Styles\nimport './createRoleForm.scss';\n\n/**\n * CreateRoleForm Component\n *\n * @param {Object} props - React component props\n */\n\n// eslint-disable-next-line max-lines-per-function\nconst CreateRoleForm = props => {\n const {\n handleSubmit,\n actions,\n closePopup,\n roleManagementData,\n fetchData,\n formData,\n actionType,\n resetPage,\n roleData,\n } = props;\n\n const isViewMode = actionType === 'view';\n const isEditMode = actionType === 'edit';\n\n const {\n createRole,\n allResourcePermissionDetails,\n updateRole,\n } = roleManagementData;\n\n const subPermissionMap = {};\n\n allResourcePermissionDetails.forEach(resource => {\n resource.permissionDetail.forEach(permission => {\n if (\n permission.permissionName &&\n permission.subPermissionDetails &&\n permission.subPermissionDetails.length\n ) {\n subPermissionMap[permission.permissionId] = {\n permissionName: permission.permissionName,\n subPermissionDetails: permission.subPermissionDetails || [],\n };\n }\n });\n });\n\n /* Effect is to show the success message */\n useEffect(() => {\n if (createRole.isSuccess) {\n closePopup();\n fetchData({ pageIndex: 1, pageSize: 10 });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [closePopup, createRole.isSuccess]);\n\n useEffect(() => {\n if (updateRole.isSuccess) {\n closePopup();\n fetchData({ pageIndex: 1, pageSize: 10 });\n resetPage();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fetchData, updateRole.isSuccess]);\n\n useEffect(() => {\n // Reset data\n return () => {\n actions.createRoleReset();\n actions.updateRoleReset();\n };\n }, []);\n\n const roleStatusOptions = getRoleStatusOptions();\n\n function handleFormSubmit(data) {\n const values = data;\n const reqPayload = {};\n\n reqPayload.roleName = values.roleName;\n reqPayload.roleStatus = values.roleStatus;\n\n const resourceDetail = [];\n\n allResourcePermissionDetails.forEach(resource => {\n if (values[resource.resourceName]) {\n const resourceData = {\n resourceId: resource.resourceId,\n resourceName: resource.resourceName,\n };\n\n let permissionDetail = [];\n\n resource.permissionDetail.forEach(permission => {\n if (\n values[resource.resourceName].includes(\n permission.permissionId\n )\n ) {\n let permissionData = {\n permissionName: permission.permissionName,\n permissionId: permission.permissionId,\n };\n\n let subPermissions = [];\n\n if (\n permission.subPermissionDetails &&\n values['subPermissions'] &&\n values['subPermissions'][permission.permissionName]\n ) {\n permission.subPermissionDetails.map(\n subPermissionDetails => {\n if (\n values.subPermissions &&\n values.subPermissions[\n permission.permissionName\n ] &&\n Array.isArray(\n values.subPermissions[\n permission.permissionName\n ]\n ) &&\n values.subPermissions[\n permission.permissionName\n ].includes(\n subPermissionDetails.permissionId\n )\n ) {\n subPermissions.push({\n permissionName:\n subPermissionDetails.permissionName,\n permissionId:\n subPermissionDetails.permissionId,\n });\n }\n }\n );\n }\n\n if (subPermissions && subPermissions.length) {\n permissionData[\n 'subPermissionDetails'\n ] = subPermissions;\n }\n\n permissionDetail.push(permissionData);\n }\n });\n\n resourceData.permissionDetail = permissionDetail;\n resourceDetail.push(resourceData);\n }\n });\n\n reqPayload.resourceDetail = resourceDetail;\n\n // return;\n if (isEditMode) {\n reqPayload.roleId = roleData.roleId;\n reqPayload.comment = data.remarks;\n actions.updateRoleRequest(reqPayload);\n } else {\n actions.createRoleRequest(reqPayload);\n }\n }\n const errorMessage = updateRole.message || createRole.message;\n\n const values = formData?.values;\n\n return (\n \n
    \n
    \n \n
    \n

    Role Name

    \n \n
    \n
    \n \n
    \n
    \n

    Remarks

    \n \n
    \n
    \n
    \n
    \n
    \n

    Status

    \n \n
    \n
    \n
    \n \n {allResourcePermissionDetails.map(\n (\n {\n resourceId,\n resourceName,\n labelName,\n permissionDetail,\n },\n index\n ) => {\n return (\n
    \n
    \n

    \n {labelName ||\n startCase(\n camelCase(resourceName)\n )}\n

    \n
    \n \n
    \n
    \n 0\n }\n >\n
    \n {values &&\n values[resourceName] &&\n values[resourceName].map(\n selectedPermissionId => {\n const subPermissionDetails =\n subPermissionMap[\n selectedPermissionId\n ];\n\n if (\n subPermissionDetails\n ) {\n return (\n <>\n
    \n

    \n {subPermissionDetails.labelName ||\n startCase(\n camelCase(\n subPermissionDetails.permissionName\n )\n )}\n

    \n
    \n \n
    \n
    \n \n );\n }\n }\n )}\n
    \n \n
    \n );\n }\n )}\n \n
    \n {errorMessage ? {errorMessage} : null}\n \n
    \n
    closePopup()}>\n CANCEL\n
    \n \n
    \n
    \n \n );\n};\n\nconst mapStateToProps = ({ auth, roleManagementData, form }) => ({\n auth,\n roleManagementData,\n formData: form['create-role'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createRoleRequest,\n createRoleReset,\n updateRoleRequest,\n updateRoleReset,\n },\n dispatch\n ),\n});\n\nCreateRoleForm.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n closePopup: PropTypes.func,\n handleSubmit: PropTypes.func,\n roleManagementData: PropTypes.object,\n formData: PropTypes.object,\n actionType: PropTypes.string,\n fetchData: PropTypes.object,\n};\n\nexport default compose(\n reduxForm({\n form: 'create-role',\n validate,\n enableReinitialize: true,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(CreateRoleForm);\n","import CreateRoleForm from './CreateRoleForm';\n\nexport default CreateRoleForm;\n","// constants\nimport upArrow from 'static/images/up-arrow.svg';\nimport downArrow from 'static/images/down-arrow.svg';\n\n// Libraries\nimport { getId } from '../../utils/helperMethods';\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './accordion.scss';\n\nconst Indicator = ({ isArrowIndicator, isExpanded }) => {\n if (isArrowIndicator) {\n return isExpanded ? (\n \"^\"\n ) : (\n \"down\"\n );\n }\n return isExpanded ? '—' : '+';\n};\n\n/**\n * Accordion Component\n *\n * @param {Object} props - React component props\n */\nconst Accordion = props => {\n const {\n accordionData,\n imageUrl,\n accordionToggleHandler,\n isOpened,\n upperComponent,\n lowerComponent,\n customClass,\n id,\n isAlwaysExpendable,\n isArrowIndicator,\n } = props;\n const [isExpanded, setIsExpanded] = useState(isOpened);\n\n /* Effect is to enable state update from parent. Simply overriding the initial\n state value, won't re-render. Therefore, updating state here */\n useEffect(() => {\n if (accordionToggleHandler) {\n setIsExpanded(isOpened);\n }\n }, [accordionToggleHandler, isOpened]);\n\n /**\n * Method to toggle accordion state\n *\n * @returns {undefined}\n */\n function toggleAccordion() {\n /* Checking if accordion's open/closed state is being managed by parent.\n In that case, accordionToggleHandler from parent will handle open/close logic */\n if (accordionToggleHandler) {\n accordionToggleHandler(accordionData, isExpanded);\n } else {\n /* When accordion's open/closed state is being managed locally */\n setIsExpanded(!isExpanded);\n }\n }\n\n return (\n \n \n
    {upperComponent}
    \n {imageUrl ? (\n \n ) : (\n \n {!isAlwaysExpendable ? (\n \n ) : (\n ''\n )}\n \n )}\n \n \n
    \n
    {lowerComponent}
    \n
    \n \n );\n};\n\nAccordion.propTypes = {\n /* Object containing data that is passed to accordion */\n accordionData: PropTypes.object,\n /* Method to toggle open/closed state of accordion */\n accordionToggleHandler: PropTypes.func,\n /* String to add custom class in accordion */\n customClass: PropTypes.string,\n /* String that gets rendered image onto the upper section of accordion */\n imageUrl: PropTypes.string,\n /* Describes whether accordion is expanded or not */\n isOpened: PropTypes.bool,\n /* React component that gets rendered onto the lower section of accordion */\n lowerComponent: PropTypes.element,\n /* React component that gets rendered onto the upper section of accordion */\n upperComponent: PropTypes.element,\n id: PropTypes.string,\n isAlwaysExpendable: PropTypes.bool,\n isArrowIndicator: PropTypes.bool,\n};\n\nexport default Accordion;\n","import Accordion from './Accordion';\n\nexport default Accordion;\n","const FETCH_ENTITY_REQUEST = 'FETCH_ENTITY_REQUEST';\nconst FETCH_ENTITY_SUCCESS = 'FETCH_ENTITY_SUCCESS';\nconst FETCH_ENTITY_ERROR = 'FETCH_ENTITY_ERROR';\nconst SHOW_MERCHANT_LOADER = 'SHOW_MERCHANT_LOADER';\nconst HIDE_MERCHANT_LOADER = 'HIDE_MERCHANT_LOADER';\nconst FETCH_FORM_DETAILS_REQUEST = 'FETCH_FORM_DETAILS_REQUEST';\nconst FETCH_FORM_DETAILS_SUCCESS = 'FETCH_FORM_DETAILS_SUCCESS';\nconst FETCH_FORM_DETAILS_ERROR = 'FETCH_FORM_DETAILS_ERROR';\nconst FETCH_FORM_IN_PROCESS_REQUEST = 'FETCH_FORM_IN_PROCESS_REQUEST';\nconst FETCH_FORM_IN_PROCESS_SUCCESS = 'FETCH_FORM_IN_PROCESS_SUCCESS';\nconst FETCH_FORM_IN_PROCESS_ERROR = 'FETCH_FORM_IN_PROCESS_ERROR';\nconst FETCH_ENTITY_LIST_MERCHANT_REQUEST = 'FETCH_ENTITY_LIST_MERCHANT_REQUEST';\nconst FETCH_ENTITY_LIST_MERCHANT_SUCCESS = 'FETCH_ENTITY_LIST_MERCHANT_SUCCESS';\nconst FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST = 'FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST';\nconst FETCH_ENTITY_LIST_MERCHANT_ERROR = 'FETCH_ENTITY_LIST_MERCHANT_ERROR';\nconst FETCH_ENTITY_HIERARCHY_REQUEST = 'FETCH_ENTITY_HIERARCHY_REQUEST';\nconst FETCH_ENTITY_HIERARCHY_SUCCESS = 'FETCH_ENTITY_HIERARCHY_SUCCESS';\nconst FETCH_ENTITY_HIERARCHY_ERROR = 'FETCH_ENTITY_HIERARCHY_ERROR';\nconst SAVE_AND_CONTINUE_REQUEST = 'SAVE_AND_CONTINUE_REQUEST';\nconst SAVE_AND_CONTINUE_SUCCESS = 'SAVE_AND_CONTINUE_SUCCESS';\nconst SAVE_AND_CONTINUE_ERROR = 'SAVE_AND_CONTINUE_ERROR';\nconst CREATE_ENTITY_REQUEST = 'CREATE_ENTITY_REQUEST';\nconst CREATE_ENTITY_SUCCESS = 'CREATE_ENTITY_SUCCESS';\nconst CREATE_ENTITY_ERROR = 'CREATE_ENTITY_ERROR';\nconst FETCH_PAYMENT_MODES_REQUEST = 'FETCH_PAYMENT_MODES_REQUEST';\nconst FETCH_PAYMENT_MODES_SUCCESS = 'FETCH_PAYMENT_MODES_SUCCESS';\nconst FETCH_PAYMENT_MODES_ERROR = 'FETCH_PAYMENT_MODES_ERROR';\nconst FETCH_SURCHARGE_SLABS_REQUEST = 'FETCH_SURCHARGE_SLABS_REQUEST';\nconst FETCH_SURCHARGE_SLABS_SUCCESS = 'FETCH_SURCHARGE_SLABS_SUCCESS';\nconst FETCH_SURCHARGE_SLABS_ERROR = 'FETCH_SURCHARGE_SLABS_ERROR';\nconst FETCH_DEFAULT_ROUTING_REQUEST = 'FETCH_DEFAULT_ROUTING_REQUEST';\nconst FETCH_DEFAULT_ROUTING_SUCCESS = 'FETCH_DEFAULT_ROUTING_SUCCESS';\nconst FETCH_DEFAULT_ROUTING_ERROR = 'FETCH_DEFAULT_ROUTING_ERROR';\nconst SET_UNIQUE_IDENTIFIER_REQUEST = 'SET_UNIQUE_IDENTIFIER_REQUEST';\nconst SET_UNIQUE_IDENTIFIER_SUCCESS = 'SET_UNIQUE_IDENTIFIER_SUCCESS';\nconst SET_UNIQUE_IDENTIFIER_ERROR = 'SET_UNIQUE_IDENTIFIER_ERROR';\nconst FETCH_ENTITY_HIERARCHY_MLE_REQUEST = 'FETCH_ENTITY_HIERARCHY_MLE_REQUEST';\nconst FETCH_ENTITY_HIERARCHY_MLE_SUCCESS = 'FETCH_ENTITY_HIERARCHY_MLE_SUCCESS';\nconst FETCH_ENTITY_HIERARCHY_MLE_ERROR = 'FETCH_ENTITY_HIERARCHY_MLE_ERROR';\nconst SUBMIT_FORM_REQUEST = 'SUBMIT_FORM_REQUEST';\nconst SUBMIT_FORM_SUCCESS = 'SUBMIT_FORM_SUCCESS';\nconst SUBMIT_FORM_ERROR = 'SUBMIT_FORM_ERROR';\nconst FETCH_ENTITY_LIST_MERCHANT_MLE_REQUEST =\n 'FETCH_ENTITY_LIST_MERCHANT_MLE_REQUEST';\nconst FETCH_ENTITY_LIST_MERCHANT_MLE_SUCCESS =\n 'FETCH_ENTITY_LIST_MERCHANT_MLE_SUCCESS';\nconst FETCH_ENTITY_LIST_MERCHANT_MLE_ERROR =\n 'FETCH_ENTITY_LIST_MERCHANT_MLE_ERROR';\nconst RESET_SAVEDATA_SUCCESS_KEY = 'RESET_SAVEDATA_SUCCESS_KEY';\nconst RETRY_FAILED_MERCHANT_FORM_REQUEST = 'RETRY_FAILED_MERCHANT_FORM_REQUEST';\nconst RETRY_FAILED_MERCHANT_FORM_SUCCESS = 'RETRY_FAILED_MERCHANT_FORM_SUCCESS';\nconst RETRY_FAILED_MERCHANT_FORM_ERROR = 'RETRY_FAILED_MERCHANT_FORM_ERROR';\nconst RESET_RETRY_FORM_STORE = 'RESET_RETRY_FORM_STORE';\nconst SHOW_ENTITY_HIERARCHY_LOADER = 'SHOW_ENTITY_HIERARCHY_LOADER';\nconst HIDE_ENTITY_HIERARCHY_LOADER = 'HIDE_ENTITY_HIERARCHY_LOADER';\n\nconst SUBMIT_STEP_FORM_REQUEST = 'SUBMIT_STEP_FORM_REQUEST';\nconst SUBMIT_STEP_FORM_SUCCESS = 'SUBMIT_STEP_FORM_SUCCESS';\nconst SUBMIT_STEP_FORM_ERROR = 'SUBMIT_STEP_FORM_ERROR';\nconst FETCH_BD_INPROGRESS_MERCHANT_REQUEST =\n 'FETCH_BD_INPROGRESS_MERCHANT_REQUEST';\nconst FETCH_BD_INPROGRESS_MERCHANT_SUCCESS =\n 'FETCH_BD_INPROGRESS_MERCHANT_SUCCESS';\nconst FETCH_BD_INPROGRESS_MERCHANT_ERROR = 'FETCH_BD_INPROGRESS_MERCHANT_ERROR';\n\nexport {\n FETCH_ENTITY_REQUEST,\n FETCH_ENTITY_SUCCESS,\n FETCH_ENTITY_ERROR,\n SHOW_MERCHANT_LOADER,\n HIDE_MERCHANT_LOADER,\n FETCH_FORM_DETAILS_REQUEST,\n FETCH_FORM_DETAILS_SUCCESS,\n FETCH_FORM_DETAILS_ERROR,\n FETCH_FORM_IN_PROCESS_REQUEST,\n FETCH_FORM_IN_PROCESS_SUCCESS,\n FETCH_FORM_IN_PROCESS_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS,\n FETCH_ENTITY_LIST_MERCHANT_ERROR,\n FETCH_ENTITY_HIERARCHY_REQUEST,\n FETCH_ENTITY_HIERARCHY_SUCCESS,\n FETCH_ENTITY_HIERARCHY_ERROR,\n SAVE_AND_CONTINUE_REQUEST,\n SAVE_AND_CONTINUE_SUCCESS,\n SAVE_AND_CONTINUE_ERROR,\n CREATE_ENTITY_REQUEST,\n CREATE_ENTITY_SUCCESS,\n CREATE_ENTITY_ERROR,\n FETCH_PAYMENT_MODES_REQUEST,\n FETCH_PAYMENT_MODES_SUCCESS,\n FETCH_PAYMENT_MODES_ERROR,\n SET_UNIQUE_IDENTIFIER_REQUEST,\n SET_UNIQUE_IDENTIFIER_SUCCESS,\n SET_UNIQUE_IDENTIFIER_ERROR,\n FETCH_ENTITY_HIERARCHY_MLE_REQUEST,\n FETCH_ENTITY_HIERARCHY_MLE_SUCCESS,\n FETCH_ENTITY_HIERARCHY_MLE_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_MLE_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_MLE_SUCCESS,\n FETCH_ENTITY_LIST_MERCHANT_MLE_ERROR,\n FETCH_DEFAULT_ROUTING_REQUEST,\n FETCH_DEFAULT_ROUTING_SUCCESS,\n FETCH_DEFAULT_ROUTING_ERROR,\n FETCH_SURCHARGE_SLABS_REQUEST,\n FETCH_SURCHARGE_SLABS_SUCCESS,\n FETCH_SURCHARGE_SLABS_ERROR,\n RESET_SAVEDATA_SUCCESS_KEY,\n SUBMIT_FORM_REQUEST,\n SUBMIT_FORM_SUCCESS,\n SUBMIT_FORM_ERROR,\n RETRY_FAILED_MERCHANT_FORM_REQUEST,\n RETRY_FAILED_MERCHANT_FORM_SUCCESS,\n RETRY_FAILED_MERCHANT_FORM_ERROR,\n RESET_RETRY_FORM_STORE,\n SHOW_ENTITY_HIERARCHY_LOADER,\n HIDE_ENTITY_HIERARCHY_LOADER,\n SUBMIT_STEP_FORM_REQUEST,\n SUBMIT_STEP_FORM_SUCCESS,\n SUBMIT_STEP_FORM_ERROR,\n FETCH_BD_INPROGRESS_MERCHANT_REQUEST,\n FETCH_BD_INPROGRESS_MERCHANT_SUCCESS,\n FETCH_BD_INPROGRESS_MERCHANT_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST,\n};\n","import {\n FETCH_ENTITY_REQUEST,\n FETCH_ENTITY_SUCCESS,\n FETCH_ENTITY_ERROR,\n SHOW_MERCHANT_LOADER,\n HIDE_MERCHANT_LOADER,\n FETCH_FORM_DETAILS_REQUEST,\n FETCH_FORM_DETAILS_SUCCESS,\n FETCH_FORM_DETAILS_ERROR,\n FETCH_FORM_IN_PROCESS_REQUEST,\n FETCH_FORM_IN_PROCESS_SUCCESS,\n FETCH_FORM_IN_PROCESS_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS,\n FETCH_ENTITY_LIST_MERCHANT_ERROR,\n FETCH_ENTITY_HIERARCHY_REQUEST,\n FETCH_ENTITY_HIERARCHY_SUCCESS,\n FETCH_ENTITY_HIERARCHY_ERROR,\n SAVE_AND_CONTINUE_REQUEST,\n SAVE_AND_CONTINUE_SUCCESS,\n SAVE_AND_CONTINUE_ERROR,\n CREATE_ENTITY_REQUEST,\n CREATE_ENTITY_SUCCESS,\n CREATE_ENTITY_ERROR,\n FETCH_PAYMENT_MODES_REQUEST,\n FETCH_PAYMENT_MODES_SUCCESS,\n FETCH_PAYMENT_MODES_ERROR,\n FETCH_SURCHARGE_SLABS_REQUEST,\n FETCH_SURCHARGE_SLABS_SUCCESS,\n FETCH_SURCHARGE_SLABS_ERROR,\n FETCH_DEFAULT_ROUTING_REQUEST,\n FETCH_DEFAULT_ROUTING_SUCCESS,\n FETCH_DEFAULT_ROUTING_ERROR,\n SET_UNIQUE_IDENTIFIER_REQUEST,\n SET_UNIQUE_IDENTIFIER_SUCCESS,\n SET_UNIQUE_IDENTIFIER_ERROR,\n FETCH_ENTITY_HIERARCHY_MLE_REQUEST,\n FETCH_ENTITY_HIERARCHY_MLE_SUCCESS,\n FETCH_ENTITY_HIERARCHY_MLE_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_MLE_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_MLE_SUCCESS,\n FETCH_ENTITY_LIST_MERCHANT_MLE_ERROR,\n RESET_SAVEDATA_SUCCESS_KEY,\n SUBMIT_FORM_REQUEST,\n SUBMIT_FORM_SUCCESS,\n SUBMIT_FORM_ERROR,\n RETRY_FAILED_MERCHANT_FORM_REQUEST,\n RETRY_FAILED_MERCHANT_FORM_SUCCESS,\n RETRY_FAILED_MERCHANT_FORM_ERROR,\n RESET_RETRY_FORM_STORE,\n SHOW_ENTITY_HIERARCHY_LOADER,\n HIDE_ENTITY_HIERARCHY_LOADER,\n SUBMIT_STEP_FORM_REQUEST,\n SUBMIT_STEP_FORM_SUCCESS,\n SUBMIT_STEP_FORM_ERROR,\n FETCH_BD_INPROGRESS_MERCHANT_REQUEST,\n FETCH_BD_INPROGRESS_MERCHANT_SUCCESS,\n FETCH_BD_INPROGRESS_MERCHANT_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST,\n} from './merchantOnBoard.constants';\n\nexport const fetchEntityRequest = payload => ({\n type: FETCH_ENTITY_REQUEST,\n payload,\n});\n\nexport const fetchEntitySuccess = payload => ({\n type: FETCH_ENTITY_SUCCESS,\n payload,\n});\n\nexport const fetchEntityError = payload => ({\n type: FETCH_ENTITY_ERROR,\n payload,\n});\n\nexport const fetchFormDetailsRequest = () => ({\n type: FETCH_FORM_DETAILS_REQUEST,\n});\n\nexport const fetchFormDetailsSuccess = payload => ({\n type: FETCH_FORM_DETAILS_SUCCESS,\n payload,\n});\n\nexport const fetchFormDetailsError = payload => ({\n type: FETCH_FORM_DETAILS_ERROR,\n payload,\n});\n\nexport const fetchFormInProcessRequest = () => ({\n type: FETCH_FORM_IN_PROCESS_REQUEST,\n});\n\nexport const fetchFormInProcessSuccess = payload => ({\n type: FETCH_FORM_IN_PROCESS_SUCCESS,\n payload,\n});\n\nexport const fetchFormInProcessError = payload => ({\n type: FETCH_FORM_IN_PROCESS_ERROR,\n payload,\n});\n\nexport const fetchEntityListRequest = (payload, entityData) => ({\n type: FETCH_ENTITY_LIST_MERCHANT_REQUEST,\n payload,\n entityData,\n});\n\nexport const fetchEntityListSuccess = payload => ({\n type: FETCH_ENTITY_LIST_MERCHANT_SUCCESS,\n payload,\n});\n\nexport const fetchEntityListSuccessAddList = (payload, entityType) => ({\n type: FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST,\n payload,\n entityType,\n});\n\nexport const fetchEntityListError = payload => ({\n type: FETCH_ENTITY_LIST_MERCHANT_ERROR,\n payload,\n});\n\nexport const fetchEntityHierarchyRequest = (\n payload,\n level,\n entityType,\n onSuccess\n) => ({\n type: FETCH_ENTITY_HIERARCHY_REQUEST,\n payload,\n level,\n entityType,\n onSuccess,\n});\n\nexport const fetchEntityHierarchySuccess = (payload, entityType) => ({\n type: FETCH_ENTITY_HIERARCHY_SUCCESS,\n payload,\n entityType,\n});\n\nexport const fetchEntityHierarchyError = payload => ({\n type: FETCH_ENTITY_HIERARCHY_ERROR,\n payload,\n});\n\nexport const fetchEntityHierarchyMLERequest = (payload, entityType) => ({\n type: FETCH_ENTITY_HIERARCHY_MLE_REQUEST,\n payload,\n entityType,\n});\n\nexport const fetchEntityHierarchyMLESuccess = (payload, entityType) => ({\n type: FETCH_ENTITY_HIERARCHY_MLE_SUCCESS,\n payload,\n entityType,\n});\n\nexport const fetchEntityHierarchyMLEError = payload => ({\n type: FETCH_ENTITY_HIERARCHY_MLE_ERROR,\n payload,\n});\n\nexport const fetchEntityListMLERequest = payload => ({\n type: FETCH_ENTITY_LIST_MERCHANT_MLE_REQUEST,\n payload,\n});\n\nexport const fetchEntityListMLESuccess = payload => ({\n type: FETCH_ENTITY_LIST_MERCHANT_MLE_SUCCESS,\n payload,\n});\n\nexport const fetchEntityListMLEError = payload => ({\n type: FETCH_ENTITY_LIST_MERCHANT_MLE_ERROR,\n payload,\n});\n\nexport const saveAndContinueRequest = (payload, sectionType, makerDetails, customisedReports) => ({\n type: SAVE_AND_CONTINUE_REQUEST,\n payload,\n sectionType,\n makerDetails,\n customisedReports,\n});\n\nexport const saveAndContinueSuccess = (payload, sectionType, customisedReports) => ({\n type: SAVE_AND_CONTINUE_SUCCESS,\n payload,\n sectionType,\n customisedReports,\n});\n\nexport const saveAndContinueError = payload => ({\n type: SAVE_AND_CONTINUE_ERROR,\n payload,\n});\n\nexport const createEntityRequest = payload => ({\n type: CREATE_ENTITY_REQUEST,\n payload,\n});\n\nexport const createEntitySuccess = payload => ({\n type: CREATE_ENTITY_SUCCESS,\n payload,\n});\n\nexport const createEntityError = payload => ({\n type: CREATE_ENTITY_ERROR,\n payload,\n});\n\nexport const fetchPaymentModesRequest = () => ({\n type: FETCH_PAYMENT_MODES_REQUEST,\n});\n\nexport const fetchPaymentModesSuccess = payload => ({\n type: FETCH_PAYMENT_MODES_SUCCESS,\n payload,\n});\n\nexport const fetchPaymentModesError = payload => ({\n type: FETCH_PAYMENT_MODES_ERROR,\n payload,\n});\n\nexport const fetchSurchargeSlabsRequest = payload => ({\n type: FETCH_SURCHARGE_SLABS_REQUEST,\n payload,\n});\n\nexport const fetchSurchargeSlabsSuccess = payload => ({\n type: FETCH_SURCHARGE_SLABS_SUCCESS,\n payload,\n});\n\nexport const fetchSurchargeSlabsError = payload => ({\n type: FETCH_SURCHARGE_SLABS_ERROR,\n payload,\n});\n\nexport const fetchDefaultRoutingRequest = payload => ({\n type: FETCH_DEFAULT_ROUTING_REQUEST,\n payload,\n});\n\nexport const fetchDefaultRoutingSuccess = payload => ({\n type: FETCH_DEFAULT_ROUTING_SUCCESS,\n payload,\n});\n\nexport const fetchDefaultRoutingError = payload => ({\n type: FETCH_DEFAULT_ROUTING_ERROR,\n payload,\n});\n\nexport const setUniqueIdentifierRequest = (payload, isEditMode) => ({\n type: SET_UNIQUE_IDENTIFIER_REQUEST,\n payload,\n isEditMode,\n});\n\nexport const setUniqueIdentifierSuccess = (payload, isEditMode) => ({\n type: SET_UNIQUE_IDENTIFIER_SUCCESS,\n payload,\n isEditMode,\n});\n\nexport const setUniqueIdentifierError = payload => ({\n type: SET_UNIQUE_IDENTIFIER_ERROR,\n payload,\n});\n\nexport const resetSaveDataSuccessKey = () => ({\n type: RESET_SAVEDATA_SUCCESS_KEY,\n});\n\nexport const submitFormRequest = payload => ({\n type: SUBMIT_FORM_REQUEST,\n payload,\n});\n\nexport const submitFormSuccess = payload => ({\n type: SUBMIT_FORM_SUCCESS,\n payload,\n});\n\nexport const submitFormError = payload => ({\n type: SUBMIT_FORM_ERROR,\n payload,\n});\n\nexport const retryFailedMerchantFormRequest = payload => ({\n type: RETRY_FAILED_MERCHANT_FORM_REQUEST,\n payload,\n});\n\nexport const retryFailedMerchantFormSuccess = payload => ({\n type: RETRY_FAILED_MERCHANT_FORM_SUCCESS,\n payload,\n});\n\nexport const retryFailedMerchantFormError = payload => ({\n type: RETRY_FAILED_MERCHANT_FORM_ERROR,\n payload,\n});\n\nexport const resetRetryFormStore = () => ({\n type: RESET_RETRY_FORM_STORE,\n});\nexport const showHierarchyLoader = () => ({\n type: SHOW_ENTITY_HIERARCHY_LOADER,\n});\nexport const hideHierarchyLoader = () => ({\n type: HIDE_ENTITY_HIERARCHY_LOADER,\n});\n\n// BD ONBOARDING Actions\nexport const submitStepFormRequest = payload => ({\n type: SUBMIT_STEP_FORM_REQUEST,\n payload,\n});\nexport const submitStepFormSuccess = (payload, sectionType) => ({\n type: SUBMIT_STEP_FORM_SUCCESS,\n payload,\n sectionType,\n});\nexport const submitStepFormError = payload => ({\n type: SUBMIT_STEP_FORM_ERROR,\n payload,\n});\n\nexport const fetchBDInprogressMerchantRequest = payload => ({\n type: FETCH_BD_INPROGRESS_MERCHANT_REQUEST,\n payload,\n});\nexport const fetchBDInprogressMerchantSuccess = payload => ({\n type: FETCH_BD_INPROGRESS_MERCHANT_SUCCESS,\n payload,\n});\nexport const fetchBDInprogressMerchantError = payload => ({\n type: FETCH_BD_INPROGRESS_MERCHANT_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_MERCHANT_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_MERCHANT_LOADER });\n","import {\n GET_MERCHANT_INFO_REQUEST,\n GET_MERCHANT_INFO_SUCCESS,\n GET_MERCHANT_INFO_ERROR,\n FETCH_PG_CONFIG_EDIT_REQUEST,\n FETCH_PG_CONFIG_EDIT_SUCCESS,\n FETCH_PG_CONFIG_EDIT_ERROR,\n FETCH_ROUTER_DETAILS_REQUEST,\n FETCH_ROUTER_DETAILS_SUCCESS,\n FETCH_ROUTER_DETAILS_ERROR,\n FETCH_SURCHARGE_DETAILS_REQUEST,\n FETCH_SURCHARGE_DETAILS_SUCCESS,\n FETCH_SURCHARGE_DETAILS_ERROR,\n UPDATE_MERCHANT_DATA_REQUEST,\n UPDATE_MERCHANT_DATA_SUCCESS,\n UPDATE_MERCHANT_DATA_ERROR,\n UPDATE_PG_CONFIG_DATA_REQUEST,\n UPDATE_PG_CONFIG_DATA_SUCCESS,\n UPDATE_PG_CONFIG_DATA_ERROR,\n UPDATE_ROUTING_DATA_REQUEST,\n UPDATE_ROUTING_DATA_SUCCESS,\n UPDATE_ROUTING_DATA_ERROR,\n UPDATE_SURCHARGE_DATA_REQUEST,\n UPDATE_SURCHARGE_DATA_SUCCESS,\n UPDATE_SURCHARGE_DATA_ERROR,\n UPDATE_SECTION_DETAILS_REQUEST,\n UPDATE_SECTION_DETAILS_SUCCESS,\n UPDATE_SECTION_DETAILS_ERROR,\n RESET_UPDATE_DATA_SUCCESS_KEY,\n GET_MERCHANT_SECTION_INFO_REQUEST,\n GET_MERCHANT_SECTION_INFO_SUCCESS,\n GET_MERCHANT_SECTION_INFO_ERROR,\n SET_SELECTED_ENTITY_REQUEST,\n SET_SELECTED_ENTITY_SUCCESS,\n SET_SELECTED_ENTITY_ERROR,\n FETCH_BASIC_FORM_DATA,\n FETCH_BASIC_FORM_DATA_SUCCESS,\n FETCH_BASIC_FORM_DATA_ERROR,\n UPDATE_SETTLEMENT_DATA_REQUEST,\n UPDATE_SETTLEMENT_DATA_SUCCESS,\n UPDATE_SETTLEMENT_DATA_ERROR,\n ADD_MERCHANT_STEP_UPDATE_MAKER_ERROR,\n ADD_MERCHANT_STEP_UPDATE_MAKER_REQUEST,\n ADD_MERCHANT_STEP_UPDATE_MAKER_SUCCESS,\n} from './editMerchant.constants';\n\nexport const getMerchantInfoRequest = (payload, fields, history, toast) => ({\n type: `GET_MERCHANT_INFO_REQUEST`,\n payload,\n fields,\n history,\n toast,\n});\n\nexport const getMerchantInfoSuccess = payload => ({\n type: GET_MERCHANT_INFO_SUCCESS,\n payload,\n});\n\nexport const getMerchantInfoError = (payload,history,toast) => ({\n type: GET_MERCHANT_INFO_ERROR,\n payload,\n history,\n toast,\n});\n\nexport const getMerchantSectionInfoRequest = (\n payload,\n fields,\n sectionType,\n history\n) => ({\n type: GET_MERCHANT_SECTION_INFO_REQUEST,\n payload,\n fields,\n sectionType,\n history\n});\n\nexport const getMerchantSectionInfoError = payload => ({\n type: GET_MERCHANT_SECTION_INFO_ERROR,\n payload,\n});\n\nexport const getMerchantSectionInfoSuccess = payload => ({\n type: GET_MERCHANT_SECTION_INFO_SUCCESS,\n payload,\n});\n\nexport const setEntityDataRequest = (payload, entityType) => ({\n type: SET_SELECTED_ENTITY_REQUEST,\n payload,\n entityType,\n});\n\nexport const setEntityDataSuccess = payload => ({\n type: SET_SELECTED_ENTITY_SUCCESS,\n payload,\n});\n\nexport const setEntityDataError = payload => ({\n type: FETCH_PG_CONFIG_EDIT_ERROR,\n payload,\n});\n\nexport const fetchPgConfigDetailsRequest = payload => ({\n type: FETCH_PG_CONFIG_EDIT_REQUEST,\n payload,\n});\n\nexport const fetchPgConfigDetailsSuccess = payload => ({\n type: FETCH_PG_CONFIG_EDIT_SUCCESS,\n payload,\n});\n\nexport const fetchPgConfigDetailsError = payload => ({\n type: SET_SELECTED_ENTITY_ERROR,\n payload,\n});\n\nexport const fetchRouterDetailsRequest = payload => ({\n type: FETCH_ROUTER_DETAILS_REQUEST,\n payload,\n});\n\n\nexport const fetchRouterDetailsSuccess = payload => ({\n type: FETCH_ROUTER_DETAILS_SUCCESS,\n payload,\n});\n\nexport const fetchRouterDetailsError = payload => ({\n type: FETCH_ROUTER_DETAILS_ERROR,\n payload,\n});\n\nexport const fetchSurchargeDetailsRequest = payload => ({\n type: FETCH_SURCHARGE_DETAILS_REQUEST,\n payload,\n});\n\nexport const fetchSurchargeDetailsSuccess = payload => ({\n type: FETCH_SURCHARGE_DETAILS_SUCCESS,\n payload,\n});\n\nexport const fetchSurchargeDetailsError = payload => ({\n type: FETCH_SURCHARGE_DETAILS_ERROR,\n payload,\n});\n\nexport const updateMerchantDataRequest = (payload, sectionType) => ({\n type: UPDATE_MERCHANT_DATA_REQUEST,\n payload,\n sectionType,\n});\n\nexport const updateMerchantDataSuccess = (payload, sectionType) => ({\n type: UPDATE_MERCHANT_DATA_SUCCESS,\n payload,\n sectionType,\n});\n\nexport const updateMerchantDataError = payload => ({\n type: UPDATE_MERCHANT_DATA_ERROR,\n payload,\n});\n\nexport const updatePgConfigDataRequest = (payload, sectionType) => ({\n type: UPDATE_PG_CONFIG_DATA_REQUEST,\n payload,\n sectionType,\n});\n\nexport const updatePgConfigDataSuccess = (payload, sectionType) => ({\n type: UPDATE_PG_CONFIG_DATA_SUCCESS,\n payload,\n sectionType,\n});\n\nexport const updatePgConfigDataError = payload => ({\n type: UPDATE_PG_CONFIG_DATA_ERROR,\n payload,\n});\n\nexport const updateRoutingDataRequest = (payload, sectionType) => ({\n type: UPDATE_ROUTING_DATA_REQUEST,\n payload,\n sectionType,\n});\n\nexport const updateRoutingDataSuccess = (payload, sectionType) => ({\n type: UPDATE_ROUTING_DATA_SUCCESS,\n payload,\n sectionType,\n});\n\nexport const updateRoutingDataError = payload => ({\n type: UPDATE_ROUTING_DATA_ERROR,\n payload,\n});\n\nexport const updateSurchargeDataRequest = (payload, sectionType) => ({\n type: UPDATE_SURCHARGE_DATA_REQUEST,\n payload,\n sectionType,\n});\n\nexport const updateSurchargeDataSuccess = (payload, sectionType) => ({\n type: UPDATE_SURCHARGE_DATA_SUCCESS,\n payload,\n sectionType,\n});\n\nexport const updateSurchargeDataError = payload => ({\n type: UPDATE_SURCHARGE_DATA_ERROR,\n payload,\n});\n\nexport const updateSectionDataRequest = (payload, sectionType) => ({\n type: UPDATE_SECTION_DETAILS_REQUEST,\n payload,\n sectionType,\n});\n\nexport const updateSectionDataSuccess = (payload, sectionType) => ({\n type: UPDATE_SECTION_DETAILS_SUCCESS,\n payload,\n sectionType,\n});\n\nexport const updateSectionDataError = payload => ({\n type: UPDATE_SECTION_DETAILS_ERROR,\n payload,\n});\n\nexport const resetUpdateDataSuccessKey = () => ({\n type: RESET_UPDATE_DATA_SUCCESS_KEY,\n});\n\nexport const updateSettlementDataRequest = (payload, sectionType) => ({\n type: UPDATE_SETTLEMENT_DATA_REQUEST,\n payload,\n sectionType,\n});\n\nexport const updateSettlementDataSuccess = (payload, sectionType) => ({\n type: UPDATE_SETTLEMENT_DATA_SUCCESS,\n payload,\n sectionType,\n});\n\nexport const updateSettlementDataError = payload => ({\n type: UPDATE_SETTLEMENT_DATA_ERROR,\n payload,\n});\n\nexport const fetchBasicFormData = payload => ({\n type: FETCH_BASIC_FORM_DATA,\n payload,\n});\n\nexport const fetchBasicFormSuccess = payload => ({\n type: FETCH_BASIC_FORM_DATA_SUCCESS,\n payload,\n});\n\nexport const fetchBasicFormError = payload => ({\n type: FETCH_BASIC_FORM_DATA_ERROR,\n payload,\n});\n\nexport const addMerchantStepUpdateMakerRequest = (\n payload,\n sectionType,\n makerDetails,\n customisedReports,\n) => ({\n type: ADD_MERCHANT_STEP_UPDATE_MAKER_REQUEST,\n payload,\n sectionType,\n makerDetails,\n customisedReports,\n});\n\nexport const addMerchantStepUpdateMakerSuccess = (\n payload,\n sectionType,\n makerDetails\n) => ({\n type: ADD_MERCHANT_STEP_UPDATE_MAKER_SUCCESS,\n payload,\n sectionType,\n makerDetails,\n});\n\nexport const addMerchantStepUpdateMakerError = (\n payload,\n sectionType,\n makerDetails\n) => ({\n type: ADD_MERCHANT_STEP_UPDATE_MAKER_ERROR,\n payload,\n sectionType,\n makerDetails,\n});\n\n","const GET_MERCHANT_INFO_REQUEST = 'GET_MERCHANT_INFO_REQUEST';\nconst GET_MERCHANT_INFO_SUCCESS = 'GET_MERCHANT_INFO_SUCCESS';\nconst GET_MERCHANT_INFO_ERROR = 'GET_MERCHANT_INFO_ERROR';\nconst FETCH_PG_CONFIG_EDIT_REQUEST = 'FETCH_PG_CONFIG_EDIT_REQUEST';\nconst FETCH_PG_CONFIG_EDIT_SUCCESS = 'FETCH_PG_CONFIG_EDIT_SUCCESS';\nconst FETCH_PG_CONFIG_EDIT_ERROR = 'FETCH_PG_CONFIG_EDIT_ERROR';\nconst FETCH_ROUTER_DETAILS_REQUEST = 'FETCH_ROUTER_DETAILS_REQUEST';\nconst FETCH_ROUTER_DETAILS_SUCCESS = 'FETCH_ROUTER_DETAILS_SUCCESS';\nconst FETCH_ROUTER_DETAILS_ERROR = 'FETCH_ROUTER_DETAILS_ERROR';\nconst FETCH_SURCHARGE_DETAILS_REQUEST = 'FETCH_SURCHARGE_DETAILS_REQUEST';\nconst FETCH_SURCHARGE_DETAILS_SUCCESS = 'FETCH_SURCHARGE_DETAILS_SUCCESS';\nconst FETCH_SURCHARGE_DETAILS_ERROR = 'FETCH_SURCHARGE_DETAILS_ERROR';\nconst UPDATE_MERCHANT_DATA_REQUEST = 'UPDATE_MERCHANT_DATA_REQUEST';\nconst UPDATE_MERCHANT_DATA_SUCCESS = 'UPDATE_MERCHANT_DATA_SUCCESS';\nconst UPDATE_MERCHANT_DATA_ERROR = 'UPDATE_MERCHANT_DATA_ERROR';\nconst UPDATE_PG_CONFIG_DATA_REQUEST = 'UPDATE_PG_CONFIG_DATA_REQUEST';\nconst UPDATE_PG_CONFIG_DATA_SUCCESS = 'UPDATE_PG_CONFIG_DATA_SUCCESS';\nconst UPDATE_PG_CONFIG_DATA_ERROR = 'UPDATE_PG_CONFIG_DATA_ERROR';\nconst UPDATE_ROUTING_DATA_REQUEST = 'UPDATE_ROUTING_DATA_REQUEST';\nconst UPDATE_ROUTING_DATA_SUCCESS = 'UPDATE_ROUTING_DATA_SUCCESS';\nconst UPDATE_ROUTING_DATA_ERROR = 'UPDATE_ROUTING_DATA_ERROR';\nconst UPDATE_SURCHARGE_DATA_REQUEST = 'UPDATE_SURCHARGE_DATA_REQUEST';\nconst UPDATE_SURCHARGE_DATA_SUCCESS = 'UPDATE_SURCHARGE_DATA_SUCCESS';\nconst UPDATE_SURCHARGE_DATA_ERROR = 'UPDATE_SURCHARGE_DATA_ERROR';\nconst UPDATE_SECTION_DETAILS_REQUEST = 'UPDATE_SECTION_DETAILS_REQUEST';\nconst UPDATE_SECTION_DETAILS_SUCCESS = 'UPDATE_SECTION_DETAILS_SUCCESS';\nconst UPDATE_SECTION_DETAILS_ERROR = 'UPDATE_SECTION_DETAILS_ERROR';\nconst RESET_UPDATE_DATA_SUCCESS_KEY = 'RESET_UPDATE_DATA_SUCCESS_KEY';\nconst GET_MERCHANT_SECTION_INFO_REQUEST = 'GET_MERCHANT_SECTION_INFO_REQUEST';\nconst GET_MERCHANT_SECTION_INFO_SUCCESS = 'GET_MERCHANT_SECTION_INFO_SUCCESS';\nconst GET_MERCHANT_SECTION_INFO_ERROR = 'GET_MERCHANT_SECTION_INFO_ERROR';\nconst SET_SELECTED_ENTITY_REQUEST = 'SET_SELECTED_ENTITY_REQUEST';\nconst SET_SELECTED_ENTITY_SUCCESS = 'SET_SELECTED_ENTITY_SUCCESS';\nconst SET_SELECTED_ENTITY_ERROR = 'SET_SELECTED_ENTITY_ERROR';\nconst UPDATE_SETTLEMENT_DATA_REQUEST = 'UPDATE_SETTLEMENT_DATA_REQUEST';\nconst UPDATE_SETTLEMENT_DATA_SUCCESS = 'UPDATE_SETTLEMENT_DATA_SUCCESS';\nconst UPDATE_SETTLEMENT_DATA_ERROR = 'UPDATE_SETTLEMENT_DATA_ERROR';\nconst FETCH_BASIC_FORM_DATA = 'FETCH_BASIC_FORM_DATA';\nconst FETCH_BASIC_FORM_DATA_SUCCESS = 'FETCH_BASIC_FORM_DATA_SUCCESS';\nconst FETCH_BASIC_FORM_DATA_ERROR = 'FETCH_BASIC_FORM_DATA_ERROR';\n\nconst ADD_MERCHANT_STEP_UPDATE_MAKER_REQUEST =\n 'ADD_MERCHANT_STEP_UPDATE_MAKER_REQUEST';\nconst ADD_MERCHANT_STEP_UPDATE_MAKER_SUCCESS =\n 'ADD_MERCHANT_STEP_UPDATE_MAKER_SUCCESS';\nconst ADD_MERCHANT_STEP_UPDATE_MAKER_ERROR =\n 'ADD_MERCHANT_STEP_UPDATE_MAKER_ERROR';\n\n\nexport {\n GET_MERCHANT_INFO_REQUEST,\n GET_MERCHANT_INFO_SUCCESS,\n GET_MERCHANT_INFO_ERROR,\n FETCH_PG_CONFIG_EDIT_REQUEST,\n FETCH_PG_CONFIG_EDIT_SUCCESS,\n FETCH_PG_CONFIG_EDIT_ERROR,\n FETCH_ROUTER_DETAILS_REQUEST,\n FETCH_ROUTER_DETAILS_SUCCESS,\n FETCH_ROUTER_DETAILS_ERROR,\n FETCH_SURCHARGE_DETAILS_REQUEST,\n FETCH_SURCHARGE_DETAILS_SUCCESS,\n FETCH_SURCHARGE_DETAILS_ERROR,\n UPDATE_MERCHANT_DATA_REQUEST,\n UPDATE_MERCHANT_DATA_SUCCESS,\n UPDATE_MERCHANT_DATA_ERROR,\n UPDATE_PG_CONFIG_DATA_REQUEST,\n UPDATE_PG_CONFIG_DATA_SUCCESS,\n UPDATE_PG_CONFIG_DATA_ERROR,\n UPDATE_ROUTING_DATA_REQUEST,\n UPDATE_ROUTING_DATA_SUCCESS,\n UPDATE_ROUTING_DATA_ERROR,\n UPDATE_SURCHARGE_DATA_REQUEST,\n UPDATE_SURCHARGE_DATA_SUCCESS,\n UPDATE_SURCHARGE_DATA_ERROR,\n UPDATE_SECTION_DETAILS_REQUEST,\n UPDATE_SECTION_DETAILS_SUCCESS,\n UPDATE_SECTION_DETAILS_ERROR,\n RESET_UPDATE_DATA_SUCCESS_KEY,\n GET_MERCHANT_SECTION_INFO_REQUEST,\n GET_MERCHANT_SECTION_INFO_SUCCESS,\n GET_MERCHANT_SECTION_INFO_ERROR,\n SET_SELECTED_ENTITY_REQUEST,\n SET_SELECTED_ENTITY_SUCCESS,\n SET_SELECTED_ENTITY_ERROR,\n UPDATE_SETTLEMENT_DATA_REQUEST,\n UPDATE_SETTLEMENT_DATA_SUCCESS,\n UPDATE_SETTLEMENT_DATA_ERROR,\n FETCH_BASIC_FORM_DATA,\n FETCH_BASIC_FORM_DATA_SUCCESS,\n FETCH_BASIC_FORM_DATA_ERROR,\n ADD_MERCHANT_STEP_UPDATE_MAKER_REQUEST,\n ADD_MERCHANT_STEP_UPDATE_MAKER_SUCCESS,\n ADD_MERCHANT_STEP_UPDATE_MAKER_ERROR,\n};\n","// Libraries\nimport React, { useState } from 'react';\nimport { Field } from 'redux-form';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport PropTypes from 'prop-types';\n\n// Component\nimport {\n FormElems,\n Popup,\n AddAggregator,\n AddFranchise,\n AddMLE,\n} from '../../components/';\n\nimport {\n createEntityError,\n fetchEntityListRequest,\n fetchEntityHierarchyRequest,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\nconst RoleType = props => {\n const { data } = props;\n if (data.type === 'AGGREGATOR') {\n return ;\n } else if (data.type === 'FRANCHISE') {\n return ;\n }\n\n return ;\n};\n\nRoleType.propTypes = {\n data: PropTypes.object,\n};\n\nconst getParentDetails = (entityType, entitySelectedValue) => {\n if (entityType.toUpperCase() === 'MLE') {\n let entityType = 'FRANCHISE';\n if (entitySelectedValue.aggregator && entitySelectedValue.franchise) {\n return {\n value: entitySelectedValue.franchise,\n type: entityType,\n };\n } else if (\n entitySelectedValue.aggregator &&\n !entitySelectedValue.franchise\n ) {\n entityType = 'AGGREGATOR';\n return {\n value: entitySelectedValue.aggregator,\n type: entityType,\n };\n } else if (\n !entitySelectedValue.aggregator &&\n entitySelectedValue.franchise\n ) {\n return {\n value: entitySelectedValue.franchise,\n type: entityType,\n };\n }\n } else if (entityType.toUpperCase() === 'FRANCHISE') {\n const entityType = 'AGGREGATOR';\n if (entitySelectedValue.aggregator) {\n return {\n value: entitySelectedValue.aggregator,\n type: entityType,\n };\n }\n }\n return null;\n};\n\nconst AddRole = props => {\n const [showFilter, setShowFilter] = useState(false);\n const {\n data,\n onRoleSelect,\n actions,\n isViewMode,\n entityValue,\n entitySelectedValue,\n setEntityValues,\n id,\n hierarchyLoader,\n } = props;\n\n const handleOpenAddRole = () => {\n setShowFilter(true);\n };\n\n const handleCloseAddRole = (onSuccessClose, entityType) => {\n actions.createEntityError({\n error: {},\n });\n if (onSuccessClose && entityType) {\n const parentDetails = getParentDetails(\n entityType,\n entitySelectedValue\n );\n if (parentDetails) {\n const { type, value } = parentDetails;\n actions.fetchEntityHierarchyRequest(\n value,\n 'LOWER_COMPLETE',\n type\n );\n } else {\n actions.fetchEntityListRequest(entityType);\n }\n }\n setShowFilter(false);\n };\n\n console.log(data, \"data\");\n\n return (\n
  • \n {\n onRoleSelect(value, originalData, data.type);\n const values = entitySelectedValue;\n values[data.name] = value;\n setEntityValues(values);\n }}\n disabled={isViewMode}\n />\n \n \n \n \n
  • \n );\n};\n\nAddRole.propTypes = {\n actions: PropTypes.object,\n data: PropTypes.object,\n onRoleSelect: PropTypes.func,\n isViewMode: PropTypes.bool,\n entityValue: PropTypes.string,\n entitySelectedValue: PropTypes.object,\n setEntityValues: PropTypes.func,\n id: PropTypes.string,\n hierarchyLoader: PropTypes.number,\n};\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createEntityError,\n fetchEntityListRequest,\n fetchEntityHierarchyRequest,\n },\n dispatch\n ),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AddRole);\n","import { isNumeric } from 'utils/helperMethods';\nimport { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED, EMAIL, MAX_LENGTH } = validators;\n const errors = {};\n if(REQUIRED(values.integrationType)) {\n errors.integrationType = 'Please select Integration Type';\n }\n if (REQUIRED(values.name)) {\n errors.name = 'Please enter Merchant Name';\n }\n\n if (values.name) {\n errors.name = MAX_LENGTH(values.name, 50);\n }\n\n if (REQUIRED(values.email)) {\n errors.email = 'Please enter a email address';\n }\n if (REQUIRED(values.pinCode) || values.pinCode?.length !== 6) {\n errors.pinCode = 'Please enter 6 digit Pin Code';\n }\n if (!isNumeric(values.pinCode)) {\n errors.pinCode = 'Please enter valid 6 digit Pin Code';\n }\n if (REQUIRED(values.turnoverCategory)) {\n errors.turnoverCategory = 'Please select a Turnover Category';\n }\n if (REQUIRED(values.state)) {\n errors.state = 'Please select a state';\n }\n if (values.mobileNumber && values.mobileNumber.length !== 10) {\n errors.mobileNumber = 'Please enter valid 10 digit mobile number';\n }\n if (values.mobileNumber && !isNumeric(values.mobileNumber)) {\n errors.mobileNumber = 'Please enter valid 10 digit mobile number';\n }\n\n if (REQUIRED(values.city)) {\n errors.city = 'Please select a city';\n }\n if (REQUIRED(values.addressLine1)) {\n errors.addressLine1 = 'Please enter address';\n }\n if (MAX_LENGTH(values.addressLine1, 256)) {\n errors.addressLine1 = 'Address length can not be more than 256 chars';\n }\n if (REQUIRED(values.gstNumber) || values.gstNumber?.length !== 15) {\n errors.gstNumber = 'Please enter 15 digit GST Number';\n }\n if (REQUIRED(values.pan) || values.pan?.length !== 10) {\n errors.pan = 'Please enter 10 digit PAN Number';\n }\n\n if (EMAIL(values.email)) {\n errors.email = 'Please enter a valid email address';\n }\n\n if (REQUIRED(values.userEmail)) {\n errors.userEmail = 'Please enter a email address';\n }\n\n if (EMAIL(values.userEmail)) {\n errors.userEmail = 'Please enter a valid email address';\n }\n\n if (REQUIRED(values.axisAcquiredMerchantId)) {\n errors.axisAcquiredMerchantId = 'Please enter Axis MID';\n }\n\n if (values.axisAcquiredMerchantId) {\n errors.axisAcquiredMerchantId = MAX_LENGTH(\n values.axisAcquiredMerchantId,\n 50\n );\n }\n\n if (REQUIRED(values.relationshipManagerId)) {\n errors.relationshipManagerId = 'Please enter Relationship Manager Name';\n }\n\n if (REQUIRED(values.merchantCategory)) {\n errors.merchantCategory = 'Please enter Merchant Category';\n }\n\n if (REQUIRED(values.mcc)) {\n errors.mcc = 'Please enter Merchant Category Code';\n }\n return errors;\n};\n\nexport default validate;\n","export const stateCity = {\n 'Andaman and Nicobar Islands': ['Port Blair'],\n 'Andhra Pradesh': [\n 'Adoni',\n 'Amalapuram',\n 'Anakapalle',\n 'Anantapur',\n 'Bapatla',\n 'Bheemunipatnam',\n 'Bhimavaram',\n 'Bobbili',\n 'Chilakaluripet',\n 'Chirala',\n 'Chittoor',\n 'Dharmavaram',\n 'Eluru',\n 'Gooty',\n 'Gudivada',\n 'Gudur',\n 'Guntakal',\n 'Guntur',\n 'Hindupur',\n 'Jaggaiahpet',\n 'Jammalamadugu',\n 'Kadapa',\n 'Kadiri',\n 'Kakinada',\n 'Kandukur',\n 'Kavali',\n 'Kovvur',\n 'Kurnool',\n 'Macherla',\n 'Machilipatnam',\n 'Madanapalle',\n 'Mandapeta',\n 'Markapur',\n 'Nagari',\n 'Naidupet',\n 'Nandyal',\n 'Narasapuram',\n 'Narasaraopet',\n 'Narsipatnam',\n 'Nellore',\n 'Nidadavole',\n 'Nuzvid',\n 'Ongole',\n 'Palacole',\n 'Palasa Kasibugga',\n 'Parvathipuram',\n 'Pedana',\n 'Peddapuram',\n 'Pithapuram',\n 'Ponnur',\n 'Proddatur',\n 'Punganur',\n 'Puttur',\n 'Rajahmundry',\n 'Rajam',\n 'Rajampet',\n 'Ramachandrapuram',\n 'Rayachoti',\n 'Rayadurg',\n 'Renigunta',\n 'Repalle',\n 'Salur',\n 'Samalkot',\n 'Sattenapalle',\n 'Srikakulam',\n 'Srikalahasti',\n 'Srisailam Project (Right Flank Colony) Township',\n 'Sullurpeta',\n 'Tadepalligudem',\n 'Tadpatri',\n 'Tanuku',\n 'Tenali',\n 'Tirupati',\n 'Tiruvuru',\n 'Tuni',\n 'Uravakonda',\n 'Venkatagiri',\n 'Vijayawada',\n 'Vinukonda',\n 'Visakhapatnam',\n 'Vizianagaram',\n 'Yemmiganur',\n 'Yerraguntla',\n ],\n 'Arunachal Pradesh': ['Naharlagun', 'Pasighat'],\n Assam: [\n 'Barpeta',\n 'Bongaigaon City',\n 'Dhubri',\n 'Dibrugarh',\n 'Diphu',\n 'Goalpara',\n 'Guwahati',\n 'Jorhat',\n 'Karimganj',\n 'Lanka',\n 'Lumding',\n 'Mangaldoi',\n 'Mankachar',\n 'Margherita',\n 'Mariani',\n 'Marigaon',\n 'Nagaon',\n 'Nalbari',\n 'North Lakhimpur',\n 'Rangia',\n 'Sibsagar',\n 'Silapathar',\n 'Silchar',\n 'Tezpur',\n 'Tinsukia',\n ],\n Bihar: [\n 'Araria',\n 'Arrah',\n 'Arwal',\n 'Asarganj',\n 'Aurangabad',\n 'Bagaha',\n 'Barh',\n 'Begusarai',\n 'Bettiah',\n 'Bhabua',\n 'Bhagalpur',\n 'Buxar',\n 'Chhapra',\n 'Darbhanga',\n 'Dehri-on-Sone',\n 'Dumraon',\n 'Forbesganj',\n 'Gaya',\n 'Gopalganj',\n 'Hajipur',\n 'Jamalpur',\n 'Jamui',\n 'Jehanabad',\n 'Katihar',\n 'Kishanganj',\n 'Lakhisarai',\n 'Lalganj',\n 'Madhepura',\n 'Madhubani',\n 'Maharajganj',\n 'Mahnar Bazar',\n 'Makhdumpur',\n 'Maner',\n 'Manihari',\n 'Marhaura',\n 'Masaurhi',\n 'Mirganj',\n 'Mokameh',\n 'Motihari',\n 'Motipur',\n 'Munger',\n 'Murliganj',\n 'Muzaffarpur',\n 'Narkatiaganj',\n 'Naugachhia',\n 'Nawada',\n 'Nokha',\n 'Patna',\n 'Piro',\n 'Purnia',\n 'Rafiganj',\n 'Rajgir',\n 'Ramnagar',\n 'Raxaul Bazar',\n 'Revelganj',\n 'Rosera',\n 'Saharsa',\n 'Samastipur',\n 'Sasaram',\n 'Sheikhpura',\n 'Sheohar',\n 'Sherghati',\n 'Silao',\n 'Sitamarhi',\n 'Siwan',\n 'Sonepur',\n 'Sugauli',\n 'Sultanganj',\n 'Supaul',\n 'Warisaliganj',\n ],\n Chandigarh: ['Chandigarh'],\n Chhattisgarh: [\n 'Ambikapur',\n 'Bhatapara',\n 'Bhilai Nagar',\n 'Bilaspur',\n 'Chirmiri',\n 'Dalli-Rajhara',\n 'Dhamtari',\n 'Durg',\n 'Jagdalpur',\n 'Korba',\n 'Mahasamund',\n 'Manendragarh',\n 'Mungeli',\n 'Naila Janjgir',\n 'Raigarh',\n 'Raipur',\n 'Rajnandgaon',\n 'Sakti',\n 'Tilda Newra',\n ],\n 'Dadra and Nagar Haveli': ['Silvassa'],\n Delhi: ['Delhi', 'New Delhi'],\n Goa: ['Mapusa', 'Margao', 'Marmagao', 'Panaji'],\n Gujarat: [\n 'Adalaj',\n 'Ahmedabad',\n 'Amreli',\n 'Anand',\n 'Anjar',\n 'Ankleshwar',\n 'Bharuch',\n 'Bhavnagar',\n 'Bhuj',\n 'Chhapra',\n 'Deesa',\n 'Dhoraji',\n 'Godhra',\n 'Jamnagar',\n 'Kadi',\n 'Kapadvanj',\n 'Keshod',\n 'Khambhat',\n 'Lathi',\n 'Limbdi',\n 'Lunawada',\n 'Mahesana',\n 'Mahuva',\n 'Manavadar',\n 'Mandvi',\n 'Mangrol',\n 'Mansa',\n 'Mahemdabad',\n 'Modasa',\n 'Morvi',\n 'Nadiad',\n 'Navsari',\n 'Padra',\n 'Palanpur',\n 'Palitana',\n 'Pardi',\n 'Patan',\n 'Petlad',\n 'Porbandar',\n 'Radhanpur',\n 'Rajkot',\n 'Rajpipla',\n 'Rajula',\n 'Ranavav',\n 'Rapar',\n 'Salaya',\n 'Sanand',\n 'Savarkundla',\n 'Sidhpur',\n 'Sihor',\n 'Songadh',\n 'Surat',\n 'Talaja',\n 'Thangadh',\n 'Tharad',\n 'Umbergaon',\n 'Umreth',\n 'Una',\n 'Unjha',\n 'Upleta',\n 'Vadnagar',\n 'Vadodara',\n 'Valsad',\n 'Vapi',\n 'Vapi',\n 'Veraval',\n 'Vijapur',\n 'Viramgam',\n 'Visnagar',\n 'Vyara',\n 'Wadhwan',\n 'Wankaner',\n ],\n Haryana: [\n 'Ambala',\n 'Bahadurgarh',\n 'Bhiwani',\n 'Charkhi Dadri',\n 'Faridabad',\n 'Fatehabad',\n 'Gohana',\n 'Gurgaon',\n 'Hansi',\n 'Hisar',\n 'Jind',\n 'Kaithal',\n 'Karnal',\n 'Ladwa',\n 'Mahendragarh',\n 'Mandi Dabwali',\n 'Narnaul',\n 'Narwana',\n 'Palwal',\n 'Panchkula',\n 'Panipat',\n 'Pehowa',\n 'Pinjore',\n 'Rania',\n 'Ratia',\n 'Rewari',\n 'Rohtak',\n 'Safidon',\n 'Samalkha',\n 'Sarsod',\n 'Shahbad',\n 'Sirsa',\n 'Sohna',\n 'Sonipat',\n 'Taraori',\n 'Thanesar',\n 'Tohana',\n 'Yamunanagar',\n ],\n 'Himachal Pradesh': [\n 'Mandi',\n 'Nahan',\n 'Palampur',\n 'Shimla',\n 'Solan',\n 'Sundarnagar',\n ],\n 'Jammu and Kashmir': [\n 'Anantnag',\n 'Baramula',\n 'Jammu',\n 'Kathua',\n 'Punch',\n 'Rajauri',\n 'Sopore',\n 'Srinagar',\n 'Udhampur',\n ],\n Jharkhand: [\n 'Adityapur',\n 'Bokaro Steel City',\n 'Chaibasa',\n 'Chatra',\n 'Chirkunda',\n 'Medininagar (Daltonganj)',\n 'Deoghar',\n 'Dhanbad',\n 'Dumka',\n 'Giridih',\n 'Gumia',\n 'Hazaribag',\n 'Jamshedpur',\n 'Jhumri Tilaiya',\n 'Lohardaga',\n 'Madhupur',\n 'Mihijam',\n 'Musabani',\n 'Pakaur',\n 'Patratu',\n 'Phusro',\n 'Ramgarh',\n 'Ranchi',\n 'Sahibganj',\n 'Saunda',\n 'Simdega',\n 'Tenu dam-cum-Kathhara',\n ],\n Karnataka: [\n 'Adyar',\n 'Afzalpur',\n 'Arsikere',\n 'Athni',\n 'Bengaluru',\n 'Belagavi',\n 'Ballari',\n 'Chikkamagaluru',\n 'Davanagere',\n 'Gokak',\n 'Hubli-Dharwad',\n 'Karwar',\n 'Kolar',\n 'Lakshmeshwar',\n 'Lingsugur',\n 'Maddur',\n 'Madhugiri',\n 'Madikeri',\n 'Magadi',\n 'Mahalingapura',\n 'Malavalli',\n 'Malur',\n 'Mandya',\n 'Mangaluru',\n 'Manvi',\n 'Mudalagi',\n 'Mudabidri',\n 'Muddebihal',\n 'Mudhol',\n 'Mulbagal',\n 'Mundargi',\n 'Nanjangud',\n 'Nargund',\n 'Navalgund',\n 'Nelamangala',\n 'Pavagada',\n 'Piriyapatna',\n 'Puttur',\n 'Rabkavi Banhatti',\n 'Raayachuru',\n 'Ranebennuru',\n 'Ramanagaram',\n 'Ramdurg',\n 'Ranibennur',\n 'Robertson Pet',\n 'Ron',\n 'Sadalagi',\n 'Sagara',\n 'Sakaleshapura',\n 'Sindagi',\n 'Sanduru',\n 'Sankeshwara',\n 'Saundatti-Yellamma',\n 'Savanur',\n 'Sedam',\n 'Shahabad',\n 'Shahpur',\n 'Shiggaon',\n 'Shikaripur',\n 'Shivamogga',\n 'Surapura',\n 'Shrirangapattana',\n 'Sidlaghatta',\n 'Sindhagi',\n 'Sindhnur',\n 'Sira',\n 'Sirsi',\n 'Siruguppa',\n 'Srinivaspur',\n 'Tarikere',\n 'Tekkalakote',\n 'Terdal',\n 'Talikota',\n 'Tiptur',\n 'Tumkur',\n 'Udupi',\n 'Vijayapura',\n 'Wadi',\n 'Yadgir',\n 'Mysore',\n ],\n Kerala: [\n 'Adoor',\n 'Alappuzha',\n 'Attingal',\n 'Chalakudy',\n 'Changanassery',\n 'Cherthala',\n 'Chittur-Thathamangalam',\n 'Guruvayoor',\n 'Kanhangad',\n 'Kannur',\n 'Kasaragod',\n 'Kayamkulam',\n 'Kochi',\n 'Kodungallur',\n 'Kollam',\n 'Kottayam',\n 'Kozhikode',\n 'Kunnamkulam',\n 'Malappuram',\n 'Mattannur',\n 'Mavelikkara',\n 'Mavoor',\n 'Muvattupuzha',\n 'Nedumangad',\n 'Neyyattinkara',\n 'Nilambur',\n 'Ottappalam',\n 'Palai',\n 'Palakkad',\n 'Panamattom',\n 'Panniyannur',\n 'Pappinisseri',\n 'Paravoor',\n 'Pathanamthitta',\n 'Peringathur',\n 'Perinthalmanna',\n 'Perumbavoor',\n 'Ponnani',\n 'Punalur',\n 'Puthuppally',\n 'Koyilandy',\n 'Shoranur',\n 'Taliparamba',\n 'Thiruvalla',\n 'Thiruvananthapuram',\n 'Thodupuzha',\n 'Thrissur',\n 'Tirur',\n 'Vaikom',\n 'Varkala',\n 'Vatakara',\n ],\n 'Madhya Pradesh': [\n 'Alirajpur',\n 'Ashok Nagar',\n 'Balaghat',\n 'Bhopal',\n 'Ganjbasoda',\n 'Gwalior',\n 'Indore',\n 'Itarsi',\n 'Jabalpur',\n 'Lahar',\n 'Maharajpur',\n 'Mahidpur',\n 'Maihar',\n 'Malaj Khand',\n 'Manasa',\n 'Manawar',\n 'Mandideep',\n 'Mandla',\n 'Mandsaur',\n 'Mauganj',\n 'Mhow Cantonment',\n 'Mhowgaon',\n 'Morena',\n 'Multai',\n 'Mundi',\n 'Murwara (Katni)',\n 'Nagda',\n 'Nainpur',\n 'Narsinghgarh',\n 'Narsinghgarh',\n 'Neemuch',\n 'Nepanagar',\n 'Niwari',\n 'Nowgong',\n 'Nowrozabad (Khodargama)',\n 'Pachore',\n 'Pali',\n 'Panagar',\n 'Pandhurna',\n 'Panna',\n 'Pasan',\n 'Pipariya',\n 'Pithampur',\n 'Porsa',\n 'Prithvipur',\n 'Raghogarh-Vijaypur',\n 'Rahatgarh',\n 'Raisen',\n 'Rajgarh',\n 'Ratlam',\n 'Rau',\n 'Rehli',\n 'Rewa',\n 'Sabalgarh',\n 'Sagar',\n 'Sanawad',\n 'Sarangpur',\n 'Sarni',\n 'Satna',\n 'Sausar',\n 'Sehore',\n 'Sendhwa',\n 'Seoni',\n 'Seoni-Malwa',\n 'Shahdol',\n 'Shajapur',\n 'Shamgarh',\n 'Sheopur',\n 'Shivpuri',\n 'Shujalpur',\n 'Sidhi',\n 'Sihora',\n 'Singrauli',\n 'Sironj',\n 'Sohagpur',\n 'Tarana',\n 'Tikamgarh',\n 'Ujjain',\n 'Umaria',\n 'Vidisha',\n 'Vijaypur',\n 'Wara Seoni',\n ],\n Maharashtra: [\n '[[]]',\n 'Ahmednagar',\n 'Akola',\n 'Akot',\n 'Amalner',\n 'Ambejogai',\n 'Amravati',\n 'Anjangaon',\n 'Arvi',\n 'Aurangabad',\n 'Bhiwandi',\n 'Dhule',\n 'Kalyan-Dombivali',\n 'Ichalkaranji',\n 'Kalyan-Dombivali',\n 'Karjat',\n 'Latur',\n 'Loha',\n 'Lonar',\n 'Lonavla',\n 'Mahad',\n 'Malegaon',\n 'Malkapur',\n 'Mangalvedhe',\n 'Mangrulpir',\n 'Manjlegaon',\n 'Manmad',\n 'Manwath',\n 'Mehkar',\n 'Mhaswad',\n 'Mira-Bhayandar',\n 'Morshi',\n 'Mukhed',\n 'Mul',\n 'Greater Mumbai',\n 'Murtijapur',\n 'Nagpur',\n 'Nanded-Waghala',\n 'Nandgaon',\n 'Nandura',\n 'Nandurbar',\n 'Narkhed',\n 'Nashik',\n 'Navi Mumbai',\n 'Nawapur',\n 'Nilanga',\n 'Osmanabad',\n 'Ozar',\n 'Pachora',\n 'Paithan',\n 'Palghar',\n 'Pandharkaoda',\n 'Pandharpur',\n 'Panvel',\n 'Parbhani',\n 'Parli',\n 'Partur',\n 'Pathardi',\n 'Pathri',\n 'Patur',\n 'Pauni',\n 'Pen',\n 'Phaltan',\n 'Pulgaon',\n 'Pune',\n 'Purna',\n 'Pusad',\n 'Rahuri',\n 'Rajura',\n 'Ramtek',\n 'Ratnagiri',\n 'Raver',\n 'Risod',\n 'Sailu',\n 'Sangamner',\n 'Sangli',\n 'Sangole',\n 'Sasvad',\n 'Satana',\n 'Satara',\n 'Savner',\n 'Sawantwadi',\n 'Shahade',\n 'Shegaon',\n 'Shendurjana',\n 'Shirdi',\n 'Shirpur-Warwade',\n 'Shirur',\n 'Shrigonda',\n 'Shrirampur',\n 'Sillod',\n 'Sinnar',\n 'Solapur',\n 'Soyagaon',\n 'Talegaon Dabhade',\n 'Talode',\n 'Tasgaon',\n 'Thane',\n 'Tirora',\n 'Tuljapur',\n 'Tumsar',\n 'Uchgaon',\n 'Udgir',\n 'Umarga',\n 'Umarkhed',\n 'Umred',\n 'Uran',\n 'Uran Islampur',\n 'Vadgaon Kasba',\n 'Vaijapur',\n 'Vasai-Virar',\n 'Vita',\n 'Wadgaon Road',\n 'Wai',\n 'Wani',\n 'Wardha',\n 'Warora',\n 'Warud',\n 'Washim',\n 'Yavatmal',\n 'Yawal',\n 'Yevla',\n ],\n Manipur: ['Imphal', 'Lilong', 'Mayang Imphal', 'Thoubal'],\n Meghalaya: ['Nongstoin', 'Shillong', 'Tura'],\n Mizoram: ['Aizawl', 'Lunglei', 'Saiha'],\n Nagaland: [\n 'Dimapur',\n 'Kohima',\n 'Mokokchung',\n 'Tuensang',\n 'Wokha',\n 'Zunheboto',\n ],\n Odisha: [\n 'Balangir',\n 'Baleshwar Town',\n 'Barbil',\n 'Bargarh',\n 'Baripada Town',\n 'Bhadrak',\n 'Bhawanipatna',\n 'Bhubaneswar',\n 'Brahmapur',\n 'Byasanagar',\n 'Cuttack',\n 'Dhenkanal',\n 'Jatani',\n 'Jharsuguda',\n 'Kendrapara',\n 'Kendujhar',\n 'Malkangiri',\n 'Nabarangapur',\n 'Paradip',\n 'Parlakhemundi',\n 'Pattamundai',\n 'Phulabani',\n 'Puri',\n 'Rairangpur',\n 'Rajagangapur',\n 'Raurkela',\n 'Rayagada',\n 'Sambalpur',\n 'Soro',\n 'Sunabeda',\n 'Sundargarh',\n 'Talcher',\n 'Tarbha',\n 'Titlagarh',\n ],\n Puducherry: ['Karaikal', 'Mahe', 'Pondicherry', 'Yanam'],\n Punjab: [\n 'Amritsar',\n 'Barnala',\n 'Batala',\n 'Bathinda',\n 'Dhuri',\n 'Faridkot',\n 'Fazilka',\n 'Firozpur',\n 'Firozpur Cantt.',\n 'Gobindgarh',\n 'Gurdaspur',\n 'Hoshiarpur',\n 'Jagraon',\n 'Jalandhar Cantt.',\n 'Jalandhar',\n 'Kapurthala',\n 'Khanna',\n 'Kharar',\n 'Kot Kapura',\n 'Longowal',\n 'Ludhiana',\n 'Malerkotla',\n 'Malout',\n 'Mansa',\n 'Moga',\n 'Mohali',\n 'Morinda, India',\n 'Mukerian',\n 'Muktsar',\n 'Nabha',\n 'Nakodar',\n 'Nangal',\n 'Nawanshahr',\n 'Pathankot',\n 'Patiala',\n 'Pattran',\n 'Patti',\n 'Phagwara',\n 'Phillaur',\n 'Qadian',\n 'Raikot',\n 'Rajpura',\n 'Rampura Phul',\n 'Rupnagar',\n 'Samana',\n 'Sangrur',\n 'Sirhind Fatehgarh Sahib',\n 'Sujanpur',\n 'Sunam',\n 'Talwara',\n 'Tarn Taran',\n 'Urmar Tanda',\n 'Zira',\n 'Zirakpur',\n ],\n Rajasthan: [\n 'Ajmer',\n 'Alwar',\n 'Bikaner',\n 'Bharatpur',\n 'Bhilwara',\n 'Jaipur',\n 'Jodhpur',\n 'Lachhmangarh',\n 'Ladnu',\n 'Lakheri',\n 'Lalsot',\n 'Losal',\n 'Makrana',\n 'Malpura',\n 'Mandalgarh',\n 'Mandawa',\n 'Mangrol',\n 'Merta City',\n 'Mount Abu',\n 'Nadbai',\n 'Nagar',\n 'Nagaur',\n 'Nasirabad',\n 'Nathdwara',\n 'Neem-Ka-Thana',\n 'Nimbahera',\n 'Nohar',\n 'Nokha',\n 'Pali',\n 'Phalodi',\n 'Phulera',\n 'Pilani',\n 'Pilibanga',\n 'Pindwara',\n 'Pipar City',\n 'Prantij',\n 'Pratapgarh',\n 'Raisinghnagar',\n 'Rajakhera',\n 'Rajaldesar',\n 'Rajgarh (Alwar)',\n 'Rajgarh (Churu)',\n 'Rajsamand',\n 'Ramganj Mandi',\n 'Ramngarh',\n 'Ratangarh',\n 'Rawatbhata',\n 'Rawatsar',\n 'Reengus',\n 'Sadri',\n 'Sadulshahar',\n 'Sadulpur',\n 'Sagwara',\n 'Sambhar',\n 'Sanchore',\n 'Sangaria',\n 'Sardarshahar',\n 'Sawai Madhopur',\n 'Shahpura',\n 'Shahpura',\n 'Sheoganj',\n 'Sikar',\n 'Sirohi',\n 'Sojat',\n 'Sri Madhopur',\n 'Sujangarh',\n 'Sumerpur',\n 'Suratgarh',\n 'Taranagar',\n 'Todabhim',\n 'Todaraisingh',\n 'Tonk',\n 'Udaipur',\n 'Udaipurwati',\n 'Vijainagar, Ajmer',\n ],\n 'Tamil Nadu': [\n 'Arakkonam',\n 'Aruppukkottai',\n 'Chennai',\n 'Coimbatore',\n 'Erode',\n 'Gobichettipalayam',\n 'Kancheepuram',\n 'Karur',\n 'Lalgudi',\n 'Madurai',\n 'Manachanallur',\n 'Nagapattinam',\n 'Nagercoil',\n 'Namagiripettai',\n 'Namakkal',\n 'Nandivaram-Guduvancheri',\n 'Nanjikottai',\n 'Natham',\n 'Nellikuppam',\n 'Neyveli (TS)',\n \"O' Valley\",\n 'Oddanchatram',\n 'P.N.Patti',\n 'Pacode',\n 'Padmanabhapuram',\n 'Palani',\n 'Palladam',\n 'Pallapatti',\n 'Pallikonda',\n 'Panagudi',\n 'Panruti',\n 'Paramakudi',\n 'Parangipettai',\n 'Pattukkottai',\n 'Perambalur',\n 'Peravurani',\n 'Periyakulam',\n 'Periyasemur',\n 'Pernampattu',\n 'Pollachi',\n 'Polur',\n 'Ponneri',\n 'Pudukkottai',\n 'Pudupattinam',\n 'Puliyankudi',\n 'Punjaipugalur',\n 'Ranipet',\n 'Rajapalayam',\n 'Ramanathapuram',\n 'Rameshwaram',\n 'Rasipuram',\n 'Salem',\n 'Sankarankoil',\n 'Sankari',\n 'Sathyamangalam',\n 'Sattur',\n 'Shenkottai',\n 'Sholavandan',\n 'Sholingur',\n 'Sirkali',\n 'Sivaganga',\n 'Sivagiri',\n 'Sivakasi',\n 'Srivilliputhur',\n 'Surandai',\n 'Suriyampalayam',\n 'Tenkasi',\n 'Thammampatti',\n 'Thanjavur',\n 'Tharamangalam',\n 'Tharangambadi',\n 'Theni Allinagaram',\n 'Thirumangalam',\n 'Thirupuvanam',\n 'Thiruthuraipoondi',\n 'Thiruvallur',\n 'Thiruvarur',\n 'Thuraiyur',\n 'Tindivanam',\n 'Tiruchendur',\n 'Tiruchengode',\n 'Tiruchirappalli',\n 'Tirukalukundram',\n 'Tirukkoyilur',\n 'Tirunelveli',\n 'Tirupathur',\n 'Tirupathur',\n 'Tiruppur',\n 'Tiruttani',\n 'Tiruvannamalai',\n 'Tiruvethipuram',\n 'Tittakudi',\n 'Udhagamandalam',\n 'Udumalaipettai',\n 'Unnamalaikadai',\n 'Usilampatti',\n 'Uthamapalayam',\n 'Uthiramerur',\n 'Vadakkuvalliyur',\n 'Vadalur',\n 'Vadipatti',\n 'Valparai',\n 'Vandavasi',\n 'Vaniyambadi',\n 'Vedaranyam',\n 'Vellakoil',\n 'Vellore',\n 'Vikramasingapuram',\n 'Viluppuram',\n 'Virudhachalam',\n 'Virudhunagar',\n 'Viswanatham',\n ],\n Telangana: [\n 'Adilabad',\n 'Bellampalle',\n 'Bhadrachalam',\n 'Bhainsa',\n 'Bhongir',\n 'Bodhan',\n 'Farooqnagar',\n 'Gadwal',\n 'Hyderabad',\n 'Jagtial',\n 'Jangaon',\n 'Kagaznagar',\n 'Kamareddy',\n 'Karimnagar',\n 'Khammam',\n 'Koratla',\n 'Kothagudem',\n 'Kyathampalle',\n 'Mahbubnagar',\n 'Mancherial',\n 'Mandamarri',\n 'Manuguru',\n 'Medak',\n 'Miryalaguda',\n 'Nagarkurnool',\n 'Narayanpet',\n 'Nirmal',\n 'Nizamabad',\n 'Palwancha',\n 'Ramagundam',\n 'Sadasivpet',\n 'Sangareddy',\n 'Siddipet',\n 'Sircilla',\n 'Suryapet',\n 'Tandur',\n 'Vikarabad',\n 'Wanaparthy',\n 'Warangal',\n 'Yellandu',\n ],\n Tripura: [\n 'Agartala',\n 'Belonia',\n 'Dharmanagar',\n 'Kailasahar',\n 'Khowai',\n 'Pratapgarh',\n 'Udaipur',\n ],\n 'Uttar Pradesh': [\n 'Achhnera',\n 'Agra',\n 'Aligarh',\n 'Allahabad',\n 'Amroha',\n 'Azamgarh',\n 'Bahraich',\n 'Bareilly',\n 'Chandausi',\n 'Etawah',\n 'Firozabad',\n 'Fatehpur Sikri',\n 'Ghaziabad',\n 'Hapur',\n 'Hardoi ',\n 'Jhansi',\n 'Kalpi',\n 'Kanpur',\n 'Khair',\n 'Laharpur',\n 'Lakhimpur',\n 'Lal Gopalganj Nindaura',\n 'Lalitpur',\n 'Lalganj',\n 'Lar',\n 'Loni',\n 'Lucknow',\n 'Mathura',\n 'Meerut',\n 'Modinagar',\n 'Moradabad',\n 'Nagina',\n 'Najibabad',\n 'Nakur',\n 'Nanpara',\n 'Naraura',\n 'Naugawan Sadat',\n 'Nautanwa',\n 'Nawabganj',\n 'Nehtaur',\n 'Niwai',\n 'Noida',\n 'Noorpur',\n 'Obra',\n 'Orai',\n 'Padrauna',\n 'Palia Kalan',\n 'Parasi',\n 'Phulpur',\n 'Pihani',\n 'Pilibhit',\n 'Pilkhuwa',\n 'Powayan',\n 'Pukhrayan',\n 'Puranpur',\n 'Purquazi',\n 'Purwa',\n 'Rae Bareli',\n 'Rampur',\n 'Rampur Maniharan',\n 'Rampur Maniharan',\n 'Rasra',\n 'Rath',\n 'Renukoot',\n 'Reoti',\n 'Robertsganj',\n 'Rudauli',\n 'Rudrapur',\n 'Sadabad',\n 'Safipur',\n 'Saharanpur',\n 'Sahaspur',\n 'Sahaswan',\n 'Sahawar',\n 'Sahjanwa',\n 'Saidpur',\n 'Sambhal',\n 'Samdhan',\n 'Samthar',\n 'Sandi',\n 'Sandila',\n 'Sardhana',\n 'Seohara',\n 'Shahabad, Hardoi',\n 'Shahabad, Rampur',\n 'Shahganj',\n 'Shahjahanpur',\n 'Shamli',\n 'Shamsabad, Agra',\n 'Shamsabad, Farrukhabad',\n 'Sherkot',\n 'Shikarpur, Bulandshahr',\n 'Shikohabad',\n 'Shishgarh',\n 'Siana',\n 'Sikanderpur',\n 'Sikandra Rao',\n 'Sikandrabad',\n 'Sirsaganj',\n 'Sirsi',\n 'Sitapur',\n 'Soron',\n 'Suar',\n 'Sultanpur',\n 'Sumerpur',\n 'Tanda',\n 'Thakurdwara',\n 'Thana Bhawan',\n 'Tilhar',\n 'Tirwaganj',\n 'Tulsipur',\n 'Tundla',\n 'Ujhani',\n 'Unnao',\n 'Utraula',\n 'Varanasi',\n 'Vrindavan',\n 'Warhapur',\n 'Zaidpur',\n 'Zamania',\n ],\n Uttarakhand: [\n 'Bageshwar',\n 'Dehradun',\n 'Haldwani-cum-Kathgodam',\n 'Hardwar',\n 'Kashipur',\n 'Manglaur',\n 'Mussoorie',\n 'Nagla',\n 'Nainital',\n 'Pauri',\n 'Pithoragarh',\n 'Ramnagar',\n 'Rishikesh',\n 'Roorkee',\n 'Rudrapur',\n 'Sitarganj',\n 'Srinagar',\n 'Tehri',\n ],\n 'West Bengal': [\n 'Adra',\n 'Alipurduar',\n 'Arambagh',\n 'Asansol',\n 'Baharampur',\n 'Balurghat',\n 'Bankura',\n 'Barabazar',\n 'Darjiling',\n 'English Bazar',\n 'Gangarampur',\n 'Habra',\n 'Hugli-Chinsurah',\n 'Jalpaiguri',\n 'Jhargram',\n 'Kalimpong',\n 'Kharagpur',\n 'Kolkata',\n 'Mainaguri',\n 'Malda',\n 'Mathabhanga',\n 'Medinipur',\n 'Memari',\n 'Monoharpur',\n 'Murshidabad',\n 'Nabadwip',\n 'Naihati',\n 'Panchla',\n 'Pandua',\n 'Paschim Punropara',\n 'Purulia',\n 'Raghunathpur',\n 'Raghunathganj',\n 'Raiganj',\n 'Rampurhat',\n 'Ranaghat',\n 'Sainthia',\n 'Santipur',\n 'Siliguri',\n 'Sonamukhi',\n 'Srirampore',\n 'Suri',\n 'Taki',\n 'Tamluk',\n 'Tarakeswar',\n ],\n};\n\nexport const businessType = [\n 'Individual',\n 'sole proprietorship',\n 'Company - public/private ltd',\n 'Partnership firm/LLP',\n 'trust',\n 'unincorporated association or a body of individuals',\n 'juridical person',\n];\n\nexport const mleTurnOverCategory = ['Small', 'Medium', 'Large'];\n\nexport const turnOverCategory = ['Small', 'Large'];\n\nexport const stateCode = {\n 'Jammu and Kashmir': '01',\n 'Himachal Pradesh': '02',\n Punjab: '03',\n Chandigarh: '04',\n Uttarakhand: '05',\n Haryana: '06',\n Delhi: '07',\n Rajasthan: '08',\n 'Uttar Pradesh': '09',\n Bihar: '10',\n Sikkim: '11',\n 'Arunachal Pradesh': '12',\n Nagaland: '13',\n Manipur: '14',\n Mizoram: '15',\n Tripura: '16',\n Meghalya: '17',\n Assam: '18',\n 'West Bengal': '19',\n Jharkhand: '20',\n Odisha: '21',\n Chhattisgarh: '22',\n 'Madhya Pradesh': '23',\n Gujarat: '24',\n 'Dadra and Nagar Haveli': '26',\n Maharashtra: '27',\n 'Andhra Pradesh': '28',\n Karnataka: '29',\n Goa: '30',\n LAKSHADWEEP: '31',\n Kerala: '32',\n 'Tamil Nadu': '33',\n Puducherry: '34',\n 'Andaman and Nicobar Islands': '35',\n Telangana: '36',\n 'Andhra Pradesh (new)': '37',\n Ladakh: '38',\n};\n","/* eslint-disable max-lines-per-function */\n/* eslint-disable max-statements */\n/* eslint-disable indent */\n// Libraries\nimport {\n getId,\n getDependentSectionName,\n nameValueOptions,\n} from '../../utils/helperMethods';\nimport { FormElems, Alert, AlertModal } from '../../components/';\nimport {\n fetchEntityHierarchyRequest,\n saveAndContinueRequest,\n setUniqueIdentifierRequest,\n fetchEntityListRequest,\n resetSaveDataSuccessKey,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\nimport {\n updateMerchantDataRequest,\n addMerchantStepUpdateMakerRequest,\n resetUpdateDataSuccessKey,\n getMerchantInfoRequest,\n setEntityDataRequest,\n setEntityDataSuccess,\n} from '../../containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport {\n ENTITY_TYPE,\n ENTITY_MAP,\n MAKER_CHECKER_EVENT_TYPES,\n} from '../../utils/constants/commonValues';\nimport AddRole from './AddRole';\nimport validate from './validator';\nimport {\n stateCity,\n businessType,\n turnOverCategory,\n stateCode,\n} from './constant';\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport { last, isEmpty, first } from 'lodash';\n\n// Component\n\n// Actions\n\n// Constant\n\n// Local Components\n\n// Validator\n\n// Styles\nimport './merchantTab.scss';\n\nconst getPortalAccess = portalsValue => {\n if (portalsValue && portalsValue.length) {\n return portalsValue.includes('portalAccess');\n }\n return false;\n};\n\nconst getRollList = entityList => [\n {\n name: 'aggregator',\n popupTitle: 'Add Aggregator',\n props: {\n input: false,\n data: entityList.aggregator || [],\n label: 'Select Aggregator',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'AGGREGATOR',\n },\n {\n name: 'franchise',\n popupTitle: 'Add Franchise',\n props: {\n input: false,\n data: entityList.franchise || [],\n label: 'Select Franchise',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'FRANCHISE',\n },\n {\n name: 'mle',\n popupTitle: 'Add MLE',\n props: {\n data: entityList.mle || [],\n input: false,\n label: 'Select MLE',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'MLE',\n },\n];\n\nconst checkPortalVisible = (portalValues, isViewMode, isEditMode) => {\n if (isEmpty(portalValues) && !isViewMode && !isEditMode) {\n return true;\n } else if (\n (portalValues && portalValues.portalAccess === true) ||\n portalValues.portalAccess === 'portalAccess' ||\n isEmpty(portalValues.portalAccess)\n ) {\n return true;\n }\n return false;\n};\n\nconst MerchantTab = ({\n merchantData,\n handleSubmit,\n nextPath,\n previousPath,\n history,\n actions,\n sectionType,\n name,\n auth,\n initialValues,\n isEditMode,\n isViewMode,\n editData,\n draftData,\n formData,\n isInEditMode,\n change,\n staticData,\n onBoardSteps,\n}) => {\n const {\n entityList,\n saveData,\n timeline: { fields },\n hierarchyLoader,\n listExecuting,\n } = merchantData;\n const { staticInfo } = staticData;\n const { updateData, entityValues } = editData;\n const { userDetails } = auth;\n const { userLevel } = userDetails;\n const { location } = history;\n const [categoryCodeList, setCategoryCodeList] = useState([]);\n const [parentEntityCode, setParentEntityCode] = useState(null);\n const [roleList, setRoleList] = useState(getRollList(entityList));\n const [showUserEmailField, setShowUserEmailField] = useState(false);\n const [cityOptions, setCityOptions] = useState([]);\n const memoEntityValues = React.useMemo(() => {\n return {\n aggregator: entityValues.aggregator,\n franchise: entityValues.franchise,\n mle: entityValues.mle,\n };\n }, [entityValues.aggregator, entityValues.franchise, entityValues.mle]);\n const { aggregator, franchise, mle } = memoEntityValues;\n\n const currentStep = first(\n onBoardSteps.filter(item => item.sectionType === sectionType)\n );\n const [isChange, setIsChange] = useState(false);\n\n const isOrAre = currentStep.dependentSections.length > 1 ? 'are' : 'is';\n\n const [isShowModal, setIsShowModal] = useState(false);\n\n const onSuccessModal = () => {\n setIsShowModal(false);\n if (formData && formData.values) {\n handleFormSubmit(formData.values);\n }\n };\n\n const onCloseModal = () => {\n setIsShowModal(false);\n };\n\n useEffect(() => {\n resetErrors();\n setRoleList(getRollList(entityList));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [entityList]);\n\n useEffect(() => {\n fetchAllList();\n return () => {\n actions.setEntityDataSuccess({\n aggregator: '',\n franchise: '',\n mle: '',\n });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const fetchAllList = () => {\n actions.fetchEntityListRequest(ENTITY_TYPE.AGGREGATOR);\n actions.fetchEntityListRequest(ENTITY_TYPE.FRANCHISE);\n actions.fetchEntityListRequest(ENTITY_TYPE.MLE);\n };\n\n useEffect(() => {\n if (!listExecuting && (aggregator || franchise || mle)) {\n handleRoleEdit(aggregator, franchise, mle);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [actions, aggregator, franchise, listExecuting]);\n\n const handleRoleEdit = (aggregator, franchise) => {\n if (aggregator) {\n actions.fetchEntityHierarchyRequest(\n aggregator,\n 'LOWER_COMPLETE',\n 'AGGREGATOR',\n () => {\n if (franchise) {\n actions.fetchEntityHierarchyRequest(\n franchise,\n 'LOWER_COMPLETE',\n 'FRANCHISE'\n );\n }\n }\n );\n }\n };\n\n const resetErrors = () => {\n if (isEditMode) {\n actions.resetUpdateDataSuccessKey();\n } else {\n actions.resetSaveDataSuccessKey();\n }\n };\n\n const onNext = () => {\n resetErrors();\n history.push(nextPath);\n };\n\n const onBack = () => {\n resetErrors();\n if (!isEditMode && !isViewMode && draftData && editData) {\n history.push('/mob/draft');\n } else {\n history.push(previousPath);\n }\n };\n\n useEffect(() => {\n if (\n draftData &&\n draftData.data &&\n draftData.data.parentEntityCode &&\n draftData.data.parentEntityType\n ) {\n const { parentEntityCode, parentEntityType } = draftData.data;\n actions.setEntityDataRequest(\n parentEntityCode,\n ENTITY_MAP[parentEntityType]\n );\n }\n }, [actions, draftData]);\n\n useEffect(() => {\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n actions.getMerchantInfoRequest(merchantId, fields, history,toast);\n }\n }, [actions, fields, isEditMode, isViewMode, location.pathname]);\n\n useEffect(() => {\n if (formData && formData.values && formData.values.merchantCategory) {\n handleCategorySelect(formData.values.merchantCategory);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [formData]);\n\n useEffect(() => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.SAVE_DATA(name));\n onNext();\n }\n return () => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n actions.resetSaveDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [saveData.isSuccess, saveData.sectionType]);\n\n useEffect(() => {\n if (updateData.isUpdated && updateData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.UPDATE_MAKER_REQUEST_SUCCESS(name));\n onNext();\n }\n return () => {\n if (\n updateData.isUpdated &&\n updateData.sectionType === sectionType\n ) {\n actions.resetUpdateDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateData.isUpdated, updateData.sectionType]);\n\n const handleFormSubmit = values => {\n if (\n currentStep &&\n currentStep.dependentSections &&\n currentStep.dependentSections.length &&\n currentStep.status === 'Complete' &&\n isChange &&\n !isShowModal\n ) {\n setIsShowModal(true);\n } else {\n const valuesCopy = values;\n valuesCopy.createdBy = userDetails.email || '';\n valuesCopy.updatedBy = userDetails.email || '';\n valuesCopy.portalAccess = getPortalAccess(values.portalAccess);\n if (values.portalAccess) {\n valuesCopy.userEmail = values.userEmail || '';\n }\n valuesCopy.parentEntityCode =\n parentEntityCode === null\n ? values.parentEntityCode\n : parentEntityCode;\n valuesCopy.parentEntityCode =\n valuesCopy.parentEntityCode === ''\n ? null\n : valuesCopy.parentEntityCode;\n valuesCopy.stateCode = stateCode[values.state];\n const request = {\n uniqueIdentifier: values.email || '',\n sectionType,\n data: valuesCopy,\n };\n actions.setUniqueIdentifierRequest(\n values.email || '',\n isInEditMode\n );\n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n\n const requestUpdate = {\n ...values,\n entityCode: merchantId,\n portalAccess: getPortalAccess(values.portalAccess),\n stateCode: stateCode[values.state],\n };\n requestUpdate.parentEntityCode =\n parentEntityCode === null\n ? values.parentEntityCode\n : parentEntityCode;\n requestUpdate.parentEntityCode =\n requestUpdate.parentEntityCode === ''\n ? null\n : requestUpdate.parentEntityCode;\n if (values.portalAccess && values.portalAccess.length) {\n requestUpdate.userEmail = values.userEmail || '';\n }\n\n const makerDetails = {\n makerId: auth.userDetails.email || '',\n idempotencyId: merchantId,\n eventType: MAKER_CHECKER_EVENT_TYPES.MERCHANT,\n };\n\n actions.addMerchantStepUpdateMakerRequest(\n requestUpdate,\n sectionType,\n makerDetails\n );\n } else if (isViewMode) {\n onNext();\n } else {\n // Setting relationshipManagerId to current user of the user is a type of RM and is doing Onboarding\n if (userLevel === 'RM') {\n request.data.relationshipManagerId =\n userDetails.email || '';\n }\n actions.saveAndContinueRequest(request, sectionType);\n }\n }\n };\n const resetSelection = typeList => {\n const roles = roleList;\n roles.forEach(element => {\n if (typeList.includes(element.type)) {\n element.props.resetSelect = true;\n } else {\n element.props.resetSelect = false;\n }\n });\n setRoleList(roles);\n };\n const handleRoleSelect = (value, originalData, type) => {\n if (!value && !originalData && type === 'AGGREGATOR') {\n actions.fetchEntityListRequest(ENTITY_TYPE.AGGREGATOR);\n actions.fetchEntityListRequest(ENTITY_TYPE.FRANCHISE);\n actions.fetchEntityListRequest(ENTITY_TYPE.MLE);\n resetSelection(['FRANCHISE', 'MLE']);\n setParentEntityCode('');\n }\n\n if (type === 'FRANCHISE') {\n resetSelection(['MLE']);\n } else if (type === 'AGGREGATOR') {\n resetSelection(['FRANCHISE', 'MLE']);\n }\n if (!value && !originalData && type === 'FRANCHISE') {\n if (editData.entityValues.aggregator) {\n actions.fetchEntityHierarchyRequest(\n editData.entityValues.aggregator,\n 'LOWER_COMPLETE',\n 'AGGREGATOR'\n );\n setParentEntityCode(entitySelectedValue.aggregator);\n } else {\n actions.fetchEntityListRequest(ENTITY_TYPE.FRANCHISE);\n actions.fetchEntityListRequest(ENTITY_TYPE.MLE);\n }\n }\n\n if (!value && !originalData && type === 'MLE') {\n if (editData.entityValues.franchise) {\n setParentEntityCode(entitySelectedValue.franchise);\n }\n }\n if (originalData && originalData.entityCode) {\n setParentEntityCode(originalData.entityCode);\n }\n\n if (value && originalData && originalData.entityType !== 'MLE') {\n actions.fetchEntityHierarchyRequest(\n value,\n 'LOWER_COMPLETE',\n originalData.entityType\n );\n }\n\n setIsChange(true);\n };\n\n const handleCategorySelect = value => {\n if (staticInfo && staticInfo.categoryMap && value) {\n const category = staticInfo.categoryMap.find(\n item => item.name.toLowerCase() === value.toLowerCase()\n );\n const options =\n category &&\n category.options.map(item => {\n return { name: item, value: item };\n });\n setCategoryCodeList(options);\n }\n };\n\n const [entitySelectedValue, setEntitySelectedValue] = useState(\n editData.entityValues\n );\n useEffect(() => {\n setEntitySelectedValue(editData.entityValues);\n }, [editData.entityValues]);\n\n useEffect(() => {\n if (initialValues.state) {\n const selectedStateCities = stateCity[initialValues.state];\n setCityOptions(nameValueOptions(selectedStateCities));\n }\n }, [initialValues, isEditMode]);\n\n useEffect(() => {\n const portalValue = formData.values.portalAccess;\n if (portalValue === true) {\n change('portalAccess', 'portalAccess');\n setShowUserEmailField(true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('portalAccess')\n ) {\n change('portalAccess', 'portalAccess');\n setShowUserEmailField(true);\n }\n\n if (!portalValue) {\n setShowUserEmailField(false);\n }\n }, [change, formData.values.portalAccess, initialValues]);\n\n const isPortalVisible = checkPortalVisible(\n formData.values,\n isViewMode,\n isEditMode\n );\n\n const handleStateSelect = state => {\n if (!state) {\n actions.change('add-merchant-form', 'city', '');\n setCityOptions([]);\n } else {\n const selectedStateCities = stateCity[state];\n setCityOptions(nameValueOptions(selectedStateCities));\n }\n };\n\n const errorDetails = isEditMode ? updateData : saveData;\n\n return (\n
    \n \n \n
      \n {roleList.map(item => (\n \n setEntitySelectedValue(values)\n }\n onRoleSelect={handleRoleSelect}\n isViewMode={isViewMode}\n />\n ))}\n
    \n
    \n

    Merchant Detail

    \n {errorDetails.error && errorDetails.error.errorMessage ? (\n \n {errorDetails.error.errorMessage}\n \n ) : null}\n
      \n
    • \n
      \n

      Merchant Name

      \n \n
      \n
      \n

      Email ID

      \n \n
      \n
    • \n
    • \n
      \n

      Freecharge MID

      \n \n
      \n
      \n

      Mobile Number

      \n \n
      \n
    • \n
    • \n
      \n

      Business Type

      \n \n
      \n
      \n

      Turnover Category

      \n \n
      \n
    • \n
    • \n
      \n

      State

      \n {\n handleStateSelect(state);\n actions.change(\n 'add-merchant-form',\n 'city',\n ''\n );\n }}\n disabled={isViewMode}\n />\n
      \n
      \n

      City

      \n \n
      \n
    • \n
    • \n
      \n

      Pin Code

      \n \n
      \n
      \n

      Address

      \n \n
      \n
    • \n
    • \n
      \n

      PAN

      \n \n
      \n
      \n

      GST Number

      \n \n
      \n
    • \n {userLevel !== 'RM' ? (\n
    • \n
      \n

      \n Relationship Manager Name\n

      \n \n
      \n
      \n
    • \n ) : (\n <>\n )}\n
    • \n
      \n

      Merchant Category

      \n {\n handleCategorySelect();\n actions.change(\n 'add-merchant-form',\n 'mcc',\n ''\n );\n }}\n disabled={isViewMode}\n />\n
      \n
      \n {(formData &&\n formData.values &&\n formData.values.merchantCategory) ||\n (categoryCodeList &&\n categoryCodeList.length) ? (\n <>\n

      \n Merchant Category Code\n

      \n \n \n ) : null}\n
      \n
    • \n {isPortalVisible ? (\n
    • \n
      \n \n setShowUserEmailField(\n prevState => !prevState\n )\n }\n options={[\n {\n name: 'Portal Access',\n value: 'portalAccess',\n checked: false,\n },\n ]}\n isDisabled={\n isViewMode ||\n isEditMode ||\n isInEditMode\n }\n valueField=\"value\"\n />\n {showUserEmailField && (\n
      \n

      \n User Email ID\n

      \n \n
      \n )}\n
      \n
    • \n ) : null}\n
    • \n
      \n

      Integration Type

      \n \n
      \n
    • \n
    \n
    \n
    \n {previousPath ? (\n \n ) : null}\n \n
    \n \n
    \n );\n};\n\nMerchantTab.propTypes = {\n actions: PropTypes.object,\n merchantData: PropTypes.object.isRequired,\n auth: PropTypes.object,\n change: PropTypes.func,\n handleSubmit: PropTypes.func,\n history: PropTypes.object,\n nextPath: PropTypes.string,\n previousPath: PropTypes.string,\n sectionType: PropTypes.string,\n name: PropTypes.string,\n initialValues: PropTypes.object,\n isEditMode: PropTypes.bool,\n isViewMode: PropTypes.bool,\n editData: PropTypes.object,\n formData: PropTypes.object,\n draftData: PropTypes.object,\n staticData: PropTypes.object,\n isInEditMode: PropTypes.bool,\n onBoardSteps: PropTypes.array,\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n merchantData,\n editData,\n staticData,\n}) => ({\n auth,\n formData: form['add-merchant-form'],\n merchantData,\n editData,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchEntityHierarchyRequest,\n saveAndContinueRequest,\n setUniqueIdentifierRequest,\n resetSaveDataSuccessKey,\n updateMerchantDataRequest,\n addMerchantStepUpdateMakerRequest,\n fetchEntityListRequest,\n resetUpdateDataSuccessKey,\n getMerchantInfoRequest,\n setEntityDataRequest,\n setEntityDataSuccess,\n change,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'add-merchant-form',\n enableReinitialize: true,\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(MerchantTab)\n);\n","import MerchantTab from './MerchantTab';\n\nexport default MerchantTab;\n","/* eslint-disable complexity */\n/* eslint-disable max-statements */\nimport { validators } from '../../utils/validators';\n\nconst { REQUIRED } = validators;\n\nconst isValidKeyMode = keyMode => {\n if (keyMode && Array.isArray(keyMode)) {\n return keyMode.includes('live') || keyMode.includes('test');\n }\n return (keyMode && keyMode.test) || (keyMode && keyMode.live);\n};\n\nconst isTestKeyEnabled = keyMode => {\n if (keyMode && Array.isArray(keyMode)) {\n return keyMode.includes('test');\n }\n return keyMode && keyMode.test;\n};\n\nconst isLiveKeyEnabled = keyMode => {\n if (keyMode && Array.isArray(keyMode)) {\n return keyMode.includes('live');\n }\n return keyMode && keyMode.live;\n};\n\nconst validate = values => {\n console.log(\"validate values\",values,\"------>>>\");\n const errors = { encryptionData: {} };\n\n let perTransactionLimit = values.perTransactionLimit;\n let dailyTransactionLimit = values.dailyTransactionLimit;\n let monthlyTransactionLimit = values.monthlyTransactionLimit;\n\n if (Math.ceil(perTransactionLimit) != perTransactionLimit) {\n errors.perTransactionLimit = 'Only integer values are allowed';\n }\n if (Math.ceil(dailyTransactionLimit) != dailyTransactionLimit) {\n errors.dailyTransactionLimit = 'Only integer values are allowed';\n }\n if (Math.ceil(monthlyTransactionLimit) != monthlyTransactionLimit) {\n errors.monthlyTransactionLimit = 'Only integer values are allowed';\n }\n\n if (!isValidKeyMode(values.keyMode)) {\n errors.keyMode = 'Please select Mode';\n }\n if (!values.modeOfIntegration) {\n errors.modeOfIntegration = 'Please select Mode Of Integration';\n }\n if (values.modeOfIntegration && values.modeOfIntegration.length <= 0) {\n errors.modeOfIntegration = 'Please select Mode Of Integration';\n }\n if (\n values.modeOfIntegration &&\n Array.isArray(values.modeOfIntegration) &&\n values.modeOfIntegration.length === 1\n ) {\n if (\n !Array.isArray(values.modeOfIntegration[0]) &&\n typeof values.modeOfIntegration[0] !== 'string'\n ) {\n errors.modeOfIntegration = 'Please select Mode Of Integration';\n }\n }\n if (!values.security) {\n errors.security = 'Please select Security';\n }\n if (values.allowRetry && !values.retryCount) {\n errors.retryCount = 'Please select retry count';\n }\n if (!values.platform) {\n errors.platform = 'Please select Platform';\n }\n if (values.platform && values.platform.length <= 0) {\n errors.platform = 'Please select Platform';\n }\n if (values.isMerchantTatEnabled && !values.merchantTxnTat) {\n errors.merchantTxnTat = 'Please Enter Merchant Transaction TAT';\n }\n if (!values.refundQueueTat || values.refundQueueTat == 0) {\n errors.refundQueueTat = 'Please Enter Refund Queue TAT';\n }else if (values.refundQueueTat < 0) {\n errors.refundQueueTat = 'Please Enter valid Refund Queue TAT';\n }\n\n if (\n values.platform &&\n Array.isArray(values.platform) &&\n values.platform.length === 1\n ) {\n if (\n !Array.isArray(values.platform[0]) &&\n typeof values.platform[0] !== 'string'\n ) {\n errors.platform = 'Please select Platform';\n }\n }\n\n if (values.isEncryptionEnabled) {\n if (\n isValidKeyMode(values.keyMode) &&\n isTestKeyEnabled(values.keyMode) &&\n (!values.encryptionData || !values.encryptionData?.encTestKey)\n ) {\n errors.encryptionData.encTestKey =\n 'Please provide encryption test key';\n }\n\n if (\n isValidKeyMode(values.keyMode) &&\n isLiveKeyEnabled(values.keyMode) &&\n (!values.encryptionData || !values.encryptionData?.encLiveKey)\n ) {\n errors.encryptionData.encLiveKey =\n 'Please provide encryption live key';\n }\n }\n\n if (values.isMerTxnLimitEnabled) {\n perTransactionLimit = perTransactionLimit\n ? parseInt(perTransactionLimit, 10)\n : null;\n dailyTransactionLimit = dailyTransactionLimit\n ? parseInt(dailyTransactionLimit, 10)\n : null;\n monthlyTransactionLimit = monthlyTransactionLimit\n ? parseInt(monthlyTransactionLimit, 10)\n : null;\n\n if (perTransactionLimit <= 0) {\n errors.perTransactionLimit =\n 'Per transaction limit cant be less than 1';\n }\n if (dailyTransactionLimit <= 0) {\n errors.dailyTransactionLimit =\n 'Daily transaction limit cant be less than 1';\n }\n if (monthlyTransactionLimit <= 0) {\n errors.monthlyTransactionLimit =\n 'Monthly transaction limit cant be less than 1';\n }\n\n if (perTransactionLimit === null || perTransactionLimit === undefined) {\n errors.perTransactionLimit = 'Please provide per transaction limit';\n }\n if (\n dailyTransactionLimit === null ||\n dailyTransactionLimit === undefined\n ) {\n errors.dailyTransactionLimit =\n 'Please provide daily transaction limit';\n }\n if (\n monthlyTransactionLimit === null ||\n monthlyTransactionLimit === undefined\n ) {\n errors.monthlyTransactionLimit =\n 'Please provide monthly transaction limit';\n }\n\n if (\n dailyTransactionLimit &&\n perTransactionLimit &&\n dailyTransactionLimit < perTransactionLimit\n ) {\n errors.dailyTransactionLimit =\n 'Daily transaction limit should be greater than per transaction limit';\n errors.perTransactionLimit =\n 'Per transaction limit should be less than daily transaction limit';\n }\n if (\n dailyTransactionLimit &&\n monthlyTransactionLimit &&\n monthlyTransactionLimit < dailyTransactionLimit\n ) {\n errors.monthlyTransactionLimit =\n 'Monthly transaction limit should be greater than daily transaction limit';\n errors.dailyTransactionLimit =\n 'Daily transaction limit should be less than monthly transaction limit';\n }\n if (\n perTransactionLimit &&\n dailyTransactionLimit &&\n monthlyTransactionLimit &&\n monthlyTransactionLimit < perTransactionLimit &&\n dailyTransactionLimit < perTransactionLimit\n ) {\n errors.perTransactionLimit =\n 'Per transaction limit should be less than monthly and daily transaction limit';\n } else if (\n monthlyTransactionLimit &&\n perTransactionLimit &&\n monthlyTransactionLimit < perTransactionLimit\n ) {\n errors.perTransactionLimit =\n 'Per transaction limit should be less than monthly transaction limit';\n } else if (\n dailyTransactionLimit &&\n perTransactionLimit &&\n dailyTransactionLimit < perTransactionLimit\n ) {\n errors.perTransactionLimit =\n 'Per transaction limit should be less than daily transaction limit';\n }\n }\n\n if (values.isMandateRegTatEnabled) {\n if (REQUIRED(values.mandateRegApprovalTat)) {\n errors.mandateRegApprovalTat = 'Please Mandate Registration TAT';\n } else if (\n parseInt(values.mandateRegApprovalTat, 10) <= 0 ||\n parseInt(values.mandateRegApprovalTat, 10) > 999\n ) {\n errors.mandateRegApprovalTat =\n 'Mandate Registration TAT should be min 1 and max 999';\n }\n\n if (\n values.mandateRegFirstExeTat !== undefined &&\n values.mandateRegFirstExeTat !== null &&\n (parseInt(values.mandateRegFirstExeTat, 10) <= 0 ||\n parseInt(values.mandateRegFirstExeTat, 10) > 999)\n ) {\n errors.mandateRegFirstExeTat =\n 'First Mandate Registration Execution TAT should be min 1 and max 999';\n }\n }\n\n return errors;\n};\n\nexport default validate;\n","export const modeOfIntegration = [\n {\n name: 'Server to Server',\n value: 's2s',\n checked: false,\n },\n {\n name: 'Redirect with Pay Page',\n value: 'redirectWithPayPage',\n checked: false,\n },\n {\n name: 'Redirect without Pay Page',\n value: 'redirectWithoutPayPage',\n checked: false,\n },\n];\n\nexport const security = [\n {\n name: 'One way SSL',\n value: 'oneWaySSL',\n checked: false,\n },\n {\n name: 'Two way SSL',\n value: 'twoWaySSL',\n checked: false,\n },\n];\n\n\nexport const entityStatus = [\n {\n name: 'Active',\n value: 'ACTIVE',\n checked: false,\n },\n {\n name: 'Inactive',\n value: 'INACTIVE',\n checked: false,\n },\n];\n\nexport const allowRetry = [\n {\n name: 'Allow Retry',\n value: 'allowRetry',\n checked: false,\n },\n];\n\nexport const verifiedPayment = [\n {\n name: 'Allow Verified Payment',\n value: 'verifiedPayment',\n checked: false,\n },\n];\n\nexport const isFcMerchant = [\n {\n name: 'Freecharge Merchant',\n value: 'isFcMerchant',\n checked: false,\n },\n];\n\n\nexport const isStaticQREnabled = [\n {\n name: 'Enable Static QR',\n value: 'isStaticQREnabled',\n checked: false,\n },\n];\n\nexport const allowFPS = [\n {\n name: 'Enable Fraud Prevention',\n value: 'allowFPS',\n },\n];\n\nexport const isMultiAttemptOnPayLink = [\n {\n name: 'Allow Multiple Attempt on Payment Link',\n value: 'isMultiAttemptOnPayLink',\n checked: false,\n },\n];\n\nexport const allowOpenMultiPaymentLink = [\n {\n name: 'Allow Opening Payment Link Simultaneously',\n value: 'allowOpenMultiPaymentLink',\n checked: false,\n },\n];\n\nexport const instantRollback = [\n {\n name: 'Allow Instant Rollback',\n value: 'instantRollback',\n },\n];\n\nexport const instantRefund = [\n {\n name: 'Allow Instant Refund',\n value: 'instantRefund',\n checked: false,\n },\n];\n\nexport const isMerchantTatEnabled = [\n {\n name: 'Allow Merchant Transaction TAT',\n value: 'isMerchantTatEnabled',\n checked: false,\n },\n];\n\nexport const isMandateRegTatEnabled = [\n {\n name: 'Allow Mandate Registration TAT',\n value: 'isMandateRegTatEnabled',\n checked: false,\n },\n];\n\nexport const isEncryptionEnabled = [\n {\n name: 'Enable Encryption',\n value: 'isEncryptionEnabled',\n checked: false,\n },\n];\n\nexport const refundRetry = [\n {\n name: 'Allow Refund Retry',\n value: 'refundRetry',\n checked: false\n },\n];\nexport const refundQueue = [\n {\n name: 'Refund Queue',\n value: 'refundQueue',\n checked: false,\n }\n];\n\nexport const sftpReport = [\n {\n name: 'Reports via SFTP',\n value: 'isSftpRequired',\n checked: false,\n },\n];\n\n// parameter used for 3Ds collect from browser\nexport const threeDimensionSecurityBrowserInfoCollect = [\n {\n name: 'Enable 3DS Information Collect',\n value: 'threeDimensionSecurityBrowserInfoCollect',\n },\n];\n\nexport const merchantTxnLimit = [\n {\n name: 'Enable Merchant Transaction Limit',\n value: 'isMerTxnLimitEnabled',\n checked: false,\n },\n];\n\n// parameter used for 3Ds collect without browser\nexport const threeDimensionSecurityInfoHardCoded = [\n {\n name: 'Enable 3DS Information Hardcoded',\n value: 'threeDimensionSecurityInfoHardCoded',\n },\n];\n\nexport const mtrViaEmailRequired = [\n {\n name: 'Send MTR On Mail',\n value: 'isMtrViaEmailRequired',\n checked: false,\n },\n];\n\nexport const keyMode = [\n {\n name: 'Test Mode',\n value: 'test',\n checked: false,\n },\n {\n name: 'Live Mode',\n value: 'live',\n checked: false,\n },\n];\n\nexport const getKeyMode = (isEditMode, userLevel) => {\n if (isEditMode || userLevel === 'ADMIN') {\n return keyMode;\n }\n return keyMode.filter(item => item.value !== 'live');\n};\n\nexport const platform = [\n {\n name: 'Web Integration',\n value: 'webIntegration',\n checked: false,\n },\n {\n name: 'IOS',\n value: 'ios',\n checked: false,\n },\n {\n name: 'Android',\n value: 'android',\n checked: false,\n },\n {\n name: 'Platform Specific Plugin',\n value: 'platformSpecific',\n checked: false,\n },\n];\n","/* eslint-disable indent */\n/* eslint-disable max-statements */\n/* eslint-disable max-lines-per-function */\n// Component\nimport { MAKER_CHECKER_EVENT_TYPES } from 'utils/constants/commonValues';\n\nimport { FormElems, Alert, Accordion } from '../../components/';\n\n// Actions\nimport {\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\nimport {\n updateSectionDataRequest,\n resetUpdateDataSuccessKey,\n getMerchantSectionInfoRequest,\n addMerchantStepUpdateMakerRequest,\n} from '../../containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\n\n// Constant\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\n\n// Validator\nimport validate from './validator';\nimport { useHistory } from \"react-router-dom\"\n// Data\nimport {\n modeOfIntegration,\n security,\n keyMode,\n platform,\n allowRetry,\n sftpReport,\n mtrViaEmailRequired,\n instantRollback,\n isMerchantTatEnabled,\n isMandateRegTatEnabled,\n refundRetry, refundQueue,\n verifiedPayment,\n instantRefund,\n isFcMerchant,\n isStaticQREnabled,\n isMultiAttemptOnPayLink,\n allowOpenMultiPaymentLink,\n getKeyMode,\n allowFPS,\n isEncryptionEnabled,\n threeDimensionSecurityBrowserInfoCollect,\n threeDimensionSecurityInfoHardCoded,\n merchantTxnLimit,\n entityStatus\n} from './dummyData';\n\n// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change as changeFormValue } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { withRouter } from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport { last } from 'lodash';\nimport { useDispatch } from 'react-redux';\n\n// Styles\nimport './integrationTab.scss';\n\nconst getRequestValues = values => {\n const data = {};\n if (Array.isArray(values)) {\n values.forEach(element => {\n if (typeof element === 'string' || element instanceof String) {\n data[element] = true;\n }\n });\n return data;\n } else if (typeof values === 'object' || values instanceof Object) {\n for (const property in values) {\n if (Object.prototype.hasOwnProperty.call(values, property)) {\n if (values[property]) {\n data[property] = values[property];\n }\n }\n }\n return data;\n }\n data[values] = true;\n return data;\n};\n\nconst getOptions = (initialValuesData, data, keyField) => {\n if (\n initialValuesData &&\n initialValuesData[keyField] &&\n Object.keys(initialValuesData[keyField]).length\n ) {\n const allSelectedValues = [];\n for (const property in initialValuesData[keyField]) {\n if (initialValuesData[keyField][property]) {\n allSelectedValues.push(property);\n }\n }\n return data.map(item => {\n if (allSelectedValues.includes(item.value)) {\n return { ...item, checked: true };\n }\n return item;\n });\n }\n return data;\n};\n\nconst getCheckboxOptions = (initialValuesData, data, keyField) => {\n if (initialValuesData && initialValuesData[keyField]) {\n return data.map(item => {\n if (initialValuesData[keyField]) {\n return { ...item, checked: true };\n }\n return item;\n });\n }\n return data;\n};\n\nconst IntegrationTab = ({\n merchantData,\n nextPath,\n previousPath,\n history,\n handleSubmit,\n actions,\n sectionType,\n name,\n formData,\n isEditMode,\n isViewMode,\n change,\n initialValues,\n editData,\n auth,\n}) => {\n const {\n saveData,\n uniqueIdentifier: { uniqueId },\n timeline: { fields },\n } = merchantData;\n const { updateData } = editData;\n const { location } = history;\n const dispatch = useDispatch();\n const [showCount, setShowCount] = useState(false);\n const [showMerchantTxnTat, setShowMerchantTxnTat] = useState(false);\n const [showEncryptionKeys, setShowEncryptionKeys] = useState(false);\n const [showPayLinkConfigs, setShowPayLinkConfigs] = useState(false);\n const [statusOptions, setStatusOptions] = useState(entityStatus);\n const [showMandateRegTxnTat, setShowMandateRegTxnTat] = useState(false);\n\n const history2 = useHistory();\n const [showRefundQueueTat, setShowRefundQueueTat] = useState(true);\n\n const resetErrors = () => {\n if (isEditMode) {\n actions.resetUpdateDataSuccessKey();\n } else {\n actions.resetSaveDataSuccessKey();\n }\n };\n\n useEffect(() => {\n if(formData.initial.entityStatus === \"INACTIVE_WITH_SETTLEMENT\"){\n setStatusOptions(preState =>{\n let newState = [...preState];\n newState[2] = { name: 'Inactive With Settlement', value: \"INACTIVE_WITH_SETTLEMENT\" };\n return newState;\n })\n }\n }, [formData.initial]);\n\n\n useEffect(() => {\n const portalValue = formData.values.allowRetry;\n if (portalValue === true || portalValue === 'allowRetry') {\n change('allowRetry', true);\n setShowCount(true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('allowRetry')\n ) {\n change('allowRetry', true);\n setShowCount(true);\n } else {\n change('allowRetry', false);\n change('retryCount', null);\n setShowCount(false);\n }\n }, [change, formData.values.allowRetry]);\n\n useEffect(() => {\n const portalValue = formData.values.isMerchantTatEnabled;\n if (portalValue === true || portalValue === 'isMerchantTatEnabled') {\n change('isMerchantTatEnabled', true);\n setShowMerchantTxnTat(true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isMerchantTatEnabled')\n ) {\n change('isMerchantTatEnabled', true);\n setShowMerchantTxnTat(true);\n } else {\n change('isMerchantTatEnabled', false);\n change('merchantTxnTat', null);\n setShowMerchantTxnTat(false);\n }\n }, [change, formData.values.isMerchantTatEnabled]);\n\n useEffect(() => {\n const portalValue = formData.values.isMandateRegTatEnabled;\n if (portalValue === true || portalValue === 'isMandateRegTatEnabled') {\n change('isMandateRegTatEnabled', true);\n setShowMandateRegTxnTat(true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isMandateRegTatEnabled')\n ) {\n change('isMandateRegTatEnabled', true);\n setShowMandateRegTxnTat(true);\n } else {\n change('isMandateRegTatEnabled', false);\n change('mandateRegApprovalTat', null);\n setShowMandateRegTxnTat(false);\n }\n }, [change, formData.values.isMandateRegTatEnabled]);\n\n useEffect(() => {\n const portalValue = formData.values.isEncryptionEnabled;\n if (portalValue === true || portalValue === 'isEncryptionEnabled') {\n change('isEncryptionEnabled', true);\n setShowEncryptionKeys(true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isEncryptionEnabled')\n ) {\n change('isEncryptionEnabled', true);\n setShowEncryptionKeys(true);\n } else {\n change('isEncryptionEnabled', false);\n setShowEncryptionKeys(false);\n }\n }, [change, formData.values.isEncryptionEnabled]);\n\n useEffect(() => {\n const portalValue =\n formData.values.threeDimensionSecurityBrowserInfoCollect;\n if (\n portalValue === true ||\n portalValue === 'threeDimensionSecurityBrowserInfoCollect'\n ) {\n change('threeDimensionSecurityBrowserInfoCollect', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('threeDimensionSecurityBrowserInfoCollect')\n ) {\n change('threeDimensionSecurityBrowserInfoCollect', true);\n } else {\n change('threeDimensionSecurityBrowserInfoCollect', false);\n }\n }, [change, formData.values.threeDimensionSecurityBrowserInfoCollect]);\n\n useEffect(() => {\n const portalValue = formData.values.threeDimensionSecurityInfoHardCoded;\n if (\n portalValue === true ||\n portalValue === 'threeDimensionSecurityInfoHardCoded'\n ) {\n change('threeDimensionSecurityInfoHardCoded', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('threeDimensionSecurityInfoHardCoded')\n ) {\n change('threeDimensionSecurityInfoHardCoded', true);\n } else {\n change('threeDimensionSecurityInfoHardCoded', false);\n }\n }, [change, formData.values.threeDimensionSecurityInfoHardCoded]);\n\n useEffect(() => {\n const portalValue = formData.values.isMtrViaEmailRequired;\n if (portalValue === true || portalValue === 'isMtrViaEmailRequired') {\n change('isMtrViaEmailRequired', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isMtrViaEmailRequired')\n ) {\n change('isMtrViaEmailRequired', true);\n } else {\n change('isMtrViaEmailRequired', false);\n }\n }, [change, formData.values.isMtrViaEmailRequired]);\n\n useEffect(() => {\n const portalValue = formData.values.isSftpRequired;\n if (portalValue === true || portalValue === 'isSftpRequired') {\n change('isSftpRequired', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isSftpRequired')\n ) {\n change('isSftpRequired', true);\n } else {\n change('isSftpRequired', false);\n }\n }, [change, formData.values.isSftpRequired]);\n\n useEffect(() => {\n const portalValue = formData.values.isMerTxnLimitEnabled;\n if (portalValue === true || portalValue === 'isMerTxnLimitEnabled') {\n change('isMerTxnLimitEnabled', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isMerTxnLimitEnabled')\n ) {\n change('isMerTxnLimitEnabled', true);\n } else {\n change('isMerTxnLimitEnabled', false);\n }\n }, [change, formData.values.isMerTxnLimitEnabled]);\n\n useEffect(() => {\n const portalValue = formData.values.refundRetry;\n if (portalValue === true || portalValue === 'refundRetry') {\n change('refundRetry', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('refundRetry')\n ) {\n change('refundRetry', true);\n } else {\n change('refundRetry', false);\n }\n }, [change, formData.values.refundRetry]);\n useEffect(() => {\n const portalValue = formData.values.verifiedPayment;\n if (portalValue === true || portalValue === 'verifiedPayment') {\n change('verifiedPayment', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('verifiedPayment')\n ) {\n change('verifiedPayment', true);\n } else {\n change('verifiedPayment', false);\n }\n }, [change, formData.values.verifiedPayment]);\n\n useEffect(() => {\n const portalValue = formData.values.isFcMerchant;\n if (portalValue === true || portalValue === 'isFcMerchant') {\n change('isFcMerchant', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isFcMerchant')\n ) {\n change('isFcMerchant', true);\n } else {\n change('isFcMerchant', false);\n }\n }, [change, formData.values.isFcMerchant]);\n\n useEffect(() => {\n const portalValue = formData.values.isStaticQREnabled;\n if (portalValue === true || portalValue === 'isStaticQREnabled') {\n change('isStaticQREnabled', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isStaticQREnabled')\n ) {\n change('isStaticQREnabled', true);\n } else {\n change('isStaticQREnabled', false);\n }\n }, [change, formData.values.isStaticQREnabled]);\n\n useEffect(() => {\n const portalValue = formData.values.isMultiAttemptOnPayLink;\n if (portalValue === true || portalValue === 'isMultiAttemptOnPayLink') {\n change('isMultiAttemptOnPayLink', true);\n setShowPayLinkConfigs(true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isMultiAttemptOnPayLink')\n ) {\n change('isMultiAttemptOnPayLink', true);\n setShowPayLinkConfigs(true);\n } else {\n change('isMultiAttemptOnPayLink', false);\n setShowPayLinkConfigs(false);\n }\n }, [change, formData.values.isMultiAttemptOnPayLink]);\n\n useEffect(() => {\n const portalValue = formData.values.allowOpenMultiPaymentLink;\n if (\n portalValue === true ||\n portalValue === 'allowOpenMultiPaymentLink'\n ) {\n change('allowOpenMultiPaymentLink', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('allowOpenMultiPaymentLink')\n ) {\n change('allowOpenMultiPaymentLink', true);\n } else {\n change('allowOpenMultiPaymentLink', false);\n }\n }, [change, formData.values.allowOpenMultiPaymentLink]);\n\n useEffect(() => {\n const portalValue = formData.values.instantRollback;\n if (portalValue === true || portalValue === 'instantRollback') {\n change('instantRollback', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('instantRollback')\n ) {\n change('instantRollback', true);\n } else {\n change('instantRollback', false);\n }\n }, [change, formData.values.instantRollback]);\n\n useEffect(() => {\n const portalValue = formData.values.instantRefund;\n if (portalValue === true || portalValue === 'instantRefund') {\n change('instantRefund', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('instantRefund')\n ) {\n change('instantRefund', true);\n } else {\n change('instantRefund', false);\n }\n }, [change, formData.values.instantRefund]);\n\n useEffect(() => {\n const portalValue = formData.values.allowFPS;\n if (portalValue === true || portalValue === 'allowFPS') {\n change('allowFPS', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('allowFPS')\n ) {\n change('allowFPS', true);\n } else {\n change('allowFPS', false);\n }\n }, [change, formData.values.allowFPS]);\n\n useEffect(() => {\n resetErrors();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n actions.getMerchantSectionInfoRequest(\n merchantId,\n fields,\n 'integrationSection',\n history2\n );\n }\n }, [actions, fields, isEditMode, isViewMode, location.pathname, history2]);\n\n const onBack = () => {\n resetErrors();\n history.push(previousPath);\n };\n\n const onNext = () => {\n resetErrors();\n history.push(nextPath);\n };\n\n useEffect(() => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.SAVE_DATA(name));\n onNext();\n }\n return () => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n actions.resetSaveDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [saveData.isSuccess, saveData.sectionType]);\n\n useEffect(() => {\n if (updateData.isUpdated && updateData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.UPDATE_MAKER_REQUEST_SUCCESS(name));\n onNext();\n }\n return () => {\n if (\n updateData.isUpdated &&\n updateData.sectionType === sectionType\n ) {\n actions.resetUpdateDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateData.isUpdated, updateData.sectionType]);\n\n const getRefundQueueValue = (formData) => {\n const refundQueue = formData.values.refundQueue;\n if (typeof refundQueue === \"boolean\") {\n return refundQueue;\n }\n if (Array.isArray(refundQueue)) {\n return refundQueue.includes(\"refundQueue\");\n }\n return false;\n };\n\n useEffect(() => {\n if (formData.initial.refundQueueTat === undefined) return; // Wait for initial value\n if (formData.initial.refundQueueTat === null) {\n dispatch(changeFormValue(\"integration-form\", \"refundQueueTat\", \"86400000\"));\n }\n }, [formData.initial.refundQueueTat]); // Only runs when initial value updates\n\n // 🟢 Update refundQueueTat based on checkbox change\n useEffect(() => {\n if (formData.initial.refundQueueTat === undefined) return; // Avoid running too early\n const refundQueueValue = getRefundQueueValue(formData);\n if (!refundQueueValue) {\n dispatch(changeFormValue(\"integration-form\", \"refundQueueTat\", null));\n } else if (!formData.values.refundQueueTat) {\n const newValue = formData.initial.refundQueueTat ?? \"86400000\"; // ✅ FIX: Use default if null\n dispatch(changeFormValue(\"integration-form\", \"refundQueueTat\", newValue));\n }\n }, [formData.values.refundQueue]); // Only trigger when refundQueue changes\n\n const handleFormSubmit = values => {\n\n // return console.log(values, \"VALUES COPY\")\n const valuesCopy = {};\n valuesCopy.modeOfIntegration = getRequestValues(\n values.modeOfIntegration\n );\n valuesCopy.entityStatus = values.entityStatus;\n valuesCopy.security = getRequestValues(values.security);\n valuesCopy.keyMode = getRequestValues(values.keyMode);\n valuesCopy.platform = getRequestValues(values.platform);\n valuesCopy.instantRollback = values.instantRollback || false;\n valuesCopy.instantRefund = values.instantRefund || false;\n valuesCopy.allowRetry = values.allowRetry || false;\n valuesCopy.isSftpRequired = values.isSftpRequired || false;\n valuesCopy.isMerTxnLimitEnabled = values.isMerTxnLimitEnabled || false;\n if (valuesCopy.isMerTxnLimitEnabled) {\n valuesCopy.perTransactionLimit = parseInt(\n values?.perTransactionLimit,\n 10\n );\n valuesCopy.dailyTransactionLimit = parseInt(\n values?.dailyTransactionLimit,\n 10\n );\n valuesCopy.monthlyTransactionLimit = parseInt(\n values?.monthlyTransactionLimit,\n 10\n );\n }\n valuesCopy.isMtrViaEmailRequired =\n values.isMtrViaEmailRequired || false;\n valuesCopy.refundRetry = values.refundRetry || false;\n valuesCopy.refundQueue = getRefundQueueValue({ values }) || false;\n if (valuesCopy.refundQueue) {\n valuesCopy.refundQueueTat = values.refundQueueTat || 0;\n } else {\n valuesCopy.refundQueueTat = null;\n }\n valuesCopy.verifiedPayment = values.verifiedPayment || false;\n valuesCopy.isFcMerchant = values.isFcMerchant || false;\n valuesCopy.isStaticQREnabled = values.isStaticQREnabled || false;\n valuesCopy.allowFPS = values.allowFPS || false;\n valuesCopy.isMultiAttemptOnPayLink =\n values.isMultiAttemptOnPayLink || false;\n valuesCopy.retryCount = values.retryCount;\n valuesCopy.threeDimensionSecurityBrowserInfoCollect =\n values.threeDimensionSecurityBrowserInfoCollect || false;\n valuesCopy.threeDimensionSecurityInfoHardCoded =\n values.threeDimensionSecurityInfoHardCoded || false;\n valuesCopy.isMerchantTatEnabled = values.isMerchantTatEnabled || false;\n valuesCopy.isEncryptionEnabled = values.isEncryptionEnabled || false;\n\n valuesCopy.isMandateRegTatEnabled =\n values.isMandateRegTatEnabled || false;\n\n valuesCopy.allowOpenMultiPaymentLink =\n values.allowOpenMultiPaymentLink || false;\n if (valuesCopy.isEncryptionEnabled) {\n valuesCopy.encryptionData = values.encryptionData;\n }\n valuesCopy.merchantTxnTat = /^\\d+$/.test(values.merchantTxnTat)\n ? parseInt(values.merchantTxnTat, 10)\n : null;\n\n valuesCopy.mandateRegApprovalTat = /^\\d+$/.test(\n values.mandateRegApprovalTat\n )\n ? parseInt(values.mandateRegApprovalTat, 10)\n : null;\n\n valuesCopy.mandateRegFirstExeTat = /^\\d+$/.test(\n values.mandateRegFirstExeTat\n )\n ? parseInt(values.mandateRegFirstExeTat, 10)\n : null;\n\n valuesCopy.attemptCount = /^\\d+$/.test(values.attemptCount)\n ? parseInt(values.attemptCount, 10)\n : null;\n valuesCopy.paymentLinkAttemptDiff = /^\\d+$/.test(\n values.paymentLinkAttemptDiff\n )\n ? parseInt(values.paymentLinkAttemptDiff, 10)\n : null;\n const request = {\n uniqueIdentifier: uniqueId,\n sectionType,\n data: valuesCopy,\n };\n\n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n const updateRequest = {\n configurationType: 'INTEGRATION',\n entityCode: merchantId || '',\n merchantConfig: {\n integrationData: valuesCopy,\n },\n };\n\n const makerDetails = {\n makerId: auth.userDetails.email || '',\n idempotencyId: merchantId,\n eventType: MAKER_CHECKER_EVENT_TYPES.INTEGRATION,\n };\n\n actions.addMerchantStepUpdateMakerRequest(\n updateRequest,\n sectionType,\n makerDetails\n );\n } else if (isViewMode) {\n onNext();\n } else {\n actions.saveAndContinueRequest(request, sectionType);\n }\n };\n const errorDetails = isEditMode ? updateData : saveData;\n\n\n //console.log(formData, \"Form fata temo\")\n\n\n return (\n \n
    \n

    Integration Detail

    \n {errorDetails.error && errorDetails.error.errorMessage ? (\n \n {errorDetails.error.errorMessage}\n \n ) : null}\n
      \n
    • \n
      \n

      Select Mode

      \n \n
      \n
      \n

      Select Security

      \n \n
      \n {\n isEditMode && (\n
      \n

      Entity Status

      \n \n
      \n )\n }\n\n
    • \n
    • \n
      \n

      Select Platform

      \n \n
      \n
    • \n
    • \n
      \n

      Select Mode of Integration

      \n \n
      \n
    • \n\n {/*
    • \n
      \n
      \n\n
    • */}\n
    \n\n \n Transaction Configuration\n \n }\n lowerComponent={\n
      \n
    • \n
      \n \n
      \n
      \n \n
      \n
      \n \n
      \n {showCount && (\n
      \n

      \n Retry Count\n

      \n \n
      \n )}\n
      \n \n
      \n {showMerchantTxnTat && (\n
      \n

      \n Rollback TAT (in minutes)\n

      \n \n
      \n )}\n\n
      \n \n
      \n {showMandateRegTxnTat && (\n
      \n

      \n Mandate Registration TAT (in\n minutes)\n

      \n \n
      \n )}\n {showMandateRegTxnTat && (\n
      \n

      \n First Mandate Registration Execution\n TAT (in minutes)\n

      \n \n
      \n )}\n
    • \n
    \n }\n />\n\n Refund Configuration\n }\n lowerComponent={\n
      \n
    • \n
      \n \n
      \n
      \n \n
      \n
      \n \n
      \n {\n getRefundQueueValue(formData) && (\n
      \n

      \n Refund Queue TAT\n

      \n \n
      \n )\n }\n\n
    • \n
    \n }\n />\n\n \n Payment Link Configuration\n \n }\n lowerComponent={\n
      \n
    • \n
      \n \n
      \n
      \n \n
      \n {showPayLinkConfigs && (\n
      \n

      \n Attempt Count\n

      \n \n
      \n )}\n {showPayLinkConfigs && (\n
      \n

      \n Time Difference between two attempts\n (in minutes)\n

      \n \n
      \n )}\n
    • \n
    \n }\n />\n\n \n Merchant Configuration\n \n }\n lowerComponent={\n
      \n
    • \n
      \n \n
      \n
      \n \n
      \n
      \n \n
      \n
      \n \n
      \n
      \n \n
      \n {formData.values &&\n formData.values.isMerTxnLimitEnabled && (\n
      \n
      \n

      \n Per Transaction Limit\n

      \n \n
      \n
      \n

      \n Daily Transaction Limit\n

      \n \n
      \n
      \n

      \n Monthly Transaction Limit\n

      \n \n
      \n
      \n )}\n
    • \n
    \n }\n />\n\n \n Security Configuration\n \n }\n lowerComponent={\n
      \n
    • \n
      \n \n \n \n \n
      \n\n {showEncryptionKeys && (\n
      \n

      \n Test Encryption Key\n

      \n \n
      \n )}\n\n {showEncryptionKeys &&\n auth.userDetails.userLevel === 'ADMIN' && (\n
      \n

      \n Live Encryption Key\n

      \n \n
      \n )}\n
    • \n
    \n }\n />\n
    \n
    \n {previousPath ? (\n \n ) : null}\n \n
    \n \n );\n};\n\nIntegrationTab.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n merchantData: PropTypes.object.isRequired,\n isEditMode: PropTypes.bool,\n handleSubmit: PropTypes.func,\n history: PropTypes.object,\n nextPath: PropTypes.string,\n previousPath: PropTypes.string,\n sectionType: PropTypes.string,\n name: PropTypes.string,\n initialValues: PropTypes.object,\n formData: PropTypes.object,\n editData: PropTypes.object,\n isViewMode: PropTypes.bool,\n change: PropTypes.func,\n};\n\nconst mapStateToProps = ({ auth, form, merchantData, editData }) => ({\n auth,\n formData: form['integration-form'],\n merchantData,\n editData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n updateSectionDataRequest,\n addMerchantStepUpdateMakerRequest,\n getMerchantSectionInfoRequest,\n resetUpdateDataSuccessKey,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'integration-form',\n enableReinitialize: true,\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(IntegrationTab)\n);\n","import IntegrationTab from './IntegrationTab';\n\nexport default IntegrationTab;\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRE } = validators;\n const errors = {};\n if (\n REQUIRE(values.creditCard) &&\n REQUIRE(values.debitCard) &&\n REQUIRE(values.netBanking) &&\n REQUIRE(values.vpa) &&\n REQUIRE(values.wallets) &&\n REQUIRE(values.accountVerification) &&\n REQUIRE(values.emi)\n ) {\n errors.debitCard =\n 'At least one of the payment combination needs to be checked in order to proceed further';\n }\n if (\n !REQUIRE(values.creditCard) &&\n REQUIRE(values.creditCardBusinessSource)\n ) {\n errors.creditCardBusinessSource =\n 'Please select at least one Business Source';\n }\n if (!REQUIRE(values.debitCard) && REQUIRE(values.debitCardBusinessSource)) {\n errors.debitCardBusinessSource =\n 'Please select at least one Business Source';\n }\n if (!REQUIRE(values.upi) && REQUIRE(values.upiBusinessSource)) {\n errors.upiBusinessSource = 'Please select at least one Business Source';\n }\n if (REQUIRE(values.vpa)) {\n errors.vpa = 'UPI VPA is required';\n } else if(values?.preVpa?.toLowerCase() !== values?.vpa?.toLowerCase()){\n if (values?.integrationType === 'Online') {\n if (!values.vpa.toLowerCase().startsWith('fcpg')) {\n errors.vpa = 'Online VPA must start with \"fcpg\"';\n }\n } else if (values?.integrationType === 'Offline') {\n if (!values.vpa.toLowerCase().startsWith('fcbiz')) {\n errors.vpa = 'Offline VPA must start with \"fcbiz\"';\n }\n }\n }\n\n if (values.upi && values.upi.includes(\"SDK\") && !values.appId) {\n errors.appId = 'App ID is required';\n }\n if (!REQUIRE(values.emi) && REQUIRE(values.emiBusinessSource)) {\n errors.emiBusinessSource = 'Please select at least one Business Source';\n }\n // Removing this as per, SPG-8560\n // if (values.vpa?.includes('fcbiz')) {\n // errors.vpa = 'Please enter valid VPA';\n // }\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable complexity */\n/* eslint-disable max-lines */\n/* eslint-disable indent */\n/* eslint-disable max-statements */\n/* eslint-disable max-lines-per-function */\n// Libraries\nimport {\n getDependentSectionName,\n capitaliseString,\n capitalizeStringWithUnderscores,\n getFormButtonText,\n} from '../../utils/helperMethods';\nimport { FormElems, CustomSelect, Alert, AlertModal } from '../../components/';\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport {\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n submitStepFormRequest,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\nimport {\n updateSectionDataRequest,\n addMerchantStepUpdateMakerRequest,\n resetUpdateDataSuccessKey,\n getMerchantSectionInfoRequest,\n fetchBasicFormData,\n getMerchantInfoRequest,\n} from '../../containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport validate from './validator';\nimport React, { useState, useEffect, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change as changeValue } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { withRouter, useHistory } from 'react-router-dom';\nimport { components } from 'react-select';\nimport { toast } from 'react-toastify';\nimport { isEmpty, last, first } from 'lodash';\nimport { useDispatch } from 'react-redux';\n// Component\n\n// Actions\n\n// Constant\n\n// Validator\n\n// Styles\nimport './payModeTab.scss';\nimport { MAKER_CHECKER_EVENT_TYPES } from 'utils/constants/commonValues';\n\nconst allOption = [{ value: 'all', label: 'ALL BANKS', checked: false }];\nconst allOptionWallets = [\n { value: 'all', label: 'ALL WALLETS', checked: false },\n];\n\nconst customOptions = (bankList, draftData, optionFor) => {\n const formattedBanks =\n bankList &&\n bankList.length &&\n bankList\n .filter(elm => elm.subModeNameUI)\n .map(bank => ({\n label: bank.subModeNameUI,\n value: bank.subModeNameUI,\n data: {\n paymentType: bank.paymentType,\n paymentModeInfo: bank.subMode,\n paymentModeInfoUI: bank.subModeNameUI,\n },\n checked: false,\n }));\n if (\n draftData &&\n draftData.data &&\n draftData.data.paymentModeDetails &&\n formattedBanks\n ) {\n const payDetails = draftData.data.paymentModeDetails;\n const netBanking = [];\n const wallets = [];\n payDetails.forEach(item => {\n if (!item) {\n return;\n }\n if (item.paymentType === 'NB') {\n netBanking.push(item.paymentModeInfo);\n }\n if (item.paymentType === 'WALLET') {\n wallets.push(item.paymentModeInfo);\n }\n });\n if (optionFor === 'NB') {\n return formattedBanks.map(item => {\n if (netBanking.includes(item.data.paymentModeInfo)) {\n return {\n ...item,\n checked: true,\n };\n }\n return item;\n });\n } else if (optionFor === 'WALLET') {\n return formattedBanks.map(item => {\n if (wallets.includes(item.data.paymentModeInfo)) {\n return {\n ...item,\n checked: true,\n };\n }\n return item;\n });\n }\n }\n return formattedBanks;\n};\n\nconst ValueContainer = ({ children, ...props }) => {\n const { getValue, hasValue } = props;\n const newChildren = [...children];\n const nbValues = getValue().filter(item => item.value !== 'all').length;\n newChildren[0] = `${nbValues} Selected`;\n\n if (!hasValue) {\n return (\n \n {children}\n \n );\n }\n return (\n \n {newChildren}\n \n );\n};\n\nconst Option = props => {\n const { data, isSelected } = props;\n data.checked = isSelected;\n const dataOptions = [data];\n return (\n \n
    \n \n
    \n
    \n );\n};\n\nconst formatGroupLabel = data => (\n
    \n \n
    \n);\n\nconst getPayOptions = (payData, staticData) => {\n if (payData && staticData) {\n const { CARD_TYPE, BANK_CODE } = staticData;\n const {\n creditCards,\n debitCards,\n netbanking,\n upi,\n debitCardBusinessSource,\n creditCardBusinessSource,\n emiBusinessSource,\n upiBusinessSource,\n upiAccountType,\n wallets,\n accountVerification,\n emi,\n } = payData;\n\n const formatValues = {\n creditCards: [],\n debitCards: [],\n netbanking: [],\n upi: [],\n debitCardBusinessSources: [],\n creditCardBusinessSources: [],\n upiBusinessSources: [],\n upiAccountTypes: [],\n wallets: [],\n accountVerification: [],\n emi: [],\n emiBusinessSource: [],\n };\n\n if (debitCardBusinessSource && !isEmpty(debitCardBusinessSource)) {\n formatValues.debitCardBusinessSources = debitCardBusinessSource.map(\n item => {\n return {\n businessSourceNameUI: capitaliseString(item),\n businessSourceValue: item,\n };\n }\n );\n }\n\n if (emiBusinessSource && !isEmpty(emiBusinessSource)) {\n formatValues.emiBusinessSource = emiBusinessSource.map(item => {\n return {\n businessSourceNameUI: capitaliseString(item),\n businessSourceValue: item,\n };\n });\n }\n\n if (creditCardBusinessSource && !isEmpty(creditCardBusinessSource)) {\n formatValues.creditCardBusinessSources = creditCardBusinessSource.map(\n item => {\n return {\n businessSourceNameUI: capitaliseString(item),\n businessSourceValue: item,\n };\n }\n );\n }\n\n if (upiBusinessSource && !isEmpty(upiBusinessSource)) {\n formatValues.upiBusinessSources = upiBusinessSource.map(item => {\n return {\n businessSourceNameUI: capitaliseString(item),\n businessSourceValue: item,\n };\n });\n }\n\n if (upiAccountType && !isEmpty(upiAccountType)) {\n const resultObj = {};\n\n for (const [businessSource, accountTypes] of Object.entries(\n upiAccountType\n )) {\n const formattedAccountTypes = accountTypes.map(type => ({\n accountTypesNameUI: capitalizeStringWithUnderscores(type),\n accountTypesValue: type,\n }));\n\n resultObj[businessSource] = formattedAccountTypes;\n }\n\n formatValues.upiAccountTypes = !isEmpty(resultObj) ? resultObj : [];\n }\n\n if (upi && !isEmpty(upi)) {\n formatValues.upi = upi.map(item => {\n return {\n ...item,\n subModeNameUI: `${capitaliseString(item.subMode)}`,\n };\n });\n }\n\n if (creditCards && !isEmpty(creditCards)) {\n formatValues.creditCards = creditCards.map(item => {\n return {\n ...item,\n subModeNameUI:\n (CARD_TYPE[item.subMode] &&\n CARD_TYPE[item?.subMode]?.codeNameUI) ||\n '-',\n };\n });\n }\n if (debitCards && !isEmpty(debitCards)) {\n formatValues.debitCards = debitCards.map(item => {\n return {\n ...item,\n subModeNameUI:\n (CARD_TYPE[item.subMode] &&\n CARD_TYPE[item.subMode].codeNameUI) ||\n '-',\n };\n });\n }\n\n if (netbanking && !isEmpty(netbanking)) {\n formatValues.netbanking = netbanking.map(item => {\n return {\n ...item,\n subModeNameUI:\n (BANK_CODE[item.subMode] &&\n BANK_CODE[item.subMode].codeNameUI) ||\n '-',\n };\n });\n }\n\n if (wallets && !isEmpty(wallets)) {\n formatValues.wallets = wallets.map(item => {\n return {\n ...item,\n subModeNameUI: item.subModeNameUI,\n subMode: item.subMode,\n };\n });\n }\n\n if (accountVerification && !isEmpty(accountVerification)) {\n formatValues.accountVerification = accountVerification.map(item => {\n return {\n ...item,\n subModeNameUI: item.subModeNameUI,\n subMode: item.subMode,\n };\n });\n }\n\n if (emi && !isEmpty(emi)) {\n formatValues.emi = emi.map(item => {\n return {\n ...item,\n subModeNameUI: item.subModeNameUI,\n subMode: item.subMode,\n };\n });\n }\n\n return formatValues;\n }\n return payData;\n};\n\nconst renderCustomSelect = props => {\n const { input, data, ...attributes } = props;\n const handleBlur = () => input.onBlur;\n return (\n
    \n \n
    \n );\n};\n\nrenderCustomSelect.propTypes = {\n input: PropTypes.object,\n data: PropTypes.array,\n};\n\nconst PayModeTab = ({\n merchantData,\n handleSubmit,\n history,\n nextPath,\n previousPath,\n auth,\n actions,\n sectionType,\n name,\n isEditMode,\n isViewMode,\n draftData,\n editData,\n change,\n onBoardSteps,\n isInEditMode,\n formData,\n dirty,\n staticData,\n allDraftData,\n}) => {\n const {\n saveData,\n uniqueIdentifier: { uniqueId },\n paymentModes,\n timeline: { fields },\n } = merchantData;\n\n const { updateData, basicFormData = {} } = editData;\n const { location } = history;\n const memoizedPay = useMemo(\n () => getPayOptions(paymentModes, staticData.payValues),\n [paymentModes, staticData.payValues]\n );\n\n\n const dispatch = useDispatch();\n\n const {\n netbanking,\n creditCards,\n debitCards,\n upi,\n debitCardBusinessSources,\n creditCardBusinessSources,\n upiBusinessSources,\n upiAccountTypes,\n wallets,\n accountVerification,\n emiBusinessSource,\n emi,\n } = memoizedPay;\n\n\n const [selectedBanks, setSelectedBanks] = useState([]);\n const [bankOptions, setBankOptions] = useState([]);\n\n const [selectedWallets, setSelectedWallets] = useState([]);\n const [walletsOptions, setWalletsOptions] = useState([]);\n\n const [isChange, setIsChange] = useState(false);\n const currentStep = first(\n onBoardSteps.filter(item => item.sectionType === sectionType)\n );\n\n // Determine if the user is in a terminal state based on the presence of 'nextPath'.\n const isUserTerminalState = !nextPath;\n\n const isRefIdEnabled = [\n {\n name: 'Enable Reference ID',\n value: 'isRefIdEnabled',\n checked: false,\n },\n ];\n\n useEffect(() => {\n let bankOptions = customOptions(netbanking, draftData, 'NB');\n if (Array.isArray(bankOptions)) {\n bankOptions = bankOptions.sort((cur, next) => {\n if (cur.label < next.label) {\n return -1;\n }\n if (cur.label > next.label) {\n return 1;\n }\n return 0;\n });\n }\n const checkedBanks =\n bankOptions && bankOptions.filter(item => item.checked);\n const filteredBanks =\n netbanking && netbanking.filter(item => item.subModeNameUI);\n const groupedOptions = [\n {\n label: '',\n options: allOption,\n },\n {\n label: 'Select Custom Bank ',\n options: bankOptions,\n },\n ];\n setBankOptions(groupedOptions);\n\n if (\n filteredBanks &&\n checkedBanks &&\n filteredBanks.length === checkedBanks.length\n ) {\n const allOpt = allOption;\n allOpt[0].checked = true;\n setSelectedBanks([...allOpt, ...checkedBanks]);\n } else {\n const banks = checkedBanks || [];\n setSelectedBanks(banks);\n }\n }, [draftData, netbanking]);\n\n useEffect(() => {\n let walletsOptions = customOptions(wallets, draftData, 'WALLET');\n if (Array.isArray(walletsOptions)) {\n walletsOptions = walletsOptions.sort((cur, next) => {\n if (cur.label < next.label) {\n return -1;\n }\n if (cur.label > next.label) {\n return 1;\n }\n return 0;\n });\n }\n const checkedWallets =\n walletsOptions && walletsOptions.filter(item => item.checked);\n const filteredWallets =\n wallets && wallets.filter(item => item.subModeNameUI);\n const groupedOptions = [\n {\n label: '',\n options: allOptionWallets,\n },\n {\n label: 'Select Custom Wallet ',\n options: walletsOptions,\n },\n ];\n setWalletsOptions(groupedOptions);\n\n if (\n filteredWallets &&\n checkedWallets &&\n filteredWallets.length === checkedWallets.length\n ) {\n const allOpt = allOptionWallets;\n allOpt[0].checked = true;\n setSelectedWallets([...allOpt, ...checkedWallets]);\n } else {\n const checkedWalletsList = checkedWallets || [];\n setSelectedWallets(checkedWalletsList);\n }\n }, [draftData, wallets]);\n\n const resetErrors = () => {\n if (isEditMode) {\n actions.resetUpdateDataSuccessKey();\n } else {\n actions.resetSaveDataSuccessKey();\n }\n };\n\n useEffect(() => {\n resetErrors();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n const history2 = useHistory();\n useEffect(() => {\n\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n actions.getMerchantSectionInfoRequest(\n merchantId,\n fields,\n 'paymentModeSection',\n history2\n );\n }\n }, [actions, fields, isEditMode, isViewMode, location.pathname, history2]);\n\n const onBack = () => {\n resetErrors();\n history.push(previousPath);\n };\n\n const onNext = () => {\n resetErrors();\n if (!isUserTerminalState) {\n history.push(nextPath);\n } else {\n history.push('/mob');\n }\n };\n\n const [isShowModal, setIsShowModal] = useState(false);\n\n const onSuccessModal = () => {\n setIsShowModal(false);\n if (formData && formData.values) {\n handleFormSubmit(formData.values);\n }\n };\n\n const onCloseModal = () => {\n setIsShowModal(false);\n };\n\n useEffect(() => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.SAVE_DATA(name));\n onNext();\n }\n return () => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n actions.resetSaveDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [saveData.isSuccess, saveData.sectionType]);\n\n useEffect(() => {\n if (updateData.isUpdated && updateData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.UPDATE_MAKER_REQUEST_SUCCESS(name));\n onNext();\n }\n return () => {\n if (\n updateData.isUpdated &&\n updateData.sectionType === sectionType\n ) {\n actions.resetUpdateDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateData.isUpdated, updateData.sectionType]);\n\n useEffect(() => {\n change('netBanking', selectedBanks);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [selectedBanks]);\n\n useEffect(() => {\n change('wallets', selectedWallets);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [selectedWallets]);\n\n useEffect(() => {\n const portalValue = formData.values.isRefIdEnabled;\n if (portalValue === true || portalValue === 'isRefIdEnabled') {\n change('isRefIdEnabled', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isRefIdEnabled')\n ) {\n change('isRefIdEnabled', true);\n } else {\n change('isRefIdEnabled', false);\n }\n }, [change, formData.values.isRefIdEnabled]);\n\n const getDynamicBoolValues = (values, key) => {\n console.log(\"values and key : \", values, key);\n const boolValues =\n values &&\n values[key] &&\n Array.isArray(values[key]) &&\n values[key].includes(key);\n return boolValues || false;\n };\n\n const handleFormSubmit = values => {\n if (\n currentStep &&\n currentStep.dependentSections &&\n currentStep.dependentSections.length &&\n currentStep.status === 'Complete' &&\n isChange &&\n !isShowModal\n ) {\n setIsShowModal(true);\n } else {\n const selectedCreditCards = values.creditCard || [];\n const selectedDebitCards = values.debitCard || [];\n const selectedNetBanking = selectedBanks || [];\n const selectedUPIOptions = values.upi;\n const selectedMandateUpi = values.mandateUpi || [];\n const selectedWalletList = selectedWallets || [];\n const selectedAccountVerification =\n values.accountVerification || [];\n const selectedEMI = values.emi || [];\n\n if (\n values.upi &&\n values.upi.length > 0 &&\n values.upiBusinessSource &&\n values.upiBusinessSource.length <= 0\n ) {\n toast.error('Please select at least one UPI Business Source');\n return;\n }\n\n if (\n values.upi &&\n values.upi.length > 0 &&\n values.upiBusinessSource &&\n values.upiBusinessSource.length > 0\n ) {\n let isValidAccountType = true;\n let emptyBusinessSource = '';\n values.upiBusinessSource.forEach(\n (businessSource, businessSourceIndex) => {\n if (\n !values[`upiAccountTypes-${businessSource}`] ||\n values[`upiAccountTypes-${businessSource}`]\n .length <= 0\n ) {\n isValidAccountType = false;\n emptyBusinessSource = businessSource;\n }\n }\n );\n\n if (isValidAccountType === false) {\n toast.error(\n `Please select at least one account type for ${capitaliseString(\n emptyBusinessSource\n )} sources`\n );\n return;\n }\n }\n\n const creditCardOptions = creditCards\n .filter(mode => selectedCreditCards.includes(mode.subMode))\n .map(mode => ({\n paymentType: mode.paymentType,\n paymentModeInfo: mode.subMode,\n txnConfig: values.creditCardBusinessSource?.map(\n businessSource => {\n return { businessSource };\n }\n ),\n }));\n\n // const upiOptions = upiEnabled\n // ? [{ paymentType: 'UPI', paymentSubModeInfo: values.vpa }]\n // : [];\n\n const upiOptions = upi\n ?.filter(mode => selectedUPIOptions?.includes(mode.subMode))\n ?.map(mode => ({\n paymentType: mode.paymentType,\n paymentModeInfo: mode.subMode,\n paymentSubModeInfo: values.vpa,\n txnConfig: values.upiBusinessSource?.map(businessSource => {\n return {\n businessSource,\n accountType:\n values[`upiAccountTypes-${businessSource}`],\n };\n }),\n }));\n\n const mandateUPIOptions = upi\n .filter(\n mode =>\n selectedMandateUpi.includes(mode.subMode) &&\n selectedUPIOptions.includes(mode.subMode)\n )\n .map(mode => ({\n paymentType: mode.paymentType,\n paymentModeInfo: mode.subMode,\n category: 'MANDATE',\n paymentSubModeInfo: values.vpa,\n txnConfig: values.upiBusinessSource?.map(businessSource => {\n return {\n businessSource,\n accountType:\n values[`upiAccountTypes-${businessSource}`],\n };\n }),\n }));\n\n const debitCardOptions = debitCards\n .filter(mode => selectedDebitCards.includes(mode.subMode))\n .map(mode => ({\n paymentType: mode.paymentType,\n paymentModeInfo: mode.subMode,\n txnConfig: values.debitCardBusinessSource?.map(\n businessSource => {\n return { businessSource };\n }\n ),\n }));\n const netBankingOptions = selectedNetBanking\n .filter(item => item.value !== 'all')\n .map(item => {\n return {\n ...item.data,\n txnConfig: [\n {\n businessSource: 'DOMESTIC',\n },\n ],\n };\n });\n\n const walletsOptions = selectedWalletList\n .filter(item => item.value !== 'all')\n .map(item => item.data);\n\n const accountVerificationOptions = accountVerification\n .filter(mode =>\n selectedAccountVerification.includes(mode.subMode)\n )\n .map(mode => ({\n paymentType: mode.paymentType,\n paymentModeInfo: mode.subMode,\n paymentModeInfoUI: mode.subModeNameUI,\n }));\n\n const emiOptions = emi\n .filter(mode => selectedEMI.includes(mode.subMode))\n .map(mode => ({\n paymentType: mode.paymentType,\n paymentModeInfo: mode.subMode,\n paymentModeInfoUI: mode.subModeNameUI,\n txnConfig: values.emiBusinessSource?.map(businessSource => {\n return { businessSource };\n }),\n }));\n\n const request = {\n uniqueIdentifier: uniqueId,\n sectionType,\n data: {\n paymentLinkEnabled: getDynamicBoolValues(\n values,\n 'paymentLinkEnabled'\n ),\n paymentPageEnabled: getDynamicBoolValues(\n values,\n 'paymentPageEnabled'\n ),\n voidCapability: getDynamicBoolValues(\n values,\n 'voidCapability'\n ),\n emiEnabled: getDynamicBoolValues(values, 'emiEnabled'),\n isRefIdEnabled:\n upiOptions.length > 0 ? values.isRefIdEnabled : false,\n appId: values.appId,\n paymentModeDetails: [\n ...creditCardOptions,\n ...debitCardOptions,\n ...netBankingOptions,\n ...walletsOptions,\n ...upiOptions,\n ...accountVerificationOptions,\n ...emiOptions,\n ...mandateUPIOptions,\n ],\n },\n };\n\n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n const updateRequest = {\n configurationType: 'PAYMENTMODE',\n entityCode: merchantId || '',\n merchantConfig: {\n paymentModeData: {\n paymentLinkEnabled: getDynamicBoolValues(\n values,\n 'paymentLinkEnabled'\n ),\n paymentPageEnabled: getDynamicBoolValues(\n values,\n 'paymentPageEnabled'\n ),\n voidCapability: getDynamicBoolValues(\n values,\n 'voidCapability'\n ),\n emiEnabled: getDynamicBoolValues(\n values,\n 'emiEnabled'\n ),\n isRefIdEnabled:\n upiOptions.length > 0\n ? values.isRefIdEnabled\n : false,\n appId: values.appId,\n paymentModeDetails: [\n ...creditCardOptions,\n ...debitCardOptions,\n ...netBankingOptions,\n ...upiOptions,\n ...walletsOptions,\n ...accountVerificationOptions,\n ...emiOptions,\n ...mandateUPIOptions,\n ],\n },\n },\n };\n\n const makerDetails = {\n makerId: auth.userDetails.email || '',\n idempotencyId: merchantId,\n eventType: MAKER_CHECKER_EVENT_TYPES.PAYMENTMODE,\n };\n\n actions.addMerchantStepUpdateMakerRequest(\n updateRequest,\n sectionType,\n makerDetails\n );\n } else if (isViewMode) {\n onNext();\n } else {\n if (isUserTerminalState) {\n actions.submitStepFormRequest(request, sectionType);\n } else {\n actions.saveAndContinueRequest(request, sectionType);\n }\n }\n }\n };\n\n const getAllSelectedBanks = allBanks => {\n const bankList = allBanks[1];\n if (bankList) {\n return [...allOption, ...bankList.options];\n }\n return [];\n };\n\n const getAllSelectedWallets = allWallets => {\n const walletList = allWallets[1];\n if (walletList) {\n return [...allOptionWallets, ...walletList.options];\n }\n return [];\n };\n\n const checkIsAllRemoved = (oldState, newState) => {\n const isOldStateHaveAll = oldState.some(item => item.value === 'all');\n const isNewStateHaveAll = newState.some(item => item.value === 'all');\n return isOldStateHaveAll !== isNewStateHaveAll;\n };\n\n const isAllClicked = (oldState, newState) => {\n const isOldStateHaveAll = oldState.some(item => item.value === 'all');\n const isNewStateHaveAll = newState.some(item => item.value === 'all');\n return isOldStateHaveAll === false && isNewStateHaveAll === true;\n };\n\n const handleBankSelect = value => {\n setIsChange(true);\n const isAllRemoved = checkIsAllRemoved(selectedBanks, value);\n\n if (isAllClicked(selectedBanks, value)) {\n const allBanks = getAllSelectedBanks(bankOptions);\n setSelectedBanks(allBanks);\n } else if (isAllRemoved) {\n setSelectedBanks([]);\n } else {\n const selectedValue = value.filter(item => item.value !== 'all');\n if (selectedValue.length === bankOptions[1].options.length) {\n setSelectedBanks([...allOption, ...value]);\n } else {\n setSelectedBanks(selectedValue);\n }\n }\n };\n\n const handleWalletSelect = value => {\n setIsChange(true);\n const isAllRemoved = checkIsAllRemoved(selectedWallets, value);\n\n if (isAllClicked(selectedWallets, value)) {\n const allWallets = getAllSelectedWallets(walletsOptions);\n setSelectedWallets(allWallets);\n } else if (isAllRemoved) {\n setSelectedWallets([]);\n } else {\n const selectedValue = value.filter(item => item.value !== 'all');\n if (selectedValue.length === walletsOptions[1].options.length) {\n setSelectedWallets([...allOptionWallets, ...value]);\n } else {\n setSelectedWallets(selectedValue);\n }\n }\n };\n const errorDetails = isEditMode ? updateData : saveData;\n const isOrAre = currentStep.dependentSections.length > 1 ? 'are' : 'is';\n\n const getCheckboxOptions = (initialValuesData, data, keyField) => {\n if (initialValuesData && initialValuesData[keyField]) {\n return data.map(item => {\n if (initialValuesData[keyField]) {\n return { ...item, checked: true };\n }\n return item;\n });\n }\n return data;\n };\n\n useEffect(() => {\n if (basicFormData?.upiDetails) {\n const merchentVPA = basicFormData.upiDetails.merchantVpa;\n const isRefIdEnabled = basicFormData.upiDetails.isRefIdEnabled;\n dispatch(changeValue('payMode-form', 'vpa', merchentVPA));\n dispatch(changeValue('payMode-form', 'isRefIdEnabled', isRefIdEnabled));\n }\n }, [basicFormData, dispatch, formData.initial])\n\n useEffect(() => {\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n let req = {\n entityCode: merchantId,\n sectionType,\n };\n actions.fetchBasicFormData(req);\n }\n }, [isEditMode, isViewMode, actions])\n\n useEffect(() => {\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n actions.getMerchantInfoRequest(merchantId, fields, history,toast);\n }\n }, [actions, fields, isEditMode, isViewMode, location.pathname]);\n\n useEffect(() => {\n let sections = [];\n\n if ((isEditMode || isViewMode)) {\n if(editData){\n sections = editData.sections;\n }\n } else {\n sections = allDraftData;\n }\n\n const merchantSection = sections.find(item => item.type === \"createMerchantSection\");\n\n if (merchantSection) {\n const integrationType = merchantSection.data?.integrationType;\n change('integrationType', integrationType);\n }\n }, [editData, change, allDraftData, isEditMode, isViewMode]);\n\n useEffect(() => {\n if(formData.initial && change){\n const preVpa = formData.initial.vpa;\n change('preVpa', preVpa);\n }\n }, [formData.initial, change]);\n\n return (\n \n
    \n

    Payment Mode

    \n {errorDetails.error && errorDetails.error.errorMessage ? (\n \n {errorDetails.error.errorMessage}\n \n ) : null}\n {paymentModes.error && paymentModes.error.errorMessage ? (\n \n {paymentModes.error.errorMessage}\n \n ) : null}\n \n
      \n
    • \n
      \n

      Debit Card

      \n {\n setIsChange(true);\n }}\n />\n
      \n
    • \n {formData &&\n formData.values.debitCard &&\n formData.values.debitCard.length > 0 && (\n
    • \n
      \n

      \n Debit Card Business Source\n

      \n {\n setIsChange(true);\n }}\n />\n
      \n
    • \n )}\n
    \n
      \n
    • \n
      \n

      Credit Card

      \n {\n setIsChange(true);\n }}\n />\n
      \n
    • \n {formData &&\n formData.values.creditCard &&\n formData.values.creditCard.length > 0 && (\n
    • \n
      \n

      \n Credit Card Business Source\n

      \n {\n setIsChange(true);\n }}\n />\n
      \n
    • \n )}\n
    \n\n
      \n
    • \n
      \n

      UPI

      \n {\n setIsChange(true);\n }}\n />\n
      \n
    • \n\n {formData &&\n formData.values.upi &&\n formData.values.upi.length > 0 && (\n
    • \n
      \n

      UPI Mandate Mode

      \n \n formData.values.upi.includes(\n upiMode.subMode\n ) && upiMode.subMode !== 'SDK'\n )}\n isDisabled={isViewMode}\n handleChange={event => {\n setIsChange(true);\n }}\n />\n
      \n
    • \n )}\n\n {formData &&\n formData.values.upi &&\n formData.values.upi.length > 0 && (\n
    • \n
      \n

      UPI Business Source

      \n {\n setIsChange(true);\n }}\n />\n
      \n
    • \n )}\n\n {formData &&\n formData.values &&\n formData.values.upi &&\n formData.values.upi.length > 0 &&\n formData.values.upiBusinessSource &&\n formData.values.upiBusinessSource.length > 0 &&\n formData.values.upiBusinessSource.map(\n businessSource => (\n
    • \n
      \n

      \n {capitalizeStringWithUnderscores(\n businessSource\n )}{' '}\n Account Types\n

      \n {\n setIsChange(true);\n }}\n />\n
      \n
    • \n )\n )}\n
    \n\n
      \n {formData &&\n formData.values.upi &&\n formData.values.upi.length > 0 && (\n
    • \n
      \n

      UPI VPA

      \n \n
      \n \n
      \n
      \n {formData.values.upi.includes('SDK') ? (\n
      \n

      App ID

      \n \n
      \n ) : (\n <>\n )}\n
    • \n )}\n
    \n\n
      \n
    • \n
      \n

      Account Verification

      \n {\n setIsChange(true);\n }}\n />\n
      \n
    • \n
    \n\n
      \n
    • \n
      \n

      EMI

      \n {\n setIsChange(true);\n }}\n />\n
      \n
    • \n {formData &&\n formData.values.emi &&\n formData.values.emi.length > 0 && (\n
    • \n
      \n

      EMI Business Source

      \n {\n setIsChange(true);\n }}\n />\n
      \n
    • \n )}\n
    \n\n
      \n
    • \n
      \n

      Other Payment Modes

      \n \n \n \n {/* */}\n
      \n
    • \n
    \n
      \n
    • \n
      \n

      Net banking

      \n \n
      \n
    • \n\n
    • \n
      \n

      Wallets

      \n \n
      \n
    • \n
    \n
    \n
    \n {previousPath ? (\n \n ) : null}\n \n
    \n \n );\n};\n\nPayModeTab.propTypes = {\n merchantData: PropTypes.object,\n handleSubmit: PropTypes.func,\n history: PropTypes.object,\n nextPath: PropTypes.string,\n previousPath: PropTypes.string,\n name: PropTypes.string,\n sectionType: PropTypes.string,\n auth: PropTypes.object,\n actions: PropTypes.object,\n draftData: PropTypes.object,\n isEditMode: PropTypes.bool,\n editData: PropTypes.object,\n change: PropTypes.func,\n isViewMode: PropTypes.bool,\n onBoardSteps: PropTypes.array,\n isInEditMode: PropTypes.bool,\n formData: PropTypes.object,\n staticData: PropTypes.object,\n initialValues: PropTypes.object,\n dirty: PropTypes.bool,\n};\n\nOption.propTypes = {\n data: PropTypes.object.isRequired,\n isSelected: PropTypes.bool,\n};\n\nValueContainer.propTypes = {\n hasValue: PropTypes.bool,\n children: PropTypes.array,\n getValue: PropTypes.func,\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n merchantData,\n editData,\n staticData,\n}) => ({\n auth,\n formData: form['payMode-form'],\n merchantData,\n editData,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n updateSectionDataRequest,\n addMerchantStepUpdateMakerRequest,\n resetUpdateDataSuccessKey,\n getMerchantSectionInfoRequest,\n submitStepFormRequest,\n fetchBasicFormData,\n getMerchantInfoRequest,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'payMode-form',\n enableReinitialize: true,\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(PayModeTab)\n);\n","import PayModeTab from './PayModeTab';\n\nexport default PayModeTab;\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED, EMAIL, MAX_LENGTH } = validators;\n const errors = {};\n if (REQUIRED(values.name)) {\n errors.name = 'Please enter Aggregator Name';\n }\n if (values.name) {\n errors.name = MAX_LENGTH(values.name, 50);\n }\n if (REQUIRED(values.email)) {\n errors.email = 'Please enter a email address';\n }\n if (EMAIL(values.email)) {\n errors.email = 'Please enter a valid email address';\n }\n if (EMAIL(values.communicationEmailId)) {\n errors.communicationEmailId =\n 'Please enter a valid communication email address';\n }\n if (REQUIRED(values.relationshipManagerId)) {\n errors.relationshipManagerId =\n 'Please enter a Relationship Manager Name';\n }\n if (\n values.portalAccess &&\n Array.isArray(values.portalAccess) &&\n values.portalAccess.includes('portalAccess')\n ) {\n if (REQUIRED(values.userEmail)) {\n errors.userEmail = 'Please enter a email address';\n }\n if (EMAIL(values.userEmail)) {\n errors.userEmail = 'Please enter a valid email address';\n }\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\n\n// Actions\nimport {\n createEntityRequest,\n createEntityError,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\n// Constant\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport { ENTITY_TYPE } from '../../utils/constants/commonValues';\n\n// Component\nimport { FormElems, Alert } from '..';\nimport validate from './validator';\n\n// Validator\n\n// Styles\nimport './addAggregator.scss';\n\n/**\n * AddAggregator Component\n *\n * @param {Object} props - React component props\n */\nconst AddAggregator = props => {\n const {\n closePopup,\n actions,\n handleSubmit,\n merchantData,\n staticData,\n } = props;\n const { createEntity } = merchantData;\n const { staticInfo } = staticData;\n\n const [showUserEmailField, setShowUserEmailField] = useState(false);\n\n const onCancel = (onSuccess, entityType) => {\n closePopup(onSuccess, entityType);\n };\n\n /* Effect is to shw the success message and reset redux error */\n useEffect(() => {\n if (createEntity.isSuccess) {\n onCancel(true, ENTITY_TYPE.AGGREGATOR);\n toast.info(SUCCESS_MESSAGES.CREATE_ENTITY('Aggregator'));\n }\n return () => {\n if (createEntity.isSuccess) {\n actions.createEntityError({ error: {} });\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [createEntity.isSuccess]);\n\n /**\n * Method to handle form submit values for Aggregator\n *\n * @returns {object}\n */\n const handleFormSubmit = values => {\n const request = Object.assign({}, values);\n request.entityType = 'AGGREGATOR';\n request.portalAccess =\n (values &&\n values.portalAccess &&\n Array.isArray(values.portalAccess) &&\n values.portalAccess.includes('portalAccess')) ||\n false;\n actions.createEntityRequest(request);\n };\n\n return (\n
    \n {createEntity.error && createEntity.error.errorMessage ? (\n \n {createEntity.error.errorMessage}\n \n ) : null}\n
    \n
    \n

    Aggregator Name

    \n \n
    \n
    \n
    \n
    \n

    Email ID

    \n \n
    \n
    \n
    \n
    \n

    Communication Email ID

    \n \n
    \n
    \n
    \n
    \n

    Relationship Manager Name

    \n \n
    \n
    \n
    \n
    \n \n setShowUserEmailField(prevState => !prevState)\n }\n options={[\n {\n name: 'Portal Access',\n value: 'portalAccess',\n checked: false,\n },\n ]}\n valueField=\"value\"\n />\n
    \n
    \n {showUserEmailField && (\n
    \n
    \n

    User Email ID

    \n \n
    \n
    \n )}\n
    \n \n \n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, form, merchantData, staticData }) => ({\n auth,\n form,\n staticData,\n merchantData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createEntityRequest,\n createEntityError,\n },\n dispatch\n ),\n});\n\nAddAggregator.propTypes = {\n actions: PropTypes.object,\n actionType: PropTypes.string,\n auth: PropTypes.object,\n closePopup: PropTypes.func,\n data: PropTypes.object,\n form: PropTypes.object,\n handleSubmit: PropTypes.func,\n merchantData: PropTypes.object,\n staticData: PropTypes.object,\n};\n\nexport default compose(\n reduxForm({\n form: 'add-aggregator-form',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(AddAggregator);\n","import AddAggregator from './AddAggregator';\n\nexport default AddAggregator;\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED, EMAIL, MAX_LENGTH } = validators;\n const errors = {};\n if (REQUIRED(values.name)) {\n errors.name = 'Please enter Merchant Legal Entity Name';\n }\n if (values.name) {\n errors.name = MAX_LENGTH(values.name, 50);\n }\n if (REQUIRED(values.email)) {\n errors.email = 'Please enter a email address';\n }\n\n if (REQUIRED(values.relationshipManagerId)) {\n errors.relationshipManagerId =\n 'Please enter a Relationship Manager Name';\n }\n if (EMAIL(values.email)) {\n errors.email = 'Please enter a valid email address';\n }\n if (EMAIL(values.communicationEmailId)) {\n errors.communicationEmailId =\n 'Please enter a valid communication email address';\n }\n if (\n values.portalAccess &&\n Array.isArray(values.portalAccess) &&\n values.portalAccess.includes('portalAccess')\n ) {\n if (REQUIRED(values.userEmail)) {\n errors.userEmail = 'Please enter a email address';\n }\n if (EMAIL(values.userEmail)) {\n errors.userEmail = 'Please enter a valid email address';\n }\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\n\n// Actions\nimport {\n createEntityRequest,\n fetchEntityHierarchyMLERequest,\n fetchEntityListMLERequest,\n createEntityError,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\n// Constant\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport { ENTITY_TYPE } from '../../utils/constants/commonValues';\n\n// Components\nimport { FormElems, Alert } from '..';\nimport validate from './validator';\n\n// Validator\n\n// Styles\nimport './addMLE.scss';\n\n/**\n * Add MLE Component\n *\n * @param {Object} props - React component props\n */\n\nconst AddMLE = props => {\n const {\n closePopup,\n actions,\n handleSubmit,\n merchantData,\n staticData,\n } = props;\n const { createEntity, entityList, addRole } = merchantData;\n const { staticInfo } = staticData;\n const [parentEntityCode, setParentEntityCode] = useState('');\n const [selectedAgg, setSelectedAgg] = useState('');\n const [showUserEmailField, setShowUserEmailField] = useState(false);\n const [resetFranchise, setResetFranchise] = useState(false);\n\n const onCancel = (onSuccess, entityType) => {\n closePopup(onSuccess, entityType);\n };\n\n /* Effect is to fetch Mle List of options */\n useEffect(() => {\n setResetFranchise(false);\n actions.fetchEntityListMLERequest('FRANCHISE');\n }, [actions]);\n\n const resetEntity = entity => {\n setResetFranchise(true);\n if (entity === 'FRANCHISE' && selectedAgg) {\n setParentEntityCode(selectedAgg);\n } else if (entity === 'AGGREGATOR') {\n setParentEntityCode('');\n setSelectedAgg('');\n actions.fetchEntityListMLERequest('FRANCHISE');\n }\n };\n\n /* Effect is to show the success message and reset redux error */\n useEffect(() => {\n if (createEntity.isSuccess) {\n onCancel(true, ENTITY_TYPE.MLE);\n toast.info(SUCCESS_MESSAGES.CREATE_ENTITY('MLE'));\n }\n return () => {\n if (createEntity.isSuccess) {\n actions.createEntityError({ error: {} });\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [createEntity.isSuccess]);\n\n /**\n * Method to handle form submit values for franchise\n *\n * @returns {null}\n */\n const handleFormSubmit = values => {\n const request = Object.assign({}, values);\n request.entityType = 'MLE';\n request.parentEntityCode = parentEntityCode;\n request.portalAccess =\n (values &&\n values.portalAccess &&\n values.portalAccess &&\n Array.isArray(values.portalAccess) &&\n values.portalAccess.includes('portalAccess')) ||\n false;\n actions.createEntityRequest(request);\n };\n\n /**\n * Method to handle entity type and values selection\n *\n * @param {string} values\n * @param {object} data\n * @returns {null}\n */\n const handleEntitySelect = (value, originalData, type) => {\n const entityCode = value;\n setResetFranchise(false);\n if (originalData && originalData.entityType === 'AGGREGATOR') {\n actions.fetchEntityHierarchyMLERequest(\n entityCode,\n originalData.entityType\n );\n setSelectedAgg(originalData.entityCode);\n }\n if (originalData && originalData.entityCode) {\n setParentEntityCode(originalData.entityCode);\n }\n if (entityCode === '') {\n resetEntity(type);\n }\n };\n\n return (\n
    \n {createEntity.error && createEntity.error.errorMessage ? (\n \n {createEntity.error.errorMessage}\n \n ) : null}\n
    \n
    \n

    Aggregator

    \n \n handleEntitySelect(\n value,\n originalData,\n 'AGGREGATOR'\n )\n }\n />\n
    \n
    \n
    \n
    \n

    Franchise

    \n \n handleEntitySelect(value, originalData, 'FRANCHISE')\n }\n />\n
    \n
    \n
    \n
    \n

    Merchant Legal Entity Name

    \n \n
    \n
    \n
    \n
    \n

    Email ID

    \n \n
    \n
    \n
    \n
    \n

    Communication Email ID

    \n \n
    \n
    \n
    \n
    \n

    Relationship Manager Name

    \n \n
    \n
    \n
    \n
    \n \n setShowUserEmailField(prevState => !prevState)\n }\n options={[\n {\n name: 'Portal Access',\n value: 'portalAccess',\n checked: false,\n },\n ]}\n valueField=\"value\"\n />\n
    \n
    \n {showUserEmailField && (\n
    \n
    \n

    User Email ID

    \n \n
    \n
    \n )}\n
    \n \n \n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, form, merchantData, staticData }) => ({\n auth,\n form,\n merchantData,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createEntityRequest,\n fetchEntityHierarchyMLERequest,\n fetchEntityListMLERequest,\n createEntityError,\n },\n dispatch\n ),\n});\n\nAddMLE.propTypes = {\n actions: PropTypes.object,\n actionType: PropTypes.string,\n auth: PropTypes.object,\n closePopup: PropTypes.func,\n merchantData: PropTypes.object,\n staticData: PropTypes.object,\n form: PropTypes.object,\n handleSubmit: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'mle-form',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(AddMLE);\n","import AddMLE from './AddMLE';\n\nexport default AddMLE;\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED, EMAIL, MAX_LENGTH } = validators;\n const errors = {};\n if (REQUIRED(values.name)) {\n errors.name = 'Please enter Franchise Name';\n }\n if (values.name) {\n errors.name = MAX_LENGTH(values.name, 50);\n }\n if (REQUIRED(values.email)) {\n errors.email = 'Please enter a email address';\n }\n\n if (REQUIRED(values.relationshipManagerId)) {\n errors.relationshipManagerId =\n 'Please enter a Relationship Manager Name';\n }\n\n if (EMAIL(values.email)) {\n errors.email = 'Please enter a valid email address';\n }\n if (EMAIL(values.communicationEmailId)) {\n errors.communicationEmailId =\n 'Please enter a valid communication email address';\n }\n if (\n values.portalAccess &&\n Array.isArray(values.portalAccess) &&\n values.portalAccess.includes('portalAccess')\n ) {\n if (REQUIRED(values.userEmail)) {\n errors.userEmail = 'Please enter a email address';\n }\n if (EMAIL(values.userEmail)) {\n errors.userEmail = 'Please enter a valid email address';\n }\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\n\n// Actions\nimport {\n createEntityRequest,\n createEntityError,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\n// Constant\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport { ENTITY_TYPE } from '../../utils/constants/commonValues';\n\n// Components\nimport { FormElems, Alert } from '..';\nimport validate from './validator';\n\n// Validator\n\n// Styles\nimport './addFranchise.scss';\n\n/**\n * Add Franchise Component\n *\n * @param {Object} props - React component props\n */\n\nconst AddFranchise = props => {\n const {\n closePopup,\n handleSubmit,\n actions,\n merchantData,\n staticData,\n } = props;\n const { createEntity, entityList } = merchantData;\n const { staticInfo } = staticData;\n const [parentEntityCode, setParentEntityCode] = useState('');\n const [showUserEmailField, setShowUserEmailField] = useState(false);\n\n const onCancel = (onSuccess, entityType) => {\n closePopup(onSuccess, entityType);\n };\n\n /* Effect is to show the success message and reset redux error */\n useEffect(() => {\n if (createEntity.isSuccess) {\n onCancel(true, ENTITY_TYPE.FRANCHISE);\n toast.info(SUCCESS_MESSAGES.CREATE_ENTITY('Franchise'));\n }\n return () => {\n if (createEntity.isSuccess) {\n actions.createEntityError({ error: {} });\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [createEntity.isSuccess]);\n\n /**\n * Method to handle form submit values for franchise\n * @param {object} values\n * @returns {null}\n */\n const handleFormSubmit = values => {\n const request = Object.assign({}, values);\n request.entityType = 'FRANCHISE';\n request.parentEntityCode = parentEntityCode;\n request.portalAccess =\n (values &&\n values.portalAccess &&\n values.portalAccess &&\n Array.isArray(values.portalAccess) &&\n values.portalAccess.includes('portalAccess')) ||\n false;\n actions.createEntityRequest(request);\n };\n\n /**\n * Method to handle entity type and values selection\n *\n * @param {string} values\n * @param {object} data\n * @returns {null}\n */\n const handleEntitySelect = (values, data) => {\n if (data && data.entityCode) {\n setParentEntityCode(data.entityCode);\n }\n };\n\n return (\n
    \n {createEntity.error && createEntity.error.errorMessage ? (\n \n {createEntity.error.errorMessage}\n \n ) : null}\n
    \n
    \n

    Aggregator

    \n \n
    \n
    \n
    \n
    \n

    Franchise Name

    \n \n
    \n
    \n
    \n
    \n

    Email ID

    \n \n
    \n
    \n
    \n
    \n

    Communication Email ID

    \n \n
    \n
    \n
    \n
    \n

    Relationship Manager Name

    \n \n
    \n
    \n
    \n
    \n \n setShowUserEmailField(prevState => !prevState)\n }\n options={[\n {\n name: 'Portal Access',\n value: 'portalAccess',\n checked: false,\n },\n ]}\n valueField=\"value\"\n />\n
    \n
    \n {showUserEmailField && (\n
    \n
    \n

    User Email ID

    \n \n
    \n
    \n )}\n
    \n \n \n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, form, merchantData, staticData }) => ({\n auth,\n form,\n merchantData,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createEntityRequest,\n createEntityError,\n },\n dispatch\n ),\n});\n\nAddFranchise.propTypes = {\n actions: PropTypes.object,\n actionType: PropTypes.string,\n auth: PropTypes.object,\n closePopup: PropTypes.func,\n merchantData: PropTypes.object,\n form: PropTypes.object,\n handleSubmit: PropTypes.func,\n staticData: PropTypes.object,\n onSubmit: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'add-franchise-form',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(AddFranchise);\n","import AddFranchise from './AddFranchise';\n\nexport default AddFranchise;\n","const FETCH_PG_CONFIG_REQUEST = 'FETCH_PG_CONFIG_REQUEST';\nconst FETCH_PG_CONFIG_SUCCESS = 'FETCH_PG_CONFIG_SUCCESS';\nconst FETCH_PG_CONFIG_ERROR = 'FETCH_PG_CONFIG_ERROR';\nconst SAVE_PG_DETAIL_REQUEST = 'SAVE_PG_DETAIL_REQUEST';\nconst SAVE_PG_DETAIL_SUCCESS = 'SAVE_PG_DETAIL_SUCCESS';\nconst SAVE_PG_DETAIL_ERROR = 'SAVE_PG_DETAIL_ERROR';\nconst UPDATE_PG_REQUEST = 'UPDATE_PG_REQUEST';\nconst UPDATE_PG_SUCCESS = 'UPDATE_PG_SUCCESS';\nconst UPDATE_PG_ERROR = 'UPDATE_PG_ERROR';\nconst UPDATE_PG_STATUS_REQUEST = 'UPDATE_PG_STATUS_REQUEST';\nconst UPDATE_PG_STATUS_SUCCESS = 'UPDATE_PG_STATUS_SUCCESS';\nconst UPDATE_PG_STATUS_ERROR = 'UPDATE_PG_STATUS_ERROR';\nconst RESET_SAVED_PGS = 'RESET_SAVED_PGS';\n\nexport {\n FETCH_PG_CONFIG_REQUEST,\n FETCH_PG_CONFIG_SUCCESS,\n FETCH_PG_CONFIG_ERROR,\n SAVE_PG_DETAIL_REQUEST,\n SAVE_PG_DETAIL_SUCCESS,\n SAVE_PG_DETAIL_ERROR,\n UPDATE_PG_REQUEST,\n UPDATE_PG_SUCCESS,\n UPDATE_PG_ERROR,\n UPDATE_PG_STATUS_REQUEST,\n UPDATE_PG_STATUS_SUCCESS,\n UPDATE_PG_STATUS_ERROR,\n RESET_SAVED_PGS,\n};\n","import {\n FETCH_PG_CONFIG_REQUEST,\n FETCH_PG_CONFIG_SUCCESS,\n FETCH_PG_CONFIG_ERROR,\n SAVE_PG_DETAIL_REQUEST,\n SAVE_PG_DETAIL_SUCCESS,\n SAVE_PG_DETAIL_ERROR,\n UPDATE_PG_REQUEST,\n UPDATE_PG_SUCCESS,\n UPDATE_PG_ERROR,\n UPDATE_PG_STATUS_REQUEST,\n UPDATE_PG_STATUS_SUCCESS,\n UPDATE_PG_STATUS_ERROR,\n RESET_SAVED_PGS,\n} from './pgConfig.constants';\n\nexport const fetchPgConfigRequest = () => ({\n type: FETCH_PG_CONFIG_REQUEST,\n});\n\nexport const fetchPgConfigSuccess = payload => ({\n type: FETCH_PG_CONFIG_SUCCESS,\n payload,\n});\n\nexport const fetchPgConfigError = payload => ({\n type: FETCH_PG_CONFIG_ERROR,\n payload,\n});\n\nexport const savePgDetailsRequest = payload => ({\n type: SAVE_PG_DETAIL_REQUEST,\n payload,\n});\n\nexport const savePgDetailsSuccess = payload => ({\n type: SAVE_PG_DETAIL_SUCCESS,\n payload,\n});\n\nexport const savePgDetailsError = payload => ({\n type: SAVE_PG_DETAIL_ERROR,\n payload,\n});\n\nexport const updatePgsRequest = (payload, initialValues) => ({\n type: UPDATE_PG_REQUEST,\n payload,\n initialValues,\n});\n\nexport const updatePgsSuccess = (payload, initialValues) => ({\n type: UPDATE_PG_SUCCESS,\n payload,\n initialValues,\n});\n\nexport const updatePgsError = payload => ({\n type: UPDATE_PG_ERROR,\n payload,\n});\n\nexport const updatePgStatusRequest = payload => ({\n type: UPDATE_PG_STATUS_REQUEST,\n payload,\n});\n\nexport const updatePgStatusSuccess = payload => ({\n type: UPDATE_PG_STATUS_SUCCESS,\n payload,\n});\n\nexport const updatePgStatusError = payload => ({\n type: UPDATE_PG_STATUS_ERROR,\n payload,\n});\n\nexport const resetSavedPgs = payload => ({\n type: RESET_SAVED_PGS,\n payload,\n});\n","const configFormsDetails = {\n cca: [\n {\n fieldType: 'select',\n label: 'Payment Mode',\n name: 'paymentType',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Sub Mode',\n name: 'subMode',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Security Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Code',\n name: 'merchantPGCode',\n props: {\n placeholder: 'Enter PG Code',\n type: 'text',\n },\n },\n {\n fieldType: 'switch',\n name: 'status',\n props: {\n options: [\n {\n label: 'Credential Enabled',\n value: 'ENABLED',\n },\n ],\n labelField: 'label',\n valueField: 'value',\n },\n },\n ],\n cybs: [\n {\n fieldType: 'select',\n label: 'Payment Mode',\n name: 'paymentType',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Sub Mode',\n name: 'subMode',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Code',\n name: 'merchantPGCode',\n props: {\n placeholder: 'Enter PG Code',\n type: 'text',\n },\n },\n // {\n // fieldType: 'input',\n // label: 'Cybersource Account Password',\n // name: 'accountPassword',\n // props: {\n // placeholder: 'Enter Cybersource Account Password',\n // type: 'password',\n // },\n // },\n {\n fieldType: 'input',\n label: 'Username',\n name: 'username',\n props: {\n placeholder: 'Enter Username',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'SOAP Key',\n name: 'soapKey',\n props: {\n placeholder: 'Enter SOAP',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Security Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n },\n },\n {\n fieldType: 'switch',\n name: 'status',\n props: {\n options: [\n {\n label: 'Credential Enabled',\n value: 'ENABLED',\n },\n ],\n labelField: 'label',\n valueField: 'value',\n },\n },\n ],\n migs: [\n {\n fieldType: 'select',\n label: 'Payment Mode',\n name: 'paymentType',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Sub Mode',\n name: 'subMode',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Code',\n name: 'merchantPGCode',\n props: {\n placeholder: 'Enter PG Code',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Security Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Username',\n name: 'username',\n props: {\n placeholder: 'Enter Username',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Password',\n name: 'password',\n props: {\n placeholder: 'Enter Password',\n type: 'password',\n },\n },\n {\n fieldType: 'switch',\n name: 'status',\n props: {\n options: [\n {\n label: 'Credential Enabled',\n value: 'ENABLED',\n },\n ],\n labelField: 'label',\n valueField: 'value',\n },\n },\n ],\n payU: [\n {\n fieldType: 'select',\n label: 'Payment Mode',\n name: 'paymentType',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Sub Mode',\n name: 'subMode',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Code',\n name: 'merchantPGCode',\n props: {\n placeholder: 'Enter PG Code',\n type: 'text',\n },\n },\n {\n fieldType: 'switch',\n name: 'status',\n props: {\n options: [\n {\n label: 'Credential Enabled',\n value: 'ENABLED',\n },\n ],\n labelField: 'label',\n valueField: 'value',\n },\n },\n ],\n hdfc: [\n {\n fieldType: 'select',\n label: 'Payment Mode',\n name: 'paymentType',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Sub Mode',\n name: 'subMode',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Code',\n name: 'merchantPGCode',\n props: {\n placeholder: 'Enter PG Code',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Encryption Key',\n name: 'encryptionKey',\n props: {\n placeholder: 'Enter Encryption Key',\n type: 'password',\n },\n },\n {\n fieldType: 'switch',\n name: 'status',\n props: {\n options: [\n {\n label: 'Credential Enabled',\n value: 'ENABLED',\n },\n ],\n labelField: 'label',\n valueField: 'value',\n },\n },\n ],\n bdk: [\n {\n fieldType: 'select',\n label: 'Payment Mode',\n name: 'paymentType',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Sub Mode',\n name: 'subMode',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Code',\n name: 'merchantPGCode',\n props: {\n placeholder: 'Enter PG Code',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Security Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'text',\n },\n },\n {\n fieldType: 'switch',\n name: 'status',\n props: {\n options: [\n {\n label: 'Credential Enabled',\n value: 'ENABLED',\n },\n ],\n labelField: 'label',\n valueField: 'value',\n },\n },\n ],\n fiserv: [\n {\n fieldType: 'select',\n label: 'Payment Mode',\n name: 'paymentType',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Sub Mode',\n name: 'subMode',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Code',\n name: 'merchantPGCode',\n props: {\n placeholder: 'Enter PG Merchant Code',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Merchant Security Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter Merchant PG Key',\n type: 'text',\n },\n },\n {\n fieldType: 'switch',\n name: 'status',\n props: {\n options: [\n {\n label: 'Credential Enabled',\n value: 'ENABLED',\n },\n ],\n labelField: 'label',\n valueField: 'value',\n },\n },\n ],\n mpgs: [\n {\n fieldType: 'select',\n label: 'Payment Mode',\n name: 'paymentType',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Sub Mode',\n name: 'subMode',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Merchant Security Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Code',\n name: 'merchantPGCode',\n props: {\n placeholder: 'Enter PG Code',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter Merchant PG Key',\n type: 'text',\n },\n },\n {\n fieldType: 'switch',\n name: 'status',\n props: {\n options: [\n {\n label: 'Credential Enabled',\n value: 'ENABLED',\n },\n ],\n labelField: 'label',\n valueField: 'value',\n },\n },\n ],\n axisnb: [\n {\n fieldType: 'select',\n label: 'Payment Mode',\n name: 'paymentType',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Sub Mode',\n name: 'subMode',\n onlyAfterDefault: true,\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Merchant Security Key',\n type: 'password',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Code',\n name: 'merchantPGCode',\n props: {\n placeholder: 'Enter PG Code',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter Merchant PG Key',\n type: 'text',\n },\n },\n {\n fieldType: 'switch',\n name: 'status',\n props: {\n options: [\n {\n label: 'Credential Enabled',\n value: 'ENABLED',\n },\n ],\n labelField: 'label',\n valueField: 'value',\n },\n },\n ],\n};\n\nexport const pgDetails = [\n {\n configData: configFormsDetails.payU,\n date: '-',\n imagesName: 'payu',\n cardImages: 'payuPg',\n label: 'PG Name',\n modes: [\n {\n label: 'Live',\n value: 'live',\n },\n {\n label: 'Test',\n value: 'test',\n },\n ],\n name: 'Pay U',\n networks: ['NB', 'CC', 'DC'],\n uniqueId: 'payu',\n isConfigured: false,\n },\n {\n configData: configFormsDetails.cybs,\n date: '-',\n cardImages: 'CardTypes',\n imagesName: 'cyber',\n label: 'PG Name',\n modes: [\n {\n label: 'Live',\n value: 'live',\n },\n {\n label: 'Test',\n value: '',\n },\n ],\n name: 'CyberSource',\n networks: ['CC', 'DC'],\n uniqueId: 'cybs',\n isConfigured: false,\n },\n {\n configData: configFormsDetails.migs,\n date: '-',\n imagesName: 'migs',\n cardImages: 'CardTypesTwo',\n label: 'PG Name',\n modes: [\n {\n label: 'Live',\n value: 'live',\n },\n {\n label: 'Test',\n value: '',\n },\n ],\n name: 'MIGS',\n networks: ['CC', 'DC'],\n uniqueId: 'migs',\n isConfigured: false,\n },\n {\n configData: configFormsDetails.cca,\n date: '-',\n imagesName: 'ccavenue',\n cardImages: 'NetBanking',\n label: 'PG Name',\n modes: [\n {\n label: 'Live',\n value: 'live',\n },\n {\n label: 'Test',\n value: '',\n },\n ],\n name: 'CC Avenue',\n networks: ['NB'],\n uniqueId: 'cca',\n isConfigured: false,\n },\n {\n configData: configFormsDetails.hdfc,\n date: '-',\n imagesName: 'hdfc',\n cardImages: 'CardTypesTwo',\n label: 'PG Name',\n modes: [\n {\n label: 'Live',\n value: 'live',\n },\n {\n label: 'Test',\n value: '',\n },\n ],\n name: 'HDFC',\n networks: [['CC', 'DC']],\n uniqueId: 'hdfc',\n isConfigured: false,\n },\n {\n configData: configFormsDetails.bdk,\n date: '-',\n imagesName: 'billDesk',\n cardImages: 'payuPg',\n label: 'PG Name',\n modes: [\n {\n label: 'Live',\n value: 'live',\n },\n {\n label: 'Test',\n value: '',\n },\n ],\n name: 'Bill Desk',\n networks: ['CC', 'DC', 'NB', 'AMEX', 'DINER'],\n uniqueId: 'bdk',\n isConfigured: false,\n },\n {\n configData: configFormsDetails.fiserv,\n date: '-',\n imagesName: 'fiserv',\n cardImages: 'payuPg',\n label: 'PG Name',\n modes: [\n {\n label: 'Live',\n value: 'live',\n },\n {\n label: 'Test',\n value: '',\n },\n ],\n name: 'Fiserv',\n networks: ['CC', 'DC', 'NB', 'AMEX', 'DINER'],\n uniqueId: 'fiserv',\n isConfigured: false,\n },\n {\n configData: configFormsDetails.mpgs,\n date: '-',\n imagesName: 'migs',\n cardImages: 'CardTypesTwo',\n label: 'PG Name',\n modes: [\n {\n label: 'Live',\n value: 'live',\n },\n {\n label: 'Test',\n value: '',\n },\n ],\n name: 'MPGS',\n networks: ['CC', 'DC'],\n uniqueId: 'mpgs',\n isConfigured: false,\n },\n // addition of axisnb\n {\n configData: configFormsDetails.axisnb,\n date: '-',\n imagesName: 'migs',\n cardImages: 'NetBanking',\n label: 'PG Name',\n modes: [\n {\n label: 'Live',\n value: 'live',\n },\n {\n label: 'Test',\n value: '',\n },\n ],\n name: 'AXIS NB',\n networks: ['NB'],\n uniqueId: 'axisnb',\n isConfigured: false,\n },\n];\n\nconst DummyData = { pgDetails };\nexport default DummyData;\n","/* eslint-disable indent */\n/* eslint-disable multiline-ternary */\n/* eslint-disable max-lines-per-function */\n// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { isEmpty } from 'lodash';\n\n// Component\nimport { FormElems, Alert } from '../../components/';\n\n// Helpers\nimport {\n getPipeSeparateValue,\n segregatePgByConfig,\n getModesOptions,\n getId,\n} from '../../utils/helperMethods';\n\nconst images =\n process.env.NODE_ENV !== 'test'\n ? require.context('../../static/images', true)\n : '';\n\nconst DetailsForm = ({\n data,\n savedPgs,\n onBack,\n previousPath,\n onConfig,\n onSubmit,\n errorMessage,\n onModeSwitch,\n isViewMode,\n}) => {\n const { configuredPgs, nonConfiguredPgs } = segregatePgByConfig(data);\n return (\n
    \n
    \n

    PG Configuration

    \n
    \n {errorMessage ? (\n {errorMessage}\n ) : null}\n {isEmpty(savedPgs) ? (\n \n Please configure at least One Payment Gateway.\n \n ) : null}\n {configuredPgs && configuredPgs.length ? (\n <>\n

    Configured PG

    \n \n {configuredPgs.map(details => {\n const imgsrc = images(\n `./${details.imagesName}.png`\n );\n const cardSrc = details.cardImages\n ? images(`./${details.cardImages}.png`)\n : null;\n return (\n
  • \n
    \n
    \n
    \n \n
    \n
    \n \n

    {details.name}

    \n
    \n
    \n
    \n \n onModeSwitch(\n values,\n details.uniqueId\n )\n }\n isDisabled={true}\n />\n
    \n
    \n
    \n {/*
    \n \n

    {details.date}

    \n
    */}\n
    \n \n

    \n {getPipeSeparateValue(\n details.networks\n )}\n

    \n
    \n
    \n
    \n
      \n {details.cardImages ? (\n
    • \n \n
    • \n ) : null}\n
    \n
    \n \n onConfig(\n true,\n details\n )\n }\n >\n Edit\n \n
    \n
    \n
  • \n );\n })}\n \n \n ) : null}\n
    \n
    \n {nonConfiguredPgs && nonConfiguredPgs.length ? (\n <>\n

    Non Configured PG

    \n \n {nonConfiguredPgs.map((details, ind) => {\n const imgsrc = images(\n `./${details.imagesName}.png`\n );\n const cardSrc = details.cardImages\n ? images(`./${details.cardImages}.png`)\n : null;\n return (\n
  • \n
    \n
    \n
    \n \n
    \n
    \n \n

    {details.name}

    \n
    \n
    \n
    \n
    \n \n

    \n {getPipeSeparateValue(\n details.networks\n )}\n

    \n
    \n
    \n
    \n
    \n
      \n {details.cardImages ? (\n
    • \n \n
    • \n ) : null}\n
    \n {!isViewMode && (\n \n onConfig(\n false,\n details\n )\n }\n >\n Configure\n \n )}\n
    \n
  • \n );\n })}\n \n \n ) : null}\n
    \n
    \n
    \n {previousPath ? (\n \n ) : null}\n \n
    \n
    \n );\n};\n\nDetailsForm.propTypes = {\n data: PropTypes.object.isRequired,\n savedPgs: PropTypes.object,\n onModeSwitch: PropTypes.func,\n onBack: PropTypes.func,\n onConfig: PropTypes.func,\n onNext: PropTypes.func,\n onSubmit: PropTypes.func,\n errorMessage: PropTypes.string,\n previousPath: PropTypes.string,\n isViewMode: PropTypes.bool,\n};\n\nexport default DetailsForm;\n","/* eslint-disable function-paren-newline */\nimport { FormElems } from 'components';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, FieldArray } from 'redux-form';\n\nimport './AccordionFields.scss';\n\nconst FormField = props => {\n const {\n field,\n isViewMode,\n item,\n fields,\n index,\n customFieldOptions,\n } = props;\n\n if (field.name === 'subMode') {\n const allFieldsValues = fields.getAll();\n if (allFieldsValues[index]?.paymentType) {\n field.props.data =\n customFieldOptions[allFieldsValues[index]?.paymentType];\n }\n }\n\n const fieldName = `${item}.${field.name}`;\n\n if (field.fieldType === 'select') {\n return (\n \n );\n } else if (field.fieldType === 'radio') {\n return (\n \n );\n } else if (field.fieldType === 'checkbox') {\n return (\n \n );\n } else if (field.fieldType === 'switch') {\n return (\n \n );\n }\n return (\n \n );\n};\n\nFormField.propTypes = {\n field: PropTypes.object,\n testPrefix: PropTypes.string,\n isViewMode: PropTypes.bool,\n item: PropTypes.string,\n fields: PropTypes.array,\n index: PropTypes.number,\n customFieldOptions: PropTypes.object,\n};\n\nconst DynamicFieldsController = ({\n fields,\n meta: { error, submitFailed },\n properties,\n}) => {\n const {\n addButtonText,\n removeButtonText,\n isViewMode,\n configData,\n customFieldOptions,\n shouldShowRemove,\n } = properties;\n\n // Adding a default Field\n if (fields.length <= 0) {\n fields.push();\n }\n\n return (\n
    \n
    \n fields.push()}\n />\n
    \n {fields.map((item, index) => (\n 0 ? 'additional-field' : ''}`}\n >\n {shouldShowRemove && index > 0 ? (\n
    \n fields.remove(index)}\n />\n
    \n ) : (\n <>\n )}\n
    \n {configData.length &&\n configData.map(field =>\n field.onlyAfterDefault && index <= 0 ? (\n <>\n ) : (\n \n

    {field.label}

    \n \n
    \n )\n )}\n
    \n \n ))}\n \n );\n};\n\nDynamicFieldsController.propTypes = {\n fields: PropTypes.array,\n meta: PropTypes.object,\n properties: PropTypes.object,\n};\n\nconst AccordionFields = props => {\n const {\n name,\n isViewMode,\n configData,\n customFieldOptions,\n shouldShowRemove,\n } = props;\n\n const properties = {\n addButtonText: 'Add Credentials',\n removeButtonText: 'Remove',\n isViewMode,\n configData,\n customFieldOptions,\n shouldShowRemove,\n };\n\n return (\n \n );\n};\n\nAccordionFields.propTypes = {\n fields: PropTypes.object,\n mode: PropTypes.string,\n name: PropTypes.string,\n isViewMode: PropTypes.bool,\n configData: PropTypes.bool,\n customFieldOptions: PropTypes.array,\n shouldShowRemove: PropTypes.bool,\n};\n\nexport default AccordionFields;\n","// Component\nimport AccordionFields from 'components/AccordionFields/AccordionFields';\n\n// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst ConfigForm = ({\n data,\n testPrefix,\n isViewMode,\n paymentModeOptions,\n paymentSubModeOptions,\n}) => {\n const paymentModeIndex = data.configData.findIndex(\n item => item.name === 'paymentType'\n );\n\n data.configData[paymentModeIndex].props.data = paymentModeOptions\n .map(mode => {\n return ['UPI', 'ACCOUNT_VERIFICATION'].includes(mode.value)\n ? false\n : mode;\n })\n .filter(Boolean);\n\n return (\n <>\n
    \n \n
    \n \n );\n};\n\nConfigForm.propTypes = {\n data: PropTypes.object.isRequired,\n testPrefix: PropTypes.string,\n isViewMode: PropTypes.bool,\n paymentModeOptions: PropTypes.array,\n paymentSubModeOptions: PropTypes.array,\n};\n\nexport default ConfigForm;\n","/* eslint-disable max-statements */\n/* eslint-disable complexity */\n/* eslint-disable camelcase */\nimport { validators } from '../../utils/validators';\n\nconst validate = (values, props) => {\n const { REQUIRED, MAX_LENGTH } = validators;\n const errors = {};\n\n const credentialsErrors = [];\n\n if (\n values.credentials &&\n values.credentials.length &&\n values.credentials.length > 0\n ) {\n values.credentials.forEach((credential, credentialIndex) => {\n const credentialError = {};\n\n if (!credential || REQUIRED(credential.merchantPGCode)) {\n credentialError.merchantPGCode = 'Please enter Merchant Id';\n }\n\n if (credentialIndex > 0) {\n if (!credential || REQUIRED(credential.paymentType)) {\n credentialError.paymentType = 'Please select Payment Mode';\n }\n if (!credential || REQUIRED(credential.subMode)) {\n credentialError.subMode = 'Please select Sub Mode';\n }\n }\n\n if (!credential || REQUIRED(credential.accessCode)) {\n credentialError.accessCode = 'Please enter Access Code';\n }\n if (!credential || REQUIRED(credential.secret)) {\n credentialError.secret = 'Please enter Secure Secret';\n }\n\n if (!credential || REQUIRED(credential.username)) {\n credentialError.username = 'Please enter AMA Username';\n }\n if (!credential || REQUIRED(credential.password)) {\n credentialError.password = 'Please enter AMA Password';\n }\n if (!credential || REQUIRED(credential.merchantPGKey)) {\n credentialError.merchantPGKey = 'Please enter Salt';\n }\n if (!credential || REQUIRED(credential.merchantKey)) {\n credentialError.merchantKey = 'Please enter Merchant Key';\n }\n if (!credential || REQUIRED(credential.merchantPGSecurityKey)) {\n credentialError.merchantPGSecurityKey =\n 'Please enter Shared Secret Key';\n }\n if (\n !credential ||\n MAX_LENGTH(credential.merchantPGSecurityKey, 100)\n ) {\n credentialError.merchantPGSecurityKey =\n 'Max number character allowed is 100';\n }\n if (!credential || REQUIRED(credential.keySerialNumber)) {\n credentialError.keySerialNumber =\n 'Please enter Key Serial Number';\n }\n if (!credential || MAX_LENGTH(credential.keySerialNumber, 50)) {\n credentialError.keySerialNumber =\n 'Max number character allowed is 50';\n }\n\n if (Object.keys(credentialError).length) {\n credentialsErrors[credentialIndex] = credentialError;\n }\n });\n\n if (\n values.credentials &&\n values.credentials.length &&\n values.credentials.length > 1 &&\n !values.credentials[0]?.status?.includes('ENABLED') &&\n values.credentials?.some(cred => cred?.status?.includes('ENABLED'))\n ) {\n credentialsErrors[0].status =\n 'Please disable all sub mode configurations before disabling Default.';\n }\n\n if (\n values.credentials &&\n values.credentials.length &&\n values.credentials.length > 1\n ) {\n // Create an object to keep track of unique combinations\n const uniqueCombinations = {};\n // Iterate through the credentials\n for (let i = 0; i < values.credentials.length; i++) {\n const credential = values.credentials[i];\n const paymentType = credential?.paymentType;\n const subMode = credential?.subMode;\n const combination = `${paymentType}-${subMode}`;\n // Check if the combination already exists in uniqueCombinations\n\n if (uniqueCombinations[combination]) {\n // This combination is a duplicate\n // Add an error to the current credential\n credentialsErrors[i].paymentType =\n 'Duplicate configuration for payment type and sub mode. Please check again.';\n credentialsErrors[i].subMode =\n 'Duplicate configuration for payment type and sub mode. Please check again.';\n } else {\n // Store the combination in uniqueCombinations\n uniqueCombinations[combination] = true;\n }\n }\n }\n\n if (credentialsErrors.length) {\n errors.credentials = credentialsErrors;\n }\n }\n\n const { initialValues } = props;\n\n if (\n initialValues.test_merchantId ||\n initialValues.test_salt ||\n values.test_merchantId ||\n values.test_salt\n ) {\n if (REQUIRED(values.test_merchantId)) {\n errors.test_merchantId = 'Please enter Merchant Id';\n }\n\n if (REQUIRED(values.test_salt)) {\n errors.test_salt = 'Please enter Salt';\n }\n }\n\n if (\n initialValues.test_merchantId ||\n initialValues.test_secret ||\n initialValues.test_accessCode ||\n initialValues.test_amaUsername ||\n initialValues.test_amaPassword ||\n values.test_referenceId ||\n values.test_merchantId ||\n values.test_secret ||\n values.test_accessCode ||\n values.test_amaUsername ||\n values.test_amaPassword\n ) {\n if (REQUIRED(values.test_merchantId)) {\n errors.test_merchantId = 'Please enter Merchant Id';\n }\n\n if (REQUIRED(values.test_secret)) {\n errors.test_secret = 'Please enter Secure Secret';\n }\n\n if (REQUIRED(values.test_accessCode)) {\n errors.test_accessCode = 'Please enter Access Code';\n }\n\n if (REQUIRED(values.test_amaUsername)) {\n errors.test_amaUsername = 'Please enter AMA Username';\n }\n\n if (REQUIRED(values.test_amaPassword)) {\n errors.test_amaPassword = 'Please enter AMA Password';\n }\n }\n\n if (\n initialValues.test_merchantId ||\n initialValues.test_secret ||\n initialValues.test_accessCode ||\n values.test_merchantId ||\n values.test_secret ||\n values.test_accessCode\n ) {\n if (REQUIRED(values.test_merchantId)) {\n errors.test_merchantId = 'Please enter Merchant Id';\n }\n\n if (REQUIRED(values.test_secret)) {\n errors.test_secret = 'Please enter Secure Secret';\n }\n\n if (REQUIRED(values.test_accessCode)) {\n errors.test_accessCode = 'Please enter Access Code';\n }\n }\n\n if (\n initialValues.test_referenceId ||\n initialValues.test_merchantId ||\n initialValues.test_accountPassword ||\n initialValues.test_username ||\n initialValues.test_soapKey ||\n initialValues.test_sharedSecretKey ||\n initialValues.test_keySerialNumber ||\n values.test_referenceId ||\n values.test_merchantId ||\n values.test_accountPassword ||\n values.test_username ||\n values.test_soapKey ||\n values.test_sharedSecretKey ||\n values.test_keySerialNumber\n ) {\n if (REQUIRED(values.test_merchantId)) {\n errors.test_merchantId = 'Please enter Merchant Id';\n }\n if (REQUIRED(values.test_sharedSecretKey)) {\n errors.test_sharedSecretKey = 'Please enter Shared Secret Key';\n }\n if (MAX_LENGTH(values.test_sharedSecretKey, 100)) {\n errors.test_sharedSecretKey = 'Max number character allowed is 100';\n }\n if (REQUIRED(values.test_keySerialNumber)) {\n errors.test_keySerialNumber = 'Please enter Key Serial Number';\n }\n if (MAX_LENGTH(values.test_keySerialNumber, 50)) {\n errors.test_keySerialNumber = 'Max number character allowed is 50';\n }\n }\n\n return errors;\n};\n\nexport default validate;\n","// Component\nimport { FormElems, Accordion, BreadCrumb } from '../../components/';\n\n// Helpers\nimport { getFilteredPgsData } from '../../utils/helperMethods';\n\n// Constants\nimport { TEST_PREFIX } from '../../utils/constants/commonValues';\n\n// Actions\nimport {\n savePgDetailsRequest,\n updatePgsRequest,\n} from '../../containers/MerchantOnboard/redux/pgConfig/pgConfig.actions';\nimport ConfigForm from './ConfigForm';\n\n// Validator\nimport validate from './validator';\n\n// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router-dom';\n\nconst getValues = values => {\n const valuesResult = [];\n const valuesKeys = Object.keys(values);\n if (valuesKeys.length) {\n if (valuesKeys.some(value => value.indexOf(TEST_PREFIX) !== -1)) {\n valuesResult.push('test');\n }\n if (!valuesKeys.every(value => value.indexOf(TEST_PREFIX) !== -1)) {\n valuesResult.push('live');\n }\n }\n return valuesResult;\n};\n\nconst ConfigDetails = ({\n data,\n actions,\n onBackClick,\n handleSubmit,\n onConfig,\n history,\n isEditMode,\n isViewMode,\n savedPgs,\n onModeSwitch,\n paymentModeOptions,\n paymentSubModeOptions,\n}) => {\n const handleFormSubmit = values => {\n const request = getFilteredPgsData(values, data);\n actions.savePgDetailsRequest(request);\n actions.updatePgsRequest(data.uniqueId, savedPgs);\n onModeSwitch(getValues(values), data.uniqueId);\n onBackClick();\n };\n const handleLink = (event, link) => {\n event.preventDefault();\n if (link) {\n history.push(link);\n } else {\n onBackClick();\n }\n };\n return (\n \n
    \n \n
    \n Live Credentials\n }\n lowerComponent={\n \n }\n />\n {/* Test Credentials\n }\n lowerComponent={\n \n }\n /> */}\n
    \n
    \n \n
    \n
    \n \n );\n};\n\nConfigDetails.propTypes = {\n actions: PropTypes.object,\n data: PropTypes.object.isRequired,\n handleSubmit: PropTypes.func,\n onBackClick: PropTypes.func,\n onConfig: PropTypes.func,\n onNext: PropTypes.func,\n onModeSwitch: PropTypes.func,\n history: PropTypes.object,\n isEditMode: PropTypes.bool,\n isViewMode: PropTypes.bool,\n savedPgs: PropTypes.object,\n paymentModeOptions: PropTypes.array,\n paymentSubModeOptions: PropTypes.array,\n};\n\nconst mapStateToProps = ({ auth, form }) => ({\n auth,\n form,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n savePgDetailsRequest,\n updatePgsRequest,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'pgConfig-detail-form',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(ConfigDetails)\n);\n","/* eslint-disable max-lines-per-function */\n/* eslint-disable max-statements */\n/* eslint-disable no-nested-ternary */\n// Libraries\n\n// Helper\nimport {\n getFormInitialValues,\n getDependentSectionName,\n getFormattedPGConfigOldData,\n} from '../../utils/helperMethods';\n\n// Actions\nimport {\n updatePgStatusRequest,\n savePgDetailsRequest,\n updatePgsRequest,\n resetSavedPgs,\n} from '../../containers/MerchantOnboard/redux/pgConfig/pgConfig.actions';\nimport {\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\nimport {\n updatePgConfigDataRequest,\n resetUpdateDataSuccessKey,\n fetchPgConfigDetailsRequest,\n addMerchantStepUpdateMakerRequest,\n getMerchantSectionInfoRequest,\n} from '../../containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\n\n// Constant\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\n\n// Component\nimport { AlertModal } from '../../components/';\nimport { pgDetails } from './DummyData';\nimport DetailsForm from './DetailsForm';\nimport ConfigDetails from './ConfigDetails';\nimport { last, first } from 'lodash';\nimport { toast } from 'react-toastify';\nimport { withRouter } from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\nimport React, { useState, useEffect } from 'react';\n\n// Styles\nimport './pgConfigTab.scss';\nimport { MAKER_CHECKER_EVENT_TYPES } from 'utils/constants/commonValues';\n\nconst PGConfigTab = ({\n actions,\n name,\n pgData,\n merchantData,\n history,\n nextPath,\n previousPath,\n sectionType,\n auth,\n initialValues,\n isEditMode,\n isViewMode,\n editData,\n onBoardSteps,\n isInEditMode,\n}) => {\n const { pgList, savedPgs } = pgData;\n const {\n saveData,\n uniqueIdentifier: { uniqueId },\n timeline: { fields },\n formInProcess,\n } = merchantData;\n\n const { updateData } = editData;\n const { location } = history;\n const [isConfig, setIsConfig] = useState(false);\n const [isChange, setIsChange] = useState(false);\n const [configDetails, setConfigDetails] = useState([]);\n const [configMode, setConfigMode] = useState(null);\n const [selectedPaymentMode, setSelectedPaymentMode] = useState([]);\n const [selectedPaymentSubMode, setSelectedPaymentSubMode] = useState({});\n\n const filterAndSetPaymentMode = paymentModeData => {\n const { paymentModeDetails } = paymentModeData;\n\n const paymentTypeMap = {};\n let paymentTypeList = [];\n\n for (const obj of paymentModeDetails) {\n const paymentType = obj.paymentType;\n const paymentModeInfo = obj.paymentModeInfo;\n const paymentModeInfoUI = obj.paymentModeInfoUI;\n\n if (!paymentTypeMap[paymentType]) {\n paymentTypeMap[paymentType] = [];\n }\n\n if (!paymentTypeList.includes(paymentType)) {\n paymentTypeList.push(paymentType);\n }\n\n paymentTypeMap[paymentType].push({\n name: paymentModeInfoUI ? paymentModeInfoUI : paymentModeInfo,\n value: paymentModeInfo,\n });\n }\n\n paymentTypeList = paymentTypeList.map(paymentType => {\n return {\n name: paymentType,\n value: paymentType,\n };\n });\n\n setSelectedPaymentMode(paymentTypeList);\n setSelectedPaymentSubMode(paymentTypeMap);\n };\n\n const currentStep = first(\n onBoardSteps.filter(item => item.sectionType === sectionType)\n );\n\n const [isShowModal, setIsShowModal] = useState(false);\n\n const onSuccessModal = () => {\n setIsShowModal(false);\n handleSubmit();\n };\n\n const onCloseModal = () => {\n setIsShowModal(false);\n };\n\n const resetErrors = () => {\n if (isEditMode) {\n actions.resetUpdateDataSuccessKey();\n } else {\n actions.resetSaveDataSuccessKey();\n }\n };\n\n useEffect(() => {\n resetErrors();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n actions.fetchPgConfigDetailsRequest(merchantId, fields);\n actions.getMerchantSectionInfoRequest(\n merchantId,\n fields,\n 'paymentModeSection'\n );\n }\n }, [actions, fields, isEditMode, isViewMode, location.pathname]);\n\n useEffect(() => {\n if (isEditMode || isViewMode) {\n const selectedPaymentMode = editData.sections.find(\n section => section.type === 'paymentModeSection'\n )?.data;\n\n if (selectedPaymentMode) {\n filterAndSetPaymentMode(selectedPaymentMode);\n }\n } else {\n const currentForm = formInProcess.forms.find(\n item => item.uniqueIdentifier === uniqueId\n );\n\n const selectedPaymentMode = currentForm.sections.find(\n section => section.type === 'paymentModeSection'\n ).data;\n\n filterAndSetPaymentMode(selectedPaymentMode);\n }\n }, [formInProcess, isEditMode, isViewMode, uniqueId, editData]);\n\n const onNext = () => {\n resetErrors();\n history.push(nextPath);\n };\n const onBack = () => {\n resetErrors();\n history.push(previousPath);\n };\n\n const setInitialPgConfig = () => {\n const pgList = Object.keys(\n isEditMode || isViewMode\n ? initialValues\n : getFormattedPGConfigOldData(initialValues)\n );\n const listOfPgs = pgList.map(item => {\n if (item.includes('ConfLive')) {\n return item.replace('ConfLive', '');\n } else if (item.includes('ConfTest')) {\n return item.replace('ConfTest', '');\n }\n return '';\n });\n const uniqueListOfPgs = [...new Set(listOfPgs)];\n uniqueListOfPgs.forEach(pgs => {\n setTimeout(() => {\n actions.updatePgsRequest(pgs, initialValues);\n }, 200);\n });\n };\n\n useEffect(() => {\n if (initialValues && Object.keys(initialValues).length) {\n actions.savePgDetailsRequest(\n isEditMode || isViewMode\n ? initialValues\n : getFormattedPGConfigOldData(initialValues)\n );\n setInitialPgConfig();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [actions, initialValues]);\n\n useEffect(() => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.SAVE_DATA(name));\n onNext();\n }\n return () => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n actions.resetSaveDataSuccessKey();\n actions.resetSavedPgs({});\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [saveData.isSuccess, saveData.sectionType]);\n\n useEffect(() => {\n if (updateData.isUpdated && updateData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.UPDATE_MAKER_REQUEST_SUCCESS(name));\n onNext();\n }\n return () => {\n if (\n updateData.isUpdated &&\n updateData.sectionType === sectionType\n ) {\n actions.resetUpdateDataSuccessKey();\n actions.resetSavedPgs({});\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateData.isUpdated, updateData.sectionType]);\n\n const onConfig = (configType, configDetails) => {\n setIsConfig(true);\n setIsChange(true);\n setConfigMode(configType);\n setConfigDetails(configDetails);\n };\n\n const handleBackClick = () => {\n setIsConfig(false);\n };\n\n const generateRequestData = (savedPgs, pgDetails) => {\n const requestData = [];\n const savedPgsConfigName = Object.keys(savedPgs);\n\n savedPgsConfigName.forEach((itemName, index) => {\n const configIndex = pgDetails.findIndex(pg =>\n itemName.includes(pg.uniqueId)\n );\n\n if (configIndex >= 0) {\n const pgConf = pgDetails[configIndex];\n requestData.push({\n pgName: pgConf.uniqueId,\n environment: 'LIVE',\n integration: 'DEFAULT',\n credentials: savedPgs[itemName].credentials.map(\n (cred, index) => {\n return {\n ...cred,\n isUpdated: savedPgs[itemName].isUpdated,\n status:\n cred.status &&\n cred.status.length &&\n cred.status[0] === 'ENABLED'\n ? true\n : false,\n };\n }\n ),\n });\n }\n });\n\n return requestData;\n };\n\n const handleSubmit = () => {\n if (\n currentStep &&\n currentStep.dependentSections &&\n currentStep.dependentSections.length &&\n currentStep.status === 'Complete' &&\n isChange &&\n !isShowModal\n ) {\n setIsShowModal(true);\n } else {\n const requestData = generateRequestData(savedPgs, pgDetails);\n\n const request = {\n uniqueIdentifier: uniqueId,\n sectionType,\n data: { paymentGatewayDtoList: requestData },\n };\n\n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n const updateRequest = {\n entityCode: merchantId,\n paymentGatewayDtoList: requestData,\n };\n\n const makerDetails = {\n makerId: auth.userDetails.email || '',\n idempotencyId: merchantId,\n eventType: MAKER_CHECKER_EVENT_TYPES.PG_CONFIG,\n };\n actions.addMerchantStepUpdateMakerRequest(\n updateRequest,\n sectionType,\n makerDetails\n );\n } else if (isViewMode) {\n onNext();\n } else {\n actions.saveAndContinueRequest(request, sectionType);\n }\n }\n };\n\n const handleModeSwitch = (values, uniqueId) => {\n setIsChange(true);\n actions.updatePgStatusRequest({ values, uniqueId });\n };\n\n const errorDetails = isEditMode ? updateData : saveData;\n const isOrAre = currentStep.dependentSections.length > 1 ? 'are' : 'is';\n\n return (\n <>\n \n {isConfig ? (\n \n ) : pgList && pgList.length > 0 ? (\n \n ) : null}\n \n );\n};\n\nPGConfigTab.propTypes = {\n actions: PropTypes.object,\n merchantData: PropTypes.object,\n pgData: PropTypes.object,\n history: PropTypes.object,\n nextPath: PropTypes.string,\n previousPath: PropTypes.string,\n name: PropTypes.string,\n sectionType: PropTypes.string,\n auth: PropTypes.object,\n initialValues: PropTypes.object,\n isEditMode: PropTypes.bool,\n isViewMode: PropTypes.bool,\n editData: PropTypes.object,\n onBoardSteps: PropTypes.array,\n isInEditMode: PropTypes.bool,\n};\n\nconst mapStateToProps = ({ auth, pgData, merchantData, editData }) => ({\n auth,\n pgData,\n merchantData,\n editData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n saveAndContinueRequest,\n updatePgStatusRequest,\n savePgDetailsRequest,\n updatePgsRequest,\n resetSaveDataSuccessKey,\n updatePgConfigDataRequest,\n resetUpdateDataSuccessKey,\n fetchPgConfigDetailsRequest,\n getMerchantSectionInfoRequest,\n resetSavedPgs,\n addMerchantStepUpdateMakerRequest,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n connect(mapStateToProps, mapDispatchToProps)(PGConfigTab)\n);\n","import PGConfigTab from './PGConfigTab';\n\nexport default PGConfigTab;\n","/* eslint-disable complexity */\nconst validate = values => {\n const errors = {};\n\n if (!values.pgRoutingRequestList || !values.pgRoutingRequestList.length) {\n } else {\n const routingErrors = [];\n values.pgRoutingRequestList.forEach((route, routeIndex) => {\n if (\n route.pgPercentage.payu === '' ||\n route.pgPercentage.payu < 0 ||\n route.pgPercentage.payu > 100 ||\n (route.pgPercentage.payu &&\n JSON.stringify(route.pgPercentage.payu).indexOf('.') > -1)\n ) {\n routingErrors[routeIndex] = {\n pgPercentage: {\n payu:\n 'Please enter a value between 0 and 100 w/o decimals',\n },\n };\n }\n if (\n route.pgPercentage.migs === '' ||\n route.pgPercentage.migs < 0 ||\n route.pgPercentage.migs > 100 ||\n (route.pgPercentage.migs &&\n JSON.stringify(route.pgPercentage.migs).indexOf('.') > -1)\n ) {\n routingErrors[routeIndex] = {\n pgPercentage: {\n migs:\n 'Please enter a value between 0 and 100 w/o decimals',\n },\n };\n }\n if (\n route.pgPercentage.cca === '' ||\n route.pgPercentage.cca < 0 ||\n route.pgPercentage.cca > 100 ||\n (route.pgPercentage.cca &&\n JSON.stringify(route.pgPercentage.cca).indexOf('.') > -1)\n ) {\n routingErrors[routeIndex] = {\n pgPercentage: {\n cca:\n 'Please enter a value between 0 and 100 w/o decimals',\n },\n };\n }\n if (\n route.pgPercentage.cybs === '' ||\n route.pgPercentage.cybs < 0 ||\n route.pgPercentage.cybs > 100 ||\n (route.pgPercentage.cybs &&\n JSON.stringify(route.pgPercentage.cybs).indexOf('.') > -1)\n ) {\n routingErrors[routeIndex] = {\n pgPercentage: {\n cybs:\n 'Please enter a value between 0 and 100 w/o decimals',\n },\n };\n }\n\n if (\n route.pgPercentage.hdfc === '' ||\n route.pgPercentage.hdfc < 0 ||\n route.pgPercentage.hdfc > 100 ||\n (route.pgPercentage.hdfc &&\n JSON.stringify(route.pgPercentage.hdfc).indexOf('.') > -1)\n ) {\n routingErrors[routeIndex] = {\n pgPercentage: {\n hdfc:\n 'Please enter a value between 0 and 100 w/o decimals',\n },\n };\n }\n\n if (\n route.pgPercentage.bdk === '' ||\n route.pgPercentage.bdk < 0 ||\n route.pgPercentage.bdk > 100 ||\n (route.pgPercentage.bdk &&\n JSON.stringify(route.pgPercentage.bdk).indexOf('.') > -1)\n ) {\n routingErrors[routeIndex] = {\n pgPercentage: {\n bdk:\n 'Please enter a value between 0 and 100 w/o decimals',\n },\n };\n }\n\n if (\n route.pgPercentage.fiserv === '' ||\n route.pgPercentage.fiserv < 0 ||\n route.pgPercentage.fiserv > 100 ||\n (route.pgPercentage.fiserv &&\n JSON.stringify(route.pgPercentage.fiserv).indexOf('.') > -1)\n ) {\n routingErrors[routeIndex] = {\n pgPercentage: {\n fiserv:\n 'Please enter a value between 0 and 100 w/o decimals',\n },\n };\n }\n\n if (\n route.pgPercentage.mpgs === '' ||\n route.pgPercentage.mpgs < 0 ||\n route.pgPercentage.mpgs > 100 ||\n (route.pgPercentage.mpgs &&\n JSON.stringify(route.pgPercentage.mpgs).indexOf('.') > -1)\n ) {\n routingErrors[routeIndex] = {\n pgPercentage: {\n mpgs:\n 'Please enter a value between 0 and 100 w/o decimals',\n },\n };\n }\n\n let pgPercentageTotal = 0;\n for (const paymentGateway in route.pgPercentage) {\n if (route.pgPercentage.hasOwnProperty(paymentGateway)) {\n pgPercentageTotal += parseInt(\n route.pgPercentage[paymentGateway],\n 10\n );\n }\n }\n\n if (pgPercentageTotal !== 100) {\n const pgs = Object.keys(route.pgPercentage);\n routingErrors[routeIndex] = {\n pgPercentage: {\n [pgs[0]]: 'Total of all PG percentages should be 100',\n },\n };\n }\n });\n\n errors.pgRoutingRequestList = routingErrors;\n }\n\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable max-statements */\n/* eslint-disable max-lines-per-function */\n/* eslint-disable id-length */\n// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, FieldArray, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { withRouter } from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport { last, first } from 'lodash';\n\n// Component\nimport { FormElems, Alert, AlertModal } from '../../components/';\n\n// Actions\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport {\n saveAndContinueRequest,\n fetchDefaultRoutingRequest,\n resetSaveDataSuccessKey,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\nimport {\n fetchRouterDetailsRequest,\n updateRoutingDataRequest,\n addMerchantStepUpdateMakerRequest,\n resetUpdateDataSuccessKey,\n} from '../../containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\n\n// Helper Methods\nimport {\n isObjectEmpty,\n getDependentSectionName,\n} from '../../utils/helperMethods';\n\n// Constant\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\n\n// Validator\nimport warningIcon from '../../static/images/warning-icon.png';\nimport validate from './validator';\n\n// Images\n\n// Styles\nimport './routingTab.scss';\nimport { MAKER_CHECKER_EVENT_TYPES } from 'utils/constants/commonValues';\n\nconst paymentTypeNameMapping = {\n CC: 'Credit Card',\n DC: 'Debit Card',\n NB: 'Netbanking',\n WALLET: 'Wallet',\n};\n\nconst RoutingTab = ({\n merchantData,\n actions,\n sectionType,\n name,\n formData,\n isEditMode,\n isViewMode,\n editData,\n data,\n nextPath,\n previousPath,\n history,\n handleSubmit,\n onBoardSteps,\n isInEditMode,\n dirty,\n change,\n auth,\n}) => {\n const {\n saveData,\n formInProcess,\n uniqueIdentifier: { uniqueId },\n timeline: { fields },\n } = merchantData;\n\n // console.log(formInProcess,\"consoling form in process\")\n\n const { updateData } = editData;\n const { location } = history;\n const currentStep = first(\n onBoardSteps.filter(item => item.sectionType === sectionType)\n );\n\n const [isShowModal, setIsShowModal] = useState(false);\n\n const onSuccessModal = () => {\n setIsShowModal(false);\n if (formData && formData.values) {\n handleFormSubmit(formData.values);\n }\n };\n\n const onCloseModal = () => {\n setIsShowModal(false);\n };\n\n const resetErrors = () => {\n if (isEditMode) {\n actions.resetUpdateDataSuccessKey();\n } else {\n actions.resetSaveDataSuccessKey();\n }\n };\n \n\n useEffect(() => {\n resetErrors();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n actions.fetchRouterDetailsRequest(merchantId, fields);\n }\n }, [actions, fields, isEditMode, isViewMode, location.pathname]);\n\n useEffect(() => {\n let paymentModeDetails = [];\n const configuredPgs = [];\n console.log(formInProcess,\"consoling in useeffect form in process\")\n if (formInProcess.forms) {\n const paymentModeSection =\n formInProcess.forms[0] &&\n formInProcess.forms[0].sections.find(\n section => section.type === 'paymentModeSection'\n );\n\n if (paymentModeSection) {\n paymentModeDetails = paymentModeSection.data.paymentModeDetails.filter(\n item => item\n );\n }\n console.log(paymentModeSection,\"consoling paymentModeSection\")\n\n\n const pgConfigSection =\n formInProcess.forms[0] &&\n formInProcess.forms[0].sections.find(\n section => section.type === 'pgConfigurationSection'\n );\n\n console.log(pgConfigSection,\"consoling pgConfigSection\")\n\n if (pgConfigSection) {\n const pgConfigs = Object.keys(pgConfigSection.data);\n console.log(pgConfigs,'consoling before pgConfigs');\n\n if (pgConfigs.includes('migsConfLive')) {\n configuredPgs.push('migs');\n }\n if (pgConfigs.includes('ccAvenueConfLive')) {\n configuredPgs.push('cca');\n }\n if (pgConfigs.includes('payuConfLive')) {\n configuredPgs.push('payu');\n }\n if (pgConfigs.includes('cyberSourceConfLive')) {\n configuredPgs.push('cybs');\n }\n if (pgConfigs.includes('hdfcConfLive')) {\n configuredPgs.push('hdfc');\n }\n if (pgConfigs.includes('bdkLive')) {\n configuredPgs.push('bdk');\n }\n if (pgConfigs.includes('fiservConfLive')) {\n configuredPgs.push('fiserv');\n }\n if (pgConfigs.includes('mpgsConfLive')) {\n configuredPgs.push('mpgs');\n }\n if (pgConfigs.includes('axisnbConfLive')) {\n configuredPgs.push('axisnb');\n\n }\n }\n console.log('axisnb is added to configuredPgs:', configuredPgs);\n }\n\n const request = {\n formIdentifier: uniqueId,\n };\n\n actions.fetchDefaultRoutingRequest(request);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [actions]);\n\n const getDynamicRoutingBoolValues = values => {\n const boolValues =\n values &&\n values.enableDynamicRouting &&\n Array.isArray(values.enableDynamicRouting) &&\n values.enableDynamicRouting.includes('enableDynamicRouting');\n return boolValues || false;\n };\n\n const handleFormSubmit = values => {\n if (\n currentStep &&\n currentStep.dependentSections &&\n currentStep.dependentSections.length &&\n currentStep.status === 'Complete' &&\n dirty &&\n !isShowModal\n ) {\n setIsShowModal(true);\n } else {\n const request = {\n uniqueIdentifier: uniqueId,\n sectionType,\n data: {\n enableDynamicRouting: getDynamicRoutingBoolValues(values),\n pgRoutingRequestList: values.pgRoutingRequestList.filter(\n item => !isObjectEmpty(item.pgPercentage)\n ),\n },\n };\n\n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n const updateRequest = {\n entityCode: merchantId,\n enableDynamicRouting: getDynamicRoutingBoolValues(values),\n pgRoutingRequestList: values.pgRoutingRequestList.filter(\n item => !isObjectEmpty(item.pgPercentage)\n ),\n };\n const makerDetails = {\n makerId: auth.userDetails.email || '',\n idempotencyId: merchantId,\n eventType: MAKER_CHECKER_EVENT_TYPES.ROUTING,\n };\n\n actions.addMerchantStepUpdateMakerRequest(\n updateRequest,\n sectionType,\n makerDetails\n );\n } else if (isViewMode) {\n onNext();\n } else {\n actions.saveAndContinueRequest(request, sectionType);\n }\n }\n };\n const onNext = () => {\n resetErrors();\n history.push(nextPath);\n };\n const onBack = () => {\n resetErrors();\n history.push(previousPath);\n };\n\n useEffect(() => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.SAVE_DATA(name));\n onNext();\n }\n return () => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n actions.resetSaveDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [saveData.isSuccess, saveData.sectionType]);\n\n useEffect(() => {\n if (updateData.isUpdated && updateData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.UPDATE_MAKER_REQUEST_SUCCESS(name));\n onNext();\n }\n return () => {\n if (\n updateData.isUpdated &&\n updateData.sectionType === sectionType\n ) {\n actions.resetUpdateDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateData.isUpdated, updateData.sectionType]);\n\n const errorDetails = isEditMode ? updateData : saveData;\n const isOrAre = currentStep.dependentSections.length > 1 ? 'are' : 'is';\n return (\n \n
    \n
    \n

    Routing

    \n
    \n \n
    \n
    \n {/* */}\n {errorDetails.error && errorDetails.error.errorMessage ? (\n \n {errorDetails.error.errorMessage}\n \n ) : null}\n \n
    \n \n \n \n \n \n \n \n \n \n \n \n
    Payment TypeSub TypePG Percentage
    \n
    \n
    \n
    \n \n \n
    \n \n );\n};\n\nconst renderRoutingRows = ({\n fields,\n meta: { error, submitFailed },\n defaultRouting,\n isViewMode,\n}) => (\n <>\n {fields.length === 0 && (\n \n \n
    \n \n PGs are not configured for any payment type.\n
    \n \n \n )}\n {fields.map((member, index) => (\n \n \n {paymentTypeNameMapping[defaultRouting[index].paymentType]}\n \n \n {defaultRouting[index].paymentModeInfoUI ||\n defaultRouting[index].paymentModeInfo}\n \n \n
      \n {/* {console.log(defaultRouting[index] ,\"consoling Default routing \")} */}\n {isObjectEmpty(defaultRouting[index].pgPercentage) ? (\n
      \n \n PG is not configured for this payment type.\n
      \n ) : (\n ''\n )}\n {defaultRouting[index].pgPercentage.hasOwnProperty(\n 'payu'\n ) && (\n
    • \n Pay U\n \n
    • \n )}\n\n{/* \n { //axis nb field \n defaultRouting[index].pgPercentage.hasOwnProperty(\n 'axisnb'\n ) && (\n
    • \n Axis NB\n \n
    • \n )} */}\n\n {defaultRouting[index].pgPercentage.hasOwnProperty(\n 'migs'\n ) && (\n
    • \n MIGS\n \n
    • \n )}\n {defaultRouting[index].pgPercentage.hasOwnProperty(\n 'cca'\n ) && (\n
    • \n CC Avenue\n \n
    • \n )}\n {defaultRouting[index].pgPercentage.hasOwnProperty(\n 'cybs'\n ) && (\n
    • \n Cyber Source\n \n
    • \n )}\n {defaultRouting[index].pgPercentage.hasOwnProperty(\n 'hdfc'\n ) && (\n
    • \n HDFC\n \n
    • \n )}\n {defaultRouting[index].pgPercentage.hasOwnProperty(\n 'bdk'\n ) && (\n
    • \n Bill Desk\n \n
    • \n )}\n {defaultRouting[index].pgPercentage.hasOwnProperty(\n 'fiserv'\n ) && (\n
    • \n Fiserv\n \n
    • \n )}\n {defaultRouting[index].pgPercentage.hasOwnProperty(\n 'mpgs'\n ) && (\n
    • \n MPGS\n \n
    • \n )}\n {defaultRouting[index].pgPercentage.hasOwnProperty(\n 'axisnb'\n ) && (\n
    • \n Axis NB\n \n
    • \n )}\n
    \n \n \n ))}\n \n);\n\nRoutingTab.propTypes = {\n data: PropTypes.object.isRequired,\n handleSubmit: PropTypes.func,\n history: PropTypes.object,\n auth: PropTypes.object,\n nextPath: PropTypes.string,\n previousPath: PropTypes.string,\n merchantData: PropTypes.object,\n actions: PropTypes.object,\n sectionType: PropTypes.string,\n name: PropTypes.string,\n formData: PropTypes.object,\n isEditMode: PropTypes.bool,\n isViewMode: PropTypes.bool,\n editData: PropTypes.object,\n onBoardSteps: PropTypes.array,\n isInEditMode: PropTypes.bool,\n dirty: PropTypes.bool,\n};\n\nrenderRoutingRows.propTypes = {\n fields: PropTypes.array,\n meta: PropTypes.object,\n defaultRouting: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, form, merchantData, editData }) => ({\n auth,\n formData: form['routing-form'],\n merchantData,\n editData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n fetchDefaultRoutingRequest,\n fetchRouterDetailsRequest,\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n updateRoutingDataRequest,\n addMerchantStepUpdateMakerRequest,\n resetUpdateDataSuccessKey,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'routing-form',\n validate,\n enableReinitialize: true,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(RoutingTab)\n);\n","import RoutingTab from './RoutingTab';\n\nexport default RoutingTab;\n","import { FormElems } from '..';\nimport React from 'react';\nimport PropTypes from 'prop-types';\n// Libraries\n\nimport { Field, FieldArray } from 'redux-form';\n// Card slabs\n\nconst renderSurchargeSlab = ({\n fields,\n meta: { error, submitFailed },\n sectionData,\n schemeOptions,\n isViewMode,\n cardCategoriesOptions,\n}) => {\n console.log(\"ok inside the surcharge component\", fields,\n schemeOptions,\n isViewMode);\n const defaultcardCategory = \"All Card Categories\";\n const newAddFieldInitialData = { bankSlabs: sectionData[0].bankSlabs, cardCategory: defaultcardCategory};\n const selectedSchemes = fields.getAll()?.map(data => data.cardType) || [];\n // eslint-disable-next-line no-param-reassign\n\n // console.log(newAddFieldInitialData, \"newAddFieldInitialData\")\n\n const selectedScheme = index => {\n const data = fields.getAll();\n const selectedCardType = data[index].cardType;\n if (selectedCardType && index !== 0) {\n const selectedOption = schemeOptions.find(\n option => option.value === selectedCardType\n );\n\n return [selectedOption];\n }\n return [];\n };\n\n const getSelectedCardCategory = index => {\n const data = fields.getAll();\n const selectedCardCategory = data[index].cardCategory;\n if (selectedCardCategory && index !== 0) {\n const selectedOption = cardCategoriesOptions.find(\n option => option.value === selectedCardCategory\n );\n\n return [selectedOption];\n }\n return [];\n };\n\n\n const getFilteredSchemaOptions = (index) => {\n const cardMap = {};\n const data = fields.getAll();\n const details = data?.forEach((fieldData, fieldDataIndex) => {\n if (fieldData && fieldData.cardType) {\n if (cardMap[fieldData.cardType]) {\n cardMap[fieldData.cardType] = [...cardMap[fieldData.cardType], fieldData.cardCategory]\n } else {\n cardMap[fieldData.cardType] = [fieldData.cardCategory]\n }\n }\n })\n\n // Remove card types if all their categories are selected\n let filteredSchemeOptions = schemeOptions.filter(option => {\n const categories = cardMap[option.value] || [];\n return !cardCategoriesOptions.every(item => categories.includes(item.value));\n });\n\n return [...selectedScheme(index), ...filteredSchemeOptions].filter(item => Boolean(item));\n }\n\n const getFilteredCardCategories = (index) => {\n const cardMap = {};\n let data = fields.getAll()\n const details = data.forEach((fieldData, fieldDataIndex) => {\n if (fieldData && fieldData.cardType) {\n if (cardMap[fieldData.cardType]) {\n cardMap[fieldData.cardType] = [...cardMap[fieldData.cardType], fieldData.cardCategory]\n } else {\n cardMap[fieldData.cardType] = [fieldData.cardCategory]\n }\n }\n })\n\n let selectedCardCategoriesForCardType = cardMap[data[index].cardType] || [];\n\n // Remove card types if all their categories are selected\n let filteredCardCategories = cardCategoriesOptions.filter(option => {\n return !selectedCardCategoriesForCardType.includes(option.value);\n });\n // console.log(\"options\", [...getSelectedCardCategory(index), ...filteredCardCategories]);\n return [...getSelectedCardCategory(index), ...filteredCardCategories];\n }\n\n const updateCardCategory = (value, index) => {\n let data = fields.getAll();\n \n let cardType = value;\n\n\n let arr = data.filter(item => item.cardType == cardType && item.cardCategory == defaultcardCategory);\n let flag = arr.length >= 1;\n\n if (flag) {\n data[index].cardCategory = \"\";\n }\n }\n\n // console.log(fields.getAll(), \"FIELDS\");\n\n return (\n <>\n {fields.map((item, index) => (\n <>\n
    \n {updateCardCategory(value, index)}}\n />\n \n {index > 0 ? (\n fields.remove(index)}\n />\n ) : (\n \n fields.push({ ...newAddFieldInitialData })\n }\n />\n )}\n
    \n
      \n \n
    \n \n ))}\n \n );\n};\n\n// card slabs\nconst renderSurchargeSlabItems = ({\n fields,\n meta: { error, submitFailed },\n sectionData,\n isViewMode,\n}) => {\n // const section = sectionData.length > 0 ? sectionData : [];\n // eslint-disable-next-line react/prop-types\n const section = fields.getAll();\n // if lower slab <=2000 and higherslab is null\n const noSlab = section.find(item => {\n return (\n item.lowerSlab !== null && item.lowerSlab < 2000 && !item.higherSlab\n );\n });\n\n const cardTitle = title => {\n if (title === 'ESF') {\n return 'SAME DAY SETTLEMENT FEE';\n }\n\n return title?.replaceAll('_', ' ');\n };\n\n const tiles = (item, index) => {\n return (\n
  • \n
    \n
    \n {cardTitle(section[index]?.type)}\n
    \n
    \n
    \n
    \n

    Percent

    \n \n
    \n
    \n

    Flat

    \n \n
    \n
    \n

    Criteria

    \n \n
    \n
    \n

    Tax

    \n \n
    \n
    \n
  • \n );\n };\n\n const renderSlabs = () => {\n // get left slabs\n const leftSlab = fields.map((item, index) => {\n if (\n section[index].higherSlab &&\n section[index].higherSlab <= 2000\n ) {\n return tiles(item, index);\n }\n });\n\n // get right slabs\n const rightSlab = fields.map((item, index) => {\n if (section[index].lowerSlab && section[index].lowerSlab >= 2000) {\n return tiles(item, index);\n }\n });\n\n return (\n <>\n
      \n
      Slab - Upto 2000
      \n {leftSlab}\n
    \n
      \n

      Slab - Above 2000

      \n {rightSlab}\n
    \n \n );\n };\n\n if (noSlab) {\n return fields.map((item, index) => {\n return tiles(item, index);\n });\n }\n return
    {renderSlabs()}
    ;\n};\n\nrenderSurchargeSlab.propTypes = {\n fields: PropTypes.object.isRequired,\n meta: PropTypes.object,\n sectionData: PropTypes.object,\n schemeOptions: PropTypes.array,\n cardCategoriesOptions: PropTypes.array,\n isViewMode: PropTypes.bool,\n};\nrenderSurchargeSlabItems.propTypes = {\n fields: PropTypes.object.isRequired,\n meta: PropTypes.object,\n sectionData: PropTypes.object,\n schemeOptions: PropTypes.array,\n isViewMode: PropTypes.bool,\n};\n\nexport default renderSurchargeSlab;\n","import { capitalizeStringWithUnderscores } from 'utils/helperMethods';\nimport { FormElems } from '..';\nimport React from 'react';\nimport PropTypes from 'prop-types';\n// Libraries\n\nimport { Field, FieldArray } from 'redux-form';\nimport { transactionTypeNameMap } from 'utils/constants/commonValues';\n// Card slabs\n\nconst renderSurchargeBankSlab = ({\n fields,\n meta: { error, submitFailed },\n sectionData,\n bankOptions,\n isViewMode,\n sectionName,\n walletOptions,\n}) => {\n return (\n <>\n {fields.map((item, index) => (\n <>\n
      \n \n
    \n \n ))}\n \n );\n};\n\n// card slabs\nconst renderBankSlabItems = ({\n fields,\n meta: { error, submitFailed },\n sectionData,\n isViewMode,\n sectionName,\n}) => {\n // const section = sectionData.length > 0 ? sectionData : [];\n // eslint-disable-next-line react/prop-types\n const section = fields.getAll();\n // if lower slab <=2000 and higher lab is null\n\n const cardTitle = (\n title,\n sectionName,\n accountType,\n transactionType,\n category,\n cardType\n ) => {\n let cardTitle = title;\n if (title === 'ESF') {\n cardTitle = 'SAME DAY SETTLEMENT FEE';\n }\n\n if (sectionName === 'UPI' && accountType) {\n cardTitle = `${cardTitle} for ${capitalizeStringWithUnderscores(\n accountType\n )}`;\n }\n\n if (transactionType) {\n cardTitle = `${cardTitle} ( ${transactionTypeNameMap[transactionType]} )`;\n }\n\n if (category) {\n cardTitle = `${cardTitle} ( ${category} )`;\n }\n\n if (cardType) {\n cardTitle = `${cardTitle} - ${cardType} `;\n }\n\n\n return cardTitle?.replaceAll('_', ' ');\n };\n\n const tiles = (item, index) => {\n return (\n \n
    \n
    \n {`${cardTitle(\n section[index]?.type,\n sectionName,\n section[index].accountType,\n section[index].transactionType,\n section[index].category,\n section[index].cardType,\n )} `}\n
    \n
    \n
    \n
    \n

    Percent

    \n \n
    \n
    \n

    Flat

    \n \n
    \n
    \n

    Criteria

    \n \n
    \n
    \n

    Tax

    \n \n
    \n
    \n \n );\n };\n\n const renderSlabs = () => {\n const defaultSlab = fields\n .map((item, index) => {\n if (\n !section[index].higherSlab &&\n section[index].lowerSlab <= 100\n ) {\n return tiles(item, index);\n }\n })\n .filter(Boolean);\n\n // get left slabs\n // eslint-disable-next-line array-callback-return\n const firstSlab = fields\n .map((item, index) => {\n if (\n section[index].higherSlab &&\n section[index].higherSlab <= 100\n ) {\n return tiles(item, index);\n }\n })\n .filter(Boolean);\n\n // get right slabs\n // eslint-disable-next-line array-callback-return\n const secondSlab = fields\n .map((item, index) => {\n if (\n section[index].lowerSlab &&\n section[index].lowerSlab >= 100 &&\n section[index].higherSlab &&\n section[index].higherSlab <= 1000\n ) {\n return tiles(item, index);\n }\n })\n .filter(Boolean);\n\n const thirdSlab = fields\n .map((item, index) => {\n if (\n section[index].lowerSlab &&\n section[index].lowerSlab >= 1000 &&\n section[index].higherSlab &&\n section[index].higherSlab <= 25000\n ) {\n return tiles(item, index);\n }\n })\n .filter(Boolean);\n\n const forthSlab = fields\n .map((item, index) => {\n if (\n !section[index].higherSlab &&\n section[index].lowerSlab &&\n section[index].lowerSlab >= 25000\n ) {\n return tiles(item, index);\n }\n return null;\n })\n .filter(Boolean);\n return (\n <>\n {firstSlab.length ? (\n
      \n
      Slab - Upto 100
      \n {firstSlab}\n
    \n ) : (\n <>\n )}\n {secondSlab.length ? (\n
      \n

      Slab - Upto 1000

      \n {secondSlab}\n
    \n ) : (\n <>\n )}\n {thirdSlab.length ? (\n
      \n
      Slab - Upto 25000
      \n {thirdSlab}\n
    \n ) : (\n <>\n )}\n {forthSlab.length ? (\n
      \n

      Slab - Above 25000

      \n {forthSlab}\n
    \n ) : (\n <>\n )}\n {defaultSlab.length ? (\n
      \n
      Payment Slabs
      \n {defaultSlab}\n
    \n ) : (\n <>\n )}\n \n );\n };\n\n return (\n \n {renderSlabs()}\n \n );\n};\n\nrenderSurchargeBankSlab.propTypes = {\n fields: PropTypes.object.isRequired,\n meta: PropTypes.object,\n sectionData: PropTypes.object,\n bankOptions: PropTypes.array,\n isViewMode: PropTypes.bool,\n sectionName: PropTypes.string,\n walletOptions: PropTypes.array,\n};\nrenderBankSlabItems.propTypes = {\n fields: PropTypes.object.isRequired,\n meta: PropTypes.object,\n sectionData: PropTypes.object,\n bankOptions: PropTypes.array,\n isViewMode: PropTypes.bool,\n sectionName: PropTypes.string,\n};\n\nexport default renderSurchargeBankSlab;\n","import { capitalizeStringWithUnderscores } from 'utils/helperMethods';\nimport { FormElems } from '..';\nimport React from 'react';\nimport PropTypes from 'prop-types';\n// Libraries\n\nimport { Field, FieldArray } from 'redux-form';\n// Card slabs\n\nconst renderSurchargeBankSlab = ({\n fields,\n meta: { error, submitFailed },\n sectionData,\n bankOptions,\n isViewMode,\n sectionName,\n walletOptions,\n}) => {\n const newAddFieldInitialData = { bankSlabs: sectionData[0].bankSlabs };\n const selectedSchemes = fields.getAll()?.map(data => data.issuerId) || [];\n const selectedWallets = fields.getAll()?.map(data => data.issuerId) || [];\n\n // eslint-disable-next-line no-param-reassign\n const filteredBankOptions = bankOptions.filter(\n options => !selectedSchemes.includes(options.value)\n );\n\n const filteredWalletsOptions = walletOptions.filter(\n options => !selectedWallets.includes(options.value)\n );\n\n const selectedBank = index => {\n const data = fields.getAll();\n const selectedBankType = data[index].issuerId;\n if (selectedBankType && index !== 0) {\n const selectedOption = bankOptions.find(\n option => option.value === selectedBankType\n );\n\n return [selectedOption];\n }\n return [];\n };\n\n const selectedWallet = index => {\n const data = fields.getAll();\n const selectedWalletType = data[index].issuerId;\n if (selectedWalletType && index !== 0) {\n const selectedOption = walletOptions.find(\n option => option.value === selectedWalletType\n );\n\n return [selectedOption];\n }\n return [];\n };\n\n return (\n <>\n {fields.map((item, index) => (\n <>\n {sectionName === 'Net-Banking' && (\n
    \n \n {index > 0 ? (\n fields.remove(index)}\n />\n ) : (\n \n fields.push({\n ...newAddFieldInitialData,\n })\n }\n />\n )}\n
    \n )}\n\n {sectionName === 'Wallets' && (\n
    \n \n {index > 0 ? (\n fields.remove(index)}\n />\n ) : (\n \n fields.push({\n ...newAddFieldInitialData,\n })\n }\n />\n )}\n
    \n )}\n\n
      \n \n
    \n \n ))}\n \n );\n};\n\n// card slabs\nconst renderBankSlabItems = ({\n fields,\n meta: { error, submitFailed },\n sectionData,\n isViewMode,\n sectionName,\n}) => {\n // const section = sectionData.length > 0 ? sectionData : [];\n // eslint-disable-next-line react/prop-types\n const section = fields.getAll();\n // if lower slab <=2000 and higher lab is null\n const noSlab = section.find(item => {\n return (\n item.lowerSlab !== null && item.lowerSlab < 2000 && !item.higherSlab\n );\n });\n\n const cardTitle = title => {\n if (title === 'ESF') {\n return 'SAME DAY SETTLEMENT FEE';\n }\n\n return title?.replaceAll('_', ' ');\n };\n\n const tiles = (item, index) => {\n return (\n
  • \n
    \n
    \n {`${cardTitle(section[index]?.type)} ${\n sectionName === 'UPI'\n ? `for ${capitalizeStringWithUnderscores(\n section[index].accountType\n )}`\n : ''\n } `}\n
    \n
    \n
    \n
    \n

    Percent

    \n \n
    \n
    \n

    Flat

    \n \n
    \n
    \n

    Criteria

    \n \n
    \n
    \n

    Tax

    \n \n
    \n
    \n
  • \n );\n };\n\n const renderSlabs = () => {\n // get left slabs\n // eslint-disable-next-line array-callback-return\n const leftSlab = fields.map((item, index) => {\n if (\n section[index].higherSlab &&\n section[index].higherSlab <= 2000\n ) {\n return tiles(item, index);\n }\n });\n\n // get right slabs\n // eslint-disable-next-line array-callback-return\n const rightSlab = fields.map((item, index) => {\n if (section[index].lowerSlab && section[index].lowerSlab >= 2000) {\n return tiles(item, index);\n }\n });\n\n return (\n <>\n
      \n
      Slab - Upto 2000
      \n {leftSlab}\n
    \n
      \n

      Slab - Above 2000

      \n {rightSlab}\n
    \n \n );\n };\n\n if (noSlab) {\n return fields.map((item, index) => {\n return tiles(item, index);\n });\n }\n return
    {renderSlabs()}
    ;\n};\n\nrenderSurchargeBankSlab.propTypes = {\n fields: PropTypes.object.isRequired,\n meta: PropTypes.object,\n sectionData: PropTypes.object,\n bankOptions: PropTypes.array,\n isViewMode: PropTypes.bool,\n sectionName: PropTypes.string,\n walletOptions: PropTypes.array,\n};\nrenderBankSlabItems.propTypes = {\n fields: PropTypes.object.isRequired,\n meta: PropTypes.object,\n sectionData: PropTypes.object,\n bankOptions: PropTypes.array,\n isViewMode: PropTypes.bool,\n sectionName: PropTypes.string,\n};\n\nexport default renderSurchargeBankSlab;\n","/* eslint-disable guard-for-in */\nconst validate = values => {\n const errors = {};\n if (values.feeConfigList) {\n const feeConfigListErrors = {};\n\n for (const prop in values.feeConfigList) {\n const propErrors = [];\n // eslint-disable-next-line complexity\n // eslint-disable-next-line no-loop-func\n values.feeConfigList[prop].forEach((bank, bankIndex) => {\n const bankErrors = {};\n bankErrors.bankSlabs = [];\n\n if (prop === 'Net-Banking') {\n if (!bank.issuerId || bank.issuerId === '') {\n bankErrors.issuerId = 'Please select a bank';\n }\n } else {\n if (!bank.cardType || bank.cardType === '') {\n bankErrors.cardType = 'Please select a scheme';\n }\n }\n\n // eslint-disable-next-line complexity, no-unused-expressions\n bank.bankSlabs?.forEach((slab, slabIndex) => {\n const slabErrors = {};\n\n if (slab.feePercent === null || slab.feePercent === '') {\n slabErrors.feePercent = 'Percent is required';\n }\n if (\n slab.feePercent &&\n !/^[0-9]+([,.][0-9]{1,2})?$/g.test(slab.feePercent)\n ) {\n slabErrors.feePercent =\n 'Please enter a valid number upto 2 decimals';\n }\n if (\n slab.feePercent &&\n (slab.feePercent < 0 || slab.feePercent > 100)\n ) {\n slabErrors.feePercent =\n 'Please enter a value b/w 0 and 100';\n }\n if (slab.feeFlat === null || slab.feeFlat === '') {\n slabErrors.feeFlat = 'Flat is required';\n }\n if (\n slab.feeFlat &&\n !/^[0-9]+([,.][0-9]{1,2})?$/g.test(slab.feeFlat)\n ) {\n slabErrors.feeFlat =\n 'Please enter a valid number upto 2 decimals';\n }\n if (\n slab.feeFlat &&\n slab.upperSlab &&\n slab.feeFlat > slab.upperSlab\n ) {\n slabErrors.feeFlat = 'Cannot be more than upper slab';\n }\n if (slab.tax === null || slab.tax === '') {\n slabErrors.tax = 'Tax is required';\n }\n if (\n slab.tax &&\n !/^[0-9]+([,.][0-9]{1,2})?$/g.test(slab.tax)\n ) {\n slabErrors.tax =\n 'Please enter a valid number upto 2 decimals';\n }\n if (slab.tax && (slab.tax < 0 || slab.tax > 100)) {\n slabErrors.tax = 'Please enter a value b/w 0 and 100';\n }\n if (slab.feeCriteria === null || slab.feeCriteria === '') {\n slabErrors.feeCriteria = 'Criteria is required';\n }\n\n bankErrors.bankSlabs[slabIndex] = slabErrors;\n });\n\n propErrors[bankIndex] = bankErrors;\n });\n\n feeConfigListErrors[prop] = propErrors;\n }\n\n errors.feeConfigList = feeConfigListErrors;\n }\n\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable array-callback-return */\n/* eslint-disable indent */\n/* eslint-disable max-lines-per-function */\n// Libraries\nimport { FormElems, Accordion, Alert } from '../../components/';\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport {\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n submitStepFormRequest,\n fetchSurchargeSlabsRequest,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\nimport {\n updateSurchargeDataRequest,\n fetchSurchargeDetailsRequest,\n resetUpdateDataSuccessKey,\n addMerchantStepUpdateMakerRequest,\n} from '../../containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport {\n getFormButtonText,\n getSchemeOptions,\n getSurchargeBankOptions,\n getWalletOptions,\n} from '../../utils/helperMethods';\nimport CardSurcharge from './CardSurchargeSlab';\nimport UPISurcharge from './UpiSurchargeSlab';\nimport NBSurcharge from './NBSurchargeSlab';\nimport validate from './validator';\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { FieldArray, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { withRouter } from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport { last } from 'lodash';\n\n// Component\n\n// Actions\n\n// Constant\n\n// Validator\n\n// Styles\nimport './surchargeTab.scss';\nimport { MAKER_CHECKER_EVENT_TYPES } from 'utils/constants/commonValues';\n\nconst SurchargeTab = ({\n merchantData,\n actions,\n sectionType,\n isEditMode,\n isViewMode,\n editData,\n data,\n name,\n nextPath,\n previousPath,\n history,\n handleSubmit,\n staticData,\n auth,\n}) => {\n const {\n saveData,\n surchargeOptions,\n uniqueIdentifier: { uniqueId },\n timeline: { fields },\n formInProcess = [],\n paymentModes,\n } = merchantData;\n\n // for current case let use use values such as\n\n\n\n const {\n payValues: { BANK_CODE },\n } = staticData;\n const { userDetails } = auth;\n const { updateData, sections } = editData;\n const { location } = history;\n\n const isUserTerminalState = !nextPath;\n\n const resetErrors = () => {\n if (isEditMode) {\n actions.resetUpdateDataSuccessKey();\n } else {\n actions.resetSaveDataSuccessKey();\n }\n };\n\n useEffect(() => {\n resetErrors();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n /**\n * get form data\n */\n useEffect(() => {\n let req = {};\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n req = {\n entityCode: merchantId,\n sectionType,\n };\n } else {\n req = {\n uniqueIdentifier: uniqueId,\n userId: userDetails.email,\n formType: 'merchantOnboardingForm',\n sectionType,\n };\n }\n\n actions.fetchSurchargeSlabsRequest(req);\n }, [\n actions,\n sectionType,\n userDetails,\n sections,\n isEditMode,\n isViewMode,\n location.pathname,\n formInProcess,\n uniqueId,\n ]);\n\n useEffect(() => {\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n actions.fetchSurchargeDetailsRequest(\n {\n entityCode: merchantId,\n },\n fields\n );\n }\n }, [actions, fields, isEditMode, isViewMode, location.pathname]);\n\n const handleFormSubmit = values => {\n\n let userOptions = [];\n const sections = Object.keys(values.feeConfigList);\n for (let i = 0; i < sections.length; i++) {\n if (\n sections[i] === 'Net-Banking' ||\n sections[i] === 'UPI' ||\n sections[i] === 'Wallets' ||\n sections[i] === 'AccountVerification' ||\n sections[i] === 'emi'\n ) {\n // eslint-disable-next-line no-loop-func\n values.feeConfigList[sections[i]].forEach(item => {\n item.bankSlabs.forEach(bankSlab => {\n const updatedBankSlab = { ...bankSlab };\n updatedBankSlab.issuer =\n item.issuerId === 'all' ? null : item.issuerId;\n delete updatedBankSlab.issuerId;\n userOptions = [...userOptions, updatedBankSlab];\n });\n });\n } else {\n // eslint-disable-next-line no-loop-func\n values.feeConfigList[sections[i]].forEach(item => {\n item.bankSlabs.forEach(slab => {\n const updatedSlab = { ...slab };\n updatedSlab.cardType =\n item.cardType === 'all' ? null : item.cardType;\n updatedSlab.cardCategory =\n item.cardCategory === \"All Card Categories\" ? null : item.cardCategory;\n userOptions = [...userOptions, updatedSlab];\n });\n });\n }\n }\n const feeConfigListMap = {};\n\n userOptions.forEach(user => {\n if (!feeConfigListMap[user.type]) {\n feeConfigListMap[user.type] = [];\n }\n feeConfigListMap[user.type].push(user);\n // delete user.type;\n });\n\n // eslint-disable-next-line guard-for-in\n for (const key in feeConfigListMap) {\n feeConfigListMap[key].forEach(item => {\n delete item.type;\n });\n }\n\n\n const request = {\n uniqueIdentifier: uniqueId,\n sectionType,\n userId: userDetails.email,\n formType: 'merchantOnboardingForm',\n data: {\n feeConfigListMap,\n },\n };\n \n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n const updateRequest = {\n entityCode: merchantId,\n feeConfigListMap,\n };\n const makerDetails = {\n makerId: auth.userDetails.email || '',\n idempotencyId: merchantId,\n eventType: MAKER_CHECKER_EVENT_TYPES.PRICING,\n };\n actions.addMerchantStepUpdateMakerRequest(\n updateRequest,\n sectionType,\n makerDetails\n );\n } else if (isViewMode) {\n onNext();\n } else {\n if (isUserTerminalState) {\n actions.submitStepFormRequest(request, sectionType);\n } else {\n actions.saveAndContinueRequest(request, sectionType);\n }\n }\n };\n const onNext = () => {\n actions.resetSaveDataSuccessKey();\n if (!isUserTerminalState) {\n history.push(nextPath);\n } else {\n history.push('/mob');\n }\n };\n\n const onBack = () => {\n actions.resetSaveDataSuccessKey();\n history.push(previousPath);\n };\n\n useEffect(() => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.SAVE_DATA(name));\n onNext();\n }\n return () => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n actions.resetSaveDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [saveData.isSuccess, saveData.sectionType]);\n\n useEffect(() => {\n if (updateData.isUpdated && updateData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.UPDATE_MAKER_REQUEST_SUCCESS(name));\n onNext();\n }\n return () => {\n if (\n updateData.isUpdated &&\n updateData.sectionType === sectionType\n ) {\n actions.resetUpdateDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateData.isUpdated, updateData.sectionType]);\n\n const errorDetails = isEditMode ? updateData : saveData;\n\n return (\n \n
    \n

    Pricing/Surcharge

    \n {errorDetails.error && errorDetails.error.errorMessage ? (\n \n {errorDetails.error.errorMessage}\n \n ) : null}\n
    \n {surchargeOptions.sections &&\n // eslint-disable-next-line array-callback-return\n surchargeOptions.sections.map((section, index) => {\n if (surchargeOptions.slabs[section].length > 0) {\n return (\n <>\n \n {section.length <= 3\n ? section\n .split('-')\n .join(' ')\n .toUpperCase()\n : section\n .split('-')\n .join(' ')}\n \n }\n lowerComponent={\n {\n return {\n label: category,\n value: category,\n };\n }\n )}\n isViewMode={isViewMode}\n />\n }\n />\n \n );\n }\n })}\n
    \n
    \n
    \n \n \n
    \n \n );\n};\n\nconst AccLowerComponent = ({\n sectionData,\n sectionName,\n isViewMode,\n bankOptions,\n schemeOptions,\n walletOptions,\n cardCategoriesOptions,\n}) => {\n const isNetBanking =\n sectionName === 'Net-Banking' ||\n sectionName === 'Wallets' ||\n sectionName === 'AccountVerification' ||\n sectionName === 'emi';\n\n const isUPI = sectionName === 'UPI';\n\n let renderComponent = CardSurcharge;\n\n if (isNetBanking) {\n renderComponent = NBSurcharge;\n } else if (isUPI) {\n renderComponent = UPISurcharge;\n }\n\n console.log(cardCategoriesOptions, \"cardCategoriesOptions\")\n\n return (\n \n );\n};\n\nSurchargeTab.propTypes = {\n data: PropTypes.object.isRequired,\n handleSubmit: PropTypes.func,\n history: PropTypes.object,\n nextPath: PropTypes.string,\n previousPath: PropTypes.string,\n merchantData: PropTypes.object,\n actions: PropTypes.object,\n sectionType: PropTypes.string,\n name: PropTypes.string,\n isEditMode: PropTypes.bool,\n isViewMode: PropTypes.bool,\n editData: PropTypes.object,\n staticData: PropTypes.object,\n auth: PropTypes.object,\n};\n\nAccLowerComponent.propTypes = {\n sectionName: PropTypes.string,\n sectionData: PropTypes.object,\n bankOptions: PropTypes.object,\n schemeOptions: PropTypes.object,\n cardCategoriesOptions: PropTypes.array,\n isViewMode: PropTypes.bool,\n walletOptions: PropTypes.array,\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n merchantData,\n editData,\n staticData,\n}) => ({\n auth,\n form,\n merchantData,\n editData,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n saveAndContinueRequest,\n submitStepFormRequest,\n resetSaveDataSuccessKey,\n updateSurchargeDataRequest,\n addMerchantStepUpdateMakerRequest,\n fetchSurchargeDetailsRequest,\n resetUpdateDataSuccessKey,\n fetchSurchargeSlabsRequest,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'surcharge-form',\n validate,\n enableReinitialize: true,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(SurchargeTab)\n);\n","import SurchargeTab from './SurchargeTab';\n\nexport default SurchargeTab;\n","import { validators } from '../../utils/validators';\n\nconst validate = (values, props) => {\n const errors = {};\n if (\n (!values.emailList || !values.emailList.length) &&\n (!values.registeredEmail || !values.registeredEmail.length)\n ) {\n errors.commonErrors = 'Please enter at-least one email ID';\n props.stopSubmit('notification-form', errors);\n } else {\n const emailListErrors = [];\n values.emailList.forEach((email, emailIndex) => {\n if (!email || !email.length) {\n emailListErrors[emailIndex] =\n 'Please enter an email or remove this field';\n } else {\n if (validators.EMAIL(email)) {\n emailListErrors[emailIndex] =\n 'Please enter a valid email id';\n }\n }\n });\n\n errors.emailList = emailListErrors;\n }\n\n if (!values.mobileList || !values.mobileList.length) {\n } else {\n const mobileListErrors = [];\n values.mobileList.forEach((mobile, mobileIndex) => {\n if (!mobile || !mobile.length) {\n mobileListErrors[mobileIndex] =\n 'Please enter a phone number or remove this field';\n } else {\n if (validators.PHONE_NUMBER(mobile)) {\n mobileListErrors[mobileIndex] =\n 'Please enter a valid phone number';\n }\n }\n });\n\n errors.mobileList = mobileListErrors;\n }\n\n if (!values.multipleEmails || !values.multipleEmails.length) {\n } else {\n const multipleEmailsErrors = [];\n\n values.multipleEmails.forEach((emailDetails, emailDetailsIndex) => {\n if (!emailDetails || !emailDetails.emailId) {\n multipleEmailsErrors[emailDetailsIndex] = {\n emailId: 'Please enter atleast one email ID',\n };\n } else {\n if (validators.EMAIL(emailDetails.emailId)) {\n multipleEmailsErrors[emailDetailsIndex] = {\n emailId: 'Please enter a valid email Address',\n };\n } else if (\n !emailDetails?.config ||\n !emailDetails?.config.length\n ) {\n multipleEmailsErrors[emailDetailsIndex] = {\n config: 'Please select atleast one configuration',\n };\n }\n }\n });\n\n errors.multipleEmails = multipleEmailsErrors;\n }\n\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable max-lines-per-function */\n// helpers\nimport { filterNotFillSection } from '../../utils/helperMethods';\n\n// Components\nimport { FormElems, Alert, AlertModal } from '../../components/';\n\n// Actions\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport {\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n submitFormRequest,\n submitFormError,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\nimport {\n updateSectionDataRequest,\n addMerchantStepUpdateMakerRequest,\n resetUpdateDataSuccessKey,\n getMerchantSectionInfoRequest,\n updateSectionDataError,\n} from '../../containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\n\n// Constants\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\n\n// Libraries\nimport validate from './validator';\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { reduxForm, Field, FieldArray, change } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { withRouter } from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport { last, isEmpty } from 'lodash';\n\n// Component\n\n// Validator\n\n// Styles\nimport './notificationTab.scss';\nimport { MAKER_CHECKER_EVENT_TYPES } from 'utils/constants/commonValues';\n\nconst getRegisteredMail = values => {\n if (Array.isArray(values) && values[0] === '' && values[1]) {\n return [values[1]];\n } else if (Array.isArray(values) && values[0] === '') {\n return [];\n } else if (Array.isArray(values) && values[0]) {\n return [values[0]];\n }\n return !isEmpty(values) && [values];\n};\n\nconst NotificationTab = ({\n merchantData,\n actions,\n auth,\n sectionType,\n nextPath,\n previousPath,\n history,\n handleSubmit,\n initialValues,\n isEditMode,\n isViewMode,\n editData,\n draftData,\n formData,\n onBoardSteps,\n}) => {\n const {\n saveData,\n submitData,\n uniqueIdentifier: { uniqueId },\n timeline: { fields },\n } = merchantData;\n const data = draftData ? draftData.data : {};\n const { updateData } = editData;\n const { location } = history;\n const [isShowModal, setIsShowModal] = useState(false);\n const [isAdditionalEmailEnabled, setIsAdditionalEmailEnabled] = useState(\n false\n );\n\n const uniqueIdMail = data.registeredEmail || uniqueId;\n\n const resetErrors = () => {\n if (isEditMode) {\n actions.resetUpdateDataSuccessKey();\n } else {\n actions.resetSaveDataSuccessKey();\n }\n };\n useEffect(() => {\n resetErrors();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n actions.getMerchantSectionInfoRequest(\n merchantId,\n fields,\n 'notificationSection'\n );\n }\n }, [actions, fields, isEditMode, isViewMode, location.pathname]);\n\n useEffect(() => {\n const finalEmailData = [];\n\n if ((isEditMode || isViewMode) && initialValues.multipleEmails) {\n initialValues.multipleEmails.forEach(emailData => {\n const config = [];\n if (emailData.isMSR) {\n config.push('MSR');\n }\n if (emailData.isMTR) {\n config.push('MTR');\n }\n finalEmailData.push({ emailId: emailData.emailId, config });\n });\n actions.change(\n 'notification-form',\n 'multipleEmails',\n finalEmailData\n );\n if (finalEmailData && finalEmailData.length > 0) {\n setIsAdditionalEmailEnabled(true);\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [initialValues?.multipleEmails, isEditMode, isViewMode]);\n\n useEffect(() => {\n const portalValue = formData.values.multipleEmails;\n const finalEmailData = [];\n\n if (portalValue && portalValue.length) {\n portalValue.forEach(emailData => {\n let isMSR = false;\n let isMTR = false;\n if (emailData) {\n if (\n Array.isArray(emailData.config) &&\n emailData.config.includes('MSR')\n ) {\n isMSR = true;\n }\n\n if (\n Array.isArray(emailData.config) &&\n emailData.config.includes('MTR')\n ) {\n isMTR = true;\n }\n finalEmailData.push({\n emailId: emailData.emailId,\n isMSR,\n isMTR,\n });\n }\n });\n\n actions.change(\n 'notification-form',\n 'notificationEmailList',\n finalEmailData\n );\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [formData.values.multipleEmails]);\n\n useEffect(() => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n const request = {\n uniqueIdentifier: uniqueId,\n userId: auth.userDetails.email,\n };\n const isAllFieldComplete = onBoardSteps\n .filter(item => item.sectionType !== sectionType)\n .every(item => item.status === 'Complete');\n\n if (!isAllFieldComplete) {\n setIsShowModal(true);\n } else {\n toast.info(SUCCESS_MESSAGES.CREATE_ENTITY('Merchant'));\n onNext();\n\n // actions.addBDOnboardingMakerRequest(makerRequest);\n }\n }\n return () => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n actions.resetSaveDataSuccessKey();\n actions.submitFormError({ error: {} });\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [saveData.isSuccess, saveData.sectionType]);\n\n useEffect(() => {\n if (updateData.isUpdated && updateData.sectionType === sectionType) {\n toast.info(\n SUCCESS_MESSAGES.UPDATE_MAKER_REQUEST_SUCCESS('Notification')\n );\n onNext();\n actions.resetUpdateDataSuccessKey();\n }\n return () => {\n if (\n updateData.isSuccess &&\n updateData.sectionType === sectionType\n ) {\n actions.resetUpdateDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateData.isUpdated, updateData.sectionType]);\n\n const handleFormSubmit = values => {\n const multipleEmails =\n isAdditionalEmailEnabled && values?.notificationEmailList\n ? values?.notificationEmailList\n : [];\n const registeredEmail = getRegisteredMail(values.registeredEmail) || [];\n const request = {\n uniqueIdentifier: uniqueIdMail,\n sectionType,\n data: {\n emailList: [...values.emailList, ...registeredEmail],\n mobileList: values.mobileList,\n multipleEmails,\n },\n };\n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n let emailList = [];\n if (\n registeredEmail.length > 0 &&\n values.emailList.includes(uniqueIdMail)\n ) {\n emailList = [...values.emailList];\n } else {\n emailList = [...values.emailList, ...registeredEmail];\n }\n if (registeredEmail && registeredEmail.length === 0) {\n const indexOfUniqueId = emailList.indexOf(uniqueIdMail);\n if (indexOfUniqueId > -1) {\n emailList.splice(indexOfUniqueId, 1);\n }\n }\n const updateRequest = {\n configurationType: 'NOTIFICATION',\n entityCode: merchantId || '',\n merchantConfig: {\n notificationData: {\n emailList,\n mobileList: values.mobileList,\n multipleEmails,\n },\n },\n };\n const makerDetails = {\n makerId: auth.userDetails.email || '',\n idempotencyId: merchantId,\n eventType: MAKER_CHECKER_EVENT_TYPES.NOTIFICATION,\n };\n const isAllFieldComplete = onBoardSteps\n .filter(item => item.sectionType !== sectionType)\n .every(item => item.status === 'Complete');\n\n if (!isAllFieldComplete) {\n setIsShowModal(true);\n } else {\n actions.addMerchantStepUpdateMakerRequest(\n updateRequest,\n sectionType,\n makerDetails\n );\n }\n } else if (isViewMode) {\n onNext();\n } else {\n const makerDetails = {\n makerId: auth.userDetails.email || '',\n idempotencyId: uniqueId,\n eventType: MAKER_CHECKER_EVENT_TYPES.ONBOARDING,\n };\n actions.saveAndContinueRequest(request, sectionType, makerDetails);\n }\n };\n\n const onCloseModal = () => {\n setIsShowModal(false);\n };\n\n const onNext = () => {\n history.push('/mob');\n };\n\n const onBack = () => {\n resetErrors();\n history.push(previousPath);\n };\n\n const resetFormErrors = () => {\n actions.updateSectionDataError({ error: {} });\n };\n\n const errorDetails = isEditMode ? updateData : saveData;\n const formError = formData.syncErrors && formData.syncErrors.commonErrors;\n\n const notFillSectionName = filterNotFillSection(onBoardSteps, sectionType);\n return (\n \n
    \n

    Notification

    \n \n\n {errorDetails.error && errorDetails.error.errorMessage ? (\n \n {errorDetails.error.errorMessage}\n \n ) : null}\n {formError ? (\n {formError}\n ) : null}\n
    \n \n \n
    \n
    \n\n
    \n

    \n Multiple Email Notification\n \n \n \n

    \n {isAdditionalEmailEnabled ? (\n
    \n \n
    \n ) : (\n <>\n )}\n
    \n\n
    \n \n \n
    \n \n );\n};\n\nconst renderEmails = ({\n fields,\n meta: { error, submitFailed },\n uniqueId,\n isViewMode,\n emailList,\n}) => {\n const emailChecks = [\n {\n label: '',\n value: uniqueId,\n checked: emailList.includes(uniqueId),\n },\n ];\n const formFields = fields.getAll();\n return (\n
    \n
    \n Email Notification\n {!isViewMode && (\n {\n if (\n formFields.filter(field => field !== uniqueId)\n .length < 3\n ) {\n fields.push();\n }\n }}\n title=\"You can only add a maximum of 3 emails\"\n />\n )}\n
    \n
    \n

    Registered Email ID

    \n
    \n

    {uniqueId}

    \n
    \n \n
    \n
    \n {fields.map((email, index) => (\n <>\n {formFields[index] !== uniqueId && (\n
    \n
    \n

    \n Other Email ID\n {/* {formFields.includes(uniqueId)\n ? formFields[index] !== undefined\n ? otherEmails.indexOf(\n formFields[index]\n ) + 1\n : index + 1\n : index + 1}{' '} */}\n {/* {formFields[index] !== undefined\n ? otherEmails.indexOf(\n formFields[index]\n ) + 1\n : index + 1}{' '}\n {formFields[index] !== undefined\n ? 'some'\n : 'notsome'} */}\n

    \n \n
    \n {!isViewMode && (\n fields.remove(index)}\n />\n )}\n
    \n )}\n \n ))}\n
    \n
    \n );\n};\n\nconst renderMobiles = ({\n fields,\n meta: { error, submitFailed },\n auth,\n isViewMode,\n}) => (\n
    \n
    \n SMS Notification\n {!isViewMode && (\n {\n if (fields.length < 3) {\n fields.push();\n }\n }}\n title=\"You can only add a maximum of 3 numbers\"\n />\n )}\n
    \n
    \n {fields.map((mobile, index) => (\n
    \n
    \n

    Mobile Number

    \n \n
    \n {!isViewMode && (\n fields.remove(index)}\n />\n )}\n
    \n ))}\n
    \n
    \n);\n\nconst renderMultipleEmails = ({ fields, isViewMode }) => {\n const checkboxOptions = [\n {\n label: 'MSR',\n value: 'MSR',\n checked: false,\n },\n {\n label: 'MTR',\n value: 'MTR',\n checked: false,\n },\n ];\n\n if (fields.length <= 0) {\n fields.push({});\n }\n\n return (\n <>\n {fields && fields.length ? (\n <>\n {fields.map((field, index) => {\n return (\n
    \n
    \n
    \n

    Alternate Email ID

    \n \n
    \n
    \n \n
    \n\n
    \n

    \n {fields.length > 1 ? (\n \n fields.remove(index)\n }\n disabled={isViewMode}\n />\n ) : (\n <>\n )}\n

    \n
    \n
    \n );\n })}\n \n ) : (\n <>\n )}\n
    \n {fields.length < 3 ? (\n {\n fields.push();\n }}\n disabled={isViewMode}\n />\n ) : (\n <>\n )}\n
    \n \n );\n};\n\nrenderMultipleEmails.propTypes = {\n fields: PropTypes.object,\n meta: PropTypes.object,\n auth: PropTypes.object,\n uniqueId: PropTypes.object,\n isViewMode: PropTypes.bool,\n};\n\nrenderMobiles.propTypes = {\n fields: PropTypes.object,\n meta: PropTypes.object,\n auth: PropTypes.object,\n uniqueId: PropTypes.object,\n};\n\nrenderEmails.propTypes = {\n fields: PropTypes.object,\n meta: PropTypes.object,\n auth: PropTypes.object,\n uniqueId: PropTypes.object,\n};\n\nNotificationTab.propTypes = {\n data: PropTypes.object.isRequired,\n handleSubmit: PropTypes.func,\n history: PropTypes.object,\n nextPath: PropTypes.string,\n previousPath: PropTypes.string,\n merchantData: PropTypes.object,\n actions: PropTypes.object,\n auth: PropTypes.object,\n sectionType: PropTypes.string,\n initialValues: PropTypes.object,\n isEditMode: PropTypes.bool,\n isViewMode: PropTypes.bool,\n editData: PropTypes.object,\n formData: PropTypes.object,\n draftData: PropTypes.object,\n onBoardSteps: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, form, merchantData, editData }) => ({\n auth,\n formData: form['notification-form'],\n merchantData,\n editData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n updateSectionDataRequest,\n addMerchantStepUpdateMakerRequest,\n resetUpdateDataSuccessKey,\n submitFormRequest,\n submitFormError,\n getMerchantSectionInfoRequest,\n updateSectionDataError,\n change,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'notification-form',\n enableReinitialize: true,\n validate,\n }),\n\n connect(mapStateToProps, mapDispatchToProps)\n )(NotificationTab)\n);\n","import NotificationTab from './NotificationTab';\n\nexport default NotificationTab;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport Select from 'react-select';\nimport styled from 'styled-components';\n\n// Styles\nimport './customSelect.scss';\n\n/**\n * CustomSelect Component\n *\n * @param {Object} props - React component props\n */\nconst customStyles = {\n option: (provided, state) => ({\n ...provided,\n backgroundColor: state.isSelected ? '#fff' : '#fff',\n border: 0,\n padding: 15,\n }),\n control: () => ({\n // none of react-select's styles are passed to \n display: 'flex',\n border: 0,\n }),\n\n menu: () => ({\n borderTop: '1px solid rgba(151, 151, 151, 0.13)',\n boxShadow: 'none',\n }),\n};\n\nconst Spinner = styled.div`\n display: inline-block;\n`;\n\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n`;\n\nconst CustomSelect = props => {\n const {\n customClass,\n isMulti,\n isSearchable,\n isDisabled,\n autoFocus,\n onChange,\n options,\n menuIsOpen,\n placeholder,\n value,\n components,\n closeMenuOnSelect,\n formatGroupLabel,\n meta,\n selectProps,\n id,\n isLoading,\n onInputChange = () => { },\n } = props;\n // eslint-disable-next-line no-warning-comments\n // TODO remove this slice later and implement search because large data is causing performance issue\n return (\n <>\n
    \n \n {isLoading ? (\n \n
    \n \n ) : null}\n
    \n {meta && meta.touched && meta.error && (\n \n {meta.error}\n \n )}\n \n );\n};\n\nCustomSelect.propTypes = {\n autoFocus: PropTypes.bool,\n closeMenuOnSelect: PropTypes.bool,\n components: PropTypes.node,\n customClass: PropTypes.string,\n formatGroupLabel: PropTypes.func,\n isDisabled: PropTypes.bool,\n isMulti: PropTypes.bool,\n isSearchable: PropTypes.bool,\n onChange: PropTypes.func,\n options: PropTypes.array,\n placeholder: PropTypes.string,\n menuIsOpen: PropTypes.bool,\n meta: PropTypes.object,\n selectProps: PropTypes.object,\n id: PropTypes.string,\n isLoading: PropTypes.bool,\n value: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),\n onInputChange: PropTypes.func,\n};\n\nexport default CustomSelect;\n","import CustomSelect from './CustomSelect';\n\nexport default CustomSelect;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Field } from 'redux-form';\n\n// Componets\n\nimport { FormElems } from '..';\n\n// Styles\nimport './netBankCard.scss';\n\n/**\n * NetBankCard Component\n *\n * @param {Object} props - React component props\n */\nconst NetBankCard = props => {\n const { customClass, data } = props;\n return (\n \n {data.map(bankValues => {\n const {\n percentageDetail,\n flatDetail,\n taxDetails,\n criteriaDetails,\n bankDetails,\n } = bankValues;\n return (\n
  • \n
    \n
    \n

    {bankDetails.label}

    \n \n
    \n
    \n

    \n {percentageDetail.label}\n

    \n \n
    \n
    \n

    {flatDetail.label}

    \n \n
    \n
    \n

    {criteriaDetails.label}

    \n \n
    \n
    \n

    {taxDetails.label}

    \n \n
    \n
    \n \n
    \n
    \n
  • \n );\n })}\n \n );\n};\n\nNetBankCard.propTypes = {\n /* String to add custom class in accordion */\n customClass: PropTypes.string,\n /* Array of object for all data to render slab card Ui*/\n data: PropTypes.array,\n};\n\nexport default NetBankCard;\n","// Libraries\nimport LeftArrow from '../../static/images/left-arrow.png';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link, withRouter } from 'react-router-dom';\n\n// Assets\n\n// Styles\nimport './breadCrumb.scss';\n\n/**\n * BreadCrumb Component\n *\n * @param {Object} data - Data for render\n * @param {String} title - title of component\n * @param {Function} onBackClick - Action on back click\n * @param {Function} onLinkClick - Action on link click\n * @param {Boolean} withBack - true will show back button\n * @param {String} wrapperClass - Wrapper Class\n */\n\nconst BreadCrumb = ({\n title,\n breadCrumbs,\n onBackClick,\n withBack,\n wrapperClass = '',\n}) => (\n
    \n {withBack ? (\n \n ) : null}\n
    \n {title}\n
      \n {breadCrumbs.map(item => (\n
    • \n {item.link !== '' ? (\n {item.name}\n ) : (\n {item.name}\n )}\n
    • \n ))}\n
    \n
    \n
    \n);\n\nBreadCrumb.propTypes = {\n actionType: PropTypes.string,\n breadCrumbs: PropTypes.array,\n history: PropTypes.object,\n onBackClick: PropTypes.func,\n title: PropTypes.string,\n withBack: PropTypes.bool,\n wrapperClass: PropTypes.string,\n};\n\nexport default withRouter(BreadCrumb);\n","import BreadCrumb from './BreadCrumb';\n\nexport default BreadCrumb;\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED, EMAIL } = validators;\n const errors = {};\n if (REQUIRED(values.email)) {\n errors.email = 'Please enter your email address';\n }\n if (EMAIL(values.email)) {\n errors.email = 'Please enter a valid email address';\n }\n if (REQUIRED(values.name)) {\n errors.name = 'Please enter a name';\n }\n if (values.name && values.name.length < 3) {\n errors.name = 'Must be 3 characters or more';\n }\n if (REQUIRED(values.roleId)) {\n errors.roleId = 'Please select a role';\n }\n if (REQUIRED(values.userRole)) {\n errors.userRole = 'Please select a role';\n }\n if (!values.remarks) {\n errors.remarks = 'Please enter your comment';\n }\n if (values.remarks && values.remarks.length > 300) {\n errors.remarks = 'Cannot be more than 300 characters';\n }\n if (REQUIRED(values.entityType)) {\n errors.entityType = 'Please select a User Level';\n }\n if (REQUIRED(values.entityId)) {\n errors.entityId = 'Please select a Entity';\n }\n\n if(values.uLevel && !values.supervisor){\n errors.supervisor = 'Please select a supervisor'\n }\n\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable complexity */\n/* eslint-disable indent */\n/* eslint-disable no-nested-ternary */\n/* eslint-disable max-lines-per-function */\n// Libraries\nimport { FormElems, Alert, ConditionalComponent } from '../';\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport {\n fetchEntityRequest,\n updateUserRequest,\n updateAdminUserRequest,\n updateUserReset,\n createUserReset,\n fetchSystemUsersRequest,\n} from '../../containers/UserManagement/redux/userManagement.actions';\nimport {\n getUserStatus,\n getUserLevel,\n getStatusMap,\n nameValueOptions,\n} from '../../utils/helperMethods';\nimport { USER_MANAGEMENT_MSG } from '../../utils/constants/toastMessages';\nimport {\n ENTITY_TYPE,\n EXCLUDED_ENTITY_USER_LEVELS,\n MAX_USER_FETCH_COUNT_USER_MANAGEMENT,\n USER_LEVEL_ENUM,\n} from '../../utils/constants/commonValues';\nimport validate from './validator';\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport moment from 'moment';\n\n// Components\n\n// Actions\n\n// Constants\n\n// Validator\n\n// Styles\nimport './userEditViewForm.scss';\n\nconst UserEditViewForm = props => {\n const {\n closePopup,\n handleSubmit,\n actionType,\n actions,\n data,\n handleOpenActionPopup,\n userManagementData,\n formData,\n change,\n initialValues,\n } = props;\n const {\n userRoles,\n entityList,\n updateUser,\n systemUserList,\n } = userManagementData;\n\n const entityType =\n formData &&\n formData.values &&\n formData.values.userLevel &&\n formData.values.userLevel.toUpperCase();\n const status =\n formData && formData.values && getStatusMap(formData.values.userStatus);\n const uLevel = formData && formData.values && formData.values.uLevel;\n\n useEffect(() => {\n if (entityType && entityType !== 'ADMIN') {\n actions.fetchEntityRequest({\n entityType,\n });\n }\n\n if (\n entityType &&\n uLevel &&\n EXCLUDED_ENTITY_USER_LEVELS.includes(entityType)\n ) {\n if (uLevel !== 'L3') {\n actions.fetchSystemUsersRequest({\n page: 1,\n resultPerPage: MAX_USER_FETCH_COUNT_USER_MANAGEMENT,\n userFilter: {\n level: uLevel === 'L2' ? 'L3' : 'L2',\n },\n });\n }\n }\n }, [entityType, actions, uLevel]);\n\n const onCancel = event => {\n event.preventDefault();\n closePopup();\n };\n\n const onEdit = event => {\n event.preventDefault();\n handleOpenActionPopup('edit');\n };\n\n useEffect(() => {\n if (updateUser.isSuccess) {\n closePopup(true);\n toast.info(USER_MANAGEMENT_MSG.USER_UPDATE);\n }\n }, [closePopup, updateUser.isSuccess]);\n\n function handleFormSubmit(values) {\n const entityValue = entityList.find(\n entity => entity.value === values.entityId\n );\n\n const entityName = entityValue && entityValue.name;\n\n const request = {\n ...values,\n entityName,\n };\n\n if (\n !request.entityName &&\n EXCLUDED_ENTITY_USER_LEVELS.includes(entityType)\n ) {\n request.entityName = request.entityId;\n }\n\n if (values.userLevel && values.userLevel === 'ADMIN') {\n actions.updateAdminUserRequest(request);\n } else {\n actions.updateUserRequest(request);\n }\n }\n\n useEffect(() => {\n // reset error message on unmount\n return () => {\n actions.updateUserReset();\n actions.createUserReset();\n };\n }, [actions]);\n\n const resetForm = () => {\n actions.updateUserReset();\n };\n\n const isFormReadOnly = actionType === 'view';\n const userLevelOption = getUserLevel(entityType);\n const userStatusOption = getUserStatus(data);\n\n return (\n \n {isFormReadOnly ? (\n <>\n
    \n

    Status

    \n \n {data.userStatus}\n
    \n
    \n {data.lastUpdatedByName && (\n <>\n Last Edit :{' '}\n {data.lastUpdatedByName}, \n {moment(data.lastUpdatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(\n data.lastUpdatedDate,\n 'DD/MM/YYYY'\n )\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.lastUpdatedDate}\n \n )}\n {!data.lastUpdatedByName && (\n <>\n Created By :\n {data.userCreatedByName}, \n {moment(data.userCreatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(\n data.userCreatedDate,\n 'DD/MM/YYYY'\n )\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.userCreatedDate}\n \n )}\n
    \n
    \n
    \n \n

    Email ID

    \n

    {data.email}

    \n
    \n
    \n

    Role

    \n

    {data.userRoleName}

    \n
    \n \n
    \n
    \n

    User Type

    \n

    {data.userLevel}

    \n
    \n
    \n

    User Level

    \n

    {data.level}

    \n
    \n
    \n
    \n
    \n

    Supervisor's Email

    \n

    {data.supervisor}

    \n
    \n
    \n
    \n
    \n

    {data.userLevel}

    \n \n {data.entityName}\n
    \n
    \n \n
    \n

    Comment

    \n

    {data.comment || '-'}

    \n
    \n \n ) : (\n <>\n
    \n
    \n

    Email ID

    \n {/* */}\n

    {data.email}

    \n
    \n
    \n
    \n \n

    Name

    \n \n
    \n
    \n

    Role

    \n \n
    \n \n
    \n

    Status

    \n \n\n \n
    \n
    \n
    \n

    Select User Type

    \n \n
    \n
    \n \n
    \n
    \n

    Select User Level

    \n {\n change('supervisor', '');\n }}\n valueField=\"value\"\n labelField=\"name\"\n component={FormElems.Radio}\n />\n
    \n
    \n \n
    \n
    \n

    Select Supervisor

    \n \n item.value !==\n formData.values.userId\n )}\n label={`Select Supervisor`}\n labelField=\"name\"\n valueField=\"value\"\n component={FormElems.Select}\n placeholder=\"Enter Email ID\"\n />\n
    \n
    \n \n \n {entityType && entityType !== 'ADMIN' ? (\n
    \n
    \n

    \n {ENTITY_TYPE[entityType]}\n

    \n \n
    \n
    \n ) : null}\n \n )}\n {updateUser.message ? {updateUser.message} : null}\n
    \n \n {isFormReadOnly ? (\n \n ) : (\n \n )}\n
    \n \n );\n};\n\nconst mapStateToProps = ({ auth, userManagementData, form }) => ({\n auth,\n userManagementData,\n formData: form['user-view-edit'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n fetchEntityRequest,\n updateUserRequest,\n updateAdminUserRequest,\n updateUserReset,\n createUserReset,\n fetchSystemUsersRequest,\n change,\n },\n dispatch\n ),\n});\n\nUserEditViewForm.propTypes = {\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n actionType: PropTypes.string,\n data: PropTypes.object,\n handleOpenActionPopup: PropTypes.func,\n userManagementData: PropTypes.object,\n actions: PropTypes.object,\n formData: PropTypes.object,\n change: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'user-view-edit',\n enableReinitialize: true,\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(UserEditViewForm);\n","import UserEditViewForm from './UserEditViewForm';\n\nexport default UserEditViewForm;\n","const FETCH_ROLE_CHECKER_REQUEST = 'FETCH_ROLE_CHECKER_REQUEST';\nconst FETCH_ROLE_CHECKER_SUCCESS = 'FETCH_ROLE_CHECKER_SUCCESS';\nconst FETCH_ROLE_CHECKER_ERROR = 'FETCH_ROLE_CHECKER_ERROR';\nconst HIDE_ROLE_CHECKER_LOADER = 'HIDE_ROLE_CHECKER_LOADER';\nconst SHOW_ROLE_CHECKER_LOADER = 'SHOW_ROLE_CHECKER_LOADER';\n\n// Update Intent Actions\nconst UPDATE_INTENT_REQUEST = 'UPDATE_INTENT_REQUEST';\nconst UPDATE_INTENT_SUCCESS = 'UPDATE_INTENT_SUCCESS';\nconst UPDATE_INTENT_ERROR = 'UPDATE_INTENT_ERROR';\n\nexport {\n FETCH_ROLE_CHECKER_REQUEST,\n FETCH_ROLE_CHECKER_SUCCESS,\n FETCH_ROLE_CHECKER_ERROR,\n HIDE_ROLE_CHECKER_LOADER,\n SHOW_ROLE_CHECKER_LOADER,\n UPDATE_INTENT_REQUEST,\n UPDATE_INTENT_SUCCESS,\n UPDATE_INTENT_ERROR,\n};\n","import {\n FETCH_ROLE_CHECKER_REQUEST,\n FETCH_ROLE_CHECKER_SUCCESS,\n FETCH_ROLE_CHECKER_ERROR,\n HIDE_ROLE_CHECKER_LOADER,\n SHOW_ROLE_CHECKER_LOADER,\n UPDATE_INTENT_REQUEST,\n UPDATE_INTENT_SUCCESS,\n UPDATE_INTENT_ERROR,\n} from './roleVerification.constants';\n\nexport const fetchRoleCheckerRequest = payload => ({\n type: FETCH_ROLE_CHECKER_REQUEST,\n payload,\n});\n\nexport const fetchRoleCheckerSuccess = payload => ({\n type: FETCH_ROLE_CHECKER_SUCCESS,\n payload,\n});\n\nexport const fetchRoleCheckerError = payload => ({\n type: FETCH_ROLE_CHECKER_ERROR,\n payload,\n});\n\n// Intent Role\nexport const updateIntentRequest = payload => ({\n type: UPDATE_INTENT_REQUEST,\n payload,\n});\n\nexport const updateIntentSuccess = payload => ({\n type: UPDATE_INTENT_SUCCESS,\n payload,\n});\n\nexport const updateIntentError = payload => ({\n type: UPDATE_INTENT_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_ROLE_CHECKER_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_ROLE_CHECKER_LOADER });\n","const validate = values => {\n const errors = {};\n if (!values.comment) {\n errors.comment = 'Please enter your comment';\n }\n if (values.comment && values.comment.length > 300) {\n errors.comment = 'Cannot be more than 300 characters';\n }\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable no-nested-ternary */\n/* eslint-disable indent */\n/* eslint-disable complexity */\n// Libraries\nimport { FormElems, Alert } from '../';\nimport {\n updateIntentRequest,\n updateIntentError,\n} from '../../containers/RoleVerification/redux/roleVerification.actions';\nimport { VERIFICATION_MESSAGE } from '../../utils/constants/toastMessages';\nimport { INPROCESS } from '../../components/Table/table.constants';\nimport { getIntent } from '../../utils/helperMethods';\nimport validate from './validator';\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport moment from 'moment';\n\n// Components\n\n// Actions\n\n// Validator\n\n// Styles\nimport './userVerificationForm.scss';\n\nconst UserVerificationForm = props => {\n const {\n actions,\n handleSubmit,\n closePopup,\n data,\n roleStatus,\n roleVerificationData,\n } = props;\n\n const { updateIntent } = roleVerificationData;\n\n const isInProcess = roleStatus === INPROCESS;\n\n useEffect(() => {\n if (updateIntent.isSuccess) {\n closePopup(true);\n toast.info(VERIFICATION_MESSAGE.STATUS_UPDATE);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateIntent.isSuccess]);\n\n useEffect(() => {\n return () => {\n actions.updateIntentError({ error: {}, isSuccess: false });\n };\n }, [actions]);\n\n const handleFormSubmit = values => {\n if (values.userAction === 'approve') {\n actions.updateIntentRequest({\n requestId: data.requestId,\n comment: values.comment,\n action: 'APPROVED',\n });\n }\n\n if (values.userAction === 'reject') {\n actions.updateIntentRequest({\n requestId: data.requestId,\n comment: values.comment,\n action: 'REJECTED',\n });\n }\n };\n\n return (\n
    \n
    \n
    \n

    Status

    \n
    \n {/* {data.userUpdatedByName && (\n <>\n Last Edit :{' '}\n {data.userUpdatedByName},{' '}\n {moment(data.userCreatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(data.userCreatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.userCreatedDate}\n \n )} */}\n {data.userCreatedUpdate && (\n <>\n {getIntent(data.lastActions)}{' '}\n {data.userCreatedUpdate},{' '}\n {moment(data.userCreatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(data.userCreatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.userCreatedDate}\n \n )}\n
    \n {data.userStatus ? (\n
    \n \n {data.userStatus}\n \n {data.userStatusOld &&\n data.userStatus !== data.userStatusOld ? (\n \n {data.userStatusOld}\n \n ) : null}\n
    \n ) : (\n -\n )}\n
    \n
    \n
    \n
    \n

    Email ID

    \n

    \n {data.email || '-'}\n

    \n
    \n
    \n
    \n
    \n

    Role

    \n

    \n \n {data.userRoleName || '-'}\n \n {data.userRoleNameOld &&\n data.userRoleNameOld !== data.userRoleName ? (\n \n {data.userRoleNameOld}\n \n ) : null}\n

    \n
    \n
    \n

    User Level

    \n

    \n \n {data.userLevel || '-'}\n \n {data.userLevelOld &&\n data.userLevelOld !== data.userLevel ? (\n \n {data.userLevelOld}\n \n ) : null}\n

    \n
    \n
    \n
    \n
    \n

    {data.userLevel}

    \n

    \n {data.entityName}\n {data.entityNameOld &&\n data.entityName !== data.entityNameOld ? (\n \n {data.entityNameOld}\n \n ) : null}\n

    \n
    \n
    \n
    \n

    Comment

    \n {data.checkerComment\n ? data.checkerComment\n : data.makerComment || '-'}\n
    \n {isInProcess ? (\n
    \n

    Comment

    \n \n
    \n ) : null}\n {updateIntent.error && updateIntent.error.errorMessage ? (\n {updateIntent.error.errorMessage}\n ) : null}\n
    \n {isInProcess ? (\n <>\n {\n handleFormSubmit({\n ...values,\n userAction: 'reject',\n });\n })}\n />\n {\n handleFormSubmit({\n ...values,\n userAction: 'approve',\n });\n })}\n />\n \n ) : null}\n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, form, roleVerificationData }) => ({\n auth,\n roleVerificationData,\n formData: form['user-verification'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n updateIntentRequest,\n updateIntentError,\n },\n dispatch\n ),\n});\n\nUserVerificationForm.propTypes = {\n actions: PropTypes.object,\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n data: PropTypes.object,\n roleStatus: PropTypes.string,\n roleVerificationData: PropTypes.object,\n auth: PropTypes.object,\n};\n\nexport default compose(\n reduxForm({\n form: 'user-verification',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(UserVerificationForm);\n","import UserVerificationForm from './UserVerificationForm';\n\nexport default UserVerificationForm;\n","export const INPROCESS = 'Inprocess';\nexport const APPROVED = 'Approved';\nexport const REJECTED = 'Rejected';\nexport const status = {\n ACTIVE: 'Active',\n INACTIVE: 'Inactive',\n};\n","/* eslint-disable no-nested-ternary */\n// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Modal } from '..';\n\n/**\n * AlertModal Component\n *\n */\n\nconst AlertModal = ({\n modalIsOpen,\n closeModal,\n primaryButtonText,\n secondaryButtonText,\n showActions,\n message,\n currentSection,\n onSuccessModal,\n headerText,\n}) => (\n \n
    \n
    \n \n Error Indicator\n \n \n \n \n \n {currentSection ? (\n
    You have made changes in {currentSection.name}
    \n ) : headerText ? (\n
    {headerText}
    \n ) : (\n
    Some sections are in open state
    \n )}\n
    \n

    {message}

    \n
    \n {showActions ? (\n
    \n {primaryButtonText ? (\n \n {primaryButtonText}\n \n ) : null}\n {secondaryButtonText ? (\n \n {secondaryButtonText}\n \n ) : null}\n
    \n ) : null}\n \n);\n\nAlertModal.propTypes = {\n modalIsOpen: PropTypes.bool,\n closeModal: PropTypes.func,\n onSuccessModal: PropTypes.func,\n primaryButtonText: PropTypes.string,\n secondaryButtonText: PropTypes.string,\n showActions: PropTypes.bool,\n message: PropTypes.string,\n currentSection: PropTypes.string,\n headerText: PropTypes.string,\n};\n\nexport default AlertModal;\n","import AlertModal from './AlertModal';\n\nexport default AlertModal;\n","const FETCH_REFUND_REQUEST = 'FETCH_REFUND_REQUEST';\nconst FETCH_REFUND_SUCCESS = 'FETCH_REFUND_SUCCESS';\nconst FETCH_REFUND_ERROR = 'FETCH_REFUND_ERROR';\nconst INITIATE_REFUND_REQUEST = 'INITIATE_REFUND_REQUEST';\nconst INITIATE_REFUND_SUCCESS = 'INITIATE_REFUND_SUCCESS';\nconst INITIATE_REFUND_ERROR = 'INITIATE_REFUND_ERROR';\nconst HIDE_REFUND_LOADER = 'HIDE_REFUND_LOADER';\nconst SHOW_REFUND_LOADER = 'SHOW_REFUND_LOADER';\n\nexport {\n FETCH_REFUND_REQUEST,\n FETCH_REFUND_SUCCESS,\n FETCH_REFUND_ERROR,\n HIDE_REFUND_LOADER,\n SHOW_REFUND_LOADER,\n INITIATE_REFUND_REQUEST,\n INITIATE_REFUND_SUCCESS,\n INITIATE_REFUND_ERROR,\n};\n","import {\n FETCH_REFUND_REQUEST,\n FETCH_REFUND_SUCCESS,\n FETCH_REFUND_ERROR,\n HIDE_REFUND_LOADER,\n SHOW_REFUND_LOADER,\n INITIATE_REFUND_REQUEST,\n INITIATE_REFUND_SUCCESS,\n INITIATE_REFUND_ERROR,\n} from './refund.constants';\n\nexport const fetchRefundRequest = payload => ({\n type: FETCH_REFUND_REQUEST,\n payload,\n});\n\nexport const fetchRefundSuccess = payload => ({\n type: FETCH_REFUND_SUCCESS,\n payload,\n});\n\nexport const fetchRefundError = payload => ({\n type: FETCH_REFUND_ERROR,\n payload,\n});\n\nexport const initiateRefundRequest = payload => ({\n type: INITIATE_REFUND_REQUEST,\n payload,\n});\n\nexport const initiateRefundSuccess = payload => ({\n type: INITIATE_REFUND_SUCCESS,\n payload,\n});\n\nexport const initiateRefundError = payload => ({\n type: INITIATE_REFUND_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_REFUND_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_REFUND_LOADER });\n","import { validators } from '../../utils/validators';\n\nconst validate = (values, props) => {\n const { REQUIRE } = validators;\n const errors = {};\n const isNumber = number => !/^[0-9]+([,.][0-9]{1,2})?$/g.test(number);\n\n if (\n REQUIRE(values.refundAmount) ||\n values.refundAmount <= 0 ||\n isNumber(values.refundAmount)\n ) {\n errors.refundAmount =\n 'Please enter value greater than 0 and up to 2 decimals';\n } else if (Number(values.refundAmount) > Number(props.data.amount)) {\n errors.refundAmount =\n 'Please enter refund amount less than total amount';\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport { FormElems, Alert } from '../';\nimport {\n initiateRefundRequest,\n initiateRefundError,\n} from '../../containers/Refund/redux/refund.actions';\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport { TRANSACTION_TYPE } from '../../utils/constants/commonValues';\nimport validate from './validator';\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\n\n// Components\n\n// Actions\n\n// Validator\n\n// Styles\nimport './refundForm.scss';\n\nconst RefundForm = props => {\n const { actions, closePopup, data, handleSubmit, refundData, auth } = props;\n const { refundStatus } = refundData;\n\n useEffect(() => {\n if (refundStatus.isSuccess) {\n toast.info(SUCCESS_MESSAGES.REFUND(TRANSACTION_TYPE.REFUND));\n closePopup(true);\n }\n return () => {\n if (refundStatus.isSuccess) {\n actions.initiateRefundError({ error: {} });\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [refundStatus.isSuccess]);\n\n useEffect(() => {\n // Reset message\n return () => {\n actions.initiateRefundError({ message: '' });\n };\n }, [actions]);\n\n const handleFormSubmit = values => {\n const refundType =\n values.refundType &&\n values.refundType.length > 0 &&\n values.refundType[0] === 'ONLINE'\n ? 'ONLINE'\n : 'OFFLINE';\n const request = {\n currency: 'INR',\n merchantId: data.merchantId,\n refundAmount: values.refundAmount,\n txnReferenceId: data.transactionReferenceNumber,\n refundType,\n };\n actions.initiateRefundRequest(request);\n };\n\n return (\n
    \n {['MERCHANT', 'MLE'].includes(auth?.userDetails?.userLevel) ? (\n
    \n

    Refund Amount

    \n\n
    \n \n \n
    \n {data.paymentMode === 'UPI' ? (\n
    \n \n
    \n ) : (\n <> \n )}\n {refundStatus.message ? (\n {refundStatus.message}\n ) : null}\n
    \n ) : (\n <>\n )}\n
    Refund Detail
    \n
    \n
    \n

    Amount

    \n

    {data.transactionAmount}

    \n
    \n
    \n

    Customer Name

    \n

    {data.customerName}

    \n
    \n
    \n

    Customer ID

    \n

    {data.customerID}

    \n
    \n
    \n
    \n
    \n

    FCPG TXN ID

    \n

    \n {data.transactionReferenceNumber}\n

    \n
    \n
    \n

    Merchant TXN ID

    \n

    {data.orderId}

    \n
    \n
    \n
    \n
    \n

    RRN

    \n

    {data.rrnArn}

    \n
    \n
    \n

    Date Time

    \n

    {data.transactionDateAndTime}

    \n
    \n
    \n
    \n
    \n

    Payment Mode

    \n

    {data.paymentMode}

    \n
    \n
    \n

    Platform

    \n

    {data.platform}

    \n
    \n
    \n
    \n
    \n

    Card Number

    \n

    {data.maskedCardNumber}

    \n
    \n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, refundData, form }) => ({\n auth,\n refundData,\n formData: form['refund-form'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n initiateRefundRequest,\n initiateRefundError,\n },\n dispatch\n ),\n});\n\nRefundForm.propTypes = {\n actions: PropTypes.object,\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n data: PropTypes.object,\n refundData: PropTypes.object,\n auth: PropTypes.object,\n};\n\nexport default compose(\n reduxForm({\n form: 'refund-form',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(RefundForm);\n","import RefundForm from './RefundForm';\n\nexport default RefundForm;\n","// Libraries\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport styled, { keyframes } from 'styled-components';\n\nconst ripple = keyframes`\n 0% {\n opacity: 1;\n transform: scale(0, 0);\n }\n\n 25% {\n opacity: 0.75;\n transform: scale(25, 25);\n }\n\n 50% {\n opacity: 0.5;\n transform: scale(50, 50);\n }\n\n 75% {\n opacity: 0.25;\n transform: scale(75, 75);\n }\n\n 100% {\n opacity: 0;\n transform: scale(100, 100);\n }\n`;\n\nconst ButtonWrapper = styled.button`\n background-color: #ff7744;\n border-radius: 3px;\n color: #fff;\n cursor: pointer;\n font-size: 14px;\n opacity: ${props => (props.disabled ? '0.5' : '1')};\n overflow: hidden;\n pointer-events: ${props => (props.disabled ? 'none' : 'all')};\n position: relative;\n width: ${props => props.width};\n transition: 0.3s;\n\n &::after {\n background: rgba(255, 255, 255, 0.3);\n border-radius: 100%;\n content: '';\n height: 100%;\n left: 50%;\n opacity: 0;\n position: absolute;\n width: 5%;\n }\n\n &:focus {\n &:not(:active) {\n &::after {\n animation: ${ripple} 0.5s ease-out;\n }\n }\n }\n`;\n\nconst PrimaryButtonWrapper = styled(ButtonWrapper)`\n background: ${props => (props.disabled ? '#bfbdbe' : '#ff7744')};\n border: none;\n border-radius: 4px;\n font-family: 'lato-regular';\n font-size: 14px;\n font-weight: 500;\n height: 45px;\n border: '2px solid #ff7744';\n &:hover {\n background-color: #ff5500; /* Change this to your desired hover color */\n }\n`;\n\nconst SecondaryButtonWrapper = styled(ButtonWrapper)`\n background-color: #fff;\n border: 1px solid #ff7744;\n color: #ff7744;\n height: 45px;\n\n &:hover {\n background-color: #fff1eb;\n }\n`;\n\nconst DraftButtonWrapper = styled(ButtonWrapper)`\n border: 1px solid #cecece;\n height: 45px;\n font-weight: 500;\n color: #ababab;\n background-color: white;\n\n &:hover {\n background-color: #f6f6f6;\n }\n`;\n\nconst RoundedButtonWrapper = styled(ButtonWrapper)`\n background: #ff7744;\n border: none;\n border-radius: 50%;\n height: 52px;\n position: relative;\n width: 52px;\n\n &::before {\n content: '→';\n font-size: 25px;\n left: 25%;\n position: absolute;\n top: 10%;\n }\n`;\n\nconst Button = props => {\n const {\n customClass,\n text,\n handleClick,\n buttonType,\n width,\n type,\n isDisable,\n title,\n id,\n } = props;\n\n function handleButtonClick(values) {\n handleClick && handleClick(values);\n }\n\n return (\n \n {buttonType === 'primary' && (\n \n {text}\n \n )}\n {buttonType === 'secondary' && (\n \n {text}\n \n )}\n {buttonType === 'rounded' && (\n \n {text}\n \n )}\n {buttonType === 'draft' && (\n \n {text}\n \n )}\n \n );\n};\n\nButton.propTypes = {\n buttonType: PropTypes.string,\n customClass: PropTypes.string,\n handleClick: PropTypes.func,\n text: PropTypes.string,\n type: PropTypes.string,\n width: PropTypes.string,\n isDisable: PropTypes.bool,\n title: PropTypes.string,\n id: PropTypes.string,\n};\n\nButton.defaultProps = {\n type: 'submit',\n};\n\nexport default Button;\n","/* eslint-disable */\r\nimport React, { useState, useRef, Fragment } from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport styled from 'styled-components';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst InputContainerWrapper = styled.div`\r\n position: relative;\r\n`;\r\n\r\nconst InputFieldWrapper = styled.div`\r\n border: ${props =>\r\n props.prefixContent || props.postfixContent\r\n ? props.error\r\n ? '1px solid #e3714d'\r\n : '1px solid #d8d8d8'\r\n : ''};\r\n border-radius: ${props => props.borderRadius};\r\n padding-left: ${props => props.prefixPadding};\r\n`;\r\n\r\nconst InputWrapper = styled.input`\r\n background-image: ${props =>\r\n props.prefixIconUrl ? `url(${props.prefixIconUrl}) !important` : ''};\r\n background-position: ${props =>\r\n props.prefixIconUrl\r\n ? `${props.prefixPositionX} ${props.prefixPositionY}`\r\n : ''};\r\n background-repeat: ${props => (props.prefixIconUrl ? 'no-repeat' : '')};\r\n background-size: ${props =>\r\n props.prefixIconUrl\r\n ? `${props.prefixIconWidth} ${props.prefixIconHeight}`\r\n : ''};\r\n border: none;\r\n border: ${props =>\r\n !(props.prefixContent || props.postfixContent)\r\n ? props.error\r\n ? '1px solid #e3714d'\r\n : '1px solid #d8d8d8'\r\n : ''};\r\n font-size: 14px;\r\n height: 36px;\r\n padding-left: ${props => props.prefixPadding};\r\n padding-right: ${props => (props.showSubmitButton ? '55px' : '')};\r\n width: ${props => props.width};\r\n &::-webkit-inner-spin-button,\r\n &::-webkit-outer-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\r\n position: absolute;\r\n right: 0;\r\n height: 100%;\r\n width: 20px;\r\n opacity: 0;\r\n pointer-events: none;\r\n }\r\n &[type='number'] {\r\n -moz-appearance: textfield; /* Firefox */\r\n }\r\n &[type='number']::-webkit-inner-spin-button,\r\n &[type='number']::-webkit-outer-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\r\n }\r\n`;\r\n\r\nconst ErrorWrapper = styled.span`\r\n color: #f00;\r\n display: block;\r\n font-size: 12px;\r\n margin: 8px 0;\r\n /* text-transform: capitalize; */\r\n`;\r\n\r\nconst ShowPasswordWrapper = styled.img`\r\n height: 18px;\r\n position: absolute;\r\n right: 15px;\r\n top: 14px;\r\n width: 18px;\r\n`;\r\n\r\nconst SubmitWrapper = styled.p`\r\n opacity: ${props => (props.showSubmitButton ? '1' : '0')};\r\n position: absolute;\r\n right: ${props => (props.showSubmitButton ? '15px' : '0px')};\r\n top: 14px;\r\n transition: all0.3s ease-out;\r\n`;\r\n\r\nconst RemoveButtonWrapper = styled.p`\r\n position: absolute;\r\n right: 15px;\r\n top: 14px;\r\n`;\r\n\r\nconst InfoElementWrapper = styled.span`\r\n display: block;\r\n font-size: 12px;\r\n margin: 4px 0 0;\r\n`;\r\n\r\nconst PostfixWrapper = styled.span`\r\n display: inline-block;\r\n`;\r\n\r\nconst PrefixWrapper = styled.span`\r\n display: inline-block;\r\n`;\r\n\r\nconst Input = props => {\r\n const {\r\n id,\r\n prefixContent = '',\r\n prefixIconUrl,\r\n postfixContent,\r\n showPasswordIconUrl,\r\n hidePasswordIconUrl,\r\n prefixIconWidth = '12px',\r\n prefixIconHeight = '12px',\r\n prefixPositionX = '18px',\r\n prefixPositionY = '14px',\r\n name,\r\n type,\r\n maxLength = '',\r\n placeholder,\r\n wrapperClass,\r\n borderRadius,\r\n prefixPadding,\r\n width = '100%',\r\n error,\r\n input,\r\n handleChange,\r\n handleBlur,\r\n handleFocus,\r\n handleReadOnlyClick,\r\n autocomplete = 'off',\r\n readOnly,\r\n disabled = false,\r\n hideErrors,\r\n showSubmitOnChange,\r\n submitComponent,\r\n showRemoveBtn,\r\n removeBtnComponent,\r\n rePositionErrors,\r\n rePositionErrorsElement,\r\n meta,\r\n pattern,\r\n infoElement,\r\n inputRef = useRef(null),\r\n min = '',\r\n max = '',\r\n step,\r\n accept,\r\n } = props;\r\n\r\n const [passwordMaskIcon, setPasswordMaskIcon] = useState(\r\n showPasswordIconUrl\r\n );\r\n const [inputType, setInputType] = useState(type || 'text');\r\n const [showSubmitButton, setShowSubmitButton] = useState(false);\r\n\r\n function togglePassword() {\r\n if (passwordMaskIcon === showPasswordIconUrl) {\r\n setInputType('text');\r\n setPasswordMaskIcon(hidePasswordIconUrl);\r\n } else {\r\n setInputType('password');\r\n setPasswordMaskIcon(showPasswordIconUrl);\r\n }\r\n }\r\n\r\n function handleInputChange(event) {\r\n const formFieldChangeMethod =\r\n input && input.onChange\r\n ? input.onChange\r\n : handleChange\r\n ? handleChange\r\n : null;\r\n\r\n // Prevent input beyond maxLength\r\n if (maxLength && event.target.value.length > maxLength) {\r\n event.preventDefault();\r\n return;\r\n }\r\n\r\n if (pattern) {\r\n if (event.target.value) {\r\n if (pattern.test(event.target.value)) {\r\n formFieldChangeMethod\r\n ? formFieldChangeMethod(event.target.value, event)\r\n : '';\r\n } else {\r\n event.preventDefault();\r\n }\r\n } else {\r\n formFieldChangeMethod\r\n ? formFieldChangeMethod(event.target.value, event)\r\n : '';\r\n }\r\n } else {\r\n formFieldChangeMethod\r\n ? formFieldChangeMethod(event.target.value, event)\r\n : '';\r\n }\r\n }\r\n\r\n function handleInputBlur() {\r\n input && input.onBlur ? input.onBlur() : '';\r\n handleBlur && handleBlur();\r\n }\r\n\r\n function handleInputFocus() {\r\n handleFocus && handleFocus();\r\n }\r\n\r\n function handleRemoveBtnClick() {\r\n setShowSubmitButton(false);\r\n }\r\n\r\n function handlePostfixClick() {\r\n inputRef.current.focus();\r\n }\r\n\r\n const handleWheel = event => {\r\n event.preventDefault();\r\n event.target.blur();\r\n };\r\n\r\n const inputComponent = (\r\n \r\n );\r\n\r\n const passwordComponent = type === 'password' &&\r\n showPasswordIconUrl &&\r\n hidePasswordIconUrl && (\r\n \r\n );\r\n\r\n return (\r\n \r\n {prefixContent || postfixContent ? (\r\n \r\n {input && input.value !== undefined && prefixContent && (\r\n  {prefixContent}\r\n )}\r\n {inputComponent}\r\n {input && input.value !== undefined && postfixContent && (\r\n  {postfixContent}\r\n )}\r\n {passwordComponent}\r\n \r\n ) : (\r\n \r\n {inputComponent}\r\n {passwordComponent}\r\n \r\n )}\r\n {showSubmitOnChange && submitComponent && !showRemoveBtn && (\r\n \r\n {submitComponent}\r\n \r\n )}\r\n {showSubmitOnChange && submitComponent && showRemoveBtn && (\r\n \r\n {removeBtnComponent}\r\n \r\n )}\r\n {!hideErrors && !rePositionErrors && error && (\r\n {error}\r\n )}\r\n {!hideErrors &&\r\n !rePositionErrors &&\r\n meta &&\r\n meta.touched &&\r\n meta.error && (\r\n \r\n {meta.error}\r\n \r\n )}\r\n {rePositionErrors &&\r\n rePositionErrorsElement &&\r\n error &&\r\n ReactDOM.createPortal(\r\n \r\n {error}\r\n ,\r\n rePositionErrorsElement\r\n )}\r\n {rePositionErrors &&\r\n rePositionErrorsElement &&\r\n meta &&\r\n meta.touched &&\r\n meta.error &&\r\n ReactDOM.createPortal(\r\n \r\n {meta.error}\r\n ,\r\n rePositionErrorsElement\r\n )}\r\n {infoElement && (\r\n {infoElement}\r\n )}\r\n \r\n );\r\n};\r\n\r\nInput.propTypes = {\r\n className: PropTypes.string,\r\n defaultSelected: PropTypes.string,\r\n handleChange: PropTypes.func,\r\n labelField: PropTypes.string,\r\n options: PropTypes.array,\r\n valueField: PropTypes.string,\r\n wrapperClass: PropTypes.string,\r\n};\r\n\r\nexport default Input;\r\n","/* eslint-disable operator-linebreak */\n/* eslint-disable no-invalid-this */\n// Libraries\nimport React, { useState, useEffect } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { getId } from '../../../utils/helperMethods';\n\nconst RadioContainer = styled.div`\n opacity: ${props => (props.disabled ? '0.6' : '1')};\n`;\nconst LabelWrapper = styled.label`\n color: #5c5c5c;\n display: inline-block;\n font-size: $font-size-sm;\n margin-right: 50px;\n position: relative;\n`;\n\nconst RadioWrapper = styled.input`\n cursor: ${props => (props.disabled ? 'default' : 'pointer')};\n opacity: 0;\n position: absolute;\n`;\n\nconst CustomIconWrapper = styled.span`\n background-size: cover;\n border: 1px solid #c2bcbf;\n border-color: ${props => (props.isSelected ? `#ed7f31` : `#c2bcbf`)};\n border-radius: 50%;\n display: inline-block;\n height: 17px;\n margin-right: 12px;\n width: 17px;\n\n span {\n background: ${props => (props.isSelected ? `#ed7f31` : `transparent`)};\n border-radius: 50%;\n display: inline-block;\n height: 9px;\n margin-left: 3px;\n margin-top: 3px;\n width: 9px;\n }\n`;\n\nconst LabelTextWrapper = styled.span`\n display: inline-block;\n margin-top: 2px;\n vertical-align: top;\n`;\n\nconst StyledErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n /* text-transform: capitalize; */\n`;\n\nconst Radio = props => {\n const {\n id,\n input,\n defaultSelected,\n wrapperClass,\n className,\n options,\n valueField,\n labelField,\n handleChange,\n hideErrors,\n meta,\n disabled = false,\n } = props;\n\n const [selectedValue, setSelectedValue] = useState(defaultSelected || '');\n\n useEffect(() => {\n if (defaultSelected && input) {\n input.onChange(defaultSelected);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [defaultSelected]);\n\n function handleRadioChange(item) {\n if (input) {\n input.onChange(item[valueField]);\n } else {\n handleChange && handleChange(selectedValue);\n setSelectedValue(item[valueField]);\n }\n }\n\n const isSelected = item =>\n // eslint-disable-next-line implicit-arrow-linebreak\n input\n ? input.value === item[valueField]\n : selectedValue === item[valueField];\n\n return (\n \n {options &&\n options.length &&\n options.map((item, index) => (\n \n \n \n \n \n \n {item[labelField]}\n \n \n ))}\n {!hideErrors && meta && meta.touched && meta.error && (\n \n {meta.error}\n \n )}\n \n );\n};\n\nRadio.propTypes = {\n className: PropTypes.string,\n defaultSelected: PropTypes.string,\n handleChange: PropTypes.func,\n input: PropTypes.node,\n labelField: PropTypes.string,\n options: PropTypes.array,\n valueField: PropTypes.string,\n wrapperClass: PropTypes.string,\n hideErrors: PropTypes.bool,\n meta: PropTypes.object,\n disabled: PropTypes.bool,\n};\n\nexport default Radio;\n","// Libraries\nimport React, { useState, useEffect } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\nconst SelectContainer = styled.div`\n border-radius: 3px;\n display: inline-block;\n position: relative;\n vertical-align: middle;\n width: 100%;\n\n &:after {\n border: solid #d8d8d8;\n border-width: 0 2px 2px 0;\n content: '';\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n position: absolute;\n right: 15px;\n top: 17px;\n transform: translateY(-50%) rotate(45deg);\n }\n`;\n\n\nconst SelectElement = styled.select`\n appearance: none;\n background-color: white;\n border: 1px solid #d8d8d8;\n border-radius: 2px;\n color: #000;\n cursor: pointer;\n display: inline-block;\n font-family: 'lato-regular';\n font-size: 13px;\n height: 36px;\n outline: 0;\n padding: 0 13px;\n vertical-align: middle;\n width: 100%;\n z-index: 1;\n`;\n\nconst StyledErrorWrapper = styled.span`\n color: #f00;\n display: inline-block;\n font-size: 12px;\n margin: 8px 0;\n /* text-transform: capitalize; */\n`;\n\nconst Spinner = styled.div`\n display: inline-block;\n`;\n\nconst Select = props => {\n const {\n id,\n input,\n wrapperClass,\n className,\n data,\n label,\n valueField,\n labelField,\n handleChange,\n resetSelect,\n defaultSelected,\n hideErrors,\n meta,\n disabled = false,\n loader,\n } = props;\n\n const [selectValue, setSelectValue] = useState(defaultSelected || '');\n\n function handleSelectChange(event) {\n const originalData = data.find(\n item => item[valueField] === event.target.value\n );\n if (input) {\n input.onChange(event.target.value, originalData);\n } else {\n handleChange && handleChange(event.target.value, originalData);\n setSelectValue(event.target.value);\n }\n }\n\n useEffect(() => {\n setSelectValue(defaultSelected || '');\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [defaultSelected]);\n\n useEffect(() => {\n if (resetSelect) {\n setSelectValue('');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [resetSelect]);\n\n return (\n \n handleSelectChange(event)}\n value={input ? input.value : selectValue}\n data-value={input ? input.value : selectValue}\n disabled={disabled}\n >\n {label && }\n {data.map((item, index) => (\n \n ))}\n \n {!hideErrors && meta && meta.touched && meta.error && (\n \n {meta.error}\n \n )}\n {loader ? (\n \n
    \n \n ) : null}\n \n );\n};\n\nSelect.propTypes = {\n className: PropTypes.string,\n data: PropTypes.object,\n defaultSelected: PropTypes.string,\n handleChange: PropTypes.func,\n hideErrors: PropTypes.bool,\n input: PropTypes.node,\n label: PropTypes.string,\n labelField: PropTypes.string,\n meta: PropTypes.object,\n showPlaceholder: PropTypes.bool,\n valueField: PropTypes.string,\n wrapperClass: PropTypes.string,\n resetSelect: PropTypes.bool,\n disabled: PropTypes.bool,\n id: PropTypes.string,\n};\n\nexport default Select;\n\n\n","/* eslint-disable indent */\n/* eslint-disable no-invalid-this */\n/* eslint-disable no-empty-function */\nimport { getId } from '../../../utils/helperMethods';\nimport React, { useState, useEffect, useMemo } from 'react';\nimport ReactDOM from 'react-dom';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\nconst LabelWrapper = styled.label`\n color: #5c5c5c;\n display: inline-block;\n font-size: 12px;\n margin-bottom: 15px;\n margin-right: 45px;\n position: relative;\n opacity: ${(props) => (props.isDisabled ? 0.5 : 1)};\n`;\n\nconst InputWrapper = styled.input`\n cursor: pointer;\n opacity: 0;\n position: absolute;\n`;\n\nconst CustomIconWrapper = styled.span`\n background: ${props => (props.isChecked ? '#ed7f31' : 'transparent')};\n background-size: cover;\n border: ${props =>\n props.isChecked ? '1px solid #ed7f31' : `1px solid #d2d3d5`};\n border-radius: 2px;\n display: inline-block;\n height: 18px;\n margin-right: 12px;\n width: 18px;\n\n &:after {\n border: 1px solid transparent;\n border-color: ${props =>\n props.isChecked\n ? `${props.isChanged ? '#f79714 !important' : '#fff'}`\n : 'transparent'};\n border-width: 0 1px 1px 0;\n content: '';\n display: block;\n height: 9px;\n left: 7px;\n position: absolute;\n transform: rotate(45deg);\n width: 4px;\n top: 2px;\n }\n`;\n\nconst LabelTextWrapper = styled.span`\n display: inline-block;\n margin-top: 3px;\n text-decoration: ${props => (props.isPrevious ? 'line-through' : `none`)};\n vertical-align: top;\n`;\n\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 5px 0;\n /* text-transform: capitalize; */\n`;\n\nexport const SingleCheckbox = props => {\n const {\n id,\n label = '',\n value = '',\n handleChange = () => { },\n isChecked = false,\n customClass = '',\n name = '',\n isDisabled = false,\n isPrevious = false,\n isChanged = false,\n isRequired = false,\n isSingleDisable = false,\n } = props;\n\n return (\n \n \n \n \n {label && (\n \n {label}\n \n )}\n \n \n );\n};\n\nconst Checkbox = props => {\n const {\n id,\n options = [],\n labelField = '',\n valueField = '',\n handleChange = () => { },\n input,\n meta,\n wrapperClass = '',\n customClass = '',\n isDisabled = false,\n isRequired = false,\n name = '',\n errorMessage = '',\n hideErrors,\n rePositionErrors,\n rePositionErrorsElement,\n } = props;\n\n const defaultSelected = useMemo(() => {\n if (options.length) {\n return options\n .filter(item => item.checked)\n .map(item => `${item[valueField]}`);\n }\n return [];\n }, [options, valueField]);\n\n const [selectedValues, setSelectedValues] = useState(\n input && input.value\n ? defaultSelected.concat(input.value)\n : defaultSelected\n );\n\n useEffect(() => {\n if (input && input.value) {\n setSelectedValues(defaultSelected.concat(input.value));\n } else if (defaultSelected && defaultSelected.length) {\n setSelectedValues(defaultSelected);\n } else {\n setSelectedValues([]);\n }\n }, [defaultSelected, input]);\n\n const captureSelectedBoxes = event => {\n const {\n target: { value },\n } = event;\n const selectedValuesState = [...selectedValues];\n if (selectedValues.includes(value)) {\n const indexValue = selectedValues.indexOf(value);\n selectedValuesState.splice(indexValue, 1);\n } else {\n selectedValuesState.push(value);\n }\n setSelectedValues(selectedValuesState);\n input && input.onChange(selectedValuesState);\n handleChange(selectedValuesState);\n };\n\n useEffect(() => {\n if (\n input &&\n input.value &&\n Array.isArray(input.value) &&\n selectedValues.sort().join('') !== input.value.sort().join('')\n ) {\n setSelectedValues(input.value);\n handleChange(input.value);\n }\n }, [handleChange, input, selectedValues]);\n return (\n
    \n {options.map((item, index) => (\n captureSelectedBoxes(event)}\n isChecked={selectedValues.includes(item[valueField])}\n customClass={customClass}\n isDisabled={isDisabled || item.isDisabled}\n isSingleDisable={item.isSingleDisable}\n isRequired={isRequired}\n name={input && input.name ? input.name : name}\n />\n ))}\n {!hideErrors && !rePositionErrors && errorMessage && (\n \n {errorMessage}\n \n )}\n {!hideErrors && !rePositionErrors && meta && meta.touched && (\n \n {meta.error}\n \n )}\n {rePositionErrors &&\n rePositionErrorsElement &&\n errorMessage &&\n ReactDOM.createPortal(\n \n {errorMessage}\n ,\n rePositionErrorsElement\n )}\n {rePositionErrors &&\n rePositionErrorsElement &&\n meta &&\n meta.touched &&\n ReactDOM.createPortal(\n \n {meta.error}\n ,\n rePositionErrorsElement\n )}\n
    \n );\n};\n\nCheckbox.propTypes = {\n options: PropTypes.arrayOf(PropTypes.object),\n labelField: PropTypes.string,\n valueField: PropTypes.string,\n id: PropTypes.string,\n handleChange: PropTypes.func,\n input: PropTypes.object,\n meta: PropTypes.object,\n wrapperClass: PropTypes.string,\n customClass: PropTypes.string,\n isDisabled: PropTypes.bool,\n isRequired: PropTypes.bool,\n name: PropTypes.string,\n errorMessage: PropTypes.string,\n hideErrors: PropTypes.bool,\n rePositionErrors: PropTypes.bool,\n rePositionErrorsElement: PropTypes.element,\n};\n\nSingleCheckbox.propTypes = {\n label: PropTypes.string,\n value: PropTypes.string,\n id: PropTypes.string,\n handleChange: PropTypes.func,\n isChecked: PropTypes.bool,\n customClass: PropTypes.string,\n name: PropTypes.string,\n isPrevious: PropTypes.bool,\n isChanged: PropTypes.bool,\n isDisabled: PropTypes.bool,\n isRequired: PropTypes.bool,\n isSingleDisable: PropTypes.bool,\n};\n\nexport default Checkbox;\n","/* eslint-disable no-invalid-this */\n/* eslint-disable no-empty-function */\nimport React, { useState, useEffect, useMemo } from 'react';\nimport ReactDOM from 'react-dom';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { getId } from '../../../utils/helperMethods';\n\nconst LabelWrapper = styled.label`\n color: #5c5c5c;\n display: inline-block;\n font-size: 12px;\n margin-right: 14px;\n position: relative;\n`;\n\nconst InputWrapper = styled.input`\n cursor: pointer;\n opacity: 0;\n position: absolute;\n`;\n\nconst CustomIconWrapper = styled.span`\n background: #f0f5fb;\n border-radius: 100px;\n cursor: pointer;\n display: inline-block;\n height: 10px;\n margin-left: 10px;\n margin-right: 0;\n position: relative;\n transition: all 0.3s ease;\n vertical-align: middle;\n width: 30px;\n\n &:after {\n background: ${props => (props.isChecked ? `#12c16f` : `#9a9a9a`)};\n border-radius: 100px;\n box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);\n content: '';\n display: block;\n height: 16px;\n left: ${props => (props.isChecked ? `14px` : `0`)};\n position: absolute;\n top: -3px;\n transition: all 0.3s ease;\n width: 16px;\n }\n`;\n\nconst LabelTextWrapper = styled.span`\n display: inline-block;\n margin-top: 2px;\n vertical-align: top;\n`;\n\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 5px 0;\n text-transform: capitalize;\n`;\n\nconst SingleCheckbox = props => {\n const {\n id,\n label = '',\n value = '',\n handleChange = () => { },\n isChecked = false,\n customClass = '',\n name = '',\n isDisabled = false,\n isRequired = false,\n } = props;\n\n return (\n \n \n \n {label && {label}}\n \n \n \n );\n};\n\nconst Checkbox = props => {\n const {\n options = [],\n labelField = '',\n valueField = '',\n handleChange = () => { },\n input,\n meta,\n wrapperClass = '',\n customClass = '',\n isDisabled = false,\n isRequired = false,\n name = '',\n errorMessage = '',\n hideErrors,\n rePositionErrors,\n rePositionErrorsElement,\n id,\n isChecked,\n } = props;\n\n const defaultSelected = useMemo(() => {\n if (options.length) {\n return options\n .filter(item => item.checked)\n .map(item => `${item[valueField]}`);\n }\n return [];\n }, [options, valueField]);\n\n const [selectedValues, setSelectedValues] = useState(\n input && input.value\n ? defaultSelected.concat(input.value)\n : defaultSelected\n );\n\n useEffect(() => {\n if (input && input.value) {\n setSelectedValues(defaultSelected.concat(input.value));\n } else {\n setSelectedValues(defaultSelected);\n }\n }, [defaultSelected, input]);\n\n const captureSelectedBoxes = event => {\n const {\n target: { value },\n } = event;\n const selectedValuesState = [...selectedValues];\n if (selectedValues.includes(value)) {\n const indexValue = selectedValues.indexOf(value);\n selectedValuesState.splice(indexValue, 1);\n } else {\n selectedValuesState.push(value);\n }\n setSelectedValues(selectedValuesState);\n input && input.onChange(selectedValuesState);\n handleChange(selectedValuesState);\n };\n\n useEffect(() => {\n if (\n input &&\n input.value &&\n Array.isArray(input.value) &&\n selectedValues.sort().join('') !== input.value.sort().join('')\n ) {\n setSelectedValues(input.value);\n handleChange(input.value);\n }\n }, [handleChange, input, selectedValues]);\n return (\n
    \n {options.map((item, index) => (\n captureSelectedBoxes(event)}\n isChecked={\n isChecked ||\n selectedValues.includes(`${item[valueField]}`)\n }\n customClass={customClass}\n isDisabled={isDisabled}\n isRequired={isRequired}\n name={input && input.name ? input.name : name}\n />\n ))}\n {!hideErrors && !rePositionErrors && errorMessage && (\n \n {errorMessage}\n \n )}\n {!hideErrors && !rePositionErrors && meta && meta.touched && (\n \n {meta.error}\n \n )}\n {rePositionErrors &&\n rePositionErrorsElement &&\n errorMessage &&\n ReactDOM.createPortal(\n \n {errorMessage}\n ,\n rePositionErrorsElement\n )}\n {rePositionErrors &&\n rePositionErrorsElement &&\n meta &&\n meta.touched &&\n ReactDOM.createPortal(\n \n {meta.error}\n ,\n rePositionErrorsElement\n )}\n
    \n );\n};\n\nCheckbox.propTypes = {\n options: PropTypes.arrayOf(PropTypes.object),\n labelField: PropTypes.string,\n valueField: PropTypes.string,\n handleChange: PropTypes.func,\n input: PropTypes.object,\n meta: PropTypes.object,\n wrapperClass: PropTypes.string,\n customClass: PropTypes.string,\n isDisabled: PropTypes.bool,\n isRequired: PropTypes.bool,\n name: PropTypes.string,\n errorMessage: PropTypes.string,\n hideErrors: PropTypes.bool,\n rePositionErrors: PropTypes.bool,\n rePositionErrorsElement: PropTypes.element,\n id: PropTypes.string,\n};\n\nSingleCheckbox.propTypes = {\n label: PropTypes.string,\n value: PropTypes.string,\n handleChange: PropTypes.func,\n isChecked: PropTypes.bool,\n customClass: PropTypes.string,\n name: PropTypes.string,\n isDisabled: PropTypes.bool,\n isRequired: PropTypes.bool,\n id: PropTypes.string,\n};\n\nexport default Checkbox;\n","// Libraries\nimport React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\nconst TextAreaContainer = styled.div`\n border-radius: 2px;\n display: inline-block;\n position: relative;\n vertical-align: middle;\n width: 100%;\n`;\n\nconst TextAreaElement = styled.textarea`\n appearance: none;\n background-color: white;\n border: 1px solid #d8d8d8;\n border-radius: 4px;\n color: #000;\n display: inline-block;\n font-family: 'lato-regular';\n font-size: 13px;\n height: 77px;\n outline: 0;\n overflow: auto;\n padding: 10px 13px;\n resize: none;\n vertical-align: middle;\n width: 100%;\n z-index: 1;\n`;\n\nconst StyledErrorWrapper = styled.span`\n color: #f00;\n display: inline-block;\n font-size: 12px;\n margin: 8px 0;\n`;\n\nconst TextArea = props => {\n const {\n value,\n input,\n wrapperClass,\n autoFocus,\n maxlength,\n name,\n placeholder,\n cols = '30',\n rows = '5',\n wrap = 'hard',\n readonly,\n hideErrors,\n meta,\n disabled = false,\n handleChange,\n isRequired,\n } = props;\n\n function handleSelectChange(event) {\n if (event && input) {\n input.onChange(event.target.value);\n } else if (handleChange) {\n handleChange(event.target.value);\n }\n }\n\n return (\n \n handleSelectChange(event)}\n value={(input && input.value) || value}\n autoFocus={autoFocus}\n cols={cols}\n maxLength={maxlength}\n name={name}\n placeholder={placeholder}\n rows={rows}\n wrap={wrap}\n readonly={readonly}\n disabled={disabled}\n required={isRequired}\n />\n {!hideErrors && meta && meta.touched && meta.error && (\n \n {meta.error}\n \n )}\n \n );\n};\n\nTextArea.propTypes = {\n wrapperClass: PropTypes.string,\n handleChange: PropTypes.func,\n hideErrors: PropTypes.bool,\n input: PropTypes.object,\n meta: PropTypes.object,\n cols: PropTypes.number,\n maxlength: PropTypes.number,\n name: PropTypes.string,\n placeholder: PropTypes.string,\n rows: PropTypes.number,\n wrap: PropTypes.string,\n readonly: PropTypes.bool,\n disabled: PropTypes.bool,\n autoFocus: PropTypes.bool,\n isRequired: PropTypes.bool,\n};\n\nexport default TextArea;\n","import { useRef, useEffect } from 'react';\n\n/**\n * Hook to get previous ref value.\n * @param {Boolean} value - React component props\n * Uses - `const prevFocus = usePreviousRef(Boolean(focus));`\n */\nfunction usePreviousRef(value) {\n const ref = useRef();\n // Store current value in ref\n useEffect(() => {\n ref.current = value;\n }, [value]);\n // Only re-run if value changes\n // Return previous value (happens before update in useEffect above)\n return ref.current;\n}\nexport default usePreviousRef;\n","/* eslint-disable indent */\n/* eslint-disable no-nested-ternary */\nimport React, {\n useEffect,\n useState,\n useRef,\n useLayoutEffect,\n useCallback,\n} from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport usePreviousRef from '../../../hooks/usePreviousRef';\n\nconst InputContainerWrapper = styled.div`\n position: relative;\n`;\n\nconst InputWrapper = styled.input`\n border: none;\n border-bottom: 2px solid #d8d8d8;\n border-radius: 0;\n font-size: 24px;\n height: 45px;\n margin-right: 12px;\n text-align: center;\n width: 48px;\n -webkit-text-security: disc;\n font-family: text-security-disc;\n`;\n\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n line-height: 1.3;\n margin-top: 15px;\n`;\n\nconst SingleOtpInput = props => {\n const { focus, autoFocus, ...rest } = props;\n const inputRef = useRef(null);\n const prevFocus = usePreviousRef(Boolean(focus));\n useLayoutEffect(() => {\n if (inputRef.current) {\n if (focus && autoFocus) {\n inputRef.current.focus();\n }\n if (focus && autoFocus && focus !== prevFocus) {\n inputRef.current.focus();\n inputRef.current.select();\n }\n }\n }, [autoFocus, focus, prevFocus]);\n\n return ;\n};\n\nconst OTPInput = props => {\n const {\n id,\n name,\n placeholder,\n wrapperClass,\n serverError,\n input,\n autocomplete = 'off',\n disabled = false,\n meta,\n length,\n isNumberInput,\n autoFocus,\n handleChangeOtp,\n inputClassName,\n isReset,\n setReset,\n inputStyle,\n ...rest\n } = props;\n const [serverErr, setServerErr] = useState('');\n const [activeInput, setActiveInput] = useState(0);\n const [otpValues, setOTPValues] = useState(Array(length).fill(''));\n\n useEffect(() => {\n setServerErr(serverError);\n }, [serverError]);\n\n useEffect(() => {\n if (isReset) {\n setOTPValues(Array(length).fill(''));\n setReset(false);\n setActiveInput(0);\n }\n }, [isReset, length, setReset]);\n\n // Helper to return OTP from inputs\n const handleOtpChange = useCallback(\n otp => {\n const otpValue = otp.join('');\n const formFieldChangeMethod =\n input && input.onChange\n ? input.onChange\n : handleChangeOtp\n ? handleChangeOtp\n : null;\n setServerErr('');\n formFieldChangeMethod(otpValue);\n },\n [input, handleChangeOtp]\n );\n\n // Helper to return value with the right type: 'text' or 'number'\n const getRightValue = useCallback(\n str => {\n const changedValue = str;\n if (!isNumberInput) {\n return changedValue;\n }\n return !changedValue || /\\d/.test(changedValue) ? changedValue : '';\n },\n [isNumberInput]\n );\n\n // Change OTP value at focussing input\n const changeCodeAtFocus = useCallback(\n str => {\n const updatedOTPValues = [...otpValues];\n updatedOTPValues[activeInput] = str[0] || '';\n setOTPValues(updatedOTPValues);\n handleOtpChange(updatedOTPValues);\n },\n [activeInput, handleOtpChange, otpValues]\n );\n\n // Focus `inputIndex` input\n const focusInput = useCallback(\n inputIndex => {\n const selectedIndex = Math.max(Math.min(length - 1, inputIndex), 0);\n setActiveInput(selectedIndex);\n },\n [length]\n );\n const focusPrevInput = useCallback(() => {\n focusInput(activeInput - 1);\n }, [activeInput, focusInput]);\n const focusNextInput = useCallback(() => {\n focusInput(activeInput + 1);\n }, [activeInput, focusInput]);\n\n // Handle onFocus input\n const handleOnFocus = useCallback(\n index => () => {\n focusInput(index);\n },\n [focusInput]\n );\n\n // Handle onChange value for each input\n const handleOnChange = useCallback(\n event => {\n const val = getRightValue(event.currentTarget.value);\n if (!val) {\n event.preventDefault();\n return;\n }\n changeCodeAtFocus(val);\n focusNextInput();\n },\n [changeCodeAtFocus, focusNextInput, getRightValue]\n );\n\n // Handle onBlur input\n const onBlur = useCallback(() => {\n setActiveInput(-1);\n }, []);\n\n // Handle onKeyDown input\n const handleOnKeyDown = useCallback(\n event => {\n switch (event.key) {\n case 'Backspace':\n case 'Delete': {\n event.preventDefault();\n if (otpValues[activeInput]) {\n changeCodeAtFocus('');\n } else {\n focusPrevInput();\n }\n break;\n }\n case 'ArrowLeft': {\n event.preventDefault();\n focusPrevInput();\n break;\n }\n case 'ArrowRight': {\n event.preventDefault();\n focusNextInput();\n break;\n }\n case ' ': {\n event.preventDefault();\n break;\n }\n default:\n break;\n }\n },\n [\n activeInput,\n changeCodeAtFocus,\n focusNextInput,\n focusPrevInput,\n otpValues,\n ]\n );\n const handleOnPaste = useCallback(\n event => {\n event.preventDefault();\n const pastedData = event.clipboardData\n .getData('text/plain')\n .trim()\n .slice(0, length - activeInput)\n .split('');\n if (pastedData) {\n let nextFocusIndex = 0;\n const updatedOTPValues = [...otpValues];\n updatedOTPValues.forEach((val, index) => {\n if (index >= activeInput) {\n const changedValue = getRightValue(\n pastedData.shift() || val\n );\n if (changedValue) {\n updatedOTPValues[index] = changedValue;\n nextFocusIndex = index;\n }\n }\n });\n setOTPValues(updatedOTPValues);\n setActiveInput(Math.min(nextFocusIndex + 1, length - 1));\n }\n },\n [activeInput, getRightValue, length, otpValues]\n );\n\n return (\n \n {Array(length)\n .fill('')\n .map((item, index) => (\n \n ))}\n {serverErr && (\n \n {serverErr}\n \n )}\n {!serverErr && meta && meta.touched && meta.error && (\n \n {meta.error}\n \n )}\n \n );\n};\n\nOTPInput.propTypes = {\n className: PropTypes.string,\n defaultSelected: PropTypes.string,\n handleChange: PropTypes.func,\n labelField: PropTypes.string,\n options: PropTypes.array,\n valueField: PropTypes.string,\n wrapperClass: PropTypes.string,\n id: PropTypes.string,\n name: PropTypes.string,\n placeholder: PropTypes.string,\n serverError: PropTypes.string,\n input: PropTypes.object,\n autocomplete: PropTypes.string,\n disabled: PropTypes.bool,\n meta: PropTypes.object,\n length: PropTypes.number,\n isNumberInput: PropTypes.bool,\n autoFocus: PropTypes.bool,\n handleChangeOtp: PropTypes.func,\n inputClassName: PropTypes.string,\n inputStyle: PropTypes.string,\n isReset: PropTypes.bool,\n setReset: PropTypes.func,\n};\n\nSingleOtpInput.propTypes = {\n focus: PropTypes.bool,\n autoFocus: PropTypes.bool,\n};\n\nexport default OTPInput;\n","import '@yaireo/tagify/dist/tagify.polyfills.min.js';\n\n/* eslint-disable */\nimport React, {\n useState,\n useRef,\n Fragment,\n useEffect,\n useCallback,\n} from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n// React-wrapper file\nimport Tags from '@yaireo/tagify/dist/react.tagify';\n// Tagify CSS\nimport '@yaireo/tagify/dist/tagify.css';\n\nconst InputContainerWrapper = styled.div`\n position: relative;\n`;\n\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n /* text-transform: capitalize; */\n`;\n\nconst tagifyCallbacks = {\n // add: callback,\n // remove: callback,\n // input: callback,\n // edit: callback,\n // invalid: callback,\n // click: callback,\n // keydown: callback,\n // focus: callback,\n // blur: callback,\n // \"edit:input\": callback,\n // \"edit:updated\": callback,\n // \"edit:start\": callback,\n // \"edit:keydown\": callback,\n // \"dropdown:show\": callback,\n // \"dropdown:hide\": callback,\n // \"dropdown:select\": callback\n};\n\nconst baseTagifySettings = {\n blacklist: ['xxx', 'yyy', 'zzz'],\n maxTags: 100,\n dropdown: {\n enabled: 1,\n },\n};\n\nconst InputTags = ({\n id,\n name,\n ref,\n placeholder,\n wrapperClass,\n input,\n readOnly,\n disabled,\n settings,\n tagifyProps,\n handleInputChange,\n handleInputBlur,\n handleInputFocus,\n}) => {\n return (\n \n );\n};\n\nconst Input = props => {\n const {\n id,\n name,\n placeholder,\n wrapperClass,\n error,\n input,\n handleChange,\n handleBlur,\n handleFocus,\n readOnly,\n disabled = false,\n meta,\n } = props;\n\n const tagifyRef = useRef();\n const [tagifySettings, setTagifySettings] = useState([]);\n const [tagifyProps, setTagifyProps] = useState({});\n const settings = {\n ...baseTagifySettings,\n ...tagifySettings,\n callbacks: tagifyCallbacks,\n };\n\n function handleInputChange(event) {\n const formFieldChangeMethod =\n input && input.onChange\n ? input.onChange\n : handleChange\n ? handleChange\n : null;\n\n formFieldChangeMethod\n ? formFieldChangeMethod(event.target.value, event)\n : '';\n }\n\n function handleInputBlur() {\n input && input.onBlur ? input.onBlur() : '';\n handleBlur && handleBlur();\n }\n\n function handleInputFocus() {\n handleFocus && handleFocus();\n }\n\n const inputComponent = (\n \n );\n\n return (\n \n {inputComponent}\n {meta && meta.touched && meta.error && (\n \n {meta.error}\n \n )}\n \n );\n};\n\nInput.propTypes = {\n className: PropTypes.string,\n defaultSelected: PropTypes.string,\n handleChange: PropTypes.func,\n labelField: PropTypes.string,\n options: PropTypes.array,\n valueField: PropTypes.string,\n wrapperClass: PropTypes.string,\n};\n\nexport default Input;\n","import React, { useState, useEffect } from 'react';\nimport Select from 'react-select';\nimport PropTypes from 'prop-types';\n\nimport './index.scss';\nimport styled from 'styled-components';\n\nconst emptyOptions = [\n {\n label: 'Please Select',\n value: null,\n },\n];\n\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n /* text-transform: capitalize; */\n`;\n\nconst SearchSelect = props => {\n const {\n input,\n data,\n valueField,\n labelField,\n id,\n label,\n meta,\n isDisabled,\n handleSearchEnd = () =>{},\n entityType,\n } = props;\n\n const [finalOptions, setFinalOptions] = useState(emptyOptions);\n\n const selectedOption = finalOptions.find(\n option => option.value === input.value\n );\n\n const handleChange = option => {\n input.onChange(option.value);\n };\n\n const handleBlur = () => {\n input.onBlur(input.value);\n };\n\n const selectProps = {\n ...input,\n options: finalOptions,\n id,\n label,\n onChange: handleChange,\n onBlur: handleBlur,\n getOptionLabel: option => option.label,\n getOptionValue: option => option.value,\n isDisabled,\n };\n\n if (!selectedOption && label) {\n selectProps.placeholder = label;\n } else {\n selectProps.value = selectedOption;\n }\n\n useEffect(() => {\n const finalOptionsTemp = [{ label, value: null }].concat(\n data.map(option => {\n return { label: option[labelField], value: option[valueField] };\n })\n );\n setFinalOptions(finalOptionsTemp);\n }, [labelField, data, valueField, label]);\n\n return (\n
    \n \n \n \n {value && (\n \n {value.map((file, index) => (\n \n {file.name}\n \n \n ))}\n \n )}\n {meta && meta.error && meta.touched ? (\n {meta.error}\n ) : (\n <>\n )}\n \n );\n};\n\nexport default MultiUpload;\n\nMultiUpload.propTypes = {\n customClass: PropTypes.string,\n handleChange: PropTypes.func,\n labelField: PropTypes.string,\n options: PropTypes.array,\n valueField: PropTypes.string,\n input: PropTypes.object,\n meta: PropTypes.object,\n wrapperClass: PropTypes.string,\n layout: PropTypes.string,\n subtitle: PropTypes.string,\n onFileListChange: PropTypes.func,\n fileList: PropTypes.array,\n};\n","export const FETCHED_PINDATA = 'Pin code data fetched successfully';\nexport const ERROR_PINDATA = 'Error while fetching the pin data';\nexport const DATA_FETCH = 'Data fetch successfully';\nexport const VERIFY_SUCCESS = 'Data verified successfully';\nexport const VERIFY_ERROR = 'Error validating the data';\nexport const ERROR_FETCH = 'Failed to Fetch Data';\nexport const PAN_DETAILS_MISSING = 'Pan Details missing';\nexport const GST_DETAILS_MISSING = 'Gst Details missing';\nexport const FORM_ERRORS = 'Please fix the form errors';\nexport const ERROR_UBO = 'Error adding ubo in the list.';\n\nexport const GST = 'GST';\nexport const PAN = 'PAN';\nexport const BANK = 'BANK';\nexport const SUBMITTED_KEY = 'submitted';\nexport const KYC_FILES = 'kycfiles';\nexport const FILE_MSG = \"Allowed max file size 5mb and file type pdf, images.\"\nexport const FILE_MSG_WITH_EXT = 'Allowed max file size 5mb and file types are ';\nexport const IMAGE_MSG = \"Allowed max file size 5mb and file types are \";\nexport const MAX_ACTIVE_UBO_COUNT = 10;","import fileUploadImg from 'static/images/file-upload.svg';\nimport crossImg from 'static/images/close.svg';\nimport viewIcon from 'static/images/view.svg';\n\nimport React, { useCallback, useState } from 'react';\nimport { useDropzone } from 'react-dropzone';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { END } from 'redux-saga';\nimport { FILE_MSG, FILE_MSG_WITH_EXT } from 'components/Onboarding/Mle/mle.constants';\n\nconst MainContainer = styled.div`\n overflow: hidden;\n width: 100%;\n min-height: 54px;\n max-height: 90px;\n`;\n\nconst Icon = styled.img`\n width: ${props => (props.size === 'small' ? '20px' : '30px')};\n height: ${props => (props.size === 'small' ? '20px' : '30px')};\n margin-right: ${props => (props.marginRight ? props.marginRight : 0)};\n cursor: ${props => (props.isActionIcon ? 'pointer' : '')};\n`;\n\n// Styled components\nconst DropzoneContainer = styled.div`\n border: 1px solid #c3c1bf;\n border-radius: 10px;\n height: auto;\n width: 100%;\n cursor: pointer;\n background: ${props => (props.layout === 'vertical' ? '#eff2f9' : '100px')};\n`;\n\nconst FileList = styled.div`\n display: flex;\n flex-wrap: wrap;\n`;\n\nconst StyledFile = styled.div`\n padding: 5px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 10px;\n border: 1px solid #efefef;\n border-radius: 8px;\n margin: 15px 15px 0 0;\n position: relative;\n`;\n\nconst StyledSpan = styled.span`\n color: #ff7744;\n`;\n\nconst StyledComponent = styled.div`\n display: flex;\n align-content: center;\n justify-content: flex-start;\n align-items: center;\n flex-direction: ${props =>\n props.layout === 'vertical' ? 'column' : 'row'};\n`;\nconst StyledImg = styled.img`\n margin-right: 20px;\n`;\n\nconst StyledButton = styled.div`\n z-index: 10;\n color: #ff7744;\n border-radius: 4px;\n font-family: 'lato-regular';\n font-size: 14px;\n font-weight: 500;\n padding: 12px 20px;\n margin: 0 auto;\n`;\n\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n /* text-transform: capitalize; */\n`;\n\nconst FileNameSpan = styled.span`\n margin-right: 5px;\n`;\n\nconst CloseIcon = styled.img`\n top: -10px;\n right: -10px;\n position: absolute;\n cursor: pointer;\n`;\n\n// Redux-Form field component\nconst MultiUploadUrlHandling = ({\n input: { value, onChange },\n onFileListChange,\n layout,\n subtitle,\n accept,\n fileList,\n fileListUrl,\n handleViewImages,\n maxSize,\n meta,\n maxFiles = 1,\n id,\n isViewMode,\n hideErrors,\n error\n}) => {\n // console.log(\"FILE_MSG\",FILE_MSG);\n // console.log(\"isViweMode\", isViewMode);\n const [isDropFailed, setIsDropFailed] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n\n const removeFile = file => () => {\n const newFiles = [...fileList];\n newFiles.splice(newFiles.indexOf(file), 1);\n\n onChange(newFiles);\n onFileListChange(newFiles);\n };\n\n const onDrop = useCallback(\n (acceptedFiles, fileRejections) => {\n // console.log(\"file rejection\", fileRejections);\n \n\n if (fileRejections && fileRejections.length > 0) {\n let errorMsg = fileRejections.filter(file => file?.errors?.length > 0)?.map(file => file?.errors?.[0]?.message);\n // console.log(\"eror\", errorMsg);\n setErrorMessage(errorMsg?.join('. '));\n setIsDropFailed(true);\n } else {\n setIsDropFailed(false);\n }\n const newFiles = [...fileList, ...acceptedFiles];\n // console.log(\"new files\", newFiles);\n if (newFiles?.length > maxFiles) {\n // console.log(\"asdsa\");\n let errorMssg = \"You can upload a maximum of \"+maxFiles+\" files\";\n setErrorMessage(errorMssg);\n return;\n }\n setErrorMessage('');\n onChange(newFiles);\n onFileListChange(newFiles);\n },\n [onChange, onFileListChange]\n );\n // console.log(\"errormessage\", errorMessage);\n const { getRootProps, getInputProps } = useDropzone({\n onDrop,\n accept,\n maxSize,\n maxFiles\n });\n\n const handleViewFileClick = (e) => {\n e.preventDefault(); // Prevent file input trigger when clicking \"View File\"\n handleViewImages(); // Execute the \"View File\" logic\n };\n // console.log(\"meta\", meta);\n // console.log(\"error message...\", errorMessage);\n let uploadMarginUpdateClass = (!hideErrors && (error || (meta && meta.error && meta.touched))) ? 'update-width' : '';\n // console.log(\"metas\", meta);\n return (\n \n \n \n \n
    \n \n\n {!!fileListUrl?.length &&\n <>\n
    \n
    \n \n ({fileListUrl.length} file(s))\n \n
    \n Browse\n
    \n \n }\n {!fileListUrl?.length && \n <>\n \n Browse\n \n }\n \n
    \n
    \n {!!fileListUrl?.length &&\n <>\n \n View\n \n \n }\n
    \n
    \n \n {/* {value && (\n \n {value.map((file, index) => (\n \n {file.name}\n \n \n ))}\n \n )} */}\n {(meta?.error && meta?.touched) || errorMessage ? (\n {meta?.error || errorMessage}\n ) : null}\n {FILE_MSG_WITH_EXT + \"pdf, jpg, jpeg, png, svg. \"+maxFiles+\" Files are allowed.\"} \n
    \n );\n};\n\nexport default MultiUploadUrlHandling;\n\nMultiUploadUrlHandling.propTypes = {\n customClass: PropTypes.string,\n handleChange: PropTypes.func,\n labelField: PropTypes.string,\n options: PropTypes.array,\n valueField: PropTypes.string,\n input: PropTypes.object,\n meta: PropTypes.object,\n wrapperClass: PropTypes.string,\n layout: PropTypes.string,\n subtitle: PropTypes.string,\n onFileListChange: PropTypes.func,\n fileList: PropTypes.array,\n};\n","/* eslint-disable */\nimport React, { useState, useRef, Fragment } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport styled from \"styled-components\";\nimport PropTypes from \"prop-types\";\n\nconst InputContainerWrapper = styled.div`\n position: relative;\n`;\n\nconst InputFieldWrapper = styled.div`\n border: ${props =>\n props.prefixContent || props.postfixContent\n ? props.error\n ? \"1px solid #e3714d\"\n : \"1px solid #d8d8d8\"\n : \"\"};\n border-radius: ${props => props.borderRadius};\n padding-left: ${props => props.prefixPadding};\n`;\n\nconst InputWrapper = styled.input`\n background-image: ${props =>\n props.prefixIconUrl ? `url(${props.prefixIconUrl}) !important` : \"\"};\n background-position: ${props =>\n props.prefixIconUrl\n ? `${props.prefixPositionX} ${props.prefixPositionY}`\n : \"\"};\n background-repeat: ${props => (props.prefixIconUrl ? \"no-repeat\" : \"\")};\n background-size: ${props =>\n props.prefixIconUrl\n ? `${props.prefixIconWidth} ${props.prefixIconHeight}`\n : \"\"};\n border: none;\n border: ${props =>\n !(props.prefixContent || props.postfixContent)\n ? props.error\n ? \"1px solid #e3714d\"\n : \"1px solid #d8d8d8\"\n : \"\"};\n font-size: 14px;\n height: 36px;\n padding-left: ${props => props.prefixPadding};\n padding-right: ${props => (props.showSubmitButton ? \"55px\" : \"\")};\n width: ${props => props.width};\n &::-webkit-inner-spin-button,\n &::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n position: absolute;\n right: 0;\n height: 100%;\n width: 20px;\n opacity: 0;\n pointer-events: none;\n }\n &[type='number'] {\n -moz-appearance: textfield; /* Firefox */\n }\n &[type='number']::-webkit-inner-spin-button,\n &[type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n &:focus {\n transition: 0.25s ease-out;\n &+label {\n top: -5px;\n background: white;\n padding: 0 5px;\n color: #222;\n }\n }\n`;\n\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n /* text-transform: capitalize; */\n`;\n\nconst ShowPasswordWrapper = styled.img`\n height: 18px;\n position: absolute;\n right: 15px;\n top: 14px;\n width: 18px;\n`;\n\nconst SubmitWrapper = styled.p`\n opacity: ${props => (props.showSubmitButton ? \"1\" : \"0\")};\n position: absolute;\n right: ${props => (props.showSubmitButton ? \"15px\" : \"0px\")};\n top: 14px;\n transition: all0.3s ease-out;\n`;\n\nconst RemoveButtonWrapper = styled.p`\n position: absolute;\n right: 15px;\n top: 14px;\n`;\n\nconst InfoElementWrapper = styled.span`\n display: block;\n font-size: 12px;\n margin: 4px 0 0;\n`;\n\nconst PostfixWrapper = styled.span`\n display: inline-block;\n`;\n\nconst PrefixWrapper = styled.span`\n display: inline-block;\n`;\n\n\nconst LabelWrapper = styled.label`\n display: inline-block;\n position:absolute;\n top: ${({ value }) => (value ? '-5px' : '16px')};\n background: ${({ value }) => (value ? 'white' : '')};\n left: 10px;\n padding: 0 5px;\n transition: 0.25s ease-in;\n color: ${({ value }) => (value ? '#222' : '#949599')};\n`;\n\n\nconst LabelInput = props => {\n const {\n id,\n prefixContent = \"\",\n prefixIconUrl,\n postfixContent,\n showPasswordIconUrl,\n hidePasswordIconUrl,\n prefixIconWidth = \"12px\",\n prefixIconHeight = \"12px\",\n prefixPositionX = \"18px\",\n prefixPositionY = \"14px\",\n name,\n type,\n maxLength = \"\",\n placeholder,\n wrapperClass,\n borderRadius,\n prefixPadding,\n width = \"100%\",\n error,\n input,\n handleChange,\n handleBlur,\n handleFocus,\n handleReadOnlyClick,\n autocomplete = \"off\",\n readOnly,\n disabled = false,\n hideErrors,\n showSubmitOnChange,\n submitComponent,\n showRemoveBtn,\n removeBtnComponent,\n rePositionErrors,\n rePositionErrorsElement,\n meta,\n pattern,\n infoElement,\n inputRef = useRef(null),\n min = \"\",\n max = \"\",\n step,\n accept,\n labelText\n } = props;\n\n const [passwordMaskIcon, setPasswordMaskIcon] = useState(\n showPasswordIconUrl,\n );\n const [inputType, setInputType] = useState(type || \"text\");\n const [showSubmitButton, setShowSubmitButton] = useState(false);\n\n function togglePassword() {\n if (passwordMaskIcon === showPasswordIconUrl) {\n setInputType(\"text\");\n setPasswordMaskIcon(hidePasswordIconUrl);\n } else {\n setInputType(\"password\");\n setPasswordMaskIcon(showPasswordIconUrl);\n }\n }\n\n function handleInputChange(event) {\n const formFieldChangeMethod =\n input && input.onChange\n ? input.onChange\n : handleChange\n ? handleChange\n : null;\n\n if (pattern) {\n if (event.target.value) {\n if (pattern.test(event.target.value)) {\n formFieldChangeMethod\n ? formFieldChangeMethod(event.target.value, event)\n : \"\";\n } else {\n event.preventDefault();\n }\n } else {\n formFieldChangeMethod\n ? formFieldChangeMethod(event.target.value, event)\n : \"\";\n }\n } else {\n formFieldChangeMethod\n ? formFieldChangeMethod(event.target.value, event)\n : \"\";\n }\n }\n\n function handleInputBlur() {\n input && input.onBlur ? input.onBlur() : \"\";\n handleBlur && handleBlur();\n }\n\n function handleInputFocus() {\n handleFocus && handleFocus();\n }\n\n function handleRemoveBtnClick() {\n setShowSubmitButton(false);\n }\n\n function handlePostfixClick() {\n inputRef.current.focus();\n }\n\n const handleWheel = event => {\n event.preventDefault();\n event.target.blur();\n };\n\n const inputComponent = (\n
    \n \n {labelText ? {labelText} : <>}\n
    \n );\n\n const passwordComponent = type === \"password\" &&\n showPasswordIconUrl &&\n hidePasswordIconUrl && (\n \n );\n\n return (\n \n {prefixContent || postfixContent ? (\n \n {input && input.value !== undefined && prefixContent && (\n  {prefixContent}\n )}\n {inputComponent}\n {input && input.value !== undefined && postfixContent && (\n  {postfixContent}\n )}\n {passwordComponent}\n \n ) : (\n \n {inputComponent}\n {passwordComponent}\n \n )}\n {showSubmitOnChange && submitComponent && !showRemoveBtn && (\n \n {submitComponent}\n \n )}\n {showSubmitOnChange && submitComponent && showRemoveBtn && (\n \n {removeBtnComponent}\n \n )}\n {!hideErrors && !rePositionErrors && error && (\n {error}\n )}\n {!hideErrors &&\n !rePositionErrors &&\n meta &&\n meta.touched &&\n meta.error && (\n \n {meta.error}\n \n )}\n {rePositionErrors &&\n rePositionErrorsElement &&\n error &&\n ReactDOM.createPortal(\n \n {error}\n ,\n rePositionErrorsElement,\n )}\n {rePositionErrors &&\n rePositionErrorsElement &&\n meta &&\n meta.touched &&\n meta.error &&\n ReactDOM.createPortal(\n \n {meta.error}\n ,\n rePositionErrorsElement,\n )}\n {infoElement && (\n {infoElement}\n )}\n \n );\n};\n\nLabelInput.propTypes = {\n className: PropTypes.string,\n defaultSelected: PropTypes.string,\n handleChange: PropTypes.func,\n labelField: PropTypes.string,\n options: PropTypes.array,\n valueField: PropTypes.string,\n wrapperClass: PropTypes.string,\n};\n\nexport default LabelInput;\n","import React, { useState, useEffect, useRef } from 'react';\nimport { MultiSelect } from 'react-multi-select-component';\nimport PropTypes from 'prop-types';\nimport './styles.scss';\nimport styled from 'styled-components';\n\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n`;\n\nconst MultiSearchSelect = props => {\n const {\n input,\n data,\n valueField,\n labelField,\n id,\n label,\n meta,\n isDisabled,\n displayLabel,\n entityType,\n handleSearchEnd,\n } = props;\n\n const [finalOptions, setFinalOptions] = useState([]);\n const [selectedOptions, setSelectedOptions] = useState([]);\n const lastSearchValue = useRef('');\n\n const handleChange = selected => {\n console.log(selected, 'selectedselected');\n setSelectedOptions(selected);\n input.onChange(selected.map(option => option.value));\n };\n\n const handleBlur = () => {\n input.onBlur(input.value);\n };\n\n useEffect(() => {\n const finalOptionsTemp = data.map(option => ({\n label: option[labelField],\n value: option[valueField],\n }));\n\n setFinalOptions(finalOptionsTemp);\n }, [labelField, data, valueField]);\n\n const filterOptions = (options, filter) => {\n if (!filter || filter.trim().length < 3) {\n return options;\n }\n\n const searchValue = filter.trim().toLowerCase();\n\n const filtered = options.filter(\n ({ label }) =>\n typeof label === 'string' &&\n label.toLowerCase().includes(searchValue)\n );\n\n if (\n typeof handleSearchEnd === 'function' &&\n filtered.length === 0 &&\n lastSearchValue.current !== searchValue\n ) {\n handleSearchEnd(searchValue, entityType);\n lastSearchValue.current = searchValue;\n }\n\n return filtered;\n };\n\n useEffect(() => {\n if (Array.isArray(input.value)) {\n const initialSelected = input.value.map(val =>\n finalOptions.find(option => option.value === val));\n setSelectedOptions(initialSelected.filter(Boolean));\n }\n }, [input.value, finalOptions]);\n\n return (\n
    \n {displayLabel ? (\n \n ) : (\n <>\n )}\n \n {meta.touched && meta.error && (\n \n {meta.error}\n \n )}\n
    \n );\n};\n\nMultiSearchSelect.propTypes = {\n valueField: PropTypes.string.isRequired,\n labelField: PropTypes.string.isRequired,\n data: PropTypes.array.isRequired,\n input: PropTypes.shape({\n value: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),\n onChange: PropTypes.func,\n onBlur: PropTypes.func,\n }).isRequired,\n id: PropTypes.string,\n label: PropTypes.string,\n meta: PropTypes.shape({\n touched: PropTypes.bool,\n error: PropTypes.string,\n }),\n isDisabled: PropTypes.bool,\n displayLabel: PropTypes.bool,\n entityType: PropTypes.string,\n handleSearchEnd: PropTypes.func,\n};\n\nexport default MultiSearchSelect;\n","// import React, { useState, useEffect } from 'react';\n// import styled from 'styled-components';\n// import PropTypes from 'prop-types';\n//\n// const SelectContainer = styled.div`\n// border-radius: 2px;\n// display: inline-block;\n// position: relative;\n// vertical-align: middle;\n// width: 100%;\n//\n// &:after {\n// border: solid #d8d8d8;\n// border-width: 0 2px 2px 0;\n// content: '';\n// display: inline-block;\n// padding: 4px;\n// pointer-events: none;\n// position: absolute;\n// right: 15px;\n// top: 50%;\n// transform: translateY(-50%) rotate(45deg);\n// }\n// `;\n//\n// const SearchInput = styled.input`\n// width: 100%;\n// height: 36px;\n// border: 1px solid #d8d8d8;\n// border-radius: 2px;\n// padding: 0 13px;\n// font-family: 'lato-regular';\n// font-size: 13px;\n// outline: none;\n// box-sizing: border-box;\n// `;\n//\n// const DropdownList = styled.ul`\n// position: absolute;\n// width: 100%;\n// max-height: 150px;\n// border: 1px solid #d8d8d8;\n// background: white;\n// border-radius: 2px;\n// margin: 0;\n// padding: 0;\n// list-style: none;\n// overflow-y: auto;\n// z-index: 10;\n// `;\n//\n// const DropdownItem = styled.li`\n// padding: 8px 13px;\n// cursor: pointer;\n// &:hover {\n// background: #f0f0f0;\n// }\n// `;\n//\n// const StyledErrorWrapper = styled.span`\n// color: #f00;\n// display: inline-block;\n// font-size: 12px;\n// margin: 8px 0;\n// `;\n//\n// const Spinner = styled.div`\n// display: inline-block;\n// `;\n//\n// const Select = ({\n// id,\n// wrapperClass,\n// className,\n// data = [],\n// label,\n// valueField,\n// labelField,\n// handleChange,\n// defaultSelected = '',\n// hideErrors = false,\n// disabled = false,\n// meta,\n// loader = false,\n// selected = null,\n// }) => {\n// const [searchValue, setSearchValue] = useState('');\n// const [filteredData, setFilteredData] = useState(data);\n// const [isDropdownOpen, setIsDropdownOpen] = useState(false);\n//\n// // Filter data based on search input\n// useEffect(() => {\n// if (searchValue.trim()) {\n// const lowercasedFilter = searchValue.toLowerCase();\n// setFilteredData(\n// data.filter((item) =>\n// item[labelField].toLowerCase().includes(lowercasedFilter)\n// )\n// );\n// } else {\n// setFilteredData(data);\n// }\n// }, [searchValue, data, labelField]);\n//\n// const handleSearchChange = (event) => {\n// setSearchValue(event.target.value);\n// setIsDropdownOpen(true); // Open dropdown when typing\n// };\n//\n// const handleSelect = (value, selectedItem) => {\n// setSearchValue(selectedItem[labelField]);\n// setIsDropdownOpen(false);\n//\n// if (handleChange) {\n// handleChange(value, selectedItem);\n// }\n// };\n//\n// const handleInputFocus = () => {\n// setIsDropdownOpen(true); // Open dropdown on focus\n// };\n//\n// const handleBlur = () => {\n// // Close dropdown on blur with a slight delay to allow click selection\n// setTimeout(() => setIsDropdownOpen(false), 150);\n// };\n//\n// return (\n// \n// \n// {isDropdownOpen && (\n// \n// {filteredData.map((item) => (\n// handleSelect(item[valueField], item)}\n// >\n// {item[labelField]}\n// \n// ))}\n// {filteredData.length === 0 && (\n// No options found\n// )}\n// \n// )}\n// {!hideErrors && meta?.touched && meta.error && (\n// {meta.error}\n// )}\n// {loader ? (\n// \n//
    \n// \n// ) : <>}\n// \n// );\n// };\n//\n// Select.propTypes = {\n// id: PropTypes.string,\n// wrapperClass: PropTypes.string,\n// className: PropTypes.string,\n// data: PropTypes.array.isRequired,\n// label: PropTypes.string,\n// valueField: PropTypes.string.isRequired,\n// labelField: PropTypes.string.isRequired,\n// handleChange: PropTypes.func,\n// defaultSelected: PropTypes.string,\n// hideErrors: PropTypes.bool,\n// disabled: PropTypes.bool,\n// meta: PropTypes.object,\n// loader: PropTypes.bool,\n// };\n//\n// export default Select;\n\n\nimport React, { useState, useEffect } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\nconst SelectContainer = styled.div`\n border-radius: 2px;\n display: inline-block;\n position: relative;\n vertical-align: middle;\n width: 100%;\n\n &:after {\n border: solid #d8d8d8;\n border-width: 0 2px 2px 0;\n content: '';\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n position: absolute;\n right: 15px;\n top: 22px;\n transform: translateY(-50%) rotate(45deg);\n }\n`;\n\nconst SearchInput = styled.input`\n width: 100%;\n height: 36px;\n border: 1px solid #d8d8d8;\n border-radius: 2px;\n padding: 0 13px;\n font-family: 'lato-regular';\n font-size: 13px;\n outline: none;\n box-sizing: border-box;\n`;\n\nconst DropdownList = styled.ul`\n position: absolute;\n width: 100%;\n max-height: 200px;\n border: 1px solid #d8d8d8;\n background: white;\n padding: 0;\n list-style: none;\n overflow-y: auto;\n z-index: 10;\n margin-top: 5px;\n border-radius: 5px;\n box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;\n`;\n\nconst DropdownItem = styled.li`\n padding: 8px 13px;\n cursor: pointer;\n &:hover {\n background: #f0f0f0;\n }\n`;\n\nconst StyledErrorWrapper = styled.span`\n color: #f00;\n display: inline-block;\n font-size: 12px;\n margin: 8px 0;\n`;\n\nconst Spinner = styled.div`\n display: inline-block;\n`;\n\nconst Select = ({\n id,\n wrapperClass,\n className,\n data = [],\n label,\n valueField,\n labelField,\n handleChange,\n defaultSelected = '',\n hideErrors = false,\n disabled = false,\n meta,\n loader = false,\n selected = null,\n handleReset,\n handleSearchEnd = () => {},\n}) => {\n const [searchValue, setSearchValue] = useState('');\n const [filteredData, setFilteredData] = useState(data);\n const [isDropdownOpen, setIsDropdownOpen] = useState(false);\n\n // Set the initial selected value\n useEffect(() => {\n if (defaultSelected) {\n const selectedItem = data.find((item) => item[valueField] === defaultSelected);\n if (selectedItem) {\n setSearchValue(selectedItem[labelField]);\n }\n }\n }, [defaultSelected, data, valueField, labelField]);\n\n // Update the displayed value if `selected` prop changes\n\n // useEffect(() => {\n // if (!!selected) {\n // const selectedItem = data.find((item) => item[valueField] === selected);\n // if (selectedItem) {\n // setSearchValue(selectedItem[labelField]);\n // }else {\n // setSearchValue(\"\");\n // }\n // }else {\n // setSearchValue(\"\");\n // }\n // }, [selected, data, valueField, labelField]);\n\n useEffect(() => {\n const selectedItem = data.find((item) => item[valueField] === selected);\n if (selectedItem) {\n setSearchValue(selectedItem[labelField]);\n } else if (selected !== null) {\n setSearchValue('');\n }\n }, [selected, data, valueField, labelField]);\n\n // Filter data based on search input\n useEffect(() => {\n if (searchValue.trim()) {\n const lowercasedFilter = searchValue.toLowerCase();\n const filtered = data.filter((item) =>\n item[labelField].toLowerCase().includes(lowercasedFilter)\n );\n if (JSON.stringify(filtered) !== JSON.stringify(filteredData)) {\n setFilteredData(filtered);\n }\n } else if (JSON.stringify(data) !== JSON.stringify(filteredData)) {\n setFilteredData(data);\n }\n }, [searchValue, data, labelField, filteredData]);\n\n const handleSearchChange = (event) => {\n handleSearchEnd(event.target.value);\n setSearchValue(event.target.value);\n setIsDropdownOpen(true); // Open dropdown when typing\n if(event.target.value === \"\"){\n handleReset();\n }\n };\n\n const handleSelect = (value, selectedItem) => {\n setSearchValue(selectedItem[labelField]);\n setIsDropdownOpen(false);\n\n if (handleChange) {\n handleChange(value, selectedItem);\n }\n };\n\n const handleInputFocus = () => {\n setIsDropdownOpen(true); // Open dropdown on focus\n };\n\n const handleBlur = () => {\n // Close dropdown on blur with a slight delay to allow click selection\n setTimeout(() => setIsDropdownOpen(false), 150);\n };\n\n return (\n \n \n {isDropdownOpen && (\n e.preventDefault()}>\n {filteredData.map((item) => (\n handleSelect(item[valueField], item)}\n >\n {item[labelField]}\n \n ))}\n {filteredData.length === 0 && (\n No options found\n )}\n \n )}\n {!hideErrors && meta?.touched && meta.error && (\n {meta.error}\n )}\n {/* {loader && !searchValue ? ( */}\n {/* */}\n {/*
    */}\n {/* */}\n {/* ) : null} */}\n \n );\n};\n\nSelect.propTypes = {\n id: PropTypes.string,\n wrapperClass: PropTypes.string,\n className: PropTypes.string,\n data: PropTypes.array.isRequired,\n label: PropTypes.string,\n valueField: PropTypes.string.isRequired,\n labelField: PropTypes.string.isRequired,\n handleChange: PropTypes.func,\n defaultSelected: PropTypes.string,\n hideErrors: PropTypes.bool,\n disabled: PropTypes.bool,\n meta: PropTypes.object,\n loader: PropTypes.bool,\n selected: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n handleSearchEnd: PropTypes.func,\n handleReset: PropTypes.func,\n};\n\nexport default Select;\n\n","export const CUSTOMER_AGENT_INFO_ENUM = [\n { key: 'reportedDate', label: 'Reported Date' },\n { key: 'cbCreatedDate', label: 'Chargeback Created Date' },\n { key: 'rrnNumber', label: 'RRN No.' },\n { key: 'chagebackLevel', label: 'Chageback Level' },\n { key: 'dueDate', label: 'Due Date' },\n { key: 'reasonCode', label: 'Reason Code' },\n { key: 'reasonCodeMessage', label: 'Reason Code Message' },\n { key: 'chargebackStatus', label: 'Chargeback Status' },\n { key: 'chargebackMessage', label: 'Message' },\n { key: 'docs', label: 'Documents', component: 'DocumentView' },\n];\n\nexport const CHARGEBACK_SEARCH_OPTIONS = [\n {\n label: 'Transaction ID',\n value: 'TRANSACTION_ID',\n },\n];\n\nexport const MERCHANT_RESPONSE_INFO_ENUM = [\n {\n key: 'status',\n label: 'Status',\n },\n { key: 'amount', label: 'Amount' },\n { key: 'date', label: 'Date' },\n { key: 'merchantRemarks', label: 'Remarks' },\n { key: 'docs', label: 'Documents', component: 'DocumentView' },\n];\n\nexport const DEFEND_TRANSACTION_INFO_ENUM = [\n { key: 'amount', label: 'Amount' },\n {\n key: 'orderId',\n label: 'Order ID',\n },\n {\n key: 'dateTime',\n label: 'Date',\n },\n];\n\nexport const UPDATE_STATUS_OPTIONS = {\n SUBMITTED_TO_BANK: [\n {\n name: 'Close in customer favour',\n value: 'CLOSED_IN_CUSTOMER_FAVOUR',\n checked: false,\n },\n {\n name: 'Close in merchant favour',\n value: 'CLOSED_IN_MERCHANT_FAVOUR',\n checked: false,\n },\n {\n name: 'Insufficient Document',\n value: 'INSUFFICIENT_DOCUMENT',\n checked: false,\n },\n ],\n CLOSED_IN_CUSTOMER_FAVOUR: [],\n CLOSED_IN_MERCHANT_FAVOUR: [],\n PENDING_RESPONSE: [],\n PENDING_DOC_REVIEW: [\n {\n name: 'Submit to bank',\n value: 'SUBMITTED_TO_BANK',\n checked: false,\n },\n {\n name: 'Insufficient Document',\n value: 'INSUFFICIENT_DOCUMENT',\n checked: false,\n },\n ],\n CLOSURE_OPTIONS: [\n {\n name: 'Close in customer favour',\n value: 'CLOSED_IN_CUSTOMER_FAVOUR',\n checked: false,\n },\n {\n name: 'Close in merchant favour',\n value: 'CLOSED_IN_MERCHANT_FAVOUR',\n checked: false,\n },\n ],\n};\n\nexport const UPDATE_STATUS_OPTIONS_NEW_LEVEL = {\n SUBMITTED_TO_BANK: [\n {\n name: 'Insufficient Document',\n value: 'INSUFFICIENT_DOCUMENT',\n checked: false,\n },\n ],\n CLOSED_IN_CUSTOMER_FAVOUR: [],\n CLOSED_IN_MERCHANT_FAVOUR: [],\n PENDING_RESPONSE: [\n {\n name: 'Insufficient Document',\n value: 'INSUFFICIENT_DOCUMENT',\n checked: false,\n },\n {\n name: 'Submit to bank',\n value: 'SUBMITTED_TO_BANK',\n checked: false,\n },\n {\n name: 'Close in customer favour',\n value: 'CLOSED_IN_CUSTOMER_FAVOUR',\n checked: false,\n },\n ],\n PENDING_DOC_REVIEW: [\n {\n name: 'Submit to bank',\n value: 'SUBMITTED_TO_BANK',\n checked: false,\n },\n {\n name: 'Insufficient Document',\n value: 'INSUFFICIENT_DOCUMENT',\n checked: false,\n },\n ],\n};\n\nexport const DEADLINE_OPTIONS = [\n {\n name: '1 Day',\n value: 1,\n checked: false,\n },\n {\n name: '2 Days',\n value: 2,\n checked: false,\n },\n {\n name: '3 Days',\n value: 3,\n checked: false,\n },\n {\n name: '4 Days',\n value: 4,\n checked: false,\n },\n];\n","// Importing components\nimport { Accordion, Description, ConditionalComponent } from 'components';\nimport { Button } from 'components/form-elements';\n\n// Importing Constants\nimport {\n CUSTOMER_AGENT_INFO_ENUM,\n MERCHANT_RESPONSE_INFO_ENUM,\n} from './constant';\n\n// Importing Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Importing styles\nimport './chargeBackAccordion.scss';\nimport {\n CHARGEBACK_STATUS_ENUM,\n CHARGEBACK_TERMINAL_STATE,\n} from '../../utils/constants/commonValues';\n\n/**\n * ChargeBackAccordion Component\n * @param {Object} props - The props object containing chargebackDetails and chargebackIndex\n * @param {Object} props.chargebackDetails - Details of the chargeback\n * @param {number} props.chargebackIndex - Index of the chargeback\n * @returns {JSX.Element} ChargeBackAccordion component JSX\n */\nconst ChargeBackAccordion = ({\n chargebackDetails,\n chargebackIndex,\n handleChargebackExtensionClick,\n handleChargebackReRaiseClicked,\n handleChargebackFullyAccept,\n handleChargebackDefend,\n currentChargebackId,\n userDetails,\n}) => {\n const {\n customerAgentData,\n merchantData,\n allowChargebackReRaise,\n } = chargebackDetails;\n\n const isMerchantActionVisibile =\n chargebackDetails.currentChargebackStatus ===\n CHARGEBACK_STATUS_ENUM.PENDING_RESPONSE.value ||\n chargebackDetails.currentChargebackStatus ===\n CHARGEBACK_STATUS_ENUM.INSUFFICIENT_DOCUMENT.value;\n\n let customerAgentResponseData = [];\n let merchantResponseData = [];\n\n // Generating customer agent response data\n if (customerAgentData) {\n customerAgentResponseData = CUSTOMER_AGENT_INFO_ENUM.map(item => {\n return {\n ...item,\n children: customerAgentData[item.key],\n };\n });\n }\n\n // Generating merchant response data\n if (merchantData) {\n merchantResponseData = MERCHANT_RESPONSE_INFO_ENUM.map(item => {\n return {\n ...item,\n children: merchantData[item.key],\n };\n });\n }\n\n return (\n
    \n {/* Rendering Accordion component */}\n \n \n Chargeback Level - L{chargebackIndex + 1}{' '}\n \n \n \n \n {customerAgentData.daysRemaining} days\n remaining\n \n \n\n \n \n handleChargebackExtensionClick(\n chargebackDetails\n )\n }\n />\n \n \n \n }\n lowerComponent={\n <>\n {/* Rendering Description component for customer/agent response */}\n \n\n \n <>\n
    \n {/* Rendering Description component for merchant response */}\n \n \n \n\n \n <>\n
    \n {/* Rendering Re Raise component */}\n
    \n
    \n Take Action on Chargeback\n
    \n \n handleChargebackReRaiseClicked(\n chargebackDetails\n )\n }\n />\n
    \n \n \n\n \n
    \n {/* Rendering Re Raise component */}\n
    \n
    \n Take Action on Chargeback\n
    \n \n handleChargebackFullyAccept(\n chargebackDetails\n )\n }\n />\n \n handleChargebackDefend(\n chargebackDetails\n )\n }\n />\n
    \n \n \n }\n />\n
    \n );\n};\n\n// PropType validation for ChargeBackAccordion component\nChargeBackAccordion.propTypes = {\n chargebackDetails: PropTypes.object,\n chargebackIndex: PropTypes.number,\n currentChargebackId: PropTypes.string,\n handleChargebackExtensionClick: PropTypes.func,\n handleChargebackReRaiseClicked: PropTypes.func,\n handleChargebackFullyAccept: PropTypes.func,\n handleChargebackDefend: PropTypes.func,\n userDetails: PropTypes.object,\n};\n\nexport default ChargeBackAccordion;\n","export const FETCH_CHARGEBACK_DATA_REQUEST = 'FETCH_CHARGEBACK_DATA_REQUEST';\nexport const FETCH_CHARGEBACK_DATA_SUCCESS = 'FETCH_CHARGEBACK_DATA_SUCCESS';\nexport const FETCH_CHARGEBACK_DATA_FAILURE = 'FETCH_CHARGEBACK_DATA_FAILURE';\n\nexport const FETCH_CHARGEBACK_DETAILS_REQUEST =\n 'FETCH_CHARGEBACK_DETAILS_REQUEST';\nexport const FETCH_CHARGEBACK_DETAILS_SUCCESS =\n 'FETCH_CHARGEBACK_DETAILS_SUCCESS';\nexport const FETCH_CHARGEBACK_DETAILS_FAILURE =\n 'FETCH_CHARGEBACK_DETAILS_FAILURE';\n\nexport const VALIDATE_CHARGEBACK_REQUEST = 'VALIDATE_CHARGEBACK_REQUEST';\nexport const VALIDATE_CHARGEBACK_SUCCESS = 'VALIDATE_CHARGEBACK_SUCCESS';\nexport const VALIDATE_CHARGEBACK_FAILURE = 'VALIDATE_CHARGEBACK_FAILURE';\n\nexport const RAISE_CHARGEBACK_REQUEST = 'RAISE_CHARGEBACK_REQUEST';\nexport const RAISE_CHARGEBACK_SUCCESS = 'RAISE_CHARGEBACK_SUCCESS';\nexport const RAISE_CHARGEBACK_FAILURE = 'RAISE_CHARGEBACK_FAILURE';\n\nexport const CHARGEBACK_AGENT_ACTION_REQUEST =\n 'CHARGEBACK_AGENT_ACTION_REQUEST';\nexport const CHARGEBACK_AGENT_ACTION_SUCCESS =\n 'CHARGEBACK_AGENT_ACTION_SUCCESS';\nexport const CHARGEBACK_AGENT_ACTION_FAILURE =\n 'CHARGEBACK_AGENT_ACTION_FAILURE';\n\nexport const CHARGEBACK_MERCHANT_ACTION_REQUEST =\n 'CHARGEBACK_MERCHANT_ACTION_REQUEST';\nexport const CHARGEBACK_MERCHANT_ACTION_SUCCESS =\n 'CHARGEBACK_MERCHANT_ACTION_SUCCESS';\nexport const CHARGEBACK_MERCHANT_ACTION_FAILURE =\n 'CHARGEBACK_MERCHANT_ACTION_FAILURE';\n\nexport const GENERATE_CHARGEBACK_REPORT_REQUEST =\n 'GENERATE_CHARGEBACK_REPORT_REQUEST';\nexport const GENERATE_CHARGEBACK_REPORT_SUCCESS =\n 'GENERATE_CHARGEBACK_REPORT_SUCCESS';\nexport const GENERATE_CHARGEBACK_REPORT_ERROR =\n 'GENERATE_CHARGEBACK_REPORT_ERROR';\nexport const GET_ACTIVE_CHARGEBACK_REPORT_REQUEST =\n 'GET_ACTIVE_CHARGEBACK_REPORT_REQUEST';\nexport const GET_ACTIVE_CHARGEBACK_REPORT_SUCCESS =\n 'GET_ACTIVE_CHARGEBACK_REPORT_SUCCESS';\nexport const GET_ACTIVE_CHARGEBACK_REPORT_ERROR =\n 'GET_ACTIVE_CHARGEBACK_REPORT_ERROR';\nexport const DOWNLOAD_CHARGEBACK_REPORT_REQUEST =\n 'DOWNLOAD_CHARGEBACK_REPORT_REQUEST';\nexport const DOWNLOAD_CHARGEBACK_REPORT_SUCCESS =\n 'DOWNLOAD_CHARGEBACK_REPORT_SUCCESS';\nexport const DOWNLOAD_CHARGEBACK_REPORT_ERROR =\n 'DOWNLOAD_CHARGEBACK_REPORT_ERROR';\n\n// refund dispute status constants (possibilities).\nexport const REFUND_DISPUTE_REQUEST =\n 'REFUND_DISPUTE_REQUEST';\nexport const REFUND_DISPUTE_SUCCESS =\n 'REFUND_DISPUTE_SUCCESS';\nexport const REFUND_DISPUTE_FAILURE =\n 'REFUND_DISPUTE_FAILURE';\n\n\nexport const CHECK_DISPUTE_STATUS_REQUEST = 'CHECK_DISPUTE_STATUS_REQUEST';\nexport const CHECK_DISPUTE_STATUS_SUCCESS = 'CHECK_DISPUTE_STATUS_SUCCESS';\nexport const CHECK_DISPUTE_STATUS_FAILURE = 'CHECK_DISPUTE_STATUS_FAILURE';\n\n\nexport const RESET_FIND_TRANSACTION_FORM = 'RESET_FIND_TRANSACTION_FORM';\nexport const RESET_RAISE_CHARGEBACK_FORM = 'RESET_RAISE_CHARGEBACK_FORM';\n","// constants\nimport {\n GENERATE_CHARGEBACK_REPORT_ERROR,\n GENERATE_CHARGEBACK_REPORT_REQUEST,\n GENERATE_CHARGEBACK_REPORT_SUCCESS,\n GET_ACTIVE_CHARGEBACK_REPORT_ERROR,\n GET_ACTIVE_CHARGEBACK_REPORT_REQUEST,\n GET_ACTIVE_CHARGEBACK_REPORT_SUCCESS,\n DOWNLOAD_CHARGEBACK_REPORT_ERROR,\n DOWNLOAD_CHARGEBACK_REPORT_REQUEST,\n DOWNLOAD_CHARGEBACK_REPORT_SUCCESS,\n FETCH_CHARGEBACK_DATA_REQUEST,\n FETCH_CHARGEBACK_DATA_SUCCESS,\n FETCH_CHARGEBACK_DATA_FAILURE,\n FETCH_CHARGEBACK_DETAILS_REQUEST,\n FETCH_CHARGEBACK_DETAILS_SUCCESS,\n FETCH_CHARGEBACK_DETAILS_FAILURE,\n VALIDATE_CHARGEBACK_REQUEST,\n VALIDATE_CHARGEBACK_SUCCESS,\n VALIDATE_CHARGEBACK_FAILURE,\n RAISE_CHARGEBACK_REQUEST,\n RAISE_CHARGEBACK_SUCCESS,\n RAISE_CHARGEBACK_FAILURE,\n CHARGEBACK_AGENT_ACTION_REQUEST,\n CHARGEBACK_AGENT_ACTION_SUCCESS,\n CHARGEBACK_AGENT_ACTION_FAILURE,\n CHARGEBACK_MERCHANT_ACTION_REQUEST,\n CHARGEBACK_MERCHANT_ACTION_SUCCESS,\n CHARGEBACK_MERCHANT_ACTION_FAILURE,\n RESET_FIND_TRANSACTION_FORM,\n RESET_RAISE_CHARGEBACK_FORM,\n REFUND_DISPUTE_REQUEST,\n REFUND_DISPUTE_SUCCESS,\n REFUND_DISPUTE_FAILURE,\n CHECK_DISPUTE_STATUS_REQUEST,\n CHECK_DISPUTE_STATUS_SUCCESS,\n CHECK_DISPUTE_STATUS_FAILURE,\n} from './chargeback.constants';\n\nexport const fetchChargeBackDataRequest = data => ({\n type: FETCH_CHARGEBACK_DATA_REQUEST,\n payload: data,\n});\nexport const fetchChargeBackDataSuccess = data => ({\n type: FETCH_CHARGEBACK_DATA_SUCCESS,\n payload: data,\n});\nexport const fetchChargeBackDataFailure = error => ({\n type: FETCH_CHARGEBACK_DATA_FAILURE,\n payload: error,\n});\n\nexport const fetchDisputeStatusRequest = data => ({\n type: CHECK_DISPUTE_STATUS_REQUEST,\n payload: data,\n});\nexport const fetchDisputeStatusSuccess = data => ({\n type: CHECK_DISPUTE_STATUS_SUCCESS,\n payload: data,\n});\nexport const fetchDisputeStatusFailure = error => ({\n type: CHECK_DISPUTE_STATUS_FAILURE,\n payload: error,\n});\n\nexport const fetchChargeBackDetailsRequest = data => ({\n type: FETCH_CHARGEBACK_DETAILS_REQUEST,\n payload: data,\n});\nexport const fetchChargeBackDetailsSuccess = data => ({\n type: FETCH_CHARGEBACK_DETAILS_SUCCESS,\n payload: data,\n});\nexport const fetchChargeBackDetailsFailure = error => ({\n type: FETCH_CHARGEBACK_DETAILS_FAILURE,\n payload: error,\n});\n\nexport const validateChargeBackRequest = data => ({\n type: VALIDATE_CHARGEBACK_REQUEST,\n payload: data,\n});\nexport const validateChargeBackSuccess = data => ({\n type: VALIDATE_CHARGEBACK_SUCCESS,\n payload: data,\n});\nexport const validateChargeBackFailure = error => ({\n type: VALIDATE_CHARGEBACK_FAILURE,\n payload: error,\n});\n\nexport const raiseChargeBackRequest = data => ({\n type: RAISE_CHARGEBACK_REQUEST,\n payload: data,\n});\nexport const raiseChargeBackSuccess = data => ({\n type: RAISE_CHARGEBACK_SUCCESS,\n payload: data,\n});\nexport const raiseChargeBackFailure = error => ({\n type: RAISE_CHARGEBACK_FAILURE,\n payload: error,\n});\n\nexport const chargeBackAgentActionRequest = data => ({\n type: CHARGEBACK_AGENT_ACTION_REQUEST,\n payload: data,\n});\nexport const chargeBackAgentActionSuccess = data => ({\n type: CHARGEBACK_AGENT_ACTION_SUCCESS,\n payload: data,\n});\nexport const chargeBackAgentActionFailure = error => ({\n type: CHARGEBACK_AGENT_ACTION_FAILURE,\n payload: error,\n});\n\nexport const chargeBackMerchantActionRequest = data => ({\n type: CHARGEBACK_MERCHANT_ACTION_REQUEST,\n payload: data,\n});\nexport const chargeBackMerchantActionSuccess = data => ({\n type: CHARGEBACK_MERCHANT_ACTION_SUCCESS,\n payload: data,\n});\nexport const chargeBackMerchantActionFailure = error => ({\n type: CHARGEBACK_MERCHANT_ACTION_FAILURE,\n payload: error,\n});\n\n// REPORTING Actions\nexport const downloadChargebackReportRequest = payload => ({\n type: DOWNLOAD_CHARGEBACK_REPORT_REQUEST,\n payload,\n});\n\nexport const downloadChargebackReportSuccess = payload => ({\n type: DOWNLOAD_CHARGEBACK_REPORT_SUCCESS,\n payload,\n});\n\nexport const downloadChargebackReportError = payload => ({\n type: DOWNLOAD_CHARGEBACK_REPORT_ERROR,\n payload,\n});\n\nexport const generateChargebackReportRequest = payload => ({\n type: GENERATE_CHARGEBACK_REPORT_REQUEST,\n payload,\n});\n\nexport const generateChargebackReportSuccess = payload => ({\n type: GENERATE_CHARGEBACK_REPORT_SUCCESS,\n payload,\n});\n\nexport const generateChargebackReportError = payload => ({\n type: GENERATE_CHARGEBACK_REPORT_ERROR,\n payload,\n});\n\nexport const getActiveChargebackReportRequest = hideLoader => ({\n type: GET_ACTIVE_CHARGEBACK_REPORT_REQUEST,\n hideLoader,\n});\n\nexport const getActiveChargebackReportSuccess = payload => ({\n type: GET_ACTIVE_CHARGEBACK_REPORT_SUCCESS,\n payload,\n});\n\nexport const getActiveChargebackReportError = payload => ({\n type: GET_ACTIVE_CHARGEBACK_REPORT_ERROR,\n payload,\n});\n\nexport const resetFindTransactionForm = () => ({\n type: RESET_FIND_TRANSACTION_FORM,\n});\n\nexport const resetRaiseChargebackForm = () => ({\n type: RESET_RAISE_CHARGEBACK_FORM,\n});\n\n// describe events and changes that need to occur in the application.\nexport const fetchRefundDisputeRequest = data => ({\n type: REFUND_DISPUTE_REQUEST,\n payload: data,\n\n});\nexport const fetchRefundDisputeSuccess = data => ({\n type: REFUND_DISPUTE_SUCCESS,\n payload: data,\n});\nexport const fetchRefundDisputeFailure = error => ({\n type: REFUND_DISPUTE_FAILURE,\n payload: error,\n});\n","// Importing Components\nimport { FormElems, ConditionalComponent, Alert } from 'components';\n\n// Importing Actions\nimport {\n validateChargeBackRequest,\n resetFindTransactionForm,\n resetRaiseChargebackForm,\n} from '../../containers/Chargeback/redux/chargeback.actions';\n\n// Importing Validators\nimport { findTransactionFormValidator } from './validators';\n\n// Importing Constants\nimport { CHARGEBACK_SEARCH_OPTIONS } from './constant';\n\n// Importing Libraries\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, reset } from 'redux-form';\nimport { connect } from 'react-redux';\nimport { compose, bindActionCreators } from 'redux';\n\nimport './findTransactionForm.scss';\n\nconst FindTransactionForm = ({\n handleSubmit,\n formData,\n onSuccess,\n onCancel,\n actions,\n chargebackStoreData,\n}) => {\n const { selectedTransactionDetails } = chargebackStoreData;\n\n useEffect(() => {\n if (selectedTransactionDetails?.isSuccess) {\n onSuccess(selectedTransactionDetails);\n }\n\n return () => {\n actions.resetFindTransactionForm();\n actions.resetRaiseChargebackForm();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [selectedTransactionDetails?.isSuccess]);\n\n const handleFindTransactionFormSubmit = values => {\n actions.validateChargeBackRequest({\n criteria: {\n type: values.searchParameter,\n identifier: values.identifier,\n },\n });\n };\n\n return (\n \n
    \n \n
    \n
    \n \n
    \n\n \n \n {selectedTransactionDetails?.error?.errorMessage}\n \n \n\n
    \n \n \n
    \n \n );\n};\n\nconst mapStateToProps = ({ form, chargebackData }) => ({\n formData: form['find-transaction-form'],\n chargebackStoreData: chargebackData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n validateChargeBackRequest,\n resetFindTransactionForm,\n resetRaiseChargebackForm,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'find-transaction-form',\n enableReinitialize: true,\n validate: findTransactionFormValidator,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(FindTransactionForm);\n\n// PropType validation for UpdateChargeBackStatusForm component\nFindTransactionForm.propTypes = {\n formData: PropTypes.object,\n chargebackStoreData: PropTypes.object,\n actions: PropTypes.object,\n onSuccess: PropTypes.func,\n onCancel: PropTypes.func,\n handleSubmit: PropTypes.func,\n};\n","import { validators } from '../../utils/validators';\n\nconst findTransactionFormValidator = values => {\n\n const { REQUIRE } = validators;\n const errors = {};\n\n if (REQUIRE(values?.identifier)) {\n errors.identifier = `Please enter ${values?.searchParameter}`;\n }\n\n return errors;\n};\n\n\nconst raiseChargebackFormValidator = values => {\n\n const { REQUIRE } = validators;\n const errors = {};\n\n if (REQUIRE(values?.reasonCode)) {\n errors.reasonCode = `Please select reason code`;\n }\n\n\n if (REQUIRE(values?.rrnNumber)) {\n errors.rrnNumber = `Please select RRN Number`;\n }\n\n\n if (REQUIRE(values?.reportedDate)) {\n errors.reportedDate = `Please Select reported Date`;\n }\n\n\n // if (!values.files || values.files.length <= 0) {\n // errors.files = `Please enter atlease in file`;\n // }\n\n\n return errors;\n};\n\n\n\nexport { raiseChargebackFormValidator, findTransactionFormValidator };\n","// Importing Components\nimport { FormElems, ConditionalComponent, Alert, DatePicker, FakeLoader } from 'components';\n\n// Importing Constants\nimport { CHARGEBACK_STATUS_ENUM, MAX_25MB, MAX_5MB } from '../../utils/constants/commonValues';\n\n// Importing Actions\nimport {\n validateChargeBackRequest,\n raiseChargeBackRequest,\n resetRaiseChargebackForm,\n} from '../../containers/Chargeback/redux/chargeback.actions';\nimport { CHARGEBACK_SEARCH_OPTIONS } from './constant';\n\n// Importing Validators\nimport { raiseChargebackFormValidator } from './validators';\n\n// Importing Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change } from 'redux-form';\nimport { connect } from 'react-redux';\nimport { compose, bindActionCreators } from 'redux';\nimport moment from 'moment';\n\nimport './raiseChargebackForm.scss';\n\nconst RaiseChargebackForm = ({\n handleSubmit,\n formData,\n onSuccess,\n onCancel,\n actions,\n chargebackStoreData,\n staticData,\n initialValues,\n transactionData,\n}) => {\n const { raisedChargebackData } = chargebackStoreData;\n const { chargebackStaticInfo } = staticData;\n const { transactionModeListMap } = chargebackStaticInfo;\n let REASON_CODE_OPTIONS = [];\n let REASON_MESSAGE_OPTIONS = [];\n\n const [chargebackReportDate, setChargebackReportDate] = useState(\n moment().endOf('day')\n );\n\n const [focusedInput, setFocusedInput] = useState(null);\n const [fileList, setFileList] = useState([]);\n\n const getReasonCodeType = (paymentType, transactionSubMode) => {\n\n const NETWORK_MAPPING = {\n VI: \"VISA\",\n MC: \"MASTERCARD\",\n RPAY: \"RUPAY\",\n AMEX: \"AMEX\",\n DINR: \"DINERS\",\n DISCOVER: \"DISCOVER\"\n }\n\n const subMode = NETWORK_MAPPING[transactionSubMode] ? NETWORK_MAPPING[transactionSubMode] : transactionSubMode;\n\n if (paymentType && [\"UPI\"].includes(paymentType)) {\n return paymentType;\n }\n\n if (subMode && transactionModeListMap[subMode] && transactionModeListMap[subMode].length > 0) {\n return subMode;\n }\n\n return 'OTHER'\n }\n\n const PaymentType = getReasonCodeType(initialValues?.paymentType, initialValues?.transactionSubMode)\n\n if (transactionModeListMap && transactionModeListMap[PaymentType]) {\n REASON_CODE_OPTIONS = transactionModeListMap[PaymentType].map(\n (item, index) => {\n return {\n label: item?.reasonCode,\n value: item?.reasonCode,\n };\n }\n );\n\n\n REASON_MESSAGE_OPTIONS = transactionModeListMap[PaymentType].map(\n (item, index) => {\n return {\n label: item?.reasonMessage,\n value: item?.reasonMessage,\n };\n }\n );\n }\n\n useEffect(() => {\n if (\n formData?.values?.reasonCode &&\n transactionModeListMap[PaymentType]\n ) {\n const selectedReason = transactionModeListMap[PaymentType].find(\n item => item.reasonCode === formData?.values?.reasonCode\n );\n\n const reasonMessage = selectedReason?.reasonMessage;\n\n actions.change(\n 'raise-chargeback-form',\n 'reasonCodeMsg',\n reasonMessage\n );\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [formData?.values?.reasonCode]);\n\n useEffect(() => {\n if (raisedChargebackData?.isChargebackRaisedSuccess) {\n actions.resetRaiseChargebackForm()\n onSuccess();\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [raisedChargebackData?.isChargebackRaisedSuccess]);\n\n const handleRaiseChargebackFormSubmit = values => {\n actions.raiseChargeBackRequest(values);\n };\n\n const handleRaiseChargebackCancel = () => {\n actions.resetRaiseChargebackForm()\n if (onCancel && typeof onCancel === \"function\") {\n onCancel(actions.resetRaiseChargebackForm);\n }\n }\n\n return (\n \n {raisedChargebackData?.isLoading ? : <>}\n
    \n
    \n {\n return moment().diff(day.endOf('day'), 'days') < 0;\n }}\n />\n
    \n
    \n \n
    \n
    \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n setFileList(files)}\n fileList={fileList}\n accept=\".pdf, .doc, .docx, .xls, .xlsx, .jpg, .jpeg, .png, .gif, .zip, .rar, .7zip\"\n subtitle=\"Maximum file size 25MB. Only PDF, doc, excel, .zip and image files are accepted\"\n component={FormElems.MultiUpload}\n maxSize={MAX_25MB}\n />\n
    \n\n \n \n {raisedChargebackData?.error?.errorMessage}\n \n \n\n
    \n \n \n
    \n \n );\n};\n\nconst mapStateToProps = ({ form, chargebackData, staticData }) => ({\n formData: form['raise-chargeback-form'],\n chargebackStoreData: chargebackData,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n validateChargeBackRequest,\n raiseChargeBackRequest,\n resetRaiseChargebackForm,\n change,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'raise-chargeback-form',\n enableReinitialize: true,\n validate: raiseChargebackFormValidator,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(RaiseChargebackForm);\n\n// PropType validation for UpdateChargeBackStatusForm component\nRaiseChargebackForm.propTypes = {\n formData: PropTypes.object,\n chargebackStoreData: PropTypes.object,\n staticData: PropTypes.object,\n actions: PropTypes.object,\n onSuccess: PropTypes.func,\n onCancel: PropTypes.func,\n handleSubmit: PropTypes.func,\n isTransactionPage: PropTypes.bool,\n transactionData: PropTypes.object,\n};\n","// Importing constants\nimport closeImgIcon from 'static/images/close.svg';\n\n// Importing Components\nimport { Button } from 'components/form-elements';\nimport { Modal, ConditionalComponent } from 'components';\nimport FindTransactionForm from './FindTransactionForm';\nimport RaiseChargebackForm from './RaiseChargebackForm';\n\n// Importing Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\n\nconst RaiseChargeBackComponent = ({\n isTransactionPage,\n transactionPageData,\n onRaiseSuccess,\n raiseChargeBackRequest,\n}) => {\n const initialDataTransactionPage = {\n merchantId: transactionPageData?.merchantId,\n date: transactionPageData?.transactionDateAndTime,\n orderId: transactionPageData?.orderId,\n amount: transactionPageData?.amount,\n dueDate: moment()\n .add(4, 'days')\n .set({ hour: 18, minute: 30, second: 0 })\n .format('YYYY-MM-DD HH:mm:ss'),\n cbStatus: 'NEW',\n rrnNumber: transactionPageData?.rrnArn,\n remarks: 'remarks',\n cbLevel: 'L1',\n reportedDate: moment().startOf('day'),\n txnId: transactionPageData?.transactionReferenceNumber,\n merchantName: transactionPageData?.merchantName,\n paymentType: transactionPageData?.paymentMode,\n transactionSubMode: transactionPageData?.transactionSubMode,\n };\n\n const [currentStep, setCurrentStep] = useState(isTransactionPage ? 2 : 1);\n const [isModalOpen, setIsModalOpen] = useState(false);\n const [\n initialRaiseChargebackData,\n setInitialRaiseChargebackData,\n ] = useState(isTransactionPage ? initialDataTransactionPage : {});\n\n useEffect(() => {\n if (!isModalOpen && !isTransactionPage) {\n setCurrentStep(1);\n }\n }, [isModalOpen, isTransactionPage]);\n\n const handleRaiseChargeBackClick = () => {\n setIsModalOpen(true);\n };\n\n const handleValidateFormSubmit = selectedTransactionDetails => {\n setCurrentStep(2);\n setInitialRaiseChargebackData({\n merchantId: selectedTransactionDetails?.merchantCode,\n date: new Date().toDateString(),\n orderId: selectedTransactionDetails?.orderId,\n amount: selectedTransactionDetails?.amount,\n dueDate: moment()\n .add(4, 'days')\n .set({ hour: 18, minute: 30, second: 0 })\n .format('YYYY-MM-DD HH:mm:ss'),\n cbStatus: 'NEW',\n rrnNumber: selectedTransactionDetails?.rrn,\n remarks: 'remarks',\n cbLevel: 'L1',\n reportedDate: moment().startOf('day'),\n txnId: selectedTransactionDetails?.txnId,\n merchantName: selectedTransactionDetails?.merchantName,\n paymentType: selectedTransactionDetails?.paymentMode,\n transactionSubMode: selectedTransactionDetails?.transactionSubMode,\n });\n };\n\n const handleRaiseChargebackFormSubmit = () => {\n setIsModalOpen(false);\n if (onRaiseSuccess && typeof onRaiseSuccess === 'function') {\n onRaiseSuccess();\n }\n };\n\n const handleModalClose = () => {\n setIsModalOpen(false);\n if (\n raiseChargeBackRequest &&\n typeof raiseChargeBackRequest === 'function'\n ) {\n raiseChargeBackRequest();\n }\n };\n\n return (\n <>\n
    \n \n
    \n \n
    \n

    Raise Chargeback

    \n \n
    \n
    \n \n \n \n\n \n {\n setIsModalOpen(false);\n resetRaiseChargebackForm();\n }}\n />\n \n
    \n \n \n );\n};\n\n// PropType validation for Chargeback component\nRaiseChargeBackComponent.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n chargebackData: PropTypes.object,\n isTransactionPage: PropTypes.bool,\n transactionPageData: PropTypes.object,\n onRaiseSuccess: PropTypes.func,\n};\n\nexport default RaiseChargeBackComponent;\n","/* eslint-disable indent */\n// Components\nimport { RaiseChargeBackComponent } from '../ChargebackComponents';\nimport { ConditionalComponent } from '../index';\nimport {\n TRANSACTION_STATUS,\n TRANSACTION_TYPE,\n} from '../../utils/constants/commonValues';\n\n// Libraries\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './transactionForm.scss';\nimport { isAdminUser } from '../../utils/helperMethods';\n\nconst TransactionForm = props => {\n const {\n data,\n statusData,\n fetchStatus,\n getRefundTxnRequest,\n refundTxnData,\n auth,\n raiseChargeBackRequest,\n } = props;\n const getStatus = () => {\n const request = {\n merchantId: data.merchantId || '',\n merchantTxnId: data.orderId || '',\n txnReferenceId: data.transactionReferenceNumber || '',\n };\n fetchStatus(request);\n };\n useEffect(() => {\n getRefundTxnRequest({\n entityTransactionId: statusData.orderId || data.orderId,\n transactionId:\n statusData.transactionReferenceNumber ||\n data.transactionReferenceNumber,\n });\n }, [\n data.orderId,\n data.transactionReferenceNumber,\n getRefundTxnRequest,\n statusData.orderId,\n statusData.transactionReferenceNumber,\n ]);\n\n return (\n <>\n
    \n
    \n
    \n

    Customer Name

    \n

    {data.customerName}

    \n
    \n
    \n

    Customer ID

    \n

    {data.customerID}

    \n
    \n
    \n
    \n
    \n

    FCPG TXN ID

    \n

    \n {statusData.transactionReferenceNumber ||\n data.transactionReferenceNumber}\n

    \n
    \n
    \n

    Merchant TXN ID

    \n

    \n {statusData.orderId || data.orderId}\n

    \n
    \n
    \n
    \n
    \n

    ARN/RRN

    \n

    {data.rrnArn}

    \n
    \n
    \n

    Date Time

    \n

    \n {data.transactionDateAndTime}\n

    \n
    \n
    \n
    \n {data.paymentMode === 'UPI' ? (\n
    \n

    Payee VPA

    \n
    {data.payeeVpa}
    \n
    \n ) : (\n
    \n

    Card Number

    \n
    \n {data.maskedCardNumber}\n
    \n
    \n )}\n\n {data.paymentMode === 'UPI' && (\n
    \n

    Payer VPA

    \n
    {data.payerVpa}
    \n
    \n )}\n
    \n
    \n
    \n

    Amount

    \n

    \n {statusData.transactionAmount ||\n data.transactionAmount}\n

    \n
    \n
    \n

    Payment Mode

    \n

    {data.paymentMode}

    \n
    \n
    \n

    Transaction Type

    \n

    \n {statusData.transactionType || data.transactionType}\n

    \n
    \n
    \n {data.paymentMode === 'EMI_CREDIT_CARD' ? (\n <>\n
    \n
    \n

    Loan Amount

    \n

    {data.loanAmount}

    \n
    \n
    \n

    EMI Amount

    \n

    {data.emiAmount}

    \n
    \n
    \n

    Bank Interest

    \n

    \n {data.emiBankInterest}\n

    \n
    \n
    \n
    \n
    \n

    EMI Value

    \n

    {data.emiValue}

    \n
    \n
    \n

    Interest Paid

    \n

    \n {data.emiInterestPaid}\n

    \n
    \n
    \n

    Tenure

    \n

    {data.tenure}

    \n
    \n
    \n \n ) : (\n <>\n )}\n
    \n
    \n

    \n Status\n {statusData.transactionStatus === 'Pending' ||\n data.transactionStatus === 'Pending' ? (\n \n ( Check Status )\n \n ) : null}\n

    \n \n {statusData.transactionStatus ||\n data.transactionStatus}\n

    \n
    \n
    \n

    Status Code

    \n

    {data.statusCode}

    \n
    \n
    \n

    Platform

    \n

    {data.platform}

    \n
    \n
    \n
    \n
    \n

    Message

    \n

    {data.message}

    \n
    \n
    \n {/**\n * split pay\n */}\n {data?.splitPay?.length > 0 && (\n
    \n
    \n SPLIT PAYMENT DETAIL\n
    \n {data.splitPay.map(splitPay => {\n return (\n
    \n
    \n
    \n

    \n Merchant Name\n

    \n

    \n {splitPay.merchantName}\n

    \n
    \n
    \n

    \n Sub Order ID\n

    \n

    \n {splitPay.subOrderId}\n

    \n
    \n
    \n

    Amount

    \n

    \n {splitPay.amount}\n

    \n
    \n
    \n
    \n );\n })}\n
    \n )}\n\n {/**\n * refund txn data\n */}\n {refundTxnData.length > 0 && (\n
    \n
    Refund Txn. DETAIL
    \n {refundTxnData.map(refund => {\n return (\n
    \n
    \n
    \n

    \n Transaction Id\n

    \n

    \n {refund.transactionId}\n

    \n
    \n
    \n

    \n Refund Status\n

    \n

    \n {refund.refundStatus}\n

    \n
    \n
    \n

    Refund Date

    \n

    \n {refund.refundDate}\n

    \n
    \n
    \n

    Amount

    \n

    \n {refund.amount}\n

    \n
    \n
    \n
    \n );\n })}\n
    \n )}\n
    \n \n \n \n \n );\n};\n\nTransactionForm.propTypes = {\n data: PropTypes.object.isRequired,\n statusData: PropTypes.object,\n auth: PropTypes.object,\n refundTxnData: PropTypes.object,\n fetchStatus: PropTypes.func.isRequired,\n getRefundTxnRequest: PropTypes.func.isRequired,\n fetchData: PropTypes.func.isRequired,\n resetPage: PropTypes.func,\n};\n\nexport default TransactionForm;\n","import TransactionForm from './TransactionForm';\n\nexport default TransactionForm;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst Checkers = ({\n checkerList,\n roleStatus,\n setRoleStatus,\n numberOfRecord,\n setIsResetPage,\n isResetPage,\n}) => (\n
    \n
    \n

    \n {roleStatus} ({numberOfRecord})\n

    \n
    \n
    \n
      \n {checkerList.map(checker => (\n {\n setRoleStatus && setRoleStatus(checker);\n setIsResetPage && setIsResetPage(!isResetPage);\n }}\n >\n {checker}\n \n ))}\n
    \n
    \n
    \n);\n\nCheckers.propTypes = {\n checkerList: PropTypes.array,\n numberOfRecord: PropTypes.number,\n roleStatus: PropTypes.string,\n setRoleStatus: PropTypes.func,\n setIsResetPage: PropTypes.func,\n isResetPage: PropTypes.bool,\n};\n\nexport default Checkers;\n","const FETCH_NOTIFICATION_EVENT_REQUEST = 'FETCH_NOTIFICATION_EVENT_REQUEST';\nconst FETCH_NOTIFICATION_EVENT_SUCCESS = 'FETCH_NOTIFICATION_EVENT_SUCCESS';\nconst FETCH_NOTIFICATION_EVENT_ERROR = 'FETCH_NOTIFICATION_EVENT_ERROR';\nconst ADD_COMM_PROFILE_REQUEST = 'ADD_COMM_PROFILE_REQUEST';\nconst ADD_COMM_PROFILE_SUCCESS = 'ADD_COMM_PROFILE_SUCCESS';\nconst ADD_COMM_PROFILE_ERROR = 'ADD_COMM_PROFILE_ERROR';\nconst FETCH_COMM_PROFILE_REQUEST = 'FETCH_COMM_PROFILE_REQUEST';\nconst FETCH_COMM_PROFILE_SUCCESS = 'FETCH_COMM_PROFILE_SUCCESS';\nconst FETCH_COMM_PROFILE_ERROR = 'FETCH_COMM_PROFILE_ERROR';\nconst UPDATE_COMM_PROFILE_REQUEST = 'UPDATE_COMM_PROFILE_REQUEST';\nconst UPDATE_COMM_PROFILE_SUCCESS = 'UPDATE_COMM_PROFILE_SUCCESS';\nconst UPDATE_COMM_PROFILE_ERROR = 'UPDATE_COMM_PROFILE_ERROR';\nconst HIDE_COMM_PROFILE_LOADER = 'HIDE_COMM_PROFILE_LOADER';\nconst SHOW_COMM_PROFILE_LOADER = 'SHOW_COMM_PROFILE_LOADER';\n\nexport {\n FETCH_NOTIFICATION_EVENT_REQUEST,\n FETCH_NOTIFICATION_EVENT_SUCCESS,\n FETCH_NOTIFICATION_EVENT_ERROR,\n ADD_COMM_PROFILE_REQUEST,\n ADD_COMM_PROFILE_SUCCESS,\n ADD_COMM_PROFILE_ERROR,\n FETCH_COMM_PROFILE_REQUEST,\n FETCH_COMM_PROFILE_SUCCESS,\n FETCH_COMM_PROFILE_ERROR,\n UPDATE_COMM_PROFILE_REQUEST,\n UPDATE_COMM_PROFILE_SUCCESS,\n UPDATE_COMM_PROFILE_ERROR,\n HIDE_COMM_PROFILE_LOADER,\n SHOW_COMM_PROFILE_LOADER,\n};\n","import {\n FETCH_NOTIFICATION_EVENT_REQUEST,\n FETCH_NOTIFICATION_EVENT_SUCCESS,\n FETCH_NOTIFICATION_EVENT_ERROR,\n ADD_COMM_PROFILE_REQUEST,\n ADD_COMM_PROFILE_SUCCESS,\n ADD_COMM_PROFILE_ERROR,\n FETCH_COMM_PROFILE_REQUEST,\n FETCH_COMM_PROFILE_SUCCESS,\n FETCH_COMM_PROFILE_ERROR,\n UPDATE_COMM_PROFILE_REQUEST,\n UPDATE_COMM_PROFILE_SUCCESS,\n UPDATE_COMM_PROFILE_ERROR,\n HIDE_COMM_PROFILE_LOADER,\n SHOW_COMM_PROFILE_LOADER,\n} from './commProfile.constants';\n\nexport const fetchNotificationEventRequest = () => ({\n type: FETCH_NOTIFICATION_EVENT_REQUEST,\n});\n\nexport const fetchNotificationEventSuccess = payload => ({\n type: FETCH_NOTIFICATION_EVENT_SUCCESS,\n payload,\n});\n\nexport const fetchNotificationEventError = payload => ({\n type: FETCH_NOTIFICATION_EVENT_ERROR,\n payload,\n});\n\nexport const addCommProfileRequest = payload => ({\n type: ADD_COMM_PROFILE_REQUEST,\n payload,\n});\n\nexport const addCommProfileSuccess = payload => ({\n type: ADD_COMM_PROFILE_SUCCESS,\n payload,\n});\n\nexport const addCommProfileError = payload => ({\n type: ADD_COMM_PROFILE_ERROR,\n payload,\n});\n\nexport const fetchCommProfileRequest = () => ({\n type: FETCH_COMM_PROFILE_REQUEST,\n});\n\nexport const fetchCommProfileSuccess = payload => ({\n type: FETCH_COMM_PROFILE_SUCCESS,\n payload,\n});\n\nexport const fetchCommProfileError = payload => ({\n type: FETCH_COMM_PROFILE_ERROR,\n payload,\n});\n\nexport const updateCommProfileRequest = payload => ({\n type: UPDATE_COMM_PROFILE_REQUEST,\n payload,\n});\n\nexport const updateCommProfileSuccess = payload => ({\n type: UPDATE_COMM_PROFILE_SUCCESS,\n payload,\n});\n\nexport const updateCommProfileError = payload => ({\n type: UPDATE_COMM_PROFILE_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_COMM_PROFILE_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_COMM_PROFILE_LOADER });\n","const validate = values => {\n const errors = {};\n if (values.entityCodes && values.entityCodes.length <= 0) {\n errors.entityCodes = 'Please select merchant';\n }\n if (values.eventsList && values.eventsList.length <= 0) {\n errors.eventsList = 'Please select atleast one event';\n }\n return errors;\n};\n\nexport default validate;\n ","/* eslint-disable no-nested-ternary */\n/* eslint-disable indent */\n\n// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { components } from 'react-select';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport moment from 'moment';\n\n// Components\n\n// Actions\nimport {\n updateCommProfileRequest,\n updateCommProfileError,\n} from '../../containers/CommProfile/redux/commProfile.actions';\n\n// Constant\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport { getRoleStatusOptions } from '../../utils/helperMethods';\n\n// Validator\nimport validate from './validator';\nimport { FormElems, CustomSelect, Alert } from '..';\n\n// Styles\nimport './editViewComm.scss';\n\nconst allOption = [{ value: 'all', label: 'All Merchants', checked: false }];\nconst versionData = [\n {\n name: '1.0',\n value: '1.0',\n },\n {\n name: '2.0',\n value: '2.0',\n },\n];\n\nconst ValueContainer = ({ children, ...props }) => {\n const { getValue, hasValue } = props;\n const newChildren = [...children];\n const nbValues = getValue().filter(item => item.value !== 'all').length;\n newChildren[0] = `${nbValues} Merchants Selected`;\n\n if (!hasValue) {\n return (\n \n {children}\n \n );\n }\n return (\n \n {newChildren}\n \n );\n};\n\nconst Option = props => {\n const { data, isSelected } = props;\n data.checked = isSelected;\n const dataOptions = [data];\n return (\n \n
    \n \n
    \n
    \n );\n};\n\nconst renderCustomSelect = props => {\n const { input, data, ...attributes } = props;\n const handleBlur = () => input.onBlur;\n return (\n
    \n \n
    \n );\n};\n\nconst formatGroupLabel = data => (\n
    \n \n
    \n);\n\nconst EditViewComm = props => {\n const {\n closePopup,\n handleSubmit,\n actionType,\n actions,\n data,\n commData,\n formData,\n staticData,\n selectedTab,\n } = props;\n\n const { notificationEvents, updateCommProfile } = commData;\n const { underlyingMerchant } = staticData;\n\n const [selectedMerchant, setSelectedMerchant] = useState([]);\n const [merchantOptions, setMerchantOptions] = useState([]);\n const [eventOptions, setEventOptions] = useState([]);\n const [isViewOnly, setIsViewOnly] = useState(false);\n\n useEffect(() => {\n const isFormReadOnly = actionType === 'VIEW';\n setIsViewOnly(isFormReadOnly);\n }, [actionType]);\n\n useEffect(() => {\n if (updateCommProfile.isSuccess) {\n toast.info(SUCCESS_MESSAGES.UPDATE_DATA(`${selectedTab} Profile`));\n closePopup(true);\n }\n return () => {\n actions.updateCommProfileError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateCommProfile.isSuccess]);\n\n useEffect(() => {\n const formatEvents =\n notificationEvents &&\n notificationEvents.eventList.map(item => {\n return {\n label: item,\n value: item,\n };\n });\n setEventOptions(formatEvents || []);\n }, [notificationEvents]);\n\n useEffect(() => {\n const formatMerchant = underlyingMerchant.map(item => {\n return {\n label: item.name,\n value: item.entityCode,\n checked: false,\n };\n });\n const groupedOptions = [\n {\n label: '',\n options: allOption,\n },\n {\n label: 'Select Merchant',\n options: formatMerchant,\n },\n ];\n setMerchantOptions(groupedOptions);\n }, [underlyingMerchant]);\n\n useEffect(() => {\n const entities = [...data.linkedEntities];\n const merchants =\n (merchantOptions &&\n merchantOptions.length &&\n merchantOptions[1].options) ||\n [];\n let selectedMerchant = merchants\n .filter(item => entities.includes(item.value))\n .map(item => {\n return { ...item, checked: true };\n });\n if (merchants && merchants.length === selectedMerchant.length) {\n const allOptionCopy = [...allOption];\n allOptionCopy[0].checked = true;\n selectedMerchant = [...selectedMerchant, ...allOptionCopy];\n }\n setSelectedMerchant(selectedMerchant || []);\n }, [data.linkedEntities, merchantOptions]);\n\n const onCancel = (onSuccess, entityType) => {\n closePopup(onSuccess, entityType);\n };\n\n const getAllSelectedMerchant = allMerchantList => {\n const merchantList = allMerchantList[1];\n if (merchantList) {\n return [...allOption, ...merchantList.options];\n }\n return [];\n };\n\n const checkIsAllRemoved = (oldState, newState) => {\n const isOldStateHaveAll = oldState.some(item => item.value === 'all');\n const isNewStateHaveAll = newState.some(item => item.value === 'all');\n return isOldStateHaveAll !== isNewStateHaveAll;\n };\n\n const isAllClicked = (oldState, newState) => {\n const isOldStateHaveAll = oldState.some(item => item.value === 'all');\n const isNewStateHaveAll = newState.some(item => item.value === 'all');\n return isOldStateHaveAll === false && isNewStateHaveAll === true;\n };\n\n const handleMerchantSelect = value => {\n const isAllRemoved = checkIsAllRemoved(selectedMerchant, value);\n\n if (isAllClicked(selectedMerchant, value)) {\n const allMerchants = getAllSelectedMerchant(merchantOptions);\n setSelectedMerchant(allMerchants);\n } else if (isAllRemoved) {\n setSelectedMerchant([]);\n } else {\n const selectedValue = value.filter(item => item.value !== 'all');\n if (selectedValue.length === merchantOptions[1].options.length) {\n setSelectedMerchant([...allOption, ...value]);\n } else {\n setSelectedMerchant(selectedValue);\n }\n }\n };\n\n const handleEdit = event => {\n event.preventDefault();\n setIsViewOnly(false);\n };\n\n const filteredOptions = selectedValues => {\n return (\n selectedValues &&\n selectedValues.filter(item => item.value !== 'all')\n );\n };\n\n const formatStatus = status => {\n if (status === 'ACTIVE') {\n return true;\n }\n return false;\n };\n\n /**\n * Method to handle form submit values for Add Comm Profile\n * @param {object} values\n * @returns {null}\n */\n const handleFormSubmit = values => {\n const request = {\n entityCodes:\n selectedMerchant &&\n selectedMerchant\n .filter(item => item.value !== 'all')\n .map(item => item.value),\n profile: {\n comments: values.remarks,\n eventsList: values.eventsList,\n identifier: values.identifier,\n status: formatStatus(values.status),\n type: selectedTab,\n version: values.version\n },\n };\n actions.updateCommProfileRequest(request);\n };\n\n const getSelectedVersion = () => {\n let filteredVersionData = versionData.filter(item => item.value === data.version);\n return filteredVersionData;\n }\n\n const versionComponent = isViewMode => {\n if (isViewMode) {\n return (\n
    \n

    VERSION

    \n \n
    \n );\n }\n return (\n
    \n

    VERSION

    \n \n
    \n );\n };\n\n return (\n
    \n {updateCommProfile.error && updateCommProfile.error.errorMessage ? (\n \n {updateCommProfile.error.errorMessage}\n \n ) : null}\n
    \n
    \n

    Status

    \n
    \n {data.updatedBy && (\n <>\n Last Edit : {data.updatedBy},{' '}\n {moment(data.updatedOn, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(data.updatedOn, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.updatedOn}\n \n )}\n {!data.updatedBy && (\n <>\n Created By : {data.createdBy},{' '}\n {moment(data.createdOn, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(data.createdOn, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.createdOn}\n \n )}\n
    \n {isViewOnly ? (\n <>\n
    \n {data.status}\n
    \n \n ) : (\n <>\n \n \n \n )}\n
    \n
    \n
    \n
    \n

    Merchant Name

    \n {!isViewOnly ? (\n \n ) : null}\n
    \n \n \n
    \n
    \n
    \n \n

    Select Event

    \n \n
    \n
    \n {selectedTab === 'WEBHOOK' ? (\n
    \n {versionComponent(isViewOnly)}\n
    \n ) : null}\n
    \n \n {isViewOnly ? (\n \n ) : (\n \n )}\n
    \n \n );\n};\n\nOption.propTypes = {\n data: PropTypes.object.isRequired,\n isSelected: PropTypes.bool,\n};\n\nValueContainer.propTypes = {\n hasValue: PropTypes.bool,\n children: PropTypes.array,\n getValue: PropTypes.func,\n};\n\nconst mapStateToProps = ({ auth, form, commData, staticData }) => ({\n auth,\n form,\n commData,\n staticData,\n formData: form['editView-mail'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n { updateCommProfileRequest, updateCommProfileError },\n dispatch\n ),\n});\n\nEditViewComm.propTypes = {\n actions: PropTypes.object,\n actionType: PropTypes.string,\n selectedTab: PropTypes.string,\n closePopup: PropTypes.func,\n commData: PropTypes.object,\n data: PropTypes.object,\n staticData: PropTypes.object,\n formData: PropTypes.object,\n handleSubmit: PropTypes.func,\n onSubmit: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'editView-mail',\n validate,\n enableReinitialize: true,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(EditViewComm);\n","import EditViewComm from './EditViewComm';\n\nexport default EditViewComm;\n","const FETCH_PAYMENT_LINK_REQUEST = 'FETCH_PAYMENT_LINK_REQUEST';\nconst FETCH_PAYMENT_LINK_SUCCESS = 'FETCH_PAYMENT_LINK_SUCCESS';\nconst FETCH_PAYMENT_LINK_ERROR = 'FETCH_PAYMENT_LINK_ERROR';\nconst HIDE_PAYMENT_LINK_LOADER = 'HIDE_PAYMENT_LINK_LOADER';\nconst SHOW_PAYMENT_LINK_LOADER = 'SHOW_PAYMENT_LINK_LOADER';\nconst FETCH_TRANSACTION_PAYMENT_REQUEST = 'FETCH_TRANSACTION_PAYMENT_REQUEST';\nconst FETCH_TRANSACTION_PAYMENT_SUCCESS = 'FETCH_TRANSACTION_PAYMENT_SUCCESS';\nconst FETCH_TRANSACTION_PAYMENT_ERROR = 'FETCH_TRANSACTION_PAYMENT_ERROR';\nconst CREATE_PAY_LINK_REQUEST = 'CREATE_PAY_LINK_REQUEST';\nconst CREATE_PAY_LINK_SUCCESS = 'CREATE_PAY_LINK_SUCCESS';\nconst CREATE_PAY_LINK_ERROR = 'CREATE_PAY_LINK_ERROR';\nconst UPDATE_PAY_LINK_REQUEST = 'UPDATE_PAY_LINK_REQUEST';\nconst UPDATE_PAY_LINK_SUCCESS = 'UPDATE_PAY_LINK_SUCCESS';\nconst UPDATE_PAY_LINK_ERROR = 'UPDATE_PAY_LINK_ERROR';\nconst SHARE_PAY_LINK_REQUEST = 'SHARE_PAY_LINK_REQUEST';\nconst SHARE_PAY_LINK_SUCCESS = 'SHARE_PAY_LINK_SUCCESS';\nconst SHARE_PAY_LINK_ERROR = 'SHARE_PAY_LINK_ERROR';\nconst VIEW_PAY_LINK_REQUEST = 'VIEW_PAY_LINK_REQUEST';\nconst VIEW_PAY_LINK_SUCCESS = 'VIEW_PAY_LINK_SUCCESS';\nconst VIEW_PAY_LINK_ERROR = 'VIEW_PAY_LINK_ERROR';\nconst RE_SHARE_PAY_LINK_REQUEST = 'RE_SHARE_PAY_LINK_REQUEST';\nconst RE_SHARE_PAY_LINK_SUCCESS = 'RE_SHARE_PAY_LINK_SUCCESS';\nconst RE_SHARE_PAY_LINK_ERROR = 'RE_SHARE_PAY_LINK_ERROR';\n\nconst FETCH_MERCHANT_TEMPLATE_REQUEST = 'FETCH_MERCHANT_TEMPLATE_REQUEST';\nconst FETCH_MERCHANT_TEMPLATE_SUCCESS = 'FETCH_MERCHANT_TEMPLATE_SUCCESS';\nconst FETCH_MERCHANT_TEMPLATE_ERROR = 'FETCH_MERCHANT_TEMPLATE_ERROR';\nconst GENERATE_REPORT_REQUEST = 'GENERATE_REPORT_REQUEST2';\nconst GENERATE_REPORT_SUCCESS = 'GENERATE_REPORT_SUCCESS2';\nconst GENERATE_REPORT_ERROR = 'GENERATE_REPORT_ERROR2';\n\n\nexport {\n FETCH_PAYMENT_LINK_REQUEST,\n FETCH_PAYMENT_LINK_SUCCESS,\n FETCH_PAYMENT_LINK_ERROR,\n FETCH_TRANSACTION_PAYMENT_REQUEST,\n FETCH_TRANSACTION_PAYMENT_SUCCESS,\n FETCH_TRANSACTION_PAYMENT_ERROR,\n HIDE_PAYMENT_LINK_LOADER,\n SHOW_PAYMENT_LINK_LOADER,\n CREATE_PAY_LINK_REQUEST,\n CREATE_PAY_LINK_SUCCESS,\n CREATE_PAY_LINK_ERROR,\n UPDATE_PAY_LINK_REQUEST,\n UPDATE_PAY_LINK_SUCCESS,\n UPDATE_PAY_LINK_ERROR,\n SHARE_PAY_LINK_REQUEST,\n SHARE_PAY_LINK_SUCCESS,\n SHARE_PAY_LINK_ERROR,\n VIEW_PAY_LINK_REQUEST,\n VIEW_PAY_LINK_SUCCESS,\n VIEW_PAY_LINK_ERROR,\n RE_SHARE_PAY_LINK_REQUEST,\n RE_SHARE_PAY_LINK_SUCCESS,\n RE_SHARE_PAY_LINK_ERROR,\n FETCH_MERCHANT_TEMPLATE_REQUEST,\n FETCH_MERCHANT_TEMPLATE_SUCCESS,\n FETCH_MERCHANT_TEMPLATE_ERROR,\n GENERATE_REPORT_REQUEST,\n GENERATE_REPORT_SUCCESS,\n GENERATE_REPORT_ERROR,\n};\n","import {\n FETCH_PAYMENT_LINK_REQUEST,\n FETCH_PAYMENT_LINK_SUCCESS,\n FETCH_PAYMENT_LINK_ERROR,\n HIDE_PAYMENT_LINK_LOADER,\n SHOW_PAYMENT_LINK_LOADER,\n FETCH_TRANSACTION_PAYMENT_REQUEST,\n FETCH_TRANSACTION_PAYMENT_SUCCESS,\n FETCH_TRANSACTION_PAYMENT_ERROR,\n CREATE_PAY_LINK_REQUEST,\n CREATE_PAY_LINK_SUCCESS,\n CREATE_PAY_LINK_ERROR,\n UPDATE_PAY_LINK_REQUEST,\n UPDATE_PAY_LINK_SUCCESS,\n UPDATE_PAY_LINK_ERROR,\n SHARE_PAY_LINK_REQUEST,\n SHARE_PAY_LINK_SUCCESS,\n SHARE_PAY_LINK_ERROR,\n VIEW_PAY_LINK_REQUEST,\n VIEW_PAY_LINK_SUCCESS,\n VIEW_PAY_LINK_ERROR,\n RE_SHARE_PAY_LINK_REQUEST,\n RE_SHARE_PAY_LINK_SUCCESS,\n RE_SHARE_PAY_LINK_ERROR,\n FETCH_MERCHANT_TEMPLATE_REQUEST,\n FETCH_MERCHANT_TEMPLATE_SUCCESS,\n FETCH_MERCHANT_TEMPLATE_ERROR,\n GENERATE_REPORT_ERROR,\n GENERATE_REPORT_REQUEST,\n GENERATE_REPORT_SUCCESS,\n} from './paymentLink.constants';\nimport {\n GET_ACTIVE_REPORT_ERROR,\n GET_ACTIVE_REPORT_REQUEST,\n GET_ACTIVE_REPORT_SUCCESS,\n} from '../../Transactions/redux/transactions.constants';\n\n// Payment link table action\nexport const fetchPaymentLinkRequest = payload => ({\n type: FETCH_PAYMENT_LINK_REQUEST,\n payload,\n});\n\nexport const fetchPaymentLinkSuccess = payload => ({\n type: FETCH_PAYMENT_LINK_SUCCESS,\n payload,\n});\n\nexport const fetchPaymentLinkError = payload => ({\n type: FETCH_PAYMENT_LINK_ERROR,\n payload,\n});\n\n// Payment Link transaction view table action\nexport const fetchPaymentsRequest = payload => ({\n type: FETCH_TRANSACTION_PAYMENT_REQUEST,\n payload,\n});\n\nexport const fetchPaymentsSuccess = payload => ({\n type: FETCH_TRANSACTION_PAYMENT_SUCCESS,\n payload,\n});\n\nexport const fetchPaymentsError = payload => ({\n type: FETCH_TRANSACTION_PAYMENT_ERROR,\n payload,\n});\n\n// Create new payment link action\nexport const createPayLinksRequest = payload => ({\n type: CREATE_PAY_LINK_REQUEST,\n payload,\n});\n\nexport const createPayLinksSuccess = payload => ({\n type: CREATE_PAY_LINK_SUCCESS,\n payload,\n});\n\nexport const createPayLinksError = payload => ({\n type: CREATE_PAY_LINK_ERROR,\n payload,\n});\n\n// Share payment link via popup action\nexport const sharePayLinksRequest = payload => ({\n type: SHARE_PAY_LINK_REQUEST,\n payload,\n});\n\nexport const sharePayLinksSuccess = payload => ({\n type: SHARE_PAY_LINK_SUCCESS,\n payload,\n});\n\nexport const sharePayLinksError = payload => ({\n type: SHARE_PAY_LINK_ERROR,\n payload,\n});\n\n// Update Payment link data action.\nexport const updatePayLinksRequest = payload => ({\n type: UPDATE_PAY_LINK_REQUEST,\n payload,\n});\n\nexport const updatePayLinksSuccess = payload => ({\n type: UPDATE_PAY_LINK_SUCCESS,\n payload,\n});\n\nexport const updatePayLinksError = payload => ({\n type: UPDATE_PAY_LINK_ERROR,\n payload,\n});\n\n// View Summary action for payment link transaction view table\nexport const viewPayLinksRequest = payload => ({\n type: VIEW_PAY_LINK_REQUEST,\n payload,\n});\n\nexport const viewPayLinksSuccess = payload => ({\n type: VIEW_PAY_LINK_SUCCESS,\n payload,\n});\n\nexport const viewPayLinksError = payload => ({\n type: VIEW_PAY_LINK_ERROR,\n payload,\n});\n\n// Re share action for resend of payment link\n\nexport const reSharePayLinksRequest = payload => ({\n type: RE_SHARE_PAY_LINK_REQUEST,\n payload,\n});\n\nexport const reSharePayLinksSuccess = payload => ({\n type: RE_SHARE_PAY_LINK_SUCCESS,\n payload,\n});\n\nexport const reSharePayLinksError = payload => ({\n type: RE_SHARE_PAY_LINK_ERROR,\n payload,\n});\n\n// fetch merchant template actions\nexport const fetchMerchantTemplateRequest = payload => ({\n type: FETCH_MERCHANT_TEMPLATE_REQUEST,\n payload,\n});\n\nexport const fetchMerchantTemplateSuccess = payload => ({\n type: FETCH_MERCHANT_TEMPLATE_SUCCESS,\n payload,\n});\n\nexport const fetchMerchantTemplateError = payload => ({\n type: FETCH_MERCHANT_TEMPLATE_ERROR,\n payload,\n});\n\nexport const generateReportRequest = payload => ({\n type: GENERATE_REPORT_REQUEST,\n payload,\n});\n\nexport const generateReportSuccess = payload => ({\n type: GENERATE_REPORT_SUCCESS,\n payload,\n});\n\nexport const generateReportError = payload => ({\n type: GENERATE_REPORT_ERROR,\n payload,\n});\n\nexport const getActiveReportRequest = payload => ({\n type: GET_ACTIVE_REPORT_REQUEST,\n hideLoader: payload.hideLoader,\n payload,\n});\n\nexport const getActiveReportSuccess = payload => ({\n type: GET_ACTIVE_REPORT_SUCCESS,\n payload,\n});\n\nexport const getActiveReportError = payload => ({\n type: GET_ACTIVE_REPORT_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_PAYMENT_LINK_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_PAYMENT_LINK_LOADER });\n","import {\n validators,\n checkNumberList,\n checkEmailList,\n} from '../../utils/validators';\nimport { isEmpty } from 'lodash';\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n if (REQUIRED(values.remarks)) {\n errors.remarks = 'Please enter Remarks';\n }\n if (REQUIRED(values.linkName)) {\n errors.linkName = 'Please enter LinkName';\n }\n if (isEmpty(values.sharebysms) && isEmpty(values.sharebyemail)) {\n errors.sharebyemail = 'Please enter the Emails and Phone Numbers';\n }\n\n if (checkNumberList(values.sharebysms)) {\n errors.sharebysms = 'Please enter valid mobile numbers';\n }\n if (checkEmailList(values.sharebyemail)) {\n errors.sharebyemail = 'Please enter valid emails';\n }\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable complexity */\n/* eslint-disable indent */\n/* eslint-disable no-nested-ternary */\n// Libraries\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, FieldArray, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport moment from 'moment';\nimport { toast } from 'react-toastify';\nimport { useHistory } from 'react-router-dom';\nimport { capitalize } from 'lodash';\n\n// Helper Methods\nimport { getRoleStatusOptions, getTagsValue } from '../../utils/helperMethods';\n\n// Components\nimport { FormElems, Alert, GetTemplateFields } from '../';\n\nimport {\n DEFAULT_CURRENCY,\n validityOptions,\n} from '../../utils/constants/commonValues';\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\n\n// Actions\nimport {\n updatePayLinksRequest,\n updatePayLinksError,\n sharePayLinksRequest,\n sharePayLinksError,\n} from '../../containers/PaymentLink/redux/paymentLink.actions';\n\n// Validator\nimport validate from './validator';\n\n// Styles\nimport './viewEditPaymentLink.scss';\n\nconst ViewEditPaymentLink = props => {\n const {\n closePopup,\n paymentLinkData,\n handleSubmit,\n actionType,\n actions,\n data,\n formData,\n fetchData,\n resetPage,\n initialValues,\n } = props;\n const { updatePayLink, sharePay, templateDetails } = paymentLinkData;\n const history = useHistory();\n\n const { templateInfo } = data;\n const { template } = templateDetails;\n\n // Handle On Success of the update payment link.\n useEffect(() => {\n if (updatePayLink.isSuccess) {\n closePopup();\n fetchData({ pageIndex: 1, pageSize: 10 });\n resetPage();\n toast.info(SUCCESS_MESSAGES.UPDATE_DATA('Paylink'));\n }\n return () => {\n actions.updatePayLinksError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fetchData, updatePayLink.isSuccess]);\n\n // Handle On Success of the Share Payment Link.\n useEffect(() => {\n if (sharePay.isSuccess) {\n closePopup();\n fetchData({ pageIndex: 1, pageSize: 10 });\n resetPage();\n toast.info(SUCCESS_MESSAGES.SHARED_DATA('Payment Link'));\n }\n return () => {\n actions.sharePayLinksError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fetchData, sharePay.isSuccess]);\n\n // On View Transactions button action function.\n const onViewTransactions = event => {\n event.preventDefault();\n const url = `payment-link/${data.linkDataId || 1}`;\n history.push(url);\n };\n\n // On Cancel/Close of the popup.\n const onCancel = event => {\n event.preventDefault();\n closePopup();\n };\n\n // Handling of the form submit for the share and update payment link.\n function handleFormSubmit(formData) {\n if (isShareMode) {\n const reqPayload = {\n communicationDetails: {\n email:\n formData.sharebyemail &&\n getTagsValue(JSON.parse(formData.sharebyemail)),\n mobile:\n formData.sharebysms &&\n getTagsValue(JSON.parse(formData.sharebysms)),\n },\n linkDataId: data.linkDataId,\n };\n actions.sharePayLinksRequest(reqPayload);\n } else {\n const reqPayload = {\n linkDataId: data.linkDataId,\n linkDataStatus: formData.linkDataStatus,\n linkName: formData.linkName || data.linkName,\n remarks: formData.remarks,\n validityPeriod: parseInt(formData.validityPeriod, 10),\n };\n actions.updatePayLinksRequest(reqPayload);\n }\n }\n\n const isFormReadOnly = actionType === 'view';\n const isShareMode = actionType === 'share';\n\n return (\n \n {isFormReadOnly && !isShareMode ? (\n <>\n
    \n
    \n

    Status

    \n \n {data.linkDataStatusView}\n
    \n
    \n {data.editedBy && (\n <>\n Last Edit :{' '}\n \n {data.editedBy || '-'},{' '}\n \n {moment(data.editedOn, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(\n data.editedOn,\n 'DD/MM/YYYY'\n )\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.editedOn}\n \n )}\n {!data.editedBy && (\n <>\n Created By :\n \n {' '}\n {data.createdBy || '-'},{' '}\n \n {moment(data.createdOn, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(\n data.createdOn,\n 'DD/MM/YYYY'\n )\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.createdOn}\n \n )}\n
    \n
    \n
    \n
    \n
    \n

    Link ID

    \n

    {data.linkId}

    \n
    \n
    \n

    Created On

    \n

    {data.createdOn}

    \n
    \n
    \n

    Amount

    \n

    {data.amountView}

    \n
    \n
    \n
    \n
    \n

    Validity Period

    \n

    \n {data.validityPeriodView}\n

    \n
    \n
    \n

    Shared Count

    \n

    {data.sharedCount}

    \n
    \n
    \n

    Trans. Success

    \n

    \n {data.txnSuccessCount}\n

    \n
    \n
    \n {/* Rendering product info only if the are template is set */}\n {data.productInfo && data.productInfo.length ? (\n
    \n
    \n

    Product Information

    \n
    \n
    \n ) : (\n <> \n )}\n {data.productInfo.map((item, itemIndex) => {\n return (\n <>\n \n
    \n

    Serial No.

    \n

    \n {itemIndex + 1}\n

    \n
    \n
    \n

    Name

    \n

    \n {item.name}\n

    \n
    \n
    \n

    Amount

    \n

    \n {item.amount}\n

    \n
    \n
    \n

    Mandatory

    \n

    \n {item.isMandatory &&\n item.isMandatory.length\n ? 'Yes'\n : 'No'}\n

    \n
    \n
    \n \n );\n })}\n\n {data.productInfo && data.productInfo.length ? (\n
    \n ) : (\n <> \n )}\n\n {/* Rendering template info only if the are template is set */}\n {templateInfo && templateInfo.additionalInfo ? (\n
    \n
    \n

    Template Information

    \n
    \n
    \n ) : (\n <>\n )}\n\n {templateInfo && templateInfo.additionalInfo ? (\n <>\n
    \n {Object.keys(templateInfo.additionalInfo).map(\n (key, index) => {\n return (\n \n
    \n

    \n {capitalize(key)}\n

    \n

    \n {\n templateInfo\n .additionalInfo[\n key\n ]\n }\n

    \n
    \n \n );\n }\n )}\n
    \n
    \n \n ) : (\n <>\n )}\n
    \n
    \n

    Comment

    \n

    {data.remarks}

    \n
    \n
    \n \n ) : isShareMode ? (\n <>\n
    \n
    \n

    Link name

    \n

    {data.linkName}

    \n
    \n
    \n

    Valid Period

    \n

    \n {data.validityPeriodView}\n

    \n
    \n
    \n
    \n
    \n

    Link ID

    \n

    {data.linkId}

    \n
    \n
    \n

    Amount

    \n

    {data.amountView}

    \n
    \n
    \n
    \n
    \n

    Share by SMS

    \n \n
    \n
    \n
    \n
    \n

    Share by Email

    \n \n
    \n
    \n \n ) : (\n <>\n
    \n
    \n

    Link Name

    \n \n
    \n
    \n
    \n
    \n

    Status

    \n \n
    \n
    \n {formData &&\n formData.values &&\n formData.values.productInfo &&\n formData.values.productInfo.length ? (\n
    \n \n
    \n ) : (\n <>\n )}\n\n {template && template.templateId ? (\n <>\n item.type !== 'hidden'\n )}\n isViewMode={true}\n />\n
    \n \n ) : (\n <>\n )}\n\n
    \n
    \n

    Amount

    \n \n
    \n
    \n

    Validity Period

    \n \n
    \n
    \n
    \n
    \n

    Remarks

    \n \n
    \n
    \n \n )}\n {updatePayLink.error && updatePayLink.error.errorMessage ? (\n {updatePayLink.error.errorMessage}\n ) : null}\n {sharePay.error && sharePay.error.errorMessage ? (\n {sharePay.error.errorMessage}\n ) : null}\n {!isShareMode ? (\n
    \n {actionType === 'view' ? (\n \n ) : (\n <>\n \n \n \n )}\n
    \n ) : (\n
    \n \n \n
    \n )}\n \n );\n};\n\nconst mapStateToProps = ({ auth, paymentLinkData, form }) => ({\n auth,\n paymentLinkData,\n formData: form['view-edit-paymentLink'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n updatePayLinksRequest,\n updatePayLinksError,\n sharePayLinksRequest,\n sharePayLinksError,\n },\n dispatch\n ),\n});\n\nconst multiProductDownLink = ({\n fields,\n meta: { error, submitFailed },\n auth,\n isViewMode,\n}) => {\n if (fields.length <= 0) {\n fields.push();\n }\n\n return (\n
    \n
    \n {fields.map((item, index) => (\n <>\n
    \n {!isViewMode && (\n fields.remove(index)}\n disabled={isViewMode}\n />\n )}\n
    \n

    Product Name

    \n \n
    \n
    \n

    Amount

    \n \n
    \n
    \n \n
    \n
    \n \n ))}\n
    \n
    \n {!isViewMode && (\n {\n fields.push();\n }}\n />\n )}\n
    \n
    \n );\n};\n\nmultiProductDownLink.propTypes = {\n fields: PropTypes.object,\n meta: PropTypes.object,\n auth: PropTypes.object,\n uniqueId: PropTypes.object,\n isViewMode: PropTypes.bool,\n};\n\nViewEditPaymentLink.propTypes = {\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n actionType: PropTypes.string,\n data: PropTypes.object,\n handleOpenActionPopup: PropTypes.func,\n paymentLinkData: PropTypes.object,\n actions: PropTypes.func,\n formData: PropTypes.object,\n updatePayLink: PropTypes.object,\n fetchData: PropTypes.object,\n resetPage: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'view-edit-paymentLink',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(ViewEditPaymentLink);\n","import ViewEditPaymentLink from './ViewEditPaymentLink';\n\nexport default ViewEditPaymentLink;\n","import { validators } from '../../utils/validators';\n\nconst getMsg = selectedTab => {\n if (selectedTab === 'WEBHOOK') {\n return 'url';\n } else if (selectedTab === 'SMS') {\n return 'mobile number';\n }\n return 'email';\n};\n\nconst validate = (values, props) => {\n const { selectedTab } = props;\n const { REQUIRED, EMAIL, PHONE_NUMBER, URL } = validators;\n const errors = {};\n if (selectedTab === 'EMAIL' && EMAIL(values.identifier)) {\n errors.identifier = 'Please enter a valid email';\n }\n if (selectedTab === 'SMS' && PHONE_NUMBER(values.identifier)) {\n errors.identifier = 'Please enter a valid mobile number';\n }\n if (selectedTab === 'WEBHOOK' && URL(values.identifier)) {\n errors.identifier = 'Please enter a valid url';\n }\n if (REQUIRED(values.identifier)) {\n errors.identifier = `Please enter ${getMsg(selectedTab)}`;\n }\n if (REQUIRED(values.entityCodes)) {\n errors.entityCodes = 'Please select merchant';\n }\n if (REQUIRED(values.eventsList)) {\n errors.eventsList = 'Please select atleast one event';\n }\n if (selectedTab === 'WEBHOOK' && REQUIRED(values.version)) {\n errors.version = 'Please select version';\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { components } from 'react-select';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\n\n// Components\n\n// Actions\nimport {\n addCommProfileRequest,\n addCommProfileError,\n} from '../../containers/CommProfile/redux/commProfile.actions';\n\n// Constant\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\n\n// Validator\nimport { FormElems, CustomSelect, Alert } from '..';\nimport validate from './validator';\n\n// Styles\nimport './addComm.scss';\n\nconst allOption = [{ value: 'all', label: 'All Merchants', checked: false }];\n\n/**\n * Add Franchise Component\n *\n * @param {Object} props - React component props\n *\n */\n\nconst ValueContainer = ({ children, ...props }) => {\n const { getValue, hasValue } = props;\n const newChildren = [...children];\n const nbValues = getValue().filter(item => item.value !== 'all').length;\n newChildren[0] = `${nbValues} Merchants Selected`;\n\n if (!hasValue) {\n return (\n \n {children}\n \n );\n }\n return (\n \n {newChildren}\n \n );\n};\n\nconst Option = props => {\n const { data, isSelected } = props;\n data.checked = isSelected;\n const dataOptions = [data];\n return (\n \n
    \n \n
    \n
    \n );\n};\n\nconst renderCustomSelect = props => {\n const { input, data, ...attributes } = props;\n const handleBlur = () => input.onBlur;\n return (\n
    \n \n
    \n );\n};\n\nconst formatGroupLabel = data => (\n
    \n \n
    \n);\n\nconst AddComm = props => {\n const {\n closePopup,\n handleSubmit,\n actions,\n commData,\n staticData,\n selectedTab,\n } = props;\n\n const { notificationEvents, addCommProfile } = commData;\n const { underlyingMerchant } = staticData;\n\n const [selectedMerchant, setSelectedMerchant] = useState([]);\n const [merchantOptions, setMerchantOptions] = useState([]);\n const [eventOptions, setEventOptions] = useState([]);\n\n useEffect(() => {\n if (addCommProfile.isSuccess) {\n toast.info(SUCCESS_MESSAGES.ADD_DATA(`${selectedTab} Profile`));\n closePopup(true);\n }\n return () => {\n actions.addCommProfileError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [addCommProfile.isSuccess]);\n\n useEffect(() => {\n const formatEvents =\n notificationEvents &&\n notificationEvents.eventList.map(item => {\n return {\n label: item,\n value: item,\n };\n });\n setEventOptions(formatEvents || []);\n }, [notificationEvents]);\n\n useEffect(() => {\n const formatMerchant = underlyingMerchant.map(item => {\n return {\n label: item.name,\n value: item.entityCode,\n checked: false,\n };\n });\n const groupedOptions = [\n {\n label: '',\n options: allOption,\n },\n {\n label: 'Select Merchant',\n options: formatMerchant,\n },\n ];\n setMerchantOptions(groupedOptions);\n }, [underlyingMerchant]);\n\n const onCancel = (onSuccess, entityType) => {\n closePopup(onSuccess, entityType);\n };\n\n /**\n * Method to handle form submit values for Add Comm Profile\n * @param {object} values\n * @returns {null}\n */\n const handleFormSubmit = values => {\n const request = {\n entityCodes:\n selectedMerchant &&\n selectedMerchant\n .filter(item => item.value !== 'all')\n .map(item => item.value),\n profile: {\n comments: '',\n eventsList: values.eventsList,\n identifier: values.identifier,\n status: true,\n type: selectedTab,\n version: values.version\n },\n };\n actions.addCommProfileRequest(request);\n };\n\n const getAllSelectedMerchant = allMerchantList => {\n const merchantList = allMerchantList[1];\n if (merchantList) {\n return [...allOption, ...merchantList.options];\n }\n return [];\n };\n\n const checkIsAllRemoved = (oldState, newState) => {\n const isOldStateHaveAll = oldState.some(item => item.value === 'all');\n const isNewStateHaveAll = newState.some(item => item.value === 'all');\n return isOldStateHaveAll !== isNewStateHaveAll;\n };\n\n const isAllClicked = (oldState, newState) => {\n const isOldStateHaveAll = oldState.some(item => item.value === 'all');\n const isNewStateHaveAll = newState.some(item => item.value === 'all');\n return isOldStateHaveAll === false && isNewStateHaveAll === true;\n };\n\n const handleMerchantSelect = value => {\n const isAllRemoved = checkIsAllRemoved(selectedMerchant, value);\n\n if (isAllClicked(selectedMerchant, value)) {\n const allMerchants = getAllSelectedMerchant(merchantOptions);\n setSelectedMerchant(allMerchants);\n } else if (isAllRemoved) {\n setSelectedMerchant([]);\n } else {\n const selectedValue = value.filter(item => item.value !== 'all');\n if (selectedValue.length === merchantOptions[1].options.length) {\n setSelectedMerchant([...allOption, ...value]);\n } else {\n setSelectedMerchant(selectedValue);\n }\n }\n };\n return (\n
    \n {addCommProfile.error && addCommProfile.error.errorMessage ? (\n \n {addCommProfile.error.errorMessage}\n \n ) : null}\n {selectedTab === 'EMAIL' ? (\n
    \n
    \n

    Email

    \n \n
    \n
    \n ) : null}\n {selectedTab === 'SMS' ? (\n
    \n
    \n

    Mobile Number

    \n \n
    \n
    \n ) : null}\n {selectedTab === 'WEBHOOK' ? (\n
    \n
    \n

    URL

    \n \n
    \n
    \n ) : null}\n
    \n
    \n

    Merchant Name

    \n \n
    \n
    \n {selectedTab === 'WEBHOOK' ? (\n
    \n
    \n

    VERSION

    \n \n
    \n
    \n ) : null}\n
    \n

    Select Event

    \n
    \n \n
    \n
    \n
    \n \n \n
    \n
    \n );\n};\n\nOption.propTypes = {\n data: PropTypes.object.isRequired,\n isSelected: PropTypes.bool,\n};\n\nValueContainer.propTypes = {\n hasValue: PropTypes.bool,\n children: PropTypes.array,\n getValue: PropTypes.func,\n};\n\nconst mapStateToProps = ({ auth, form, commData, staticData }) => ({\n auth,\n form,\n commData,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n { addCommProfileRequest, addCommProfileError },\n dispatch\n ),\n});\n\nAddComm.propTypes = {\n actions: PropTypes.object,\n actionType: PropTypes.string,\n selectedTab: PropTypes.string,\n closePopup: PropTypes.func,\n commData: PropTypes.object,\n staticData: PropTypes.object,\n form: PropTypes.object,\n handleSubmit: PropTypes.func,\n onSubmit: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'add-mail',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(AddComm);\n","import AddComm from './AddComm';\n\nexport default AddComm;\n","const FETCH_BIN_REQUEST = 'FETCH_BIN_REQUEST';\nconst FETCH_BIN_SUCCESS = 'FETCH_BIN_SUCCESS';\nconst FETCH_BIN_ERROR = 'FETCH_BIN_ERROR';\nconst HIDE_BIN_LOADER = 'HIDE_BIN_LOADER';\nconst SHOW_BIN_LOADER = 'SHOW_BIN_LOADER';\nconst UPLOAD_BIN_FILE_REQUEST = 'UPLOAD_BIN_FILE_REQUEST';\nconst UPLOAD_BIN_FILE_SUCCESS = 'UPLOAD_BIN_FILE_SUCCESS';\nconst UPLOAD_BIN_FILE_ERROR = 'UPLOAD_BIN_FILE_ERROR';\nconst SEARCH_BIN_DETAIL_REQUEST = 'SEARCH_BIN_DETAIL_REQUEST';\nconst SEARCH_BIN_DETAIL_SUCCESS = 'SEARCH_BIN_DETAIL_SUCCESS';\nconst SEARCH_BIN_DETAIL_ERROR = 'SEARCH_BIN_DETAIL_ERROR';\nconst UPDATE_BIN_DETAIL_REQUEST = 'UPDATE_BIN_DETAIL_REQUEST';\nconst UPDATE_BIN_DETAIL_SUCCESS = 'UPDATE_BIN_DETAIL_SUCCESS';\nconst UPDATE_BIN_DETAIL_ERROR = 'UPDATE_BIN_DETAIL_ERROR';\nconst DOWNLOAD_BY_ID_REQUEST = 'DOWNLOAD_BY_ID_REQUEST';\nconst DOWNLOAD_BY_ID_SUCCESS = 'DOWNLOAD_BY_ID_SUCCESS';\nconst DOWNLOAD_BY_ID_ERROR = 'DOWNLOAD_BY_ID_ERROR';\nconst GET_SEARCH_RECENT_BIN_REQUEST = 'GET_SEARCH_RECENT_BIN_REQUEST';\nconst GET_SEARCH_RECENT_BIN_SUCCESS = 'GET_SEARCH_RECENT_BIN_SUCCESS';\nconst GET_SEARCH_RECENT_BIN_ERROR = 'GET_SEARCH_RECENT_BIN_ERROR';\n\nconst UPLOAD_NETWORK_BIN_FILE_REQUEST = 'UPLOAD_NETWORK_BIN_FILE_REQUEST';\nconst UPLOAD_NETWORK_BIN_FILE_SUCCESS = 'UPLOAD_NETWORK_BIN_FILE_SUCCESS';\nconst UPLOAD_NETWORK_BIN_FILE_ERROR = 'UPLOAD_NETWORK_BIN_FILE_ERROR';\n\nexport {\n FETCH_BIN_REQUEST,\n FETCH_BIN_SUCCESS,\n FETCH_BIN_ERROR,\n HIDE_BIN_LOADER,\n SHOW_BIN_LOADER,\n UPLOAD_BIN_FILE_REQUEST,\n UPLOAD_BIN_FILE_SUCCESS,\n UPLOAD_BIN_FILE_ERROR,\n UPLOAD_NETWORK_BIN_FILE_REQUEST,\n UPLOAD_NETWORK_BIN_FILE_SUCCESS,\n UPLOAD_NETWORK_BIN_FILE_ERROR,\n SEARCH_BIN_DETAIL_REQUEST,\n SEARCH_BIN_DETAIL_SUCCESS,\n SEARCH_BIN_DETAIL_ERROR,\n UPDATE_BIN_DETAIL_REQUEST,\n UPDATE_BIN_DETAIL_SUCCESS,\n UPDATE_BIN_DETAIL_ERROR,\n DOWNLOAD_BY_ID_REQUEST,\n DOWNLOAD_BY_ID_SUCCESS,\n DOWNLOAD_BY_ID_ERROR,\n GET_SEARCH_RECENT_BIN_REQUEST,\n GET_SEARCH_RECENT_BIN_SUCCESS,\n GET_SEARCH_RECENT_BIN_ERROR,\n};\n","import {\n FETCH_BIN_REQUEST,\n FETCH_BIN_SUCCESS,\n FETCH_BIN_ERROR,\n HIDE_BIN_LOADER,\n SHOW_BIN_LOADER,\n UPLOAD_BIN_FILE_REQUEST,\n UPLOAD_BIN_FILE_SUCCESS,\n UPLOAD_BIN_FILE_ERROR,\n UPLOAD_NETWORK_BIN_FILE_REQUEST,\n UPLOAD_NETWORK_BIN_FILE_SUCCESS,\n UPLOAD_NETWORK_BIN_FILE_ERROR,\n SEARCH_BIN_DETAIL_REQUEST,\n SEARCH_BIN_DETAIL_SUCCESS,\n SEARCH_BIN_DETAIL_ERROR,\n UPDATE_BIN_DETAIL_REQUEST,\n UPDATE_BIN_DETAIL_SUCCESS,\n UPDATE_BIN_DETAIL_ERROR,\n DOWNLOAD_BY_ID_REQUEST,\n DOWNLOAD_BY_ID_SUCCESS,\n DOWNLOAD_BY_ID_ERROR,\n GET_SEARCH_RECENT_BIN_REQUEST,\n GET_SEARCH_RECENT_BIN_SUCCESS,\n GET_SEARCH_RECENT_BIN_ERROR,\n} from './manageBin.constants';\n\nexport const fetchBinDataRequest = payload => ({\n type: FETCH_BIN_REQUEST,\n payload,\n});\n\nexport const fetchBinDataSuccess = payload => ({\n type: FETCH_BIN_SUCCESS,\n payload,\n});\n\nexport const fetchBinDataError = payload => ({\n type: FETCH_BIN_ERROR,\n payload,\n});\n\nexport const uploadBinFileRequest = payload => ({\n type: UPLOAD_BIN_FILE_REQUEST,\n payload,\n});\n\nexport const uploadBinFileSuccess = payload => ({\n type: UPLOAD_BIN_FILE_SUCCESS,\n payload,\n});\n\nexport const uploadBinFileError = payload => ({\n type: UPLOAD_BIN_FILE_ERROR,\n payload,\n});\n\nexport const searchBinDetailRequest = payload => ({\n type: SEARCH_BIN_DETAIL_REQUEST,\n payload,\n});\n\nexport const searchBinDetailSuccess = payload => ({\n type: SEARCH_BIN_DETAIL_SUCCESS,\n payload,\n});\n\nexport const searchBinDetailError = payload => ({\n type: SEARCH_BIN_DETAIL_ERROR,\n payload,\n});\n\nexport const updateBinDetailRequest = payload => ({\n type: UPDATE_BIN_DETAIL_REQUEST,\n payload,\n});\n\nexport const updateBinDetailSuccess = payload => ({\n type: UPDATE_BIN_DETAIL_SUCCESS,\n payload,\n});\n\nexport const updateBinDetailError = payload => ({\n type: UPDATE_BIN_DETAIL_ERROR,\n payload,\n});\n\nexport const downloadByIdRequest = payload => ({\n type: DOWNLOAD_BY_ID_REQUEST,\n payload,\n});\n\nexport const downloadByIdSuccess = payload => ({\n type: DOWNLOAD_BY_ID_SUCCESS,\n payload,\n});\n\nexport const downloadByIdError = payload => ({\n type: DOWNLOAD_BY_ID_ERROR,\n payload,\n});\n\nexport const getSearchRecentRequest = () => ({\n type: GET_SEARCH_RECENT_BIN_REQUEST,\n});\n\nexport const getSearchRecentSuccess = payload => ({\n type: GET_SEARCH_RECENT_BIN_SUCCESS,\n payload,\n});\n\nexport const getSearchRecentError = payload => ({\n type: GET_SEARCH_RECENT_BIN_ERROR,\n payload,\n});\n\nexport const uploadNetworkBinFileRequest = payload => ({\n type: UPLOAD_NETWORK_BIN_FILE_REQUEST,\n payload,\n});\n\nexport const uploadNetworkBinFileSuccess = payload => ({\n type: UPLOAD_NETWORK_BIN_FILE_SUCCESS,\n payload,\n});\n\nexport const uploadNetworkBinFileError = payload => ({\n type: UPLOAD_NETWORK_BIN_FILE_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_BIN_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_BIN_LOADER });\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n if (REQUIRED(values.cardType)) {\n errors.cardType = 'Please enter card type';\n }\n if (REQUIRED(values.cardNature)) {\n errors.cardNature = 'Please enter card nature';\n }\n if (!(values.isDomestic === true || values.isDomestic === false)) {\n errors.isDomestic = 'Please select domestic options';\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { components } from 'react-select';\nimport { toast } from 'react-toastify';\n\n// Components\nimport { FormElems, CustomSelect, Alert } from '..';\n\nimport {\n updateBinDetailRequest,\n updateBinDetailError,\n} from '../../containers/ManageBin/redux/manageBin.actions';\n\n// Utils\nimport { getBinOptions } from '../../utils/helperMethods';\n\n// Constant\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\n\n// Validator\nimport validate from './validator';\n\n// Styles\nimport './editBin.scss';\n\n/**\n * EditBin Component\n *\n * @param {Object} props - React component props\n */\n\nconst radioOptions = [\n {\n name: 'True',\n value: true,\n },\n {\n name: 'False',\n value: false,\n },\n];\n\nconst SingleValue = ({ children, ...props }) => {\n const { data } = props;\n return (\n \n
    \n
    \n {data.value}\n
    \n \n
    \n
    \n );\n};\n\nconst Option = props => {\n const { data } = props;\n return (\n \n
    \n
    \n {data.value}\n
    \n \n
    \n
    \n );\n};\n\nconst renderCustomSelect = props => {\n const { input, data, ...attributes } = props;\n const handleBlur = () => input.onBlur;\n return (\n
    \n \n
    \n );\n};\n\nconst EditBin = props => {\n const {\n actions,\n closePopup,\n handleSubmit,\n staticData,\n initialValues,\n manageBin,\n dirty,\n } = props;\n const { payValues } = staticData;\n const { updateBin } = manageBin;\n const [selectedCardType, setSelectedCardType] = useState([]);\n const [cardOptions, setCardOptions] = useState([]);\n\n useEffect(() => {\n if (updateBin.isSuccess) {\n toast.info(SUCCESS_MESSAGES.UPDATE_DATA('Bin'));\n closePopup(true);\n }\n return () => {\n actions.updateBinDetailError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateBin.isSuccess]);\n\n useEffect(() => {\n if (payValues.CARD_TYPE) {\n setCardOptions(getBinOptions(payValues.CARD_TYPE));\n }\n }, [payValues.CARD_TYPE]);\n\n useEffect(() => {\n if (initialValues && initialValues.cardType) {\n const selectedValue = cardOptions.filter(\n item => item.value === initialValues.cardType\n );\n setSelectedCardType(selectedValue);\n }\n }, [cardOptions, initialValues]);\n\n const onCancel = (onSuccess, entityType) => {\n closePopup(onSuccess, entityType);\n };\n\n /**\n * Method to handle form submit binValues for EditBin\n *\n * @param {object} binValues\n * @returns {null}\n */\n const handleFormSubmit = binValues => {\n const binValuesCopy = { ...binValues };\n if (binValuesCopy.cardType) {\n binValuesCopy.cardType = selectedCardType[0].value;\n }\n const request = {\n cardBinRangevo: binValuesCopy,\n };\n actions.updateBinDetailRequest(request);\n };\n\n /**\n * Method to handle cardType selection\n *\n * @param {array} value\n * @returns {null}\n */\n const handleBankSelect = value => {\n setSelectedCardType([value]);\n };\n const getCardNatureOption = values => {\n const cardNature = values;\n if (cardNature && cardNature.NB) {\n delete cardNature.NB;\n }\n return getBinOptions(cardNature) || [];\n };\n\n return (\n
    \n {updateBin && updateBin.error && updateBin.error.errorMessage ? (\n \n {updateBin.error.errorMessage}\n \n ) : null}\n
    \n
    \n

    Card Type

    \n \n
    \n
    \n
    \n
    \n

    Card Nature

    \n \n
    \n
    \n
    \n
    \n

    Issuing Bank

    \n \n
    \n
    \n
    \n
    \n
    \n

    Domestic

    \n \n
    \n
    \n
    \n
    \n

    EMI Bin

    \n \n
    \n
    \n
    \n
    \n

    Bin Block

    \n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, form, staticData, manageBin }) => ({\n auth,\n form,\n staticData,\n manageBin,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n { updateBinDetailRequest, updateBinDetailError },\n dispatch\n ),\n});\n\nEditBin.propTypes = {\n actions: PropTypes.object,\n actionType: PropTypes.string,\n auth: PropTypes.object,\n closePopup: PropTypes.func,\n fetchData: PropTypes.func,\n form: PropTypes.object,\n staticData: PropTypes.object,\n handleSubmit: PropTypes.func,\n initialValues: PropTypes.object,\n manageBin: PropTypes.object,\n dirty: PropTypes.bool,\n};\n\nOption.propTypes = {\n data: PropTypes.object.isRequired,\n isSelected: PropTypes.bool,\n};\n\nSingleValue.propTypes = {\n data: PropTypes.object,\n children: PropTypes.array,\n};\n\nexport default compose(\n reduxForm({\n form: 'edit-bin',\n validate,\n enableReinitialize: true,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(EditBin);\n","import EditBin from './EditBin';\n\nexport default EditBin;\n","import React, { useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { useHistory } from 'react-router-dom';\n\nimport { Field, reduxForm } from 'redux-form';\n\n// Component\nimport { FormElems } from '../../components/';\n\nexport const SearchBar = props => {\n const { handleSubmit, isReset, reset, untouch } = props;\n const history = useHistory();\n const inputEl = useRef(null);\n\n useEffect(() => {\n if (isReset) {\n reset();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isReset, reset]);\n\n const handleFormSubmit = values => {\n history.push(`/manage-bin/search/${values.search}`);\n if (isReset) {\n reset();\n inputEl.current.blur();\n untouch('search-bar', 'search');\n }\n };\n\n return (\n
    \n \n \n \n );\n};\n\nSearchBar.propTypes = {\n handleSubmit: PropTypes.func,\n isReset: PropTypes.bool,\n reset: PropTypes.func,\n untouch: PropTypes.func,\n};\n\nconst validate = values => {\n const errors = {};\n const isValid = /^[0-9\\d\\s]+$/i.test(values.search);\n if (!values.search) {\n errors.search = 'Please enter a bin to search';\n } else if (!isValid) {\n errors.search = 'Only numbers are allowed';\n } else if (!/^\\S+$/.test(values.search)) {\n errors.search = 'Spaces not allowed in search';\n } else if (values.search.length !== 6) {\n errors.search = 'Must be 6 characters';\n }\n return errors;\n};\n\nexport default reduxForm({\n form: 'search-bar',\n validate,\n destroyOnUnmount: true,\n})(SearchBar);\n","// Libraries\nimport React from 'react';\nimport { useHistory, useParams } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport BackIcon from '../../static/images/left-arrow.png';\nimport SearchBar from './SearchBar';\n\nconst BinHeader = props => {\n const { userAction, data, error } = props;\n const history = useHistory();\n const { searchValue } = useParams();\n\n const onBack = () => {\n history.push('/manage-bin');\n };\n\n const errorMessage = error && error.errorMessage;\n\n return (\n
    \n
    \n
    \n \n \"Back\"\n \n

    You have searched “{searchValue}” Bin

    \n \n
    \n \n
    \n {errorMessage ? (\n
    {errorMessage}
    \n ) : (\n
      \n
    • \n

      Bin Head

      \n

      {data.binHead}

      \n
    • \n
    • \n

      Card Type

      \n

      {data.cardType}

      \n
    • \n
    • \n

      Card Nature

      \n

      {data.cardNature}

      \n
    • \n
    • \n

      Domestic

      \n

      {data.isDomestic}

      \n
    • \n
    • \n

      Issuing Bank

      \n

      {data.issuingBank}

      \n
    • \n
    • \n

      EMI Bin

      \n

      {data.emiBin}

      \n
    • \n
    • \n

      Bin Block

      \n

      {data.binBlocked}

      \n
    • \n
    • \n

      Last Update

      \n

      {data.lastUpdated}

      \n
    • \n
    • \n

      Action

      \n
      \n {userAction({ original: { ...data } })}\n
      \n
    • \n
    \n )}\n
    \n );\n};\n\nBinHeader.propTypes = {\n userAction: PropTypes.func,\n selectedTab: PropTypes.string,\n setSelectedTab: PropTypes.func,\n data: PropTypes.object,\n error: PropTypes.object,\n};\n\nexport default BinHeader;\n","// Libraries\nimport { Table, Popup, EditBin } from '../';\nimport SearchBinHeader from '../../containers/ManageBin/SearchBinHeader';\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport {\n searchBinDetailRequest,\n getSearchRecentRequest,\n} from '../../containers/ManageBin/redux/manageBin.actions';\nimport {\n getInitialsEditBin,\n formatTableData,\n getFormattedData,\n} from '../../utils/helperMethods';\nimport React, { useEffect, useState, useMemo, useCallback } from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { useParams } from 'react-router-dom';\n\n// Components\n\n// Actions\n\n// Styles\nimport './binSearch.scss';\n\nconst ManageBinSearchActions = ({ data, fetchData, staticData, resetPage }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n setActionType(null);\n if (isFetch && !isFetch.target) {\n fetchData();\n }\n };\n\n const BinHeadTitle = props => {\n const { binHead } = props.data;\n return (\n
    \n

    Bin Head

    \n

    {binHead}

    \n
    \n );\n };\n\n return (\n
    \n handleOpenActionPopup('EDIT')}\n />\n }\n actionType={actionType}\n showCloseIcon\n showOverlay\n showFilter={showFilter}\n data={data.original}\n closePopup={handleCloseOpenActionPopup}\n >\n \n \n
    \n );\n};\n\nconst TableHeadSearch = props => {\n return (\n
    \n
    \n

    Recent Search

    \n
    \n
    \n );\n};\n\nconst BinSearch = props => {\n const {\n manageBin,\n staticData,\n actions,\n loader: { showLoader },\n } = props;\n\n const {\n error,\n tableDataSearch,\n searchedBin,\n isLoading,\n pagination,\n } = manageBin;\n\n const { searchValue } = useParams();\n\n // We'll start our table without any data\n const [isResetPage, setIsResetPage] = useState(false);\n\n const fetchDataSearch = useCallback(() => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n actions.getSearchRecentRequest();\n }, [actions]);\n\n const getSearchDetails = () => {\n const data = {\n binHead: searchValue,\n };\n actions.searchBinDetailRequest(data);\n fetchDataSearch();\n };\n\n useEffect(() => {\n if (searchValue) {\n getSearchDetails();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [actions, searchValue]);\n\n const columns = useMemo(\n () => [\n { header: 'Bin Head', accessor: 'binHead' },\n { header: 'Card Type ', accessor: 'cardType' },\n { header: 'Card Nature', accessor: 'cardNature' },\n { header: 'Domestic', accessor: 'isDomestic' },\n { header: 'Issuing Bank', accessor: 'issuingBank' },\n { header: 'EMI Bin', accessor: 'emiBin' },\n { header: 'Bin Block', accessor: 'binBlocked' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const tableData = formatTableData(tableDataSearch, staticData.payValues);\n\n return (\n
    \n (\n setIsResetPage(true)}\n />\n )}\n />\n }\n error={error && error.errorMessage}\n loading={showLoader || isLoading}\n fetchData={fetchDataSearch}\n numberOfRecord={pagination.totalNumberOfRecords}\n pagePerView={3}\n isResetPage={isResetPage}\n afterResetPage={() => setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n tableFilters={null}\n />\n
    \n );\n};\n\nconst mapStateToProps = ({ auth, manageBin, loader, staticData }) => ({\n auth,\n manageBin,\n staticData,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n searchBinDetailRequest,\n getSearchRecentRequest,\n },\n dispatch\n ),\n});\n\nBinSearch.propTypes = {\n actions: PropTypes.object,\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n data: PropTypes.object,\n roleStatus: PropTypes.string,\n manageBin: PropTypes.object,\n loader: PropTypes.object,\n staticData: PropTypes.object,\n};\n\nManageBinSearchActions.propTypes = {\n data: PropTypes.object,\n staticData: PropTypes.object,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(BinSearch);\n","import BinSearch from './BinSearch';\n\nexport default BinSearch;\n","const validate = values => {\n const errors = {};\n if (!values.comment) {\n errors.comment = 'Please enter your comment';\n }\n if (values.comment && values.comment.length > 300) {\n errors.comment = 'Cannot be more than 300 characters';\n }\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable no-nested-ternary */\n/* eslint-disable complexity */\n/* eslint-disable max-statements */\n/* eslint-disable max-lines-per-function */\n/* eslint-disable indent */\n// Libraries\nimport { FormElems, Alert } from '../';\nimport {\n updateIntentRequest,\n updateIntentError,\n} from '../../containers/RoleVerification/redux/roleVerification.actions';\nimport { VERIFICATION_MESSAGE } from '../../utils/constants/toastMessages';\nimport { INPROCESS } from '../../components/Table/table.constants';\nimport { getPermissionsOptions, getIntent } from '../../utils/helperMethods';\nimport validate from './validator';\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport moment from 'moment';\nimport { camelCase, isEmpty, startCase } from 'lodash';\n\n// Components\n\n// Actions\n\n// Helper Methods\n\n// Validator\n\n// Styles\nimport './roleVerificationForm.scss';\n\nconst RoleVerificationForm = props => {\n const {\n actions,\n handleSubmit,\n closePopup,\n data,\n roleStatus,\n roleVerificationData,\n } = props;\n const { updateIntent } = roleVerificationData;\n\n const isInProcess = roleStatus === INPROCESS;\n\n useEffect(() => {\n if (updateIntent.isSuccess) {\n closePopup(true);\n toast.info(VERIFICATION_MESSAGE.ROLE_STATUS_UPDATE);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateIntent.isSuccess]);\n\n useEffect(() => {\n return () => {\n actions.updateIntentError({ error: {}, isSuccess: false });\n };\n }, [actions]);\n\n const handleFormSubmit = values => {\n if (values.userAction === 'approve') {\n actions.updateIntentRequest({\n requestId: data.requestId,\n comment: values.comment,\n action: 'APPROVED',\n });\n }\n\n if (values.userAction === 'reject') {\n actions.updateIntentRequest({\n requestId: data.requestId,\n comment: values.comment,\n action: 'REJECTED',\n });\n }\n };\n\n return (\n
    \n
    \n
    \n

    Status

    \n
    \n {data.roleCreatedUpdate && (\n <>\n {getIntent(data.lastActions)}{' '}\n {data.roleCreatedUpdate},{' '}\n {moment(data.roleCreatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(data.roleCreatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.roleCreatedDate}\n \n )}\n
    \n
    \n \n {data.roleStatusNew}\n \n {data.roleStatusOld &&\n data.roleStatusOld !== data.roleStatusNew ? (\n \n {data.roleStatusOld}\n \n ) : null}\n
    \n
    \n
    \n
    \n {data.resourceDetail.map((resource, index) => {\n return (\n
    \n
    \n

    \n {resource.labelName ||\n startCase(\n camelCase(resource.resourceName)\n )}\n

    \n
    \n {resource.permissionDetail.map(\n permission => {\n return (\n <>\n
    \n \n {permission.labelName ||\n startCase(\n camelCase(\n permission.permissionName\n )\n )}\n
    \n {permission?.subPermissionDetails?.map(\n subPermission => {\n return (\n
    \n \n {subPermission.labelName ||\n startCase(\n camelCase(\n subPermission.permissionName\n )\n )}\n
    \n );\n }\n )}\n \n );\n }\n )}\n
    \n
    \n
    \n );\n })}\n
    \n
    \n

    Comment

    \n {data.checkerComment\n ? data.checkerComment\n : data.makerComment || '-'}\n
    \n {isInProcess ? (\n
    \n

    Comment

    \n \n
    \n ) : null}\n {updateIntent.error && updateIntent.error.errorMessage ? (\n {updateIntent.error.errorMessage}\n ) : null}\n
    \n {isInProcess ? (\n <>\n {\n handleFormSubmit({\n ...values,\n userAction: 'reject',\n });\n })}\n />\n {\n handleFormSubmit({\n ...values,\n userAction: 'approve',\n });\n })}\n />\n \n ) : null}\n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, roleVerificationData, form }) => ({\n auth,\n roleVerificationData,\n formData: form['role-verification'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n updateIntentRequest,\n updateIntentError,\n },\n dispatch\n ),\n});\n\nRoleVerificationForm.propTypes = {\n actions: PropTypes.object,\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n data: PropTypes.object,\n roleStatus: PropTypes.string,\n roleVerificationData: PropTypes.object,\n};\n\nexport default compose(\n reduxForm({\n form: 'role-verification',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(RoleVerificationForm);\n","import RoleVerificationForm from './RoleVerificationForm';\n\nexport default RoleVerificationForm;\n","import { useEffect, useRef } from 'react';\n\nexport function useInterval(callbackFunc, delay) {\n const savedCallback = useRef();\n // Remember The latest call Back.\n\n useEffect(() => {\n savedCallback.current = callbackFunc;\n }, [callbackFunc]);\n\n // Setup the Interval .\n useEffect(() => {\n function tick() {\n savedCallback.current();\n }\n if (delay !== null) {\n const identifier = setInterval(tick, delay);\n return () => {\n clearInterval(identifier);\n };\n }\n }, [callbackFunc, delay]);\n}\n","import {\n FETCH_TRANSACTIONS_REQUEST,\n FETCH_TRANSACTIONS_SUCCESS,\n FETCH_TRANSACTIONS_ERROR,\n HIDE_TRANSACTION_LOADER,\n SHOW_TRANSACTION_LOADER,\n GENERATE_REPORT_REQUEST,\n GENERATE_REPORT_SUCCESS,\n GENERATE_REPORT_ERROR,\n GET_ACTIVE_REPORT_REQUEST,\n GET_ACTIVE_REPORT_SUCCESS,\n GET_ACTIVE_REPORT_ERROR,\n DOWNLOAD_REPORT_REQUEST,\n DOWNLOAD_REPORT_SUCCESS,\n DOWNLOAD_REPORT_ERROR,\n FETCH_TRANSACTIONS_STATUS_REQUEST,\n FETCH_TRANSACTIONS_STATUS_SUCCESS,\n FETCH_TRANSACTIONS_STATUS_ERROR,\n RESET_TRANSACTION_STATE,\n GET_REFUND_TXN_REQUEST,\n GET_REFUND_TXN_SUCCESS,\n GET_REFUND_TXN_ERROR,\n RESET_REFUND_TXN,\n} from './transactions.constants';\n\nexport const fetchTransactionsRequest = payload => ({\n type: FETCH_TRANSACTIONS_REQUEST,\n payload,\n});\n\nexport const fetchTransactionsSuccess = payload => ({\n type: FETCH_TRANSACTIONS_SUCCESS,\n payload,\n});\n\nexport const fetchTransactionsError = payload => ({\n type: FETCH_TRANSACTIONS_ERROR,\n payload,\n});\n\nexport const fetchTransactionsStatusRequest = payload => ({\n type: FETCH_TRANSACTIONS_STATUS_REQUEST,\n payload,\n});\n\nexport const fetchTransactionsStatusSuccess = payload => ({\n type: FETCH_TRANSACTIONS_STATUS_SUCCESS,\n payload,\n});\n\nexport const fetchTransactionsStatusError = payload => ({\n type: FETCH_TRANSACTIONS_STATUS_ERROR,\n payload,\n});\n\nexport const generateReportRequest = payload => ({\n type: GENERATE_REPORT_REQUEST,\n payload,\n});\n\nexport const generateReportSuccess = payload => ({\n type: GENERATE_REPORT_SUCCESS,\n payload,\n});\n\nexport const generateReportError = payload => ({\n type: GENERATE_REPORT_ERROR,\n payload,\n});\n\nexport const getActiveReportRequest = payload => ({\n type: GET_ACTIVE_REPORT_REQUEST,\n hideLoader: payload.hideLoader,\n payload,\n});\n\nexport const getActiveReportSuccess = payload => ({\n type: GET_ACTIVE_REPORT_SUCCESS,\n payload,\n});\n\nexport const getActiveReportError = payload => ({\n type: GET_ACTIVE_REPORT_ERROR,\n payload,\n});\n\nexport const getRefundTxnRequest = payload => ({\n type: GET_REFUND_TXN_REQUEST,\n payload,\n});\n\nexport const getRefundTxnSuccess = payload => ({\n type: GET_REFUND_TXN_SUCCESS,\n payload,\n});\n\nexport const getRefundTxnError = payload => ({\n type: GET_REFUND_TXN_ERROR,\n payload,\n});\n\nexport const resetRefunTxn = () => ({\n type: RESET_REFUND_TXN,\n});\n\nexport const downloadReportRequest = payload => ({\n type: DOWNLOAD_REPORT_REQUEST,\n payload,\n});\n\nexport const downloadReportSuccess = payload => ({\n type: DOWNLOAD_REPORT_SUCCESS,\n payload,\n});\n\nexport const downloadReportError = payload => ({\n type: DOWNLOAD_REPORT_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_TRANSACTION_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_TRANSACTION_LOADER });\n\nexport const resetTxnState = () => ({ type: RESET_TRANSACTION_STATE });\n","const FETCH_TRANSACTIONS_REQUEST = 'FETCH_TRANSACTIONS_REQUEST';\nconst FETCH_TRANSACTIONS_SUCCESS = 'FETCH_TRANSACTIONS_SUCCESS';\nconst FETCH_TRANSACTIONS_ERROR = 'FETCH_TRANSACTIONS_ERROR';\nconst FETCH_TRANSACTIONS_STATUS_REQUEST = 'FETCH_TRANSACTIONS_STATUS_REQUEST';\nconst FETCH_TRANSACTIONS_STATUS_SUCCESS = 'FETCH_TRANSACTIONS_STATUS_SUCCESS';\nconst FETCH_TRANSACTIONS_STATUS_ERROR = 'FETCH_TRANSACTIONS_STATUS_ERROR';\nconst HIDE_TRANSACTION_LOADER = 'HIDE_TRANSACTION_LOADER';\nconst SHOW_TRANSACTION_LOADER = 'SHOW_TRANSACTION_LOADER';\nconst GENERATE_REPORT_REQUEST = 'GENERATE_REPORT_REQUEST';\nconst GENERATE_REPORT_SUCCESS = 'GENERATE_REPORT_SUCCESS';\nconst GENERATE_REPORT_ERROR = 'GENERATE_REPORT_ERROR';\nconst GET_ACTIVE_REPORT_REQUEST = 'GET_ACTIVE_REPORT_REQUEST';\nconst GET_ACTIVE_REPORT_SUCCESS = 'GET_ACTIVE_REPORT_SUCCESS';\nconst GET_ACTIVE_REPORT_ERROR = 'GET_ACTIVE_REPORT_ERROR';\nconst DOWNLOAD_REPORT_REQUEST = 'DOWNLOAD_REPORT_REQUEST';\nconst DOWNLOAD_REPORT_SUCCESS = 'DOWNLOAD_REPORT_SUCCESS';\nconst DOWNLOAD_REPORT_ERROR = 'DOWNLOAD_REPORT_ERROR';\nconst RESET_TRANSACTION_STATE = 'RESET_TRANSACTION_STATE';\n\nconst GET_REFUND_TXN_REQUEST = 'GET_REFUND_TXN_REQUEST';\nconst GET_REFUND_TXN_SUCCESS = 'GET_REFUND_TXN_SUCCESS';\nconst RESET_REFUND_TXN = 'RESET_REFUND_TXN';\nconst GET_REFUND_TXN_ERROR = 'GET_REFUND_TXN_ERROR';\nexport {\n FETCH_TRANSACTIONS_REQUEST,\n FETCH_TRANSACTIONS_SUCCESS,\n FETCH_TRANSACTIONS_ERROR,\n HIDE_TRANSACTION_LOADER,\n SHOW_TRANSACTION_LOADER,\n GENERATE_REPORT_REQUEST,\n GENERATE_REPORT_SUCCESS,\n GENERATE_REPORT_ERROR,\n GET_ACTIVE_REPORT_REQUEST,\n GET_ACTIVE_REPORT_SUCCESS,\n GET_ACTIVE_REPORT_ERROR,\n DOWNLOAD_REPORT_REQUEST,\n DOWNLOAD_REPORT_SUCCESS,\n DOWNLOAD_REPORT_ERROR,\n FETCH_TRANSACTIONS_STATUS_REQUEST,\n FETCH_TRANSACTIONS_STATUS_SUCCESS,\n FETCH_TRANSACTIONS_STATUS_ERROR,\n RESET_TRANSACTION_STATE,\n GET_REFUND_TXN_REQUEST,\n GET_REFUND_TXN_SUCCESS,\n GET_REFUND_TXN_ERROR,\n RESET_REFUND_TXN,\n};\n","// Libraries\nimport Generating from '../../static/images/generating.gif';\nimport NoResult from '../../static/images/noDataFound.png';\nimport { useInterval } from '../../hooks/customHooks';\nimport {\n getActiveReportRequest,\n downloadReportRequest,\n} from '../../containers/Transactions/redux/transactions.actions';\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\n\n// Custom hooks\n\n// Actions\n\n// Styles\nimport './viewDownloadStatus.scss';\n\nconst REFRESH_INTERVAL = 20000;\n\nconst ViewDownloadStatus = props => {\n const { actions, data } = props;\n const isGeneratingData = data && data.generating && data.generating.length;\n const isCompleteData = data && data.complete && data.complete.length;\n\n // eslint-disable-next-line space-before-function-paren\n useInterval(async () => {\n if (isGeneratingData) {\n await actions.getActiveReportRequest(true);\n }\n }, REFRESH_INTERVAL);\n\n useEffect(() => {\n actions.getActiveReportRequest({ reportType: props.reportType });\n }, [actions, props.reportType]);\n\n const handleDownload = item => {\n if (item.requestId) {\n actions.downloadReportRequest(item);\n }\n };\n\n return (\n
    \n {data ? (\n <>\n {isGeneratingData ? (\n
    \n Your File is{' '}\n Generating…… \n
    \n you can download it when it will be completed\n
    \n ) : null}\n {isGeneratingData ? (\n
    \n

    Generating File

    \n
      \n {data.generating.map(item => (\n
    • \n
      \n {item.fileName}\n
      \n
      \n \n
      \n
    • \n ))}\n
    \n
    \n ) : null}\n {isCompleteData ? (\n
    \n

    Recent File

    \n
      \n {data.complete &&\n data.complete.map(item => (\n
    • \n
      \n {item.fileName}\n
      \n
      \n \n handleDownload(item)\n }\n />\n
      \n
    • \n ))}\n
    \n
    \n ) : null}\n \n ) : (\n
    \n \"No\n No Generated files found.\n
    \n )}\n
    \n );\n};\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n getActiveReportRequest,\n downloadReportRequest,\n },\n dispatch\n ),\n});\n\nViewDownloadStatus.propTypes = {\n actions: PropTypes.object,\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n data: PropTypes.object,\n refundData: PropTypes.object,\n reportType: PropTypes.string,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ViewDownloadStatus);\n","import ViewDownloadStatus from './ViewDownloadStatus';\n\nexport default ViewDownloadStatus;\n","/* eslint-disable complexity */\n/* eslint-disable indent */\n/* eslint-disable no-nested-ternary */\n/* eslint-disable max-lines-per-function */\n// Libraries\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport {\n fetchEntityRequest,\n updateUserRequest,\n updateAdminUserRequest,\n updateUserReset,\n createUserReset,\n} from '../../containers/UserManagement/redux/userManagement.actions';\nimport { getIntent } from '../../utils/helperMethods';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport moment from 'moment';\n\n// Actions\n\n// Styles\nimport './userMakerView.scss';\n\nconst UserMakerView = props => {\n const { data } = props;\n\n return (\n
    \n
    \n
    \n

    Status

    \n \n {data.userStatus}\n {data.userStatusOld &&\n data.userStatus !== data.userStatusOld ? (\n \n {data.userStatusOld}\n \n ) : null}\n
    \n
    \n {/* {data.lastUpdatedByName && (\n <>\n Last Edit : {data.lastUpdatedByName},{' '}\n {moment(data.lastUpdatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(data.lastUpdatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.lastUpdatedDate}\n \n )} */}\n {data.userCreatedUpdatedName && (\n <>\n {getIntent(data.lastActions)}{' '}\n {data.userCreatedUpdatedName}, \n {moment(data.userCreatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(data.userCreatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.userCreatedDate}\n \n )}\n
    \n
    \n
    \n
    \n

    Email ID

    \n

    {data.email}

    \n
    \n
    \n

    Role

    \n

    \n \n {data.userRoleName}\n \n {data.userRoleNameOld &&\n data.userRoleName !== data.userRoleNameOld ? (\n \n {data.userRoleNameOld}\n \n ) : null}\n

    \n
    \n
    \n
    \n
    \n

    User Level

    \n

    \n \n {data.userLevel}\n \n {data.userLevelOld &&\n data.userLevelOld !== data.userLevel ? (\n \n {data.userLevelOld}\n \n ) : null}\n

    \n
    \n
    \n
    \n
    \n

    {data.userLevel}

    \n
    \n \n {data.entityName}\n \n {data.entityNameOld &&\n data.entityNameOld !== data.entityName ? (\n \n {data.entityNameOld}\n \n ) : null}\n
    \n
    \n
    \n
    \n

    Comment

    \n

    \n {data.checkerComment\n ? data.checkerComment\n : data.makerComment || '-'}\n

    \n
    \n
    \n \n );\n};\n\nconst mapStateToProps = ({ auth, userManagementData, form }) => ({\n auth,\n userManagementData,\n formData: form['user-checker-view'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n fetchEntityRequest,\n updateUserRequest,\n updateAdminUserRequest,\n updateUserReset,\n createUserReset,\n },\n dispatch\n ),\n});\n\nUserMakerView.propTypes = {\n data: PropTypes.object,\n};\n\nexport default compose(\n reduxForm({\n form: 'user-checker-view',\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(UserMakerView);\n","import UserMakerView from './UserMakerView';\n\nexport default UserMakerView;\n","/* eslint-disable max-statements */\n/* eslint-disable complexity */\n/* eslint-disable indent */\n/* eslint-disable no-nested-ternary */\n/* eslint-disable max-lines-per-function */\n// Libraries\nimport { FormElems, Alert } from '../';\nimport { getPermissionsOptions, getIntent } from '../../utils/helperMethods';\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport moment from 'moment';\nimport { isEmpty } from 'lodash';\n\n// Components\n\n// Helper Methods\n\n// Styles\nimport './roleMakerView.scss';\n\nconst RoleMakerView = props => {\n const { data, roleManagementData } = props;\n\n const { updateRole } = roleManagementData;\n\n const [accessManagementOptions, setAccessManagementOptions] = useState([]);\n const [mobOptions, setMobOptions] = useState([]);\n const [reportOptions, setReportOptions] = useState([]);\n const [refundOptions, setRefundOptions] = useState([]);\n const [manageBinOptions, setManageBinOptions] = useState([]);\n const [manageAccountOptions, setManageAccountOptions] = useState([]);\n const [myAccountOptions, setMyAccountOptions] = useState([]);\n const [dashboardOptions, setDashboardOptions] = useState([]);\n const [payLinkOption, setPayLinkOption] = useState([]);\n const [auditTrailOption, setAuditTrailOption] = useState([]);\n const [mandateOption, setMandateOption] = useState([]);\n\n useEffect(() => {\n if (data && data.resourceDetail) {\n const resourcePermissionDetails = [...data.resourceDetail];\n const resourcePermissionDetailsOld = [...data.resourceDetailOld];\n\n // Format Access Management Data\n const accessManagementOptions = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'access_management'\n );\n\n setAccessManagementOptions(accessManagementOptions);\n\n // Format Reports Data\n const reportOptions = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'reports'\n );\n\n setReportOptions(reportOptions);\n\n // Format Refund Data\n const refundOptions = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'refunds'\n );\n\n setRefundOptions(refundOptions);\n\n // Format Manage Bin Data\n const manageBinOptions = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'manage_bin'\n );\n setManageBinOptions(manageBinOptions);\n\n // Format Manage Account Data\n const manageAccountOptions = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'manage_account'\n );\n setManageAccountOptions(manageAccountOptions);\n\n // Format My Account Data\n const myAccountOptions = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'my_account'\n );\n setMyAccountOptions(myAccountOptions);\n\n // Format Dashboard Data\n const dashboardOptions = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'dashboard'\n );\n setDashboardOptions(dashboardOptions);\n\n // Form Merchant Onboard Data\n const mobOptions = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'merchant_onboarding'\n );\n\n setMobOptions(mobOptions);\n\n // Format Payment Link Data\n const payLinkOptions = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'payment_links'\n );\n setPayLinkOption(payLinkOptions);\n\n // Format Payment Link Data\n const auditTrailOption = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'audit_trail'\n );\n setAuditTrailOption(auditTrailOption);\n\n const mandateOption = getPermissionsOptions(\n resourcePermissionDetailsOld,\n resourcePermissionDetails,\n 'mandates'\n );\n setMandateOption(mandateOption);\n }\n }, [data]);\n\n\n return (\n
    \n
    \n
    \n

    Status

    \n <>\n
    \n \n {data.roleStatus}\n \n {data.roleStatusOld &&\n data.roleStatus !== data.roleStatusOld ? (\n \n {data.roleStatusOld}\n \n ) : null}\n
    \n
    \n {data.roleCreatedUpdatedName && (\n <>\n {getIntent(data.lastActions)}{' '}\n \n {data.roleCreatedUpdatedName},{' '}\n \n {moment(data.roleCreatedDate, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(\n data.roleCreatedDate,\n 'DD/MM/YYYY'\n )\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.roleCreatedDate}\n \n )}\n
    \n \n
    \n
    \n
    \n
    \n {!isEmpty(accessManagementOptions) ? (\n
    \n

    Access Management

    \n
    \n \n
    \n
    \n ) : null}\n {!isEmpty(reportOptions) ? (\n
    \n

    Reports

    \n
    \n \n
    \n
    \n ) : null}\n {!isEmpty(refundOptions) ? (\n
    \n

    Refunds

    \n
    \n \n
    \n
    \n ) : null}\n {!isEmpty(dashboardOptions) ? (\n
    \n

    Dashboard

    \n
    \n \n
    \n
    \n ) : null}\n {!isEmpty(auditTrailOption) ? (\n
    \n

    Audit Report

    \n
    \n \n
    \n
    \n ) : null}\n
    \n
    \n {!isEmpty(mobOptions) ? (\n
    \n

    Merchant Onboarding

    \n
    \n \n
    \n
    \n ) : null}\n {!isEmpty(manageBinOptions) ? (\n
    \n

    Manage Bin

    \n
    \n \n
    \n
    \n ) : null}\n {!isEmpty(manageAccountOptions) ? (\n
    \n

    Manage Account

    \n
    \n \n
    \n
    \n ) : null}\n {!isEmpty(myAccountOptions) ? (\n
    \n

    My Account

    \n
    \n \n
    \n
    \n ) : null}\n {!isEmpty(payLinkOption) ? (\n
    \n

    Payment Links

    \n
    \n \n
    \n
    \n ) : null}\n {!isEmpty(mandateOption) ? (\n
    \n

    Mandate

    \n
    \n \n
    \n
    \n ) : null}\n
    \n
    \n
    \n
    Comment
    \n
    \n {data.checkerComment\n ? data.checkerComment\n : data.makerComment || '-'}\n
    \n
    \n {updateRole.message ? {updateRole.message} : null}\n
    \n );\n};\n\nconst mapStateToProps = ({ auth, roleManagementData, form }) => ({\n auth,\n roleManagementData,\n formData: form['role-checker-view'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nRoleMakerView.propTypes = {\n data: PropTypes.object,\n roleManagementData: PropTypes.object,\n};\n\nexport default compose(\n reduxForm({\n form: 'role-checker-view',\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(RoleMakerView);\n","import {\n validators,\n checkNumberList,\n checkEmailList,\n} from '../../utils/validators';\nimport { isEmpty } from 'lodash';\n\nconst validate = values => {\n const { REQUIRE } = validators;\n const errors = {};\n const productDetailsErrors = [];\n\n const isMultiProductLink =\n values &&\n values.multiProductLink &&\n values.multiProductLink.length &&\n values.multiProductLink.includes('multiProductLink');\n\n if (REQUIRE(values.linkName)) {\n errors.linkName = 'Please enter a link name';\n } else if (REQUIRE(values.linkId)) {\n errors.linkId = 'Please enter a link Id';\n } else if (!isMultiProductLink && REQUIRE(values.amount)) {\n errors.amount = 'Please enter a amount';\n } else if (!isMultiProductLink && Number(values.amount) < 1) {\n errors.amount = 'Please enter amount greater than 0';\n } else if (REQUIRE(values.validity)) {\n errors.validity = 'Please select a validity';\n } else if (REQUIRE(values.remarks)) {\n errors.remarks = 'Please enter a remark';\n } else if (\n !isEmpty(values.shareValue) &&\n isEmpty(values.sharebysms) &&\n isEmpty(values.sharebyemail)\n ) {\n errors.sharebyemail = 'Please enter the Emails and Phone Numbers';\n }\n\n if (checkNumberList(values.sharebysms)) {\n errors.sharebysms = 'Please enter valid mobile numbers';\n }\n if (checkEmailList(values.sharebyemail)) {\n errors.sharebyemail = 'Please enter valid emails';\n }\n if (\n values &&\n values.multiProductLink &&\n values.multiProductLink.length &&\n values.multiProductLink.includes('multiProductLink') &&\n values.productInfo &&\n values.productInfo.length\n ) {\n values.productInfo.forEach((product, productIndex) => {\n const productError = {};\n\n if (!product || REQUIRE(product.name)) {\n productError.name = 'Please enter name';\n }\n\n if (!product || REQUIRE(product.amount)) {\n productError.amount = 'Please enter amount';\n }\n\n if (product && parseInt(product.amount, 10) < 0) {\n productError.amount = 'Amount cannot be negative';\n }\n\n if (Object.keys(productError).length) {\n productDetailsErrors[productIndex] = productError;\n }\n });\n }\n\n if (productDetailsErrors.length) {\n errors.productInfo = productDetailsErrors;\n }\n\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable indent */\n/* eslint-disable camelcase */\n/* eslint-disable max-statements */\n// Libraries\nimport { getTagsValue } from '../../utils/helperMethods';\nimport { FormElems, Alert, GetTemplateFields } from '../';\nimport { validityOptions } from '../../utils/constants/commonValues';\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport {\n createPayLinksRequest,\n createPayLinksError,\n} from '../../containers/PaymentLink/redux/paymentLink.actions';\nimport validate from './validator';\nimport React, { useMemo, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, FieldArray, reduxForm, change } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { isEmpty } from 'lodash';\nimport { toast } from 'react-toastify';\n\n// Components\n\n// Utils\n\n// Actions\n\n// Validator\n\n// Styles\nimport './createPaymentLink.scss';\nimport { fieldLevelValidators } from 'utils/validators';\n\n// Check the sharable flag status.\nconst getShareableValue = value => {\n if (value === true || value === 'shareValue') {\n return true;\n } else if (Array.isArray(value) && value.includes('shareValue')) {\n return true;\n }\n return false;\n};\n\n/**\n * CreatePaymentLink Component\n *\n * @param {Object} props - React component props\n */\n\nconst CreatePaymentLink = props => {\n const {\n handleSubmit,\n actions,\n closePopup,\n formData={},\n paymentLinkData,\n fetchData,\n resetPage,\n } = props;\n\n const { values } = formData;\n\n const isMultiProductLink =\n values &&\n values.multiProductLink &&\n values.multiProductLink.length &&\n values.multiProductLink.includes('multiProductLink');\n\n const { createPay, templateDetails } = paymentLinkData;\n\n const { template } = templateDetails;\n\n // template specific checks\n const isMultiProductLinkHidden =\n template && template.multiProductLinkHidden;\n\n const isDefaultShareEnabled = template && template.defaultShareEnabled;\n\n const defaultLinkName = template && template.defaultLinkName;\n\n // useEffect to update the default value of link ID\n useEffect(() => {\n if (defaultLinkName) {\n actions.change('create-payment-link', 'linkName', defaultLinkName);\n }\n }, [defaultLinkName]);\n\n // useEffect to update the default value of share value\n useEffect(() => {\n if (isDefaultShareEnabled) {\n actions.change('create-payment-link', 'shareValue', ['shareValue']);\n }\n }, [isDefaultShareEnabled]);\n\n // Handle on Success of Create PayLink\n useEffect(() => {\n if (createPay.isSuccess) {\n closePopup();\n fetchData({ pageIndex: 1, pageSize: 10 });\n resetPage();\n toast.info(SUCCESS_MESSAGES.CREATE_ENTITY('Paylink'));\n }\n return () => {\n actions.createPayLinksError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fetchData, createPay.isSuccess]);\n\n // Handle Form submit\n function handleFormSubmit(data) {\n const reqPayload = {\n amount: parseFloat(data.amount),\n linkId: data.linkId,\n linkName: data.linkName,\n remarks: data.remarks,\n validityPeriod: parseInt(data.validity, 10),\n };\n\n // sending template data if the template is enabled for the merchant\n if (template?.templateId) {\n reqPayload.templateInfo = data.templateInfo\n ? data.templateInfo\n : { additionalInfo: {} };\n reqPayload.templateInfo.templateId = template?.templateId;\n\n const filteredFields = template.fields.filter(item => item.type !== 'placeholder');\n const hiddenFields = filteredFields.filter(item => item.type === 'hidden');\n\n if (hiddenFields && hiddenFields.length) {\n hiddenFields.forEach(item => {\n reqPayload.templateInfo.additionalInfo[item.name] =\n item.defaultValue;\n });\n }\n }\n\n if (isMultiProductLink) {\n const { productInfo } = data;\n\n let mandatorySum = 0;\n let totalSum = 0;\n const updatedProductInfo = productInfo.map(\n (product, productIndex) => {\n totalSum = totalSum + Number(product.amount);\n if (\n product.isMandatory &&\n product.isMandatory.length &&\n product.isMandatory.includes('isMandatory')\n ) {\n mandatorySum = mandatorySum + Number(product.amount);\n }\n return {\n ...product,\n isMandatory:\n product.isMandatory &&\n product.isMandatory.length &&\n product.isMandatory.includes('isMandatory')\n ? true\n : false,\n };\n }\n );\n\n reqPayload.maxAmount = totalSum;\n reqPayload.minAmount = mandatorySum;\n reqPayload.productInfo = updatedProductInfo;\n reqPayload.amount = mandatorySum;\n\n if (mandatorySum <= 0) {\n toast.error('One Non Zero product should be Mandatory');\n return;\n }\n } else {\n reqPayload.maxAmount = reqPayload.amount;\n reqPayload.minAmount = reqPayload.amount;\n }\n\n if (!isEmpty(data.shareValue)) {\n reqPayload.communicationDetails = {\n email:\n data.sharebyemail &&\n getTagsValue(JSON.parse(data.sharebyemail)),\n mobile:\n data.sharebysms &&\n getTagsValue(JSON.parse(data.sharebysms)),\n };\n }\n console.log(\"requested payload\", reqPayload);\n actions.createPayLinksRequest(reqPayload);\n }\n\n // Get the isSharable checkbox value;\n const isShareable = useMemo(\n () => getShareableValue(formData.values && formData.values.shareValue),\n [formData.values]\n );\n\n useEffect(() => {\n const isValidNumber = value =>\n typeof value === 'number' && !isNaN(value);\n\n if (\n isMultiProductLink &&\n values.productInfo &&\n values.productInfo.length\n ) {\n let sum = 0;\n\n values.productInfo.forEach((item, index) => {\n let numberToBeAdded = item?.amount ? item?.amount : 0;\n numberToBeAdded = Number(numberToBeAdded);\n numberToBeAdded = isValidNumber(numberToBeAdded)\n ? numberToBeAdded\n : 0;\n\n sum = sum + numberToBeAdded;\n\n actions.change('create-payment-link', 'amount', sum);\n });\n }\n }, [values?.productInfo]);\n\n useEffect(() => {\n actions.change('create-payment-link', 'amount', null);\n actions.change('create-payment-link', 'productInfo', null);\n }, [values?.multiProductLink]);\n\n return (\n \n
    \n
    \n

    Link Name

    \n \n
    \n
    \n
    \n
    \n

    Link Id

    \n \n
    \n
    \n {!isMultiProductLinkHidden ? (\n
    \n
    \n \n
    \n
    \n ) : (\n <>\n )}\n {isMultiProductLink ? (\n
    \n \n
    \n ) : (\n <>\n )}\n\n {template && template.templateId ? (\n <>\n \n item.name !== 'feeType' && item.type != 'hidden' && item.type !== 'placeholder'\n )}\n isMultiProductLink={isMultiProductLink}\n />\n
    \n <>\n
    \n {template.fields\n .filter(\n item =>\n item.type !== 'placeholder' &&\n item.name === 'feeType' &&\n item.type != 'hidden'\n )\n .map((field, fieldIndex) => {\n const {\n name,\n label,\n type,\n maxLength,\n placeholder,\n max,\n min,\n validators,\n } = field;\n\n // Map validators to corresponding functions\n const validationRule = validators\n .map(\n validator =>\n fieldLevelValidators[validator]\n )\n .filter(\n validatorFunction =>\n validatorFunction !==\n undefined &&\n validatorFunction !== null\n );\n\n return (\n \n {/* Display label */}\n

    {label}

    \n\n {/* Render input field */}\n \n
    \n );\n })}\n
    \n

    Amount

    \n \n
    \n
    \n
    \n
    \n

    Validity

    \n \n
    \n
    \n \n \n ) : (\n
    \n
    \n

    Amount

    \n \n
    \n
    \n

    Validity

    \n \n
    \n
    \n )}\n\n
    \n
    \n

    Remarks

    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n {isShareable ? (\n <>\n
    \n
    \n

    Share by SMS

    \n \n
    \n
    \n
    \n
    \n

    Share by Email

    \n \n
    \n
    \n \n ) : null}\n {createPay.error && createPay.error.errorMessage ? (\n {createPay.error.errorMessage}\n ) : null}\n
    \n
    closePopup()}>\n CANCEL\n
    \n \n
    \n \n );\n};\n\nconst multiProductDownLink = ({\n fields,\n meta: { error, submitFailed },\n auth,\n isViewMode,\n}) => {\n const newAddFieldInitialData = { isMandatory: ['isMandatory'] };\n if (fields.length <= 0) {\n fields.push({ ...newAddFieldInitialData });\n }\n\n return (\n
    \n
    \n {fields.map((item, index) => (\n <>\n
    \n {!isViewMode && (\n fields.remove(index)}\n />\n )}\n
    \n

    Product Name

    \n \n
    \n
    \n

    Amount

    \n \n
    \n
    \n \n
    \n
    \n \n ))}\n
    \n
    \n {!isViewMode && (\n {\n fields.push({ ...newAddFieldInitialData });\n }}\n />\n )}\n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, paymentLinkData, form }) => ({\n auth,\n paymentLinkData,\n formData: form['create-payment-link'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createPayLinksRequest,\n createPayLinksError,\n change,\n },\n dispatch\n ),\n});\n\nmultiProductDownLink.propTypes = {\n fields: PropTypes.object,\n meta: PropTypes.object,\n auth: PropTypes.object,\n uniqueId: PropTypes.object,\n isViewMode: PropTypes.bool,\n};\n\nCreatePaymentLink.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n closePopup: PropTypes.func,\n handleSubmit: PropTypes.func,\n paymentLinkData: PropTypes.object,\n formData: PropTypes.object,\n fetchData: PropTypes.object,\n resetPage: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'create-payment-link',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(CreatePaymentLink);\n","import CreatePaymentLink from './CreatePaymentLink';\n\nexport default CreatePaymentLink;\n","import {\n STATUS_TYPE,\n validityOptions,\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction PaySummary(data) {\n const values = data && data.summaryData;\n return (values && this.createRow(values)) || {};\n}\n\nPaySummary.prototype = Object.assign(PaySummary.prototype, {\n createRow(row) {\n const {\n amount,\n createdBy,\n createdOn,\n editedBy,\n editedOn,\n linkDataId,\n linkDataStatus,\n linkId,\n linkName,\n remarks,\n sharedCount,\n txnSuccessCount,\n validityPeriod,\n } = row;\n return {\n amount: amount || '-',\n createdBy: createdBy || '-',\n createdOn: this.convertDate(createdOn),\n editedBy: editedBy || '-',\n editedOn: this.convertDate(editedOn),\n linkDataId: linkDataId || '-',\n linkDataStatus: this.getTransactionStatus(linkDataStatus),\n linkId: linkId || '-',\n linkName: linkName || '-',\n remarks: remarks || '-',\n sharedCount: sharedCount || '-',\n txnSuccessCount: txnSuccessCount || '-',\n validityPeriod: this.getValidity(validityPeriod),\n };\n },\n getTransactionStatus(status) {\n if (!status) {\n return '-';\n }\n return STATUS_TYPE[status];\n },\n getValidity(validityPeriod) {\n if (!validityPeriod) {\n return '-';\n }\n const values = validityOptions.filter(\n item => item.value === validityPeriod\n );\n return (values && values.length && values[0].name) || '-';\n },\n convertDate(date) {\n const dateFormat = parseInt(date, 10);\n const dateString = moment(dateFormat).format('DD/MM/YYYY');\n return dateString;\n },\n});\n\nexport default PaySummary;\n","// Libraries\nimport { DEFAULT_CURRENCY } from '../../utils/constants/commonValues';\nimport { getCommDetails } from '../../utils/helperMethods';\nimport PaySummary from '../../containers/PaymentLink/models/paySummary';\nimport { Table } from '../';\nimport BackIcon from '../../static/images/left-arrow.png';\nimport {\n fetchPaymentsRequest,\n reSharePayLinksRequest,\n viewPayLinksRequest,\n} from '../../containers/PaymentLink/redux/paymentLink.actions';\nimport React, { useEffect, useState, useMemo, useCallback } from 'react';\nimport PropTypes from 'prop-types';\nimport { isEmpty } from 'lodash';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { useParams, useHistory } from 'react-router-dom';\n\n// Utils\n\n// Components\n\n// Styles\nimport './viewPayments.scss';\n\nconst ViewPaymentsActions = ({ viewPay, data, reSharePayLinksRequest }) => {\n // Get Communication details from data\n const commDetails = getCommDetails(data.original);\n const handleOpenActionPopup = actionType => {\n if (!isEmpty(commDetails)) {\n const request = {\n linkId: data.original.sharedLinkId,\n };\n reSharePayLinksRequest(request);\n }\n };\n\n return (\n
    \n handleOpenActionPopup('share')}\n />\n
    \n );\n};\n\nconst PaymentLinkHeader = props => {\n const { data, error, actions } = props;\n const payValues = new PaySummary(data);\n\n const history = useHistory();\n const { linkDataId } = useParams();\n\n // Handle Url change for payment link transaction view summary.\n useEffect(() => {\n const request = {\n linkDataId,\n };\n actions.viewPayLinksRequest(request);\n }, [actions, linkDataId]);\n\n const onBack = () => {\n history.push('/payment-link');\n };\n\n return (\n
    \n
    \n
    \n \n \"Back\"\n \n

    {payValues.linkName}

    \n \n
    \n
    \n {error && error.errorMessage ? (\n
    {error.errorMessage}
    \n ) : (\n
      \n
    • \n

      Link ID

      \n

      \n {payValues.linkDataId || linkDataId || '-'}\n

      \n
    • \n
    • \n

      Amount

      \n

      \n {payValues.amount &&\n `${DEFAULT_CURRENCY} ${payValues.amount}`}\n

      \n
    • \n
    • \n

      Created On

      \n

      {payValues.createdOn}

      \n
    • \n
    • \n

      Validity Period

      \n

      {payValues.validityPeriod}

      \n
    • \n
    • \n

      Shared Count

      \n

      \n {payValues.sharedCount || '-'}\n

      \n
    • \n
    • \n

      Trans. Success

      \n

      \n {payValues.txnSuccessCount}\n

      \n
    • \n
    • \n

      Status

      \n

      \n \n {payValues.linkDataStatus}\n

      \n
    • \n
    \n )}\n
    \n );\n};\n\nconst ViewPayments = props => {\n const {\n paymentLinkData,\n staticData,\n actions,\n tableFilters,\n filterData,\n loader: { showLoader },\n } = props;\n\n const {\n error,\n tableDataTxn,\n isLoading,\n paginationTxn,\n viewPay,\n } = paymentLinkData;\n\n const { linkDataId } = useParams();\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [isResetPage, setIsResetPage] = useState(false);\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n const columns = useMemo(\n () => [\n {\n header: 'Mobile / Email Id ',\n accessor: 'communicationModeValue',\n },\n { header: 'Share Date', accessor: 'sharedDate' },\n { header: 'Status', accessor: 'transactionStatusView' },\n { header: 'Transaction ID', accessor: 'transactionId' },\n { header: 'Transaction Date', accessor: 'transactionDate' },\n { header: 'Payment Mode', accessor: 'paymentMode' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n // Fetching table data for payment link transaction view table.\n const fetchDataPayments = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n const data = {\n pageSize,\n pageIndex,\n linkDataId,\n };\n actions.fetchPaymentsRequest({ ...data, ...filterData });\n setPageSize(pageSize);\n },\n [actions, filterData, linkDataId]\n );\n\n // Handle Pagination for the table\n useEffect(() => {\n setPageCount(Math.ceil(paginationTxn.totalNumberOfRecords / pageSize));\n }, [pageSize, paginationTxn.totalNumberOfRecords]);\n\n return (\n
    \n \n setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n tableFilters={tableFilters}\n />\n
    \n );\n};\n\nconst mapStateToProps = ({ auth, paymentLinkData, loader, staticData }) => ({\n auth,\n paymentLinkData,\n staticData,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchPaymentsRequest,\n reSharePayLinksRequest,\n viewPayLinksRequest,\n },\n dispatch\n ),\n});\n\nViewPayments.propTypes = {\n actions: PropTypes.object,\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n data: PropTypes.object,\n filterData: PropTypes.string,\n paymentLinkData: PropTypes.object,\n loader: PropTypes.object,\n staticData: PropTypes.object,\n tableFilters: PropTypes.node,\n};\n\nViewPaymentsActions.propTypes = {\n data: PropTypes.object,\n viewPay: PropTypes.object,\n staticData: PropTypes.object,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n reSharePayLinksRequest: PropTypes.func,\n};\n\nPaymentLinkHeader.propTypes = {\n data: PropTypes.object,\n actions: PropTypes.object,\n error: PropTypes.object,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ViewPayments);\n","import ViewPayments from './ViewPayments';\n\nexport default ViewPayments;\n","/* eslint-disable indent */\n// Libraries\nimport React, { useState, useEffect } from 'react';\nimport { useTable } from 'react-table';\nimport PropTypes from 'prop-types';\n\nconst StringBaseEvent = ({ item }) => {\n return (\n
    \n

    {item.label}

    \n

    {String(item.value)}

    \n
    \n );\n};\n\nconst ArrayBaseEvent = ({ item }) => {\n return (\n
    \n

    {item.label}

    \n

    {item.value.join(', ')}

    \n
    \n );\n};\n\nconst flatMapPermission = values => {\n const allPermission = values.map(item => item.permissionName);\n if (allPermission && allPermission.length) {\n return allPermission.join(', ');\n }\n return '-';\n};\n\nconst formatCell = value => {\n if (typeof value === 'object' && value !== null) {\n const formattedValue = Object.keys(value);\n return formattedValue.map(item => {\n return `${item}:${value[item]} `;\n });\n }\n return String(value);\n};\n\nconst TableBaseEvent = ({ item }) => {\n const data = React.useMemo(() => {\n const formattedData =\n item &&\n item.value.map(item => {\n const keys = Object.keys(item);\n const formatColum = {};\n keys.forEach(value => {\n if (value === 'permissionDetail') {\n formatColum[value] = flatMapPermission(item[value]);\n } else {\n formatColum[value] = formatCell(item[value]);\n }\n });\n return formatColum;\n });\n return formattedData;\n }, [item]);\n\n const columns = React.useMemo(() => {\n const keys =\n item.value && item.value.length ? Object.keys(item.value[0]) : [];\n const columns = keys.map(value => {\n return {\n Header: String(value),\n accessor: String(value),\n };\n });\n return columns;\n }, [item]);\n const tableInstance = useTable({ columns, data });\n\n const {\n getTableProps,\n getTableBodyProps,\n headerGroups,\n rows,\n prepareRow,\n } = tableInstance;\n\n return (\n
    \n

    {item.label}

    \n
    \n \n \n {/* // Loop over the header rows */}\n {headerGroups.map(headerGroup => (\n // Apply the header row props\n \n {/* // Loop over the headers in each row */}\n {headerGroup.headers.map(column => (\n // Apply the header cell props\n \n ))}\n \n ))}\n \n {/* Apply the table body props */}\n \n {/* Loop over the table rows */}\n {rows.map((row, index) => {\n // Prepare the row for display\n prepareRow(row);\n return (\n // Apply the row props\n \n {/* // Loop over the rows cells */}\n {row.cells.map(cell => {\n // Apply the cell props\n return (\n \n );\n })}\n \n );\n })}\n \n
    \n {/* Render the header */}\n {column.render('Header')}\n
    \n {/* Render the cell contents */}\n {cell.render('Cell')}\n
    \n
    \n
    \n );\n};\n\nconst EventData = ({ data }) => {\n return (\n <>\n

    Event Data

    \n
    \n {data.map(item => {\n if (item.type === 'array') {\n return ;\n }\n if (item.type === 'table') {\n return ;\n }\n return ;\n })}\n
    \n \n );\n};\n\nEventData.propTypes = {\n data: PropTypes.object,\n};\n\nStringBaseEvent.propTypes = {\n item: PropTypes.array,\n};\n\nArrayBaseEvent.propTypes = {\n item: PropTypes.array,\n};\n\nTableBaseEvent.propTypes = {\n item: PropTypes.array,\n};\n\nexport default EventData;\n","/* eslint-disable indent */\n/* eslint-disable no-nested-ternary */\n// Libraries\nimport EventData from './EventData';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { reduxForm } from 'redux-form';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\n\n// Styles\nimport './viewAuditTrails.scss';\n\nconst ViewAuditTrails = props => {\n const { data } = props;\n\n return (\n
    \n
    \n
    \n

    Date & Time

    \n

    {data.dateAndTime || '-'}

    \n
    \n
    \n

    Event

    \n

    {data.event || '-'}

    \n
    \n
    \n

    IP Address

    \n

    \n {data.externalIpAddress || '-'}\n

    \n
    \n
    \n
    \n
    \n

    Resources

    \n

    {data.resource || '-'}

    \n
    \n
    \n

    User ID

    \n

    {data.userId || '-'}

    \n
    \n
    \n

    Status

    \n {data.status ? (\n
    \n {data.status}\n
    \n ) : (\n
    -
    \n )}\n
    \n
    \n\n {data.eventData && data.eventData.length ? (\n \n ) : null}\n \n );\n};\n\nconst mapStateToProps = ({ auth, paymentLinkData, form }) => ({\n auth,\n paymentLinkData,\n formData: form['view-audit-trail'],\n});\n\nconst mapDispatchToProps = dispatch => ({});\n\nViewAuditTrails.propTypes = {\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n actionType: PropTypes.string,\n data: PropTypes.object,\n actions: PropTypes.func,\n formData: PropTypes.object,\n fetchData: PropTypes.object,\n resetPage: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'view-audit-trail',\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(ViewAuditTrails);\n","import ViewAuditTrails from './ViewAuditTrails';\n\nexport default ViewAuditTrails;\n","import { useEffect, useState } from 'react';\n\n/**\n * Convert seconds into minute:second format\n * @param {Number} timeInSeconds\n */\nfunction sec2time(timeInSeconds) {\n const pad = (num, size) => {\n return `000${num}`.slice(size * -1);\n };\n const time = parseFloat(timeInSeconds).toFixed(3);\n const minutes = Math.floor(time / 60) % 60;\n const seconds = Math.floor(time - minutes * 60);\n if (minutes >= 0 && seconds >= 0) {\n return `${pad(minutes, 2)}:${pad(seconds, 2)}`;\n }\n return null;\n}\n\n/**\n * Hook for Reverse Otp timer\n * @param {Number} value\n * Uses - `const [seconds, setSeconds] = useOtpTimes(60);`\n */\nconst useOtpTimes = value => {\n const [seconds, setSeconds] = useState(value);\n useEffect(() => {\n const interval = setInterval(() => {\n setSeconds(seconds - 1);\n }, 1000);\n if (seconds < 0) {\n clearInterval(interval);\n }\n\n return () => clearInterval(interval);\n }, [seconds]);\n return [sec2time(seconds), setSeconds];\n};\n\nexport default useOtpTimes;\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n if (REQUIRED(values.otp) || (values.otp && values.otp.length !== 6)) {\n errors.otp = 'Please enter your OTP number';\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport { Card, Alert, FormElems, LoginFlowComps } from '../../components';\nimport {\n loginRequest,\n loginError,\n resendOtpRequest,\n resendOtpError,\n validateOtpRequest,\n} from '../../redux/common/auth/auth.actions';\nimport loginImg from '../../static/images/otp-img.png';\nimport useOtpTimes from '../../hooks/useOtpTimes';\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport validate from './validator';\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { Field, reduxForm } from 'redux-form';\nimport { toast } from 'react-toastify';\n\n// Components\n\n// Actions\n\n// Images\n\n// Hooks\n\n// Constant\n\n// Validator\n\n// Styles\nimport './otp.scss';\n\nconst Otp = props => {\n const { actions, handleSubmit, auth, change, untouch } = props;\n const { otpMail, otpId, otpDetails, otpResend } = auth;\n const [seconds, setSeconds] = useOtpTimes(60);\n const [isReset, setIsReset] = useState(false);\n\n useEffect(() => {\n if (otpResend.isSuccess) {\n setSeconds(60);\n toast.info(SUCCESS_MESSAGES.OTP);\n }\n return () => {\n if (otpResend.isSuccess) {\n actions.resendOtpError('');\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [otpResend.isSuccess]);\n\n /**\n * Validate on otp submit\n *\n * @returns {undefined}\n */\n function handleValidateOtp(values) {\n const request = {\n otp: values.otp,\n otpId,\n };\n actions.validateOtpRequest(request);\n }\n\n useEffect(() => {\n if (otpDetails.error) {\n change('otp', '');\n untouch('otp-form', 'otp');\n setIsReset(true);\n }\n return () => {\n setIsReset(false);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [otpDetails.error]);\n\n /**\n * Resend on otp resend\n *\n * @returns {undefined}\n */\n function handleResendOtp(event) {\n event.preventDefault();\n const request = {\n otpId,\n };\n actions.resendOtpRequest(request);\n }\n\n return (\n
    \n \n \n
    \n
    OTP Verification
    \n
    \n An email with a verification code is sent to{' '}\n {otpMail.replace(/\\*/g, '•')}\n
    \n \n
    \n setIsReset(value)}\n serverError={otpDetails.error}\n />\n
    \n\n {auth.loginError && (\n \n {auth.loginError}\n \n )}\n\n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n );\n};\n\nOtp.propTypes = {\n auth: PropTypes.object,\n handleSubmit: PropTypes.func,\n actions: PropTypes.func,\n change: PropTypes.func,\n untouch: PropTypes.func,\n};\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n loginRequest,\n loginError,\n resendOtpRequest,\n resendOtpError,\n validateOtpRequest,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'otp-form',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(Otp);\n","import Otp from './Otp';\n\nexport default Otp;\n","/* eslint-disable indent */\n// Libraries\nimport React, { useState, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport { orderBy, isEmpty } from 'lodash';\n\nimport {\n getFormattedGranularity,\n checkTabData,\n} from '../../utils/helperMethods';\n\n// Styles\nimport './graphSwitch.scss';\n\n// Components\nimport { FormElems, Charts, ChartNoData } from '..';\n\nconst getLegendsList = values => {\n if (values) {\n const legends = Object.values(values);\n return legends;\n }\n return [];\n};\n\nconst getLegendsOptions = legends => {\n if (legends) {\n const keys = Object.keys(legends).map(item => {\n return {\n name: legends[item].label,\n value: item,\n };\n });\n if (!keys.some(item => item.value === 'all')) {\n return [{ name: 'All', value: 'all' }].concat(\n orderBy(keys, ['value'], ['asc'])\n );\n }\n return orderBy(keys, ['value'], ['asc']);\n }\n return [];\n};\n\nconst GraphSwitch = props => {\n const {\n customClass,\n defaultType,\n title,\n canSwitch,\n data: { granularity, timeSeriesValues },\n legends,\n staticPayValues,\n } = props;\n const [chartType, setChartType] = useState(defaultType);\n const [selectedLabel, setSelectedLabel] = useState('all');\n\n const handleClick = value => {\n setChartType(value);\n };\n\n const handleLegends = value => {\n setSelectedLabel(value);\n };\n\n const legendsList = useMemo(() => getLegendsList(legends), [legends]);\n\n return (\n
    \n
    \n {title}\n {canSwitch ? (\n
    \n handleClick('line')}\n >\n \n \n \n \n handleClick('bar')}\n >\n \n \n \n \n \n \n \n \n
    \n ) : null}\n
    \n
    \n
    \n {legendsList && (\n
      \n {legendsList.map(item => (\n
    • \n \n \n {item.label}\n \n
    • \n ))}\n
    \n )}\n {canSwitch && (\n
    \n \n
    \n )}\n
    \n {isEmpty(granularity) ||\n checkTabData(timeSeriesValues, selectedLabel) ? (\n \n ) : (\n \n )}\n
    \n
    \n );\n};\n\nGraphSwitch.propTypes = {\n customClass: PropTypes.string,\n defaultType: PropTypes.string,\n title: PropTypes.string,\n canSwitch: PropTypes.bool,\n data: PropTypes.array,\n legends: PropTypes.object,\n};\n\nexport default GraphSwitch;\n","import GraphSwitch from './GraphSwitch';\n\nexport default GraphSwitch;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n LineChart,\n AreaChart,\n BarChart,\n Line,\n XAxis,\n YAxis,\n CartesianGrid,\n CartesianAxis,\n Bar,\n PieChart,\n Pie,\n Area,\n ResponsiveContainer,\n Tooltip,\n Cell,\n} from 'recharts';\n\n// Helpers\nimport { capitaliseString } from '../../utils/helperMethods';\n\n// Styles\nimport './charts.scss';\n\n/**\n * Charts Component\n *\n * @param {string} customClass - React component\n */\n\nconst formatLabel = (key, cardNature) => {\n if (key && key.indexOf('values') === -1) {\n return capitaliseString(key);\n }\n const label = key.split('.');\n const newLabel = label && label.length && label[label.length - 1];\n const removeExtra = newLabel.split('_').join(' ');\n if (cardNature && cardNature[removeExtra]) {\n return cardNature[removeExtra].codeNameUI;\n }\n return capitaliseString(removeExtra);\n};\n\nconst CustomTooltip = ({ active, payload, label, staticPayValues }) => {\n if (active) {\n return (\n
    \n \n {label}\n

    \n
      \n {payload &&\n payload.map(item => (\n \n \n {item.value}\n \n ))}\n
    \n
    \n );\n }\n\n return null;\n};\n\nconst getColor = (legends, item) => {\n if (legends && legends[item]) {\n return legends[item].color;\n }\n return '#000';\n};\nconst getAllKeys = values => {\n let keys = [];\n values.forEach(item => {\n const values = Object.keys(item.values);\n keys = [...keys, ...values];\n });\n const uniqueSet = new Set(keys);\n return [...uniqueSet];\n};\n\nconst getChartKeys = (values, legends) => {\n if (values && values.length) {\n const allKeys = getAllKeys(values);\n const lineValue = allKeys.sort().map(item => {\n return {\n key: item,\n stroke: getColor(legends, item),\n type: 'monotone',\n };\n });\n return lineValue;\n }\n return [];\n};\n\nconst LineGraph = props => {\n const { data, legends, staticPayValues } = props;\n const lineData = getChartKeys(data, legends);\n return (\n \n \n \n }\n />\n \n \n \n {lineData &&\n lineData.length &&\n lineData.map(line => (\n \n parseInt(data.values[line.key], 10)\n }\n unit={`values.${line.key}`}\n stroke={line.stroke}\n strokeWidth={2}\n isAnimationActive={false}\n />\n ))}\n \n \n );\n};\nconst BarGraph = props => {\n const { data, legends, staticPayValues } = props;\n const barData = getChartKeys(data, legends);\n return (\n \n \n \n }\n cursor={{ fill: '#f6f6f6' }}\n />\n \n \n \n {barData &&\n barData.length &&\n barData.map(line => (\n \n parseInt(data.values[line.key], 10)\n }\n unit={`values.${line.key}`}\n stroke={line.stroke}\n fill={line.stroke}\n />\n ))}\n \n \n );\n};\n\nconst AreaGraph = props => {\n const { data, legends, staticPayValues } = props;\n const areaData = getChartKeys(data, legends);\n return (\n \n \n \n }\n />\n \n \n \n {areaData &&\n areaData.length &&\n areaData.map(line => (\n \n ))}\n \n \n );\n};\n\nconst PieGraph = props => {\n const { data, cx, cy } = props;\n return (\n \n \n {/* */}\n {\n const RADIAN = Math.PI / 180;\n // eslint-disable-next-line\n const radius =\n 25 + innerRadius + (outerRadius - innerRadius);\n // // eslint-disable-next-line\n // const x = cx + radius * Math.cos(-midAngle * RADIAN);\n // // eslint-disable-next-line\n // const y = cy + radius * Math.sin(-midAngle * RADIAN);\n\n const sin = Math.sin(-RADIAN * midAngle);\n const cos = Math.cos(-RADIAN * midAngle);\n const sx = cx + (outerRadius + 10) * cos;\n const sy = cy + (outerRadius + 10) * sin;\n const mx = cx + (outerRadius + 30) * cos;\n const my = cy + (outerRadius + 30) * sin;\n const ex = mx + (cos >= 0 ? 1 : -1) * 22;\n const ey = my;\n const textAnchor = cos >= 0 ? 'start' : 'end';\n\n return (\n \n \n \n = 0 ? 1 : -1) * 12}\n y={ey}\n textAnchor={textAnchor}\n fill=\"#333\"\n fontSize={12}\n >\n {data[index].aggregator}\n \n = 0 ? 1 : -1) * 12}\n y={ey}\n dy={18}\n textAnchor={textAnchor}\n fill=\"#333\"\n fontSize={14}\n fontWeight=\"bold\"\n >\n {data[index].TRANSACTION_COUNT}\n \n {/* cx ? 'start' : 'end'}\n dominantBaseline=\"central\"\n >\n {data[index].aggregator}\n */}\n \n );\n }}\n >\n {data && data.map(entry => )}\n \n \n \n );\n};\n\nPieGraph.defaultProps = {\n cx: 200,\n cy: 100,\n};\n\nconst renderChart = ({ type, ...props }) => {\n if (type === 'line') {\n return ;\n } else if (type === 'bar') {\n return ;\n } else if (type === 'area') {\n return ;\n } else if (type === 'pie') {\n return ;\n }\n};\nconst Charts = ({ customClass, ...rest }) => {\n return
    {renderChart(rest)}
    ;\n};\n\nCharts.propTypes = {\n customClass: PropTypes.string,\n type: PropTypes.string,\n data: PropTypes.object,\n};\n\nLineGraph.propTypes = {\n data: PropTypes.object,\n legends: PropTypes.array,\n};\n\nBarGraph.propTypes = {\n data: PropTypes.object,\n legends: PropTypes.object,\n};\n\nAreaGraph.propTypes = {\n data: PropTypes.object,\n legends: PropTypes.object,\n};\nPieGraph.propTypes = {\n data: PropTypes.object,\n legends: PropTypes.object,\n cx: PropTypes.number,\n cy: PropTypes.number,\n};\n\nCustomTooltip.propTypes = {\n active: PropTypes.bool,\n payload: PropTypes.object,\n label: PropTypes.string,\n};\n\nexport default Charts;\n","import Charts from './Charts';\n\nexport default Charts;\n","// Libraries\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './cardWithTab.scss';\n\n/**\n * CardWithTab Component\n *\n * @param {Object} children - React component\n * @param {string} customClass - React className\n * @param {Array} tabs - Array of Object\n * @param {Node} content - content render prop\n */\n\nconst CardWithTab = ({ customClass, data, title, tabs, content }) => {\n const [selectedTab, setSelectedTab] = useState(tabs[0].value);\n\n const handleTab = value => {\n setSelectedTab(value);\n };\n\n return (\n
    \n
    \n

    {title}

    \n
      \n {tabs &&\n tabs.map(item => (\n handleTab(item.value)}\n >\n {item.label}\n \n ))}\n
    \n
    \n {tabs &&\n tabs.map(item => (\n <>\n {selectedTab === item.value && data ? (\n
    \n {content(data[item.value])}\n
    \n ) : null}\n \n ))}\n
    \n );\n};\n\nCardWithTab.propTypes = {\n children: PropTypes.node.isRequired,\n customClass: PropTypes.string,\n successRateTab: PropTypes.array,\n title: PropTypes.string,\n tabs: PropTypes.array,\n content: PropTypes.node,\n data: PropTypes.object,\n};\n\nexport default CardWithTab;\n","import CardWithTab from './CardWithTab';\n\nexport default CardWithTab;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport searchSvg from '../../static/images/search.svg';\n\nimport './style.scss';\n\n// Component\n\nfunction Search({\n handleSearchSubmit,\n placeholder = '',\n customClass = '',\n search,\n setSearch,\n}) {\n return (\n
    \n setSearch(el.target.value)}\n value={search}\n placeholder={placeholder}\n onKeyPress={event => {\n if (event.key === 'Enter') {\n handleSearchSubmit(search);\n }\n }}\n />\n {\n handleSearchSubmit(search);\n }}\n />\n
    \n );\n}\n\nSearch.propTypes = {\n handleSearchSubmit: PropTypes.func,\n placeholder: PropTypes.string,\n customClass: PropTypes.string,\n search: PropTypes.string,\n setSearch: PropTypes.func,\n};\n\nexport default Search;\n","/* eslint-disable no-nested-ternary */\n// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { useTable, useSortBy } from 'react-table';\nimport styled from 'styled-components';\n\nconst TdWrapper = styled.td`\n position: relative;\n\n &:first-child:after {\n background: ${props =>\n ` ${props.color ? `${props.color} !important` : 'transparent'}`};\n border-radius: 20%;\n /* border: 2px solid transparent;\n border-color: ${props =>\n ` ${props.color ? `${props.color} !important` : 'transparent'}`};\n border-radius: 400px;\n border-width: 0 0 0 3px; */\n content: '';\n height: 20px;\n left: 0;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n width: 3px;\n }\n`;\n\nconst Cell = ({ cell, data }) => {\n const isPercent = cell.column.id === 'percentage';\n return (\n \n {cell.value || cell.value === 0\n ? `${cell.value} ${isPercent ? '%' : ''}`\n : '-'}\n \n );\n};\n\nconst StatusTable = ({ columns, data, customClass, initialState }) => {\n // Use the state and functions returned from useTable to build your UI\n const {\n getTableProps,\n getTableBodyProps,\n headers,\n rows,\n prepareRow,\n } = useTable(\n {\n columns,\n data,\n disableSortRemove: true,\n initialState,\n },\n useSortBy\n );\n\n // Render the UI for your table\n return (\n \n \n \n {headers.map(column => (\n // Add the sorting props to control sorting. For this example\n // we can add them into the header props\n \n {column.header}\n {/* Add a sort direction indicator */}\n \n {column.isSorted ? (\n column.isSortedDesc ? (\n \n \n \n \n \n ) : (\n \n \n \n \n \n )\n ) : (\n ''\n )}\n \n \n ))}\n \n \n \n {rows.map((row, i) => {\n prepareRow(row);\n return (\n \n {row.cells.map(cell => {\n const { original } = cell.row;\n return (\n \n \n \n );\n })}\n \n );\n })}\n \n
    \n );\n};\n\nStatusTable.propTypes = {\n customClass: PropTypes.string,\n columns: PropTypes.array,\n data: PropTypes.array,\n initialState: PropTypes.object,\n};\n\nCell.propTypes = {\n cell: PropTypes.object,\n data: PropTypes.object,\n};\n\nexport default StatusTable;\n","// Libraries\nimport React, { useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { isEmpty } from 'lodash';\n\n// Assets\nimport { pieLegends } from '../../utils/constants/commonValues';\n\n// Components\nimport { ChartNoData, Charts } from '../';\nimport StatusTable from './StatusTable';\n\n// Styles\nimport './successCard.scss';\n\n/**\n * SuccessCard Component\n *\n * @param {Object} data - React component\n * @param {string} customClass - React className\n */\n\nconst getCx = node => {\n if (node && node.clientWidth) {\n return node.clientWidth / 2;\n }\n return 200;\n};\n\nconst getCy = node => {\n if (node && node.clientHeight) {\n return node.clientHeight / 2;\n }\n return 110;\n};\n\nconst SuccessCard = ({ customClass, tabData }) => {\n const columns = React.useMemo(\n () => [\n { header: 'Payment Methods', accessor: 'aggregator' },\n {\n header: 'Transaction Count',\n accessor: 'TRANSACTION_COUNT',\n },\n { header: 'Success Rate', accessor: 'SUCCESS_RATE' },\n ],\n []\n );\n\n const inputEl = useRef(null);\n return (\n
    \n {isEmpty(tabData) ? (\n \n ) : (\n <>\n
    \n \n
    \n
    \n \n
    \n \n )}\n
    \n );\n};\n\nSuccessCard.propTypes = {\n customClass: PropTypes.string,\n tabData: PropTypes.object,\n};\n\nexport default SuccessCard;\n","import SuccessCard from './SuccessCard';\n\nexport default SuccessCard;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { isEmpty } from 'lodash';\nimport Charts from '../Charts';\nimport StatusTable from '../SuccessCard/StatusTable';\nimport { getFormattedGranularity } from '../../utils/helperMethods';\n\n// Component\nimport { ChartNoData } from '..';\n\n// Styles\nimport './failureCard.scss';\n\n/**\n * FailureCard Component\n *\n * @param {Object} data - React component\n * @param {string} customClass - React className\n */\n\nconst FailureCard = ({ customClass, tabData }) => {\n const {\n absoluteValues,\n granularity,\n tableValues,\n timeSeriesValues,\n } = tabData;\n const columns = React.useMemo(\n () => [\n { header: 'Failure Reasons', accessor: 'aggregator' },\n {\n header: 'Number of Failures',\n accessor: 'values.FAILED_TRANSACTION_COUNT',\n id: 'transactionCount',\n },\n {\n header: 'Bucket Rate',\n accessor: 'values.BUCKET_RATE',\n id: 'percentage',\n },\n ],\n []\n );\n const legendsList = [\n {\n label: 'Failures',\n color: '#ff0000',\n },\n ];\n\n return (\n
    \n {isEmpty(tableValues) && isEmpty(timeSeriesValues) ? (\n \n ) : (\n <>\n
    \n
    \n
      \n
    • \n \n

      \n {absoluteValues &&\n `${absoluteValues.FAILED_TRANSACTION_COUNT ||\n '-'}`}\n {/* 0.34% */}\n

      \n
    • \n
    • \n \n

      \n {absoluteValues &&\n `${absoluteValues.FAILURE_RATE ||\n '-'} %`}\n {/* 0.34% */}\n

      \n
    • \n
    \n
    \n {legendsList && (\n
      \n {legendsList.map(item => (\n
    • \n \n \n {item.label}\n \n
    • \n ))}\n
    \n )}\n
    \n
    \n \n
    \n {!isEmpty(tableValues) ? (\n
    \n \n
    \n ) : null}\n \n )}\n
    \n );\n};\n\nFailureCard.propTypes = {\n customClass: PropTypes.string,\n tabData: PropTypes.object,\n};\n\nexport default FailureCard;\n","import FailureCard from './FailureCard';\n\nexport default FailureCard;\n","// Libraries\nimport { CustomSelect, DatePicker, Modal, FormElems } from '../../components';\nimport cross from '../../static/images/remove.png';\nimport { dateOptions } from '../../utils/constants/commonValues';\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { components } from 'react-select';\nimport moment from 'moment';\n\n// Components\n\n// Assets\n\n// Constants\n\n// Styles\nimport './customDate.scss';\n\nconst formatDateValue = (startDate, endDate, nbValues) => {\n if (startDate && endDate && nbValues.value === 'custom') {\n const startD = moment(startDate).format('DD-MM-YYYY');\n const endD = moment(endDate).format('DD-MM-YYYY');\n return `${startD} to ${endD}`;\n }\n return nbValues.label;\n};\n\nconst ValueContainer = ({ children, ...props }) => {\n const { getValue } = props;\n const { startDate, endDate, prevDateValue } = props.selectProps;\n const newChildren = [...children];\n const nbValues = getValue().find(item => item.value === 'custom');\n if (startDate && endDate && nbValues) {\n newChildren[0] = formatDateValue(startDate, endDate, nbValues);\n return (\n \n
    {newChildren}
    \n
    \n );\n } else if (\n nbValues &&\n prevDateValue.value !== 'custom' &&\n nbValues.value === 'custom'\n ) {\n newChildren[0] = `${prevDateValue.label || 'Custom'}`;\n return (\n \n {newChildren}\n \n );\n }\n\n return (\n \n {children}\n \n );\n};\n\nconst Option = props => {\n const { data } = props;\n return (\n \n
    {data.label}
    \n
    \n );\n};\n\n/**\n * CustomDate Component\n *\n * @param {Object} props - React component props\n */\n\nconst CustomDatePicker = props => {\n const {\n startDate,\n focusedInput,\n endDate,\n setStartDate,\n setEndDate,\n setFocusedInput,\n isCustomDate,\n closeModal,\n applyDate,\n } = props;\n return (\n \n
    \n \n \"Close\n \n

    Select Custom Date

    \n {\n setStartDate(startDate);\n }}\n onSetEndDate={endDate => {\n setEndDate(endDate);\n }}\n onFocusedInput={focusedInput => {\n setFocusedInput(focusedInput);\n }}\n />\n
    \n applyDate()}\n />\n
    \n
    \n \n );\n};\n\nconst CustomDate = props => {\n const {\n setDateValue,\n setPrevDateValue,\n prevDateValue,\n defaultSelected,\n } = props;\n const [selectedDate, setSelectedDate] = useState({});\n const [isCustomDate, setIsCustomDate] = useState(false);\n const [startDate, setStartDate] = useState(null);\n const [endDate, setEndDate] = useState(null);\n const [focusedInput, setFocusedInput] = useState(null);\n\n useEffect(() => {\n // Create a new session on app load\n handleDateSelect(defaultSelected);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const handleDateSelect = values => {\n if (values.value === 'custom') {\n setIsCustomDate(true);\n } else {\n setIsCustomDate(false);\n setStartDate(null);\n setEndDate(null);\n setPrevDateValue(values);\n setDateValue({ value: values.value, startDate, endDate });\n }\n setSelectedDate(values);\n };\n const closeModal = () => {\n setIsCustomDate(false);\n if (prevDateValue.value !== selectedDate.value) {\n setStartDate(null);\n setEndDate(null);\n setSelectedDate(prevDateValue);\n }\n };\n const applyDate = () => {\n setIsCustomDate(false);\n setPrevDateValue({ label: 'Custom', value: 'custom' });\n setDateValue({ value: 'custom', startDate, endDate });\n };\n const selectProps = {\n startDate,\n endDate,\n isCustomDate,\n setStartDate,\n setEndDate,\n setFocusedInput,\n focusedInput,\n prevDateValue,\n selectedDate,\n setIsCustomDate,\n };\n\n return (\n <>\n
    \n option.label === selectedDate.label\n )}\n isSearchable\n data={selectedDate}\n selectProps={selectProps}\n closeMenuOnSelect={true}\n placeholder=\"Select Date\"\n onChange={handleDateSelect}\n />\n {isCustomDate ? (\n \n ) : null}\n
    \n \n );\n};\n\nCustomDatePicker.propTypes = {\n startDate: PropTypes.string,\n endDate: PropTypes.string,\n setStartDate: PropTypes.func,\n setFocusedInput: PropTypes.func,\n focusedInput: PropTypes.string,\n setEndDate: PropTypes.func,\n setIsCustomDate: PropTypes.bool,\n isCustomDate: PropTypes.func,\n closeModal: PropTypes.func,\n applyDate: PropTypes.func,\n};\n\nOption.propTypes = {\n data: PropTypes.object,\n isSelected: PropTypes.bool,\n selectProps: PropTypes.object,\n innerRef: PropTypes.string,\n innerProps: PropTypes.object,\n};\n\nValueContainer.propTypes = {\n hasValue: PropTypes.bool,\n children: PropTypes.array,\n getValue: PropTypes.func,\n selectProps: PropTypes.object,\n};\n\nCustomDate.propTypes = {\n customClass: PropTypes.bool,\n setDateValue: PropTypes.func,\n setPrevDateValue: PropTypes.func,\n prevDateValue: PropTypes.object,\n defaultSelected: PropTypes.object,\n};\n\nexport default CustomDate;\n","import CustomDate from './CustomDate';\n\nexport default CustomDate;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './chartNoData.scss';\n\n// Assets\nimport NoDataFound from '../../static/images/noDataFound.png';\n\n/**\n * ChartNoData Component\n *\n * @param {string} title - React component\n * @param {string} subtitle - React component\n * @param {string} customClass - React component\n */\n\nconst ChartNoData = ({ customClass, title, subtitle }) => (\n
    \n \"No\n

    {title}

    \n

    {subtitle}

    \n
    \n);\n\nChartNoData.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n customClass: PropTypes.string,\n};\n\nexport default ChartNoData;\n","import ChartNoData from './ChartNoData';\n\nexport default ChartNoData;\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n\n console.log(values, \"values1111\")\n\n const { REQUIRED, MAX_LENGTH, POSITIVE_NUMBER, ALPHA_NUMERIC } = validators;\n const errors = {\n narrationConfig: {\n suffix: {},\n prefix: {},\n interim: {},\n secondInterim: {},\n },\n };\n\n const accountErrors = [];\n\n if (\n values &&\n values.accountDetails &&\n values.accountDetails.length\n ) {\n values.accountDetails.forEach((account, accountIndex) => {\n const accountError = {};\n console.log(account, \"account\" );\n if (REQUIRED(account.accountOwnership)) {\n accountError.accountOwnership = 'Please select Account Ownership';\n }\n\n if (REQUIRED(account.accountNumber)) {\n accountError.accountNumber = 'Please enter Account Number';\n }\n\n if (account.accountNumber) {\n accountError.accountNumber = MAX_LENGTH(account.accountNumber, 18);\n }\n\n if (REQUIRED(account.ifscCode) && account.accountOwnership === \"SELF\") {\n accountError.ifscCode = 'Please enter IFSC code';\n }\n\n if (account.ifscCode) {\n accountError.ifscCode = MAX_LENGTH(account.ifscCode, 11);\n }\n\n if (REQUIRED(account.bankName) && account.accountOwnership === \"SELF\") {\n accountError.bankName = 'Please enter Bank Name';\n }\n\n if (REQUIRED(account.accountHolderName) && account.accountOwnership === \"SELF\") {\n accountError.accountHolderName = 'Please enter Account Holder Name';\n }\n\n if (Object.keys(accountError).length) {\n accountErrors[accountIndex] = accountError;\n }\n });\n }\n\n errors.accountDetails = accountErrors;\n\n const ediErrors = [];\n\n if (\n values &&\n values.ediConfInfoList &&\n values.ediConfInfoList.length\n ) {\n values.ediConfInfoList.forEach((edi, ediIdx) => {\n const ediError = {};\n\n if (REQUIRED(edi.debitType)) {\n ediError.debitType = 'Please select Debit Type';\n }\n\n if (REQUIRED(edi.debitFrequency)) {\n ediError.debitFrequency = 'Please enter Debit Frequency';\n }\n\n if (REQUIRED(edi.settlementFrequency)) {\n ediError.settlementFrequency = 'Please enter Settlement Frequency';\n }\n\n if (REQUIRED(edi.flatAmount)) {\n ediError.flatAmount = 'Please enter Flat Amount';\n }\n\n if (REQUIRED(edi.startDate)) {\n ediError.startDate = 'Please enter start date';\n }\n\n // if (REQUIRED(edi.endDate)) {\n // ediError.endDate = 'Please enter End Date';\n // }\n\n if (REQUIRED(edi.monthlyDebitDate)) {\n ediError.monthlyDebitDate = 'Please enter Monthly Debit Date';\n }\n\n if (REQUIRED(edi.debitAmountPer)) {\n ediError.debitAmountPer = 'Please enter Debit Amount';\n }\n\n if (REQUIRED(edi.feeType)) {\n ediError.feeType = 'Please enter Fee Type';\n }\n\n if (REQUIRED(edi.settlementAmount)) {\n ediError.settlementAmount = 'Please enter Settlement Amount';\n }\n\n if (REQUIRED(edi.accountNumber)) {\n ediError.accountNumber = 'Please enter Account Number';\n }\n\n if (REQUIRED(edi.settlementAmountType)) {\n ediError.settlementAmountType = 'Please enter Settlement Amount Type';\n }\n\n if (edi.totalAmount && edi.debitAmountPer && (Number(edi.totalAmount) < Number(edi.debitAmountPer))) {\n ediError.totalAmount = 'Total amount should be greater than the Debit Amount.';\n }\n\n if (Object.keys(ediError).length) {\n ediErrors[ediIdx] = ediError;\n }\n });\n }\n\n errors.ediConfInfoList = ediErrors;\n\n if (REQUIRED(values.sameDaySettlementCharge)) {\n errors.sameDaySettlementCharge = 'Please Select Fee base';\n }\n\n if (\n values.refundWithNegativeBalanceFlag &&\n REQUIRED(values.refundThreshold)\n ) {\n errors.refundThreshold = 'Please enter refund amount';\n }\n\n if (values.refundThreshold) {\n errors.refundThreshold = POSITIVE_NUMBER(values.refundThreshold);\n }\n\n if (values.hierarchyCommission && !values.hierarchyCommissionList) {\n errors.hierarchyCommissionList = 'Please select hierarchy commission';\n }\n\n if (\n values.hierarchyCommission &&\n values.hierarchyCommissionList &&\n values.hierarchyCommissionList.length <= 0\n ) {\n errors.hierarchyCommissionList = 'Please select hierarchy commission';\n }\n\n if (REQUIRED(values.disbursementCycle)) {\n errors.disbursementCycle = 'Please enter Disbursement Cycle';\n }\n if (REQUIRED(values.disbursementTriggerSlot)) {\n errors.disbursementTriggerSlot =\n 'Please select Disbursement Trigger Slot';\n }\n if (REQUIRED(values.disbursementInterval)) {\n errors.disbursementInterval = 'Please select Disbursement Interval';\n }\n if (REQUIRED(values.settlementType)) {\n errors.settlementType = 'Please enter Settlement Type';\n }\n if (REQUIRED(values.settlementParty)) {\n errors.settlementParty = 'Please enter Settlement Party';\n }\n if (REQUIRED(values.fcCommissionType)) {\n errors.fcCommissionType = 'Please Select fee type';\n }\n\n if (REQUIRED(values.fundTransferType)) {\n errors.fundTransferType = 'Please Select Settlement Channel';\n }\n\n\n\n // if(values.fcCommissionType === \"SURCHARGE\" && values.settlementType === \"NET\" && values.nextSettlementType === \"GROSS\"){\n // errors.fcCommissionType = \"Kindly change your fee type to MDR to enable gross settlement as a next settlement type\";\n // }\n\n // if(REQUIRED(values.sameDaySettlement)){\n // errors.sameDaySettlement = \"Please select same day settlement\";\n // }\n\n if (values.sameDaySettlement && values.odsFeeCriteria) {\n if (values.odsFeeCriteria === \"FEE_PERCENT\") {\n if (values.feePercent < 0 || values.feePercent > 100) {\n errors.feePercent = \"Fee percent must be between 0 and 100.\";\n } else if (!values.feePercent) {\n errors.feePercent = \"Please enter fee percent\";\n }\n } else if (values.odsFeeCriteria === \"FEE_FLAT\") {\n if (values.flatFee < 0) {\n errors.flatFee = \"Flat fee cannot be less than 0.\";\n } else if (!values.flatFee) {\n errors.flatFee = \"Please enter flat fee\";\n }\n }\n } else if (values.sameDaySettlement && !values.odsFeeCriteria) {\n errors.odsFeeCriteria = \"Please select fee criteria\";\n }\n\n if (\n values.narrationConfig &&\n values.narrationConfig.prefix &&\n values.narrationConfig.prefix.prefixType &&\n values.narrationConfig.prefix.prefixType === 'CUSTOM' &&\n !values.narrationConfig.prefix.customPrefixIdentifier\n ) {\n errors['narrationConfig']['prefix'].customPrefixIdentifier =\n 'Please enter custom prefix';\n }\n\n if (\n values.narrationConfig &&\n values.narrationConfig.prefix &&\n values.narrationConfig.prefix.prefixType &&\n values.narrationConfig.prefix.prefixType === 'CUSTOM' &&\n values.narrationConfig.prefix.customPrefixIdentifier\n ) {\n errors['narrationConfig'][\n 'prefix'\n ].customPrefixIdentifier = ALPHA_NUMERIC(\n values.narrationConfig.prefix.customPrefixIdentifier\n );\n }\n\n if (\n values.narrationConfig &&\n values.narrationConfig.suffix &&\n values.narrationConfig.suffix.suffixType &&\n values.narrationConfig.suffix.suffixType === 'CUSTOM' &&\n !values.narrationConfig.suffix.customSuffixIdentifier\n ) {\n errors['narrationConfig']['suffix'].customSuffixIdentifier =\n 'Please enter custom suffix';\n }\n\n if (\n values.narrationConfig &&\n values.narrationConfig.suffix &&\n values.narrationConfig.suffix.suffixType &&\n values.narrationConfig.suffix.suffixType === 'CUSTOM' &&\n values.narrationConfig.suffix.customSuffixIdentifier\n ) {\n errors['narrationConfig'][\n 'suffix'\n ].customSuffixIdentifier = ALPHA_NUMERIC(\n values.narrationConfig.suffix.customSuffixIdentifier\n );\n }\n\n if (\n !values.instantSettlement &&\n values.narrationConfig &&\n values.narrationConfig.interim &&\n values.narrationConfig.interim.interimType &&\n values.narrationConfig.interim.interimType !== 'PAYABLE_ID'\n ) {\n errors['narrationConfig']['interim'].interimType =\n 'For cyclic settlement, only payable ID can be selected.';\n }\n\n if (\n !values.instantSettlement &&\n values.narrationConfig &&\n values.narrationConfig.secondInterim &&\n values.narrationConfig.secondInterim.interimType\n ) {\n errors['narrationConfig']['secondInterim'].interimType =\n 'Invalid Selection, second Interim is not possible for cyclic settlement.';\n }\n\n return errors;\n};\n\nexport const validateReports = (data, type) => {\n let isValid = true;\n let message = \"\";\n\n if (data.some(item => item.name.trim() === '')) {\n isValid = false;\n message = \"Please fill the report name!\";\n } else if (!data.some(item => item.isEnable === true)) {\n isValid = false;\n message = `Please select atleast one ${type} Report Header.`;\n }\n\n return { isValid, message };\n}\n\n\nexport default validate;\n","export const initialBankAccount = {\n \"accountHolderName\": \"\",\n \"accountNumber\": \"\",\n \"accountOwnership\": \"\",\n \"bankName\": \"\",\n \"ifscCode\": \"\",\n \"primary\": false,\n \"status\": 1,\n \"isCreate\": true,\n \"ediDocs\": []\n};\n\nexport const initialEDIData = {\n \"debitType\": \"FLAT\",\n \"debitFrequency\": null,\n \"settlementFrequency\": null,\n \"settlementAmountType\": \"FLAT\",\n \"totalAmount\": \"\",\n \"flatAmount\": null,\n \"startDate\": null,\n \"endDate\": null,\n \"monthlyDebitDate\": null,\n \"debitAmountPer\": null,\n \"accountNumber\": \"\",\n \"ediEnable\": true,\n \"settlementType\": null,\n \"consent\": false,\n \"isCreate\": true\n}\n\n\nexport const termsConditions = `\nTERMS AND CONDITIONS\n\nWelcome to [Your Company Name]! These terms and conditions outline the rules and regulations for the use of [Your Company Name]'s services, located at [Your Website URL].\n\nBy accessing this website, we assume you accept these terms and conditions. Do not continue to use [Your Company Name] if you do not agree to all the terms and conditions stated on this page.\n\n1. DEFINITIONS\n a. \"Company\", \"We\", \"Our\", \"Us\" refers to [Your Company Name].\n b. \"You\", \"Your\" refers to the individual accessing our services.\n c. \"Services\" refers to the services offered by [Your Company Name].\n\n2. USAGE\n a. The content of this website is for general information and use only. It is subject to change without notice.\n b. Unauthorized use of this website may give rise to a claim for damages and/or be a criminal offense.\n c. You are prohibited from using the website to engage in fraudulent, unlawful, or harmful activities.\n\n3. ACCOUNTS AND SECURITY\n a. To use certain features, you may need to create an account. You are responsible for maintaining the confidentiality of your account information.\n b. You agree to notify us immediately of any unauthorized use of your account or other security breaches.\n\n4. COPYRIGHT AND INTELLECTUAL PROPERTY\n a. Unless otherwise stated, [Your Company Name] owns the intellectual property rights for all material on this website.\n b. You must not republish, sell, or redistribute content from [Your Company Name] without our written consent.\n\n5. LIMITATION OF LIABILITY\n a. We do not guarantee the accuracy, completeness, or timeliness of the information provided.\n b. [Your Company Name] shall not be held liable for any damages arising from the use or inability to use our services.\n\n6. THIRD-PARTY LINKS\n a. This website may include links to other websites. These links are provided for your convenience to provide further information. They do not signify our endorsement of the website(s).\n b. We are not responsible for the content of the linked website(s).\n\n7. MODIFICATION\n a. [Your Company Name] reserves the right to revise these terms at any time without notice.\n b. Your continued use of the website signifies your acceptance of the updated terms.\n\n8. GOVERNING LAW\n a. These terms will be governed by and interpreted in accordance with the laws of [Your Country/State], and you submit to the jurisdiction of the courts located in [Your Country/State] for the resolution of any disputes.\n\n9. TERMINATION\n a. We reserve the right to terminate or suspend your access to our services immediately, without prior notice or liability, for any reason, including if you breach these terms.\n\n10. PRIVACY POLICY\n a. By using our services, you agree to the collection and use of information in accordance with our Privacy Policy.\n\n11. CONTACT US\n a. If you have any questions about these Terms and Conditions, please contact us at [Your Contact Information].\n\nEffective Date: [Insert Date]\n`;\n\n\nexport const multipleAdditionalDoc = [\n {\n fieldType: 'file',\n label: 'Add Documents',\n name: 'WEB_CRAWLING',\n props: {\n placeholder: 'Documents',\n type: 'file',\n accept: 'image/*, .pdf, .doc, .docx',\n multiple: false,\n required: true,\n },\n },\n]\n","import React, { useEffect, useState } from 'react';\nimport { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';\nimport close from '../../static/images/close.svg';\nimport { FormElems, AlertModal } from '../../components/';\nimport './MerchantReportModal.scss';\nimport Tooltip from 'rc-tooltip';\nimport 'rc-tooltip/assets/bootstrap_white.css'\nimport orangeinfo from \"../../static/images/orangeinfo.png\";\nimport grayinfo from '../../static/images/grayinfo.png';\nimport { validateReports } from './validator';\n\nconst MerchantReportModal = ({\n setModalOpen,\n selectedReportType,\n reportParameters,\n setReportParameters,\n isMRViewMode,\n handleCombinedReports,\n loading,\n}) => {\n const isMRViewModeValue = isMRViewMode || false;\n const [initialValue , setInitialValue] = useState(null);\n\n useEffect(() =>{\n if(!initialValue && !!reportParameters){\n setInitialValue(reportParameters);\n }\n }, [initialValue, reportParameters])\n\n const handleClose = () =>{\n setReportParameters(initialValue);\n setModalOpen(false);\n }\n\n const handleOnDragEnd = (result) => {\n if (isMRViewModeValue || !result.destination || result.source.index === result.destination.index) return;\n\n const updatedConfiguration = [...reportParameters[selectedReportType][0].configuration];\n\n const [reorderedItem] = updatedConfiguration.splice(result.source.index, 1);\n updatedConfiguration.splice(result.destination.index, 0, reorderedItem);\n\n const reorderedWithSeq = updatedConfiguration.map((item, index) => {\n return item.isEnable ? { ...item, seq: index } : { ...item, seq: -1 };\n });\n\n setReportParameters((prev) => ({\n ...prev,\n [selectedReportType]: [\n {\n ...prev[selectedReportType][0],\n configuration: reorderedWithSeq,\n },\n ],\n }));\n };\n\n\n // Toggle enable/disable for a parameter\n const toggleEnable = (id) => {\n if (isMRViewModeValue) return;\n\n const updated = reportParameters[selectedReportType][0].configuration.map((char) => {\n if (char.param === id) {\n return {\n ...char,\n isEnable: !char.isEnable,\n seq: !char.isEnable ? -1 : char.seq,\n };\n }\n return char;\n });\n\n const enabledItems = updated.filter(char => char.isEnable);\n const reordered = enabledItems.map((char, index) => ({ ...char, seq: index }));\n\n const finalUpdated = updated.map(char =>\n char.isEnable ? reordered.find(r => r.param === char.param) : { ...char, seq: -1 }\n );\n\n setReportParameters(prev => ({\n ...prev,\n [selectedReportType]: [{ ...prev[selectedReportType][0], configuration: finalUpdated }]\n }));\n };\n\n const [error, setError] = useState(\"\");\n\n const handleContinue = (e) => {\n e.preventDefault();\n\n const { isValid, message } = validateReports(reportParameters[selectedReportType][0][\"configuration\"], selectedReportType);\n\n if (!isValid) {\n setError(message);\n return;\n }\n\n setError(\"\");\n handleCombinedReports(reportParameters);\n };\n\n\n if (loading) return
    Loading...
    ;\n\n return (\n
    \n\n setError(\"\")}\n message={error}\n />\n\n
    \n
    \n

    {selectedReportType} Report Headers

    \n {!isMRViewModeValue && (\n
    You can edit the name of the headers and can rearrange them using drop and drop
    \n )}\n \n
    \n\n {/* Scrollable content */}\n
    \n \n \n {(provided) => (\n
      \n {reportParameters[selectedReportType][0].configuration.map(({ param, name, isEnable, desc }, index) => (\n \n {(provided, snapshot) => (\n \n toggleEnable(param)}\n >
    \n
    \n

    {index + 1}.

    \n {\n const newName = e.target.value;\n setReportParameters(prev => ({\n ...prev,\n [selectedReportType]: [{\n ...prev[selectedReportType][0],\n configuration: prev[selectedReportType][0].configuration.map(item =>\n item.param === param ? { ...item, name: newName } : item\n )\n }]\n }));\n }}\n disabled={isMRViewModeValue} // Disable in view mode\n />\n
    \n
    \n \n {desc}\n
    \n }>\n\n {`${name}\n \n
    \n \n )}\n \n ))}\n {provided.placeholder}\n \n )}\n \n \n
    \n\n {/* Static Continue button */}\n {!isMRViewModeValue && (\n
    \n \n
    \n )}\n
    \n
    \n );\n};\n\nexport default MerchantReportModal;\n","import React from 'react';\nimport \"./settlement.scss\";\nimport close from '../../static/images/close.svg';\nimport { termsConditions} from \"./constants\";\n\nconst TermsAndConditions = ({\n setModalOpen,\n isOpen\n}) => {\n\n if (!isOpen) {\n return <>;\n }\n\n return (\n
    \n
    \n
    \n

    Terms & Conditions

    \n setModalOpen(false)}\n />\n
    \n

    \n {termsConditions}\n

    \n
    \n
    \n );\n};\n\nexport default TermsAndConditions;\n","export const SESSION_STORAGE_FIELD_NAMES = {};\n\nexport const LOCAL_STORAGE_FIELD_NAMES = {\n CSRF_IDENTIFIER: 'csrfIdentifier',\n IS_LOGGED_IN: 'isLoggedIn',\n};\n","export const COMMON_RESPONSE_HEADER_KEYS = {\n CSRF_IDENTIFIER: 'csrfidentifier',\n};\n","// Library Methods\nimport { store } from '../index';\n\n// Actions\nimport { isLoggedInSuccess } from '../redux/common/auth/auth.actions';\n\n// Helper Methods\nimport { getFromLocalStorage, setToLocalStorage } from './helperMethods';\n\n// Browser storage field names\nimport { LOCAL_STORAGE_FIELD_NAMES } from './constants/browserStorageFieldNames';\n\n// Toast Messages\nimport { ERROR_MESSAGES } from './constants/toastMessages';\n\n// API Response Keys\nimport { COMMON_RESPONSE_HEADER_KEYS } from './API/apiResponseKeys';\nimport { toast } from 'react-toastify';\nimport axios from 'axios';\n\n// Create an instance of axios\nconst mainAxiosInstance = axios.create();\n\nconst GetIEVersion = () => {\n const sAgent = window.navigator.userAgent;\n const Idx = sAgent.indexOf('MSIE');\n\n // If IE, return version number.\n if (Idx > 0) {\n return parseInt(\n sAgent.substring(Idx + 5, sAgent.indexOf('.', Idx)),\n 10\n );\n } else if (Boolean(navigator.userAgent.match(/Trident\\/7\\./))) {\n return 11;\n }\n\n return 0;\n // It is not IE\n};\n\nconst csrfIdentifier = getFromLocalStorage(\n LOCAL_STORAGE_FIELD_NAMES.CSRF_IDENTIFIER\n);\n\n// Set default headers on our axios instance\nmainAxiosInstance.defaults.headers['Content-Type'] = 'application/json';\nmainAxiosInstance.defaults.headers.common.csrfIdentifier = csrfIdentifier;\n\nif (GetIEVersion() > 0) {\n mainAxiosInstance.defaults.headers['Cache-Control'] = 'no-cache';\n mainAxiosInstance.defaults.headers.Pragma = 'no-cache';\n mainAxiosInstance.defaults.headers.Expires =\n 'Sat, 01 Jan 2000 00:00:00 GMT';\n mainAxiosInstance.defaults.headers['If-Modified-Since'] = '0';\n}\n\n/**\n * To create request headers and options for xhr request\n *\n * @param {Object} headerOptions - Holds custom header options passed. Default value is {}\n * @returns {Object} - Holds final request headers and options for xhr request\n */\nconst setCsrfInRequestHeaders = () => {\n const csrfIdentifier = getFromLocalStorage(\n LOCAL_STORAGE_FIELD_NAMES.CSRF_IDENTIFIER\n );\n mainAxiosInstance.defaults.headers.common.csrfIdentifier = csrfIdentifier;\n};\n\nconst toasting = (() => {\n let executed = false;\n return () => {\n if (!executed) {\n executed = true;\n toast.info(ERROR_MESSAGES.SESSION_TIME_OUT);\n }\n };\n})();\n\n// Add a response interceptor\nmainAxiosInstance.interceptors.response.use(\n function(response) {\n // Look for csrfIdentifier in response headers\n const csrfIdentifier =\n response.headers[COMMON_RESPONSE_HEADER_KEYS.CSRF_IDENTIFIER];\n\n // If csrfIdentifier found then set it in localStorage\n if (csrfIdentifier) {\n setToLocalStorage(\n LOCAL_STORAGE_FIELD_NAMES.CSRF_IDENTIFIER,\n csrfIdentifier\n );\n\n setCsrfInRequestHeaders();\n }\n\n return response;\n },\n function(error) {\n // If HTTP status = 401 then session is timed out\n // So update loggedin status and update csrf from response header\n if (error.response.status === 401) {\n // Look for csrfIdentifier in response headers\n const csrfIdentifier =\n error.response.headers[\n COMMON_RESPONSE_HEADER_KEYS.CSRF_IDENTIFIER\n ];\n\n // If csrfIdentifier found then set it in localStorage\n if (csrfIdentifier) {\n setToLocalStorage(\n LOCAL_STORAGE_FIELD_NAMES.CSRF_IDENTIFIER,\n csrfIdentifier\n );\n\n setCsrfInRequestHeaders();\n }\n // Set loggedin status to false in localStorage\n setToLocalStorage(LOCAL_STORAGE_FIELD_NAMES.IS_LOGGED_IN, false);\n\n if (window.location.pathname !== '/login') {\n toasting();\n }\n\n // Set isLoggedIn false in auth reducer\n store.dispatch(isLoggedInSuccess({ isLoggedIn: false }));\n }\n // Any status codes that falls outside the range of 2xx cause this function to trigger\n // Do something with response error\n return Promise.reject(error);\n }\n);\n\n/**\n * To create request headers and options for xhr request\n *\n * @param {Object} headerOptions - Holds custom header options passed. Default value is {}\n * @returns {Object} - Holds final request headers and options for xhr request\n */\nconst createRequestOptions = (headerOptions = {}) => {\n const options = {\n headers: {\n ...headerOptions,\n },\n withCredentials: true,\n };\n return { options };\n};\n\nexport const fetchaxiosData = async(apiUrl, request, options) => {\n const axiosdata = await mainAxiosInstance.post(apiUrl, request, options);\n // console.log(apiUrl, axiosdata);\n return axiosdata\n}\n\n/**\n * To make xhr \"POST\" request\n *\n * @param {String} apiUrl - URL of API\n * @param {Object} data - Data that needs to be sent\n * @param {Object} headerOptions - Request headers that get merged with default headers\n * @returns Promise object that gets resolved / reject depending on the result of API call\n */\nconst POST = (apiUrl, data = null, headerOptions, notStringify) => {\n try {\n const { options } = createRequestOptions(headerOptions);\n const request = notStringify ? data : JSON.stringify(data);\n // console.log(\"options\", options, request);\n \n return fetchaxiosData(apiUrl, request, options);\n } catch(e) {\n console.log(\"e\", e);\n }\n return {};\n};\n\nconst DELETE = (apiUrl, data = null, headerOptions, notStringify) => {\n const { options } = createRequestOptions(headerOptions);\n const request = notStringify ? data : JSON.stringify(data);\n return mainAxiosInstance.delete(apiUrl, request, options);\n};\n\n/**\n * To make xhr \"GET\" request\n *\n * @param {String} apiUrl - URL of API\n * @param {Object} headerOptions - Request headers that get merged with default headers\n * @returns Promise object that gets resolved / reject depending on the result of API call\n */\nconst GET = (apiUrl, headerOptions) => {\n const { options } = createRequestOptions(headerOptions);\n return mainAxiosInstance.get(apiUrl, options);\n};\n\nexport { setCsrfInRequestHeaders, POST, GET, DELETE };\n","const API_HOST = '';\nconst CDN_HOST = '';\n\n// Auth\nexport const API_CREATE_SESSION = `${API_HOST}/panel/api/v1/spg/create/session`;\nexport const API_LOGIN = `${API_HOST}/panel/api/v1/spg/user/login`;\nexport const API_LOGOUT = `${API_HOST}/panel/api/v1/spg/user/signout`;\nexport const API_FORGOT_PASSWORD = `${API_HOST}/panel/api/v1/spg/pswrd/forgot`;\nexport const API_RESET_PASSWORD = `${API_HOST}/panel/api/v1/spg/pswrd/reset`;\nexport const API_MARK_USER_ACTIVE = `${API_HOST}/panel/api/v1/spg/upgrade/user/active`;\nexport const API_IS_LOGGED_IN = `${API_HOST}/panel/api/v1/spg/isLoggedin`;\nexport const API_GET_USER_PROFILE = `${API_HOST}/panel/api/v1/spg/user/profile`;\nexport const API_GET_ACCESSIBLE_ITEMS_FOR_USER = `${API_HOST}/panel/api/v1/spg/role/access`;\n\n// User Management\nexport const API_GET_ALL_USERS = `${API_HOST}/panel/api/v1/spg/users/get/all`;\nexport const API_CREATE_USER = `${API_HOST}/panel/api/v1/spg/create/user`;\nexport const API_UPDATE_USER = `${API_HOST}/panel/api/v1/spg/update/user`;\nexport const API_CREATE_ADMIN_USER = `${API_HOST}/panel/api/v1/spg/create/admin/user`;\nexport const API_UPDATE_ADMIN_USER = `${API_HOST}/panel/api/v1/spg/update/admin/user`;\nexport const API_GET_ALL_USER_CHECKERS = `${API_HOST}/panel/api/v1/spg/users/get/all/checker`;\nexport const API_GET_ALL_USER_MAKERS = `${API_HOST}/panel/api/v1/spg/users/get/all/maker`;\nexport const API_UPDATE_INTENT = `${API_HOST}/panel/api/v1/spg/checker/intent/action`;\n\n// Role Management\nexport const API_GET_ALL_ROLES = `${API_HOST}/panel/api/v1/spg/role/get/all`;\nexport const API_CREATE_ROLE = `${API_HOST}/panel/api/v1/spg/role/create`;\nexport const API_UPDATE_ROLE = `${API_HOST}/panel/api/v1/spg/role/update`;\nexport const API_GET_ALL_RESOURCE_PERMISSION_DETAILS = `${API_HOST}/panel/api/v1/spg/role/get/all/resource/permission`;\nexport const API_GET_ALL_ROLE_CHECKERS = `${API_HOST}/panel/api/v1/spg/role/get/all/checker/detail`;\nexport const API_GET_ALL_ROLE_MAKERS = `${API_HOST}/panel/api/v1/spg/role/get/all/maker/detail`;\n\n// Merchant Onboard\nexport const API_FETCH_ENTITY = `${API_HOST}/panel/api/v1/spg/merchant/fetch/entity`;\nexport const API_FETCH_ENTITY_V2 = `${API_HOST}/panel/api/v1/spg/v2/merchant/fetch/entity`;\nexport const API_ENTITY_CREATE = `${API_HOST}/panel/api/v1/spg/merchant/entity/create`;\nexport const API_ENTITY_LIST = `${API_HOST}/panel/api/v1/spg/merchant/entity/list`;\nexport const API_ENTITY_LIST1 = `${API_HOST}/panel/api/v1/spg/v2/entity/list`;\nexport const API_SAVE_CONTINUE = `${API_HOST}/panel/api/v1/spg/merchant/save/continue`;\nexport const API_FORM_IN_PROCESS = `${API_HOST}/panel/api/v1/spg/merchant/form/inprocess`;\nexport const API_FORM_DETAILS = `${API_HOST}/panel/api/v1/spg/merchant/fetch/form/details`;\nexport const API_SECTION_DATA = `${API_HOST}/panel/api/v1/spg/merchant/section/date`;\nexport const API_HIERARCHY_LIST = `${API_HOST}/panel/api/v1/spg/merchant/entity/hierarchy`;\nexport const API_GET_STATIC_INFO = `${API_HOST}/panel/api/v1/spg/merchant/fetch/onboarding/static/info`;\nexport const API_GET_PAYMENT_MODES = `${API_HOST}/panel/api/v1/spg/merchant/available/payment/mode`;\nexport const API_GET_DEFAULT_ROUTING = `${API_HOST}/panel/api/v1/spg/v1/merchant/fetch/default/routing`;\nexport const API_GET_SURCHARGE_SLABS = `${API_HOST}/panel/api/v1/spg/merchant/surcharge/fetch/paymentslab`;\nexport const API_SUBMIT_FORM = `${API_HOST}/panel/api/v1/spg/merchant/submit`;\nexport const API_RETRY_FAILED_MERCHANT_FORM_BY_ID = `${API_HOST}/panel/api/v1/spg/merchant/retry/failed/form`;\n\n// MLE\n//export const APT_FETCH_MLE_LIST = `${API_HOST}/panel/api/v1/spg/merchant/fetch/entity`;\nexport const APT_FETCH_MLE_LIST = `${API_HOST}/panel/api/v1/spg/v2/merchant/fetch/entity`;\nexport const APT_CREATE_MLE = `${API_HOST}/panel/api/v1/spg/mle/onboarding`;\nexport const APT_UPDATE_MLE = `${API_HOST}/panel/api/v1/spg/mle/update`;\n\nexport const APT_FETCH_MLE_DETAILS = `${API_HOST}/panel/api/v1/spg/mle/details`;\nexport const APT_FETCH_MLE_DETAILS_PINCODE = `${API_HOST}/panel/api/v1/spg/mle/details/pincode`;\n\n// BD onboarding new routes\nexport const API_FETCH_BD_INPROGRESS_MERCHANT = `${API_HOST}/panel/api/v1/spg/bd/inprogress`;\nexport const API_SUBMIT_STEP_DETAILS = step =>\n `${API_HOST}/panel/api/v1/spg/merchant/submit/bd/${step}`;\nexport const API_ADD_BD_ONBOARDING_MAKER = service =>\n `${API_HOST}/panel/api/v1/spg/${service}/add/request/maker`;\n\n// Merchant OnboardStatus\nexport const API_MERCHANT_UPDATE_STATUS = `${API_HOST}/panel/api/v1/spg/fetch/merchant/updates/list`;\n\n// Merchant Edit\nexport const API_GET_MERCHANT_INFO = `${API_HOST}/panel/api/v1/spg/entity/get/info`;\nexport const API_GET_TERMINAL_INFO = `${API_HOST}/panel/api/v1/spg/entity/get/info`;\nexport const API_FETCH_PG_CONFIG = `${API_HOST}/panel/api/v1/spg/v1/merchant/fetch/pg/config`;\nexport const API_FETCH_ROUTER_DETAILS = `${API_HOST}/panel/api/v1/spg/v1/merchant/fetch/routing`;\nexport const API_FETCH_SURCHARGE_DETAILS = `${API_HOST}/panel/api/v1/spg/fetch/feeInfo`;\nexport const API_UPDATE_MERCHANT = `${API_HOST}/panel/api/v1/spg/merchant/update/entity`;\nexport const API_UPDATE_PG_CONFIG = `${API_HOST}/panel/api/v1/spg/v2/merchant/update/pg/config`;\nexport const API_UPDATE_SETTLEMENT = `${API_HOST}/panel/api/v1/spg/update/settlementdata`;\nexport const API_FETCH_BASIC_DATA = `${API_HOST}/panel/api/v1/spg/fetch/basic/formdata`;\nexport const API_UPDATE_ROUTING = `${API_HOST}/panel/api/v1/spg/merchant/update/routing`;\nexport const API_UPDATE_SURCHARGE = `${API_HOST}/panel/api/v1/spg/update/feeInfo`;\nexport const API_UPDATE_SECTIONS = `${API_HOST}/panel/api/v1/spg/merchant/update/sectiondetails`;\nexport const API_FETCH_SECTIONS = `${API_HOST}/panel/api/v1/spg/merchant/fetch/merchant/config`;\n\n// KYC Section data\nexport const API_UPLOAD_KYC_DOCUMENT = `${API_HOST}/panel/api/v1/spg/merchant/kyc/documents/upload`;\nexport const API_VIEW_KYC_DOCUMENT = `${API_HOST}/panel/api/v1/spg/merchant/kyc/documents/view`;\n\n// Transaction View\nexport const API_FETCH_TRANSACTION = `${API_HOST}/panel/api/v1/spg/thv/filtered/txn`;\nexport const API_FETCH_UNDERLYING_MERCHANTS = `${API_HOST}/panel/api/v1/spg/merchant/underlying/merchants`;\nexport const API_INITIATE_REFUND = `${API_HOST}/panel/api/v1/spg/initiate/refund`;\nexport const API_GENERATE_REPORT = `${API_HOST}/panel/api/v1/spg/thv/txns/reports`;\nexport const API_GET_ACTIVE_REPORT = `${API_HOST}/panel/api/v1/spg/thv/txns/reports/active`;\nexport const API_DOWNLOAD_REPORT = `${API_HOST}/panel/api/v1/spg/thv/txns/reports/download`;\nexport const API_TRANSACTION_STATUS = `${API_HOST}/panel/api/v1/spg/check/txn/status`;\nexport const API_FETCH_REFUND_TXN = `${API_HOST}/panel/api/v1/spg/refund/getRefundTransactionData`;\n\n// Sample File\nexport const SAMPLE_FILE_DOWNLOAD = `${CDN_HOST}/assets/files/Sample-Bin-Upload.csv`;\n\n// Manage Bin\nexport const API_FETCH_BIN_RECENT = `${API_HOST}/panel/api/v1/spg/merchant/file/process/status`;\nexport const API_BIN_UPLOAD_FILE = `${API_HOST}/panel/api/v1/spg/merchant/bin/file/upload`;\nexport const API_NETWORK_BIN_UPLOAD_FILE = `${API_HOST}/panel/api/v1/spg/issuer/bin/file/upload`;\n\nexport const API_DOWNLOAD_BY_REQUEST = `${API_HOST}/panel/api/v1/spg/merchant/download/bin/file`;\nexport const API_SEARCH_BIN_DETAIL = `${API_HOST}/panel/api/v1/spg/merchant/search/bin/detail`;\nexport const API_BIN_UPDATE_DETAIL = `${API_HOST}/panel/api/v1/spg/merchant/update/bin/detail`;\nexport const API_RECENT_SEARCH = `${API_HOST}/panel/api/v1/spg/recent/bin/head/search`;\nexport const API_STATIC_DATA = `${API_HOST}/panel/api/v1/spg/merchant/bin/card/static/detail`;\n\n// Comm Profile\nexport const API_FETCH_NOTIFICATION_EVENTS = `${API_HOST}/panel/api/v1/spg/merchant/notificationevents/fetch`;\nexport const API_ADD_COMM_PROFILE = `${API_HOST}/panel/api/v1/spg/merchant/profile/add`;\nexport const API_FETCH_COMM_PROFILE = `${API_HOST}/panel/api/v1/spg/merchant/profile/fetch`;\nexport const API_UPDATE_COMM_PROFILE = `${API_HOST}/panel/api/v1/spg/merchant/profile/update`;\n\n// Otp Management\nexport const API_OTP_RESEND = `${API_HOST}/panel/api/v1/spg/otp/resend`;\nexport const API_OTP_VALIDATE = `${API_HOST}/panel/api/v1/spg/otp/validate/login`;\n\n// Profile\nexport const API_FETCH_MERCHANT_PROFILE = `${API_HOST}/panel/api/v1/spg/merchant/logo/get`;\nexport const API_UPDATE_PROFILE = `${API_HOST}/panel/api/v1/spg/merchant/logo/update`;\nexport const API_CREATE_STATIC_QR = `${API_HOST}/panel/api/v1/spg/merchant/generate/qr`;\nexport const API_DELETE_PROFILE = `${API_HOST}/panel/api/v1/spg/merchant/logo/delete`;\nexport const API_SDK_JSON = `${CDN_HOST}/assets/sdks/sdk-info.json`;\n\n// Audit Trail\nexport const API_AUDIT_TRAIL_STATIC = `${API_HOST}/panel/api/v1/spg/static/audit/event/action`;\nexport const API_AUDIT_TRAIL_FETCH = `${API_HOST}/panel/api/v1/spg/audit/event`;\n\n// DashBoard\nexport const API_FETCH_MIXED_GRAPH = `${API_HOST}/panel/api/v1/spg/dashboard/graph/multi/mixed`;\nexport const API_FETCH_MULTI_GRAPH = `${API_HOST}/panel/api/v1/spg/dashboard/graph/multi/table`;\nexport const API_FETCH_SINGLE_GRAPH = `${API_HOST}/panel/api/v1/spg/dashboard/graph/single/time`;\nexport const API_FETCH_SUMMARY_GRAPH = `${API_HOST}/panel/api/v1/spg/dashboard/summary`;\nexport const API_HIERARCHY_LIST_MULTI = `${API_HOST}/panel/api/v1/spg/entity/list/hierarchy`;\n\n// Payment Links\nexport const API_FETCH_PAY_DATA = `${API_HOST}/panel/api/v1/spg/paylink/data/getAll`;\nexport const API_CREATE_PAY_LINK = `${API_HOST}/panel/api/v1/spg/paylink/data/create`;\nexport const API_UPDATE_PAY_LINK = `${API_HOST}/panel/api/v1/spg/paylink/data/update`;\nexport const API_SHARE_PAY_LINK = `${API_HOST}/panel/api/v1/spg/paylink/share`;\nexport const API_RESHARE_PAY_LINK = `${API_HOST}/panel/api/v1/spg/paylink/reshare`;\nexport const API_LIST_PAY_TRANSACTIONS = `${API_HOST}/panel/api/v1/spg/paylink/getAllTxns`;\nexport const API_PAY_LINK_SUMMARY = `${API_HOST}/panel/api/v1/spg/paylink/getSummary`;\nexport const API_MERCHANT_TEMPLATE_DETAILS = `${API_HOST}/panel/api/v1/spg/paylink/template`;\n\n// Settlement\nexport const API_SETTLEMENT_LISTING = `${API_HOST}/panel/api/v1/spg/settlement/filtered/txn`;\nexport const API_RETRY_SETTLEMENT = `${API_HOST}/panel/api/v1/spg/settlement/retry`;\nexport const API_RETRIGGER_SETTLEMENT = `${API_HOST}/panel/api/v1/spg/settlement/repeat`;\nexport const API_FETCH_AVAILABLE_BALANCE = `${API_HOST} /panel/api/v1/spg/fetch/available/balance`;\nexport const API_FETCH_ODS_FEE_DETAILS = `${API_HOST} /panel/api/v1/spg/fetch/ods/fee/details`;\nexport const API_PROCESS_ODS = `${API_HOST} /panel/api/v1/spg/process/ods`;\nexport const API_FETCH_NET_SETTLEMENT = `${API_HOST}/panel/api/v1/spg/v1/settlement-stats`;\n\n\n// checkout customization\nexport const API_ADD_CHECKOUT_CUSTOMIZATION = `${API_HOST}/panel/api/v1/spg/merchant/theme/submit`;\nexport const API_ADD_CHECKOUT_CUSTOMIZATION_CUSTOM_DETAILS = `${API_HOST}/panel/api/v1/spg/merchant/custom/checkout/update`;\nexport const API_GET_CHECKOUT_CUSTOMIZATION = `${API_HOST}/panel/api/v1/spg/merchant/theme/get`;\nexport const API_UPDATE_CHECKOUT_CUSTOMIZATION = `${API_HOST}/panel/api/v1/spg/merchant/update/entity`;\n// MERCHANT ADJUSTMENT\nexport const API_FETCH_MERCHANT_ADJUSTMENTS = `${API_HOST}/panel/api/v1/spg/merchantAdjustment/filtered/txn`;\nexport const API_CREATE_MERCHANT_ADJUSTMENTS = `${API_HOST}/panel/api/v1/spg/create/merchantAdjustment`;\nexport const API_GENERATE_ADJUSTMENT_REPORT = `${API_HOST}/panel/api/v1/spg/thv/merchantadjustment/txns/reports`;\n\n// Bulk Upload\nexport const API_FETCH_BULK_UPLOAD_RECENT = `${API_HOST}/panel/api/v1/spg/bulkrefund/file/process/status`;\nexport const API_FETCH_BULK_UPLOAD_PREFILLED_FILE = `${API_HOST}/panel/api/v1/spg/bulkrefund/prefilled/file`;\nexport const API_BULK_UPLOAD_FILE = `${API_HOST}/panel/api/v1/spg/merchant/bulkrefund/file/upload`;\nexport const API_BULK_UPLOAD_FILE_TRANSACTION_VIEW = `${API_HOST}/panel/api/v1/spg/bulkrefund/file/txn/status`;\nexport const API_BULK_UPLOAD_DOWNLOAD_FILE = `${API_HOST}/panel/api/v1/spg/merchant/download/bulkrefund/file`;\n\n// Invoice\nexport const API_INVOICE_LIST_DETAILS = `${API_HOST}/panel/api/v1/spg/merchant-invoice/v1/fetch/info`;\nexport const API_INVOICE_GENERATE_REPORT = `${API_HOST}/panel/api/v1/spg/merchant-invoice/v1/generate/reports`;\nexport const API_INVOICE_GENERATE_INVOICE = `${API_HOST}/panel/api/v1/spg/merchant-invoice/v1/generate/invoice`;\nexport const API_UPDATE_INVOICE_PAYMENT_STATUS = `${API_HOST}/panel/api/v1/spg/merchant-invoice/update/paymentstatus`;\n\n// bulk payment link\nexport const API_DOWNLOAD_BULK_PAYMENT_LINK_PRE_FILLED_FILE = `${API_HOST}/panel/api/v1/spg/bulkpaylink/prefilled/file`;\nexport const API_FETCH_RECENT_BULK_PAYMENT_LINK = `${API_HOST}/panel/api/v1/spg/bulkpaylink/file/process/status`;\nexport const API_UPLOAD_BULK_PAYMENT_LINK_FILE = `${API_HOST}/panel/api/v1/spg/merchant/bulkpaylink/file/upload`;\nexport const API_DOWNLOAD_BULK_PAYMENT_LINK_FILE = `${API_HOST}/panel/api/v1/spg/merchant/download/bulkpaylink/file`;\n\n// MAKER PANEL\nexport const API_FETCH_MAKER_LIST = `${API_HOST}/panel/api/v1/spg/maker/get/add/request`;\nexport const API_FETCH_CHECKER_LIST = `${API_HOST}/panel/api/v1/spg/checker/get/add/request`;\nexport const API_UPDATE_MAKER_REQUEST = `${API_HOST}/panel/api/v1/spg/maker/update/request`;\n\n// export const API_ADD_MAKER_REQUEST = service =>\n// `${API_HOST}/panel/api/v1/spg/${service}/add/request/maker`;\n// export const API_UPDATE_MAKER_REQUEST = `${API_HOST}/panel/api/v1/spg/maker/update/request`;\n\nexport const API_GET_ACTIVE_REPORT_CUSTOM = RequestType =>\n `${API_HOST}/panel/api/v1/spg/thv/txns/reports/active?reportType=${RequestType}`;\n\n// MANDATES PANEL\n/**\n * API endpoint for fetching mandates.\n * @const {string}\n */\nexport const API_FETCH_MANDATES = `${API_HOST}/panel/api/spg/filtered/mandates`;\n\n/**\n * API endpoint for getting active report mandates.\n * @const {string}\n */\nexport const API_GET_ACTIVE_REPORT_MANDATE = `${API_HOST}/panel/api/v1/spg/v1/txns/reports/active`;\n\n/**\n * API endpoint for fetching mandate transactions.\n * @const {string}\n */\nexport const API_FETCH_MANDATE_TRANSACTIONS = `${API_HOST}/panel/api/spg/mandates/txns`;\n\n/**\n * API endpoint for updating mandates.\n * @const {string}\n */\nexport const API_UPDATE_MANDATE = `${API_HOST}/panel/api/spg/modify/mandates`;\n\n// Chargeback\nexport const API_CHARGEBACK_STATIC_DATA = `${API_HOST}/panel/api/spg/static/chargeback/data`;\n\nexport const API_FETCH_CHARGEBACK_DATA = `${API_HOST}/panel/api/spg/get/chargeback/list`;\n\nexport const API_FETCH_CHAREGEBACK_DETAILS = `${API_HOST}/panel/api/spg/get/detailed/chargeback`;\n\nexport const API_VALIDATE_CHARGEBACK = `${API_HOST}/panel/api/spg/validate/chargeback`;\n\nexport const API_RAISE_CHARGEBACK = `${API_HOST}/panel/api/spg/raise/chargeback`;\n\nexport const API_CHARGEBACK_AGENT_ACTION = `${API_HOST}/panel/api/spg/chargeback/agent/action`;\n\nexport const API_CHARGEBACK_MERCHANT_ACTION = `${API_HOST}/panel/api/spg/chargeback/merchant/action`;\n\nexport const API_GET_ACTIVE_REPORT_CHARGEBACK = `${API_HOST}/panel/api/v1/spg/v1/txns/reports/active`;\n\n// payment gateway credentials\nexport const API_FETCH_PAYMENT_GATEWAY_CREDENTIAL = `${API_HOST}/panel/api/v1/spg/pg/credentials/fetch`;\n\nexport const API_CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP = step =>\n `${API_HOST}/panel/api/v1/spg/pg/${step}/create`;\n\nexport const API_UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP = step =>\n `${API_HOST}/panel/api/v1/spg/pg/${step}/update`;\n\nexport const API_FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA = `${API_HOST}/panel/api/v1/spg/pg/credentials/details/fetch`;\n\n// comman routes\nexport const API_GET_ACTIVE_REPORTS = `${API_HOST}/panel/api/v1/spg/v1/txns/reports/active`;\nexport const API_CHECK_DISPUTE_STATUS = `${API_HOST}/panel/api/spg/dispute/status`;\nexport const API_REFUND_DISPUTE = `${API_HOST}/panel/api/v1/spg/initiate/refund`;\n// New API created\n//export const API_GET_HEADER =`${API_HOST}/panel/api/v1/spg/initiate/refund`;\n\n//TERMINAL ID\nexport const API_CREATE_TID_REQUEST = `${API_HOST}/panel/api/v1/spg/merchant/add/request/maker`;\nexport const API_FETCH_STATIC_URL = `${API_HOST}/panel/api/v1/spg/v2/merchant/generate/qr`;\nexport const API_BULK_UPLOAD_TERMINAL_ID = `${API_HOST}/panel/api/v1/spg/terminal/update/file/upload`;\n\n// mob phase 2\nexport const API_UPLOAD_AND_FETCH_OCR = `${API_HOST}/panel/api/v1/spg/doc/uploadAndFetch`;\nexport const API_VERIFY_PII_ACCOUNT_DETAILS = `${API_HOST}/panel/api/v1/spg/account/verify`;\n\n// PAYMENT PAGE\nexport const FETCH_PAYMENT_PAGE_DATA = `${API_HOST}/panel/api/v1/spg/formlink/v1/get/data`;\nexport const API_LIST_PAY_TRANSACTIONS_PAYMENT_PAGE = `${API_HOST}/panel/api/v1/spg/formlink/v1/get/txn`;\nexport const API_CREATE_PAYMENT_PAGE = `${API_HOST}/panel/api/v1/spg/payment/form/create`;\nexport const API_GET_PAYMENT_PAGE_DETAILS = `${API_HOST}/panel/api/v1/spg/payment/form/get`;\nexport const API_UPDATE_PAYMENT_PAGE_DETAILS = `${API_HOST}/panel/api/v1/spg/payment/form/update`;\n","export const apiStatusCodes = {\n SUCCESS: 'SPG-0000',\n SUCCESS2: 'SPGM-0000',\n SUCCESS3: 'SPGPL-2000',\n NORECORD: 'ER-S053',\n};\n","/* eslint-disable max-lines-per-function */\n/* eslint-disable max-statements */\n/* eslint-disable indent */\n// Libraries\nimport { MAKER_CHECKER_EVENT_TYPES } from 'utils/constants/commonValues';\nimport {\n formatFormDataOptions,\n getDependentSectionName,\n getFormButtonText,\n nameValueOptions,\n} from '../../utils/helperMethods';\nimport { FormElems, Alert, AlertModal, Accordion, CustomDate } from '../../components/';\nimport {\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n submitStepFormRequest,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\nimport {\n resetUpdateDataSuccessKey,\n getMerchantInfoRequest,\n fetchBasicFormData,\n updateSettlementDataRequest,\n addMerchantStepUpdateMakerRequest,\n getMerchantSectionInfoRequest,\n} from '../../containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\nimport { ERROR_MESSAGES, SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport validate, { validateReports } from './validator';\nimport React, { useState, useEffect, useRef } from 'react';\nimport PropTypes, { object } from 'prop-types';\nimport { Field, reduxForm, change, FieldArray } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect, useDispatch } from 'react-redux';\nimport { withRouter } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport { last, first, iteratee } from 'lodash';\nimport { initialBankAccount, initialEDIData, multipleAdditionalDoc } from './constants';\nimport info_image from \"../../static/images/info.svg\"\nimport Tooltip from 'rc-tooltip';\nimport { change as changeValue } from 'redux-form';\nimport MerchantReportModal from '../SettlementTab/MerchantReportModal';\nimport TermsConditions from \"./TermsConditions\";\n// Actions\n\n// Constant\n\n// Validator\n\n// Styles\nimport './settlement.scss';\nimport { POST } from '../../utils/fetchWrappers';\nimport { API_UPLOAD_KYC_DOCUMENT, API_VIEW_KYC_DOCUMENT } from '../../utils/API/apiUrls';\nimport { apiStatusCodes } from '../../utils/API/apiStatusCodes';\n const INTERIM_OPTIONS = [\n 'TRANSACTION_ID',\n 'ORDER_ID',\n 'RECON_ID',\n 'PAYABLE_ID',\n 'MERCHANT_ID',\n];\n\nconst allowedExtensions = ['jpg', 'jpeg', 'png', 'pdf', 'doc', 'docx'];\n\nlet initialSettlementTypeOptions = [\n {\n name: 'Instant Settlement',\n value: 'ID',\n },\n {\n name: 'On Demand Settlement',\n value: 'ODS',\n },\n]\n\nconst SettlementTab = ({\n merchantData,\n handleSubmit,\n error,\n nextPath,\n previousPath,\n history,\n actions,\n sectionType,\n name,\n auth,\n initialValues,\n isEditMode,\n isViewMode,\n editData,\n draftData,\n change,\n onBoardSteps,\n formData,\n}) => {\n const {\n saveData,\n timeline: { fields },\n formInProcess = [],\n uniqueIdentifier: { uniqueId },\n } = merchantData;\n\n let firstCall = false;\n const [isShowModalAccount, setIsShowModalAccount] = useState(false);\n const [isShowModalSettlement, setIsShowModalSettlement] = useState(false);\n const [settlementErrorMessage, setSettlementErrorMessage] = useState(false);\n const { updateData, basicFormData = {}, sections = [] } = editData;\n const { userDetails } = auth;\n const { location } = history;\n const [switchState, setSwitchState] = useState({\n hierarchyCommission: false,\n refundWithNegativeBalanceFlag: false,\n isSettlementEnable: true,\n isPayableEnable: true,\n isZeroSettlementEnabled: false,\n });\n const currentStep = first(\n onBoardSteps.filter(item => item.sectionType === sectionType)\n );\n //console.log(currentStep,\" currentStep---------\");\n const [isChange, setIsChange] = useState(false);\n const [customError, setCustomError] = useState({ fcCommissionType: '' });\n const isOrAre = currentStep.dependentSections.length > 1 ? 'are' : 'is';\n const [accountErrorMessage, setAccountErrorMessage] = useState(false);\n const [isShowModal, setIsShowModal] = useState(false);\n const [interimOptions, setInterimOptions] = useState(INTERIM_OPTIONS);\n const [secondInterimOptions, setSecondInterimOptions] = useState(\n INTERIM_OPTIONS\n );\n const [formValues, setFormValues] = useState({});\n const [formConfirmation, setFormConfirmation] = useState(false);\n\n const [oldFormData, setOldFormData] = useState(null);\n const [modalOpen, setModalOpen] = useState(false);\n const [isMRViewMode, setIsMRViewMode] = useState(false);\n const [selectedReportType, setSelectedReportType] = useState('');\n const [termsConditionView, setTermsConditionsView] = useState(false);\n const [settlementConfirmation, setSettlementConfirmation] = useState(false);\n const [settlementTypeOptions, setSettlementTypeOptions] = useState(initialSettlementTypeOptions);\n\n useEffect(() => {\n if (\n !oldFormData &&\n formData.values.nextSettlementType !== undefined &&\n formData.values.fcCommissionType\n ) {\n setOldFormData(formData.values);\n }\n }, [formData.values, oldFormData]);\n\n const dispatch = useDispatch();\n\n const instantSettlementOptions = [\n {\n name: 'Instant Settlement',\n value: 'instantSettlement',\n checked: false,\n },\n ];\n\n const ancillaryFeeOptions = [\n {\n name: 'Enable Ancillary Fee',\n value: 'isAncillaryFeeEnabled',\n checked: false,\n },\n ];\n\n const UnifiedMSROptions = [\n {\n name: 'Enable Unified MSR',\n value: 'isUnifiedMsr',\n checked: false,\n },\n ];\n\n\n\n\n\n // Determine if the user is in a terminal state based on the presence of 'nextPath'.\n const isUserTerminalState = !nextPath;\n\n const getCheckboxOptions = (initialValuesData, data, keyField) => {\n if (initialValuesData && initialValuesData[keyField]) {\n return data.map(item => {\n if (initialValuesData[keyField]) {\n return { ...item, checked: true };\n }\n return item;\n });\n }\n return data;\n };\n\n const onSuccessModal = () => {\n //console.log(\"onSuccessModal.........\");\n setIsShowModal(false);\n if (formData && formData.values) {\n handleFormSubmit(formData.values);\n }\n };\n\n const onCloseModal = () => {\n setIsShowModal(false);\n };\n\n const resetErrors = () => {\n if (isEditMode) {\n actions.resetUpdateDataSuccessKey();\n } else {\n actions.resetSaveDataSuccessKey();\n }\n };\n\n const onNext = () => {\n resetErrors();\n if (!isUserTerminalState) {\n history.push(nextPath);\n } else {\n history.push('/mob');\n }\n };\n\n const onBack = () => {\n resetErrors();\n if (!isEditMode && !isViewMode && draftData && editData) {\n history.push('/mob/draft');\n } else {\n history.push(previousPath);\n }\n };\n\n useEffect(() => {\n if (Object.keys(initialValues).length) {\n const {\n hierarchyCommission,\n refundWithNegativeBalanceFlag,\n isSettlementEnable,\n isPayableEnable,\n isZeroSettlementEnabled,\n } = initialValues;\n const checkHierarchy =\n currentStep.status === 'Open' ? false : hierarchyCommission;\n setSwitchState({\n hierarchyCommission: checkHierarchy,\n refundWithNegativeBalanceFlag,\n isSettlementEnable:\n typeof isSettlementEnable === 'boolean'\n ? isSettlementEnable\n : true,\n isPayableEnable:\n typeof isPayableEnable === 'boolean'\n ? isPayableEnable\n : true,\n isZeroSettlementEnabled:\n typeof isZeroSettlementEnabled === 'boolean'\n ? isZeroSettlementEnabled\n : false,\n });\n if (currentStep.status === 'Open') {\n change('hierarchyCommissionList', []);\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [initialValues]);\n /**\n * get form data\n */\n\n useEffect(() => {\n let req = {};\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n req = {\n entityCode: merchantId,\n sectionType,\n };\n } else {\n req = {\n uniqueIdentifier: uniqueId,\n userId: userDetails.email,\n formType: 'merchantOnboardingForm',\n sectionType,\n };\n }\n if (!firstCall) {\n //console.log(\"useEffect formData... firstCall =>\",firstCall)\n actions.fetchBasicFormData(req);\n firstCall = true;\n }\n }, [\n actions,\n userDetails,\n isEditMode,\n isViewMode,\n sectionType,\n formInProcess,\n uniqueId,\n location.pathname,\n ]);\n const [reportParameters, setReportParameters] = useState(null);\n const [finalReports, setFinalReports] = useState({});\n useEffect(() => {\n const settlementSection = editData.sections.find(\n section => section.type === 'settlementSection'\n );\n //user have already selected the reports previously\n if (settlementSection?.data?.customisedReports) {\n editData.basicFormData.defaultReports =\n settlementSection?.data?.customisedReports;\n }\n if (editData && editData.basicFormData.defaultReports) {\n const parameters = editData.basicFormData.defaultReports;\n setReportParameters(parameters);\n setFinalReports(parameters);\n }\n if (draftData && draftData?.data?.customisedReports) {\n console.log(draftData?.data?.customisedReports, '3333333');\n setReportParameters(draftData?.data?.customisedReports);\n }\n }, [editData, draftData]);\n\n useEffect(() => {\n const fetchMerchantData = async () => {\n if (isEditMode || isViewMode) {\n const merchantId = last(location.pathname.split('/'));\n\n try {\n // First API call\n await actions.getMerchantSectionInfoRequest(\n merchantId,\n fields,\n 'settlementSection'\n );\n // Only call the second API if the first one succeeded\n setTimeout(function() {\n if (fields?.length) {\n actions.getMerchantInfoRequest(merchantId, fields);\n }\n }, 800);\n } catch (error) {\n console.error('Error fetching merchant data:', error);\n }\n }\n };\n\n fetchMerchantData();\n }, [actions, fields, isEditMode, isViewMode, location.pathname]);\n\n // useEffect(() => {\n // //this is the config call\n\n // if (isEditMode || isViewMode) {\n // const merchantId = last(location.pathname.split('/'));\n // actions.getMerchantSectionInfoRequest(\n // merchantId,\n // fields,\n // 'settlementSection'\n // );\n // }\n // }, [actions, fields, isEditMode, isViewMode, location.pathname]);\n\n /**\n * get complete merchant info\n */\n // useEffect(() => {\n // if ((isEditMode || isViewMode) && fields?.length) {\n // const merchantId = last(location.pathname.split('/'));\n // actions.getMerchantInfoRequest(merchantId, fields);\n // }\n // }, [actions, fields, isEditMode, isViewMode, location.pathname]);\n\n console.log(editData, 'consoling editData after config apiiiiiiiiiiiiii');\n\n /**\n * Change instantSettlement value to Boolean from Array of String\n */\n useEffect(() => {\n const portalValue = formData.values.instantSettlement;\n if (portalValue === true || portalValue === 'instantSettlement') {\n change('instantSettlement', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('instantSettlement')\n ) {\n change('instantSettlement', true);\n } else {\n change('instantSettlement', false);\n change('narrationConfig.secondInterim.interimType', null);\n }\n }, [change, formData.values.instantSettlement]);\n\n useEffect(() => {\n const portalValue = formData.values.isAncillaryFeeEnabled;\n if (portalValue === true || portalValue === 'isAncillaryFeeEnabled') {\n change('isAncillaryFeeEnabled', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isAncillaryFeeEnabled')\n ) {\n change('isAncillaryFeeEnabled', true);\n } else {\n change('isAncillaryFeeEnabled', false);\n }\n }, [change, formData.values.isAncillaryFeeEnabled]);\n\n useEffect(() => {\n const portalValue = formData.values.isUnifiedMsr;\n if (portalValue === true || portalValue === 'isUnifiedMsr') {\n change('isUnifiedMsr', true);\n } else if (\n Array.isArray(portalValue) &&\n portalValue.includes('isUnifiedMsr')\n ) {\n change('isUnifiedMsr', true);\n } else {\n change('isUnifiedMsr', false);\n }\n }, [change, formData.values.isUnifiedMsr]);\n\n useEffect(() => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.SAVE_DATA(name));\n onNext();\n }\n return () => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n actions.resetSaveDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [saveData.isSuccess, saveData.sectionType]);\n\n useEffect(() => {\n if (updateData.isUpdated && updateData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.UPDATE_MAKER_REQUEST_SUCCESS(name));\n onNext();\n }\n return () => {\n if (\n updateData.isUpdated &&\n updateData.sectionType === sectionType\n ) {\n actions.resetUpdateDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateData.isUpdated, updateData.sectionType]);\n\n /**\n * Change custom narration value based on configuration\n */\n useEffect(() => {\n const narrationConfig = formData.values.narrationConfig;\n if (narrationConfig) {\n if (\n narrationConfig &&\n narrationConfig.prefix &&\n narrationConfig.prefix.prefixType !== 'CUSTOM'\n ) {\n change('narrationConfig.prefix.customPrefixIdentifier', null);\n }\n }\n }, [change, formData?.values?.narrationConfig?.prefix?.prefixType]);\n\n useEffect(() => {\n const narrationConfig = formData.values.narrationConfig;\n\n if (\n narrationConfig &&\n narrationConfig.secondInterim &&\n narrationConfig.secondInterim.interimType\n ) {\n setInterimOptions(\n INTERIM_OPTIONS.filter(\n item => item !== narrationConfig.secondInterim.interimType\n )\n );\n }\n }, [change, formData?.values?.narrationConfig?.secondInterim?.interimType]);\n\n useEffect(() => {\n const narrationConfig = formData.values.narrationConfig;\n if (\n narrationConfig &&\n narrationConfig.interim &&\n narrationConfig.interim.interimType\n ) {\n setSecondInterimOptions(\n INTERIM_OPTIONS.filter(\n item => item !== narrationConfig.interim.interimType\n )\n );\n }\n }, [change, formData?.values?.narrationConfig?.interim?.interimType]);\n\n useEffect(() => {\n const narrationConfig = formData.values.narrationConfig;\n if (\n narrationConfig &&\n narrationConfig.suffix &&\n narrationConfig.suffix.suffixType !== 'CUSTOM'\n ) {\n change('narrationConfig.suffix.customSuffixIdentifier', null);\n }\n }, [change, formData?.values?.narrationConfig?.suffix?.suffixType]);\n\n const handleCombinedReports = reports => {\n setFinalReports(reports);\n setModalOpen(false);\n };\n\n const handleFormSubmit = formvalues => {\n const values = JSON.parse(JSON.stringify(formvalues));\n\n if (values.sameDaySettlement?.includes('ODS')) {\n values.odsFlag = true;\n values.instantSettlement = false;\n } else if (values.sameDaySettlement?.includes('ID')) {\n values.instantSettlement = true;\n values.odsFlag = false;\n } else {\n values.odsFlag = false;\n values.instantSettlement = false;\n }\n\n if (\n values.sameDaySettlement?.includes('ODS') &&\n values.odsFeeCriteria === 'FEE_PERCENT'\n ) {\n values.feePercent = parseFloat(values.feePercent);\n values.flatFee = null;\n } else if (\n values.sameDaySettlement?.includes('ODS') &&\n values.odsFeeCriteria === 'FEE_FLAT'\n ) {\n values.flatFee = parseFloat(values.flatFee);\n values.feePercent = null;\n } else {\n values.feePercent = null;\n values.flatFee = null;\n }\n\n delete values.sameDaySettlement;\n\n setFormValues({});\n let isPrimeryAcc = false;\n let isDuplicateAcc = false;\n const accountDetails = values.accountDetails;\n\n for (let i = 0; i < accountDetails.length; i++) {\n if (accountDetails[i].primary) {\n isPrimeryAcc = true;\n break;\n }\n }\n\n for (let i = 0; i < accountDetails.length; i++) {\n for (let j = i + 1; j < accountDetails.length; j++) {\n if (accountDetails[i].accountNumber === accountDetails[j].accountNumber) {\n isDuplicateAcc = true;\n break;\n }\n }\n if (isDuplicateAcc) break;\n }\n\n if (!isPrimeryAcc) {\n toast.error('Please select primary account');\n return;\n }\n\n if (isDuplicateAcc) {\n toast.error('Account numbers should not be the same');\n return;\n }\n\n const ediConfInfoList = values.ediConfInfoList;\n\n console.log(ediConfInfoList, \"ediConfInfoList\");\n\n\n if(ediConfInfoList){\n const isConscent = ediConfInfoList.findIndex(item => item.consent === false);\n if (isConscent >= 0) {\n toast.error('Please read and accept EDI terms and conditions.');\n return;\n }\n }\n\n if (customError.fcCommissionType !== '') {\n return;\n }\n if (\n currentStep &&\n currentStep.dependentSections &&\n currentStep.dependentSections.length &&\n currentStep.status === 'Complete' &&\n isChange &&\n !isShowModal\n ) {\n setIsShowModal(true);\n } else {\n const valuesCopy = values;\n delete valuesCopy.ediDocs;\n valuesCopy.isAncillaryFeeEnabled = valuesCopy.isAncillaryFeeEnabled\n ? valuesCopy.isAncillaryFeeEnabled\n : false;\n valuesCopy.isUnifiedMsr = valuesCopy.isUnifiedMsr\n ? valuesCopy.isUnifiedMsr\n : false;\n if (valuesCopy.disbursementCycle === 'T0') {\n delete valuesCopy.disbursementTriggerSlot;\n } else {\n delete valuesCopy.disbursementInterval;\n delete valuesCopy.sameDaySettlementCharge;\n valuesCopy.instantSettlement = false;\n }\n\n console.log(valuesCopy, \"valuesCopy\");\n\n const request = {\n uniqueIdentifier: uniqueId,\n sectionType,\n data: {\n ...valuesCopy,\n refundWithNegativeBalanceFlag:\n switchState.refundWithNegativeBalanceFlag,\n hierarchyCommission: switchState.hierarchyCommission,\n isSettlementEnable: switchState.isSettlementEnable,\n isPayableEnable: switchState.isPayableEnable,\n isZeroSettlementEnabled:\n switchState.isZeroSettlementEnabled,\n },\n userId: userDetails.email,\n formType: 'merchantOnboardingForm',\n };\n\n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n const updateRequest = {\n entityCode: merchantId,\n ...request.data,\n };\n\n const makerDetails = {\n makerId: auth.userDetails.email || '',\n idempotencyId: merchantId,\n eventType: MAKER_CHECKER_EVENT_TYPES.SETTLEMENT,\n };\n\n actions.addMerchantStepUpdateMakerRequest(\n updateRequest,\n sectionType,\n makerDetails,\n finalReports\n );\n } else if (isViewMode) {\n onNext();\n } else {\n if (isUserTerminalState) {\n actions.submitStepFormRequest(request, sectionType);\n } else {\n actions.saveAndContinueRequest(\n request,\n sectionType,\n {},\n finalReports\n );\n }\n }\n }\n };\n\n\n\n const errorDetails = isEditMode ? updateData : saveData;\n\n useEffect(() => {\n const setMdr = section => {\n if (\n formData.values.fcCommissionType === 'SURCHARGE' ||\n formData.values.fcCommissionType === null\n ) {\n dispatch(changeValue('add-settlement-form', section, 'NET'));\n setCustomError({\n fcCommissionType:\n 'Kindly change your fee type to MDR to enable gross settlement as a next settlement type',\n });\n } else if (\n oldFormData &&\n oldFormData.fcCommissionType === 'SURCHARGE'\n ) {\n dispatch(changeValue('add-settlement-form', section, 'NET'));\n setCustomError({\n fcCommissionType2:\n 'Kindly save your fee type to MDR to enable gross settlement as a next settlement type',\n });\n }\n };\n\n if (formData.values.fcCommissionType === 'MDR') {\n setCustomError(pre => ({ ...pre, fcCommissionType: '' }));\n }\n\n if (isEditMode) {\n if (formData.values.nextSettlementType === 'GROSS') {\n setMdr('nextSettlementType');\n } else if (formData.values.nextSettlementType === null) {\n dispatch(\n changeValue(\n 'add-settlement-form',\n 'nextSettlementType',\n formData.values.settlementType\n )\n );\n }\n } else {\n if (formData.values.settlementType === 'GROSS') {\n setMdr('settlementType');\n }\n }\n }, [\n formData.values.nextSettlementType,\n formData.values.fcCommissionType,\n isEditMode,\n formData.values.settlementType,\n oldFormData,\n ]);\n\n const settlementChangeDate = () => {\n if (\n formData.values.settlementTypeApplicableDate !== undefined &&\n formData.values.settlementTypeApplicableDate !== null\n ) {\n // Slice the date to get only \"YYYY-MM-DD\"\n return formData.values.settlementTypeApplicableDate.slice(0, 10);\n } else {\n // Get today's date\n const today = new Date();\n\n // Get next month's date\n const nextMonth = new Date(\n today.getFullYear(),\n today.getMonth() + 1,\n 1\n );\n\n // Format it to YYYY-MM-DD\n const year = nextMonth.getFullYear();\n const month = String(nextMonth.getMonth() + 1).padStart(2, '0');\n const day = String(nextMonth.getDate()).padStart(2, '0');\n\n return `${year}-${month}-${day}`;\n }\n };\n\n const confirmFormConfirmation = (values) =>{\n setFormValues(values);\n setFormConfirmation(true);\n }\n\n const onCloseConfirmation = () =>{\n setFormValues({});\n setFormConfirmation(false);\n }\n\n const onShowModalConfirmation = () =>{\n handleFormSubmit(formValues);\n setFormConfirmation(false);\n }\n\n\n const reRenderAccountDetails = (value) => {\n dispatch(changeValue('add-settlement-form', \"accountDetails\", value));\n }\n\n useEffect(() => {\n if(formData.initial && (!formData.initial.accountDetails || formData.initial.accountDetails.length === 0)){\n change( \"accountDetails\", [initialBankAccount]);\n }\n }, [formData.initial]);\n\n // This useeffect is the simple fix for the validator function so that the function should get latest data\n useEffect(() => {\n if (formData.initial && (isViewMode || isEditMode)) {\n change( \"refresh\", true);\n }\n }, [formData.initial, change, isEditMode, isViewMode]);\n\n const handleSettlementChange = (value, data) => {\n const newValue = value[value.length - 1];\n const instantSettlement = formData.initial.instantSettlement;\n\n if (instantSettlement && newValue === 'ODS') {\n setSettlementConfirmation(true);\n }\n if(customError.odsActivation){\n setCustomError(preState => ({...preState, odsActivation: '' }));\n }\n };\n\n const previousSettlement = useRef([]);\n\n useEffect(() => {\n if (formData.values.sameDaySettlement && formData.values.sameDaySettlement.length >= 2) {\n if (previousSettlement.current.includes('ID')) {\n change('sameDaySettlement', ['ODS']);\n previousSettlement.current = ['ODS'];\n } else if (previousSettlement.current.includes('ODS')) {\n change('sameDaySettlement', ['ID']);\n previousSettlement.current = ['ID'];\n }\n } else {\n previousSettlement.current = formData.values.sameDaySettlement;\n }\n }, [formData.values.sameDaySettlement]);\n\n useEffect(() => {\n if (formData.initial && !formData.values.sameDaySettlement) {\n if (formData.initial.odsFlag === true) {\n change('sameDaySettlement', ['ODS']);\n } else if (formData.initial.instantSettlement === true) {\n change('sameDaySettlement', ['ID']);\n }\n }\n }, [change, formData.initial]);\n\n useEffect(() => {\n if ((isEditMode || isViewMode) && formData.initial) {\n if (formData.initial?.odsConfigInfo?.odSfeeInfo) {\n change(\n 'odsFeeCriteria',\n formData.initial.odsConfigInfo.odSfeeInfo.feeType,\n );\n change(\n 'feePercent',\n formData.initial.odsConfigInfo.odSfeeInfo.feePercent,\n );\n change(\n 'flatFee',\n formData.initial.odsConfigInfo.odSfeeInfo.feeFlat,\n );\n }\n }\n }, [formData.initial?.odsConfigInfo?.odSfeeInfo]);\n\n\n useEffect(() =>{\n const field = isEditMode ? 'nextSettlementType' : 'settlementType';\n if(formData.values[field] === 'GROSS' && !formData.values?.sameDaySettlement?.includes('ODS')){\n setSettlementTypeOptions(preData => preData.map(item => {\n return item.value === 'ID' ? item : { ...item, isDisabled: true };\n }))\n }else if(formData.values[field] === 'GROSS' && formData.values?.sameDaySettlement?.includes('ODS')){\n dispatch(changeValue('add-settlement-form', field, 'NET'));\n setCustomError({\n odsActivation:\n 'Gross settlement cannot be enabled while ODS is active. Please disable ODS.',\n });\n setSettlementTypeOptions(initialSettlementTypeOptions);\n }else {\n setSettlementTypeOptions(initialSettlementTypeOptions);\n }\n }, [formData.values]);\n\n return (\n
    \n \n \n\n {\n setSettlementConfirmation(false);\n change('sameDaySettlement', ['ID']);\n }}\n primaryButtonText=\"OK\"\n secondaryButtonText=\"CANCEL\"\n showActions={true}\n onSuccessModal={() => {\n setSettlementConfirmation(false);\n change('sameDaySettlement', ['ODS']);\n }}\n message={`Instant settlement is on, are you sure you want to turn on on-demand settlement instead?`}\n />\n\n \n \n
    \n
    \n
      \n \n\n \n Configuration Details\n \n }\n lowerComponent={\n <>\n
    • \n
      \n

      \n Disbursement Cycle/Delay\n

      \n \n
      \n\n {formData.values\n .disbursementCycle === 'T0' ? (\n
      \n

      \n Disbursement Interval\n

      \n \n
      \n ) : (\n
      \n

      \n Disbursement Trigger\n Slot\n

      \n \n
      \n )}\n
    • \n\n
    • \n
      \n

      \n Settlement Channel\n

      \n \n
      \n
      \n

      \n Settlement Party\n

      \n \n
      \n
    • \n
    • \n
      \n

      \n Settlement Type\n

      \n \n

      \n {!isEditMode ? customError.fcCommissionType || customError.fcCommissionType2 || customError.odsActivation : ''}\n

      \n
      \n
      \n {isEditMode && (\n <>\n

      \n Next Settlement Type{' '}\n \n (Next settlement\n cycle will be\n effective from{' '}\n {settlementChangeDate()}\n )\n \n

      \n \n

      \n {isEditMode ? customError.fcCommissionType || customError.fcCommissionType2 || customError.odsActivation : ''}\n

      \n \n )}\n
      \n
    • \n
    • \n
      \n

      \n Hierarchy Commission\n

      \n \n
      \n
      \n

      \n Refund with Negative Balance\n

      \n \n
      \n
    • \n
    • \n
      \n

      \n Settlement Enabled\n

      \n \n
      \n
      \n

      \n Payable Enabled\n

      \n \n
      \n
    • \n\n
    • \n
      \n

      \n Zero Amount Settlement\n

      \n \n
      \n
      \n
    • \n\n
    • \n {switchState.hierarchyCommission ? (\n
      \n \n setIsChange(true)\n }\n options={[\n {\n label:\n 'Aggregator',\n value:\n 'AGGREGATOR',\n checked: false,\n isSingleDisable:\n basicFormData.commissionHierarchy &&\n !basicFormData.commissionHierarchy.includes(\n 'AGGREGATOR'\n ),\n },\n {\n label:\n 'Franchise',\n value:\n 'FRANCHISE',\n checked: false,\n isSingleDisable:\n basicFormData.commissionHierarchy &&\n !basicFormData.commissionHierarchy.includes(\n 'FRANCHISE'\n ),\n },\n {\n label: 'MLE',\n value: 'MLE',\n checked: false,\n isSingleDisable:\n basicFormData.commissionHierarchy &&\n !basicFormData.commissionHierarchy.includes(\n 'MLE'\n ),\n },\n ]}\n valueField=\"value\"\n />\n
      \n ) : (\n \n )}\n\n {switchState.refundWithNegativeBalanceFlag && (\n
      \n \n
      \n )}\n
    • \n\n
    • \n
      \n

      \n Fee Type\n

      \n \n setIsChange(true)\n }\n options={\n formData?.values\n ?.settlementType ===\n 'GROSS'\n ? [\n {\n name:\n 'MDR',\n value:\n 'MDR',\n },\n ]\n : [\n {\n name:\n 'MDR',\n value:\n 'MDR',\n },\n {\n name:\n 'Surcharge',\n value:\n 'SURCHARGE',\n },\n ]\n }\n valueField=\"value\"\n disabled={isViewMode}\n />\n
      \n {formData.values\n .disbursementCycle === 'T0' && (\n
      \n

      \n Same Day Settlement Fee\n Base\n

      \n \n
      \n )}\n
    • \n\n
    • \n
      \n

      Settlement type

      \n \n
      \n {formData.values.sameDaySettlement?.includes('ODS') && (\n
      \n

      ODS Fee Criteria

      \n \n
      \n )}\n
    • \n {formData.values.odsFeeCriteria === 'FEE_PERCENT' && formData.values.sameDaySettlement?.includes('ODS') ? (\n
    • \n
      \n

      Fee Percent

      \n \n
      \n
      \n
      \n
    • \n ) : formData.values.odsFeeCriteria === 'FEE_FLAT' && formData.values.sameDaySettlement?.includes('ODS') ? (\n
    • \n
      \n

      Flat Fee

      \n \n
      \n
      \n
      \n
    • \n ) : null}\n\n
    • \n
      \n

      \n Ancillary Fee\n

      \n \n
      \n
    • \n \n }\n />\n\n \n MSR & MTR\n \n }\n lowerComponent={\n <>\n
    • \n
      \n

      \n MSR Report\n

      \n
      \n {\n event.preventDefault();\n setSelectedReportType(\n 'MSR'\n );\n setIsMRViewMode(\n true\n );\n setModalOpen(true);\n }}\n />\n {!isViewMode && (\n {\n event.preventDefault();\n setSelectedReportType(\n 'MSR'\n );\n setIsMRViewMode(\n false\n );\n setModalOpen(\n true\n );\n }}\n />\n )}\n
      \n
      \n
    • \n\n
    • \n
      \n

      \n MTR Report\n

      \n
      \n {\n event.preventDefault();\n setSelectedReportType(\n 'MTR'\n );\n setIsMRViewMode(\n true\n );\n setModalOpen(true);\n }}\n />\n {!isViewMode && (\n {\n event.preventDefault();\n setSelectedReportType(\n 'MTR'\n );\n setIsMRViewMode(\n false\n );\n setModalOpen(\n true\n );\n }}\n />\n )}\n
      \n
      \n {modalOpen && (\n \n )}\n
    • \n\n
    • \n
      \n

      \n Unified MSR\n

      \n \n
      \n
    • \n \n }\n />\n\n \n Narration Details\n \n }\n lowerComponent={\n <>\n
    • \n
      \n

      \n Narration Prefix Type\n

      \n \n
      \n
      \n

      \n Custom Narration Prefix\n

      \n \n
      \n
    • \n
    • \n
      \n

      \n Narration Interim Part 1\n

      \n \n
      \n
      \n

      \n Narration Interim Part 2\n

      \n \n
      \n
    • \n
    • \n
      \n

      \n Narration Suffix Type\n

      \n \n
      \n
      \n

      \n Custom Narration Suffix\n

      \n \n
      \n
    • \n \n }\n />\n
    \n
    \n {\n process.env.REACT_APP_EDI_ENEBLED === 'true' && (\n \n )\n }\n
    \n
    \n {previousPath ? (\n \n ) : null}\n \n
    \n \n
    \n );\n};\n\nconst renderAccounts = ({\n fields,\n meta: { error, submitFailed },\n isViewMode,\n errorDetails,\n isShowModal,\n setIsShowModal,\n accountErrorMessage,\n setAccountErrorMessage,\n isEditMode,\n location,\n uniqueId,\n reRenderAccountDetails,\n ediConfInfoList\n}) => {\n\n\n const onSuccessModal = () => {\n setIsShowModal(false);\n setAccountErrorMessage(\"\");\n };\n\n const getIsEmpty = preAccount => {\n return (\n preAccount.accountHolderName === '' ||\n preAccount.accountNumber === '' ||\n preAccount.accountOwnership === '' ||\n preAccount.bankName === '' ||\n preAccount.ifscCode === ''\n );\n };\n\n const handleAddAccount = () => {\n const data = fields.getAll();\n const len = data?.length;\n if (len && getIsEmpty(data[len - 1])) {\n setAccountErrorMessage(`Please complete the previous bank account details before adding a new one.`);\n return setIsShowModal(true);\n }else if(len >= 2){\n setAccountErrorMessage(`Only two bank accounts are allowed.`);\n return setIsShowModal(true);\n }\n fields.push({ ...initialBankAccount, primary: false });\n };\n\n const handleOnChange = (e, index) => {\n const { checked } = e.target;\n if (checked) {\n fields.map((item, idx) => {\n if (idx === index) {\n fields.get(idx).primary = true;\n } else {\n fields.get(idx).primary = false;\n }\n });\n }\n };\n\n const handleAccountOwnerShip = (value, index) => {\n if (value === 'LENDER') {\n fields.get(index).primary = false;\n }else if(value === \"SELF\"){\n delete fields.get(index).ediDocs;\n }\n };\n\n const removeAccount = index => {\n fields.remove(index);\n };\n\n const getModifiedErrorMessage = errorDetails => {\n const error = errorDetails.error.errorMessage;\n\n if (error.includes(',')) {\n const formattedMessage = error\n .split(',')\n .map(segment => segment.trim())\n .join('\\n');\n return formattedMessage;\n }\n\n return error;\n };\n\n\n\n async function uploadImageAndGetURL(file, name) {\n const formData = new FormData();\n formData.append('multipartFile', file);\n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n formData.append('merchantId', merchantId);\n } else {\n formData.append('uniqueIdentifier', uniqueId);\n }\n const headers = {\n 'Content-Type': 'multipart/form-data;',\n };\n try {\n const response = await POST(\n API_UPLOAD_KYC_DOCUMENT,\n formData,\n headers,\n true\n );\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n toast.info('File upload successful');\n return data.s3Path;\n }\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n }\n async function handleViewClick(docUrl) {\n const request = {\n s3Path: docUrl,\n };\n try {\n const response = await POST(\n API_VIEW_KYC_DOCUMENT,\n request,\n {},\n true\n );\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n window.open(data.s3Url, '_blank');\n } else {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n }\n\n\n\n return (\n
    \n \n\n

    \n

    Accounts & Settlement Details

    \n {/* AS per requirement we are disableing EDI */}\n {\n process.env.REACT_APP_EDI_ENEBLED === 'true' && (\n

    \n + Add bank account\n

    \n )\n }\n

    \n {errorDetails.error && errorDetails.error.errorMessage ? (\n \n {getModifiedErrorMessage(errorDetails)}\n \n ) : null}\n {fields.map((name, index) => {\n const isCreate = fields.get(index).isCreate;\n const accountNumber = fields.get(index).accountNumber; // Assuming accountNumber is part of each field's data\n const lastFourDigits = accountNumber?.slice(-4);\n\n const ifscCodeFirstFour = fields\n .get(index)\n .ifscCode?.slice(0, 4); // Get first 4 digits of IFSC code\n const ifscCodeLastFour = fields.get(index).ifscCode?.slice(-4);\n\n const handleFileChange = (value, idx) => {\n // Clone the fields array to avoid mutating the original state\n const updatedFields = [...fields.getAll()];\n const field = updatedFields[index]; // Access the field at the given index\n\n if (field) {\n // Ensure the ediDocs array exists\n if (!field.ediDocs) {\n field.ediDocs = [];\n }\n\n if (value === \"\") {\n // Remove the element at idx\n field.ediDocs.splice(idx, 1);\n } else {\n // Update the value at the specified index\n field.ediDocs[idx] = value;\n }\n }\n\n // Re-render with the updated fields\n reRenderAccountDetails(updatedFields);\n };\n\n const isAddedOnEDI = !isCreate && ediConfInfoList && ediConfInfoList\n .filter(item => !!item.accountNumber && !item.isCreate)\n .find(item => item.accountNumber === fields.get(index).accountNumber && !fields.get(index).primary);\n\n console.log(isAddedOnEDI, \"isAddedOnEDI\");\n\n return (\n
    \n\n
    \n {isCreate && index !== 0 && (\n

    removeAccount(index)}>\n × Remove\n

    \n )}\n
    \n
    \n \n Account {index + 1} Details{' '}\n {lastFourDigits &&\n ifscCodeFirstFour &&\n ifscCodeLastFour && (\n \n {fields.get(index).accountNumber.length > 4 ? `ENDING XXXX${lastFourDigits.slice(-4)}` : \"\"} {'| '}\n {fields.get(index).ifscCode.length > 4 ? `XXXX${ifscCodeLastFour.slice(-4)}` : \"\"}\n \n )}{' '}\n {fields.get(index).primary && (\n \n Primary\n \n )}\n \n }\n lowerComponent={\n
    \n
  • \n
    \n

    \n Select Account Type\n

    \n \n handleAccountOwnerShip(\n e,\n index\n )\n }\n />\n
    \n {(fields.getAll()[index]\n .accountOwnership === 'SELF' ||\n !fields.getAll()[index]\n .accountOwnership) && (\n
    \n

    \n Set as Primary\n

    \n \n
    \n )}\n
  • \n
  • \n
    \n

    \n Bank Account Number\n

    \n \n
    \n\n
    \n

    IFSC

    \n \n
    \n
  • \n
  • \n
    \n

    \n Bank Name\n

    \n \n
    \n
    \n

    \n Bank Account Holder Name\n

    \n \n
    \n
  • \n {\n fields.get(index)\n .accountOwnership === 'LENDER' && (\n
  • \n
    \n {multipleAdditionalDoc.map((item, idx) => {\n return (\n \n \n

    \n Only .JPG, .JPEG, .PNG, .PDF, .DOC and .DOCX files\n are allowed for upload, with a maximum file size\n of 50 MB.\n

    \n
    \n );\n })}\n
  • \n
    \n \n )\n }\n
    \n }\n />\n
    \n
    \n );\n })}\n
    \n );\n};\n\nconst renderSettlements = ({\n fields,\n meta: { error, submitFailed },\n isViewMode,\n basicFormData,\n bankList,\n formData,\n isShowModal,\n setIsShowModal,\n errorMessage,\n setErrorMessage,\n change,\n setTermsConditionsView,\n isEditMode,\n initialData\n}) => {\n const onSuccessModal = () => {\n setErrorMessage('');\n setIsShowModal(false);\n };\n\n const getIsEmpty = data => {\n return !data.accountNumber;\n };\n\n const addSattlement = () => {\n const data = fields.getAll();\n const len = data?.length;\n if (len && getIsEmpty(data[len - 1])) {\n setErrorMessage(\n 'Please complete the settlement details before adding a new one.',\n );\n return setIsShowModal(true);\n }\n\n fields.push(initialEDIData);\n };\n\n const removeSattlement = index => {\n fields.remove(index);\n };\n\n const getBankAccounts = idx => {\n const allAccounts = new Set(\n fields.getAll()\n ?.map(item => item.accountNumber),\n );\n\n const isEdiEnebled = (account) => {\n const ediDetails = fields.getAll()\n .find(item => item.accountNumber === account);\n if (!ediDetails) {\n return false;\n }\n return ediDetails.ediEnable;\n };\n\n const filteredAccountList = bankList\n ?.filter(item => !!item.accountNumber && !item.primary)\n .map((item, index) => ({ ...item, index }))\n .filter(\n item =>\n !allAccounts.has(item.accountNumber) || item.index === idx || !isEdiEnebled(item.accountNumber),\n )\n .map(item => item.accountNumber);\n\n return filteredAccountList;\n };\n\n const handleEDIChange = (e, index) => {\n const { checked } = e.target;\n const isPreviouslyOn = initialData.ediConfInfoList[index].ediEnable;\n if (checked && !isPreviouslyOn) {\n setErrorMessage(\n 'Please add a new EDI. Enabling the existing one is not allowed'\n );\n setIsShowModal(true);\n e.preventDefault();\n }\n };\n\n const handleConsentChange = (e, idx) => {\n const { checked } = e.target;\n\n const ediConfInfoList = fields.getAll().map((item, i) => {\n if (i === idx) {\n return { ...item, consent: checked };\n }\n return item;\n });\n change('ediConfInfoList', ediConfInfoList);\n };\n\n const handleDebitFrequencyChange = (val, idx) => {\n let isValid = true;\n const arr = fields.getAll();\n\n for(let i=0;i {\n if (i === idx) {\n return { ...item, settlementFrequency: null };\n }\n return item;\n });\n change('ediConfInfoList', ediConfInfoList);\n }\n }\n\n\n const getSettlementFrequencyData = (idx) =>{\n let data = basicFormData.settlementFrequency;\n const isDebitMonthly = fields.getAll()[idx]\n .debitFrequency ===\n 'MONTHLY';\n\n if(isDebitMonthly){\n data = basicFormData.settlementFrequency.filter(\n item =>\n item !==\n 'DAILY'\n )\n }\n return data;\n }\n\n console.log(initialData, \"initialDatainitialData\");\n\n return (\n
    \n \n

    \n

    Split Settlements

    \n

    \n {' '}\n + Add split settlement details\n

    \n

    \n {fields.map((name, index) => {\n fields.get(index).settlementType = formData.values.settlementType;\n fields.get(index).debitFrequency = \"DAILY\";\n const isCreate = fields.get(index).isCreate;\n const ediEnable = fields.get(index).ediEnable;\n\n return (\n
    \n
    \n {isCreate && (\n

    removeSattlement(index)}>\n × Remove\n

    \n )}\n
    \n
    \n \n

    {`Split Settlement ${index + 1}`}

    \n \n }\n lowerComponent={\n
      \n

      \n Debit Details\n

      \n
    • \n
      \n

      \n EDI Enabled\n

      \n \n
      \n
      \n
    • \n
    • \n
      \n

      \n Debit Type\n *\n

      \n \n
      \n
      \n

      \n Debit Frequency\n *\n

      \n handleDebitFrequencyChange(val, index)}\n />\n
      \n
    • \n
    • \n
      \n

      \n Debit Amount\n *\n

      \n \n
      \n
      \n {fields.getAll()[index]\n .debitFrequency ===\n 'MONTHLY' && (\n <>\n

      \n Monthly Debit Date\n *\n

      \n \n \n )}\n
      \n
    • \n

      \n Settlement Details\n

      \n
    • \n
      \n

      \n Settlement Amount Type\n *\n

      \n \n
      \n
      \n

      \n Settlement Frequency\n *\n

      \n \n item !==\n 'ANNUALLY'\n ))\n : []\n }\n labelField=\"name\"\n valueField=\"value\"\n component={FormElems.Select}\n label=\"Select Settlement Frequency\"\n disabled={isViewMode || !isCreate}\n />\n
      \n
    • \n
    • \n
      \n

      \n Bank Account\n *\n

      \n \n
      \n
      \n

      \n Settlement Type\n *\n

      \n \n
      \n
    • \n
    • \n
      \n
      \n

      \n Start Date\n

      \n *\n \n Monthly\n settlement date\n will be same as\n start date\n
      \n }\n >\n \n \n
      \n
      \n \n
      \n
    \n
    \n

    \n End Date\n

    \n \n
    \n \n
  • \n
    \n

    \n Total Amount\n

    \n \n
    \n
    \n
  • \n
  • \n
    \n \n handleConsentChange(\n e,\n index\n )\n }\n />\n I confirm that all information provided is accurate and consent to the setTermsConditionsView(true)}>terms & conditions of this settlement.\n
    \n
  • \n \n }\n />\n
    \n
    \n );\n })}\n
    \n );\n};\n\n\nconst RenderMultiUpload = ({\n fields,\n meta: { error, submitFailed },\n auth,\n isViewMode,\n configuration,\n handleViewClick,\n uploadImageAndGetURL,\n docUrls,\n setDocUrls,\n onlySingleFile,\n accountIdx,\n handleFileChange\n}) => {\n\n if (fields.length <= 0) {\n fields.push(null);\n }\n\n\n return (\n \n
    \n {fields.map((item, index) => (\n <>\n
    \n
    \n {index > 0 ? (\n // {\n // handleFileChange(\"\", index);\n // fields.remove(index);\n // }}\n //\n // disabled={isViewMode}\n // >\n // ×Remove\n //
    \n <>\n \n ) : (\n
    \n

    \n {configuration.label}\n

    \n
    \n )}\n\n \n handleFileChange(value, index)\n }\n uploadImageAndGetURL={uploadImageAndGetURL}\n docUrl={\n docUrls && docUrls.length > 0 ? docUrls[index]: null\n }\n handleView={handleViewClick}\n name={item}\n id={item}\n type={'file'}\n component={FormElems.UploadElement}\n placeholder={\n configuration.props.placeholder\n }\n disabled={isViewMode}\n accept={configuration.props.accept}\n allowedExtensions={allowedExtensions}\n labelName={\"Document\" + (index + 1)}\n MaxFileSize={50}\n MLEerrorMessage =\"Please upload files in the allowed formats: jpg, jpeg, png, pdf, doc, or docx.\"\n />\n
    \n
    \n \n ))}\n
    \n
    \n {!(isViewMode || onlySingleFile) && (\n {\n fields.push(null);\n }}\n />\n )}\n
    \n
    \n
    \n \n );\n};\n\nRenderMultiUpload.propTypes = {\n fields: PropTypes.object,\n meta: PropTypes.object,\n auth: PropTypes.object,\n configuration: PropTypes.object,\n uniqueId: PropTypes.object,\n isViewMode: PropTypes.bool,\n isEditMode: PropTypes.bool,\n onlySingleFile: PropTypes.bool,\n handleViewClick: PropTypes.func,\n uploadImageAndGetURL: PropTypes.func,\n docUrls: PropTypes.object,\n setDocUrls: PropTypes.func,\n};\n\n\nSettlementTab.propTypes = {\n actions: PropTypes.object,\n merchantData: PropTypes.object.isRequired,\n auth: PropTypes.object,\n change: PropTypes.func,\n handleSubmit: PropTypes.func,\n history: PropTypes.object,\n nextPath: PropTypes.string,\n previousPath: PropTypes.string,\n sectionType: PropTypes.string,\n name: PropTypes.string,\n initialValues: PropTypes.object,\n isEditMode: PropTypes.bool,\n isViewMode: PropTypes.bool,\n editData: PropTypes.object,\n formData: PropTypes.object,\n draftData: PropTypes.object,\n staticData: PropTypes.object,\n onBoardSteps: PropTypes.array,\n isInEditMode: PropTypes.bool,\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n merchantData,\n editData,\n staticData,\n}) => ({\n auth,\n formData: form['add-settlement-form'],\n merchantData,\n editData,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n resetUpdateDataSuccessKey,\n getMerchantInfoRequest,\n fetchBasicFormData,\n updateSettlementDataRequest,\n addMerchantStepUpdateMakerRequest,\n submitStepFormRequest,\n getMerchantSectionInfoRequest,\n change,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'add-settlement-form',\n enableReinitialize: true,\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(SettlementTab)\n);\n","import SettlementTab from './SettlementTab';\n\nexport default SettlementTab;\n","/* eslint-disable indent */\n// Components\nimport AlertModal from 'components/AlertModal';\nimport { FormElems } from 'components';\n\n// helpers\nimport { humanDate } from 'utils/helperMethods';\n\n// Libraries\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './settlementForm.scss';\n\nconst MINIMUM_COMMENT_LENGTH = 5;\n\nconst SettlementForm = props => {\n const {\n data,\n statusData = {},\n permissions,\n comments,\n callbackFunction,\n } = props;\n const [isShowModal, setIsShowModal] = useState(false);\n const [userComment, setUserComment] = useState(null);\n const [isDisabled, setIsDisabled] = useState(true);\n\n useEffect(() => {\n setIsDisabled(\n userComment?.length >= MINIMUM_COMMENT_LENGTH &&\n userComment?.trim().length >= MINIMUM_COMMENT_LENGTH\n ? false\n : true\n );\n }, [userComment]);\n\n const retrySettlementHandler = () => {\n props.actions.retrySettlementRequest({\n executionIds: [data.settlementId],\n });\n };\n\n const repeatSettlementHandler = () => {\n setIsShowModal(true);\n };\n\n const onSuccessModal = () => {\n setIsShowModal(false);\n props.actions.retriggerSettlementRequest({\n executionId: data.settlementId,\n remarks: userComment,\n });\n callbackFunction();\n };\n\n return (\n
    \n
    \n
    \n

    Settlement ID

    \n

    {data.settlementId}

    \n
    \n
    \n

    UTR

    \n

    {data.utr}

    \n
    \n
    \n
    \n
    \n

    Date Time

    \n

    {data.date}

    \n
    \n
    \n\n
    \n
    \n

    Gross Amount

    \n

    {data.grossAmt}

    \n
    \n
    \n

    Refund Amount

    \n

    {data.refundAmt}

    \n
    \n
    \n
    \n
    \n

    Fee & Charges

    \n

    {data.fee}

    \n
    \n
    \n

    GST

    \n

    {data.gst}

    \n
    \n
    \n\n
    \n
    \n

    Status

    \n \n {statusData.settlementStatus || data.settlementStatus}\n

    \n
    \n
    \n

    Net Settlement Amount

    \n

    {data.netSettlementAmount}

    \n
    \n
    \n
    \n
    \n

    Settlement Mode

    \n

    {data.originalData.settlementMode}

    \n
    \n
    \n

    Settlement Type

    \n

    {data.originalData.settlementType}

    \n
    \n
    \n
    \n
    \n

    Payment Mode

    \n

    {data.originalData.paymentMode}

    \n
    \n
    \n\n {data.settlementStatus === 'SETTLED' &&\n permissions.view_settlement.includes('repeat_settlement') && (\n <>\n
    \n setUserComment(value)}\n placeholder=\"Please enter your comment\"\n isRequired\n />\n
    \n
    \n \n Retrigger Settlement\n
    \n \n \n )}\n\n {data.settlementStatus !== 'SETTLED' &&\n props.userLevel === 'ADMIN' && (\n
    \n \n Retry Settlement\n
    \n \n )}\n\n {comments && comments.length > 0 ? (\n
    \n
    Comment History
    \n {comments.map((comment, index) => {\n return (\n
    \n
    \n {comment.remarks}\n
    \n
    \n
    \n {comment.userId}\n
    \n
    \n {comment.timeStamp}\n
    \n
    \n
    \n );\n })}\n
    \n ) : (\n <>\n )}\n\n setIsShowModal(false)}\n primaryButtonText=\"OK\"\n secondaryButtonText=\"CANCEL\"\n showActions={true}\n headerText={'Attention'}\n onSuccessModal={onSuccessModal}\n message={`Are you sure that you want to repeat settlement with settlement ID ${data.settlementId} with amount ${data.grossAmt}?`}\n />\n \n );\n};\n\nSettlementForm.propTypes = {\n data: PropTypes.object.isRequired,\n statusData: PropTypes.object,\n userLevel: PropTypes.string,\n fetchStatus: PropTypes.func.isRequired,\n actions: PropTypes.func.isRequired,\n fetchData: PropTypes.func.isRequired,\n permissions: PropTypes.object,\n comments: PropTypes.array,\n callbackFunction: PropTypes.func,\n};\n\nexport default SettlementForm;\n","import SettlementForm from './SettlementForm';\n\nexport default SettlementForm;\n","const FETCH_ADJUSTMENTS_REQUEST = 'FETCH_ADJUSTMENTS_REQUEST';\nconst FETCH_ADJUSTMENTS_SUCCESS = 'FETCH_ADJUSTMENTS_SUCCESS';\nconst FETCH_ADJUSTMENTS_ERROR = 'FETCH_ADJUSTMENTS_ERROR';\nconst HIDE_ADJUSTMENT_LOADER = 'HIDE_ADJUSTMENT_LOADER';\nconst SHOW_ADJUSTMENT_LOADER = 'SHOW_ADJUSTMENT_LOADER';\nconst GENERATE_ADJUSTMENT_REPORT_REQUEST = 'GENERATE_ADJUSTMENT_REPORT_REQUEST';\nconst GENERATE_ADJUSTMENT_REPORT_SUCCESS = 'GENERATE_ADJUSTMENT_REPORT_SUCCESS';\nconst GENERATE_ADJUSTMENT_REPORT_ERROR = 'GENERATE_ADJUSTMENT_REPORT_ERROR';\nconst GET_ACTIVE_ADJUSTMENT_REPORT_REQUEST =\n 'GET_ACTIVE_ADJUSTMENT_REPORT_REQUEST';\nconst GET_ACTIVE_ADJUSTMENT_REPORT_SUCCESS =\n 'GET_ACTIVE_ADJUSTMENT_REPORT_SUCCESS';\nconst GET_ACTIVE_ADJUSTMENT_REPORT_ERROR = 'GET_ACTIVE_ADJUSTMENT_REPORT_ERROR';\nconst DOWNLOAD_ADJUSTMENT_REPORT_REQUEST = 'DOWNLOAD_ADJUSTMENT_REPORT_REQUEST';\nconst DOWNLOAD_ADJUSTMENT_REPORT_SUCCESS = 'DOWNLOAD_ADJUSTMENT_REPORT_SUCCESS';\nconst DOWNLOAD_ADJUSTMENT_REPORT_ERROR = 'DOWNLOAD_ADJUSTMENT_REPORT_ERROR';\nconst RESET_ADJUSTMENT_STATE = 'RESET_ADJUSTMENT_STATE';\nconst CREATE_ADJUSTMENT_REQUEST = 'CREATE_ADJUSTMENT_REQUEST';\nconst CREATE_ADJUSTMENT_SUCCESS = 'CREATE_ADJUSTMENT_SUCCESS';\nconst CREATE_ADJUSTMENT_ERROR = 'CREATE_ADJUSTMENT_ERROR';\nconst CREATE_ADJUSTMENT_RESET = 'CREATE_ADJUSTMENT_RESET';\n\nexport {\n FETCH_ADJUSTMENTS_REQUEST,\n FETCH_ADJUSTMENTS_SUCCESS,\n FETCH_ADJUSTMENTS_ERROR,\n HIDE_ADJUSTMENT_LOADER,\n SHOW_ADJUSTMENT_LOADER,\n GENERATE_ADJUSTMENT_REPORT_REQUEST,\n GENERATE_ADJUSTMENT_REPORT_SUCCESS,\n GENERATE_ADJUSTMENT_REPORT_ERROR,\n GET_ACTIVE_ADJUSTMENT_REPORT_REQUEST,\n GET_ACTIVE_ADJUSTMENT_REPORT_SUCCESS,\n GET_ACTIVE_ADJUSTMENT_REPORT_ERROR,\n DOWNLOAD_ADJUSTMENT_REPORT_REQUEST,\n DOWNLOAD_ADJUSTMENT_REPORT_SUCCESS,\n DOWNLOAD_ADJUSTMENT_REPORT_ERROR,\n RESET_ADJUSTMENT_STATE,\n CREATE_ADJUSTMENT_REQUEST,\n CREATE_ADJUSTMENT_SUCCESS,\n CREATE_ADJUSTMENT_ERROR,\n CREATE_ADJUSTMENT_RESET,\n};\n","import {\n FETCH_ADJUSTMENTS_REQUEST,\n FETCH_ADJUSTMENTS_SUCCESS,\n FETCH_ADJUSTMENTS_ERROR,\n HIDE_ADJUSTMENT_LOADER,\n SHOW_ADJUSTMENT_LOADER,\n GENERATE_ADJUSTMENT_REPORT_SUCCESS,\n GENERATE_ADJUSTMENT_REPORT_ERROR,\n GET_ACTIVE_ADJUSTMENT_REPORT_REQUEST,\n GET_ACTIVE_ADJUSTMENT_REPORT_SUCCESS,\n GET_ACTIVE_ADJUSTMENT_REPORT_ERROR,\n DOWNLOAD_ADJUSTMENT_REPORT_REQUEST,\n DOWNLOAD_ADJUSTMENT_REPORT_SUCCESS,\n DOWNLOAD_ADJUSTMENT_REPORT_ERROR,\n RESET_ADJUSTMENT_STATE,\n CREATE_ADJUSTMENT_REQUEST,\n CREATE_ADJUSTMENT_SUCCESS,\n CREATE_ADJUSTMENT_ERROR,\n CREATE_ADJUSTMENT_RESET,\n GENERATE_ADJUSTMENT_REPORT_REQUEST,\n} from './adjustments.constants';\n\nexport const fetchAdjustmentsRequest = payload => ({\n type: FETCH_ADJUSTMENTS_REQUEST,\n payload,\n});\n\nexport const fetchAdjustmentsSuccess = payload => ({\n type: FETCH_ADJUSTMENTS_SUCCESS,\n payload,\n});\n\nexport const fetchAdjustmentsError = payload => ({\n type: FETCH_ADJUSTMENTS_ERROR,\n payload,\n});\n\nexport const generateReportRequest = payload => ({\n type: GENERATE_ADJUSTMENT_REPORT_REQUEST,\n payload,\n});\n\nexport const generateReportSuccess = payload => ({\n type: GENERATE_ADJUSTMENT_REPORT_SUCCESS,\n payload,\n});\n\nexport const generateReportError = payload => ({\n type: GENERATE_ADJUSTMENT_REPORT_ERROR,\n payload,\n});\n\nexport const getActiveReportRequest = hideLoader => ({\n type: GET_ACTIVE_ADJUSTMENT_REPORT_REQUEST,\n hideLoader,\n});\n\nexport const getActiveReportSuccess = payload => ({\n type: GET_ACTIVE_ADJUSTMENT_REPORT_SUCCESS,\n payload,\n});\n\nexport const getActiveReportError = payload => ({\n type: GET_ACTIVE_ADJUSTMENT_REPORT_ERROR,\n payload,\n});\n\nexport const downloadReportRequest = payload => ({\n type: DOWNLOAD_ADJUSTMENT_REPORT_REQUEST,\n payload,\n});\n\nexport const downloadReportSuccess = payload => ({\n type: DOWNLOAD_ADJUSTMENT_REPORT_SUCCESS,\n payload,\n});\n\nexport const downloadReportError = payload => ({\n type: DOWNLOAD_ADJUSTMENT_REPORT_ERROR,\n payload,\n});\n\nexport const createAdjustmentRequest = payload => ({\n type: CREATE_ADJUSTMENT_REQUEST,\n payload,\n});\n\nexport const createAdjustmentSuccess = payload => ({\n type: CREATE_ADJUSTMENT_SUCCESS,\n payload,\n});\n\nexport const createAdjustmentError = payload => ({\n type: CREATE_ADJUSTMENT_ERROR,\n payload,\n});\n\nexport const createAdjustmentReset = payload => ({\n type: CREATE_ADJUSTMENT_RESET,\n});\n\nexport const showLoader = () => ({ type: SHOW_ADJUSTMENT_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_ADJUSTMENT_LOADER });\n\nexport const resetTxnState = () => ({ type: RESET_ADJUSTMENT_STATE });\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n if (REQUIRED(values.merchantId)) {\n errors.merchantId = 'Please select merchantId';\n }\n\n if (REQUIRED(values.adjustmentType)) {\n errors.adjustmentType = 'Please Select Adjustment Type';\n }\n\n if (REQUIRED(values.adjustmentCategory)) {\n errors.adjustmentCategory = 'Please Select Adjustment Category';\n }\n\n if (REQUIRED(values.merchantTxnId)) {\n errors.merchantTxnId = 'Please enter Merchant Txn Id';\n }\n\n if (\n values.adjustmentCategory &&\n (values.adjustmentCategory === 'MANUAL_REFUND' ||\n values.adjustmentCategory === 'CHARGEBACK_REVERSAL' ||\n values.adjustmentCategory === 'CHARGEBACK') &&\n REQUIRED(values.txnReferenceId)\n ) {\n errors.txnReferenceId = 'Please enter Txn Reference Id';\n }\n\n if (REQUIRED(values.merchantAdjAmount)) {\n errors.merchantAdjAmount = 'Please Enter adjustment amount';\n }\n if (values.merchantAdjAmount && values.merchantAdjAmount < 1) {\n errors.merchantAdjAmount =\n 'Please Enter adjustment amount greater than or equals to one';\n }\n\n return errors;\n};\n\nexport default validate;\n","export const creditAdjustmentCategory = [\n {\n name: 'CHARGEBACK REVERSAL',\n value: 'CHARGEBACK_REVERSAL',\n },\n {\n name: 'INCORRECT MDR',\n value: 'INCORRECT_MDR',\n },\n {\n name: 'FAILED SETTLEMENT',\n value: 'FAILED_SETTLEMENT',\n },\n {\n name: 'OTHERS',\n value: 'OTHERS',\n },\n];\n\nexport const debitAdjustmentCategory = [\n {\n name: 'CHARGEBACK',\n value: 'CHARGEBACK',\n },\n {\n name: 'INCORRECT MDR',\n value: 'INCORRECT_MDR',\n },\n {\n name: 'MANUAL REFUND',\n value: 'MANUAL_REFUND',\n },\n {\n name: 'OTHERS',\n value: 'OTHERS',\n },\n];\n","/* eslint-disable indent */\n\n// Constant\nimport { nameValueOptions } from '../../utils/helperMethods';\nimport { MERCHANT_ADJUSTMENT_MSG } from '../../utils/constants/toastMessages';\n// Actions\nimport {\n createAdjustmentRequest,\n createAdjustmentError,\n createAdjustmentReset,\n} from '../../containers/MerchantAdjustments/redux/adjustments.actions';\n\n// Validator\nimport validate from './validator';\n\n// Libraries\nimport { creditAdjustmentCategory, debitAdjustmentCategory } from './constants';\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport { isEmpty } from 'lodash';\n\n// Styles\nimport './adjustmentForm.scss';\n\n// Components\nimport { FormElems, Alert } from '..';\n\n/**\n * CreateAdjustmentForm Component\n *\n * @param {Object} props - React component props\n */\n\nconst CreateAdjustmentForm = props => {\n const {\n handleSubmit,\n actions,\n closePopup,\n adjustmentsData,\n formData,\n merchantData,\n fetchData,\n change,\n } = props;\n const { createAdjustment } = adjustmentsData || {};\n\n const { entityList } = merchantData || {};\n const { merchant = [] } = entityList || {};\n\n const [adjustmentCategoryOptions, setAdjustmentCat] = useState([]);\n const adjustmentOptions = nameValueOptions(['CREDIT', 'DEBIT']);\n\n /* Effect is to show the success message and reset redux error */\n useEffect(() => {\n if (createAdjustment.isSuccess) {\n closePopup();\n fetchData({ pageIndex: 1, pageSize: 10 });\n toast.info(MERCHANT_ADJUSTMENT_MSG.MERCHANT_ADJUSTMENT_CREATE);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [closePopup, createAdjustment.isSuccess]);\n\n /* Effect to reset the redux values */\n useEffect(() => {\n // reset data\n return () => {\n actions.createAdjustmentReset();\n };\n }, [actions]);\n\n const resetForm = () => {\n actions.createAdjustmentReset();\n };\n\n /**\n * Method to handle form submit values for create adjustmnet\n * @param {object} values\n * @returns {null}\n */\n function handleFormSubmit(values) {\n const merchantName = merchant.find(\n entity => entity.value === values.entityId\n ).name;\n\n const request = {\n ...values,\n merchantName,\n };\n actions.createAdjustmentRequest(request);\n }\n\n function onChangeAdjustmentType(adjustmentType) {\n change('adjustmentCategory', '');\n if (adjustmentType === 'CREDIT') {\n setAdjustmentCat(creditAdjustmentCategory);\n } else {\n setAdjustmentCat(debitAdjustmentCategory);\n }\n }\n\n useEffect(() => {\n // reset error message on unmount\n return () => {\n actions.createAdjustmentError({\n isLoading: false,\n message: '',\n });\n };\n }, [actions]);\n\n function displayRefId() {\n const { values } = formData || {};\n const { adjustmentCategory } = values || {};\n if (\n adjustmentCategory === 'MANUAL_REFUND' ||\n adjustmentCategory === 'CHARGEBACK_REVERSAL' ||\n adjustmentCategory === 'CHARGEBACK'\n ) {\n return true;\n }\n\n return false;\n }\n\n return (\n \n
    \n
    \n

    Merchant Name and ID

    \n \n
    \n
    \n\n
    \n
    \n

    Adjustment Type

    \n \n
    \n
    \n
    \n
    \n

    Adjustment Category

    \n change('txnReferenceId', '')}\n />\n
    \n
    \n

    Amount

    \n \n
    \n
    \n
    \n
    \n

    Merchant Transaction ID

    \n \n
    \n {displayRefId() && (\n
    \n

    \n Merchant Transaction reference ID\n

    \n \n
    \n )}\n
    \n\n
    \n
    \n

    Remarks

    \n \n
    \n
    \n\n {createAdjustment.message ? (\n {createAdjustment.message}\n ) : null}\n
    \n
    closePopup()}>\n CANCEL\n
    \n
    \n \n
    \n
    \n \n );\n};\n\nconst mapStateToProps = ({ auth, adjustmentsData, form, merchantData }) => ({\n auth,\n adjustmentsData,\n formData: form['create-adjustment'],\n merchantData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createAdjustmentRequest,\n change,\n createAdjustmentError,\n createAdjustmentReset,\n },\n dispatch\n ),\n});\n\nCreateAdjustmentForm.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n closePopup: PropTypes.func,\n handleSubmit: PropTypes.func,\n adjustmentsData: PropTypes.object,\n formData: PropTypes.object,\n merchantData: PropTypes.object,\n fetchData: PropTypes.func,\n change: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'create-adjustment',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(CreateAdjustmentForm);\n","import AdjustmentForm from './adjustmentForm';\n\nexport default AdjustmentForm;\n","// Images\nimport Generating from '../../static/images/generating.gif';\nimport NoResult from '../../static/images/noDataFound.png';\n\n// Custom hooks\nimport { useInterval } from '../../hooks/customHooks';\n\n// Libraries\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\n\n// Styles\nimport './ViewDownloadGeneric.scss';\n\nconst REFRESH_INTERVAL = 20000;\n\nconst ViewDownloadStatus = props => {\n const { data, downloadReportRequest, getActiveReportRequest } = props;\n const isGeneratingData = data && data.generating && data.generating.length;\n const isCompleteData = data && data.complete && data.complete.length;\n\n // eslint-disable-next-line space-before-function-paren\n useInterval(async () => {\n if (isGeneratingData) {\n await getActiveReportRequest(true);\n }\n }, REFRESH_INTERVAL);\n\n useEffect(() => {\n getActiveReportRequest();\n }, []);\n\n const handleDownload = item => {\n if (item.requestId) {\n downloadReportRequest(item);\n }\n };\n\n return (\n
    \n {data ? (\n <>\n {isGeneratingData ? (\n
    \n Your File is{' '}\n Generating…… \n
    \n you can download it when it will be completed\n
    \n ) : null}\n {isGeneratingData ? (\n
    \n

    Generating File

    \n
      \n {data.generating.map((item, index) => (\n
    • \n
      \n {item.fileName}\n
      \n
      \n \n
      \n
    • \n ))}\n
    \n
    \n ) : null}\n {isCompleteData ? (\n
    \n

    Recent File

    \n
      \n {data.complete &&\n data.complete.map((item, index) => (\n
    • \n
      \n {item.fileName}\n
      \n
      \n \n handleDownload(item)\n }\n />\n
      \n
    • \n ))}\n
    \n
    \n ) : null}\n \n ) : (\n
    \n \"No\n No Generated files found.\n
    \n )}\n
    \n );\n};\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nViewDownloadStatus.propTypes = {\n actions: PropTypes.object,\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n downloadReportRequest: PropTypes.func,\n getActiveReportRequest: PropTypes.func,\n data: PropTypes.object,\n refundData: PropTypes.object,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ViewDownloadStatus);\n","import ViewDownloadGeneric from './ViewDownloadGeneric';\n\nexport default ViewDownloadGeneric;\n","/* eslint-disable indent */\n// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './adjustment.scss';\n\nconst ViewAdjustment = props => {\n const { data } = props;\n\n return (\n
    \n
    \n
    \n

    Merchant Name

    \n

    {data.merchantName}

    \n
    \n
    \n

    Merchant ID

    \n

    {data.merchantId}

    \n
    \n
    \n
    \n
    \n

    Adjustment Type

    \n

    {data.adjustmentType}

    \n
    \n
    \n

    Adjustment Category

    \n

    {data.adjustmentcategory}

    \n
    \n
    \n
    \n
    \n

    Chargeback and Transaction ID

    \n

    {data.adjustmentId}

    \n
    \n
    \n\n
    \n
    \n

    Amount

    \n

    {data.adjustmentAmount}

    \n
    \n
    \n
    \n
    \n

    Remarks

    \n

    {data.remark}

    \n
    \n
    \n
    \n );\n};\n\nViewAdjustment.propTypes = {\n data: PropTypes.object.isRequired,\n};\n\nexport default ViewAdjustment;\n","import ViewAdjustment from './adjustment';\n\nexport default ViewAdjustment;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport './imageSplitView.scss';\n\nconst ImageSplitView = ({ children, splitImg, altTitle }) => (\n
    \n
    {children}
    \n
    \n {altTitle}\n
    \n
    \n);\n\nImageSplitView.propTypes = {\n altTitle: PropTypes.string,\n children: PropTypes.node,\n splitImg: PropTypes.node,\n};\n\nexport default ImageSplitView;\n","import ImageSplitView from './ImageSplitView';\n\nexport default ImageSplitView;\n","/* eslint-disable indent */\nimport LeftArrow from '../../static/images/left-arrow.png';\nimport moment from 'moment';\nimport React, { useState, useEffect } from 'react';\n\nimport './TermPicker.scss';\nimport { parseInt } from 'lodash';\nimport PropTypes from 'prop-types';\n\nconst MONTHS = [\n 'Jan',\n 'Feb',\n 'Mar',\n 'Apr',\n 'May',\n 'Jun',\n 'Jul',\n 'Aug',\n 'Sep',\n 'Oct',\n 'Nov',\n 'Dec',\n];\n\nconst OPERATION = {\n ADD: 'ADD',\n SUBTRACT: 'SUBTRACT',\n};\n\nconst TYPE = {\n LOWER: 'LOWER',\n UPPER: 'UPPER',\n};\n\nconst UPDATE_CASE = {\n YEAR: 'YEAR',\n MONTH: 'MONTH',\n};\n\nconst ERROR_MESSAGE_ENUM = {\n INVALID_DATE: 'End date cannot be less than start date',\n FUTURE_DATE: 'Future dates are not allowed',\n};\n\nconst TermPicker = props => {\n const { input } = props;\n\n const isFutureDateAllowed = props.isFutureDateAllowed\n ? props.isFutureDateAllowed\n : false;\n\n const [lowerYear, setLowerYear] = useState(props.lowerYear);\n const [lowerMonth, setLowerMonth] = useState(props.lowerMonth);\n const [upperYear, setUpperYear] = useState(props.upperYear);\n const [upperMonth, setUpperMonth] = useState(props.upperMonth);\n const [isError, setIsError] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n\n const [isOpen, setIsOpen] = useState(false);\n\n const isValidTransition = (lowerDate, upperDate) => {\n // Check for Future Date\n const currentDate = moment();\n if (\n !isFutureDateAllowed &&\n (lowerDate.isAfter(currentDate) || upperDate.isAfter(currentDate))\n ) {\n setIsError(true);\n setErrorMessage(ERROR_MESSAGE_ENUM.FUTURE_DATE);\n return false;\n }\n if (lowerDate.isAfter(upperDate)) {\n setIsError(true);\n setErrorMessage(ERROR_MESSAGE_ENUM.INVALID_DATE);\n return false;\n }\n\n return true;\n };\n\n const updateMonthSelected = (type, monthIndex) => {\n if (type === TYPE.LOWER) {\n const newLowerMonth = parseInt(monthIndex + 1);\n const newLowerYear = parseInt(lowerYear, 10);\n const newLowerDate = moment(\n `${newLowerMonth}/${newLowerYear}`,\n 'MM/YYYY'\n );\n const newUpperDate = moment(\n `${upperMonth}/${upperYear}`,\n 'MM/YYYY'\n );\n\n if (isValidTransition(newLowerDate, newUpperDate)) {\n setIsError(false);\n setLowerMonth(newLowerMonth.toString());\n return;\n }\n }\n if (type === TYPE.UPPER) {\n const newUpperMonth = parseInt(monthIndex + 1);\n const newUpperYear = parseInt(upperYear, 10);\n const newLowerDate = moment(\n `${lowerMonth}/${lowerYear}`,\n 'MM/YYYY'\n );\n const newUpperDate = moment(\n `${newUpperMonth}/${newUpperYear}`,\n 'MM/YYYY'\n );\n if (isValidTransition(newLowerDate, newUpperDate)) {\n setIsError(false);\n setUpperMonth(newUpperMonth.toString());\n return;\n }\n }\n };\n\n const handleYearChange = (type, operation) => {\n const valueToAdd = operation === OPERATION.ADD ? 1 : -1;\n if (type === TYPE.LOWER) {\n const newLowerYear = parseInt(lowerYear, 10) + valueToAdd;\n const newLowerMonth = parseInt(lowerMonth);\n const newLowerDate = moment(\n `${newLowerMonth}/${newLowerYear}`,\n 'MM/YYYY'\n );\n const newUpperDate = moment(\n `${upperMonth}/${upperYear}`,\n 'MM/YYYY'\n );\n\n if (isValidTransition(newLowerDate, newUpperDate)) {\n setIsError(false);\n setLowerYear(newLowerYear.toString());\n return;\n }\n }\n if (type === TYPE.UPPER) {\n const newUpperYear = parseInt(upperYear, 10) + valueToAdd;\n const newUpperMonth = parseInt(upperMonth);\n\n const newLowerDate = moment(\n `${lowerMonth}/${lowerYear}`,\n 'MM/YYYY'\n );\n const newUpperDate = moment(\n `${newUpperMonth}/${newUpperYear}`,\n 'MM/YYYY'\n );\n\n if (isValidTransition(newLowerDate, newUpperDate)) {\n setIsError(false);\n setUpperYear(newUpperYear.toString());\n return;\n }\n }\n };\n\n useEffect(() => {\n if (props.input.value) {\n if (props.input.value.lowerDate) {\n const [\n inputLowerMonth,\n inputLowerYear,\n ] = props.input.value.lowerDate.split('/');\n\n setLowerMonth(Number(inputLowerMonth).toString());\n setLowerYear(inputLowerYear);\n }\n\n if (props.input.value.upperDate) {\n const [\n inputUpperMonth,\n inputUpperYear,\n ] = props.input.value.upperDate.split('/');\n\n setUpperMonth(Number(inputUpperMonth).toString());\n setUpperYear(inputUpperYear);\n }\n }\n }, []);\n\n useEffect(() => {\n input.onChange({\n lowerDate:\n lowerMonth.length === 1\n ? `0${lowerMonth}/${lowerYear}`\n : `${lowerMonth}/${lowerYear}`,\n upperDate:\n upperMonth.length === 1\n ? `0${upperMonth}/${upperYear}`\n : `${upperMonth}/${upperYear}`,\n });\n }, [input, lowerMonth, lowerYear, upperMonth, upperYear]);\n\n return (\n
    \n setIsOpen(!isOpen)}\n >\n \n {MONTHS[parseInt(lowerMonth - 1, 10)]} {lowerYear}\n \n to \n \n {MONTHS[parseInt(upperMonth - 1, 10)]} {upperYear}\n \n
    \n \n
    \n
    \n
    \n \n handleYearChange(\n TYPE.LOWER,\n OPERATION.SUBTRACT\n )\n }\n >\n \"Back\"\n
    \n
    {lowerYear}
    \n \n handleYearChange(TYPE.LOWER, OPERATION.ADD)\n }\n >\n \"Back\"\n
    \n
    \n
    \n {MONTHS.map((month, index) => {\n return (\n \n updateMonthSelected(\n TYPE.LOWER,\n index\n )\n }\n >\n {month}\n
    \n );\n })}\n \n \n
    \n
    \n \n handleYearChange(\n TYPE.UPPER,\n OPERATION.SUBTRACT\n )\n }\n >\n \"Back\"\n
    \n
    {upperYear}
    \n \n handleYearChange(TYPE.UPPER, OPERATION.ADD)\n }\n >\n \"Back\"\n
    \n \n
    \n {MONTHS.map((month, index) => {\n return (\n \n updateMonthSelected(\n TYPE.UPPER,\n index\n )\n }\n >\n {month}\n
    \n );\n })}\n \n \n \n {isError ? (\n
    {errorMessage}
    \n ) : (\n <>\n )}\n \n\n \n \n );\n};\n\nTermPicker.propTypes = {\n input: PropTypes.object,\n lowerYear: PropTypes.object,\n upperYear: PropTypes.object,\n lowerMonth: PropTypes.object,\n upperMonth: PropTypes.object,\n isFutureDateAllowed: PropTypes.bool,\n};\n\nexport default TermPicker;\n","import TermPicker from './TermPicker';\n\nexport default TermPicker;\n","export const singleAdditionalDoc = [\n {\n fieldType: 'input',\n label: 'Board Resolution Document',\n name: 'BR',\n props: {\n placeholder: 'Upload Board Resolution Document',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: true,\n },\n },\n {\n fieldType: 'input',\n label: ' MEA File (Axis)',\n name: 'MEA',\n props: {\n placeholder: 'Upload MEA File (Axis)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n]\n\nexport const multipleAdditionalDoc = [\n {\n fieldType: 'file',\n label: 'Web Crawling Screenshot',\n name: 'WEB_CRAWLING',\n props: {\n placeholder: 'Upload Web Crawling Screenshot',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: true,\n },\n },\n]","/* eslint-disable import/named */\n/* eslint-disable max-lines */\n/* eslint-disable max-lines-per-function */\n/* eslint-disable max-statements */\n/* eslint-disable indent */\n// Libraries\n\nimport { MAKER_CHECKER_EVENT_TYPES } from 'utils/constants/commonValues';\n\nimport {\n getDependentSectionName,\n getFormButtonText,\n} from '../../utils/helperMethods';\nimport { FormElems, Alert, AlertModal } from '../../components/';\nimport {\n SUCCESS_MESSAGES,\n ERROR_MESSAGES,\n} from '../../utils/constants/toastMessages';\n\nimport {\n saveAndContinueRequest,\n resetSaveDataSuccessKey,\n submitStepFormRequest,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\nimport {\n resetUpdateDataSuccessKey,\n getMerchantInfoRequest,\n fetchBasicFormData,\n updateSectionDataRequest,\n addMerchantStepUpdateMakerRequest,\n} from '../../containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\n\n// import validate from './validator';\nimport {\n API_UPLOAD_KYC_DOCUMENT,\n API_VIEW_KYC_DOCUMENT,\n} from '../../utils/API/apiUrls';\n\nimport { POST } from '../../utils/fetchWrappers';\nimport { apiStatusCodes } from '../../utils/API/apiStatusCodes';\n\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, FieldArray, change, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport { last, first, isEmpty } from 'lodash';\n// Component\n// Actions\n// Constant\n// Validator\n// Styles\nimport './KYCTab.scss';\nimport { multipleAdditionalDoc, singleAdditionalDoc } from './contants';\n\nconst allowedExtensions = ['jpg', 'jpeg', 'png'];\nconst KYCTab = ({\n merchantData,\n handleSubmit,\n nextPath,\n previousPath,\n history,\n actions,\n sectionType,\n name,\n auth,\n initialValues,\n isEditMode,\n isViewMode,\n editData,\n draftData,\n onBoardSteps,\n formData,\n}) => {\n const {\n saveData,\n timeline: { fields },\n formInProcess = [],\n uniqueIdentifier: { uniqueId },\n } = merchantData;\n\n const { updateData, basicFormData = {}, sections = [] } = editData;\n const { userDetails } = auth;\n const { location } = history;\n\n const isUserTerminalState = !nextPath;\n\n const currentStep = first(\n onBoardSteps.filter(item => item.sectionType === sectionType)\n );\n\n const [isChange, setIsChange] = useState(false);\n const isOrAre = currentStep.dependentSections.length > 1 ? 'are' : 'is';\n const [isShowModal, setIsShowModal] = useState(false);\n const [docUrls, setDocUrls] = useState({\n panUrl: '',\n aadharUrl: '',\n dlUrl: '',\n passPortUrl: '',\n voterIdUrl: '',\n eBillUrl: '',\n });\n\n const [additionalDocs, setAdditionalDoc] = useState({\n BR: [],\n MEA: [],\n WEB_CRAWLING: [],\n });\n\n const onSuccessModal = () => {\n setIsShowModal(false);\n if (formData && formData.values) {\n handleFormSubmit(formData.values);\n }\n };\n\n const onCloseModal = () => {\n setIsShowModal(false);\n };\n\n const resetErrors = () => {\n if (isEditMode) {\n actions.resetUpdateDataSuccessKey();\n } else {\n actions.resetSaveDataSuccessKey();\n }\n };\n\n const onNext = () => {\n resetErrors();\n if (!isUserTerminalState) {\n history.push(nextPath);\n } else {\n history.push('/mob');\n }\n };\n\n const onBack = () => {\n resetErrors();\n if (!isEditMode && !isViewMode && draftData && editData) {\n history.push('/mob/draft');\n } else {\n history.push(previousPath);\n }\n };\n\n /**\n * get complete merchant info\n */\n useEffect(() => {\n const merchantId = last(location.pathname.split('/'));\n\n if ((isEditMode || isViewMode) && fields?.length) {\n actions.getMerchantInfoRequest(merchantId, fields);\n }\n }, [actions, fields, isEditMode, isViewMode, location.pathname]);\n\n useEffect(() => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.SAVE_DATA(name));\n onNext();\n }\n return () => {\n if (saveData.isSuccess && saveData.sectionType === sectionType) {\n actions.resetSaveDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [saveData.isSuccess, saveData.sectionType]);\n\n useEffect(() => {\n setDocUrls(initialValues);\n if (initialValues.additionalDocs) {\n setAdditionalDoc({ ...initialValues.additionalDocs });\n Object.keys(initialValues.additionalDocs).map(item => {\n actions.change(\n 'kyc-form',\n item,\n initialValues.additionalDocs[item]\n );\n });\n }\n }, [initialValues]);\n\n useEffect(() => {\n if (updateData.isUpdated && updateData.sectionType === sectionType) {\n toast.info(SUCCESS_MESSAGES.UPDATE_MAKER_REQUEST_SUCCESS(name));\n onNext();\n }\n return () => {\n if (\n updateData.isUpdated &&\n updateData.sectionType === sectionType\n ) {\n actions.resetUpdateDataSuccessKey();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateData.isUpdated, updateData.sectionType]);\n\n const handleFormSubmit = values => {\n const { websiteUrl } = values;\n if (\n currentStep &&\n currentStep.dependentSections &&\n currentStep.dependentSections.length &&\n currentStep.status === 'Complete' &&\n isChange &&\n !isShowModal\n ) {\n setIsShowModal(true);\n } else {\n const request = {\n uniqueIdentifier: uniqueId,\n sectionType,\n userId: userDetails.email,\n formType: 'merchantOnboardingForm',\n data: {\n ...docUrls,\n additionalDocs,\n websiteUrl: websiteUrl || null,\n },\n };\n\n if (isEmpty(docUrls)) {\n toast.error('All 6 Documents are mandatory! ');\n return;\n }\n if (\n [\n 'panUrl',\n 'aadharUrl',\n 'dlUrl',\n 'passPortUrl',\n 'voterIdUrl',\n 'eBillUrl',\n ].some(item => isEmpty(docUrls[item]))\n ) {\n toast.error('All 6 Documents are mandatory! ');\n return;\n }\n\n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n const updateRequest = {\n configurationType: 'KYC',\n entityCode: merchantId || '',\n merchantConfig: {\n kycData: {\n ...docUrls,\n additionalDocs,\n websiteUrl: websiteUrl || null,\n },\n },\n };\n const makerDetails = {\n makerId: auth.userDetails.email || '',\n idempotencyId: merchantId,\n eventType: MAKER_CHECKER_EVENT_TYPES.KYC,\n };\n\n actions.addMerchantStepUpdateMakerRequest(\n updateRequest,\n sectionType,\n makerDetails\n );\n } else if (isViewMode) {\n onNext();\n } else {\n if (isUserTerminalState) {\n actions.submitStepFormRequest(request, sectionType);\n } else {\n actions.saveAndContinueRequest(request, sectionType);\n }\n }\n }\n };\n\n async function uploadImageAndGetURL(file, name) {\n const formData = new FormData();\n formData.append('multipartFile', file);\n if (isEditMode) {\n const merchantId = last(location.pathname.split('/'));\n formData.append('merchantId', merchantId);\n } else {\n formData.append('uniqueIdentifier', uniqueId);\n }\n const headers = {\n 'Content-Type': 'multipart/form-data;',\n };\n try {\n const response = await POST(\n API_UPLOAD_KYC_DOCUMENT,\n formData,\n headers,\n true\n );\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n toast.info('File upload successful');\n return data.s3Path;\n }\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n }\n async function handleViewClick(docUrl) {\n const request = {\n s3Path: docUrl,\n };\n try {\n const response = await POST(\n API_VIEW_KYC_DOCUMENT,\n request,\n {},\n true\n );\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n window.open(data.s3Url, '_blank');\n } else {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n }\n const handleFileChange = (name, value) => {\n const newDocMap = Object.assign({}, docUrls);\n newDocMap[name] = value;\n setDocUrls({ ...newDocMap });\n setIsChange(true);\n };\n\n const errorDetails = isEditMode ? updateData : saveData;\n\n return (\n
    \n \n \n
    \n

    KYC

    \n {errorDetails.error && errorDetails.error.errorMessage ? (\n \n {errorDetails.error.errorMessage}\n \n ) : null}\n
      \n
    • \n
      \n

      Pan Card

      \n \n
      \n
      \n

      Aadhar Card

      \n \n
      \n
    • \n
    • \n
      \n

      Driving License

      \n \n
      \n
      \n

      Passport

      \n \n
      \n
    • \n
    • \n
      \n

      Voter ID

      \n \n
      \n
      \n

      Electricity Bill

      \n \n
      \n
    • \n
    • \n {singleAdditionalDoc.map((item, index) => {\n return (\n \n \n
    \n );\n })}\n \n
  • \n {multipleAdditionalDoc.map((item, index) => {\n return (\n \n \n
  • \n );\n })}\n \n
  • \n \n
  • \n \n \n\n
    \n \n \n
    \n \n \n );\n};\n\nconst multiField = ({ fields, meta: { error, submitFailed }, isViewMode }) => {\n if (fields.length <= 0) {\n fields.push();\n }\n\n return (\n <>\n {fields.map((field, index) => {\n return (\n
    \n

    Website URL

    \n \n
    \n );\n })}\n \n );\n};\n\nconst RenderMultiUpload = ({\n fields,\n meta: { error, submitFailed },\n auth,\n isViewMode,\n configuration,\n handleViewClick,\n uploadImageAndGetURL,\n docUrls,\n setDocUrls,\n onlySingleFile,\n}) => {\n const handleFileChange = (name, value, index) => {\n if (value) {\n const newDocMap = { ...docUrls };\n newDocMap[configuration.name][index] = value;\n setDocUrls(newDocMap);\n }\n };\n\n if (fields.length <= 0) {\n fields.push();\n }\n\n return (\n \n
    \n {fields.map((item, index) => (\n <>\n
    \n
    \n {index > 0 ? (\n <>\n ) : (\n

    \n {configuration.label}\n

    \n )}\n \n handleFileChange(name, value, index)\n }\n uploadImageAndGetURL={uploadImageAndGetURL}\n docUrl={docUrls[configuration.name][index]}\n handleView={handleViewClick}\n name={item}\n id={item}\n type=\"file\"\n component={FormElems.UploadElement}\n placeholder={\n configuration.props.placeholder\n }\n disabled={isViewMode}\n accept={configuration.props.accept}\n allowedExtensions={allowedExtensions}\n />\n
    \n {!onlySingleFile ? (\n
    \n
    \n {!(\n isViewMode ||\n onlySingleFile ||\n index === 0\n ) && (\n \n fields.remove(index)\n }\n disabled={isViewMode}\n />\n )}\n
    \n
    \n ) : (\n <>\n )}\n
    \n \n ))}\n
    \n
    \n {!(isViewMode || onlySingleFile) && (\n {\n fields.push();\n }}\n />\n )}\n
    \n
    \n
    \n \n );\n};\n\nRenderMultiUpload.propTypes = {\n fields: PropTypes.object,\n meta: PropTypes.object,\n auth: PropTypes.object,\n configuration: PropTypes.object,\n uniqueId: PropTypes.object,\n isViewMode: PropTypes.bool,\n isEditMode: PropTypes.bool,\n onlySingleFile: PropTypes.bool,\n handleViewClick: PropTypes.func,\n uploadImageAndGetURL: PropTypes.func,\n docUrls: PropTypes.object,\n setDocUrls: PropTypes.func,\n};\n\nKYCTab.propTypes = {\n actions: PropTypes.object,\n merchantData: PropTypes.object.isRequired,\n auth: PropTypes.object,\n change: PropTypes.func,\n handleSubmit: PropTypes.func,\n history: PropTypes.object,\n nextPath: PropTypes.string,\n previousPath: PropTypes.string,\n sectionType: PropTypes.string,\n name: PropTypes.string,\n initialValues: PropTypes.object,\n isEditMode: PropTypes.bool,\n isViewMode: PropTypes.bool,\n editData: PropTypes.object,\n formData: PropTypes.object,\n draftData: PropTypes.object,\n staticData: PropTypes.object,\n onBoardSteps: PropTypes.array,\n isInEditMode: PropTypes.bool,\n isCheckerMode: PropTypes.bool,\n isEditCheckerMode: PropTypes.bool,\n makerCheckerData: PropTypes.object,\n};\nconst mapStateToProps = ({\n auth,\n form,\n merchantData,\n editData,\n staticData,\n makerCheckerData,\n}) => ({\n auth,\n formData: form['kyc-form'],\n merchantData,\n editData,\n staticData,\n makerCheckerData,\n});\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n saveAndContinueRequest,\n submitStepFormRequest,\n updateSectionDataRequest,\n resetSaveDataSuccessKey,\n resetUpdateDataSuccessKey,\n getMerchantInfoRequest,\n addMerchantStepUpdateMakerRequest,\n fetchBasicFormData,\n change\n },\n dispatch\n ),\n});\nexport default withRouter(\n compose(\n reduxForm({\n form: 'kyc-form',\n enableReinitialize: true,\n // validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(KYCTab)\n);\n","import KYCTab from './KycTab';\n\nexport default KYCTab;\n","import { fieldLevelValidators } from 'utils/validators';\nimport { chunkArray } from '../../utils/helperMethods';\nimport { FormElems } from '..';\n\nimport { Field } from 'redux-form';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * Renders fields based on a template, dividing them into groups of two.\n * @param {Object} props - Component properties.\n * @param {string} props.templateId - The ID of the template.\n * @param {Object} props.templateFields - The fields to be rendered based on the template.\n * @param {boolean} props.isViewMode - A flag indicating whether the view mode is active.\n * @returns {JSX.Element|null} - Rendered component or null if no template ID is provided.\n */\nconst GetTemplateFields = ({ templateId, templateFields, isViewMode }) => {\n // Check if templateId is provided\n if (!templateId) {\n return null; // If no templateId is provided, return null\n }\n\n // Divide fields into sets of twos\n const groupedFields = chunkArray(templateFields, 2);\n\n return (\n <>\n {groupedFields.map((group, groupIndex) => (\n \n {group.map((field, fieldIndex) => {\n const {\n name,\n label,\n type,\n maxLength,\n placeholder,\n max,\n min,\n validators,\n } = field;\n\n // Map validators to corresponding functions\n const validationRule = validators\n .map(validator => fieldLevelValidators[validator])\n .filter(\n validatorFunction =>\n validatorFunction !== undefined &&\n validatorFunction !== null\n );\n\n return (\n \n {/* Display label */}\n

    {label}

    \n\n {/* Render input field */}\n \n \n );\n })}\n \n ))}\n \n );\n};\n\n// Prop type validation\nGetTemplateFields.propTypes = {\n templateId: PropTypes.string,\n templateFields: PropTypes.object,\n isViewMode: PropTypes.bool,\n};\n\nexport default GetTemplateFields;\n","import GetTemplateFields from './GetTemplateFields';\n\nexport default GetTemplateFields;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Importing styles\nimport './pageTableMessage.scss';\n\n/**\n * Represents a message component for a page table.\n * @param {Object} props - The props object containing message, subtitle, and imageSrc.\n * @param {string} props.message - The main message to be displayed.\n * @param {string} [props.subtitle] - The optional subtitle to provide additional context.\n * @param {string} [props.imageSrc] - The URL of the image to be displayed as an indicator.\n * @param {boolean} [props.isError] - The Boolean Indicate whether it is message or error.\n * @returns {JSX.Element} A React element representing the PageTableMessage component.\n */\nconst PageTableMessage = ({ message, subtitle, imageSrc, isError }) => {\n return (\n
    \n {/* Display message, subtitle, and image */}\n
    \n {/* Display image indicator if provided */}\n {imageSrc && \"Message}\n {/* Display message */}\n

    {message}

    \n {/* Display subtitle if provided */}\n {subtitle &&

    {subtitle}

    }\n
    \n
    \n );\n};\n\n// PropType validation for PageTableMessage component\nPageTableMessage.propTypes = {\n message: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n imageSrc: PropTypes.string,\n isError: PropTypes.bool,\n};\n\nexport default PageTableMessage;\n","/* eslint-disable no-nested-ternary */\n/* eslint-disable indent */\n\n// Importing components\nimport { ConditionalComponent, FakeLoader } from 'components';\n// import PageTableMessage from './PageTableMessage';\n\n// Importing styles\nimport './tableContent.scss';\n\n// Importing libraries\nimport { ERROR } from '../../utils/helperMethods';\nimport PageTableMessage from './PageTableMessage';\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst NO_DATA_FOUND = {\n message: 'No Data Found',\n subtitle: 'Data will be visible here',\n imageSrc: 'NoDataFound',\n};\n\nconst TableContent = props => {\n const { columns, data, error, isLoading, noDataError } = props;\n const noDataFoundError = noDataError ? noDataError : NO_DATA_FOUND;\n return (\n <>\n {/* Main table wrapper */}\n \n \n \n \n \n {columns.map((columnData, idx) => {\n return (\n \n {columnData.header}\n \n );\n })}\n \n \n \n {/* TableContent body */}\n \n {/* Display loader if data is loading */}\n {isLoading ? : null}\n {/* Render table rows if data is available */}\n \n <>\n {data.map((row, index) => (\n \n {columns.map(\n (\n { accessor, render },\n keyIndex\n ) => {\n return (\n \n {render &&\n typeof render ===\n 'function'\n ? render(row, index)\n : row[accessor] ||\n '-'}\n \n );\n }\n )}\n \n ))}\n \n \n \n
    \n\n {/* Display error message or no data message */}\n {error && !isLoading ? (\n \n ) : (!data || data.length <= 0) && !isLoading ? (\n \n ) : (\n <>\n )}\n \n \n );\n};\n// PropType validation for TableContent component\nTableContent.propTypes = {\n columns: PropTypes.array.isRequired,\n data: PropTypes.array.isRequired,\n error: PropTypes.string,\n pagination: PropTypes.object.isRequired,\n fetchData: PropTypes.func.isRequired,\n isLoading: PropTypes.bool.isRequired,\n};\nexport default TableContent;\n","import React from 'react';\nimport { useMemo } from 'react';\n// Constant for representing dots in pagination\nexport const DOTS = '...';\n// Function to generate a range of numbers\nconst range = (start, end) => {\n let length = end - start + 1;\n return Array.from({ length }, (_, idx) => idx + start);\n};\n/**\n * Custom hook for pagination logic.\n * @param {Object} param0 - The object containing pagination configurations.\n * @param {number} [param0.siblingCount=1] - The number of sibling page links to display.\n * @param {number} param0.currentPage - The current active page.\n * @param {number} param0.totalPageCount - The total number of pages.\n * @returns {Array} An array representing the pagination range.\n */\nexport const useCustomPagination = ({\n siblingCount = 1, // Default sibling count is 1\n currentPage, // Current active page\n totalPageCount, // Total number of pages\n}) => {\n const paginationRange = useMemo(() => {\n // Calculate the total number of page numbers to be displayed\n const totalPageNumbers = siblingCount + 5;\n // If totalPageNumbers is greater than or equal to totalPageCount, display all pages\n if (totalPageNumbers >= totalPageCount) {\n return range(1, totalPageCount);\n }\n // Calculate left and right sibling indexes\n const leftSiblingIndex = Math.max(currentPage - siblingCount, 1);\n const rightSiblingIndex = Math.min(\n currentPage + siblingCount,\n totalPageCount\n );\n // Determine whether to show dots on the left and right sides\n const shouldShowLeftDots = leftSiblingIndex > 2;\n const shouldShowRightDots = rightSiblingIndex < totalPageCount - 2;\n // Define first and last page indexes\n const firstPageIndex = 1;\n const lastPageIndex = totalPageCount;\n // Return pagination range based on conditions\n if (!shouldShowLeftDots && shouldShowRightDots) {\n // If dots should not be shown on the left side but should be shown on the right side,\n // calculate the number of items to be displayed on the left side, including the dots.\n let leftItemCount = 3 + 2 * siblingCount;\n let leftRange = range(1, leftItemCount);\n return [...leftRange, DOTS, totalPageCount];\n }\n if (shouldShowLeftDots && !shouldShowRightDots) {\n // If dots should be shown on the left side but should not be shown on the right side,\n // calculate the number of items to be displayed on the right side, including the dots.\n let rightItemCount = 3 + 2 * siblingCount;\n let rightRange = range(\n totalPageCount - rightItemCount + 1,\n totalPageCount\n );\n return [firstPageIndex, DOTS, ...rightRange];\n }\n if (shouldShowLeftDots && shouldShowRightDots) {\n // If dots should be shown on both the left and right sides,\n // generate a range of page numbers from leftSiblingIndex to rightSiblingIndex.\n let middleRange = range(leftSiblingIndex, rightSiblingIndex);\n return [firstPageIndex, DOTS, ...middleRange, DOTS, lastPageIndex];\n }\n }, [totalPageCount, siblingCount, currentPage]);\n return paginationRange; // Return the calculated pagination range\n};\n","// Libraries\nimport { useCustomPagination, DOTS } from 'hooks/useCustomPagination';\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Custom hook for pagination\n\n// Importing styles\nimport './tablePagination.scss';\n\n/**\n * Represents a pagination component for a table.\n * @param {Object} props - The props object containing pagination configurations.\n * @param {Function} props.onPageChange - The function to handle page change.\n * @param {number} [props.siblingCount=1] - The number of sibling page links to display.\n * @param {number} props.currentPage - The current active page.\n * @param {string} [props.customClassName] - Custom class name for styling.\n * @param {number} props.totalPageCount - The total number of pages.\n * @param {boolean} props.isLoading - A flag indicating whether data is loading.\n * @returns {JSX.Element} A React element representing the TablePagination component.\n */\nconst TablePagination = props => {\n const {\n onPageChange,\n siblingCount = 1,\n currentPage,\n customClassName,\n totalPageCount,\n isLoading,\n } = props;\n\n // Calculate pagination range using custom hook\n const paginationRange = useCustomPagination({\n currentPage,\n siblingCount,\n totalPageCount,\n });\n\n // Handler function for moving to next page\n const onNext = () => {\n onPageChange(currentPage + 1);\n };\n\n // Handler function for moving to previous page\n const onPrevious = () => {\n onPageChange(currentPage - 1);\n };\n\n // Get the last page number\n const lastPage = paginationRange[paginationRange.length - 1];\n\n // If there's only one page or no pages, hide pagination\n if (currentPage === 0 || paginationRange.length < 2) {\n return null;\n }\n\n return (\n <>\n {/* Pagination container */}\n
      \n {/* Previous page button */}\n \n
      \n \n {/* Render page numbers or dots */}\n {paginationRange.map((pageNumber, index) => {\n if (pageNumber === DOTS) {\n return (\n
    • \n …\n
    • \n );\n }\n\n return (\n onPageChange(pageNumber)}\n >\n {pageNumber}\n \n );\n })}\n {/* Next page button */}\n \n
      \n \n
    \n \n );\n};\n\n// PropType validation for TablePagination component\nTablePagination.propTypes = {\n onPageChange: PropTypes.func,\n siblingCount: PropTypes.number,\n currentPage: PropTypes.number,\n customClassName: PropTypes.string,\n totalPageCount: PropTypes.number,\n isLoading: PropTypes.bool,\n};\n\nexport default TablePagination;\n","import DatePicker from 'components/DatePicker';\nimport React, { useEffect, useRef, useState } from 'react';\nimport './PageFilter.scss';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\n\nconst MultiSelect = ({ input, options, isResetClicked, setIsResetClicked }) => {\n const [isOpen, setIsOpen] = useState(false);\n const [selectedOptions, setSelectedOptions] = useState([]);\n const dropdownRef = useRef(null);\n\n useEffect(() => {\n if (isResetClicked) {\n setSelectedOptions([]);\n setIsResetClicked(false);\n }\n }, [isResetClicked, setIsResetClicked]);\n\n useEffect(() => {\n const handleOutsideClick = event => {\n if (\n dropdownRef.current &&\n !dropdownRef.current.contains(event.target)\n ) {\n setIsOpen(false);\n }\n };\n\n document.addEventListener('click', handleOutsideClick);\n\n return () => {\n document.removeEventListener('click', handleOutsideClick);\n };\n }, []);\n\n const toggleDropdown = () => {\n setIsOpen(!isOpen);\n };\n\n const toggleOption = option => {\n if (selectedOptions.includes(option.value)) {\n setSelectedOptions(\n selectedOptions.filter(item => item !== option.value)\n );\n } else {\n setSelectedOptions([...selectedOptions, option.value]);\n }\n };\n\n useEffect(() => {\n input.onChange(selectedOptions);\n // eslint-disable-next-line\n }, [selectedOptions]);\n\n const handleCheckboxChange = option => {\n toggleOption(option);\n };\n\n return (\n
    \n
    \n {selectedOptions.length === 0 ? (\n Select Any\n ) : (\n // selectedOptions.join(', ')\n `${selectedOptions.length} Selected`\n )}\n
    \n {isOpen && (\n
    \n {options.map(option => (\n \n handleCheckboxChange(option)}\n className=\"checkmark\"\n />\n \n {option.label}\n \n \n ))}\n
    \n )}\n
    \n );\n};\n\nMultiSelect.propTypes = {\n input: PropTypes.object,\n options: PropTypes.array,\n onChangeHandler: PropTypes.func,\n isResetClicked: PropTypes.bool,\n setIsResetClicked: PropTypes.func,\n};\n\nconst Input = ({ input, placeholder }) => {\n return (\n \n );\n};\n\nInput.propTypes = {\n input: PropTypes.object,\n placeholder: PropTypes.string,\n};\n\nconst renderDateInput = field => ;\n\nconst DateRange = ({ field, isResetClicked, setIsResetClicked }) => {\n const [startDate, setStartDate] = useState(\n field?.defaultValue?.startDate || null\n );\n const [endDate, setEndDate] = useState(\n field?.defaultValue?.endDate || null\n );\n\n const [focusedInput, setFocusedInput] = useState(null);\n\n useEffect(() => {\n if (isResetClicked) {\n setStartDate(field?.defaultValue?.startDate);\n setEndDate(field?.defaultValue?.endDate);\n setFocusedInput(null);\n setIsResetClicked(false);\n }\n // eslint-disable-next-line\n }, [isResetClicked]);\n\n return (\n
    \n {\n setStartDate(startDate);\n }}\n onSetEndDate={endDate => {\n setEndDate(endDate);\n }}\n onFocusedInput={focusedInput => {\n setFocusedInput(focusedInput);\n }}\n component={renderDateInput}\n />\n
    \n );\n};\n\nDateRange.propTypes = {\n field: PropTypes.object,\n isResetClicked: PropTypes.func,\n setIsResetClicked: PropTypes.func,\n};\n\nconst renderFields = ({ field, isResetClicked, setIsResetClicked }) => {\n switch (field.type) {\n case 'TEXT':\n return (\n \n );\n case 'DATERANGE':\n return (\n \n );\n case 'MULTISELECT':\n return (\n \n );\n default:\n return null;\n }\n};\n\nrenderFields.propTypes = {\n field: PropTypes.object,\n isResetClicked: PropTypes.bool,\n setIsResetClicked: PropTypes.func,\n};\n\nconst PageFilter = props => {\n const {\n configuration,\n handleSubmit,\n handleFilterSubmit,\n reset,\n onReset,\n } = props;\n\n const [isResetClicked, setIsResetClicked] = useState(false);\n\n const handleReset = () => {\n reset();\n onReset();\n setIsResetClicked(true);\n };\n\n return (\n
    \n Filters\n \n {configuration.map(field => {\n return (\n
    \n \n {renderFields({\n field,\n isResetClicked,\n setIsResetClicked,\n })}\n
    \n );\n })}\n
    \n \n \n Reset\n \n
    \n \n
    \n );\n};\n\nPageFilter.propTypes = {\n reset: PropTypes.func,\n configuration: PropTypes.array,\n handleSubmit: PropTypes.func,\n handleFilterSubmit: PropTypes.func,\n onReset: PropTypes.func,\n};\n\nexport default reduxForm({\n form: 'pageFilterForm',\n enableReinitialize: true,\n})(PageFilter);\n","// components\nimport { ConditionalComponent } from 'components';\n\nimport './mainTable.scss';\nimport TableContent from './TableContent';\nimport TablePagination from './TablePagination';\n\n// libs\nimport PageFilter from './PageFilter';\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\n\n// Function to extract default values\nfunction getDefaultValues(config) {\n const defaultValues = {};\n config.forEach(field => {\n if (field.defaultValue !== undefined) {\n if (field.name === 'dateRange') {\n defaultValues.startDate = field.defaultValue.startDate;\n defaultValues.endDate = field.defaultValue.endDate;\n } else {\n defaultValues[field.name] = field.defaultValue;\n }\n }\n });\n return defaultValues;\n}\n\nconst MainTable = props => {\n const {\n tableHead,\n columns,\n tableData,\n fetchData,\n pagination,\n isLoading,\n isPaginationEnabled,\n error,\n noDataError,\n filters,\n } = props;\n\n const { pageNumber, pageSize, pageCount } = pagination;\n\n const [currentPage, setCurrentPage] = useState(1);\n const [filterData, setFilterData] = useState(getDefaultValues(filters));\n\n // Effect hook to fetch data when pageNumber or pageSize changes\n useEffect(() => {\n fetchData({ pageNumber: currentPage, pageSize, filterData });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [currentPage, pageSize, filterData]);\n\n // Handler function for page change\n const onPageChange = values => {\n setCurrentPage(values);\n };\n\n const handleFilterSubmit = values => {\n let data = values;\n const dateRange = values?.dateRange || null;\n if (dateRange) {\n data = { ...data, ...dateRange };\n // eslint-disable-next-line\n delete data[\"dateRange\"];\n }\n setFilterData(data);\n };\n\n return (\n \n \n
    {tableHead}
    \n
    \n \n setFilterData(getDefaultValues(filters))}\n />\n \n \n {/* Render pagination component */}\n 0\n }\n >\n \n \n
    \n );\n};\n\n// PropType validation for MainTable component\nMainTable.propTypes = {\n tableHead: PropTypes.elementType,\n columns: PropTypes.array.isRequired,\n tableData: PropTypes.array.isRequired,\n error: PropTypes.string,\n pagination: PropTypes.object.isRequired,\n noDataError: PropTypes.object,\n fetchData: PropTypes.func.isRequired,\n isLoading: PropTypes.bool.isRequired,\n isPaginationEnabled: PropTypes.bool,\n pageCount: PropTypes.number,\n filters: PropTypes.array,\n};\n\nexport default MainTable;\n","import MainTable from './MainTable';\nimport TableHead from './TableHead';\n\nconst PageTable = { MainTable, TableHead };\n\nexport default PageTable;\n","// libs\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// components\nimport { ConditionalComponent } from 'components';\n\n// styles\nimport './tableHead.scss';\n\n/**\n * Represents the header component for a page table.\n */\nconst TableHead = props => {\n const { tableHeading, rightComponent, customTableHeadClass } = props;\n return (\n
    \n
    \n \n

    {tableHeading}

    \n
    \n
    \n {/* TODO! Add export functionality and extra buttons */}\n
    \n \n {rightComponent}\n \n
    \n
    \n );\n};\n\n// PropType validation for TableHead component\nTableHead.propTypes = {\n tableHeading: PropTypes.string,\n rightComponent: PropTypes.node,\n customTableHeadClass: PropTypes.string,\n};\n\nexport default TableHead;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nfunction ConditionalComponent({ isVisible, children }) {\n if (isVisible) {\n return <>{children};\n } else {\n return ;\n }\n}\n\nConditionalComponent.propTypes = {\n isVisible: PropTypes.bool,\n children: PropTypes.node,\n};\n\nexport default ConditionalComponent;\n","// Importing Components\nimport { ConditionalComponent } from 'components';\n\n// Importing constant\nimport CopyIconImg from 'static/images/copy-icon.svg';\nimport ViewIconImg from 'static/images/view.svg';\n\n// Importing Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * TextCopy Component\n * @param {Object} props - The props object containing label, key, itemCustomClass, and children\n * @param {string} props.label - Label for the text copy component\n * @param {string} props.key - Unique key for the component\n * @param {string} props.itemCustomClass - Custom CSS class for the component\n * @param {*} props.children - Child content to be displayed\n * @returns {JSX.Element} TextCopy component JSX\n */\nexport const TextCopy = ({ label, key, itemCustomClass, children }) => {\n return (\n
    \n
    {label}
    \n
    \n {children}\n navigator.clipboard.writeText(children)}\n className=\"copy-button \"\n >\n \"COPY\"{' '}\n \n
    \n
    \n );\n};\n\n// PropTypes for TextCopy component\nTextCopy.propTypes = {\n key: PropTypes.string,\n label: PropTypes.string,\n title: PropTypes.string,\n itemCustomClass: PropTypes.string,\n children: PropTypes.any,\n};\n\nexport const DocumentView = ({ label, key, itemCustomClass, children }) => {\n return (\n \n
    {label}
    \n
    \n 0}\n >\n {children.map((item, index) => {\n return (\n
    \n {item.name}\n \n window.open(item.url, '_blank')\n }\n className=\"view-button\"\n >\n \"View\"{' '}\n \n
    \n );\n })}\n \n 0)}\n >\n -\n \n
    \n \n );\n};\n\n// PropTypes for TextCopy component\nDocumentView.propTypes = {\n key: PropTypes.string,\n label: PropTypes.string,\n title: PropTypes.string,\n itemCustomClass: PropTypes.string,\n children: PropTypes.any,\n};\n","// Importing Components\nimport * as DescriptionItems from './DescriptionItems';\n\n// Importing Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Importing styles\nimport './description.scss';\n\n/**\n * Description Component\n * @param {Object} props - The props object containing items, customClass, and title\n * @param {Array} props.items - Array of items to be displayed in the description\n * @param {string} props.customClass - Custom CSS class for the description container\n * @param {string} props.title - Title of the description\n * @returns {JSX.Element} Description component JSX\n */\nconst Description = ({ items, customClass, title }) => {\n return items && items.length ? (\n
    \n {title ?
    {title}
    : <>}{' '}\n {/* Displaying title if provided */}\n
    \n {items.map((item, index) => {\n const { key, label, children, component } = item;\n\n if (component) {\n // If component property is provided, render corresponding DescriptionItems component\n return DescriptionItems[component]({ ...item });\n }\n return (\n \n
    {label}
    {' '}\n {/* Displaying label */}\n
    \n {children ? children : '-'}{' '}\n {/* Displaying children or default '-' */}\n
    \n
    \n );\n })}\n
    \n \n ) : (\n // If no items provided, return empty fragment\n <>\n );\n};\n\n// PropTypes for Description component\nDescription.propTypes = {\n items: PropTypes.array,\n customClass: PropTypes.string,\n title: PropTypes.string,\n};\n\nexport default Description;\n","import Description from './Description';\n\nexport default Description;\n","// libs\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { isEmpty } from 'lodash';\n\n// components\nimport { FormElems, Alert } from '../../components';\n\n// helper\nimport { validate } from './validator';\n\n// styles\nimport './downloadFileGeneric.scss';\n\nconst DownloadFileGeneric = props => {\n const {\n generateReportRequest,\n filterData,\n showDownloadPopup,\n setShowDownloadPopup,\n tableData,\n handleSubmit,\n untouch,\n change,\n generateData,\n reportType,\n } = props;\n\n const handleOpenActionPopup = actionType => {\n setShowDownloadPopup(!showDownloadPopup);\n };\n\n useEffect(() => {\n if (generateData.isSuccess) {\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generateData.isSuccess]);\n\n const handleCloseOpenActionPopup = () => {\n setShowDownloadPopup(false);\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n };\n\n const handleGenerateSubmit = values => {\n generateReportRequest({\n reportFileName: values.fileName,\n reportType,\n ...filterData,\n });\n };\n\n useEffect(() => {\n return () => {\n handleCloseOpenActionPopup();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n
    \n \n {showDownloadPopup ? (\n <>\n \n
    \n
    \n \n
    \n
    \n

    \n Enter any name for download file\n

    \n \n
    \n
    \n {isEmpty(filterData.createdOn) ? (\n \n Please select a data range\n \n ) : isEmpty(tableData) ? (\n \n No data available\n \n ) : null}\n
    \n \n
    \n \n
    \n
    \n \n ) : null}\n
    \n );\n};\n\nDownloadFileGeneric.propTypes = {\n generateReportRequest: PropTypes.object,\n filterData: PropTypes.object,\n tableData: PropTypes.object,\n showDownloadPopup: PropTypes.bool,\n setShowDownloadPopup: PropTypes.func,\n handleSubmit: PropTypes.func,\n change: PropTypes.func,\n untouch: PropTypes.func,\n generateData: PropTypes.object,\n};\n\nexport default reduxForm({\n form: 'downloadFile',\n enableReinitialize: true,\n validate,\n destroyOnUnmount: false,\n})(DownloadFileGeneric);\n","import DownloadFileGeneric from './DownloadFileGeneric';\n\nexport default DownloadFileGeneric;","import { validators } from '../../utils/validators';\n\nexport const validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n\n if (REQUIRED(values) || REQUIRED(values.fileName)) {\n errors.fileName = 'Please enter a File Name';\n }\n\n if (values.fileName && values.fileName.length > 25) {\n errors.fileName = 'Max 25 character are allowed in filename';\n }\n const isValid = /^[A-Za-z0-9\\d\\-_\\s]+$/i.test(values.fileName);\n\n if (!isValid) {\n errors.fileName =\n 'Only numbers, letters, - & _ are allowed in filename';\n }\n\n if (!/^\\S+$/.test(values.fileName)) {\n errors.fileName = 'Spaces not allowed in filename';\n }\n return errors;\n};\n","const FETCH_SETTLEMENT_REQUEST = 'FETCH_SETTLEMENT_REQUEST';\nconst FETCH_SETTLEMENT_SUCCESS = 'FETCH_SETTLEMENT_SUCCESS';\nconst FETCH_SETTLEMENT_ERROR = 'FETCH_SETTLEMENT_ERROR';\nconst HIDE_SETTLEMENT_LOADER = 'HIDE_SETTLEMENT_LOADER';\nconst SHOW_SETTLEMENT_LOADER = 'SHOW_SETTLEMENT_LOADER';\nconst FETCH_SETTLEMENT_METRICS_REQUEST = 'FETCH_SETTLEMENT_METRICS_REQUEST';\nconst FETCH_SETTLEMENT_METRICS_SUCCESS = 'FETCH_SETTLEMENT_METRICS_SUCCESS';\nconst FETCH_SETTLEMENT_METRICS_ERROR = 'FETCH_SETTLEMENT_METRICS_ERROR';\n\nconst RETRY_SETTLEMENT_REQUEST = 'RETRY_SETTLEMENT_REQUEST';\nconst RETRY_SETTLEMENT_SUCCESS = 'RETRY_SETTLEMENT_SUCCESS';\nconst RETRY_SETTLEMENT_ERROR = 'RETRY_SETTLEMENT_ERROR';\n\nconst RETRIGGER_SETTLEMENT_REQUEST = 'RETRIGGER_SETTLEMENT_REQUEST';\nconst RETRIGGER_SETTLEMENT_SUCCESS = 'RETRIGGER_SETTLEMENT_SUCCESS';\nconst RETRIGGER_SETTLEMENT_ERROR = 'RETRIGGER_SETTLEMENT_ERROR';\n\n// to fetch the data in todays summary of settlement view\nconst FETCH_AVAILABLE_BALANCE_REQUEST = 'FETCH_AVAILABLE_BALANCE_REQUEST';\nconst FETCH_AVAILABLE_BALANCE_SUCCESS = 'FETCH_AVAILABLE_BALANCE_SUCCESS';\nconst FETCH_AVAILABLE_BALANCE_ERROR = 'FETCH_AVAILABLE_BALANCE_ERROR';\nconst FETCH_NET_SETTLEMENT_REQUEST = 'FETCH_NET_SETTLEMENT_REQUEST';\nconst FETCH_NET_SETTLEMENT_SUCCESS = 'FETCH_NET_SETTLEMENT_SUCCESS';\nconst FETCH_NET_SETTLEMENT_ERROR = 'FETCH_NET_SETTLEMENT_ERROR';\nconst SET_AVAILABLE_BALANCE_LOADING = 'SET_AVAILABLE_BALANCE_LOADING';\nconst REMOVE_AVAILABLE_BALANCE_LOADING = 'REMOVE_AVAILABLE_BALANCE_LOADING';\n// to fetch the data on after clicking settle now button (pop up data)\nconst FETCH_ODS_FEE_DETAILS_REQUEST = 'FETCH_ODS_FEE_DETAILS_REQUEST';\nconst FETCH_ODS_FEE_DETAILS_SUCCESS = 'FETCH_ODS_FEE_DETAILS_SUCCESS';\nconst FETCH_ODS_FEE_DETAILS_ERROR = 'FETCH_ODS_FEE_DETAILS_ERROR';\n\n// the final button of settle now on the pop - up\nconst PROCESS_ODS_REQUEST = 'PROCESS_ODS_REQUEST';\nconst PROCESS_ODS_SUCCESS = 'PROCESS_ODS_SUCCESS';\nconst PROCESS_ODS_ERROR = 'PROCESS_ODS_ERROR';\n\nconst SET_ODS_PAGE_LOADING = 'SET_ODS_PAGE_LOADING';\nconst REMOVE_ODS_PAGE_LOADING = 'REMOVE_ODS_PAGE_LOADING';\n\nconst SET_PROCESS_LOADING = 'SET_PROCESS_LOADING';\nconst REMOVE_PROCESS_LOADING = 'REMOVE_PROCESS_LOADING';\nconst GET_MERCHANT_SECTION_INFO_REQUEST = 'GET_MERCHANT_SECTION_INFO_REQUEST_SETTLEMENT';\n\nexport {\n FETCH_SETTLEMENT_REQUEST,\n FETCH_SETTLEMENT_SUCCESS,\n FETCH_SETTLEMENT_ERROR,\n HIDE_SETTLEMENT_LOADER,\n SHOW_SETTLEMENT_LOADER,\n FETCH_SETTLEMENT_METRICS_SUCCESS,\n FETCH_SETTLEMENT_METRICS_REQUEST,\n FETCH_SETTLEMENT_METRICS_ERROR,\n RETRY_SETTLEMENT_REQUEST,\n RETRY_SETTLEMENT_SUCCESS,\n RETRY_SETTLEMENT_ERROR,\n RETRIGGER_SETTLEMENT_REQUEST,\n RETRIGGER_SETTLEMENT_SUCCESS,\n RETRIGGER_SETTLEMENT_ERROR,\n FETCH_AVAILABLE_BALANCE_REQUEST,\n FETCH_AVAILABLE_BALANCE_SUCCESS,\n FETCH_AVAILABLE_BALANCE_ERROR,\n FETCH_ODS_FEE_DETAILS_REQUEST,\n FETCH_ODS_FEE_DETAILS_SUCCESS,\n FETCH_ODS_FEE_DETAILS_ERROR,\n PROCESS_ODS_REQUEST,\n PROCESS_ODS_SUCCESS,\n PROCESS_ODS_ERROR,\n SET_AVAILABLE_BALANCE_LOADING,\n REMOVE_AVAILABLE_BALANCE_LOADING,\n SET_ODS_PAGE_LOADING,\n REMOVE_ODS_PAGE_LOADING,\n SET_PROCESS_LOADING,\n REMOVE_PROCESS_LOADING,\n GET_MERCHANT_SECTION_INFO_REQUEST,\n FETCH_NET_SETTLEMENT_REQUEST,\n FETCH_NET_SETTLEMENT_SUCCESS,\n FETCH_NET_SETTLEMENT_ERROR,\n};\n","import {\n FETCH_SETTLEMENT_REQUEST,\n FETCH_SETTLEMENT_SUCCESS,\n FETCH_SETTLEMENT_ERROR,\n HIDE_SETTLEMENT_LOADER,\n SHOW_SETTLEMENT_LOADER,\n FETCH_SETTLEMENT_METRICS_REQUEST,\n FETCH_SETTLEMENT_METRICS_SUCCESS,\n FETCH_SETTLEMENT_METRICS_ERROR,\n RETRY_SETTLEMENT_REQUEST,\n RETRY_SETTLEMENT_SUCCESS,\n RETRY_SETTLEMENT_ERROR,\n RETRIGGER_SETTLEMENT_REQUEST,\n RETRIGGER_SETTLEMENT_SUCCESS,\n RETRIGGER_SETTLEMENT_ERROR,\n FETCH_AVAILABLE_BALANCE_REQUEST,\n FETCH_AVAILABLE_BALANCE_SUCCESS,\n FETCH_AVAILABLE_BALANCE_ERROR,\n FETCH_ODS_FEE_DETAILS_REQUEST,\n FETCH_ODS_FEE_DETAILS_SUCCESS,\n FETCH_ODS_FEE_DETAILS_ERROR,\n PROCESS_ODS_REQUEST,\n PROCESS_ODS_SUCCESS,\n PROCESS_ODS_ERROR,\n SET_AVAILABLE_BALANCE_LOADING,\n REMOVE_AVAILABLE_BALANCE_LOADING,\n SET_ODS_PAGE_LOADING,\n REMOVE_ODS_PAGE_LOADING,\n SET_PROCESS_LOADING,\n REMOVE_PROCESS_LOADING,\n GET_MERCHANT_SECTION_INFO_REQUEST,\n FETCH_NET_SETTLEMENT_REQUEST,\n FETCH_NET_SETTLEMENT_SUCCESS,\n FETCH_NET_SETTLEMENT_ERROR,\n} from './settlement.constants';\n\nexport const fetchSettlementRequest = payload => ({\n type: FETCH_SETTLEMENT_REQUEST,\n payload,\n});\n\nexport const fetchSettlementSuccess = payload => ({\n type: FETCH_SETTLEMENT_SUCCESS,\n payload,\n});\n\nexport const fetchSettlementError = payload => ({\n type: FETCH_SETTLEMENT_ERROR,\n payload,\n});\n\nexport const fetchSettlementMetricsRequest = payload => ({\n type: FETCH_SETTLEMENT_METRICS_REQUEST,\n payload,\n});\n\nexport const fetchSettlementMetricsSuccess = payload => ({\n type: FETCH_SETTLEMENT_METRICS_SUCCESS,\n payload,\n});\n\nexport const fetchSettlementMetricsError = payload => ({\n type: FETCH_SETTLEMENT_METRICS_ERROR,\n payload,\n});\n\nexport const retrySettlementRequest = payload => ({\n type: RETRY_SETTLEMENT_REQUEST,\n payload,\n});\n\nexport const retrySettlementSuccess = payload => ({\n type: RETRY_SETTLEMENT_SUCCESS,\n payload,\n});\n\nexport const retrySettlementError = payload => ({\n type: RETRY_SETTLEMENT_ERROR,\n payload,\n});\n\nexport const retriggerSettlementRequest = payload => ({\n type: RETRIGGER_SETTLEMENT_REQUEST,\n payload,\n});\n\nexport const retriggerSettlementSuccess = payload => ({\n type: RETRIGGER_SETTLEMENT_SUCCESS,\n payload,\n});\n\nexport const retriggerSettlementError = payload => ({\n type: RETRIGGER_SETTLEMENT_ERROR,\n payload,\n});\n\nexport const fetchAvailableBalanceRequest = payload => ({\n type: FETCH_AVAILABLE_BALANCE_REQUEST,\n payload,\n});\n\nexport const fetchAvailableBalanceSuccess = payload => ({\n type: FETCH_AVAILABLE_BALANCE_SUCCESS,\n payload,\n});\n\nexport const fetchAvailableBalanceError = payload => ({\n type: FETCH_AVAILABLE_BALANCE_ERROR,\n payload,\n});\n\nexport const fetchNetSettlementRequest = payload => ({\n type: FETCH_NET_SETTLEMENT_REQUEST,\n payload,\n});\n\nexport const fetchNetSettlementSuccess = payload => ({\n type: FETCH_NET_SETTLEMENT_SUCCESS,\n payload,\n});\n\nexport const fetchNetSettlementError = payload => ({\n type: FETCH_NET_SETTLEMENT_ERROR,\n payload,\n});\n\nexport const fetchOdsDetailsRequest = (payload, handleSuccess) => ({\n type: FETCH_ODS_FEE_DETAILS_REQUEST,\n payload,\n handleSuccess,\n});\n\nexport const fetchOdsDetailsSuccess = payload => ({\n type: FETCH_ODS_FEE_DETAILS_SUCCESS,\n payload,\n});\n\nexport const fetchOdsDetailsError = payload => ({\n type: FETCH_ODS_FEE_DETAILS_ERROR,\n payload,\n});\nexport const fetchProcessOdsRequest = (payload, handleSuccess) => ({\n type: PROCESS_ODS_REQUEST,\n payload,\n handleSuccess,\n});\n\nexport const fetchProcessOdsSuccess = payload => ({\n type: PROCESS_ODS_SUCCESS,\n payload,\n});\n\nexport const fetchProcessOdsError = payload => ({\n type: PROCESS_ODS_ERROR,\n payload,\n});\n\nexport const setAvailableBalanceLoader = () => ({\n type: SET_AVAILABLE_BALANCE_LOADING,\n});\n\nexport const removeAvailableBalanceLoader = () => ({\n type: REMOVE_AVAILABLE_BALANCE_LOADING,\n});\n\nexport const setODSPageLoader = () => ({\n type: SET_ODS_PAGE_LOADING,\n});\n\nexport const removeODSPageLoader = () => ({\n type: REMOVE_ODS_PAGE_LOADING,\n});\n\nexport const setProcessLoader = () => ({\n type: SET_PROCESS_LOADING,\n});\n\nexport const removeProcessLoader = () => ({\n type: REMOVE_PROCESS_LOADING,\n});\n\nexport const getMerchantSectionInfoRequest = (\n payload,\n) => ({\n type: GET_MERCHANT_SECTION_INFO_REQUEST,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_SETTLEMENT_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_SETTLEMENT_LOADER });\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport './styles.scss';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport 'rc-tooltip/assets/bootstrap_white.css';\nimport {\n fetchOdsDetailsRequest,\n fetchAvailableBalanceRequest,\n fetchProcessOdsRequest,\n fetchNetSettlementRequest,\n} from 'containers/Settlement/redux/settlement.actions';\nimport Tooltip from 'rc-tooltip';\nimport removeIcon from '../../static/images/remove.png';\nimport tickIcon from '../../static/images/tick.png';\nimport { Popup, FormElems } from '..';\nimport infoIcon from '../../static/images/orangeinfo.png';\n\nconst OdsCard = ({ auth, actions, settlementData, fetchData }) => {\n const availableBalance = settlementData.availableBalance?.availableBalance;\n const netSettlementAmount =\n settlementData.netSettlementAmount.totalSettlementAmount || 0;\n const availableBalanceError = settlementData.availableBalanceError;\n const availableBalanceLoading = settlementData.availableBalanceLoading;\n const odsPageLoader = settlementData.odsPageLoader;\n const processLoader = settlementData.processLoader;\n const [isOpen, setIsOpen] = React.useState(false);\n const [isSuccess, setIsSuccess] = React.useState(false);\n\n const handleOpen = () => {\n const handleSuccess = () => {\n setIsOpen(true);\n };\n\n actions.fetchOdsDetailsRequest(\n {\n entityId: auth.userDetails.associatedEntityId,\n },\n handleSuccess\n );\n };\n\n const handleClose = () => {\n setIsOpen(false);\n };\n\n const handleSettlement = () => {\n const handleProcessODSSuccess = () => {\n setIsSuccess(true);\n setIsOpen(false);\n fetchData({ pageSize: 10, pageIndex: 1 });\n };\n\n actions.fetchProcessOdsRequest(\n {\n entityId: auth.userDetails.associatedEntityId,\n },\n handleProcessODSSuccess\n );\n };\n\n const handleSuccessClose = () => {\n actions.fetchAvailableBalanceRequest({\n entityId: auth.userDetails.associatedEntityId,\n });\n setIsSuccess(false);\n };\n\n const handleRefresh = () => {\n actions.fetchAvailableBalanceRequest({\n entityId: auth.userDetails.associatedEntityId,\n });\n actions.fetchNetSettlementRequest({\n entityId: auth.userDetails.associatedEntityId,\n });\n };\n\n return (\n
    \n

    Today's Summary

    \n
    \n
    \n
    \n
    Gross Amount
    \n

    ₹ {Number(availableBalance)\n .toFixed(2)}

    \n
    \n
    \n
    Net Settlement
    \n

    ₹ {Number(netSettlementAmount)\n .toFixed(2)}

    \n
    \n
    \n
    \n \n \n
    \n
    \n\n \n
    \n
    \n

    Settlement Detail

    \n
    \n \n Payable Amount\n \n After Deducting transaction fees\n \n \n \n ₹\n {\n settlementData?.odsFeeDetails\n ?.availableBalance\n }\n \n
    \n
    \n \n Settlement Fees{' '}\n \n (\n {\n settlementData?.odsFeeDetails\n ?.odsConfigInfo?.odSfeeInfo\n ?.feePercent\n }\n % of Total)\n \n \n \n ₹{settlementData?.odsFeeDetails?.odsFee}\n \n
    \n
    \n \n GST{' '}\n \n (18% of Fees)\n \n \n ₹{settlementData?.odsFeeDetails?.tax}\n
    \n
    \n \n Amount to be Settled\n \n The final settlement amount may vary\n as successful transactions are\n processed during settlement\n
    \n }\n styles={{\n root: { zIndex: 9999 },\n body: { zIndex: 99999999, opacity: 1 },\n }}\n >\n {`info`}\n \n \n \n ₹\n {\n settlementData?.odsFeeDetails\n ?.amountTobeSettled\n }\n \n
    \n
    \n
    \n

    Bank Details

    \n
    \n Account Number\n \n {settlementData?.odsFeeDetails?.accountNumber}\n \n
    \n
    \n IFSC Code\n \n {settlementData?.odsFeeDetails?.ifscCode}\n \n
    \n
    \n

    \n Amount would be credited to your bank account within 15\n mins\n

    \n
    \n \n \n
    \n
    \n \n \n \n );\n};\n\nconst SettlementSuccessModal = ({\n isOpen,\n handleSuccessClose,\n settlementData,\n}) =>\n isOpen ? (\n
    \n
    \n
    \n \n {'close\n
    \n
    \n
    \n \"tick\n
    \n

    Congratulations

    \n

    \n Your settlement amount has been settled successfully\n

    \n
    \n
    \n

    Account Number

    \n

    {settlementData?.settledAmount?.accountNumber}

    \n
    \n
    \n

    Settlement Amount

    \n

    ₹{settlementData?.settledAmount?.settledAmount}

    \n
    \n
    \n
    \n \n ) : null;\n\nSettlementSuccessModal.propTypes = {\n isOpen: PropTypes.bool.isRequired,\n handleSuccessClose: PropTypes.func.isRequired,\n settlementData: PropTypes.object,\n};\n\nOdsCard.propTypes = {\n auth: PropTypes.object.isRequired,\n actions: PropTypes.object.isRequired,\n settlementData: PropTypes.object,\n fetchData: PropTypes.func,\n};\n\nconst mapStateToProps = ({ auth, loader }) => ({\n auth,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchOdsDetailsRequest,\n fetchAvailableBalanceRequest,\n fetchProcessOdsRequest,\n fetchNetSettlementRequest,\n },\n dispatch\n ),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(OdsCard);\n","// Libraries\nimport React, { useState } from 'react';\nimport { Field } from 'redux-form';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport PropTypes from 'prop-types';\n\n// Component\nimport {\n FormElems,\n Popup,\n AddAggregator,\n AddFranchise,\n AddMLE,\n} from '../../components/';\n\nimport {\n createEntityError,\n fetchEntityListRequest,\n fetchEntityHierarchyRequest,\n} from '../../containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\nconst AddRole = props => {\n const {\n data,\n onRoleSelect,\n actions,\n isViewMode,\n entitySelectedValue,\n setEntityValues,\n id,\n hierarchyLoader,\n handleResetSection,\n error,\n handleSearchEnd,\n } = props;\n\n return (\n
    \n

    {data.label}

    \n {\n onRoleSelect(value, originalData, data.type);\n }}\n disabled={isViewMode}\n handleReset={() =>{\n handleResetSection(data.type);\n }}\n handleSearchEnd={(value) => handleSearchEnd(value, data.name)}\n />\n

    {error}

    \n
    \n );\n};\n\nAddRole.propTypes = {\n actions: PropTypes.object,\n data: PropTypes.object,\n onRoleSelect: PropTypes.func,\n isViewMode: PropTypes.bool,\n entitySelectedValue: PropTypes.string,\n setEntityValues: PropTypes.func,\n id: PropTypes.string,\n hierarchyLoader: PropTypes.number,\n handleSearchEnd: PropTypes.func,\n};\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createEntityError,\n fetchEntityListRequest,\n fetchEntityHierarchyRequest,\n },\n dispatch\n ),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AddRole);\n","const FETCH_TID_REQUEST = 'FETCH_TID_REQUEST';\nconst FETCH_TID_SUCCESS = 'FETCH_TID_SUCCESS';\nconst FETCH_TID_ERROR = 'FETCH_TID_ERROR';\nconst GET_MERCHANT_INFO_REQUEST = 'GET_MERCHANT_INFO_REQUEST_TID';\nconst GET_MERCHANT_INFO_SUCCESS = 'GET_MERCHANT_INFO_SUCCESS2';\nconst GET_MERCHANT_INFO_ERROR = 'GET_MERCHANT_INFO_ERROR';\nconst CREATE_TID_REQUEST = 'CREATE_TID_REQUEST';\nconst GET_TERMINAL_INFO_REQUEST = 'GET_TERMINAL_INFO_REQUEST2';\nconst GET_TERMINAL_INFO_SUCCESS = 'GET_TERMINAL_INFO_SUCCESS';\nconst GET_TERMINAL_INFO_ERROR = 'GET_TERMINAL_INFO_ERROR';\nconst FETCH_ENTITY_HIERARCHY_REQUEST = 'FETCH_ENTITY_HIERARCHY_REQUEST2';\nconst FETCH_ENTITY_HIERARCHY_SUCCESS = 'FETCH_ENTITY_HIERARCHY_SUCCESS_TID';\nconst FETCH_ENTITY_HIERARCHY_ERROR = 'FETCH_ENTITY_HIERARCHY_ERROR_TID';\nconst RESET_TERMINAL_DATA = 'RESET_TERMINAL_DATA';\nconst FETCH_STATIC_URL = 'FETCH_STATIC_URL';\nconst FETCH_STATIC_URL_SUCCESS = 'FETCH_STATIC_URL_SUCCESS';\nconst FETCH_STATIC_URL_ERROR = 'FETCH_STATIC_URL_ERROR';\nconst RESET_MERCHANT_DATA = 'RESET_MERCHANT_DATA';\nconst RESET_H_LIST = 'RESET_H_LIST';\nconst FETCH_ENTITY_LIST_MERCHANT_ERROR = 'FETCH_ENTITY_LIST_MERCHANT_ERROR2';\nconst FETCH_ENTITY_LIST_MERCHANT_REQUEST =\n 'FETCH_ENTITY_LIST_MERCHANT_REQUEST2';\nconst FETCH_ENTITY_LIST_MERCHANT_SUCCESS =\n 'FETCH_ENTITY_LIST_MERCHANT_SUCCESS2';\nconst SHOW_ENTITY_HIERARCHY_LOADER = 'SHOW_ENTITY_HIERARCHY_LOADER_TID';\nconst HIDE_ENTITY_HIERARCHY_LOADER = 'HIDE_ENTITY_HIERARCHY_LOADER_TID';\nconst FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST =\n 'FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST2';\nconst TERMINAL_ID_BULK_UPLOAD_REQUEST = 'TERMINAL_ID_BULK_UPLOAD_REQUEST';\n\nexport {\n FETCH_TID_REQUEST,\n FETCH_TID_SUCCESS,\n FETCH_TID_ERROR,\n GET_MERCHANT_INFO_SUCCESS,\n GET_MERCHANT_INFO_ERROR,\n CREATE_TID_REQUEST,\n GET_TERMINAL_INFO_REQUEST,\n GET_TERMINAL_INFO_ERROR,\n GET_TERMINAL_INFO_SUCCESS,\n FETCH_ENTITY_HIERARCHY_REQUEST,\n FETCH_ENTITY_HIERARCHY_SUCCESS,\n FETCH_ENTITY_HIERARCHY_ERROR,\n RESET_TERMINAL_DATA,\n FETCH_STATIC_URL,\n FETCH_STATIC_URL_SUCCESS,\n FETCH_STATIC_URL_ERROR,\n RESET_MERCHANT_DATA,\n RESET_H_LIST,\n GET_MERCHANT_INFO_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS,\n SHOW_ENTITY_HIERARCHY_LOADER,\n HIDE_ENTITY_HIERARCHY_LOADER,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST,\n TERMINAL_ID_BULK_UPLOAD_REQUEST,\n};\n","import {\n FETCH_TID_REQUEST,\n FETCH_TID_SUCCESS,\n FETCH_TID_ERROR,\n GET_MERCHANT_INFO_ERROR,\n GET_MERCHANT_INFO_SUCCESS,\n CREATE_TID_REQUEST,\n GET_TERMINAL_INFO_REQUEST,\n GET_TERMINAL_INFO_ERROR,\n GET_TERMINAL_INFO_SUCCESS,\n FETCH_ENTITY_HIERARCHY_REQUEST,\n FETCH_ENTITY_HIERARCHY_SUCCESS,\n FETCH_ENTITY_HIERARCHY_ERROR,\n RESET_TERMINAL_DATA,\n FETCH_STATIC_URL,\n FETCH_STATIC_URL_ERROR,\n FETCH_STATIC_URL_SUCCESS,\n RESET_MERCHANT_DATA,\n RESET_H_LIST,\n GET_MERCHANT_INFO_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS,\n SHOW_ENTITY_HIERARCHY_LOADER,\n HIDE_ENTITY_HIERARCHY_LOADER,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST,\n TERMINAL_ID_BULK_UPLOAD_REQUEST,\n} from './TIDOnBoard.constants';\n\nexport const terminalIDBulkUploadRequest = (\n payload,\n handleSuccess,\n handleError\n) => ({\n type: TERMINAL_ID_BULK_UPLOAD_REQUEST,\n payload,\n handleSuccess,\n handleError,\n});\n\nexport const fetchTIDRequest = payload => ({\n type: FETCH_TID_REQUEST,\n payload,\n});\n\nexport const fetchTIDSuccess = payload => ({\n type: FETCH_TID_SUCCESS,\n payload,\n});\n\nexport const fetchTIDError = payload => ({\n type: FETCH_TID_ERROR,\n payload,\n});\n\nexport const getMerchantInfoRequest = (payload, fields, history, toast) => ({\n type: GET_MERCHANT_INFO_REQUEST,\n payload,\n fields,\n history,\n toast,\n});\n\nexport const addTIDMakerRequest = (payload, history, toast, makerId) => ({\n type: CREATE_TID_REQUEST,\n payload,\n history,\n toast,\n makerId,\n});\n\nexport const getMerchantInfoSuccess = payload => ({\n type: GET_MERCHANT_INFO_SUCCESS,\n payload,\n});\n\nexport const getMerchantInfoError = (payload, history, toast) => ({\n type: GET_MERCHANT_INFO_ERROR,\n payload,\n history,\n toast,\n});\n\nexport const getTerminalInfoRequest = (payload, history, toast) => ({\n type: GET_TERMINAL_INFO_REQUEST,\n payload,\n history,\n toast,\n});\n\nexport const getTerminalInfoSuccess = payload => ({\n type: GET_TERMINAL_INFO_SUCCESS,\n payload,\n});\n\nexport const getTerminalInfoError = (payload, history, toast) => ({\n type: GET_TERMINAL_INFO_ERROR,\n payload,\n history,\n toast,\n});\n\nexport const fetchEntityHierarchyRequest = (payload, entityType) => ({\n type: FETCH_ENTITY_HIERARCHY_REQUEST,\n payload,\n entityType,\n});\n\nexport const fetchEntityHierarchySuccess = payload => ({\n type: FETCH_ENTITY_HIERARCHY_SUCCESS,\n payload,\n});\n\nexport const fetchEntityHierarchyError = payload => ({\n type: FETCH_ENTITY_HIERARCHY_ERROR,\n payload,\n});\n\nexport const resetTerminalData = () => ({\n type: RESET_TERMINAL_DATA,\n});\n\nexport const fetchStaticURL = payload => ({\n type: FETCH_STATIC_URL,\n payload,\n});\n\nexport const fetchStaticUrlSuccess = payload => ({\n type: FETCH_STATIC_URL_SUCCESS,\n payload,\n});\n\nexport const fetchStaticUrlError = payload => ({\n type: FETCH_STATIC_URL_ERROR,\n payload,\n});\n\nexport const resetMerchantData = payload => ({\n type: RESET_MERCHANT_DATA,\n});\n\nexport const resetHList = payload => ({\n type: RESET_H_LIST,\n});\n\nexport const fetchEntityListRequest = (payload, entityData) => ({\n type: FETCH_ENTITY_LIST_MERCHANT_REQUEST,\n payload,\n entityData,\n});\n\nexport const fetchEntityListSuccess = payload => ({\n type: FETCH_ENTITY_LIST_MERCHANT_SUCCESS,\n payload,\n});\n\nexport const fetchEntityListError = payload => ({\n type: FETCH_ENTITY_LIST_MERCHANT_ERROR,\n payload,\n});\n\nexport const showHierarchyLoader = () => ({\n type: SHOW_ENTITY_HIERARCHY_LOADER,\n});\nexport const hideHierarchyLoader = () => ({\n type: HIDE_ENTITY_HIERARCHY_LOADER,\n});\n\nexport const fetchEntityListSuccessAddList = (payload, entityType) => ({\n type: FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST,\n payload,\n entityType,\n});\n","import { isNumeric } from 'utils/helperMethods';\nimport { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED, EMAIL, MAX_LENGTH } = validators;\n const errors = {};\n\n if (REQUIRED(values.terminalName)) {\n errors.terminalName = 'Please enter Terminal Name';\n } else {\n const specialCharRegex = /[^a-zA-Z0-9 _-]/;\n if (specialCharRegex.test(values.terminalName)) {\n errors.terminalName =\n 'Terminal Name must not contain special characters other than \"-\" and \"_\"';\n } else {\n errors.terminalName = MAX_LENGTH(values.terminalName, 90);\n }\n }\n\n if (values.formType === 'UPDATE' && REQUIRED(values.email)) {\n errors.email = 'Please enter email address';\n } else if (values.email && EMAIL(values.email)) {\n errors.email = 'Please enter valid email address';\n }\n\n if (REQUIRED(values.paymentCategory)) {\n errors.paymentCategory = 'Please select payment mode';\n }\n\n if (REQUIRED(values.settlementAccountRefence)){\n errors.settlementAccountRefence = 'Please select settlement account';\n }\n\n if (REQUIRED(values.terminalCount)) {\n errors.terminalCount = 'Please enter Terminal count';\n } else if (Number(values.terminalCount) <= 0) {\n errors.terminalCount = 'Terminal count should be greater than zero.';\n } else if (Number(values.terminalCount) % 1 !== 0) {\n errors.terminalCount = 'Terminal count must not have a decimal value.';\n } else if (Number(values.terminalCount) > 100000) {\n errors.terminalCount = 'Terminal count should be less than 100000';\n }\n return errors;\n};\n\nexport default validate;\n","export const getRollList = (entityList, hList, merchant) => {\n return [\n {\n name: 'aggregator',\n label: 'Aggregator',\n popupTitle: 'Add Aggregator',\n selected: hList.agr || null,\n props: {\n input: false,\n data: entityList.aggregator || [],\n label: 'Select Aggregator',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'AGGREGATOR',\n },\n {\n name: 'franchise',\n label: 'Franchise',\n popupTitle: 'Add Franchise',\n selected: hList.fra || null,\n props: {\n input: false,\n data: !hList.agr\n ? entityList.franchise\n : hList.fraList || entityList.franchise || [],\n label: 'Select Franchise',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'FRANCHISE',\n },\n {\n name: 'mle',\n label: 'MLE',\n popupTitle: 'Add MLE',\n selected: hList.mle || null,\n props: {\n data:\n !hList.agr && !hList.fra\n ? entityList.mle\n : hList.mleList || entityList.mle || [],\n input: false,\n label: 'Select MLE',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'MLE',\n },\n {\n name: 'merchant',\n label: 'Merchant',\n popupTitle: 'Add Merchant',\n selected: hList.mid || null,\n props: {\n data:\n !hList.agr && !hList.fra && !hList.mle\n ? merchant && entityList.merchant\n ? [\n ...entityList.merchant.filter(\n item =>\n item.entityCode !==\n merchant.entityCode\n ),\n merchant,\n ]\n : entityList.merchant\n : hList.midList || entityList.merchant || [],\n input: false,\n label: 'Select Merchant',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'MERCHANT',\n },\n ];\n};\n\nexport const maskAccountNumber = accountNumber => {\n if (!accountNumber) {\n return '';\n }\n return (\n accountNumber.slice(0, -4).replace(/\\d/g, 'X') + accountNumber.slice(-4)\n );\n};\n","export const roleList = [\n {\n name: 'aggregator',\n label: 'Aggregator',\n popupTitle: 'Add Aggregator',\n props: {\n input: false,\n data: [],\n label: 'Select Aggregator',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'AGGREGATOR',\n },\n {\n name: 'franchise',\n label: 'Franchise',\n popupTitle: 'Add Franchise',\n props: {\n input: false,\n data: [],\n label: 'Select Franchise',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'FRANCHISE',\n },\n {\n name: 'mle',\n label: 'MLE',\n popupTitle: 'Add MLE',\n props: {\n data: [],\n input: false,\n label: 'Select MLE',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'MLE',\n },\n {\n name: 'merchant',\n label: 'Merchant',\n popupTitle: 'Add Merchant',\n props: {\n data: [],\n input: false,\n label: 'Select Merchant',\n labelField: 'name',\n valueField: 'entityCode',\n defaultSelected: '',\n },\n type: 'MERCHANT',\n },\n];\n\nexport const initialStatusOptions = [\n {\n name: 'Active',\n value: 1,\n },\n {\n name: 'Inactive',\n value: 2,\n },\n]\n","import { getId } from '../../utils/helperMethods';\nimport { FormElems, AlertModal, QRCodeWithCopyDownload } from '../../components/';\nimport React, { useState, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport { last } from 'lodash';\nimport AddRole from './AddRole';\nimport './TerminalTab.scss';\nimport Tooltip from 'rc-tooltip';\nimport infoIcon from '../../static/images/blackinfo.png';\nimport { ENTITY_TYPE } from '../../utils/constants/commonValues';\nimport {\n getMerchantInfoRequest,\n addTIDMakerRequest,\n getTerminalInfoRequest,\n fetchEntityHierarchyRequest,\n resetTerminalData,\n fetchStaticURL,\n resetMerchantData,\n resetHList,\n fetchEntityHierarchySuccess,\n fetchEntityListRequest,\n} from '../../containers/TerminalOnboard/redux/TIDOnBoard.actions';\nimport validate from './validator';\nimport { getRollList, maskAccountNumber } from './helper';\nimport { roleList, initialStatusOptions } from './constants';\n\nconst TerminalTab = ({\n handleSubmit,\n history,\n actions,\n auth,\n editData,\n formData,\n change,\n terminalsData,\n}) => {\n const { location } = history;\n const terminalId = last(location.pathname.split('/'));\n const isEditMode = location.pathname.includes('edit');\n const isViewMode = location.pathname.includes('view');\n const {\n tidEditData,\n tidError,\n hList,\n entityList,\n hierarchyLoader,\n } = terminalsData;\n\n const { userDetails } = auth;\n const [roleList, setRoleList] = useState([]);\n const [merchantError, setMerchantError] = useState(null);\n const [entitySelectedValue, setEntitySelectedValue] = useState({});\n const [isChange, setIsChange] = useState(false);\n const [preTerminalData, setPreTerminalData] = useState({});\n const [isUpdateAllowed, setIsUpdateAllowed] = useState(false);\n const [accounsList, setAccountsList] = useState([]);\n const [statusOptions, setStatusOptions] = useState(initialStatusOptions);\n const [isAlert, setIsAlert] = useState(false);\n const [alertMessage, setAlertMessage] = useState('');\n const [merchantStatus, setMerchantStatus] = useState(null);\n useEffect(() => {\n if (isEditMode && formData && formData.values) {\n const values = formData.values;\n if (\n (values.terminalName !== preTerminalData.terminalName) ||\n (values.status !== preTerminalData.terminalStatus) ||\n (values.email !== preTerminalData.email) ||\n (values.settlementAccountRefence !== preTerminalData.settlementAccountRefence)\n ) {\n setIsUpdateAllowed(true);\n } else {\n setIsUpdateAllowed(false);\n }\n }\n }, [formData, preTerminalData, isEditMode]);\n\n const handleRoleSelect = (value, originalData, type) => {\n actions.fetchEntityHierarchyRequest(value, originalData.entityType);\n if (type === 'MERCHANT') {\n actions.getMerchantInfoRequest(value, [], history, toast);\n setMerchantError(null);\n }\n };\n\n useEffect(() => {\n if(terminalsData.merchant && terminalsData.merchant.settlementDataSection){\n const accountNumbers = terminalsData.merchant.settlementDataSection.accountDetails;\n const maskedAccountNumbers = accountNumbers.map(account => {\n return {\n name: maskAccountNumber(account.accountNumber),\n value: account.accountNumber,\n }\n });\n setAccountsList(maskedAccountNumbers);\n // DEFEULT ACCOUNT SELECTION ON CREATE MODE\n if(!isViewMode && !isEditMode){\n change('settlementAccountRefence', accountNumbers[0].accountNumber);\n }\n }else {\n setAccountsList([]);\n }\n\n if(terminalsData.merchant && terminalsData.merchant.entityDetails.paymentCategory){\n const payment = terminalsData.merchant.entityDetails.paymentCategory;\n change('entityStatus', payment);\n }\n\n if(terminalsData.merchant\n && terminalsData.merchant.integrationData\n && terminalsData.merchant.paymentModeData\n && terminalsData.merchant.entityDetails\n && !isViewMode){\n const isStaticQREnabled = terminalsData.merchant.integrationData.isStaticQREnabled;\n const status = terminalsData.merchant.entityDetails.status;\n const paymentModeDetails = terminalsData.merchant.paymentModeData.paymentModeDetails;\n let isUPI = false;\n paymentModeDetails.forEach(payment => {\n if(payment.paymentType === 'UPI'){\n isUPI = true;\n }\n })\n setMerchantStatus(status);\n if(!isStaticQREnabled){\n setIsAlert(true);\n setAlertMessage(isEditMode ?\n 'Static QR is disabled for this merchant. Unable to proceed with terminal updation.'\n : 'Static QR is disabled for this merchant. Unable to proceed with terminal creation.');\n }else if(status === 2){\n setIsAlert(true);\n setAlertMessage(isEditMode ? 'Merchant is inactive. Unable to proceed with terminal updation.'\n : 'Merchant is inactive. Unable to proceed with terminal creation.');\n }else if(!isUPI){\n setIsAlert(true);\n setAlertMessage(isEditMode ?\n 'UPI payment mode is not enabled for this merchant. Unable to proceed with terminal updation.'\n : 'UPI payment mode is not enabled for this merchant. Unable to proceed with terminal creation.');\n }\n }\n }, [terminalsData.merchant]);\n\n useEffect(() => {\n actions.fetchEntityListRequest(ENTITY_TYPE.AGGREGATOR);\n actions.fetchEntityListRequest(ENTITY_TYPE.FRANCHISE);\n actions.fetchEntityListRequest(ENTITY_TYPE.MLE);\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT);\n }, [actions]);\n\n const handleFormSubmit = values => {\n const request = {\n aggregator: terminalsData.hList.agr,\n mle: terminalsData.hList.mle,\n merchantId: terminalsData.hList.mid,\n franchise: terminalsData.hList.fra,\n terminalName: values.terminalName,\n terminalCount:\n values.terminalCount && values.bulkGenerate === 'enable'\n ? parseInt(values.terminalCount)\n : 1,\n paymentMode: values.paymentCategory,\n settlementAccountRefence: values.settlementAccountRefence,\n status: values.status === undefined ? 1 : values.status,\n paymentCategory: values.entityStatus,\n eventType: isEditMode\n ? 'TERMINAL_ID_UPDATE'\n : 'TERMINAL_ID_ONBOARD',\n idempotencyId: isEditMode\n ? tidEditData.entityDetails.entityCode\n : terminalsData.hList.mid,\n email: values.email,\n staticQr: null,\n terminalVpa: null,\n };\n\n if(values.bulkGenerate === 'enable'){\n delete request.email;\n }\n\n if (isEditMode) {\n request.terminalCode = tidEditData.entityDetails.entityCode;\n delete request.staticQr;\n delete request.terminalVpa;\n }\n\n if (isViewMode) {\n history.push('/tid-onboarding');\n } else {\n actions.addTIDMakerRequest(\n request,\n history,\n toast,\n userDetails.email\n );\n }\n };\n\n useEffect(() => {\n if (\n (isEditMode || isViewMode) &&\n tidEditData &&\n tidEditData.linkedEntityInfoList &&\n tidEditData.linkedEntityInfoList.length > 0\n ) {\n const jsonResponse = tidEditData.linkedEntityInfoList[0];\n const entityCode = jsonResponse.merchantDetails.entityCode;\n const name = jsonResponse.merchantDetails.name;\n setRoleList(getRollList(entityList, hList, { entityCode, name }));\n } else {\n setRoleList(getRollList(entityList, hList));\n }\n }, [hList, entityList, tidEditData, isEditMode, isViewMode]);\n\n useEffect(() => {\n if (entitySelectedValue.merchant) {\n const merchantId = entitySelectedValue.merchant;\n actions.getMerchantInfoRequest(merchantId, [], history, toast);\n }\n }, [actions, entitySelectedValue, history]);\n\n useEffect(() => {\n if (terminalId && (isViewMode || isEditMode)) {\n actions.getTerminalInfoRequest(terminalId, history, toast);\n }\n }, [terminalId, isEditMode, isViewMode, actions, history]);\n\n useEffect(() => {\n if (\n tidEditData &&\n tidEditData.linkedEntityInfoList &&\n tidEditData.linkedEntityInfoList.length > 0 &&\n (isViewMode || isEditMode)\n ) {\n const terminalStatus = tidEditData.entityDetails.status;\n const terminalName = tidEditData.entityDetails.name;\n const jsonResponse = tidEditData.linkedEntityInfoList[0];\n const entityCode = jsonResponse.merchantDetails.entityCode;\n const email = tidEditData.entityDetails.email;\n const paymentCategory =\n jsonResponse.merchantDetails.paymentCategory;\n\n\n if(terminalStatus === 5){\n setStatusOptions(preState =>{\n let newState = [...preState];\n newState[2] = { name: 'Inactive With Settlement', value: 5 };\n return newState;\n })\n }\n\n let accountNumber = '';\n\n if(tidEditData.terminalIdInfo && tidEditData.terminalIdInfo.parentSettlementAccountNumber){\n accountNumber = tidEditData.terminalIdInfo.parentSettlementAccountNumber;\n change('settlementAccountRefence', accountNumber);\n }\n\n change('entityStatus', paymentCategory);\n change('status', terminalStatus);\n change('email', email);\n change('terminalName', terminalName);\n change('formType', 'UPDATE');\n actions.fetchEntityHierarchyRequest(entityCode, 'MERCHANT');\n actions.getMerchantInfoRequest(entityCode, [], history, toast);\n setPreTerminalData({ terminalStatus, terminalName, email, settlementAccountRefence: accountNumber });\n }\n }, [tidEditData, actions, isViewMode, isEditMode, history]);\n\n\n useEffect(() => {\n const paymentMode = 'UPI';\n change('paymentCategory', paymentMode);\n }, [change]);\n\n useEffect(() => {\n return () => {\n actions.resetTerminalData();\n actions.resetMerchantData();\n actions.resetHList();\n };\n }, [actions, history.pathname]);\n\n useEffect(() => {\n if(tidEditData && tidEditData.linkedEntityInfoList){\n const jsonResponse = tidEditData?.linkedEntityInfoList[0];\n const paymentCategory = jsonResponse?.merchantDetails?.paymentCategory;\n const entityCode = tidEditData.entityDetails.entityCode;\n actions.fetchStaticURL(entityCode);\n }\n }, [actions, tidEditData]);\n\n const handleResetSection = type => {\n if (type === 'AGGREGATOR') {\n const newHlist = { ...hList };\n delete newHlist.agr;\n actions.fetchEntityHierarchySuccess(newHlist);\n } else if (type === 'FRANCHISE') {\n const newHlist = { ...hList };\n delete newHlist.fra;\n actions.fetchEntityHierarchySuccess(newHlist);\n } else if (type === 'MLE') {\n const newHlist = { ...hList };\n delete newHlist.mle;\n actions.fetchEntityHierarchySuccess(newHlist);\n } else if (type === 'MERCHANT') {\n const newHlist = { ...hList };\n delete newHlist.mid;\n actions.fetchEntityHierarchySuccess(newHlist);\n actions.resetMerchantData();\n }\n };\n\n const handleSubmitClick = event => {\n if (!terminalsData.hList.mid) {\n return setMerchantError('Please select merchant.');\n }\n };\n\n const handleSearchEnd = (value, entityType) => {\n const type = entityType.toUpperCase();\n\n const filtered =\n entityList[type.toLowerCase()]?.filter(item => {\n const key = 'entityCode';\n return item[key]?.toLowerCase().includes(value.toLowerCase());\n }) || [];\n\n const data = {\n entityName: value,\n entityCode: '',\n };\n\n if (filtered.length === 0 && value.length >= 3) {\n actions.fetchEntityListRequest(entityType, data);\n }\n };\n\n const handleAlertOk = () =>{\n console.log(\"isEditModeisEditMode\",isEditMode);\n setAlertMessage('');\n setIsAlert(false);\n if(isEditMode){\n history.push('/tid-onboarding');\n }\n \n if(!isEditMode){\n const newHlist = { ...hList };\n delete newHlist.mid;\n actions.fetchEntityHierarchySuccess(newHlist);\n actions.resetMerchantData();\n }\n }\n\n return (\n
    \n \n \n
    \n

    Terminal ID Details

    \n
      \n <>\n
    • \n {roleList.slice(0, 3).map(item => (\n \n setEntitySelectedValue(values)\n }\n onRoleSelect={handleRoleSelect}\n isViewMode={isViewMode || isEditMode}\n handleResetSection={handleResetSection}\n handleSearchEnd={handleSearchEnd}\n />\n ))}\n
    • \n
    • \n {roleList.slice(3)\n .map(item => (\n \n ))}\n
      \n

      Settlement Account

      \n \n
      \n\n
      \n {\n formData?.values?.bulkGenerate !== 'enable' ? (\n \n

      \n Email\n {\n !isEditMode && !isViewMode && (\n \n (Optional)\n \n )\n }\n

      \n \n\n
      \n ) : null\n }\n
      \n\n
    • \n \n\n
    • \n
      \n

      Merchant Category

      \n \n
      \n
      \n {!isEditMode && !isViewMode ? (\n <>\n

      Bulk Generate

      \n \n \n ) : (\n <>\n

      Status

      \n \n \n )}\n
      \n
      \n
    • \n
    • \n
      \n {formData?.values?.bulkGenerate === 'enable' ? (\n
      \n

      Terminal Name

      \n \n {`info`}\n \n
      \n ) : (\n

      Terminal Name

      \n )}\n\n \n

      \n Terminal name can only be{' '}\n alphanumeric and must be below{' '}\n 90 characters.\n

      \n
      \n
      \n

      Payment Mode

      \n \n
      \n
      \n {formData?.values?.bulkGenerate === 'enable' &&\n !isEditMode &&\n !isViewMode && (\n <>\n

      \n TID Count (Max Count 100000)\n

      \n \n \n )}\n
      \n
    • \n
    • \n {terminalsData.staticQr?.staticQrString && (\n \n

      Static QR

      \n \n
    \n )}\n\n
    \n
    \n \n \n
    \n\n
    \n \n
    \n \n
    \n );\n};\n\n\nTerminalTab.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n change: PropTypes.func,\n handleSubmit: PropTypes.func,\n history: PropTypes.object,\n isEditMode: PropTypes.bool,\n isViewMode: PropTypes.bool,\n editData: PropTypes.object,\n formData: PropTypes.object,\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n editData,\n terminalsData,\n}) => ({\n auth,\n formData: form['add-tid-form'],\n editData,\n terminalsData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchEntityHierarchyRequest,\n fetchEntityListRequest,\n getMerchantInfoRequest,\n addTIDMakerRequest,\n getTerminalInfoRequest,\n resetTerminalData,\n fetchStaticURL,\n resetMerchantData,\n resetHList,\n change,\n fetchEntityHierarchySuccess,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'add-tid-form',\n enableReinitialize: true,\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(TerminalTab)\n);\n","import TerminalTab from './TerminalTab';\n\nexport default TerminalTab;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport { getId } from '../../utils/helperMethods';\nimport './timeline.scss';\nimport { useLocation } from 'react-router-dom/cjs/react-router-dom.min';\nimport checkGreen from \"../../static/images/checkGreen.png\";\n/* \nStages - \nCompleted - filled form - editable,\nOpen - new form - editable\nTobefilled - non clickable icon - editable\n */\nconst Timeline = ({ onboardingProcess, isCreate, heading }) => {\n const location = useLocation();\n const path = location?.pathname || \"\";\n // console.log(\"current location contains\", location, path);\n return (\n <>\n
    \n {heading &&

    {heading}

    }\n
      \n {onboardingProcess.map(merchantOnboard => {\n // console.log(\"inisdeß TimeLine --> onBoarding\", onboardingProcess );\n return (\n \n {merchantOnboard.status !== 'Complete' &&\n merchantOnboard.status !== 'Open' ? (\n

      {merchantOnboard.name}

      \n ) : (\n \n

      {merchantOnboard.name}\n {merchantOnboard.status === 'Complete' && \n \"Success\"\n }\n

      \n \n )}\n \n );\n })}\n
    \n
    \n \n );\n};\n\nTimeline.propTypes = {\n isCreate: PropTypes.bool,\n onboardingProcess: PropTypes.array.isRequired,\n};\n\nexport default Timeline;\n","import Timelinev1 from './Timeline';\n\nexport default Timelinev1;\n","import React, { useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport './styles.scss';\n\nconst QRCodeWithCopyDownload = ({ text, qr }) => {\n const [copied, setCopied] = useState(false);\n const qrCodeRef = useRef(null);\n\n const handleCopy = event => {\n event.preventDefault();\n\n if (!navigator.clipboard) {\n console.error('Clipboard API not supported in this browser.');\n return;\n }\n\n navigator.clipboard\n .writeText(text)\n .then(() => {\n setCopied(true);\n setTimeout(() => setCopied(false), 2000);\n })\n .catch(err => {\n console.error('Copy failed. Please try again manually.');\n });\n };\n\n const handleDownload = event => {\n event.preventDefault();\n const blob = new Blob(\n [Uint8Array.from(atob(qr), char => char.charCodeAt(0))],\n { type: 'image/png' }\n );\n\n const link = document.createElement('a');\n link.href = URL.createObjectURL(blob);\n link.download = 'qr-code.png';\n\n document.body.appendChild(link);\n link.click();\n\n document.body.removeChild(link);\n URL.revokeObjectURL(link.href);\n };\n\n return (\n
    \n
    \n {'STATIC-QR'}\n
    \n

    {text}

    \n
    \n \n \n
    \n
    \n );\n};\n\nQRCodeWithCopyDownload.propTypes = {\n text: PropTypes.string.isRequired,\n qr: PropTypes.string.isRequired,\n};\n\nexport default QRCodeWithCopyDownload;\n","export const amountRange = [\n {\n name: 'Fixed Amount',\n value: 'FIXED',\n },\n {\n name: 'Amount Range',\n value: 'VARIABLE',\n },\n {\n name: 'User Input',\n value: 'USER_INPUT',\n },\n\n];\n// export const userInput =['Mandatory', 'Optional'];\nexport const userInput = [\n {\n name: 'Mandatory',\n value: 'required',\n },\n {\n name: 'Optional',\n value: 'optional',\n },\n];\n// export const fieldType =['Mobile Num', ' Email Address', 'Name', 'Date'];\nexport const fieldType = [\n {\n name: 'Mobile Number',\n value: 'mobile',\n },\n {\n name: 'Email Address',\n value: 'email',\n },\n {\n name: 'Date',\n value: 'date',\n },\n {\n name: 'Name',\n value: 'name',\n },\n {\n name: 'Others',\n value: 'others',\n }\n];\n\nexport const validityOptions = [\n {\n name: '1 Day',\n value: 1,\n },\n {\n name: '2 Days',\n value: 2,\n },\n {\n name: '3 Days',\n value: 3,\n },\n {\n name: '4 Days',\n value: 4,\n },\n {\n name: '5 Days',\n value: 5,\n },\n {\n name: '6 Days',\n value: 6,\n },\n {\n name: '7 Days',\n value: 7,\n },\n {\n name: '8 Days',\n value: 8,\n },\n {\n name: '9 Days',\n value: 9,\n },\n {\n name: '10 Days',\n value: 10,\n },\n {\n name: '11 Days',\n value: 11,\n },\n {\n name: '12 Days',\n value: 12,\n },\n {\n name: '13 Days',\n value: 13,\n },\n {\n name: '14 Days',\n value: 14,\n },\n {\n name: '15 Days',\n value: 15,\n },\n];\n","const CREATE_PAYMENT_PAGE_REQUEST ='CREATE_PAYMENT_PAGE_REQUEST';\nconst CREATE_PAYMENT_PAGE_SUCCESS ='CREATE_PAYMENT_PAGE_SUCCESS';\nconst CREATE_PAYMENT_PAGE_ERROR ='CREATE_PAYMENT_PAGE_ERROR';\n\nconst GET_PAYMENT_PAGE_DETAILS_REQUEST ='GET_PAYMENT_PAGE_DETAILS_REQUEST';\nconst GET_PAYMENT_PAGE_DETAILS_SUCCESS ='GET_PAYMENT_PAGE_DETAILS_SUCCESS';\nconst GET_PAYMENT_PAGE_DETAILS_ERROR ='GET_PAYMENT_PAGE_DETAILS_ERROR';\n\nconst UPDATE_PAYMENT_PAGE_DETAILS_REQUEST = 'UPDATE_PAYMENT_PAGE_DETAILS_REQUEST';\nconst UPDATE_PAYMENT_PAGE_DETAILS_SUCCESS= 'UPDATE_PAYMENT_PAGE_DETAILS_SUCCESS';\nconst UPDATE_PAYMENT_PAGE_DETAILS_ERROR= 'UPDATE_PAYMENT_PAGE_DETAILS_ERROR';\n\n\nconst HIDE_PAYMENT_PAGE_LOADER = 'HIDE_PAYMENT_PAGE_LOADER';\nconst SHOW_PAYMENT_PAGE_LOADER = 'SHOW_PAYMENT_PAGE_LOADER';\nconst FETCH_PAYMENT_PAGE_REQUEST = 'FETCH_PAYMENT_PAGE_REQUEST';\nconst FETCH_PAYMENT_PAGE_SUCCESS = 'FETCH_PAYMENT_PAGE_SUCCESS';\nconst FETCH_PAYMENT_PAGE_ERROR = 'FETCH_PAYMENT_PAGE_ERROR';\nconst FETCH_TRANSACTION_PAYMENT_REQUEST =\n 'FETCH_TRANSACTION_PAYMENT_REQUEST_PAYMENT_PAGE';\nconst FETCH_TRANSACTION_PAYMENT_SUCCESS =\n 'FETCH_TRANSACTION_PAYMENT_PAGE_SUCCESS';\nconst FETCH_TRANSACTION_PAYMENT_ERROR = 'FETCH_TRANSACTION_PAYMENT_PAGE_ERROR';\nconst VIEW_PAY_LINK_REQUEST = 'VIEW_PAY_LINK_REQUEST_PAYMENT_PAGE';\nconst VIEW_PAY_LINK_SUCCESS = 'VIEW_PAY_LINK_SUCCESS_PAYMENT_PAGE';\nconst VIEW_PAY_LINK_ERROR = 'VIEW_PAY_LINK_ERROR_PAYMENT_PAGE';\nconst RE_SHARE_PAY_PAGE_ERROR = 'RE_SHARE_PAY_PAGE_ERROR';\nconst RE_SHARE_PAY_PAGE_REQUEST = 'RE_SHARE_PAY_PAGE_REQUEST';\nconst RE_SHARE_PAY_PAGE_SUCCESS = 'RE_SHARE_PAY_PAGE_SUCCESS';\n\nexport {\n CREATE_PAYMENT_PAGE_REQUEST,\n CREATE_PAYMENT_PAGE_SUCCESS,\n CREATE_PAYMENT_PAGE_ERROR,\n GET_PAYMENT_PAGE_DETAILS_REQUEST,\n GET_PAYMENT_PAGE_DETAILS_SUCCESS,\n GET_PAYMENT_PAGE_DETAILS_ERROR,\n UPDATE_PAYMENT_PAGE_DETAILS_REQUEST,\n UPDATE_PAYMENT_PAGE_DETAILS_SUCCESS,\n UPDATE_PAYMENT_PAGE_DETAILS_ERROR,\n SHOW_PAYMENT_PAGE_LOADER,\n HIDE_PAYMENT_PAGE_LOADER,\n FETCH_PAYMENT_PAGE_REQUEST,\n FETCH_PAYMENT_PAGE_SUCCESS,\n FETCH_PAYMENT_PAGE_ERROR,\n FETCH_TRANSACTION_PAYMENT_REQUEST,\n FETCH_TRANSACTION_PAYMENT_SUCCESS,\n FETCH_TRANSACTION_PAYMENT_ERROR,\n VIEW_PAY_LINK_REQUEST,\n VIEW_PAY_LINK_SUCCESS,\n VIEW_PAY_LINK_ERROR,\n RE_SHARE_PAY_PAGE_ERROR,\n RE_SHARE_PAY_PAGE_REQUEST,\n RE_SHARE_PAY_PAGE_SUCCESS,\n};\n","import {\n CREATE_PAYMENT_PAGE_REQUEST,\n CREATE_PAYMENT_PAGE_SUCCESS,\n CREATE_PAYMENT_PAGE_ERROR,\n GET_PAYMENT_PAGE_DETAILS_REQUEST,\n GET_PAYMENT_PAGE_DETAILS_SUCCESS,\n GET_PAYMENT_PAGE_DETAILS_ERROR,\n UPDATE_PAYMENT_PAGE_DETAILS_REQUEST,\n UPDATE_PAYMENT_PAGE_DETAILS_SUCCESS,\n UPDATE_PAYMENT_PAGE_DETAILS_ERROR,\n SHOW_PAYMENT_PAGE_LOADER,\n HIDE_PAYMENT_PAGE_LOADER,\n FETCH_PAYMENT_PAGE_ERROR,\n FETCH_PAYMENT_PAGE_REQUEST,\n FETCH_PAYMENT_PAGE_SUCCESS,\n FETCH_TRANSACTION_PAYMENT_REQUEST,\n FETCH_TRANSACTION_PAYMENT_SUCCESS,\n FETCH_TRANSACTION_PAYMENT_ERROR,\n VIEW_PAY_LINK_ERROR,\n VIEW_PAY_LINK_REQUEST,\n VIEW_PAY_LINK_SUCCESS,\n RE_SHARE_PAY_PAGE_ERROR,\n RE_SHARE_PAY_PAGE_REQUEST,\n RE_SHARE_PAY_PAGE_SUCCESS,\n} from './paymentPage.constants';\n\nexport const fetchPaymentPageRequest = payload => ({\n type: FETCH_PAYMENT_PAGE_REQUEST,\n payload,\n});\n\nexport const fetchPaymentPageSuccess = payload => ({\n type: FETCH_PAYMENT_PAGE_SUCCESS,\n payload,\n});\n\nexport const fetchPaymentPageError = payload => ({\n type: FETCH_PAYMENT_PAGE_ERROR,\n payload,\n});\n\nexport const createPaymentPageRequest = (\n payload,\n handleSuccessClick,\n status,\n history\n) => {\n return {\n type: CREATE_PAYMENT_PAGE_REQUEST,\n payload,\n handleSuccessClick,\n status,\n history,\n };\n};\n\nexport const createPaymentPageSuccess = payload => ({\n type: CREATE_PAYMENT_PAGE_SUCCESS,\n payload,\n});\n\nexport const createPaymentPageError = payload => ({\n type: CREATE_PAYMENT_PAGE_ERROR,\n payload,\n});\n\nexport const getPaymentPageDetailsRequest = payload => {\n console.log('Payload:', payload);\n return {\n type: GET_PAYMENT_PAGE_DETAILS_REQUEST,\n payload,\n };\n};\n\n// export const getPaymentPageDetailsSuccess = payload => ({\n// type: GET_PAYMENT_PAGE_DETAILS_SUCCESS,\n// payload,\n// });\nexport const getPaymentPageDetailsSuccess = payload => {\n console.log('Payload in actions of get api :', payload);\n return {\n type: GET_PAYMENT_PAGE_DETAILS_SUCCESS,\n payload,\n };\n};\n\nexport const getPaymentPageDetailsError = payload => ({\n type: GET_PAYMENT_PAGE_DETAILS_ERROR,\n payload,\n});\nexport const updatePaymentPageDetailsRequest = (\n payload,\n history,\n status,\n handleSuccessClick\n) => ({\n type: UPDATE_PAYMENT_PAGE_DETAILS_REQUEST,\n payload,\n history,\n status,\n handleSuccessClick\n});\n\nexport const updatePaymentPageDetailsSuccess = payload => ({\n type: UPDATE_PAYMENT_PAGE_DETAILS_SUCCESS,\n payload,\n});\n\nexport const updatePaymentPageDetailsError = payload => ({\n type: UPDATE_PAYMENT_PAGE_DETAILS_ERROR,\n payload,\n});\n\nexport const fetchPaymentsRequest = payload => ({\n type: FETCH_TRANSACTION_PAYMENT_REQUEST,\n payload,\n});\n\nexport const fetchPaymentsSuccess = payload => ({\n type: FETCH_TRANSACTION_PAYMENT_SUCCESS,\n payload,\n});\n\nexport const fetchPaymentsError = payload => ({\n type: FETCH_TRANSACTION_PAYMENT_ERROR,\n payload,\n});\n\n// View Summary action for payment link transaction view table\nexport const viewPayLinksRequest = payload => ({\n type: VIEW_PAY_LINK_REQUEST,\n payload,\n});\n\nexport const viewPayLinksSuccess = payload => ({\n type: VIEW_PAY_LINK_SUCCESS,\n payload,\n});\n\nexport const viewPayLinksError = payload => ({\n type: VIEW_PAY_LINK_ERROR,\n payload,\n});\n\nexport const reSharePayLinksRequest = payload => ({\n type: RE_SHARE_PAY_PAGE_REQUEST,\n payload,\n});\n\nexport const reSharePayLinksSuccess = payload => ({\n type: RE_SHARE_PAY_PAGE_SUCCESS,\n payload,\n});\n\nexport const reSharePayLinksError = payload => ({\n type: RE_SHARE_PAY_PAGE_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_PAYMENT_PAGE_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_PAYMENT_PAGE_LOADER });\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED, URL } = validators;\n const errors = {};\n\n // eslint-disable-next-line no-console\n console.log('values', values);\n\n if (REQUIRED(values.purpose)) {\n errors.purpose = 'Please enter the purpose (Max 200 chars).';\n }\n if (values.purpose && values.purpose?.length > 200) {\n errors.purpose = 'Cannot be more than 200 characters.';\n }\n if (REQUIRED(values.amountType)) {\n errors.amountType = 'Please select amount type.';\n }\n if (REQUIRED(values.amount)) { \n errors.amount = 'Please enter amount.'; \n } else if (values.amount === '0' || values.amount === 0) { \n errors.amount = 'Please enter an amount greater than zero.'; \n } else if (!/^\\d+(\\.\\d{1,2})?$/.test(values.amount)) { \n errors.amount = 'Only up to two decimal places are allowed.'; \n }\n \n if (REQUIRED(values.minAmount)) { \n errors.minAmount = 'Please enter minimum amount.'; \n } else if (values.minAmount === '0' || values.minAmount === 0) { \n errors.minAmount = 'Please enter an amount greater than zero.'; \n }\n if (REQUIRED(values.maxAmount)) {\n errors.maxAmount = 'Please enter max amount.';\n }\n if (!errors.minAmount && !errors.maxAmount && Number(values.maxAmount) <= Number(values.minAmount)) {\n errors.maxAmount = 'Max amount should be greater than min amount.';\n }\n\n if (values.callBackUrl && URL(values.callBackUrl)) {\n errors.callBackUrl = 'Please enter valid callBack Url.';\n }\n\n if (REQUIRED(values.validityPeriod)) {\n errors.validityPeriod = 'Please select validity.';\n }\n\n const userDefineFields = values.userDefineFields || [];\n console.log(\"userDefine values:\", userDefineFields);\n\n const userDefineFieldsError = [];\n\n userDefineFields.forEach((field, index) => {\n const fieldError = {};\n\n const hasName = !!field.name;\n const hasType = !!field.type;\n const hasValidators = !!field.validators;\n\n // If only \"name\" exists, \"type\" and \"validators\" are required\n if (hasName && (!hasType && !hasValidators)) {\n fieldError.type = \"Field Type is required when name is provided.\";\n fieldError.validators = \"User Input are required when name is provided.\";\n }\n if (field.name && field.name.length > 50) {\n fieldError.name = 'Cannot be more than 50 characters.';\n }\n \n // If \"type\" exists but not the other two\n else if (hasType && (!hasName || !hasValidators)) {\n if (!hasName) fieldError.name = \"Name is required when type is provided.\";\n if (!hasValidators) fieldError.validators = \"User Input are required when type is provided.\";\n }\n // If \"validators\" exists but not the other two\n else if (hasValidators && (!hasName || !hasType)) {\n if (!hasName) fieldError.name = \"Name is required when validators are provided.\";\n if (!hasType) fieldError.type = \" Field Type is required when validators are provided.\";\n }\n\n // If there are errors, store them in the error array\n if (Object.keys(fieldError).length > 0) {\n userDefineFieldsError[index] = fieldError;\n }\n });\n\n // If there are any errors, add them to the errors object\n if (userDefineFieldsError.length > 0) {\n errors.userDefineFields = userDefineFieldsError;\n }\n\n return errors;\n\n};\n\nexport default validate;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport moment from \"moment\";\nimport styled from \"styled-components\";\nimport './styles.scss'\n\n// Error styling\nconst ErrorWrapper = styled.span`\n color: #f00;\n display: block;\n font-size: 12px;\n margin: 8px 0;\n`;\n\n// Styled Wrapper for the DatePicker\nconst DatePickerWrapper = styled.div`\n position: relative;\n display: inline-block;\n width: 100%;\n\n .custom-datepicker {\n width: 100%;\n padding: 8px;\n border: 1px solid #ccc;\n border-radius: 4px;\n font-size: 14px;\n }\n\n .calendar-icon {\n position: absolute;\n top: 23px;\n right: 10px;\n transform: translateY(-50%);\n width: 20px;\n height: 20px;\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAABFdJREFUSA21lk1MXF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qL85MPxvrCwsJNg5uZ5msQmSB3+BoF9IbnnUM1lzEggwNfO8M9aPZnrCj1s3wCK0pNthnXUTsXwIsWp7q5KHWbXy+l3tzcvL26unpgc31GSduktN4h58U458WM7Oqk1G+CyaOHNBd+is3NzWMA/91cnNdFdp4WIzMkY5x+wHoKPNBc4A0El38nV9BfN3Yyg4drLr7FgQ6kubJSAYLform+8zoWeXh4uJ7XRsTfsA/oReEfoZqLyyRO+cXW9ldGskpIhXji/gDV1qECcwffo/zXee7aHDU2Nt5Ht4IuUC0bXzDd1exUd0410tzc3D10b1fTT09PP0D3TjW9FzexIrT/DUqVQ1n1P7PX8DHIxwiekoyvIbzKfPIxOA3r4to/s+auuGLsttwAAAAASUVORK5CYII=\");\n background-size: cover;\n cursor: pointer;\n }\n`;\n\nconst DateTimePicker = ({\n input,\n meta,\n selectedDate,\n onSetDateTime,\n showTimeSelect = true,\n dateFormat = \"yyyy-MM-dd HH:mm:00\",\n timeIntervals = 15,\n ...props\n}) => {\n const [date, setDate] = useState(null);\n\n useEffect(() => {\n if (selectedDate) {\n setDate(moment(selectedDate).toDate());\n }\n }, [selectedDate]);\n\n let minTime = moment().toDate()\n if (date) {\n if (moment().isSame(date, \"day\")){\n minTime = moment().toDate()\n }else{\n minTime = moment().startOf(\"day\")\n }\n }\n return (\n \n {\n if (moment().isBefore(newDate)) {\n setDate(newDate);\n if (input?.onChange) input.onChange(newDate);\n if (onSetDateTime) onSetDateTime(newDate);\n }\n }}\n disabledKeyboardNavigation\n showTimeSelect={showTimeSelect} // Enables time selection\n timeFormat=\"HH:mm:00\" // 24-hour format (use \"hh:mm aa\" for 12-hour format)\n timeIntervals={timeIntervals} // Time selection in 15-minute steps\n timeCaption=\"Time\" // Label for time picker\n dateFormat={dateFormat} // Format for date and time\n minTime={minTime}\n maxTime={new Date().setHours(23, 59, 59, 999)}\n placeholderText={props.placeholder}\n />\n
    document.querySelector(\".custom-datepicker\").focus()} />\n {meta?.touched && meta?.error && (\n {meta.error}\n )}\n \n );\n};\n\nDateTimePicker.propTypes = {\n input: PropTypes.object,\n meta: PropTypes.object,\n selectedDate: PropTypes.instanceOf(Date),\n onSetDateTime: PropTypes.func,\n showTimeSelect: PropTypes.bool,\n dateFormat: PropTypes.string,\n timeIntervals: PropTypes.number,\n};\n\nexport default DateTimePicker;\n","import { FormElems } from '../../components/';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Field } from 'redux-form';\nimport 'react-quill/dist/quill.snow.css';\nimport 'rc-tooltip/assets/bootstrap_white.css';\nimport closeImgIcon from 'static/images/close.svg';\nimport profile from 'static/images/profile.png';\nimport paymentInfo from '../../static/images/paymentInfo.png';\nimport './PaymentPageTab.scss';\n\nconst PreviewModal = props => {\n const { fields, amountType, amount, minAmount, maxAmount, onClose, formData = {}, desc, auth } = props;\n\n return (\n
    \n
    \n
    \n
    \n

    Preview

    \n \"Close\"\n
    \n
    \n
    \n \n

    {auth?.userDetails?.entityName}

    \n
    \n
    \n
    \n {formData.values?.purpose}\n
    \n
    \n \n
    \n
    \n
    \n \"paymentInfo\"\n
    Payment Information
    \n
    \n
    \n
    \n

    Amount

    \n *\n {amountType === \"VARIABLE\" && ` (Min: ₹${minAmount} - Max: ₹${maxAmount})`}\n
    \n {amountType === \"VARIABLE\" ? (\n <>\n \n \n ) : (\n \n )}\n
    \n
    \n
    \n {fields\n .filter(\n field =>\n field.name && field.name?.trim() !== ''\n )\n .map((field, index) => (\n \n
    \n {field.name\n ?.split(\" \")\n .map(word => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()) // Capitalize first letter of each word\n .join(\" \")}\n\n {field.validators ===\n 'required' && (\n \n *\n \n )}\n
    \n \n
    \n ))}\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n );\n};\n\n\nPreviewModal.propTypes = {\n fields: PropTypes.array.isRequired,\n onClose: PropTypes.func.isRequired,\n formData: PropTypes.object,\n desc: PropTypes.string,\n auth: PropTypes.object,\n};\nexport default PreviewModal;","\nimport { FormElems } from '../../components/';\nimport React, { useState, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field } from 'redux-form';\nimport 'react-quill/dist/quill.snow.css';\nimport 'rc-tooltip/assets/bootstrap_white.css';\nimport deleteImage from '../../static/images/delete.png';\nimport {\n userInput,\n fieldType,\n} from './constants.js';\nimport './PaymentPageTab.scss';\n\nconst suggestedFields = [\n 'Mobile Number',\n 'Email Address',\n 'Address',\n 'Date Of Birth',\n 'Company Name',\n 'Others',\n];\n\nconst RenderUserDefineFields = ({ fields }) => {\n const [fieldNameErrorMsgs, setFieldNameErrorMsgs] = useState([]);\n\n const validateFieldName = (val, index) => {\n setFieldNameErrorMsgs(prev => {\n const newErrors = [...prev];\n newErrors[index] = val.length >= 50 ? \"Max 50 characters allowed\" : \"\";\n return newErrors;\n });\n };\n\n const [showSuggestions, setShowSuggestions] = useState(\n Array(fields.length).fill(false)\n );\n\n const inputRefs = useRef([]);\n\n const handleSelectSuggestion = (index, suggestion) => {\n const field = fields.get(index);\n fields.remove(index);\n fields.insert(index, {\n ...field,\n name: suggestion === 'Others' ? '' : suggestion,\n });\n\n setShowSuggestions(prev => {\n const newShowSuggestions = [...prev];\n newShowSuggestions[index] = false;\n return newShowSuggestions;\n });\n\n setTimeout(() => {\n if (inputRefs.current[index]) {\n inputRefs.current[index].focus();\n }\n }, 0);\n };\n\n return (\n
    \n {fields.map((field, index) => (\n
    \n {\n setShowSuggestions(prev => {\n const newShowSuggestions = [...prev];\n newShowSuggestions[index] = true;\n return newShowSuggestions;\n });\n }}\n onMouseLeave={() => {\n setShowSuggestions(prev => {\n const newShowSuggestions = [...prev];\n newShowSuggestions[index] = false;\n return newShowSuggestions;\n });\n }}\n >\n

    Field Name

    \n (inputRefs.current[index] = el)}\n onChange={(e) => validateFieldName(e, index)}\n />\n {fieldNameErrorMsgs[index] && {fieldNameErrorMsgs[index]}} {/* ✅ Show error for specific field */}\n\n {showSuggestions[index] && (\n
      \n

      Suggested Fields

      \n {suggestedFields.map((suggestion, i) => (\n \n handleSelectSuggestion(\n index,\n suggestion\n )\n }\n >\n {suggestion}\n \n ))}\n
    \n )}\n
    \n\n
    \n

    Field Type

    \n \n
    \n
    \n

    User Input

    \n \n
    \n
    \n fields.remove(index)}\n >\n \n \n
    \n
    \n ))}\n\n {fields.length < 7 && (\n
    \n

    fields.push({})}>\n + Add More\n

    \n
    \n )}\n
    \n );\n};\n\nRenderUserDefineFields.propTypes = {\n fields: PropTypes.object.isRequired,\n};\n\nexport default RenderUserDefineFields;","import { FormElems } from '../../components/';\nimport React, { useState, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change, FieldArray } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router-dom';\nimport ReactQuill from 'react-quill';\nimport 'react-quill/dist/quill.snow.css';\nimport 'rc-tooltip/assets/bootstrap_white.css';\nimport {\n amountRange,\n} from './constants.js';\n\nimport './PaymentPageTab.scss';\nimport { trim } from 'lodash';\nimport {\n createPaymentPageRequest,\n updatePaymentPageDetailsRequest,\n} from '../../containers/PaymentPage/redux/paymentPage.actions';\nimport validate from './validator';\nimport moment from 'moment';\nimport DateTimePicker from 'components/DateTimePicker/DateTimePicker';\nimport PreviewModal from './PreviewModal';\n\nimport RenderUserDefineFields from './RenderUserDefineFields';\n\nconst PaymentPageTab = ({\n handleSubmit,\n auth,\n actions,\n history,\n formData = {},\n change,\n paymentPageData,\n}) => {\n const { location } = history;\n const isEditMode = location.pathname.includes('edit') && !location.pathname.includes('new');\n const isDuplicate = location.pathname.includes('new');\n const { paymentPageEditData } = paymentPageData;\n const [isPreview, setIsPreview] = useState(false);\n const [isSuccess, setIsSuccess] = useState(false);\n const [desc, setDesc] = useState(paymentPageEditData?.templates?.systemDefineFields[1]?.defaultValue ?? '');\n const [showAdditionalSettings, setShowAdditionalSettings] = useState(true);\n const [status, setStatus] = useState('');\n const [descError, setDescError] = useState('');\n const [linkData, setLinkData] = useState({});\n const [dateOfPaymentPage, setDateOfPaymentPage] = useState(null);\n const [changeAmountTypeCount, setChangeAmountTypeCount] = useState(0);\n const [errorMsg, setErrorMsg] = useState(\"\");\n\n const validateErrorMsg = (val) => {\n if (val.length >= 200) {\n setErrorMsg(\"Max 200 characters allowed.\");\n } else {\n setErrorMsg(\"\");\n }\n };\n\n const toggleAdditionalSettings = () => {\n setShowAdditionalSettings(!showAdditionalSettings);\n };\n\n const handlePreviewClick = values => {\n setIsPreview(true);\n };\n\n const handleSuccessClick = data => {\n history.push({\n pathname: '/payment-page', // Change this to your actual listing page route\n state: { showSuccessModal: true, successData: data }\n });\n };\n \n\n const handleFormSubmit = values => {\n if (!desc) {\n return;\n }\n setDescError(\"\");\n const userDefineFields = values.userDefineFields\n .filter(item => item.name)\n .map(item => {\n const obj = {\n ...item,\n validators: Array.isArray(item.validators)\n ? item.validators\n : [item.validators],\n label:\n item.name.charAt(0).toUpperCase() +\n item.name.slice(1).toLowerCase(),\n name: item.name.charAt(0).toUpperCase() +\n item.name.slice(1).toLowerCase(),\n placeholder: `Enter ${item.name.toLowerCase()}`,\n };\n return obj;\n });\n let amount = values.amount !== undefined && values.amount !== null\n ? Number(values.amount)\n : Number(values.minAmount);\n\n if (values.amountType == \"VARIABLE\") {\n amount = Number(values.minAmount);\n }\n if (values.amountType == 'USER_INPUT') {\n amount = null;\n }\n\n const request = {\n amount: amount,\n amountType: values.amountType,\n minAmount: values.amountType === \"USER_INPUT\" ? null : Number(values.minAmount || values.amount),\n maxAmount: values.amountType === \"USER_INPUT\" ? null : Number(values.maxAmount || values.amount),\n status,\n callBackUrl: values.callBackUrl || null,\n validityPeriod: moment(values.validityPeriod).format(\"YYYY-MM-DD HH:mm:ss\"),\n templates: {\n systemDefineFields: [\n {\n name: 'purpose',\n label: 'Purpose',\n type: 'text',\n defaultValue: values.purpose || '',\n validators: ['required'],\n placeholder: 'Enter Purpose',\n },\n {\n name: 'description',\n label: 'Description',\n type: 'text',\n defaultValue: desc || '',\n validators: ['required'],\n placeholder: 'Enter Description',\n },\n ],\n userDefineFields,\n },\n };\n if (!isEditMode) {\n actions.createPaymentPageRequest(\n request,\n handleSuccessClick,\n status,\n history\n );\n }\n if (isEditMode) {\n const updatedRequest = {\n ...request,\n formId: paymentPageEditData?.formId,\n templateId: paymentPageEditData?.templateId.toString(),\n };\n actions.updatePaymentPageDetailsRequest(\n updatedRequest,\n history,\n status,\n handleSuccessClick\n );\n }\n };\n const quillRef = useRef(null); \n\n useEffect(() => {\n if (quillRef.current) {\n const editor = quillRef.current.getEditor();\n\n editor.on(\"text-change\", () => {\n const text = editor.getText().trim();\n console.log(\"text.length:\", text.length);\n\n if (text.length > 1500) {\n setDescError(\"Max 1500 characters allowed.\"); // ✅ Error दिखाओ\n editor.deleteText(1500, editor.getLength()); // ✅ Extra characters हटाओ\n } else {\n if (descError) {\n setTimeout(() => setDescError(\"\"), 2000); // ✅ Error 2 sec में hide होगा\n }\n }\n\n setDesc(editor.root.innerHTML);\n });\n }\n }, [desc, descError]);\n\n const handleChange = (content) => {\n setDesc(content);\n };\n\n useEffect(() => {\n if (!formData.initial?.userDefineFields) {\n change('userDefineFields', [{}]);\n }\n }, [formData.initial]);\n\n useEffect(() => {\n if (changeAmountTypeCount) {\n change(\"amount\", null);\n change(\"minAmount\", null);\n change(\"maxAmount\", null);\n }\n }, [changeAmountTypeCount]);\n\n useEffect(() => {\n if (paymentPageEditData && paymentPageEditData.templates) {\n const purpose = paymentPageEditData?.templates?.systemDefineFields[0]?.defaultValue;\n const desc = paymentPageEditData?.templates?.systemDefineFields[1]?.defaultValue;\n const amountType = paymentPageEditData?.amountType;\n const validityPeriod = paymentPageEditData?.validityPeriod;\n const validity = moment(validityPeriod).seconds(0).toDate();\n console.log(\"🚀 ~ useEffect ~ validity:\", validity)\n const callBackUrl = paymentPageEditData?.callBackUrl;\n const userDefineFields = paymentPageEditData?.templates?.userDefineFields;\n if (userDefineFields?.length === 0) {\n change('userDefineFields', [{}]);\n } else {\n change('userDefineFields', paymentPageEditData?.templates?.userDefineFields);\n }\n if (amountType === 'FIXED') {\n const amount = paymentPageEditData?.amount;\n change('amount', amount);\n }\n else if (amountType === 'VARIABLE') {\n change('minAmount', paymentPageEditData?.minAmount);\n change('maxAmount', paymentPageEditData?.maxAmount);\n }\n change('purpose', purpose);\n setDesc(desc);\n change('amountType', amountType);\n change(\"validityPeriod\", \"\");\n setDateOfPaymentPage(\"\");\n change('callBackUrl', callBackUrl);\n }\n }, [paymentPageEditData]);\n return (\n
    \n \n

    Payment Page Details

    \n
    \n
    \n
    \n
    \n

    \n Purpose\n *\n

    \n \n {errorMsg && {errorMsg}}\n
    \n
    \n
    \n
    \n
    \n

    \n Amount Type\n *\n

    \n { setChangeAmountTypeCount(prev => prev + 1) }}\n />\n
    \n\n {(() => {\n const selectedAmountType = formData?.values?.amountType || paymentPageEditData?.amountType;\n\n if (selectedAmountType === 'FIXED') {\n return (\n
    \n

    \n Amount\n *\n

    \n (value && value < 0 ? 0 : value)}\n />\n
    \n );\n }\n\n if (selectedAmountType === 'VARIABLE') {\n return (\n <>\n
    \n

    \n Minimum Amount\n *\n

    \n (value && value < 0 ? 0 : value)}\n />\n
    \n
    \n

    \n Maximum Amount\n *\n

    \n (value && value < 0 ? 0 : value)}\n />\n
    \n \n );\n }\n\n return null;\n })()}\n
    \n\n
    \n
    \n
    \n
    \n
    \n

    \n Description\n *\n

    \n \n

    \n {descError}\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n

    \n Validity\n *\n

    \n {\n setDateOfPaymentPage(selectedDate);\n }}\n placeholder=\"Select Validity Date\"\n minDate={new Date()}\n disabledKeyboardNavigation\n onKeyDown={(e) => e.preventDefault()}\n showTimeSelect\n timeFormat=\"HH:mm:00\"\n timeIntervals={30}\n timeCaption=\"Time\"\n dateFormat=\"yyyy-MM-dd HH:mm:ss\"\n />\n
    \n
    \n

    Callback URL

    \n \n
    \n
    \n
    \n
    \n

    \n Do you want consumer to give some details?\n (optional)\n

    \n \n
    \n
    \n
    \n {\n handleSubmit(handlePreviewClick)();\n if (!desc) {\n setDescError('Please enter description.');\n return;\n }\n }}\n />\n\n {\n setStatus('ACTIVE');\n setDescError('');\n if (!trim(desc)) {\n setDescError('Please enter description.');\n }\n }}\n />\n {\n setStatus('DRAFT');\n setDescError('');\n if (!trim(desc)) {\n setDescError('Please enter description.');\n }\n }}\n />\n
    \n \n\n {isPreview && (\n setIsPreview(false)}\n formData={formData}\n desc={desc}\n auth={auth}\n />\n )}\n {/* {isSuccess && (\n setIsPreview(false)}\n />\n )} */}\n
    \n );\n};\n\nPaymentPageTab.propTypes = {\n actions: PropTypes.object,\n merchantData: PropTypes.object.isRequired,\n auth: PropTypes.object,\n change: PropTypes.func,\n handleSubmit: PropTypes.func,\n history: PropTypes.object,\n previousPath: PropTypes.string,\n sectionType: PropTypes.string,\n name: PropTypes.string,\n initialValues: PropTypes.object,\n isEditMode: PropTypes.bool,\n isViewMode: PropTypes.bool,\n editData: PropTypes.object,\n formData: PropTypes.object,\n draftData: PropTypes.object,\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n editData,\n staticData,\n paymentPageData,\n}) => ({\n auth,\n formData: form['add-payment-page-form'],\n editData,\n staticData,\n paymentPageData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createPaymentPageRequest,\n updatePaymentPageDetailsRequest,\n change,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'add-payment-page-form',\n enableReinitialize: true,\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(PaymentPageTab)\n);\n","import PaymentPageTab from './PaymentPageTab';\n\nexport default PaymentPageTab;\n","import { isEmpty } from 'lodash';\nimport {\n validators,\n checkNumberList,\n checkEmailList,\n} from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n if (REQUIRED(values.remarks)) {\n errors.remarks = 'Please enter Remarks';\n }\n if (REQUIRED(values.linkName)) {\n errors.linkName = 'Please enter LinkName';\n }\n if (isEmpty(values.sharebysms) && isEmpty(values.sharebyemail)) {\n errors.sharebyemail = 'Please enter the Emails and Phone Numbers';\n }\n\n if (checkNumberList(values.sharebysms)) {\n errors.sharebysms = 'Please enter valid mobile numbers';\n }\n if (checkEmailList(values.sharebyemail)) {\n errors.sharebyemail = 'Please enter valid emails';\n }\n return errors;\n};\n\nexport default validate;\n","/* eslint-disable complexity */\n/* eslint-disable indent */\n/* eslint-disable no-nested-ternary */\n// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, FieldArray, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport moment from 'moment';\nimport { toast } from 'react-toastify';\nimport { useHistory } from 'react-router-dom';\nimport { capitalize } from 'lodash';\nimport \"./ToggleSwitch.scss\";\n// Helper Methods\nimport { getRoleStatusOptions, getTagsValue } from '../../utils/helperMethods';\n\n// Components\nimport { FormElems, Alert, GetTemplateFields } from '../';\n\nimport {\n DEFAULT_CURRENCY,\n validityOptions,\n} from '../../utils/constants/commonValues';\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\n\n// Actions\nimport {\n updatePayLinksRequest,\n updatePayLinksError,\n sharePayLinksRequest,\n sharePayLinksError,\n} from '../../containers/PaymentLink/redux/paymentLink.actions';\n\n// Validator\nimport validate from './validator';\n\n// Styles\nimport './viewEditPaymentPage.scss';\nimport { POST } from 'utils/fetchWrappers';\n\nconst ViewEditPaymentPage = props => {\n const {\n closePopup,\n paymentLinkData,\n handleSubmit,\n actionType,\n actions,\n data,\n formData,\n fetchData,\n resetPage,\n initialValues,\n } = props;\n const { updatePayLink, sharePay, templateDetails } = paymentLinkData;\n const history = useHistory();\n\n const { templateInfo } = data;\n console.log(\"🚀 ~ data:\", data,\"............\");\n const { template } = templateDetails;\n\n // Handle On Success of the update payment link.\n useEffect(() => {\n if (updatePayLink.isSuccess) {\n closePopup();\n fetchData({ pageIndex: 1, pageSize: 10 });\n resetPage();\n toast.info(SUCCESS_MESSAGES.UPDATE_DATA('Paylink'));\n }\n return () => {\n actions.updatePayLinksError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fetchData, updatePayLink.isSuccess]);\n\n // Handle On Success of the Share Payment Link.\n useEffect(() => {\n if (sharePay.isSuccess) {\n closePopup();\n fetchData({ pageIndex: 1, pageSize: 10 });\n resetPage();\n toast.info(SUCCESS_MESSAGES.SHARED_DATA('Payment Link'));\n }\n return () => {\n actions.sharePayLinksError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fetchData, sharePay.isSuccess]);\n\n // On View Transactions button action function.\n const onViewTransactions = event => {\n console.log(\"datadatadatadatadatadata\",data);\n event.preventDefault();\n const url = `payment-page/${data.linkId || 1}`;\n history.push(url);\n };\n\n // On Cancel/Close of the popup.\n const onCancel = event => {\n event.preventDefault();\n closePopup();\n };\n const [isActive, setIsActive] = useState(data.status);\n const [loading, setLoading] = useState(false);\n const toggleSwitch = async () => {\n if (loading) return; // Prevent multiple clicks\n setLoading(true); // Start loading\n const newStatus = isActive === \"ACTIVE\" ? \"INACTIVE\" : \"ACTIVE\";\n try {\n const response = await POST(\"/panel/api/v1/spg/payment/form/update/status\",\n { status: newStatus, id:data?.pageId }, // Sending new status\n );\n console.log(\"🚀 ~ toggleSwitch ~ response:\", response)\n if (response.status === 200) {\n setIsActive(newStatus); // Update switch state from API response\n setTimeout(() => {\n window.location.reload();\n }, 500);\n } else {\n console.error(\"Error:\", response);\n }\n } catch (error) {\n console.error(\"API Error:\", error);\n } finally {\n setLoading(false); // Stop loading\n }\n };\n\n // Handling of the form submit for the share and update payment link.\n function handleFormSubmit(formData) {\n if (isShareMode) {\n const reqPayload = {\n communicationDetails: {\n email:\n formData.sharebyemail &&\n getTagsValue(JSON.parse(formData.sharebyemail)),\n mobile:\n formData.sharebysms &&\n getTagsValue(JSON.parse(formData.sharebysms)),\n },\n linkDataId: data.linkDataId,\n };\n actions.sharePayLinksRequest(reqPayload);\n } else {\n const reqPayload = {\n linkDataId: data.linkDataId,\n linkDataStatus: formData.linkDataStatus,\n linkName: formData.linkName || data.linkName,\n remarks: formData.remarks,\n validityPeriod: parseInt(formData.validityPeriod, 10),\n };\n actions.updatePayLinksRequest(reqPayload);\n }\n }\n\n const isFormReadOnly = actionType === 'view';\n const isShareMode = actionType === 'share';\n\n\n return (\n \n {isFormReadOnly && !isShareMode ? (\n <>\n
    \n
    \n

    Status

    \n
    \n {isActive}\n
    \n
    \n {data.editedBy && (\n <>\n Last Edit :{' '}\n \n {data.editedBy || '-'},{' '}\n \n {moment(data.editedOn, 'DD/MM/YYYY')\n .calendar()\n .indexOf('Today') >= 0\n ? 'Today'\n : moment(\n data.editedOn,\n 'DD/MM/YYYY'\n )\n .calendar()\n .indexOf('Yesterday') >= 0\n ? 'Yesterday'\n : data.editedOn}\n \n )}\n
    \n
    \n
    \n
    \n

    Purpose

    \n

    {data.template?.systemDefineFields[0].defaultValue}

    \n
    \n
    \n
    \n

    Page ID

    \n

    {data.pageId}

    \n
    \n
    \n

    Created On

    \n

    {data.createdOn}

    \n
    \n
    \n

    Amount

    \n

    {data.amount}

    \n
    \n
    \n
    \n {/*
    \n

    Validity Period

    \n

    \n {data.validityPeriod} Days\n

    \n
    */}\n
    \n

    Valid Till

    \n

    {data.validTill || '-'}

    \n
    \n
    \n
    \n {\n console.log(isActive === 'ACTIVE' ? 'Active' : 'Inactive');\n toggleSwitch();\n } : undefined}\n >\n
    \n
    \n \n {loading ? \"Updating...\" : isActive}\n \n
    \n
    \n
    \n\n {/* Rendering product info only if the are template is set */}\n {data.productInfo && data.productInfo.length ? (\n
    \n
    \n

    Product Information

    \n
    \n
    \n ) : (\n <> \n )}\n {data.productInfo?.map((item, itemIndex) => {\n return (\n <>\n \n
    \n

    Serial No.

    \n

    \n {itemIndex + 1}\n

    \n
    \n
    \n

    Name

    \n

    \n {item.name}\n

    \n
    \n
    \n

    Amount

    \n

    \n {item.amount}\n

    \n
    \n
    \n

    Mandatory

    \n

    \n {item.isMandatory &&\n item.isMandatory.length\n ? 'Yes'\n : 'No'}\n

    \n
    \n \n \n );\n })}\n\n {data.productInfo && data.productInfo.length ? (\n
    \n ) : (\n <> \n )}\n\n {/* Rendering template info only if the are template is set */}\n {templateInfo && templateInfo.additionalInfo ? (\n
    \n
    \n

    Template Information

    \n
    \n
    \n ) : (\n <>\n )}\n\n {templateInfo && templateInfo.additionalInfo ? (\n <>\n
    \n {Object.keys(templateInfo.additionalInfo)?.map(\n (key, index) => {\n return (\n \n
    \n

    \n {capitalize(key)}\n

    \n

    \n {\n templateInfo\n .additionalInfo[\n key\n ]\n }\n

    \n
    \n \n );\n }\n )}\n
    \n
    \n \n ) : (\n <>\n )}\n {/*
    \n
    \n

    Comment

    \n

    {data.remarks || '-'}

    \n
    \n
    */}\n \n ) : isShareMode ? (\n <>\n
    \n
    \n

    Link name

    \n

    {data.linkName}

    \n
    \n
    \n

    Valid Period

    \n

    \n {data.validityPeriodView}\n

    \n
    \n
    \n
    \n
    \n

    Link ID

    \n

    {data.linkId}

    \n
    \n
    \n

    Amount

    \n

    {data.amountView}

    \n
    \n
    \n
    \n
    \n

    Share by SMS

    \n \n
    \n
    \n
    \n
    \n

    Share by Email

    \n \n
    \n
    \n \n ) : (\n <>\n
    \n
    \n

    Link Name

    \n \n
    \n
    \n
    \n
    \n

    Status

    \n \n
    \n
    \n {formData &&\n formData.values &&\n formData.values.productInfo &&\n formData.values.productInfo.length ? (\n
    \n \n
    \n ) : (\n <>\n )}\n\n {template && template.templateId ? (\n <>\n item.type !== 'hidden'\n )}\n isViewMode={true}\n />\n
    \n \n ) : (\n <>\n )}\n\n
    \n
    \n

    Amount

    \n \n
    \n
    \n

    Validity Period

    \n \n
    \n
    \n
    \n
    \n

    Remarks

    \n \n
    \n
    \n \n )}\n {updatePayLink.error && updatePayLink.error.errorMessage ? (\n {updatePayLink.error.errorMessage}\n ) : null}\n {sharePay.error && sharePay.error.errorMessage ? (\n {sharePay.error.errorMessage}\n ) : null}\n {!isShareMode ? (\n
    \n {actionType === 'view' ? (\n \n ) : (\n <>\n \n \n \n )}\n
    \n ) : (\n
    \n \n \n
    \n )}\n \n );\n};\n\nconst mapStateToProps = ({ auth, paymentLinkData, form }) => ({\n auth,\n paymentLinkData,\n formData: form['view-edit-paymentLink'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n updatePayLinksRequest,\n updatePayLinksError,\n sharePayLinksRequest,\n sharePayLinksError,\n },\n dispatch\n ),\n});\n\nconst multiProductDownLink = ({\n fields,\n meta: { error, submitFailed },\n auth,\n isViewMode,\n}) => {\n if (fields.length <= 0) {\n fields.push();\n }\n\n return (\n
    \n
    \n {fields.map((item, index) => (\n <>\n
    \n {!isViewMode && (\n fields.remove(index)}\n disabled={isViewMode}\n />\n )}\n
    \n

    Product Name

    \n \n
    \n
    \n

    Amount

    \n \n
    \n
    \n \n
    \n
    \n \n ))}\n
    \n
    \n {!isViewMode && (\n {\n fields.push();\n }}\n />\n )}\n
    \n
    \n );\n};\n\nmultiProductDownLink.propTypes = {\n fields: PropTypes.object,\n meta: PropTypes.object,\n auth: PropTypes.object,\n uniqueId: PropTypes.object,\n isViewMode: PropTypes.bool,\n};\n\nViewEditPaymentPage.propTypes = {\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n actionType: PropTypes.string,\n data: PropTypes.object,\n handleOpenActionPopup: PropTypes.func,\n paymentLinkData: PropTypes.object,\n actions: PropTypes.func,\n formData: PropTypes.object,\n updatePayLink: PropTypes.object,\n fetchData: PropTypes.object,\n resetPage: PropTypes.func,\n};\n\nexport default compose(\n reduxForm({\n form: 'view-edit-paymentLink',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(ViewEditPaymentPage);\n","import ViewEditPaymentPage from './ViewEditPaymentPage';\n\nexport default ViewEditPaymentPage;\n","import {\n STATUS_TYPE,\n validityOptions,\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction PaySummary(data) {\n const values = data && data.linkDataList && data.linkDataList[0];\n return (values && this.createRow(values)) || {};\n}\n\nPaySummary.prototype = Object.assign(PaySummary.prototype, {\n createRow(row) {\n const {\n amount,\n createdBy,\n createdDate,\n editedBy,\n editedOn,\n linkDataId,\n linkDataStatus,\n linkId,\n linkName,\n remarks,\n sharedCount,\n txnSuccessCount,\n validityPeriod,\n status,\n validTill,\n successCount,\n dataId,\n successSum\n } = row;\n return {\n amount: amount || '-',\n createdBy: createdBy || '-',\n createdOn: this.convertDateTime(createdDate),\n editedBy: editedBy || '-',\n editedOn: this.convertDate(editedOn),\n linkDataId: linkDataId || '-',\n status: this.getTransactionStatus(status),\n linkId: linkId || '-',\n linkName: linkName || '-',\n remarks: remarks || '-',\n sharedCount: sharedCount || '-',\n txnSuccessCount: txnSuccessCount || '-',\n validityPeriod,\n validTill: this.convertDateTime(validTill),\n successCount,\n dataId: dataId,\n successSum\n\n };\n },\n getTransactionStatus(status) {\n if (!status) {\n return '-';\n }\n return STATUS_TYPE[status];\n },\n getValidity(validityPeriod) {\n if (!validityPeriod) {\n return '-';\n }\n const values = validityOptions.filter(\n item => item.value === validityPeriod\n );\n return (values && values.length && values[0].name) || '-';\n },\n convertDate(date) {\n const dateFormat = parseInt(date, 10);\n const dateString = moment(dateFormat).format('DD/MM/YYYY');\n return dateString;\n },\n convertDateTime(date) {\n \n if (!date) return \"N/A\";\n \n let timestamp = parseInt(date);\n if (timestamp.toString().length === 10) {\n timestamp *= 1000; // Convert seconds to milliseconds\n }\n \n return new Date(timestamp).toLocaleString(\"en-IN\", { \n timeZone: \"UTC\", \n day: \"2-digit\", \n month: \"2-digit\", \n year: \"numeric\", \n hour: \"2-digit\", \n minute: \"2-digit\", \n hourCycle: \"h23\" // Ensures 24-hour format\n });\n }\n});\n\nexport default PaySummary;\n","// Libraries\nimport React, { useEffect, useState, useMemo, useCallback } from 'react';\nimport PropTypes from 'prop-types';\nimport { isEmpty } from 'lodash';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { useParams, useHistory } from 'react-router-dom';\nimport { DEFAULT_CURRENCY } from '../../utils/constants/commonValues';\nimport { getCommDetails } from '../../utils/helperMethods';\nimport { Popup, Table, TransactionForm } from '../';\nimport BackIcon from '../../static/images/left-arrow.png';\nimport {\n fetchPaymentsRequest,\n reSharePayLinksRequest,\n viewPayLinksRequest,\n} from '../../containers/PaymentPage/redux/paymentPage.actions';\nimport PaySummary from '../../containers/PaymentPage/models/PaySummery';\n\nimport './viewPayments.scss';\n\nconst ViewPaymentsActions = ({ viewPay, data, reSharePayLinksRequest }) => {\n // Get Communication details from data\n const commDetails = getCommDetails(data.original);\n const handleOpenActionPopup = actionType => {\n if (!isEmpty(commDetails)) {\n const request = {\n linkId: data.original.sharedLinkId,\n };\n reSharePayLinksRequest(request);\n }\n };\n\n return (\n
    \n handleOpenActionPopup('share')}\n />\n
    \n );\n};\n\nconst PaymentLinkHeader = props => {\n const { data, error, actions } = props;\n const payValues = new PaySummary(data);\n const history = useHistory();\n const { linkDataId } = useParams();\n\n // Handle Url change for payment link transaction view summary.\n useEffect(() => {\n const request = {\n linkDataId,\n };\n actions.viewPayLinksRequest(request);\n }, [actions, linkDataId]);\n\n const onBack = () => {\n history.push('/payment-page');\n };\n\n return (\n
    \n
    \n
    \n \n \"Back\"\n \n

    {payValues.dataId}

    \n \n
    \n
    \n {error && error.errorMessage ? (\n
    {error.errorMessage}
    \n ) : (\n
      \n
    • \n

      Page ID

      \n

      \n {payValues.dataId || '-'}\n

      \n
    • \n
    • \n

      Created On

      \n

      {payValues.createdOn}

      \n
    • \n
    • \n

      Valid Till

      \n

      \n {payValues.validTill || '-'}\n

      \n
    • \n
    • \n

      Success Amount

      \n

      \n {payValues.amount &&\n `${DEFAULT_CURRENCY} ${payValues.successSum}`}\n

      \n
    • \n
    • \n

      Success Count

      \n

      \n {payValues.successCount}\n

      \n
    • \n
    • \n

      Status

      \n

      \n \n {payValues.status}\n

      \n
    • \n
    \n )}\n
    \n );\n};\n\nconst TransactionsActions = ({\n data,\n statusData,\n fetchStatus,\n fetchData,\n fetchTxnError,\n getRefundTxnRequest,\n refundTxnData,\n resetRefunTxn,\n auth,\n raiseChargeBackRequest,\n}) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = () => {\n setShowFilter(false);\n setActionType(null);\n fetchTxnError({});\n resetRefunTxn();\n };\n return (\n
    \n
    \n );\n};\n\nconst ViewPayments = props => {\n const {\n paymentPageData,\n staticData,\n actions,\n tableFilters,\n filterData,\n loader: { showLoader },\n } = props;\n //console.log(\"🚀 ~ paymentPageData:\", paymentPageData)\n //console.log(\"🚀 ~ props:\", props)\n\n const {\n error,\n tableDataTxn,\n isLoading,\n paginationTxn,\n viewPay,\n } = paymentPageData;\n //console.log(\"🚀 ~ tableDataTxn:\", tableDataTxn)\n\n const { linkDataId } = useParams();\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [isResetPage, setIsResetPage] = useState(false);\n const [merchantId, setMerchantId] = useState(viewPay?.linkDataList?.[0]?.entityId);\n const pageSizeOptions = [10, 20, 40, 60];\n\n const columns = useMemo(\n () => [\n { header: 'Order ID', accessor: 'merchantTxnId' },\n { header: 'Date & Time', accessor: 'date' },\n { header: 'Amount ', accessor: 'amount' },\n { header: 'Transaction ID', accessor: 'transactionId' },\n { header: 'Payment Mode', accessor: 'txnMode' },\n { header: 'Status', accessor: 'status' },\n // { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n // Fetching table data for payment link transaction view table.\n const fetchDataPayments = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n const data = {\n pageSize,\n pageIndex,\n linkDataId,\n entityId: merchantId\n };\n actions.fetchPaymentsRequest({ ...data, ...filterData });\n setPageSize(pageSize);\n },\n [actions, filterData, linkDataId]\n );\n\n // Handle Pagination for the table\n useEffect(() => {\n setPageCount(Math.ceil(paginationTxn.totalNumberOfRecords / pageSize));\n }, [pageSize, paginationTxn.totalNumberOfRecords]);\n \n return (\n
    \n \n setIsResetPage(false)}\n tableFilters={tableFilters}\n />\n
    \n );\n};\n\nconst mapStateToProps = ({ auth, paymentPageData, loader, staticData }) => ({\n auth,\n paymentPageData,\n staticData,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchPaymentsRequest,\n reSharePayLinksRequest,\n viewPayLinksRequest,\n },\n dispatch\n ),\n});\n\nViewPayments.propTypes = {\n actions: PropTypes.object,\n handleSubmit: PropTypes.func,\n closePopup: PropTypes.func,\n data: PropTypes.object,\n filterData: PropTypes.string,\n paymentPageData: PropTypes.object,\n loader: PropTypes.object,\n staticData: PropTypes.object,\n tableFilters: PropTypes.node,\n};\n\nViewPaymentsActions.propTypes = {\n data: PropTypes.object,\n viewPay: PropTypes.object,\n staticData: PropTypes.object,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n reSharePayLinksRequest: PropTypes.func,\n};\n\nPaymentLinkHeader.propTypes = {\n data: PropTypes.object,\n actions: PropTypes.object,\n error: PropTypes.object,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ViewPayments);\n","import ViewPayments from './ViewPayments';\n\nexport default ViewPayments;\n","// Libraries\nimport { Header } from '../../components/';\nimport React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\n\n// Components\n\n// Styles\nimport './headerLayout.scss';\n\nconst HeaderLayout = ({ children }) => (\n \n
    \n
    {children}
    \n \n);\n\nHeaderLayout.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default HeaderLayout;\n","import HeaderLayout from './HeaderLayout';\n\nexport default HeaderLayout;\n","// Libraries\nimport HeaderLayout from '../HeaderLayout';\nimport { Sidebar } from '../../components';\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Layouts\n\n// Styles\nimport './sidebarLayout.scss';\n\nconst SidebarLayout = ({ children }) => (\n \n \n
    {children}
    \n
    \n);\n\nSidebarLayout.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default SidebarLayout;\n","import SidebarLayout from './SidebarLayout';\n\nexport default SidebarLayout;\n","const validate = values => {\n const errors = {};\n if (!values.emailId) {\n errors.emailId = 'Please enter your email address';\n }\n if (\n values.emailId &&\n !/^[A-Za-z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/.test(values.emailId)\n ) {\n errors.emailId = 'Please enter a valid email address';\n }\n if (!values.password) {\n errors.password = 'Please enter a password';\n }\n if (values.password && values.password.length > 127) {\n errors.password =\n 'Invalid password. Length greater than 127 characters.';\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport { HeaderLayout } from '../../layouts';\nimport { Card, Alert, FormElems, LoginFlowComps, Otp } from '../../components';\nimport { loginRequest, loginError } from '../../redux/common/auth/auth.actions';\nimport { getLoginRedirectPath } from '../../utils/helperMethods';\nimport loginImg from '../../static/images/loginimg.png';\nimport validate from './validator';\nimport React, { useEffect, useCallback, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { Link, useHistory } from 'react-router-dom';\nimport { Field, reduxForm } from 'redux-form';\n\n// Layouts\n\n// Components\n\n// Actions\n\n// Helper Methods\n\n// Images\n\n// Validator\n\n// Styles\nimport './login.scss';\n\nconst Login = props => {\n const { handleSubmit, actions, auth } = props;\n const { checkOtp } = auth;\n const history = useHistory();\n\n const getRedirectPath = useMemo(\n () =>\n getLoginRedirectPath(\n auth.resourceDetails.resources,\n auth.resourceDetails.permissions\n ),\n [auth.resourceDetails.resources, auth.resourceDetails.permissions]\n );\n\n const redirectPath = getRedirectPath;\n\n useEffect(() => {\n if (auth.isLoggedIn) {\n history.push(redirectPath);\n }\n }, [history, auth.isLoggedIn, redirectPath]);\n\n // Reset login error\n const resetLoginError = useCallback(() => {\n if (auth.loginError) {\n actions.loginError({ loginError: '' });\n }\n }, [actions, auth.loginError]);\n\n useEffect(() => {\n return () => {\n // Reset login error\n resetLoginError();\n };\n }, [resetLoginError]);\n\n /**\n * Called on login form submit\n *\n * @param {Object} values - Object of all form field values\n * @returns {undefined}\n */\n function handleLoginSubmit(values) {\n actions.loginRequest(values);\n }\n\n return (\n \n {!auth.isLoggedIn ? (\n <>\n {checkOtp ? (\n \n ) : (\n
    \n \n \n
    \n
    LOGIN
    \n \n
    \n

    \n Email ID\n

    \n \n
    \n
    \n

    \n Password\n

    \n \n \n Forgot?\n \n
    \n\n {auth.loginError && (\n \n {auth.loginError}\n \n )}\n\n
    \n \n
    \n \n
    \n \n
    \n
    \n )}\n \n ) : null}\n
    \n );\n};\n\nLogin.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n handleSubmit: PropTypes.func,\n};\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n loginRequest,\n loginError,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'login',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(Login);\n","import Login from './Login';\n\nexport default Login;\n","const validate = values => {\n const errors = {};\n if (!values.email) {\n errors.email = 'Please enter your email address';\n }\n if (\n values.email &&\n !/^[A-Za-z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/.test(values.email)\n ) {\n errors.email = 'Please enter a valid email address';\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport { HeaderLayout } from '../../layouts';\nimport { Card, Alert, FormElems, LoginFlowComps } from '../../components';\nimport {\n forgotPasswordRequest,\n forgotPasswordError,\n} from '../../redux/common/auth/auth.actions';\nimport { getLoginRedirectPath } from '../../utils/helperMethods';\nimport forgotImg from '../../static/images/forgotimg.png';\nimport validate from './validator';\nimport React, { useEffect, useCallback, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { Link, useHistory } from 'react-router-dom';\nimport { Field, reduxForm } from 'redux-form';\n\n// Layouts\n\n// Components\n\n// Actions\n\n// Helper Methods\n\n// Images\n\n// Validator\n\n// Styles\nimport './forgotPassword.scss';\n\nconst ForgotPassword = props => {\n const { handleSubmit, actions, auth } = props;\n\n const history = useHistory();\n\n const getRedirectPath = useMemo(\n () =>\n getLoginRedirectPath(\n auth.resourceDetails.resources,\n auth.resourceDetails.permissions\n ),\n [auth.resourceDetails.resources, auth.resourceDetails.permissions]\n );\n\n // const redirectPath =\n // location.state && location.state.from\n // ? location.state.from.pathname\n // : getRedirectPath;\n\n const redirectPath = getRedirectPath;\n\n useEffect(() => {\n if (auth.isLoggedIn) {\n history.push(redirectPath);\n }\n }, [history, auth.isLoggedIn, redirectPath]);\n\n // Reset forgot password error\n const resetForgotError = useCallback(() => {\n if (auth.forgotPasswordError) {\n actions.forgotPasswordError({\n forgotPasswordError: '',\n });\n }\n }, [actions, auth.forgotPasswordError]);\n\n useEffect(() => {\n return () => {\n // Reset forgot password error\n resetForgotError();\n };\n }, [resetForgotError]);\n\n /**\n * Called on login form submit\n *\n * @param {Object} values - Object of all form field values\n * @returns {undefined}\n */\n function handleForgotSubmit(values) {\n actions.forgotPasswordRequest(values);\n }\n\n return (\n \n {!auth.isLoggedIn && (\n
    \n \n \n
    \n
    FORGOT PASSWORD
    \n
    \n Enter your registered email Id to receive\n password reset link\n
    \n \n
    \n

    Email ID

    \n \n
    \n\n {auth.forgotPasswordError && (\n \n {auth.forgotPasswordError}\n \n )}\n\n
    \n \n Back to Login\n
    \n \n
    \n
    \n
    \n
    \n )}\n
    \n );\n};\n\nForgotPassword.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n handleSubmit: PropTypes.func,\n};\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n forgotPasswordRequest,\n forgotPasswordError,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'forgot-password',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(ForgotPassword);\n","import ForgotPassword from './ForgotPassword';\n\nexport default ForgotPassword;\n","const validate = values => {\n const errors = {};\n if (!values.newPassword) {\n errors.newPassword = 'Please enter a new password';\n }\n if (\n values.newPassword &&\n (!/^(?=.*?[a-z])(?=.*?[A-Z])(?=.*?[0-9])(?=.*?[\\W_]).*$/.test(\n values.newPassword\n ) ||\n values.newPassword.length < 8)\n ) {\n errors.newPassword =\n 'Please follow all mentioned rules to create a strong password';\n }\n if (values.newPassword && values.newPassword.length > 127) {\n errors.newPassword = 'Password cannot have more than 127 characters';\n }\n if (!values.confirmPassword) {\n errors.confirmPassword = 'Please confirm your password';\n }\n if (values.newPassword && values.confirmPassword) {\n if (values.confirmPassword !== values.newPassword) {\n errors.confirmPassword = \"Passwords don't match\";\n }\n }\n return errors;\n};\n\nexport default validate;\n","// Libraries\nimport { HeaderLayout } from '../../layouts';\nimport { Card, Alert, FormElems, LoginFlowComps } from '../../components';\nimport {\n resetPasswordRequest,\n resetPasswordError,\n markUserActiveRequest,\n} from '../../redux/common/auth/auth.actions';\nimport resetImg from '../../static/images/resetimg.png';\nimport greenTick from '../../static/images/green-tick-icon.png';\nimport validate from './validator';\nimport React, { useState, useEffect, useCallback } from 'react';\nimport PropTypes from 'prop-types';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { Link, useParams, useLocation } from 'react-router-dom';\nimport { Field, reduxForm } from 'redux-form';\n\n// Layouts\n\n// Components\n\n// Actions\n\n// Images\n\n// Validator\n\n// Styles\nimport './setPassword.scss';\n\nconst passwordRules = [\n {\n label: 'At least 8 characters',\n validator: str => {\n return str.length >= 8;\n },\n isValid: false,\n },\n {\n label: 'At least One uppercase',\n validator: str => {\n return /[A-Z]/.test(str);\n },\n isValid: false,\n },\n {\n label: 'At least One lowercase',\n validator: str => {\n return /[a-z]/.test(str);\n },\n isValid: false,\n },\n {\n label: 'At least one number',\n validator: str => {\n return /[0-9]/.test(str);\n },\n isValid: false,\n },\n {\n label: 'At least one special characters',\n validator: str => {\n return /[\\W_]/.test(str);\n },\n isValid: false,\n },\n];\n\nfunction useQueryParams() {\n return new URLSearchParams(useLocation().search);\n}\n\nconst SetPassword = props => {\n const { handleSubmit, actions, auth } = props;\n\n const [passwordRulesOpts, setPasswordRulesOpts] = useState(passwordRules);\n const [showStrengthTooltip, setShowStrengthTooltip] = useState(false);\n\n const { linkToken } = useParams();\n\n const pageType = useQueryParams().get('type');\n\n // Reset resetPasswordError error\n const resetError = useCallback(() => {\n if (auth.resetPasswordError) {\n actions.resetPasswordError({\n resetPasswordError: '',\n });\n }\n }, [actions, auth.resetPasswordError]);\n\n useEffect(() => {\n return () => {\n // Reset resetPasswordError error\n resetError();\n };\n }, [resetError]);\n\n useEffect(() => {\n actions.markUserActiveRequest({ linkToken });\n }, [actions, linkToken]);\n\n /**\n * Called on login form submit\n *\n * @param {Object} values - Object of all form field values\n * @returns {undefined}\n */\n function handleResetSubmit(values) {\n actions.resetPasswordRequest({\n linkToken,\n pageType,\n ...values,\n });\n }\n\n function onPassFieldBlur() {\n setShowStrengthTooltip(false);\n }\n\n function onPassFieldFocus() {\n setShowStrengthTooltip(true);\n }\n\n function onPassFieldChange(val) {\n const updatedRulesOpts = passwordRulesOpts.map(rule => ({\n ...rule,\n isValid: rule.validator(val),\n }));\n setPasswordRulesOpts(updatedRulesOpts);\n }\n\n return (\n \n
    \n \n \n
    \n
    \n {pageType === 'reset' ? 'Reset' : 'Set'}{' '}\n Password\n
    \n
    \n {pageType === 'reset'\n ? 'Reset your login password'\n : 'Create new password for login'}\n
    \n \n
    \n

    New Password

    \n \n
    \n {passwordRulesOpts.map(rule => (\n \n ))}\n
    \n {showStrengthTooltip && (\n
    \n Password Strength\n
      \n {passwordRulesOpts.map(rule => (\n \n
      \n {rule.isValid && (\n \n )}\n
      \n {rule.label}\n \n ))}\n
    \n
    \n )}\n
    \n
    \n

    Confirm Password

    \n \n
    \n\n {auth.resetPasswordError && (\n {auth.resetPasswordError}\n )}\n\n
    \n \n Back to Login\n
    \n \n
    \n
    \n
    \n
    \n
    \n );\n};\n\nSetPassword.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n handleSubmit: PropTypes.func,\n};\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n resetPasswordRequest,\n resetPasswordError,\n markUserActiveRequest,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'set-password',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(SetPassword);\n","import SetPassword from './SetPassword';\n\nexport default SetPassword;\n","/* eslint-disable complexity */\n/* eslint-disable indent */\n/* eslint-disable max-lines */\n/* eslint-disable react/prop-types */\n/* eslint-disable max-lines-per-function */\nimport {\n MerchantTab,\n IntegrationTab,\n PayModeTab,\n PGConfigTab,\n RoutingTab,\n SurchargeTab,\n NotificationTab,\n SettlementTab,\n KYCTab,\n} from '../../components';\nimport {\n getTimelineStatus,\n createSurchargeOptions,\n getDynamicBoolValues,\n getDynamicBoolFromArray,\n getBusinessSources,\n getBusinessSourcesToAccountTypeMapping,\n} from '../../utils/helperMethods';\nimport React from 'react';\nimport { orderBy, first } from 'lodash';\n\n// Components\n\n// Helpers\n\nconst baseUrl = '/mob/create/';\n\nconst formatPayModeInitialData = draftData => {\n if (draftData && draftData.data) {\n const paymentMode = draftData.data.paymentModeDetails || [];\n const creditCard = [];\n const debitCard = [];\n const netBanking = [];\n const upi = [];\n let debitCardBusinessSource = [];\n let creditCardBusinessSource = [];\n let upiBusinessSource = [];\n let upiAccountType = [];\n const wallets = [];\n const accountVerification = [];\n const emi = [];\n let emiBusinessSource = [];\n const mandateUpi = [];\n\n let vpa = '';\n paymentMode.forEach(item => {\n if (!item) {\n return;\n }\n if (item.paymentType === 'CC') {\n creditCard.push(item.paymentModeInfo);\n creditCardBusinessSource = item ? getBusinessSources(item) : [];\n }\n if (item.paymentType === 'DC') {\n debitCard.push(item.paymentModeInfo);\n debitCardBusinessSource = item ? getBusinessSources(item) : [];\n }\n if (item.paymentType === 'NB') {\n netBanking.push(item.paymentModeInfo);\n }\n if (item.paymentType === 'UPI' && item.category !== 'MANDATE') {\n upi.push(item.paymentModeInfo);\n vpa = item.paymentSubModeInfo;\n upiBusinessSource = item ? getBusinessSources(item) : [];\n\n upiAccountType = item.txnConfig\n ? getBusinessSourcesToAccountTypeMapping(item.txnConfig)\n : [];\n }\n\n if (item.paymentType === 'UPI' && item.category === 'MANDATE') {\n mandateUpi.push(item.paymentModeInfo);\n }\n\n if (item.paymentType === 'WALLET') {\n wallets.push(item.paymentModeInfo);\n }\n if (item.paymentType === 'ACCOUNT_VERIFICATION') {\n accountVerification.push(item.paymentModeInfo);\n }\n if (item.paymentType === 'EMI_CC') {\n emi.push(item.paymentModeInfo);\n emiBusinessSource = item ? getBusinessSources(item) : [];\n }\n });\n\n return {\n creditCard,\n debitCard,\n netBanking,\n upi,\n mandateUpi,\n debitCardBusinessSource,\n creditCardBusinessSource,\n upiBusinessSource,\n ...upiAccountType,\n wallets,\n accountVerification,\n emi,\n emiBusinessSource,\n paymentLinkEnabled: getDynamicBoolValues(\n draftData && draftData.data,\n 'paymentLinkEnabled'\n ),\n paymentPageEnabled: getDynamicBoolValues(\n draftData && draftData.data,\n 'paymentPageEnabled'\n ),\n voidCapability: getDynamicBoolValues(\n draftData && draftData.data,\n 'voidCapability'\n ),\n emiEnabled: getDynamicBoolValues(\n draftData && draftData.data,\n 'emiEnabled'\n ),\n vpa,\n isRefIdEnabled: draftData.data.isRefIdEnabled\n ? draftData.data.isRefIdEnabled\n : false,\n appId: draftData.data.appId,\n };\n }\n return {};\n};\nconst getDefaultSecurityValue = securityValue => {\n if (securityValue) {\n const allSelectedValues = [];\n const values = securityValue;\n if (typeof values === 'string' || values instanceof String) {\n return values;\n }\n for (const property in values) {\n if (Object.prototype.hasOwnProperty.call(values, property)) {\n if (values[property]) {\n allSelectedValues.push(property);\n }\n }\n }\n return first(allSelectedValues);\n }\n return '';\n};\n\nconst formatIntegrationInitialData = draftData => {\n if (draftData && draftData.data) {\n const draftDataValue = { ...draftData.data };\n draftDataValue.security = getDefaultSecurityValue(\n draftDataValue.security\n );\n return draftDataValue;\n }\n return {};\n};\n\n/**\n * Function to generate an onboarding process configuration based on provided fields and data.\n *\n * @param {Array} fields - An array of field objects representing the onboarding steps.\n * @param {Object} draftData - Data related to the onboarding process.\n * @param {string} routePath - The current route path for the onboarding process.\n * @param {Object} permissions - Object to which user have permission to\n * @returns {Array} - An array of onboarding process steps with configurations.\n */\nexport const onboardingProcess = (\n fields,\n draftData,\n routePath,\n data,\n permissions = {}\n) => {\n const merchantOnboardingPermissions = permissions.merchant_onboarding\n ? permissions.merchant_onboarding\n : [];\n\n // Define a list of onboarding process steps with their configurations.\n const processStepsList = [\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Merchant',\n sectionType: 'createMerchantSection',\n nextPath: `${baseUrl}integration`,\n path: `${baseUrl}merchant`,\n previousPath: '/mob',\n status: getTimelineStatus(\n draftData,\n routePath,\n 'createMerchantSection',\n `${baseUrl}merchant`\n ),\n tabId: 1,\n permission: 'create_merchant',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Integration',\n sectionType: 'integrationSection',\n nextPath: `${baseUrl}pay-mode`,\n path: `${baseUrl}integration`,\n previousPath: `${baseUrl}merchant`,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'integrationSection',\n `${baseUrl}integration`\n ),\n tabId: 2,\n permission: 'integration',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Payment Mode',\n sectionType: 'paymentModeSection',\n nextPath: `${baseUrl}settlement`,\n path: `${baseUrl}pay-mode`,\n previousPath: `${baseUrl}integration`,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'paymentModeSection',\n `${baseUrl}pay-mode`\n ),\n tabId: 3,\n permission: 'payment_mode',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Settlement',\n sectionType: 'settlementSection',\n nextPath: `${baseUrl}pg-conf`,\n path: `${baseUrl}settlement`,\n previousPath: `${baseUrl}pay-mode`,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'settlementSection',\n `${baseUrl}settlement`\n ),\n tabId: 4,\n permission: 'settlement',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n const { state } = draftData || {};\n return (\n \n );\n },\n name: 'Surcharge',\n sectionType: 'surchargeSection',\n nextPath: `${baseUrl}kyc`,\n path: `${baseUrl}surcharge`,\n previousPath: `${baseUrl}settlement`,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'surchargeSection',\n `${baseUrl}surcharge`\n ),\n tabId: 5,\n permission: 'surcharge',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'KYC',\n sectionType: 'kycSection',\n nextPath: `${baseUrl}pg-conf`,\n path: `${baseUrl}kyc`,\n previousPath: `${baseUrl}surcharge`,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'kycSection',\n `${baseUrl}kyc`\n ),\n tabId: 6,\n permission: 'kyc',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'PG Configuration',\n sectionType: 'pgConfigurationSection',\n nextPath: `${baseUrl}routing`,\n path: `${baseUrl}pg-conf`,\n previousPath: `${baseUrl}kyc`,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'pgConfigurationSection',\n `${baseUrl}pg-conf`\n ),\n tabId: 7,\n permission: 'pg_configuration',\n },\n\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Routing',\n sectionType: 'dynamicRoutingSection',\n nextPath: `${baseUrl}notification`,\n path: `${baseUrl}routing`,\n previousPath: `${baseUrl}pg-conf`,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'dynamicRoutingSection',\n `${baseUrl}routing`\n ),\n tabId: 8,\n permission: 'dynamic_routing',\n },\n\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Notification',\n sectionType: 'notificationSection',\n nextPath: null,\n path: `${baseUrl}notification`,\n previousPath: `${baseUrl}routing`,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'notificationSection',\n `${baseUrl}notification`\n ),\n tabId: 9,\n permission: 'notification',\n },\n ];\n\n const sortedField = orderBy(fields, ['order'], ['asc']).filter(\n field => field.mandatory\n );\n\n if (\n merchantOnboardingPermissions &&\n merchantOnboardingPermissions.length > 0\n ) {\n // eslint-disable-next-line array-callback-return\n let sortedFieldMapped = sortedField.map((item, index) => {\n const sectionData = processStepsList.find(\n section => section.sectionType === item.sectionType\n );\n if (\n sectionData &&\n merchantOnboardingPermissions?.includes(sectionData.permission)\n ) {\n if (sectionData.sectionType === item.sectionType) {\n const previousIndex = index - 1;\n const nextIndex = index + 1;\n if (previousIndex >= 0) {\n const previousSectionData =\n processStepsList[previousIndex];\n sectionData.previousPath = previousSectionData.path;\n } else {\n sectionData.nextPath = null;\n }\n if (nextIndex < sortedField.length && nextIndex >= 0) {\n const nextSectionData = processStepsList[nextIndex];\n if (nextSectionData) {\n sectionData.nextPath = nextSectionData.path;\n } else {\n sectionData.nextPath = null;\n }\n } else {\n sectionData.nextPath = null;\n }\n }\n\n return { ...item, ...sectionData };\n }\n });\n\n sortedFieldMapped = sortedFieldMapped.filter(function(element) {\n return element !== undefined;\n });\n\n if (sortedFieldMapped && sortedFieldMapped.length > 0) {\n sortedFieldMapped[sortedFieldMapped.length - 1].nextPath = null;\n }\n\n return sortedFieldMapped;\n }\n return [];\n};\n\nconst baseUrlEdit = '/mob/draft/';\nconst baseUrlView = '/mob/draft/view/';\n\nexport const onboardingProcessEdit = (\n fields,\n merchantId,\n isViewMode,\n permissions\n) => {\n const merchantOnboardingPermissions =\n permissions && permissions.merchant_onboarding\n ? permissions.merchant_onboarding\n : [];\n\n const processStepsList = [\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Merchant',\n sectionType: 'createMerchantSection',\n path: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }merchant/${merchantId}`,\n previousPath: '/mob',\n status: 'Complete',\n nextPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }integration/${merchantId}`,\n tabId: 1,\n permission: 'create_merchant',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Integration',\n sectionType: 'integrationSection',\n path: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }integration/${merchantId}`,\n previousPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }merchant/${merchantId}`,\n status: 'Complete',\n nextPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }pay-mode/${merchantId}`,\n tabId: 2,\n permission: 'integration',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Payment Mode',\n sectionType: 'paymentModeSection',\n path: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }pay-mode/${merchantId}`,\n previousPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }integration/${merchantId}`,\n status: 'Complete',\n nextPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }settlement/${merchantId}`,\n tabId: 3,\n permission: 'payment_mode',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Settlement',\n sectionType: 'settlementSection',\n path: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }settlement/${merchantId}`,\n previousPath: '/pay-mode',\n status: 'Complete',\n nextPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }surcharge/${merchantId}`,\n tabId: 4,\n permission: 'settlement',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Surcharge',\n sectionType: 'surchargeSection',\n path: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }surcharge/${merchantId}`,\n previousPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }settlement/${merchantId}`,\n status: 'Complete',\n nextPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }kyc/${merchantId}`,\n tabId: 5,\n permission: 'surcharge',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'KYC',\n sectionType: 'kycSection',\n path: `${isViewMode ? baseUrlView : baseUrlEdit}kyc/${merchantId}`,\n previousPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }surcharge/${merchantId}`,\n status: 'Complete',\n nextPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }pg-conf/${merchantId}`,\n tabId: 6,\n permission: 'kyc',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'PG Configuration',\n sectionType: 'pgConfigurationSection',\n path: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }pg-conf/${merchantId}`,\n previousPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }kyc/${merchantId}`,\n status: 'Complete',\n nextPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }routing/${merchantId}`,\n tabId: 7,\n permission: 'pg_configuration',\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Routing',\n sectionType: 'dynamicRoutingSection',\n path: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }routing/${merchantId}`,\n previousPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }pg-conf/${merchantId}`,\n status: 'Complete',\n nextPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }notification/${merchantId}`,\n tabId: 8,\n permission: 'dynamic_routing',\n },\n\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Notification',\n sectionType: 'notificationSection',\n path: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }notification/${merchantId}`,\n previousPath: `${\n isViewMode ? baseUrlView : baseUrlEdit\n }routing/${merchantId}`,\n status: 'Complete',\n nextPath: null,\n tabId: 9,\n permission: 'notification',\n },\n ];\n\n const sortedField = orderBy(fields, ['order'], ['asc']).filter(\n field => field.mandatory\n );\n\n if (\n merchantOnboardingPermissions &&\n merchantOnboardingPermissions.length > 0\n ) {\n let sortedFieldMapped = sortedField.map((item, index) => {\n const sectionData = processStepsList.find(\n section => section.sectionType === item.sectionType\n );\n if (\n sectionData &&\n merchantOnboardingPermissions?.includes(sectionData.permission)\n ) {\n if (sectionData.sectionType === item.sectionType) {\n const previousIndex = index - 1;\n const nextIndex = index + 1;\n if (previousIndex >= 0) {\n const previousSectionData =\n processStepsList[previousIndex];\n sectionData.previousPath = previousSectionData.path;\n } else {\n sectionData.nextPath = null;\n }\n if (nextIndex < sortedField.length && nextIndex >= 0) {\n const nextSectionData = processStepsList[nextIndex];\n sectionData.nextPath = nextSectionData.path;\n } else {\n sectionData.nextPath = null;\n }\n }\n return { ...item, ...sectionData };\n }\n });\n\n sortedFieldMapped = sortedFieldMapped.filter(function(element) {\n return element !== undefined;\n });\n\n if (sortedFieldMapped && sortedFieldMapped.length > 0) {\n sortedFieldMapped[sortedFieldMapped.length - 1].nextPath = null;\n }\n\n return sortedFieldMapped;\n }\n return [];\n};\n","// Components\nimport { Timeline, BreadCrumb } from '../../components';\n\nimport { resetSavedPgs } from '../../containers/MerchantOnboard/redux/pgConfig/pgConfig.actions';\nimport { setEntityDataSuccess } from '../../containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\nimport { onboardingProcess } from './timelineSteps';\n\n// Actions\nimport { fetchFormInProcessRequest } from './redux/merchantOnBoard.actions';\n\n// Libraries\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Switch, Route } from 'react-router-dom';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\n\nconst getDraftData = (draftData, sectionType) => {\n const filteredData =\n draftData &&\n draftData.length &&\n draftData.find(section => section.type === sectionType);\n\n return filteredData;\n};\n\nconst CreateMerchant = ({ data, actions, draftData, history, permissions }) => {\n const {\n timeline: { fields },\n uniqueIdentifier: { isInEditMode },\n } = data;\n const { location } = history;\n\n const onBoardSteps = onboardingProcess(\n fields,\n draftData,\n location.pathname,\n data,\n permissions\n );\n const completedSection =\n onBoardSteps && onBoardSteps.filter(item => item.status === 'Complete');\n const lastSelected =\n completedSection.length &&\n completedSection[completedSection.length - 1];\n\n useEffect(() => {\n // Show dialog on explicit route leave\n actions.resetSavedPgs({});\n actions.setEntityDataSuccess({\n aggregator: '',\n franchise: '',\n mle: '',\n });\n function unloadRoute(event) {\n event.returnValue = 'Changes that you made may not be saved.';\n }\n\n window.addEventListener('beforeunload', unloadRoute);\n return () => {\n window.removeEventListener('beforeunload', unloadRoute);\n };\n }, [actions]);\n\n useEffect(() => {\n // Send merchant dashboard when trying to access directly\n if (\n draftData &&\n draftData.length === 0 &&\n location.pathname !== '/mob/create/merchant'\n ) {\n history.replace('/mob');\n }\n }, [draftData, history, location.pathname]);\n\n useEffect(() => {\n if (!lastSelected) {\n return;\n }\n if (lastSelected.nextPath) {\n history.push(lastSelected.nextPath);\n } else {\n history.push(lastSelected.path);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n
    \n
    \n

    Create merchant

    \n \n
    \n
    \n
    \n \n
    \n
    \n \n {onBoardSteps.map(tab => (\n \n {tab.component({\n ...tab,\n draftData: getDraftData(\n draftData,\n tab.sectionType\n ),\n onBoardSteps,\n isInEditMode,\n allDraftData: draftData,\n })}\n \n ))}\n \n
    \n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ loader }) => ({\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchFormInProcessRequest,\n resetSavedPgs,\n setEntityDataSuccess,\n },\n dispatch\n ),\n});\n\nCreateMerchant.propTypes = {\n data: PropTypes.object.isRequired,\n actions: PropTypes.object,\n draftData: PropTypes.array,\n history: PropTypes.object,\n permissions: PropTypes.object,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CreateMerchant);\n","// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Switch, Route } from 'react-router-dom';\nimport { last } from 'lodash';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\n\n// Components\nimport { Timeline, BreadCrumb } from '../../components';\n\n// Actions\nimport {\n getMerchantInfoRequest,\n fetchPgConfigDetailsRequest,\n fetchRouterDetailsRequest,\n fetchSurchargeDetailsRequest,\n setEntityDataSuccess,\n} from '../MerchantOnboard/redux/editMerchant/editMerchant.actions';\n\nimport { resetSavedPgs } from '../../containers/MerchantOnboard/redux/pgConfig/pgConfig.actions';\n\nimport { onboardingProcessEdit } from './timelineSteps';\n\nconst getDraftData = (editData, sectionType) => {\n const filteredData =\n editData &&\n editData.length &&\n editData.find(section => section.type === sectionType);\n return filteredData;\n};\n\nconst EditViewMerchant = ({\n data,\n actions,\n editData,\n merchantData,\n history: { location },\n permissions,\n}) => {\n const { timeline } = data;\n const { fields } = timeline;\n const merchantId = last(location.pathname.split('/'));\n const isViewMode = location.pathname.split('/').includes('view');\n const [onBoardSteps, setOnBoardSteps] = useState(\n onboardingProcessEdit(fields, merchantId, isViewMode, permissions)\n );\n useEffect(() => {\n // Show dialog on explicit route leave\n actions.resetSavedPgs({});\n actions.setEntityDataSuccess({\n aggregator: '',\n franchise: '',\n mle: '',\n });\n }, [actions]);\n\n useEffect(() => {\n const onBoardSteps = onboardingProcessEdit(\n fields,\n merchantId,\n isViewMode,\n permissions\n );\n setOnBoardSteps(onBoardSteps);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [editData, fields, permissions]);\n\n const isInEditMode = true;\n return (\n
    \n
    \n

    Edit merchant

    \n \n
    \n
    \n
    \n \n
    \n
    \n \n {onBoardSteps.map(tab => (\n \n {tab.component({\n ...tab,\n draftData: getDraftData(\n editData,\n tab.sectionType\n ),\n onBoardSteps,\n isInEditMode,\n })}\n \n ))}\n \n
    \n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ loader, merchantData }) => ({\n loader,\n merchantData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n getMerchantInfoRequest,\n fetchPgConfigDetailsRequest,\n fetchRouterDetailsRequest,\n fetchSurchargeDetailsRequest,\n setEntityDataSuccess,\n resetSavedPgs,\n },\n dispatch\n ),\n});\nEditViewMerchant.propTypes = {\n data: PropTypes.object.isRequired,\n actions: PropTypes.object,\n merchantData: PropTypes.object,\n editData: PropTypes.array,\n history: PropTypes.object,\n permissions: PropTypes.object,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(EditViewMerchant);\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\n\n// Images\nimport greyTickIcon from '../../static/images/grey-tick-icon.png';\nimport { AuthResource } from 'components';\n\nconst UserActionsMob = ({\n data,\n actionType,\n history,\n isEditOnly,\n onSetId,\n tableType,\n reduxActions,\n}) => {\n const handleEditView = actionType => {\n const { email } = data.original;\n onSetId(email);\n if (isEditOnly) {\n history.push(`/mob/create/merchant`);\n } else {\n const { entityCode } = data.original;\n if (actionType === 'edit') {\n history.push(`/mob/draft/merchant/${entityCode}`);\n } else if (actionType === 'view') {\n history.push(`/mob/draft/view/merchant/${entityCode}`);\n }\n }\n };\n\n const handleRetryClick = () => {\n const formDetails = data.original;\n const request = {\n formIdentifier: formDetails.email,\n };\n reduxActions.retryFailedMerchantFormRequest(request);\n };\n\n return (\n
    \n {tableType !== 'inactive' ? (\n <>\n \n handleEditView('edit')}\n />\n \n {tableType !== 'draft' && (\n handleEditView('view')}\n />\n )}\n \n ) : (\n <>\n handleEditView('edit')}\n disabled={!data.original.isEditMode}\n />\n \n )}\n
    \n );\n};\n\nUserActionsMob.propTypes = {\n actionType: PropTypes.string,\n data: PropTypes.object.isRequired,\n history: PropTypes.object,\n isEditOnly: PropTypes.bool,\n onSetId: PropTypes.func,\n tableType: PropTypes.string,\n reduxActions: PropTypes.object,\n};\n\nexport default withRouter(UserActionsMob);\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\n\n// Components\nimport { FormElems } from '../../components';\n\nconst DraftAction = ({ data, actionType, history }) => {\n const handleDraftClick = actionType => {\n history.push(`/mob/draft`);\n };\n\n return (\n
    \n \n
    \n );\n};\n\nDraftAction.propTypes = {\n actionType: PropTypes.string,\n data: PropTypes.object.isRequired,\n history: PropTypes.object,\n};\n\nexport default withRouter(DraftAction);\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\n\n// Components\nimport { FormElems } from '../../components';\n\nconst InactiveAction = ({ data, actionType, history }) => {\n const handleInactiveClick = actionType => {\n history.push(`/mob/inactive`);\n };\n\n return (\n
    \n \n
    \n );\n};\n\nInactiveAction.propTypes = {\n actionType: PropTypes.string,\n data: PropTypes.object.isRequired,\n history: PropTypes.object,\n};\n\nexport default withRouter(InactiveAction);\n","// Components\n// components\nimport { FormElems } from '../../components';\n\n// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\n\nconst BDInprogressAction = ({ data, actionType, history }) => {\n const handleInactiveClick = actionType => {\n history.push(`/mob/bd/inprogress`);\n };\n return (\n
    \n \n
    \n );\n};\n\nBDInprogressAction.propTypes = {\n actionType: PropTypes.string,\n data: PropTypes.object.isRequired,\n history: PropTypes.object,\n};\n\nexport default withRouter(BDInprogressAction);\n","/* eslint-disable max-lines-per-function */\n// Libraries\n\n// Layouts\n\n// Components\nimport { Table, TableFilter, BreadCrumb } from '../../components';\n\n// Helper\nimport { getFormData, getDraftTableData } from '../../utils/helperMethods';\n\n// Constants\nimport { FORM_TYPE } from '../../utils/constants/commonValues';\n\n// Actions\nimport {\n fetchEntityRequest,\n fetchFormDetailsRequest,\n fetchFormInProcessRequest,\n setUniqueIdentifierRequest,\n fetchSurchargeSlabsRequest,\n fetchPaymentModesRequest,\n retryFailedMerchantFormRequest,\n resetRetryFormStore,\n fetchBDInprogressMerchantRequest,\n} from './redux/merchantOnBoard.actions';\n\nimport { fetchPgConfigRequest } from './redux/pgConfig/pgConfig.actions';\n\n// Local Components\nimport CreateMerchant from './CreateMerchant';\nimport EditViewMerchant from './EditViewMerchant';\nimport UserActionsMob from './UserActionsMob';\nimport DraftAction from './DraftAction';\nimport InactiveAction from './InactiveAction';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport { Switch, Route, withRouter } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\n\n// Styles\nimport './merchantOnboard.scss';\nimport BDInprogressAction from './BDInprogressAction';\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {},\n },\n {\n fieldType: 'input',\n label: 'Merchant ID',\n name: 'merchantId',\n props: {\n placeholder: 'Enter ID',\n },\n },\n {\n fieldType: 'select',\n label: 'Status',\n name: 'status',\n props: {\n placeholder: 'Status',\n data: [\n { name: \"Active\", value: \"ACTIVE\" },\n { name: \"Inactive\", value: \"INACTIVE\" },\n { name: \"Inactive with settlement\", value: \"INACTIVE_WITH_SETTLEMENT\" }\n ],\n labelField: \"name\",\n valueField: \"value\"\n },\n },\n];\n\nconst setEditData = (editData, merchantData) => {\n const {\n uniqueIdentifier: { uniqueId },\n } = merchantData;\n const formattedEditData = {\n type: FORM_TYPE.MERCHANT_ON_BOARD,\n uniqueIdentifier: uniqueId,\n sections: editData.sections,\n };\n return [formattedEditData];\n};\n\nconst MerchantOnboard = props => {\n const {\n merchantData,\n history,\n match,\n actions,\n loader: { showLoader },\n editData,\n auth,\n } = props;\n\n const {\n error,\n tableData,\n isLoading,\n pagination,\n uniqueIdentifier: { uniqueId },\n formInProcess,\n } = merchantData;\n\n // Extract 'permissions' directly from 'auth' and 'resourceDetails' objects.\n const {\n resourceDetails: { permissions },\n } = auth;\n\n const { forms } = formInProcess;\n\n const handleCreateMerchant = () => {\n actions.setUniqueIdentifierRequest('', false);\n history.push('/mob/create/merchant');\n };\n\n const columns = useMemo(\n () => [\n { header: 'Merchant Name', accessor: 'name' },\n { header: 'Merchant ID', accessor: 'entityCode' },\n { header: 'AXIS MID', accessor: 'axisAcquiredMerchantId' },\n { header: 'Created Date', accessor: 'createdDate' },\n { header: 'Mode', accessor: 'mode' },\n { header: 'Status', accessor: 'status' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const columnsDraft = useMemo(\n () => [\n { header: 'Merchant Name', accessor: 'name' },\n { header: 'Email ID', accessor: 'merchantIdentifier' },\n { header: 'AXIS MID', accessor: 'axisAcquiredMerchantId' },\n { header: 'Created Date', accessor: 'createdOn' },\n { header: 'Mode', accessor: 'keyMode' },\n { header: 'Status', accessor: 'status' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const columnsInactive = useMemo(\n () => [\n { header: 'Merchant Name', accessor: 'name' },\n { header: 'Merchant ID', accessor: 'entityCode' },\n { header: 'AXIS MID', accessor: 'axisAcquiredMerchantId' },\n { header: 'Created Date', accessor: 'createdDate' },\n { header: 'Verification Status', accessor: 'verificationStatus' },\n { header: 'Status', accessor: 'status' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n useEffect(() => {\n actions.fetchFormDetailsRequest();\n actions.fetchPaymentModesRequest();\n actions.fetchPgConfigRequest();\n actions.fetchSurchargeSlabsRequest();\n }, [actions]);\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n\n const [pageCount, setPageCount] = useState(0);\n const [roleStatus, setRoleStatus] = useState('');\n const [filterData, setFilterData] = useState({});\n const [isResetPage, setIsResetPage] = useState(false);\n const [pageSize, setPageSize] = useState(10);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex, roleStatus }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const data = { pageSize, pageIndex, roleStatus, sort: 'name' };\n actions.fetchEntityRequest({ ...data, ...filterData });\n setPageSize(pageSize);\n },\n [actions, filterData]\n );\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const fetchDataDraft = useCallback(\n ({ pageSize, pageIndex, roleStatus }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n actions.fetchFormInProcessRequest();\n },\n [actions]\n );\n\n const fetchInactiveData = useCallback(\n ({ pageSize, pageIndex, roleStatus }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const data = {\n pageSize,\n pageIndex,\n roleStatus,\n sort: 'name',\n status: 'in:3',\n };\n actions.fetchBDInprogressMerchantRequest({\n ...data,\n ...filterData,\n });\n setPageSize(pageSize);\n },\n [actions, filterData]\n );\n\n useEffect(() => {\n if (merchantData.retryForm.isSuccess) {\n fetchInactiveData({ pageIndex: 1, pageSize: 10 });\n setIsResetPage(true);\n actions.resetRetryFormStore();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [merchantData.retryForm.isSuccess]);\n\n const handleBackClick = () => {\n history.push('/mob');\n fetchData({ pageSize: 10, pageIndex: 1, roleStatus: '' });\n };\n\n const handleEditId = value => {\n actions.setUniqueIdentifierRequest(value || '', true);\n };\n\n return (\n
    \n \n \n setIsResetPage(false)}\n userActions={data => (\n \n )}\n pagePerView={3}\n additionalActions={props => (\n <>\n \n \n {/* */}\n \n )}\n tableFilters={\n {\n setFilterData(filterValues);\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n tableActionPopup={null}\n />\n \n \n setIsResetPage(false)}\n fetchData={fetchDataDraft}\n numberOfRecord={\n pagination && pagination.totalNumberOfRecords\n }\n pageSizeOptions={pageSizeOptions}\n paginationLabel=\"Rows per page\"\n onClickTableAction={handleCreateMerchant}\n setRoleStatus={setRoleStatus}\n userActions={data => (\n \n )}\n additionalActions={null}\n tableSubSection={props => (\n \n )}\n pagePerView={3}\n tableActionPopup={null}\n />\n \n {/* The inactive tab has been migrated to the in-progress tab in the latest version. Therefore, this route and associated UI code for the inactive tab are currently commented out. */}\n {/* \n setIsResetPage(false)}\n fetchData={fetchInactiveData}\n numberOfRecord={\n pagination && pagination.totalNumberOfRecords\n }\n pageSizeOptions={pageSizeOptions}\n paginationLabel=\"Rows per page\"\n onClickTableAction={handleCreateMerchant}\n setRoleStatus={setRoleStatus}\n userActions={data => (\n \n )}\n additionalActions={null}\n tableSubSection={props => (\n \n )}\n pagePerView={3}\n tableActionPopup={null}\n />\n */}\n \n setIsResetPage(false)}\n fetchData={fetchInactiveData}\n numberOfRecord={\n pagination && pagination.totalNumberOfRecords\n }\n pageSizeOptions={pageSizeOptions}\n paginationLabel=\"Rows per page\"\n onClickTableAction={handleCreateMerchant}\n setRoleStatus={setRoleStatus}\n userActions={data => (\n \n )}\n additionalActions={null}\n tableSubSection={props => (\n \n )}\n pagePerView={3}\n tableActionPopup={null}\n />\n \n\n \n \n \n \n \n \n \n \n \n \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, merchantData, form, loader, editData }) => ({\n auth,\n merchantData,\n form,\n loader,\n editData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchEntityRequest,\n fetchFormDetailsRequest,\n fetchFormInProcessRequest,\n setUniqueIdentifierRequest,\n fetchPaymentModesRequest,\n fetchPgConfigRequest,\n fetchSurchargeSlabsRequest,\n retryFailedMerchantFormRequest,\n resetRetryFormStore,\n fetchBDInprogressMerchantRequest,\n },\n dispatch\n ),\n});\n\nMerchantOnboard.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n history: PropTypes.object,\n match: PropTypes.object,\n merchantData: PropTypes.object,\n editData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nexport default withRouter(\n connect(mapStateToProps, mapDispatchToProps)(MerchantOnboard)\n);\n","import MerchantOnboard from './MerchantOnboard';\n\nexport default MerchantOnboard;\n","// Libraries\nimport { FormElems } from '../../components';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\n\n// Components\n\nconst PendingVerification = ({ data, actionType, history, url }) => {\n const handlePendingVerification = actionType => {\n history.push(url);\n };\n\n return (\n
    \n \n
    \n );\n};\n\nPendingVerification.propTypes = {\n actionType: PropTypes.string,\n data: PropTypes.object.isRequired,\n history: PropTypes.object,\n url: PropTypes.string,\n};\n\nexport default withRouter(PendingVerification);\n","/* eslint-disable camelcase */\n// Libraries\nimport {\n Table,\n TableFilter,\n RoleViewEditForm,\n CreateRoleForm,\n BreadCrumb,\n Popup,\n RoleMakerView,\n} from '../../components';\nimport { getRoleStatusOptions } from '../../utils/helperMethods';\nimport {\n fetchRolesRequest,\n getMakersDetailsRequest,\n getAllResourcePermissionsRequest,\n} from './redux/roleManagement.actions';\nimport PendingVerification from './PendingVerification';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { useHistory, Switch, Route } from 'react-router-dom';\n\n// Layouts\n\n// Components\n\n// Actions\n\n// Styles\nimport './roleManagement.scss';\n\nconst resourceDetailToFormData = data => {\n if (data && data.resourceDetail) {\n let result = { subPermissions: {} };\n\n data.resourceDetail.forEach(item => {\n result[item.resourceName] = item.permissionDetail.map(\n permission => permission.permissionId\n );\n\n item.permissionDetail.forEach(permission => {\n if (permission.subPermissionDetails) {\n result['subPermissions'][\n permission.permissionName\n ] = permission.subPermissionDetails.map(\n permission => permission.permissionId\n );\n }\n });\n });\n\n result.roleName = data.roleName;\n result.roleStatus = data?.roleStatus?.toUpperCase();\n\n return result;\n }\n\n return {};\n};\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {},\n },\n {\n fieldType: 'input',\n label: 'Created By',\n name: 'createdBy',\n props: {\n placeholder: 'Enter Name',\n },\n },\n {\n fieldType: 'radio',\n label: 'Status',\n name: 'status',\n props: {\n options: getRoleStatusOptions(),\n placeholder: 'Select Status',\n label: 'Select Status',\n labelField: 'label',\n valueField: 'value',\n },\n },\n];\n\nconst UserActionsRole = ({ data, fetchData, resetPage }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n\n const { original } = data;\n\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = () => {\n setShowFilter(false);\n setActionType(null);\n };\n return (\n
    \n handleOpenActionPopup('edit')}\n />\n handleOpenActionPopup('view')}\n />\n \n \n \n
    \n );\n};\n\nconst RoleManagementActionsMaker = ({ data, fetchData, resetPage }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n\n const { original } = data;\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n setActionType(null);\n if (isFetch && !isFetch.target) {\n fetchData({\n pageIndex: 1,\n pageSize: 10,\n status: 'UNDER_APPROVAL',\n });\n resetPage();\n }\n };\n return (\n
    \n handleOpenActionPopup('view')}\n />\n \n \n \n
    \n );\n};\n\nconst RoleManagement = props => {\n const {\n roleManagementData,\n actions,\n loader: { showLoader },\n } = props;\n\n const {\n error,\n tableData,\n makerData,\n makerPagination,\n isLoading,\n pagination,\n allResourcePermissionDetails,\n } = roleManagementData;\n\n const history = useHistory();\n\n useEffect(() => {\n if (\n !allResourcePermissionDetails ||\n allResourcePermissionDetails.length === 0\n ) {\n actions.getAllResourcePermissionsRequest();\n }\n }, [actions, allResourcePermissionDetails]);\n\n const [showFilter, setShowFilter] = useState(false);\n const [filterData, setFilterData] = useState({});\n\n const handleCreateRole = () => {\n setShowFilter(true);\n };\n\n const handleCloseCreateRole = () => {\n setShowFilter(false);\n };\n\n const columns = useMemo(\n () => [\n { header: 'Role Name', accessor: 'roleName' },\n { header: 'Created Date', accessor: 'roleCreationDate' },\n { header: 'Created By', accessor: 'roleCreatedByName' },\n { header: 'Status', accessor: 'roleStatus' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const pendingColumns = useMemo(\n () => [\n { header: 'Role Name', accessor: 'roleName' },\n { header: 'Date', accessor: 'roleCreatedDate' },\n {\n header: 'Request User',\n accessor: 'roleCreatedUpdatedName',\n },\n { header: 'Request Type', accessor: 'lastActions' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const handleBackClick = () => {\n history.push('/rolemanagement');\n };\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [roleStatus, setRoleStatus] = useState('');\n const [isResetPage, setIsResetPage] = useState(false);\n const [pageSize, setPageSize] = useState(10);\n const [pageSizeMaker, setPageSizeMaker] = useState(10);\n const [pageCountMaker, setPageCountMaker] = useState(0);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex, roleStatus }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const data = {\n pageSize,\n pageIndex,\n roleStatus,\n sort: 'roleCreationDate',\n };\n actions.fetchRolesRequest({ ...data, ...filterData });\n setPageSize(pageSize);\n },\n [actions, filterData]\n );\n\n const fetchDataMaker = useCallback(\n ({ pageSize, pageIndex, roleStatus }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const request = {\n resultPerPage: pageSize,\n page: pageIndex,\n status: 'UNDER_APPROVAL',\n };\n actions.getMakersDetailsRequest(request);\n setPageSizeMaker(pageSize);\n },\n [actions]\n );\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n useEffect(() => {\n if (makerPagination) {\n setPageCountMaker(\n Math.ceil(makerPagination.totalNumberOfRecords / pageSizeMaker)\n );\n } else {\n setPageCountMaker(0);\n }\n }, [makerPagination, makerPagination.totalNumberOfRecords, pageSizeMaker]);\n\n return (\n
    \n \n \n setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n additionalActions={props => (\n \n )}\n tableFilters={\n {\n setFilterData(filterValues);\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n tableActionPopup={\n \n \n \n }\n />\n \n \n setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n tableSubSection={props => (\n \n )}\n />\n \n \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, roleManagementData, loader }) => ({\n auth,\n roleManagementData,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n getMakersDetailsRequest,\n fetchRolesRequest,\n getAllResourcePermissionsRequest,\n },\n dispatch\n ),\n});\n\nRoleManagement.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n history: PropTypes.object,\n match: PropTypes.object,\n roleManagementData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nUserActionsRole.propTypes = {\n data: PropTypes.object,\n fetchData: PropTypes.object,\n resetPage: PropTypes.func,\n};\n\nRoleManagementActionsMaker.propTypes = {\n data: PropTypes.object,\n fetchData: PropTypes.object,\n resetPage: PropTypes.func,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(RoleManagement);\n","import RoleManagement from './RoleManagement';\n\nexport default RoleManagement;\n","// Libraries\n\n// Layouts\n\n// Components\nimport {\n Table,\n TableFilter,\n Popup,\n CreateUserForm,\n UserEditViewForm,\n UserMakerView,\n BreadCrumb,\n} from '../../components';\nimport PendingVerification from '../RoleManagement/PendingVerification';\n\n// Constants\nimport {\n USER_STATUS_UPDATED,\n USER_LEVEL,\n} from '../../utils/constants/commonValues';\n\n// Actions\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport {\n fetchUserRequest,\n getAllRolesRequest,\n getUserMakersDetailsRequest,\n} from './redux/userManagement.actions';\nimport { useHistory, Switch, Route } from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\n// Styles\nimport './userManagement.scss';\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {},\n },\n {\n fieldType: 'input',\n label: 'Created By',\n name: 'createdBy',\n props: {\n placeholder: 'Enter Name',\n },\n },\n {\n fieldType: 'input',\n label: 'Role',\n name: 'role',\n props: {\n placeholder: 'Enter Name',\n },\n },\n {\n fieldType: 'select',\n label: 'User Level',\n name: 'userLevel',\n props: {\n data: (function() {\n const options = [];\n for (const key in USER_LEVEL) {\n if (Object.prototype.hasOwnProperty.call(USER_LEVEL, key)) {\n const value = USER_LEVEL[key];\n options.push({\n name: value,\n value: key,\n });\n }\n }\n return options;\n })(),\n label: 'Select User Level',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Status',\n name: 'status',\n props: {\n data: (function() {\n const options = [];\n for (const key in USER_STATUS_UPDATED) {\n if (\n Object.prototype.hasOwnProperty.call(\n USER_STATUS_UPDATED,\n key\n )\n ) {\n const value = USER_STATUS_UPDATED[key];\n options.push({\n name: value,\n value: key,\n });\n }\n }\n return options;\n })(),\n label: 'Select status',\n labelField: 'name',\n valueField: 'value',\n },\n },\n];\n\nconst UserManagementActions = ({ data, fetchData, resetPage }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n\n const { original } = data;\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n setActionType(null);\n if (isFetch && !isFetch.target) {\n fetchData({\n pageIndex: 1,\n pageSize: 10,\n });\n resetPage();\n }\n };\n return (\n
    \n handleOpenActionPopup('edit')}\n />\n handleOpenActionPopup('view')}\n />\n \n \n \n
    \n );\n};\n\nconst UserManagementActionsMaker = ({ data, fetchData, resetPage }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n\n const { original } = data;\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n setActionType(null);\n if (isFetch && !isFetch.target) {\n fetchData({\n pageIndex: 1,\n pageSize: 10,\n status: 'UNDER_APPROVAL',\n });\n resetPage();\n }\n };\n return (\n
    \n handleOpenActionPopup('view')}\n />\n \n \n \n
    \n );\n};\n\nconst UserManagement = props => {\n const {\n userManagementData,\n actions,\n loader: { showLoader },\n } = props;\n\n const {\n error,\n tableData,\n makerData,\n makerPagination,\n isLoading,\n pagination,\n } = userManagementData;\n\n useEffect(() => {\n actions.getAllRolesRequest();\n }, [actions]);\n\n const [showFilter, setShowFilter] = useState(false);\n const [filterData, setFilterData] = useState({});\n const [isResetPage, setIsResetPage] = useState(false);\n\n const handleCreateUser = () => {\n setShowFilter(true);\n };\n\n const handleCloseCreateUser = () => {\n setShowFilter(false);\n };\n\n const columns = useMemo(\n () => [\n { header: 'User Name', accessor: 'name' },\n { header: 'Email', accessor: 'email' },\n { header: 'Created Date', accessor: 'userCreatedDate' },\n { header: 'Created By', accessor: 'userCreatedByName' },\n { header: 'Status', accessor: 'userStatus' },\n { header: 'Role', accessor: 'userRoleName' },\n { header: 'User Level', accessor: 'userLevel' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const pendingColumns = useMemo(\n () => [\n { header: 'User Name', accessor: 'name' },\n { header: 'Email', accessor: 'email' },\n { header: 'Date', accessor: 'userCreatedDate' },\n {\n header: 'Request User',\n accessor: 'userCreatedUpdatedName',\n },\n { header: 'Request Type', accessor: 'lastActions' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [pageSizeMaker, setPageSizeMaker] = useState(10);\n const [pageCountMaker, setPageCountMaker] = useState(0);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const data = {\n pageSize,\n pageIndex,\n };\n actions.fetchUserRequest({ ...data, ...filterData });\n setPageSize(pageSize);\n },\n [actions, filterData]\n );\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const fetchDataMaker = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const request = {\n resultPerPage: pageSize,\n page: pageIndex,\n status: 'UNDER_APPROVAL',\n };\n actions.getUserMakersDetailsRequest(request);\n setPageSizeMaker(pageSize);\n },\n [actions]\n );\n\n useEffect(() => {\n if (makerPagination) {\n setPageCountMaker(\n Math.ceil(makerPagination.totalNumberOfRecords / pageSizeMaker)\n );\n } else {\n setPageCountMaker(0);\n }\n }, [makerPagination, makerPagination.totalNumberOfRecords, pageSizeMaker]);\n\n const history = useHistory();\n\n const handleBackClick = () => {\n history.push('/usermanagement');\n };\n\n return (\n
    \n \n \n setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n additionalActions={props => (\n \n )}\n tableFilters={\n {\n setFilterData(filterValues);\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n tableActionPopup={\n \n \n \n }\n />\n \n \n setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n tableSubSection={props => (\n \n )}\n />\n \n \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, userManagementData, loader }) => ({\n auth,\n userManagementData,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n fetchUserRequest,\n getUserMakersDetailsRequest,\n getAllRolesRequest,\n },\n dispatch\n ),\n});\n\nUserManagement.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n history: PropTypes.object,\n match: PropTypes.object,\n userManagementData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nUserManagementActions.propTypes = {\n data: PropTypes.object,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n};\n\nUserManagementActionsMaker.propTypes = {\n data: PropTypes.object,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(UserManagement);\n","import UserManagement from './UserManagement';\n\nexport default UserManagement;\n","const FETCH_VERIFIED_USER_REQUEST = 'FETCH_VERIFIED_USER_REQUEST';\nconst FETCH_VERIFIED_USER_SUCCESS = 'FETCH_VERIFIED_USER_SUCCESS';\nconst FETCH_VERIFIED_USER_ERROR = 'FETCH_VERIFIED_USER_ERROR';\nconst HIDE_VERIFIED_USER_LOADER = 'HIDE_VERIFIED_USER_LOADER';\nconst SHOW_VERIFIED_USER_LOADER = 'SHOW_VERIFIED_USER_LOADER';\n\nexport {\n FETCH_VERIFIED_USER_REQUEST,\n FETCH_VERIFIED_USER_SUCCESS,\n FETCH_VERIFIED_USER_ERROR,\n HIDE_VERIFIED_USER_LOADER,\n SHOW_VERIFIED_USER_LOADER,\n};\n","import {\n FETCH_VERIFIED_USER_REQUEST,\n FETCH_VERIFIED_USER_SUCCESS,\n FETCH_VERIFIED_USER_ERROR,\n HIDE_VERIFIED_USER_LOADER,\n SHOW_VERIFIED_USER_LOADER,\n} from './userVerification.constants';\n\nexport const fetchVerifiedUserRequest = payload => ({\n type: FETCH_VERIFIED_USER_REQUEST,\n payload,\n});\n\nexport const fetchVerifiedUserSuccess = payload => ({\n type: FETCH_VERIFIED_USER_SUCCESS,\n payload,\n});\n\nexport const fetchVerifiedUserError = payload => ({\n type: FETCH_VERIFIED_USER_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_VERIFIED_USER_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_VERIFIED_USER_LOADER });\n","// Libraries\n\n// Layouts\n\n// Components\nimport { Table, Popup, UserVerificationForm, Checkers } from '../../components';\n\n// Constants\nimport {\n INPROCESS,\n APPROVED,\n REJECTED,\n} from '../../components/Table/table.constants';\nimport { STATUS_MAP } from '../../utils/constants/commonValues';\n\n// Actions\nimport { fetchVerifiedUserRequest } from './redux/userVerification.actions';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\n\n// Styles\nimport './userVerification.scss';\n\nconst UserVerificationActions = ({\n data,\n roleStatus,\n fetchData,\n resetPage,\n}) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n setActionType(null);\n if (isFetch && !isFetch.target) {\n fetchData({\n pageIndex: 1,\n pageSize: 10,\n roleStatus,\n });\n resetPage();\n }\n };\n return (\n
    \n
    \n );\n};\n\nconst UserVerification = props => {\n const {\n userVerificationData,\n actions,\n loader: { showLoader },\n } = props;\n\n const { error, tableData, isLoading, pagination } = userVerificationData;\n\n const columns = useMemo(\n () => [\n { header: 'Username', accessor: 'name' },\n { header: 'Email', accessor: 'email' },\n { header: 'Date', accessor: 'userCreatedDate' },\n { header: 'Request User', accessor: 'userCreatedUpdate' },\n { header: 'Request Type', accessor: 'lastActions' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [roleStatus, setRoleStatus] = useState(INPROCESS);\n const [isResetPage, setIsResetPage] = useState(false);\n const [pageSize, setPageSize] = useState(10);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex, roleStatus }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const request = {\n resultPerPage: pageSize,\n page: pageIndex,\n status: STATUS_MAP[roleStatus],\n };\n actions.fetchVerifiedUserRequest(request);\n setPageSize(pageSize);\n },\n [actions]\n );\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n return (\n
    \n \n }\n data={tableData}\n error={error && error.errorMessage}\n loading={showLoader || isLoading}\n roleStatus={roleStatus}\n pageCount={pageCount}\n fetchData={fetchData}\n numberOfRecord={pagination.totalNumberOfRecords}\n pageSizeOptions={pageSizeOptions}\n paginationLabel=\"Rows per page\"\n setRoleStatus={role => {\n setRoleStatus(role);\n setIsResetPage(true);\n }}\n pagePerView={3}\n isResetPage={isResetPage}\n afterResetPage={() => setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n />\n
    \n );\n};\n\nconst mapStateToProps = ({ auth, userVerificationData, loader }) => ({\n auth,\n userVerificationData,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchVerifiedUserRequest,\n },\n dispatch\n ),\n});\n\nUserVerification.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n userVerificationData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nUserVerificationActions.propTypes = {\n data: PropTypes.object,\n roleStatus: PropTypes.string,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(UserVerification);\n","import UserVerification from './UserVerification';\n\nexport default UserVerification;\n","import React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { isEmpty } from 'lodash';\nimport { validators } from '../../utils/validators';\n\nimport { FormElems, Alert } from '../../components';\n\nconst DownloadFile = props => {\n const {\n actions,\n filterData,\n showDownloadPopup,\n setShowDownloadPopup,\n tableData,\n handleSubmit,\n untouch,\n change,\n generateData,\n } = props;\n const handleOpenActionPopup = actionType => {\n setShowDownloadPopup(!showDownloadPopup);\n };\n\n useEffect(() => {\n if (generateData.isSuccess) {\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generateData.isSuccess]);\n\n const handleCloseOpenActionPopup = () => {\n setShowDownloadPopup(false);\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n };\n\n const handleGenerateSubmit = values => {\n actions.generateReportRequest({\n reportFileName: values.fileName,\n ...filterData,\n });\n };\n useEffect(() => {\n return () => {\n handleCloseOpenActionPopup();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (\n
    \n \n {showDownloadPopup ? (\n <>\n \n
    \n
    \n \n
    \n
    \n

    \n Enter any name for download file\n

    \n \n
    \n
    \n {isEmpty(filterData.createdOn) ? (\n \n Please select a data range\n \n ) : isEmpty(tableData) ? (\n \n No data available\n \n ) : null}\n
    \n \n
    \n \n
    \n
    \n \n ) : null}\n
    \n );\n};\n\nDownloadFile.propTypes = {\n actions: PropTypes.object,\n filterData: PropTypes.object,\n tableData: PropTypes.object,\n showDownloadPopup: PropTypes.bool,\n setShowDownloadPopup: PropTypes.func,\n handleSubmit: PropTypes.func,\n change: PropTypes.func,\n untouch: PropTypes.func,\n generateData: PropTypes.object,\n};\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n\n if (REQUIRED(values) || REQUIRED(values.fileName)) {\n errors.fileName = 'Please enter a File Name';\n }\n if (values.fileName && values.fileName.length > 25) {\n errors.fileName = 'Max 25 character are allowed in filename';\n }\n const isValid = /^[A-Za-z0-9\\d\\-_\\s]+$/i.test(values.fileName);\n if (!isValid) {\n errors.fileName =\n 'Only numbers, letters, - & _ are allowed in filename';\n }\n if (!/^\\S+$/.test(values.fileName)) {\n errors.fileName = 'Spaces not allowed in filename';\n }\n return errors;\n};\n\nexport default reduxForm({\n form: 'downloadFile',\n enableReinitialize: true,\n validate,\n destroyOnUnmount: false,\n})(DownloadFile);\n","/* eslint-disable react-hooks/exhaustive-deps */\n// Libraries\nimport { setEntityDataSuccess } from 'containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\nimport {\n fetchEntityHierarchyRequest,\n fetchEntityListRequest,\n} from 'containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\nimport React, {\n useMemo,\n useState,\n useCallback,\n useEffect,\n useRef,\n} from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport moment from 'moment';\n\n// Layouts\n\n// Components\n\n// Constants\n\n// Actions\n\n// Styles\nimport './transactions.scss';\nimport { raiseChargeBackRequest } from 'containers/Chargeback/redux/chargeback.actions';\nimport {\n ADMIN_ONLY_TRANSACTION_TYPE,\n ENTITY_TYPE,\n TRANSACTION_TYPE,\n} from '../../utils/constants/commonValues';\nimport {\n Table,\n TableFilter,\n Popup,\n TransactionForm,\n ViewDownloadStatus,\n TableSearch,\n FormElems,\n} from '../../components';\nimport { PAYMENT_MODE } from './constant';\nimport {\n fetchTransactionsRequest,\n generateReportRequest,\n generateReportError,\n fetchTransactionsStatusRequest,\n fetchTransactionsStatusError,\n getRefundTxnRequest,\n resetRefunTxn,\n} from './redux/transactions.actions';\nimport DownloadFile from './DownloadFile';\n\nlet filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {\n startDate: moment()\n .endOf('day')\n .subtract(1, 'days'),\n endDate: moment().endOf('day'),\n maximumNights: 30,\n notResetDate: true,\n },\n },\n\n {\n fieldType: 'search-select',\n label: 'Aggregator Name',\n name: 'aggregatorId',\n props: {\n data: [],\n label: 'Select Aggregator',\n labelField: 'name',\n valueField: 'entityCode',\n entityType: 'AGGREGATOR',\n },\n },\n {\n fieldType: 'search-select',\n label: 'Merchant Name',\n name: 'merchantName',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'name',\n valueField: 'entityCode',\n entityType: 'MERCHANT_NAME',\n },\n },\n {\n fieldType: 'search-select',\n label: 'Merchant ID',\n name: 'merchantId',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'entityCode',\n valueField: 'entityCode',\n entityType: 'MERCHANT',\n },\n },\n\n {\n fieldType: 'parallel-input',\n label: 'Amount',\n fieldA: {\n name: 'minAmt',\n props: {\n placeholder: 'Min. Amount',\n type: 'number',\n },\n },\n fieldB: {\n name: 'maxAmt',\n props: {\n placeholder: 'Max. Amount',\n type: 'number',\n },\n },\n },\n {\n fieldType: 'search-select',\n label: 'Transaction Mode',\n name: 'transactionModes',\n props: {\n data: PAYMENT_MODE,\n label: 'Select Payment Mode',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'checkbox',\n label: 'Transaction Type',\n name: 'transactionTypes',\n props: {\n options: (() => {\n const options = [];\n for (const key in TRANSACTION_TYPE) {\n if (\n Object.prototype.hasOwnProperty.call(\n TRANSACTION_TYPE,\n key\n )\n ) {\n const value = TRANSACTION_TYPE[key];\n options.push({\n name: value,\n value: key,\n });\n }\n }\n return options;\n })(),\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'checkbox',\n label: 'Transaction Status',\n name: 'transactionStates',\n props: {\n options: [\n {\n name: 'Success',\n value: 'SUCCESS',\n },\n {\n name: 'Failed',\n value: 'FAILED',\n },\n {\n name: 'Pending',\n value: 'PENDING',\n },\n ],\n labelField: 'name',\n valueField: 'value',\n },\n },\n];\n\nconst searchKeyList = [\n {\n name: 'FCPG TXN ID',\n value: 'TRANSACTION_ID',\n },\n {\n name: 'Merchant Order ID',\n value: 'ENTITY_ORDER_ID',\n },\n {\n name: 'Merchant TXN ID',\n value: 'ENTITY_TXN_ID',\n },\n {\n name: 'RRN',\n value: 'RRN',\n },\n {\n name: 'Terminal ID',\n value: 'TERMINAL_ID',\n },\n];\n\nconst TransactionsActions = ({\n data,\n statusData,\n fetchStatus,\n fetchData,\n fetchTxnError,\n getRefundTxnRequest,\n refundTxnData,\n resetRefunTxn,\n auth,\n raiseChargeBackRequest,\n}) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = () => {\n setShowFilter(false);\n setActionType(null);\n fetchTxnError({});\n resetRefunTxn();\n };\n return (\n
    \n
    \n );\n};\n\nconst setMerchantFilter = (\n fieldsList,\n underlyingMerchant,\n entityList,\n selectedAggregator,\n handleSearchEnd\n) => {\n const { merchants = [] } = entityList;\n if (selectedAggregator) {\n fieldsList.forEach(element => {\n if (element.name === 'merchantId') {\n element.props.data = merchants;\n element.props.handleSearchEnd = handleSearchEnd;\n }\n });\n return fieldsList;\n }\n\n if (underlyingMerchant.length) {\n fieldsList.forEach(element => {\n if (\n element.name === 'merchantId' ||\n element.name === 'merchantName'\n ) {\n element.props.data = underlyingMerchant;\n element.props.handleSearchEnd = handleSearchEnd;\n }\n });\n return fieldsList;\n }\n return fieldsList;\n};\n\nconst setAggregatorFilter = (fieldsList, entityList, handleSearchEnd) => {\n const { aggregator = [] } = entityList;\n if (aggregator.length) {\n fieldsList.forEach(element => {\n if (element.name === 'aggregatorId') {\n element.props.data = aggregator;\n element.props.handleSearchEnd = handleSearchEnd;\n }\n });\n return fieldsList;\n }\n return fieldsList;\n};\n\n// eslint-disable-next-line max-statements\nconst Transactions = props => {\n const {\n transactionData,\n actions,\n // staticData,\n loader: { showLoader },\n merchantData,\n auth,\n } = props;\n\n const {\n error,\n tableData,\n isLoading,\n pagination,\n generatedFile,\n activeReports,\n statusData,\n refundTxnData,\n } = transactionData;\n\n const { entityList } = merchantData;\n // const { underlyingMerchant } = staticData;\n const [filterData, setFilterData] = useState({ isLive: true });\n\n // useState for DropDown\n const [searchKey, setSearchKey] = useState('TERMINAL_ID');\n const [searchValue, setSearchValue] = useState('');\n\n const { userLevel, associatedEntityId } = auth.userDetails;\n\n const columns = useMemo(\n () => [\n { header: 'Terminal ID', accessor: 'terminalId' },\n { header: 'Merchant Name', accessor: 'merchantName' },\n { header: 'Merchant ID', accessor: 'merchantId' },\n { header: 'Merchant TXN ID', accessor: 'orderId' },\n { header: 'Date & Time', accessor: 'transactionDateAndTime' },\n { header: 'Amount', accessor: 'transactionAmount' },\n { header: 'Payment mode', accessor: 'paymentMode' },\n { header: 'Type', accessor: 'transactionType' },\n { header: 'Instrument Information', accessor: 'instrumentInfo' },\n { header: 'Status', accessor: 'transactionStatus' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [isResetPage, setIsResetPage] = useState(false);\n const [showFilter, setShowFilter] = useState(false);\n const [showDownloadPopup, setShowDownloadPopup] = useState(false);\n const selectedAggregator = useRef(null);\n\n const handleViewDownloads = () => {\n setShowFilter(true);\n };\n\n const handleCloseViewDownloads = () => {\n setShowFilter(false);\n };\n\n const handleAggregatorSelect = useCallback(\n entityCode => {\n selectedAggregator.current = entityCode;\n if (!entityCode) {\n // used to rerender so all merchant visible\n setFilterData({\n createdOn: filterData.createdOn,\n });\n return;\n }\n actions.fetchEntityHierarchyRequest(\n entityCode,\n 'LOWER_COMPLETE',\n 'AGGREGATOR_TXN'\n );\n },\n [actions]\n );\n\n useEffect(() => {\n // get all aggregator\n actions.fetchEntityListRequest(ENTITY_TYPE.AGGREGATOR);\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT);\n // add onchange listener to aggregator\n filterFieldList.forEach(filter => {\n if (filter.name === 'aggregatorId') {\n filter.props.onChange = handleAggregatorSelect;\n }\n });\n }, [actions, handleAggregatorSelect]);\n\n useEffect(() => {\n if (generatedFile.isSuccess) {\n setShowFilter(true);\n setShowDownloadPopup(false);\n }\n return () => {\n actions.generateReportError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generatedFile.isSuccess]);\n\n // remove filters for specific users\n useEffect(() => {\n // if not admin remove aggregator\n if (userLevel && userLevel !== 'ADMIN') {\n filterFieldList = filterFieldList.filter(\n filter => filter.name !== 'aggregatorId'\n );\n }\n // if merchant remove merchant\n if (userLevel && userLevel === 'MERCHANT') {\n filterFieldList = filterFieldList.filter(\n filter => filter.name !== 'merchantId'\n );\n }\n // if not admin remove rollback and pay delayed\n if (userLevel && userLevel !== 'ADMIN') {\n filterFieldList = filterFieldList.map(filter => {\n if (filter.name === 'transactionTypes') {\n filter.props = {\n options: (() => {\n const options = [];\n for (const key in TRANSACTION_TYPE) {\n if (\n Object.prototype.hasOwnProperty.call(\n TRANSACTION_TYPE,\n key\n )\n ) {\n const value = TRANSACTION_TYPE[key];\n if (\n userLevel !== 'ADMIN' &&\n ADMIN_ONLY_TRANSACTION_TYPE.includes(\n value\n )\n ) {\n continue;\n }\n options.push({\n name: value,\n value: key,\n });\n }\n }\n return options;\n })(),\n labelField: 'name',\n valueField: 'value',\n };\n }\n\n return filter;\n });\n }\n }, [userLevel]);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const data = {\n pageSize,\n pageIndex,\n };\n if (\n filterData.createdOn &&\n Object.keys(filterData.createdOn).length &&\n userLevel\n ) {\n // for aggregator show split txn in default view\n if (userLevel === 'AGGREGATOR' && !filterData.merchantIds) {\n actions.fetchTransactionsRequest({\n ...data,\n ...filterData,\n merchantIds: [associatedEntityId],\n searchKey: searchValue ? searchKey : null,\n searchValue: searchValue ? searchValue : null,\n });\n } else if (searchValue) {\n actions.fetchTransactionsRequest({\n ...data,\n searchKey,\n searchValue,\n });\n } else {\n actions.fetchTransactionsRequest({\n ...data,\n ...filterData,\n });\n }\n }\n setPageSize(pageSize);\n },\n [\n actions,\n associatedEntityId,\n filterData,\n userLevel,\n searchKey,\n searchValue,\n ]\n );\n\n useEffect(() => {\n if (userLevel) {\n // for aggregator request only when auth data is present\n fetchData({ pageIndex: 0, pageSize: 10 });\n }\n }, [userLevel]);\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const handleSearchSubmit = () => {\n if (searchValue) {\n actions.fetchTransactionsRequest({\n searchKey,\n searchValue,\n });\n } else {\n actions.fetchTransactionsRequest({\n createdOn: filterData.createdOn,\n });\n }\n };\n\n const handleSearchEnd = (value, entityType) => {\n const type = entityType === 'MERCHANT_NAME' ? 'MERCHANT' : entityType;\n const filtered =\n entityList[type.toLowerCase()]?.filter(item => {\n const key = entityType === 'MERCHANT' ? 'entityCode' : 'name';\n return item[key]?.toLowerCase().includes(value.toLowerCase());\n }) || [];\n\n const data = {\n entityName: ['MERCHANT_NAME', 'AGGREGATOR'].includes(entityType)\n ? value\n : '',\n entityCode: !['MERCHANT_NAME', 'AGGREGATOR'].includes(entityType)\n ? value\n : '',\n };\n\n if (filtered.length === 0 && value.length >= 3) {\n actions.fetchEntityListRequest(type, data);\n }\n };\n\n let filters = setMerchantFilter(\n filterFieldList,\n entityList.merchant || [],\n entityList,\n selectedAggregator.current,\n handleSearchEnd\n );\n filters = setAggregatorFilter(filterFieldList, entityList, handleSearchEnd);\n\n const filterSubmitHandler = filterValues => {\n const { aggregatorId, merchantId, merchantName } = filterValues;\n delete filterValues.merchantIds;\n let merchantIds = [];\n if (aggregatorId) {\n merchantIds.push(aggregatorId);\n }\n if (merchantId) {\n merchantIds.push(merchantId);\n }\n if (merchantName) {\n merchantIds.push(merchantName);\n }\n if (merchantIds.length) {\n merchantIds = [...new Set(merchantIds)];\n filterValues.merchantIds = merchantIds;\n }\n setFilterData({ ...filterValues, isLive: filterData.isLive });\n setIsResetPage(true);\n };\n\n const liveModeChange = values => {\n setFilterData({ ...filterData, isLive: !filterData.isLive });\n };\n\n return (\n
    \n setIsResetPage(false)}\n onClickTableAction={handleViewDownloads}\n tableSearch={\n
    \n
    \n liveModeChange(val)}\n isChecked={filterData.isLive}\n />\n
    \n
    \n setSearchKey(val)}\n />\n \n
    \n
    \n }\n userActions={data => (\n \n )}\n additionalActions={() => (\n \n )}\n tableActionPopup={\n \n \n \n }\n tableFilters={\n {\n filterSubmitHandler(filterValues);\n }}\n onReset={resetValue => {\n setFilterData({\n isLive: filterData.isLive,\n ...resetValue,\n });\n selectedAggregator.current = null;\n setIsResetPage(true);\n }}\n />\n }\n />\n
    \n );\n};\n\nconst mapStateToProps = ({\n auth,\n transactionData,\n loader,\n staticData,\n merchantData,\n}) => ({\n auth,\n transactionData,\n loader,\n staticData,\n merchantData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchTransactionsRequest,\n fetchTransactionsStatusRequest,\n generateReportRequest,\n generateReportError,\n fetchTransactionsStatusError,\n setEntityDataSuccess,\n fetchEntityListRequest,\n fetchEntityHierarchyRequest,\n getRefundTxnRequest,\n resetRefunTxn,\n raiseChargeBackRequest,\n },\n dispatch\n ),\n});\n\nTransactions.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n transactionData: PropTypes.object,\n staticData: PropTypes.object,\n loader: PropTypes.object,\n merchantData: PropTypes.object.isRequired,\n};\n\nTransactionsActions.propTypes = {\n data: PropTypes.object,\n auth: PropTypes.object,\n statusData: PropTypes.object,\n refundTxnData: PropTypes.object,\n roleStatus: PropTypes.string,\n fetchData: PropTypes.func,\n fetchStatus: PropTypes.func,\n fetchTxnError: PropTypes.func,\n getRefundTxnRequest: PropTypes.func,\n resetRefunTxn: PropTypes.func,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Transactions);\n","export const PAYMENT_MODE = [\n {\n name: 'Debit Card',\n value: 'DC',\n },\n {\n name: 'Credit Card',\n value: 'CC',\n },\n {\n name: 'Net Banking',\n value: 'NB',\n },\n {\n name: 'UPI',\n value: 'UPI',\n },\n {\n name: 'Wallet',\n value: 'WALLET',\n },\n {\n name: 'Verification',\n value: 'VERIFICATION',\n },\n {\n name: 'EMI',\n value: 'EMI_CC',\n },\n];\n","import Transactions from './Transactions';\n\nexport default Transactions;\n","import React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { isEmpty } from 'lodash';\nimport { validators } from '../../utils/validators';\n\nimport { FormElems, Alert } from '../../components';\n\nconst DownloadFile = props => {\n const {\n actions,\n filterData,\n showDownloadPopup,\n setShowDownloadPopup,\n tableData,\n handleSubmit,\n untouch,\n change,\n generateData,\n handleViewDownloads,\n } = props;\n const handleOpenActionPopup = actionType => {\n setShowDownloadPopup(!showDownloadPopup);\n };\n\n useEffect(() => {\n if (generateData.isSuccess) {\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generateData.isSuccess]);\n\n const handleCloseOpenActionPopup = () => {\n setShowDownloadPopup(false);\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n };\n\n const handleGenerateSubmit = values => {\n console.log(values, \"VALUES\");\n actions.generateReportRequest({\n reportFileName: values.fileName,\n ...filterData,\n handleViewDownloads,\n });\n };\n useEffect(() => {\n return () => {\n handleCloseOpenActionPopup();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (\n
    \n \n {showDownloadPopup ? (\n <>\n \n
    \n
    \n \n
    \n
    \n

    \n Enter any name for download file\n

    \n \n
    \n
    \n {isEmpty(filterData.createdOn) ? (\n \n Please select a data range\n \n ) : isEmpty(tableData) ? (\n \n No data available\n \n ) : null}\n
    \n \n
    \n \n
    \n
    \n \n ) : null}\n
    \n );\n};\n\nDownloadFile.propTypes = {\n actions: PropTypes.object,\n filterData: PropTypes.object,\n tableData: PropTypes.object,\n showDownloadPopup: PropTypes.bool,\n setShowDownloadPopup: PropTypes.func,\n handleSubmit: PropTypes.func,\n change: PropTypes.func,\n untouch: PropTypes.func,\n generateData: PropTypes.object,\n};\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n\n if (REQUIRED(values) || REQUIRED(values.fileName)) {\n errors.fileName = 'Please enter a File Name';\n }\n if (values.fileName && values.fileName.length > 25) {\n errors.fileName = 'Max 25 character are allowed in filename';\n }\n const isValid = /^[A-Za-z0-9\\d\\-_\\s]+$/i.test(values.fileName);\n if (!isValid) {\n errors.fileName =\n 'Only numbers, letters, - & _ are allowed in filename';\n }\n if (!/^\\S+$/.test(values.fileName)) {\n errors.fileName = 'Spaces not allowed in filename';\n }\n return errors;\n};\n\nexport default reduxForm({\n form: 'downloadFile',\n enableReinitialize: true,\n validate,\n destroyOnUnmount: false,\n})(DownloadFile);\n","// Libraries\nimport {\n Table,\n TableFilter,\n Popup,\n CreatePaymentLink,\n ViewEditPaymentLink,\n ViewPayments, ViewDownloadStatus,\n} from '../../components';\nimport {\n STATUS_TYPE,\n PAY_TRANSACTION_STATUS,\n} from '../../utils/constants/commonValues';\nimport {\n fetchPaymentLinkRequest,\n fetchMerchantTemplateRequest,\n generateReportRequest,\n} from './redux/paymentLink.actions';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { Switch, Route } from 'react-router-dom';\n\n// Layouts\n\n// Components\n\n// Constants\n\n// Actions\n\n// Styles\nimport './paymentLink.scss';\nimport DownloadFile from './DownloadFile';\nimport ReactDOM from 'react-dom';\n\n\n// Filters List for the payment link table.\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {},\n },\n {\n fieldType: 'input',\n label: 'Link Name',\n name: 'linkName',\n props: {\n placeholder: 'Enter Name',\n },\n },\n {\n fieldType: 'input',\n label: 'Link ID',\n name: 'linkId',\n props: {\n placeholder: 'Enter ID',\n },\n },\n {\n fieldType: 'radio',\n label: 'Status',\n name: 'status',\n props: {\n options: (function() {\n const options = [];\n for (const key in STATUS_TYPE) {\n if (\n Object.prototype.hasOwnProperty.call(STATUS_TYPE, key)\n ) {\n const value = STATUS_TYPE[key];\n options.push({\n name: value,\n value: key,\n });\n }\n }\n return options;\n })(),\n labelField: 'name',\n valueField: 'value',\n },\n },\n];\n\n// Filter List for the transactions view of payment link table.\nconst filterFieldListView = [\n {\n fieldType: 'date',\n label: 'Share On',\n name: 'createdOn',\n props: {},\n },\n {\n fieldType: 'input',\n label: 'Mobile / Email Id',\n name: 'communicationModeValue',\n props: {\n placeholder: 'Enter Email / Number',\n },\n },\n {\n fieldType: 'input',\n label: 'Transaction ID',\n name: 'transactionId',\n props: {\n placeholder: 'Enter ID',\n },\n },\n {\n fieldType: 'select',\n label: 'Status',\n name: 'transactionStatus',\n props: {\n data: (function() {\n const options = [];\n for (const key in PAY_TRANSACTION_STATUS) {\n if (\n Object.prototype.hasOwnProperty.call(\n PAY_TRANSACTION_STATUS,\n key\n )\n ) {\n const value = PAY_TRANSACTION_STATUS[key];\n options.push({\n name: value,\n value: key,\n });\n }\n }\n return options;\n })(),\n label: 'Select Status',\n labelField: 'name',\n valueField: 'value',\n },\n },\n];\n\n// Payment Link Table Action Popup.\nconst PaymentLinkActions = ({ data, fetchData, resetPage }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = () => {\n setShowFilter(false);\n setActionType(null);\n };\n return (\n
    \n handleOpenActionPopup('view')}\n />\n handleOpenActionPopup('edit')}\n />\n handleOpenActionPopup('share')}\n />\n \n \n \n
    \n );\n};\n\nconst PaymentLink = props => {\n const {\n paymentLinkData,\n actions,\n loader: { showLoader },\n } = props;\n\n const { error, tableData, isLoading, pagination, generatedFile, activeReports } = paymentLinkData;\n\n console.log(generatedFile, \"generatedFile\");\n\n const [filterData, setFilterData] = useState({});\n const [filterDataView, setFilterDataView] = useState({});\n const [showDownloadPopup, setShowDownloadPopup] = useState(false);\n\n const columns = useMemo(\n () => [\n { header: 'Link Name', accessor: 'linkName' },\n { header: 'Link ID', accessor: 'linkId' },\n { header: 'Created On', accessor: 'createdOn' },\n { header: 'Amount', accessor: 'amountView' },\n { header: 'Validity Period', accessor: 'validityPeriodView' },\n { header: 'Status', accessor: 'linkDataStatusView' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [isResetPage, setIsResetPage] = useState(false);\n const [showFilter, setShowFilter] = useState(false);\n const [showFilter2, setShowFilter2] = useState(false);\n\n const handleViewDownloads = () => {\n setShowFilter(true);\n };\n\n const handleCloseViewDownloads = () => {\n setShowFilter(false);\n };\n\n const handleViewDownloadsTwo = () => {\n setShowFilter2(true);\n };\n\n const handleCloseViewDownloadsTwo = () =>{\n setShowFilter2(false);\n }\n\n // Fetching table data function.\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n const data = {\n pageSize,\n pageIndex,\n };\n actions.fetchPaymentLinkRequest({ ...data, ...filterData });\n setPageSize(pageSize);\n },\n [actions, filterData]\n );\n\n // Handle Pagination for the table\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n useEffect(() => {\n actions.fetchMerchantTemplateRequest();\n }, [actions]);\n\n\n return (\n
    \n \n \n setIsResetPage(false)}\n onClickTableAction={handleViewDownloads}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n additionalActions={() => (\n \n )}\n tableActionPopup={\n \n \n setIsResetPage(true)}\n />\n \n \n \n \n \n }\n tableFilters={\n {\n setFilterData(filterValues);\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n />\n \n \n {\n setFilterDataView(filterValues);\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterDataView(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n />\n \n \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, paymentLinkData, loader, staticData }) => ({\n auth,\n paymentLinkData,\n loader,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchPaymentLinkRequest,\n fetchMerchantTemplateRequest,\n generateReportRequest,\n },\n dispatch\n ),\n});\n\nPaymentLink.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n paymentLinkData: PropTypes.object,\n staticData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nPaymentLinkActions.propTypes = {\n data: PropTypes.object,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(PaymentLink);\n","import PaymentLink from './PaymentLink';\n\nexport default PaymentLink;\n","const FETCH_AUDIT_TRAIL_REQUEST = 'FETCH_AUDIT_TRAIL_REQUEST';\nconst FETCH_AUDIT_TRAIL_SUCCESS = 'FETCH_AUDIT_TRAIL_SUCCESS';\nconst FETCH_AUDIT_TRAIL_ERROR = 'FETCH_AUDIT_TRAIL_ERROR';\nconst HIDE_AUDIT_TRAIL_LOADER = 'HIDE_AUDIT_TRAIL_LOADER';\nconst SHOW_AUDIT_TRAIL_LOADER = 'SHOW_AUDIT_TRAIL_LOADER';\n\nexport {\n FETCH_AUDIT_TRAIL_REQUEST,\n FETCH_AUDIT_TRAIL_SUCCESS,\n FETCH_AUDIT_TRAIL_ERROR,\n HIDE_AUDIT_TRAIL_LOADER,\n SHOW_AUDIT_TRAIL_LOADER,\n};\n","import {\n FETCH_AUDIT_TRAIL_REQUEST,\n FETCH_AUDIT_TRAIL_SUCCESS,\n FETCH_AUDIT_TRAIL_ERROR,\n HIDE_AUDIT_TRAIL_LOADER,\n SHOW_AUDIT_TRAIL_LOADER,\n} from './auditTrail.constants';\n\nexport const fetchAuditTrailRequest = payload => ({\n type: FETCH_AUDIT_TRAIL_REQUEST,\n payload,\n});\n\nexport const fetchAuditTrailSuccess = payload => ({\n type: FETCH_AUDIT_TRAIL_SUCCESS,\n payload,\n});\n\nexport const fetchAuditTrailError = payload => ({\n type: FETCH_AUDIT_TRAIL_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_AUDIT_TRAIL_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_AUDIT_TRAIL_LOADER });\n","// Libraries\nimport { Table, Popup, TableFilter, ViewAuditTrails } from '../../components';\nimport { fetchAuditTrailStaticRequest } from '../../redux/common/staticData/staticData.actions';\nimport { fetchAuditTrailRequest } from './redux/auditTrail.actions';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { isEmpty } from 'lodash';\n\n// Layouts\n\n// Components\n\n// Actions\n\n// Styles\nimport './auditTrail.scss';\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Created On',\n name: 'createdOn',\n props: {},\n },\n {\n fieldType: 'time',\n label: 'Time',\n name: 'time',\n props: {\n hour24Mode: true,\n },\n },\n {\n fieldType: 'input',\n label: 'User Id',\n name: 'userId',\n props: {\n placeholder: 'Enter User Id',\n },\n },\n {\n fieldType: 'select',\n label: 'Event',\n name: 'action',\n props: {\n data: [],\n label: 'Select',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Resources',\n name: 'resource',\n props: {\n placeholder: 'Enter Resource',\n },\n },\n];\n\nconst setActionFilters = (fieldsList, staticEvents) => {\n if (staticEvents && staticEvents.filters) {\n const objectKeys = Object.keys(staticEvents.filters);\n const result = objectKeys.map(element => {\n return {\n name: staticEvents.filters[element],\n value: element,\n };\n });\n\n fieldsList.forEach(element => {\n if (element.name === 'action') {\n element.props.data = result;\n }\n });\n return fieldsList;\n }\n return fieldsList;\n};\n\nconst AuditTrailActions = ({ data, fetchData, resetPage }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n setActionType(null);\n if (isFetch && !isFetch.target) {\n fetchData({\n pageIndex: 1,\n pageSize: 10,\n });\n resetPage();\n }\n };\n\n return (\n
    \n
    \n );\n};\n\nconst AuditTrail = props => {\n const {\n auditTrailData,\n actions,\n loader: { showLoader },\n staticData,\n } = props;\n\n const { error, tableData, isLoading, pagination } = auditTrailData;\n const { staticEvents } = staticData;\n\n useEffect(() => {\n if (isEmpty(staticEvents)) {\n actions.fetchAuditTrailStaticRequest();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const columns = useMemo(\n () => [\n { header: 'Date & Time', accessor: 'dateAndTime' },\n { header: 'User ID', accessor: 'userId' },\n { header: 'Event', accessor: 'event' },\n { header: 'IP Address', accessor: 'externalIpAddress' },\n { header: 'Resources', accessor: 'resource' },\n { header: 'Status', accessor: 'status' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [isResetPage, setIsResetPage] = useState(false);\n const [pageSize, setPageSize] = useState(10);\n const [filterData, setFilterData] = useState({});\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n // even a server. But for this example, we'll just fake it.\n const request = {\n pageSize,\n pageNo: pageIndex,\n };\n actions.fetchAuditTrailRequest({ ...request, ...filterData });\n setPageSize(pageSize);\n },\n [actions, filterData]\n );\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const filters = setActionFilters(filterFieldList, staticEvents);\n\n return (\n
    \n setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n tableFilters={\n {\n setFilterData(filterValues);\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n />\n
    \n );\n};\n\nconst mapStateToProps = ({ auth, auditTrailData, loader, staticData }) => ({\n auth,\n auditTrailData,\n loader,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchAuditTrailRequest,\n fetchAuditTrailStaticRequest,\n },\n dispatch\n ),\n});\n\nAuditTrail.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n staticData: PropTypes.object,\n auditTrailData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nAuditTrailActions.propTypes = {\n data: PropTypes.object,\n roleStatus: PropTypes.string,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AuditTrail);\n","import AuditTrail from './AuditTrail';\n\nexport default AuditTrail;\n","// Libraries\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport moment from 'moment';\nimport { TRANSACTION_TYPE } from '../../utils/constants/commonValues';\nimport {\n Table,\n TableFilter,\n Popup,\n RefundForm,\n FormElems,\n TableSearch,\n} from '../../components';\nimport { fetchRefundRequest } from './redux/refund.actions';\nimport './refund.scss';\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {\n startDate: moment()\n .endOf('day')\n .subtract(1, 'days'),\n endDate: moment().endOf('day'),\n maximumNights: 6,\n notResetDate: true,\n },\n },\n {\n fieldType: 'search-select',\n label: 'Merchant Name',\n name: 'merchantId',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'name',\n valueField: 'entityCode',\n },\n },\n];\n\nconst searchKeyList = [\n {\n name: 'Merchant TXN ID',\n value: 'ENTITY_TXN_ID',\n },\n {\n name: 'FCPG TXN ID',\n value: 'TRANSACTION_ID',\n },\n];\n\nconst setMerchantFilter = (fieldsList, underlyingMerchant) => {\n if (underlyingMerchant.length) {\n fieldsList.forEach(element => {\n if (element.name === 'merchantId') {\n element.props.data = underlyingMerchant;\n }\n });\n return fieldsList;\n }\n return fieldsList.filter(item => item.name !== 'merchantId');\n};\n\nconst RefundActions = ({ data, fetchData, resetPage }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n setActionType(null);\n if (isFetch && !isFetch.target) {\n fetchData({\n pageIndex: 1,\n pageSize: 10,\n });\n resetPage();\n }\n };\n const isRefund =\n data &&\n data.original &&\n data.original.transactionType &&\n data.original.transactionType !== TRANSACTION_TYPE.PAY;\n return (\n
    \n \n \n \n \n
    \n );\n};\n\nconst Refund = props => {\n const {\n refundData,\n staticData,\n actions,\n loader: { showLoader },\n } = props;\n\n const { error, tableData, isLoading, pagination } = refundData;\n\n const { underlyingMerchant } = staticData;\n const [filterData, setFilterData] = useState({ isLive: true });\n const [searchKey, setSearchKey] = useState('ENTITY_TXN_ID');\n const [searchValue, setSearchValue] = useState('');\n\n const columns = useMemo(\n () => [\n { header: 'Merchant Name', accessor: 'merchantName' },\n { header: 'Merchant TXN ID', accessor: 'orderId' },\n {\n header: 'FCPG TXN ID ',\n accessor: 'transactionReferenceNumber',\n },\n { header: 'Date & Time', accessor: 'transactionDateAndTime' },\n { header: 'Payment mode', accessor: 'paymentMode' },\n { header: 'Amount', accessor: 'transactionAmount' },\n { header: 'Type ', accessor: 'transactionType' },\n { header: 'Refund', accessor: 'action' },\n ],\n []\n );\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [isResetPage, setIsResetPage] = useState(false);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n const data = {\n pageSize,\n pageIndex,\n };\n if (\n filterData.createdOn &&\n Object.keys(filterData.createdOn).length\n ) {\n actions.fetchRefundRequest({\n ...data,\n ...filterData,\n searchKey: searchValue ? searchKey : null,\n searchValue,\n });\n }\n setPageSize(pageSize);\n },\n [actions, filterData, searchKey, searchValue]\n );\n\n const liveModeChange = values => {\n setFilterData({ ...filterData, isLive: !filterData.isLive });\n };\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const filters = setMerchantFilter(filterFieldList, underlyingMerchant);\n\n const handleSearchSubmit = () => {\n actions.fetchRefundRequest({\n searchKey: searchValue ? searchKey : null,\n searchValue,\n ...filterData,\n });\n };\n\n return (\n
    \n setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n tableSearch={\n
    \n
    \n liveModeChange(val)}\n isChecked={filterData.isLive}\n />\n
    \n setSearchKey(val)}\n />\n \n
    \n }\n tableFilters={\n {\n setFilterData({\n isLive: filterData.isLive,\n ...filterValues,\n });\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData({\n isLive: filterData.isLive,\n ...resetValue,\n });\n setIsResetPage(true);\n }}\n />\n }\n />\n
    \n );\n};\n\nconst mapStateToProps = ({ auth, refundData, loader, staticData }) => ({\n auth,\n refundData,\n loader,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchRefundRequest,\n },\n dispatch\n ),\n});\n\nRefund.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n refundData: PropTypes.object,\n staticData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nRefundActions.propTypes = {\n data: PropTypes.object,\n roleStatus: PropTypes.string,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Refund);\n","import Refund from './Refund';\n\nexport default Refund;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst ComTabs = ({ tabList, selectedTab, setSelectedTab }) => (\n
    \n
      \n {tabList.map(tab => (\n setSelectedTab(tab.value)}\n >\n {tab.label}\n \n ))}\n
    \n
    \n);\n\nComTabs.propTypes = {\n tabList: PropTypes.array,\n selectedTab: PropTypes.string,\n setSelectedTab: PropTypes.func,\n};\n\nexport default ComTabs;\n","// Libraries\n\n// Layouts\n\n// Components\nimport {\n Table,\n Popup,\n FormElems,\n AddComm,\n EditViewComm,\n} from '../../components';\n\n// Constants\nimport { TAB_LIST } from '../../utils/constants/commonValues';\n\n// Actions\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport ComTabs from './ComTabs';\n\nimport {\n fetchNotificationEventRequest,\n fetchCommProfileRequest,\n} from './redux/commProfile.actions';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\n\n// Styles\nimport './commProfile.scss';\n\nconst getTableData = (commData, selectedTab) => {\n if (selectedTab === 'WEBHOOK') {\n return commData.webhook;\n } else if (selectedTab === 'SMS') {\n return commData.sms;\n }\n return commData.email;\n};\n\nconst getHeaderName = selectedTab => {\n let headerName = 'Email ID';\n if (selectedTab === 'WEBHOOK') {\n headerName = 'Url';\n } else if (selectedTab === 'SMS') {\n headerName = 'SMS Number';\n }\n return headerName;\n};\n\nconst CommProfileActions = ({ data, selectedTab, fetchData }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n setActionType(null);\n if (isFetch && !isFetch.target) {\n fetchData();\n }\n };\n return (\n
    \n handleOpenActionPopup('EDIT')}\n />\n handleOpenActionPopup('VIEW')}\n />\n \n \n \n
    \n );\n};\n\nconst AddActions = ({ fetchData, selectedTab }) => {\n const [showFilter, setShowFilter] = useState(false);\n const handleOpenActionPopup = () => {\n setShowFilter(true);\n };\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n if (isFetch && !isFetch.target) {\n fetchData();\n }\n };\n\n const getTabName = selectedTab => {\n if (selectedTab) {\n const tabName = TAB_LIST.find(item => item.value === selectedTab);\n return (tabName && tabName.label) || '';\n }\n return '';\n };\n return (\n
    \n
    \n

    {getTabName(selectedTab)} Profile

    \n
    \n
    \n \n \n \n \n
    \n
    \n );\n};\n\nconst CommProfile = props => {\n const {\n commData,\n actions,\n loader: { showLoader },\n } = props;\n\n const { error, isLoading } = commData;\n\n // We'll start our table without any data\n const [selectedTab, setSelectedTab] = useState('EMAIL');\n\n const fetchData = useCallback(() => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n actions.fetchCommProfileRequest();\n }, [actions]);\n\n useEffect(() => {\n actions.fetchNotificationEventRequest();\n }, [actions]);\n\n const headerName = getHeaderName(selectedTab);\n\n const columns = useMemo(\n () => [\n { header: headerName, accessor: 'identifier' },\n { header: 'Created Date', accessor: 'createdOn' },\n { header: 'Merchant', accessor: 'noOfMerchants' },\n { header: 'Status', accessor: 'status' },\n { header: 'Event', accessor: 'eventsListView' },\n { header: 'Action', accessor: 'action' },\n ],\n [headerName]\n );\n\n const tableData = getTableData(commData, selectedTab);\n\n return (\n
    \n \n }\n data={tableData || []}\n error={error && error.errorMessage}\n loading={showLoader || isLoading}\n fetchData={fetchData}\n userActions={data => (\n \n )}\n tableFilters={\n {\n setSelectedTab(tab);\n }}\n />\n }\n />\n
    \n );\n};\n\nconst mapStateToProps = ({ auth, commData, loader }) => ({\n auth,\n commData,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n fetchNotificationEventRequest,\n fetchCommProfileRequest,\n },\n dispatch\n ),\n});\n\nCommProfile.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n commData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nCommProfileActions.propTypes = {\n data: PropTypes.object,\n selectedTab: PropTypes.string,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n};\n\nAddActions.propTypes = {\n selectedTab: PropTypes.string,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n};\nexport default connect(mapStateToProps, mapDispatchToProps)(CommProfile);\n","import CommProfile from './CommProfile';\n\nexport default CommProfile;\n","// Libraries\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { toast } from 'react-toastify';\nimport { useHistory } from 'react-router-dom';\n\n// Api URls\nimport { SAMPLE_FILE_DOWNLOAD } from '../../utils/API/apiUrls';\n\n// Constants\nimport { ERROR_MESSAGES } from '../../utils/constants/toastMessages';\n\n// Assets\nimport DownloadIcon from '../../static/images/downloadIcon.png';\n\n// Components\nimport { FormElems } from '../../components/';\nimport SearchBar from './SearchBar';\n\nconst filePlaceHolder = { name: 'Upload .CSV File' };\n\nconst BinHeader = props => {\n const { uploadFile } = props;\n const [selectedFile, setSelectedFile] = useState(filePlaceHolder);\n const history = useHistory();\n\n const handleFileChange = (value, event) => {\n event.preventDefault();\n const files = event.target.files[0];\n if (files && /.+(\\.csv)$/.test(files.name)) {\n setSelectedFile(files);\n const formData = new FormData();\n formData.append('inputFile', event.target.files[0]);\n uploadFile(formData);\n } else {\n toast.info(ERROR_MESSAGES.ONLY_CSV_FILE);\n }\n };\n\n const downloadFile = () => {\n const link = document.createElement('a');\n link.href = SAMPLE_FILE_DOWNLOAD;\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n };\n\n return (\n
    \n

    Manage Bin

    \n
    \n \n
      \n {/*
    • \n \n
      \n

      Download Sample File

      \n \n
      \n
    • \n
    • \n \n
      \n \n \n
    • */}\n
    • {history.push('/manage-bin/formatting');}}>\n \n
      \n

      Network Specific BINs

      \n \n
      \n
    • \n
    \n
    \n
    \n );\n};\n\nBinHeader.propTypes = {\n tabList: PropTypes.array,\n selectedTab: PropTypes.string,\n setSelectedTab: PropTypes.func,\n uploadFile: PropTypes.func,\n};\n\nexport default BinHeader;\n","// Components\nimport { FormElems } from 'components';\n\n// Helper\nimport { nameValueOptions } from 'utils/helperMethods';\n\n// Actions\nimport { uploadNetworkBinFileRequest } from '../../containers/ManageBin/redux/manageBin.actions';\n\n// Assets\nimport DownloadIcon from '../../static/images/downloadIcon.png';\n\n// Libs\nimport { ERROR_MESSAGES } from '../../utils/constants/toastMessages';\nimport React, { useState } from 'react';\nimport { connect } from 'react-redux';\nimport { bindActionCreators, compose } from 'redux';\nimport { withRouter } from 'react-router-dom';\nimport { Field, reduxForm, change } from 'redux-form';\nimport PropTypes from 'prop-types';\nimport { toast } from 'react-toastify';\n\nimport './binFormatting.scss';\n\nconst networkOptions = ['Master', 'Visa', 'Rupay'];\nconst filePlaceHolder = { name: 'Upload file in required format' };\n\nconst BinFormatting = ({ handleSubmit, formData, actions }) => {\n const [selectedFile, setSelectedFile] = useState(filePlaceHolder);\n\n const handleFormSubmit = values => {\n //console.log(values,\"values\");\n if(!values.binType){\n toast.info(ERROR_MESSAGES.PLEASE_SELECT_BIN_TYPE);\n }else if(!values.issuerBinFile){\n toast.info(ERROR_MESSAGES.PLEASE_UPLOAD_BIN_FILE);\n }else{\n const formData = new FormData();\n formData.append('issuerBinFile', values.issuerBinFile);\n formData.append('binType', values.binType);\n actions.uploadNetworkBinFileRequest(formData);\n }\n };\n\n const handleFileChange = (value, event) => {\n event.preventDefault();\n const files = event.target.files[0];\n if (files && /.+(\\.(csv|xlsx|xlsm))$/i.test(files.name)) {\n actions.change('bin-formatting-form', 'issuerBinFile', files);\n setSelectedFile(files);\n } else {\n toast.info(ERROR_MESSAGES.ONLY_CSV_XLSM_XLSX_FILE);\n }\n };\n\n return (\n
    \n
    \n

    Manage Bin Format

    \n
    \n \n
    \n
    \n

    Select Network/Bank Type*

    \n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n );\n};\n\nBinFormatting.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n change: PropTypes.func,\n handleSubmit: PropTypes.func,\n formData: PropTypes.object,\n};\n\nconst mapStateToProps = ({ form, auth }) => ({\n auth,\n formData: form['bin-formatting-form'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n { uploadNetworkBinFileRequest, change },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'bin-formatting-form',\n enableReinitialize: true,\n validate: () => { },\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(BinFormatting)\n);\n","import BinFormatting from './BinFormatting';\n\nexport default BinFormatting;\n","// Libraries\nimport { Table, BinSearch } from '../../components';\nimport BinHeader from './BinHeader';\nimport {\n fetchBinDataRequest,\n uploadBinFileRequest,\n uploadBinFileError,\n downloadByIdRequest,\n} from './redux/manageBin.actions';\nimport React, { useMemo, useCallback, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { Switch, Route } from 'react-router-dom';\n\n// Layouts\n\n// Components\n\n// Actions\n\n// Styles\nimport './manageBin.scss';\nimport BinFormatting from 'components/BinFormatting';\n\nconst ManageBinActions = ({ data, downloadRequest }) => {\n const handleDownload = () => {\n if (data.original) {\n const { requestId } = data.original;\n const request = {\n fileTypeEnum: 'PROCESSED',\n requestId,\n };\n downloadRequest(request);\n }\n };\n\n const getDisableClass = data => {\n if (data) {\n const { requestStaus } = data;\n if (requestStaus !== 'Completed') {\n return 'disabled';\n }\n }\n return '';\n };\n\n return (\n
    \n \n
    \n );\n};\n\nconst TableHead = props => {\n return (\n
    \n
    \n

    Recent Uploaded

    \n
    \n
    \n );\n};\n\nconst ManageBin = props => {\n const {\n manageBin,\n actions,\n loader: { showLoader },\n } = props;\n\n const { error, tableData, isLoading, uploadFile } = manageBin;\n\n const columnsRecent = useMemo(\n () => [\n { header: 'File Name', accessor: 'fileName' },\n { header: 'Uploaded Date', accessor: 'uplodedDate' },\n { header: 'Upload status', accessor: 'requestStaus' },\n { header: 'Record Count', accessor: 'totalRecordCount' },\n { header: 'Updated Count', accessor: 'successRecordCount' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n // We'll start our table without any data\n\n const fetchData = useCallback(() => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n actions.fetchBinDataRequest();\n }, [actions]);\n\n useEffect(() => {\n if (uploadFile.isSuccess) {\n fetchData();\n actions.uploadBinFileError({ error: {} });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [uploadFile.isSuccess]);\n\n return (\n \n \n
    \n \n }\n error={error && error.errorMessage}\n loading={showLoader || isLoading}\n fetchData={fetchData}\n userActions={data => (\n \n actions.downloadByIdRequest(value)\n }\n />\n )}\n tableFilters={null}\n />\n
    \n
    \n \n \n \n \n \n \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, manageBin, loader }) => ({\n auth,\n manageBin,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchBinDataRequest,\n uploadBinFileRequest,\n uploadBinFileError,\n downloadByIdRequest,\n },\n dispatch\n ),\n});\n\nManageBin.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n manageBin: PropTypes.object,\n loader: PropTypes.object,\n};\n\nManageBinActions.propTypes = {\n data: PropTypes.object,\n downloadRequest: PropTypes.func,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ManageBin);\n","import ManageBin from './ManageBin';\n\nexport default ManageBin;\n","// Libraries\n\n// Layouts\n\n// Components\nimport { Table, Popup, RoleVerificationForm, Checkers } from '../../components';\n\n// Constants\nimport {\n INPROCESS,\n APPROVED,\n REJECTED,\n} from '../../components/Table/table.constants';\nimport { STATUS_MAP } from '../../utils/constants/commonValues';\n\nimport { fetchRoleCheckerRequest } from './redux/roleVerification.actions';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\n\n// Styles\nimport './roleVerification.scss';\n\nconst RoleVerificationActions = ({\n data,\n roleStatus,\n fetchData,\n resetPage,\n}) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n setActionType(null);\n if (isFetch && !isFetch.target) {\n fetchData({\n pageIndex: 1,\n pageSize: 10,\n roleStatus,\n });\n resetPage();\n }\n };\n return (\n
    \n
    \n );\n};\n\nconst RoleVerification = props => {\n const {\n roleVerificationData,\n actions,\n loader: { showLoader },\n } = props;\n\n const { error, tableData, isLoading, pagination } = roleVerificationData;\n\n const columns = useMemo(\n () => [\n { header: 'Role name', accessor: 'roleName' },\n { header: 'Date', accessor: 'roleCreatedDate' },\n { header: 'Request User', accessor: 'roleCreatedUpdate' },\n { header: 'Request Type', accessor: 'lastActions' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [roleStatus, setRoleStatus] = useState(INPROCESS);\n const [isResetPage, setIsResetPage] = useState(false);\n const [pageSize, setPageSize] = useState(10);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex, roleStatus }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const request = {\n resultPerPage: pageSize,\n page: pageIndex,\n status: STATUS_MAP[roleStatus],\n };\n actions.fetchRoleCheckerRequest(request);\n setPageSize(pageSize);\n },\n [actions]\n );\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n return (\n
    \n \n }\n data={tableData}\n error={error && error.errorMessage}\n loading={showLoader || isLoading}\n roleStatus={roleStatus}\n pageCount={pageCount}\n fetchData={fetchData}\n numberOfRecord={pagination.totalNumberOfRecords}\n pageSizeOptions={pageSizeOptions}\n paginationLabel=\"Rows per page\"\n setRoleStatus={role => {\n setRoleStatus(role);\n setIsResetPage(true);\n }}\n pagePerView={3}\n isResetPage={isResetPage}\n afterResetPage={() => setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n />\n )}\n />\n
    \n );\n};\n\nconst mapStateToProps = ({ auth, roleVerificationData, loader }) => ({\n auth,\n roleVerificationData,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchRoleCheckerRequest,\n },\n dispatch\n ),\n});\n\nRoleVerification.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n roleVerificationData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nRoleVerificationActions.propTypes = {\n data: PropTypes.object,\n roleStatus: PropTypes.string,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(RoleVerification);\n","import RoleVerification from './RoleVerification';\n\nexport default RoleVerification;\n","const FETCH_PROFILE_REQUEST = 'FETCH_PROFILE_REQUEST';\nconst FETCH_PROFILE_SUCCESS = 'FETCH_PROFILE_SUCCESS';\nconst FETCH_PROFILE_ERROR = 'FETCH_PROFILE_ERROR';\nconst HIDE_PROFILE_LOADER = 'HIDE_PROFILE_LOADER';\nconst SHOW_PROFILE_LOADER = 'SHOW_PROFILE_LOADER';\nconst UPDATE_IMAGE_REQUEST = 'UPDATE_IMAGE_REQUEST';\nconst UPDATE_IMAGE_SUCCESS = 'UPDATE_IMAGE_SUCCESS';\nconst UPDATE_IMAGE_ERROR = 'UPDATE_IMAGE_ERROR';\nconst DELETE_IMAGE_REQUEST = 'DELETE_IMAGE_REQUEST';\nconst DELETE_IMAGE_SUCCESS = 'DELETE_IMAGE_SUCCESS';\nconst DELETE_IMAGE_ERROR = 'DELETE_IMAGE_ERROR';\nconst RESET_IMAGE_REQUEST = 'RESET_IMAGE_REQUEST';\nconst RESET_IMAGE_SUCCESS = 'RESET_IMAGE_SUCCESS';\nconst FETCH_PROFILE_JSON_REQUEST = 'FETCH_PROFILE_JSON_REQUEST';\nconst FETCH_PROFILE_JSON_SUCCESS = 'FETCH_PROFILE_JSON_SUCCESS';\nconst FETCH_PROFILE_JSON_ERROR = 'FETCH_PROFILE_JSON_ERROR';\n\nconst CREATE_STATIC_QR_REQUEST = 'CREATE_STATIC_QR_REQUEST';\nconst CREATE_STATIC_QR_SUCCESS = 'CREATE_STATIC_QR_SUCCESS';\nconst CREATE_STATIC_QR_ERROR = 'CREATE_STATIC_QR_ERROR';\nconst RESET_STATIC_QR_DATA = 'RESET_STATIC_QR_DATA';\n\nexport {\n CREATE_STATIC_QR_REQUEST,\n CREATE_STATIC_QR_SUCCESS,\n CREATE_STATIC_QR_ERROR,\n RESET_STATIC_QR_DATA,\n FETCH_PROFILE_REQUEST,\n FETCH_PROFILE_SUCCESS,\n FETCH_PROFILE_ERROR,\n HIDE_PROFILE_LOADER,\n SHOW_PROFILE_LOADER,\n UPDATE_IMAGE_REQUEST,\n UPDATE_IMAGE_SUCCESS,\n UPDATE_IMAGE_ERROR,\n DELETE_IMAGE_REQUEST,\n DELETE_IMAGE_SUCCESS,\n DELETE_IMAGE_ERROR,\n RESET_IMAGE_REQUEST,\n RESET_IMAGE_SUCCESS,\n FETCH_PROFILE_JSON_REQUEST,\n FETCH_PROFILE_JSON_SUCCESS,\n FETCH_PROFILE_JSON_ERROR,\n};\n","import {\n FETCH_PROFILE_REQUEST,\n FETCH_PROFILE_SUCCESS,\n FETCH_PROFILE_ERROR,\n UPDATE_IMAGE_REQUEST,\n UPDATE_IMAGE_SUCCESS,\n UPDATE_IMAGE_ERROR,\n HIDE_PROFILE_LOADER,\n SHOW_PROFILE_LOADER,\n DELETE_IMAGE_REQUEST,\n DELETE_IMAGE_SUCCESS,\n DELETE_IMAGE_ERROR,\n RESET_IMAGE_REQUEST,\n RESET_IMAGE_SUCCESS,\n FETCH_PROFILE_JSON_REQUEST,\n FETCH_PROFILE_JSON_SUCCESS,\n FETCH_PROFILE_JSON_ERROR,\n CREATE_STATIC_QR_REQUEST,\n CREATE_STATIC_QR_SUCCESS,\n CREATE_STATIC_QR_ERROR,\n RESET_STATIC_QR_DATA,\n} from './profile.constants';\n\nexport const resetStaticQrData = payload => ({\n type: RESET_STATIC_QR_DATA,\n payload,\n});\n\nexport const createStaticQrRequest = payload => ({\n type: CREATE_STATIC_QR_REQUEST,\n payload,\n});\n\nexport const createStaticQrSuccess = payload => ({\n type: CREATE_STATIC_QR_SUCCESS,\n payload,\n});\n\nexport const createStaticQrError = payload => ({\n type: CREATE_STATIC_QR_ERROR,\n payload,\n});\n\nexport const fetchProfileDetailsRequest = payload => ({\n type: FETCH_PROFILE_REQUEST,\n payload,\n});\n\nexport const fetchProfileDetailsSuccess = payload => ({\n type: FETCH_PROFILE_SUCCESS,\n payload,\n});\n\nexport const fetchProfileDetailsError = payload => ({\n type: FETCH_PROFILE_ERROR,\n payload,\n});\n\nexport const fetchProfileJSONRequest = () => ({\n type: FETCH_PROFILE_JSON_REQUEST,\n});\n\nexport const fetchProfileJSONSuccess = payload => ({\n type: FETCH_PROFILE_JSON_SUCCESS,\n payload,\n});\n\nexport const fetchProfileJSONError = payload => ({\n type: FETCH_PROFILE_JSON_ERROR,\n payload,\n});\n\nexport const updateImageRequest = payload => ({\n type: UPDATE_IMAGE_REQUEST,\n payload,\n});\n\nexport const updateImageSuccess = payload => ({\n type: UPDATE_IMAGE_SUCCESS,\n payload,\n});\n\nexport const updateImageError = payload => ({\n type: UPDATE_IMAGE_ERROR,\n payload,\n});\n\nexport const deleteImageRequest = payload => ({\n type: DELETE_IMAGE_REQUEST,\n payload,\n});\n\nexport const deleteImageSuccess = payload => ({\n type: DELETE_IMAGE_SUCCESS,\n payload,\n});\n\nexport const deleteImageError = payload => ({\n type: DELETE_IMAGE_ERROR,\n payload,\n});\n\nexport const resetImageRequest = () => ({\n type: RESET_IMAGE_REQUEST,\n});\n\nexport const resetImageSuccess = () => ({\n type: RESET_IMAGE_SUCCESS,\n});\n\nexport const showLoader = () => ({ type: SHOW_PROFILE_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_PROFILE_LOADER });\n","/* eslint-disable max-lines*/\n/* eslint-disable indent */\n// Libraries\n\n// Layouts\n\n// Helper\nimport { getRmName } from '../../utils/helperMethods';\n\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\n\n// Actions\nimport {\n updateImageRequest,\n updateImageError,\n fetchProfileDetailsRequest,\n fetchProfileDetailsError,\n fetchProfileJSONRequest,\n fetchProfileJSONError,\n deleteImageRequest,\n deleteImageError,\n resetImageSuccess,\n createStaticQrRequest,\n resetStaticQrData,\n} from '../../containers/Profile/redux/profile.actions';\n\n// Components\nimport {\n Modal,\n FormElems,\n Alert,\n ConditionalComponent,\n} from '../../components';\n\n// Assets\nimport LogoDefault from '../../static/images/Cards/defaultLogo.png';\nimport closeImgIcon from '../../static/images/close.svg';\nimport Cross from '../../static/images/remove.png';\nimport PictureIcon from '../../static/images/picture.png';\nimport Rupay from '../../static/images/Cards/rupay.png';\nimport MasterCard from '../../static/images/Cards/mastercard.png';\nimport Visa from '../../static/images/Cards/visa.png';\nimport Amex from '../../static/images/Cards/amex.png';\nimport { toast } from 'react-toastify';\nimport { isEmpty, size } from 'lodash';\nimport { useDropzone } from 'react-dropzone';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\nimport React, { useState, useCallback, useEffect } from 'react';\n\n// Styles\nimport './profile.scss';\n\nfunction ImageDropZone(props) {\n const {\n onFileChange,\n selectedFile,\n removeFile,\n currentImg,\n inputError,\n } = props;\n const [imgSrc, setImgSrc] = useState('');\n\n const onDrop = useCallback(\n acceptedFiles => {\n // Do something with the files\n onFileChange(null, acceptedFiles, true);\n },\n [onFileChange]\n );\n const { getRootProps, getInputProps, isDragActive } = useDropzone({\n onDrop,\n });\n\n useEffect(() => {\n if (selectedFile && selectedFile.length && !inputError) {\n const reader = new FileReader();\n reader.readAsDataURL(selectedFile[0]);\n reader.onloadend = event => {\n setImgSrc([reader.result]);\n };\n } else {\n setImgSrc([]);\n }\n }, [inputError, selectedFile]);\n\n const dragMsg = isDragActive\n ? 'Drop the files here ...'\n : 'Drag & drop Logo here';\n\n return (\n
    \n {currentImg ? (\n
    \n \"Uploaded\n
    \n ) : (\n <>\n \n
    \n {!isEmpty(imgSrc) && !inputError ? (\n \"Uploaded\n ) : (\n
    \n \"Upload\"\n
    \n )}\n
    \n \n )}\n {currentImg ? (\n

    \n Remove Logo{' '}\n

    \n ) : (\n

    {dragMsg}

    \n )}\n
    \n );\n}\n\nconst checkValidation = file => {\n if (isEmpty(file)) {\n return null;\n }\n let error = null;\n\n if (file && file.length && file[0].size > 1000000) {\n error = 'File size should be less than 1MB';\n }\n\n if (\n (file && file.length && file[0].type === 'image/jpeg') ||\n (file && file.length && file[0].type === 'image/png')\n ) {\n error = null;\n } else {\n error = 'Inavild file format, only png and jpeg type allowed';\n }\n return error;\n};\n\nconst ProfileEdit = ({\n data,\n actions,\n getProfileData,\n deleteImageData,\n updateImage,\n resetImage,\n}) => {\n const [showFilter, setShowFilter] = useState(false);\n const [selectedFile, setSelectedFile] = useState(null);\n const [selectedImg, setSelectedImg] = useState(data.checkoutLogoUrl);\n const [inputError, setInputError] = useState('');\n\n useEffect(() => {\n setSelectedImg(data.checkoutLogoUrl);\n }, [data.checkoutLogoUrl]);\n\n const handleOpenActionPopup = () => {\n setShowFilter(true);\n };\n\n const handleCloseOpenActionPopup = () => {\n setShowFilter(false);\n setSelectedFile([]);\n };\n\n const handleUpdate = () => {\n const formData = new FormData();\n formData.append('file', selectedFile[0]);\n actions.updateImageRequest(formData);\n };\n\n const handleBrowse = (value, event, isDirectFile) => {\n setInputError(null);\n if (isDirectFile && event && event.length) {\n setSelectedFile(event);\n } else if (event.target && event.target.files) {\n event.preventDefault();\n const files = event.target.files;\n setSelectedFile(files);\n }\n };\n\n useEffect(() => {\n const inputValidate = checkValidation(selectedFile);\n setInputError(inputValidate);\n }, [selectedFile]);\n\n useEffect(() => {\n if (updateImage.isSuccess) {\n toast.info(SUCCESS_MESSAGES.IMAGE('Profile Image'));\n getProfileData();\n setShowFilter(false);\n }\n return () => {\n actions.updateImageError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateImage.isSuccess]);\n\n useEffect(() => {\n if (deleteImageData.isSuccess) {\n toast.info(SUCCESS_MESSAGES.REMOVED_DATA('Profile Image'));\n setSelectedFile([]);\n getProfileData();\n }\n return () => {\n actions.deleteImageError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [deleteImageData.isSuccess]);\n\n useEffect(() => {\n if (resetImage) {\n setSelectedFile([]);\n }\n return () => {\n actions.resetImageSuccess();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [resetImage]);\n\n const onRemoveFile = () => {\n setInputError(null);\n actions.deleteImageRequest();\n };\n\n return (\n
    \n \n Edit logo\n \n \n
    \n {inputError && (\n {inputError}\n )}\n \n \"Close\"\n \n
    \n \n
    \n
    \n \n BROWSE & UPLOAD\n \n
    \n \n \n \n
    \n
    \n \n
    \n );\n};\n\nconst getBankName = (bankList, bankCode) => {\n if (bankList && bankList.BANK_CODE && bankCode) {\n const bankData = bankList.BANK_CODE[bankCode];\n return bankData && bankData.codeNameUI;\n }\n return null;\n};\n\nconst Profile = props => {\n const {\n actions,\n auth,\n loader: { showLoader },\n profileData,\n staticData,\n payValues,\n } = props;\n const { relationshipManagers } = staticData;\n const {\n data,\n updateImage,\n deleteImage,\n resetImage,\n sdkData,\n createStaticQrData,\n } = profileData;\n\n const isStaticQREnabled = profileData?.data?.staticQREnabled;\n const { staticQrString } = createStaticQrData;\n\n const { userDetails } = auth;\n\n const [isPopupOpen, setIsPopupOpen] = useState(false);\n\n const generateStaticQR = () => {\n actions.createStaticQrRequest({\n merchantId: userDetails.associatedEntityId,\n });\n };\n\n const onStaticQrPopupClose = () => {\n setIsPopupOpen(false);\n actions.resetStaticQrData();\n };\n\n useEffect(() => {\n if (createStaticQrData.isSuccess) {\n setIsPopupOpen(true);\n }\n }, [createStaticQrData.isSuccess]);\n\n const getProfileData = () => {\n if (userDetails.associatedEntityId) {\n const request = {\n merchantCode: userDetails.associatedEntityId || '',\n };\n actions.fetchProfileDetailsRequest(request);\n }\n };\n\n const handleDownloadSdk = fileName => {\n if (fileName) {\n const fileUrl = `/assets/sdks/${fileName}`;\n const link = document.createElement('a');\n link.href = fileUrl;\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n };\n\n useEffect(() => {\n // actions.fetchProfileJSONRequest();\n return () => {\n actions.fetchProfileJSONError();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n getProfileData();\n return () => {\n actions.fetchProfileDetailsError({ error: '' });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [actions, userDetails.associatedEntityId]);\n\n const getImageUrl = item => {\n switch (item.paymentModeInfo) {\n case 'RPAY':\n return Rupay;\n case 'VI':\n return Visa;\n case 'MC':\n return MasterCard;\n case 'AMEX':\n return Amex;\n default:\n return '';\n }\n };\n\n return (\n
    \n
    \n

    Merchant Profile

    \n
    \n
    \n
    \n
    \n {data.checkoutLogoUrl ? (\n \n ) : (\n \"Default\n )}\n \n
    \n
      \n
    • \n \n {data.name}\n
    • \n
    • \n \n {data.entityCode}\n
    • \n
    • \n \n {data.email}\n
    • \n
    • \n \n \n {getRmName(\n data.relationshipManagerId,\n relationshipManagers\n )}\n \n
    • \n
    • \n \n {data.relationshipManagerId}\n
    • \n
    \n
    \n
    \n

    Enable Payment Mode

    \n
    \n
    \n
    \n

    Credit Card

    \n {data &&\n data.paymentModeDetails &&\n data.paymentModeDetails.creditCard.length ? (\n <>\n
      \n {data.paymentModeDetails.creditCard.map(\n item => (\n
    • \n \n
    • \n )\n )}\n
    \n \n ) : (\n

    N/A

    \n )}\n

    Debit Card

    \n {data &&\n data.paymentModeDetails &&\n data.paymentModeDetails.debitCard.length ? (\n <>\n
      \n {data.paymentModeDetails.debitCard.map(\n item => (\n
    • \n \n
    • \n )\n )}\n
    \n \n ) : (\n

    N/A

    \n )}\n
    \n
    \n

    Net Banking

    \n {data &&\n data.paymentModeDetails &&\n data.paymentModeDetails.netBanking.length ? (\n
      \n {data.paymentModeDetails.netBanking.map(\n item => (\n
    • \n {getBankName(\n payValues,\n item.paymentModeInfo\n )}\n
    • \n )\n )}\n
    \n ) : (\n

    N/A

    \n )}\n
    \n
    \n\n {sdkData && sdkData.sdkList && sdkData.sdkList.length ? (\n <>\n
    \n

    Download SDK

    \n
    \n
    \n
      \n {sdkData.sdkList.map(item => (\n \n handleDownloadSdk(item.filePath)\n }\n key={item.name}\n >\n \n {item.name}\n \n
      \n \n
      \n
      \n \n Version: {item.version}\n \n \n Last Update: {item.lastUpdated}\n \n
      \n
      \n \n \n \n Download\n
      \n \n ))}\n
    \n
    \n \n ) : null}\n\n \n
    \n \n
    \n \n
    \n

    Your Static QR

    \n \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, loader, profileData, staticData }) => ({\n auth,\n loader,\n profileData,\n staticData: staticData && staticData.staticInfo,\n payValues: staticData && staticData.payValues,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n updateImageRequest,\n fetchProfileDetailsRequest,\n fetchProfileDetailsError,\n fetchProfileJSONRequest,\n fetchProfileJSONError,\n updateImageError,\n deleteImageError,\n deleteImageRequest,\n resetImageSuccess,\n createStaticQrRequest,\n resetStaticQrData,\n },\n dispatch\n ),\n});\n\nProfile.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n loader: PropTypes.bool,\n profileData: PropTypes.object,\n staticData: PropTypes.object,\n payValues: PropTypes.object,\n};\n\nProfileEdit.propTypes = {\n data: PropTypes.object,\n actions: PropTypes.func,\n getProfileData: PropTypes.func,\n deleteImageData: PropTypes.object,\n updateImage: PropTypes.object,\n resetImage: PropTypes.any,\n};\n\nImageDropZone.propTypes = {\n onFileChange: PropTypes.func,\n selectedFile: PropTypes.array,\n removeFile: PropTypes.any,\n currentImg: PropTypes.any,\n inputError: PropTypes.any,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Profile);\n","import Profile from './Profile';\n\nexport default Profile;\n","const FETCH_MIXED_GRAPH_REQUEST = 'FETCH_MIXED_GRAPH_REQUEST';\nconst FETCH_MIXED_GRAPH_SUCCESS = 'FETCH_MIXED_GRAPH_SUCCESS';\nconst FETCH_MIXED_GRAPH_ERROR = 'FETCH_MIXED_GRAPH_ERROR';\n\nconst FETCH_MULTI_GRAPH_REQUEST = 'FETCH_MULTI_GRAPH_REQUEST';\nconst FETCH_MULTI_GRAPH_SUCCESS = 'FETCH_MULTI_GRAPH_SUCCESS';\nconst FETCH_MULTI_GRAPH_ERROR = 'FETCH_MULTI_GRAPH_ERROR';\n\nconst FETCH_SINGLE_REQUEST = 'FETCH_SINGLE_REQUEST';\nconst FETCH_SINGLE_SUCCESS = 'FETCH_SINGLE_SUCCESS';\nconst FETCH_SINGLE_ERROR = 'FETCH_SINGLE_ERROR';\n\nconst FETCH_DASHBOARD_SUMMARY_REQUEST = 'FETCH_DASHBOARD_SUMMARY_REQUEST';\nconst FETCH_DASHBOARD_SUMMARY_SUCCESS = 'FETCH_DASHBOARD_SUMMARY_SUCCESS';\nconst FETCH_DASHBOARD_SUMMARY_ERROR = 'FETCH_DASHBOARD_SUMMARY_ERROR';\n\nconst FETCH_MULTI_ENTITY_HIERARCHY_REQUEST =\n 'FETCH_MULTI_ENTITY_HIERARCHY_REQUEST';\nconst FETCH_MULTI_ENTITY_HIERARCHY_SUCCESS = 'FETCH_ENTITY_HIERARCHY_SUCCESS';\nconst FETCH_MULTI_ENTITY_HIERARCHY_ERROR = 'FETCH_MULTI_ENTITY_HIERARCHY_ERROR';\n\nconst RESET_DASHBOARD_REQUEST = 'RESET_DASHBOARD_REQUEST';\n\nconst SHOW_DASHBOARD_LOADER = 'SHOW_DASHBOARD_LOADER';\nconst HIDE_DASHBOARD_LOADER = 'HIDE_DASHBOARD_LOADER';\n\nexport {\n FETCH_MIXED_GRAPH_REQUEST,\n FETCH_MIXED_GRAPH_SUCCESS,\n FETCH_MIXED_GRAPH_ERROR,\n FETCH_MULTI_GRAPH_REQUEST,\n FETCH_MULTI_GRAPH_SUCCESS,\n FETCH_MULTI_GRAPH_ERROR,\n FETCH_SINGLE_REQUEST,\n FETCH_SINGLE_SUCCESS,\n FETCH_SINGLE_ERROR,\n FETCH_DASHBOARD_SUMMARY_REQUEST,\n FETCH_DASHBOARD_SUMMARY_SUCCESS,\n FETCH_DASHBOARD_SUMMARY_ERROR,\n SHOW_DASHBOARD_LOADER,\n HIDE_DASHBOARD_LOADER,\n RESET_DASHBOARD_REQUEST,\n FETCH_MULTI_ENTITY_HIERARCHY_REQUEST,\n FETCH_MULTI_ENTITY_HIERARCHY_SUCCESS,\n FETCH_MULTI_ENTITY_HIERARCHY_ERROR,\n};\n","import {\n FETCH_MIXED_GRAPH_REQUEST,\n FETCH_MIXED_GRAPH_SUCCESS,\n FETCH_MIXED_GRAPH_ERROR,\n FETCH_MULTI_GRAPH_REQUEST,\n FETCH_MULTI_GRAPH_SUCCESS,\n FETCH_MULTI_GRAPH_ERROR,\n FETCH_SINGLE_REQUEST,\n FETCH_SINGLE_SUCCESS,\n FETCH_SINGLE_ERROR,\n FETCH_DASHBOARD_SUMMARY_REQUEST,\n FETCH_DASHBOARD_SUMMARY_SUCCESS,\n FETCH_DASHBOARD_SUMMARY_ERROR,\n SHOW_DASHBOARD_LOADER,\n HIDE_DASHBOARD_LOADER,\n RESET_DASHBOARD_REQUEST,\n FETCH_MULTI_ENTITY_HIERARCHY_REQUEST,\n FETCH_MULTI_ENTITY_HIERARCHY_SUCCESS,\n FETCH_MULTI_ENTITY_HIERARCHY_ERROR,\n} from './dashboard.constants';\n\nexport const fetchMixedGraphRequest = payload => ({\n type: FETCH_MIXED_GRAPH_REQUEST,\n payload,\n});\n\nexport const fetchMixedGraphSuccess = payload => ({\n type: FETCH_MIXED_GRAPH_SUCCESS,\n payload,\n});\n\nexport const fetchMixedGraphError = payload => ({\n type: FETCH_MIXED_GRAPH_ERROR,\n payload,\n});\n\nexport const fetchMultiGraphRequest = payload => ({\n type: FETCH_MULTI_GRAPH_REQUEST,\n payload,\n});\n\nexport const fetchMultiGraphSuccess = payload => ({\n type: FETCH_MULTI_GRAPH_SUCCESS,\n payload,\n});\n\nexport const fetchMultiGraphError = payload => ({\n type: FETCH_MULTI_GRAPH_ERROR,\n payload,\n});\n\nexport const fetchSingleGraphRequest = payload => ({\n type: FETCH_SINGLE_REQUEST,\n payload,\n});\n\nexport const fetchSingleGraphSuccess = payload => ({\n type: FETCH_SINGLE_SUCCESS,\n payload,\n});\n\nexport const fetchSingleGraphError = payload => ({\n type: FETCH_SINGLE_ERROR,\n payload,\n});\n\nexport const fetchDashboardSummaryRequest = payload => ({\n type: FETCH_DASHBOARD_SUMMARY_REQUEST,\n payload,\n});\n\nexport const fetchDashboardSummarySuccess = payload => ({\n type: FETCH_DASHBOARD_SUMMARY_SUCCESS,\n payload,\n});\n\nexport const fetchDashboardSummaryError = payload => ({\n type: FETCH_DASHBOARD_SUMMARY_ERROR,\n payload,\n});\n\nexport const resetDashboardRequest = () => ({\n type: RESET_DASHBOARD_REQUEST,\n});\n\nexport const fetchMultiEntityHierarchyRequest = (\n payload,\n level,\n entityType,\n onSuccess\n) => ({\n type: FETCH_MULTI_ENTITY_HIERARCHY_REQUEST,\n payload,\n level,\n entityType,\n onSuccess,\n});\n\nexport const fetchMultiEntityHierarchySuccess = (payload, entityType) => ({\n type: FETCH_MULTI_ENTITY_HIERARCHY_SUCCESS,\n payload,\n entityType,\n});\n\nexport const fetchMultiEntityHierarchyError = payload => ({\n type: FETCH_MULTI_ENTITY_HIERARCHY_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_DASHBOARD_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_DASHBOARD_LOADER });\n","/* eslint-disable no-nested-ternary */\n/* eslint-disable indent */\n// Libraries\n\nimport { fetchEntityListRequest } from 'containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\n// Layouts\n\n// Components\nimport {\n FormElems,\n CustomDate,\n CustomSelect,\n GraphSwitch,\n CardWithTab,\n SuccessCard,\n FailureCard,\n} from '../../components';\n\n// Constants\nimport {\n trendLegends,\n bankLegends,\n barLegends,\n successRateTab,\n failureRateTab,\n ENTITY_TYPE,\n} from '../../utils/constants/commonValues';\n\n// Helper\nimport {\n getFormattedDate,\n formatPieChartData,\n} from '../../utils/helperMethods';\n\n// Images\nimport barLoader from '../../static/images/skeletons/bar.gif';\nimport lineLoader from '../../static/images/skeletons/line.gif';\nimport lineBigLoader from '../../static/images/skeletons/line-big.gif';\n\n// Actions\nimport SuccessRate from '../../static/images/SuccessRate.svg';\nimport InfoSvg from '../../static/images/info.svg';\nimport Transaction from '../../static/images/tranx.svg';\nimport TransactionCount from '../../static/images/tranxCount.svg';\nimport TotalGmv from '../../static/images/gmv.svg';\n\nimport { fetchUnderlyingMerchantStaticError } from '../../redux/common/staticData/staticData.actions';\nimport {\n fetchMixedGraphRequest,\n fetchMultiGraphRequest,\n fetchSingleGraphRequest,\n fetchDashboardSummaryRequest,\n resetDashboardRequest,\n fetchMultiEntityHierarchyRequest,\n} from './redux/dashboard.actions';\nimport { isEmpty } from 'lodash';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport { components } from 'react-select';\nimport PropTypes from 'prop-types';\nimport React, { useState, useEffect, useMemo, useCallback } from 'react';\n\n// Styles\nimport './dashboard.scss';\n\nconst ValueContainer = ({ children, ...props }) => {\n const { getValue, hasValue, options } = props;\n const newChildren = [...children];\n const nbValues = getValue().filter(item => item.value !== 'all').length;\n const type = options[0]?.type;\n if (type === 'merchant') {\n newChildren[0] = `${nbValues} Merchants Selected`;\n } else {\n newChildren[0] = `${nbValues} Aggregators Selected`;\n }\n\n if (!hasValue) {\n return (\n \n {children}\n \n );\n }\n return (\n \n {newChildren}\n \n );\n};\n\nconst getEntityIds = entity => {\n if (entity) {\n return entity.map(item => item.value);\n }\n return [];\n};\n\nconst Option = props => {\n const { data, isSelected } = props;\n data.checked = isSelected;\n const dataOptions = [data];\n return (\n \n
    \n \n
    \n
    \n );\n};\n\nconst formatOptions = staticData => {\n if (!isEmpty(staticData.underlyingMerchant)) {\n const formatMerchant = staticData.underlyingMerchant.map(item => {\n return {\n label: item.name,\n value: item.entityCode,\n checked: false,\n type: 'merchant',\n };\n });\n\n return formatMerchant;\n }\n if (!isEmpty(staticData.underlyingMerchantID)) {\n const formatMerchant = staticData.underlyingMerchantID.map(item => {\n return {\n label: item.entityCode,\n value: item.entityCode,\n checked: false,\n type: 'merchant',\n };\n });\n\n return formatMerchant;\n }\n if (!isEmpty(staticData.aggregator)) {\n const formatAggregator = staticData.aggregator.map(item => {\n return {\n label: item.name,\n value: item.entityCode,\n checked: false,\n type: 'aggregator',\n };\n });\n\n return formatAggregator;\n }\n return [];\n};\n\n// eslint-disable-next-line complexity\nconst Dashboard = props => {\n const { staticData, actions, dashboard, merchantData, auth } = props;\n const {\n error,\n summary,\n singleGraph: { GMV, STATUS_TREND, SUCCESS_RATE, TRANSACTIONS_COUNT },\n paymentModeWise,\n failures,\n } = dashboard;\n const { userLevel, associatedEntityId, name } = auth.userDetails;\n const [selectedMerchant, setSelectedMerchant] = useState([]);\n const [selectedMerchantID, setSelectedMerchantID] = useState([]);\n const [dateValue, setDateValue] = useState('');\n const [prevDateValue, setPrevDateValue] = useState('');\n const [merchantOptions, setMerchantOptions] = useState([]);\n const [merchantOptionsID, setMerchantOptionsID] = useState([]);\n const { entityList } = merchantData;\n const [aggregatorOptions, setAggregatorOptions] = useState([]);\n const [selectedAggregator, setSelectedAggregator] = useState([]);\n\n // fetch entity (aggregator)\n useEffect(() => {\n // get all aggregator\n actions.fetchEntityListRequest(ENTITY_TYPE.AGGREGATOR);\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT);\n }, [actions]);\n\n useEffect(() => {\n if (entityList?.aggregator?.length) {\n setAggregatorOptions(formatOptions(entityList));\n }\n }, [entityList, entityList.aggregator]);\n\n // handle scenerio when user selects aggregator\n useEffect(() => {\n if (entityList?.merchants?.length && selectedAggregator.length) {\n const formattedMerchants = formatOptions({\n underlyingMerchant: entityList.merchants,\n });\n setMerchantOptions(formattedMerchants);\n }\n }, [entityList, entityList.merchants, staticData, selectedAggregator]);\n\n useEffect(() => {\n if (entityList?.merchants?.length && selectedAggregator.length) {\n const formattedMerchants = formatOptions({\n underlyingMerchantID: entityList.merchants,\n });\n setMerchantOptionsID(formattedMerchants);\n }\n }, [entityList, entityList.merchants, staticData, selectedAggregator]);\n\n useEffect(() => {\n return () => {\n actions.fetchUnderlyingMerchantStaticError({ error: '' });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n // for aggregator show aggregator's data default\n if (userLevel === 'AGGREGATOR') {\n const currentUserEntity = formatOptions({\n underlyingMerchant: [\n {\n entityCode: associatedEntityId,\n name,\n },\n ],\n });\n\n setSelectedAggregator(currentUserEntity);\n }\n\n if (entityList.merchant && entityList.merchant.length) {\n const merchantList = formatOptions({\n underlyingMerchant: entityList.merchant || [],\n });\n setMerchantOptions(merchantList);\n\n if (userLevel === 'MLE' || userLevel === 'FRANCHISE') {\n const defaultSelectedMerchant =\n merchantList &&\n merchantList.length &&\n merchantList.map(item => ({ ...item, checked: true }));\n setSelectedMerchant(defaultSelectedMerchant);\n }\n }\n\n if (entityList.merchant && entityList.merchant.length) {\n const merchantList = formatOptions({\n underlyingMerchantID: entityList.merchant || [],\n });\n setMerchantOptionsID(merchantList);\n\n if (userLevel === 'MLE' || userLevel === 'FRANCHISE') {\n const defaultSelectedMerchant =\n merchantList &&\n merchantList.length &&\n merchantList.map(item => ({ ...item, checked: true }));\n setSelectedMerchantID(defaultSelectedMerchant);\n }\n }\n\n if (\n staticData.underlyingMerchant &&\n staticData.underlyingMerchant.length &&\n userLevel === 'MERCHANT'\n ) {\n const merchantList = formatOptions(staticData);\n setMerchantOptions(merchantList);\n\n const merchantListID = formatOptions({...staticData, underlyingMerchantID: staticData.underlyingMerchant });\n setMerchantOptionsID(merchantListID);\n\n const defaultSelectedMerchant =\n merchantList &&\n merchantList.length &&\n merchantList.map(item => ({ ...item, checked: true }));\n\n setSelectedMerchant(defaultSelectedMerchant);\n setSelectedMerchantID(defaultSelectedMerchant);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n entityList.merchant,\n userLevel,\n associatedEntityId,\n name,\n staticData.underlyingMerchant,\n ]);\n\n const handleMerchantSelect = value => {\n setSelectedMerchant(value);\n };\n\n const handleMerchantSelectID = value => {\n setSelectedMerchantID(value);\n };\n // aggregator select\n const handleAggregatorSelect = val => {\n setSelectedAggregator(val);\n const parsedAggregatorVal = val.map(aggregator => aggregator.value);\n actions.fetchMultiEntityHierarchyRequest(\n parsedAggregatorVal,\n 'LOWER_COMPLETE',\n 'AGGREGATOR_TXN'\n );\n setSelectedMerchant([]);\n if (!val.length) {\n setMerchantOptions(\n formatOptions({ underlyingMerchant: entityList.merchant })\n );\n }\n };\n\n const memoMerchantData = useMemo(() => {\n if (\n selectedMerchant &&\n selectedMerchant.length &&\n dateValue &&\n dateValue.value\n ) {\n return {\n selectedMerchant,\n dateValue,\n };\n }\n }, [selectedMerchant, dateValue]);\n\n const memoMerchantDataID = useMemo(() => {\n if (\n selectedMerchantID &&\n selectedMerchantID.length &&\n dateValue &&\n dateValue.value\n ) {\n return {\n selectedMerchant: selectedMerchantID,\n dateValue,\n };\n }\n }, [selectedMerchantID, dateValue]);\n\n console.log('selectedMerchantID', selectedMerchantID);\n\n const memoAggregatorData = useMemo(() => {\n if (\n selectedAggregator &&\n selectedAggregator.length &&\n dateValue &&\n dateValue.value\n ) {\n return {\n selectedAggregator,\n dateValue,\n };\n }\n }, [selectedAggregator, dateValue]);\n\n const fetchDasboardData = useCallback(\n data => {\n actions.fetchMixedGraphRequest(data);\n actions.fetchMultiGraphRequest(data);\n actions.fetchSingleGraphRequest({\n ...data,\n graphIdentifier: 'GMV',\n });\n actions.fetchSingleGraphRequest({\n ...data,\n graphIdentifier: 'STATUS_TREND',\n });\n actions.fetchSingleGraphRequest({\n ...data,\n graphIdentifier: 'SUCCESS_RATE',\n });\n actions.fetchSingleGraphRequest({\n ...data,\n graphIdentifier: 'TRANSACTIONS_COUNT',\n });\n actions.fetchDashboardSummaryRequest(data);\n },\n [actions]\n );\n\n useEffect(() => {\n console.log(memoMerchantDataID, \"memoMerchantDataID\");\n if (\n (memoMerchantData &&\n memoMerchantData.selectedMerchant &&\n memoMerchantData.selectedMerchant.length &&\n memoMerchantData.dateValue &&\n memoMerchantData.dateValue.value) ||\n (memoAggregatorData &&\n memoAggregatorData.selectedAggregator &&\n memoAggregatorData.selectedAggregator.length &&\n memoAggregatorData.dateValue &&\n memoAggregatorData.dateValue.value) ||\n (memoMerchantDataID &&\n memoMerchantDataID.selectedMerchant &&\n memoMerchantDataID.selectedMerchant.length &&\n memoMerchantDataID.dateValue &&\n memoMerchantDataID.dateValue.value)\n ) {\n let merchantIds = getEntityIds(\n memoMerchantData?.selectedMerchant\n );\n const merchantIds2 = getEntityIds(\n memoMerchantDataID?.selectedMerchant\n );\n\n merchantIds = [...new Set([...merchantIds, ...merchantIds2])];\n\n const aggregatorIds = getEntityIds(\n memoAggregatorData?.selectedAggregator\n );\n let entityIds = [];\n // if merchant and aggregator only show merchant\n if (merchantIds.length && aggregatorIds.length) {\n entityIds = merchantIds;\n } else if (aggregatorIds.length && !merchantIds.length) {\n entityIds = aggregatorIds;\n } else if (merchantIds.length && !aggregatorIds.length) {\n entityIds = merchantIds;\n }\n let date;\n if (memoMerchantData?.dateValue) {\n date = getFormattedDate(memoMerchantData?.dateValue);\n } else if (memoAggregatorData?.dateValue) {\n date = getFormattedDate(memoAggregatorData?.dateValue);\n }else if (memoMerchantDataID?.dateValue) {\n date = getFormattedDate(memoMerchantDataID?.dateValue);\n }\n const data = {\n endDate: date.endDate,\n startDate: date.startDate,\n merchantIds: entityIds,\n };\n\n fetchDasboardData(data);\n }\n return () => {\n actions.resetDashboardRequest();\n };\n }, [\n actions,\n fetchDasboardData,\n memoMerchantData,\n memoAggregatorData,\n userLevel,\n associatedEntityId,\n memoMerchantDataID\n ]);\n\n // erroemsg show condition\n const noDataSelection = () => {\n if (error.errorMsg || !dateValue || !dateValue.value) {\n return true;\n }\n\n if (selectedAggregator.length || selectedMerchant.length || selectedMerchantID.length) {\n return false;\n }\n\n return true;\n };\n\n const onInputChangeAgre = (value) => {\n const filtered = entityList.aggregator.filter(item => {\n return item.name.toLowerCase().includes(value.toLowerCase());\n }) || [];\n\n const data = {\n entityName: value,\n entityCode: '',\n };\n\n if (filtered.length === 0 && value.length >= 3) {\n actions.fetchEntityListRequest(ENTITY_TYPE.AGGREGATOR, data);\n }\n }\n\n const onInputChange = (value) => {\n const filtered = entityList.merchant.filter(item => {\n return item.name.toLowerCase().includes(value.toLowerCase());\n }) || [];\n\n const data = {\n entityName: value,\n entityCode: '',\n };\n\n if (filtered.length === 0 && value.length >= 3) {\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT, data);\n }\n }\n\n const onInputChangeID = (value) => {\n const filtered = entityList.merchant.filter(item => {\n return item.entityCode.toLowerCase().includes(value.toLowerCase());\n }) || [];\n\n const data = {\n entityName: '',\n entityCode: value,\n };\n\n if (filtered.length === 0 && value.length >= 3) {\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT, data);\n }\n }\n\n return (\n
    \n
    \n

    Dashboard

    \n
    \n {userLevel === 'ADMIN' && (\n \n )}\n\n {userLevel && userLevel !== 'MERCHANT' && (\n <>\n \n \n \n )}\n\n \n
    \n
    \n {noDataSelection() ? (\n
    \n \"info\"\n

    \n {error.errorMsg ||\n 'Please select merchants and date to view the stats'}\n

    \n
    \n ) : (\n <>\n
      \n
    • \n
      \n \n

      \n {summary.isLoading ? (\n \n ) : summary.GMV ? (\n `₹ ${summary.GMV}`\n ) : (\n 'NA'\n )}\n {/* 0.34% */}\n

      \n
      \n
      \n \"Total\n
      \n
    • \n
    • \n
      \n \n

      \n {summary.isLoading ? (\n \n ) : summary.TRANSACTION_COUNT ? (\n `${summary.TRANSACTION_COUNT}`\n ) : (\n 'NA'\n )}\n {/* 0.34% */}\n

      \n
      \n
      \n \n
      \n
    • \n
    • \n
      \n \n

      \n {summary.isLoading ? (\n \n ) : summary.SUCCESSFUL_TRANSACTION_COUNT ? (\n `${summary.SUCCESSFUL_TRANSACTION_COUNT}`\n ) : (\n 'NA'\n )}\n

      \n
      \n
      \n \"STATUS\n
      \n
    • \n
    • \n
      \n \n

      \n {summary.isLoading ? (\n \n ) : summary.SUCCESS_RATE ? (\n `${summary.SUCCESS_RATE} %`\n ) : (\n 'NA'\n )}\n

      \n
      \n
      \n \"SUCCESS\n
      \n
    • \n
    \n
      \n
    • \n {GMV && GMV.timeSeriesValues ? (\n \n ) : (\n \n )}\n
    • \n
    • \n {TRANSACTIONS_COUNT &&\n TRANSACTIONS_COUNT.timeSeriesValues ? (\n \n ) : (\n \n )}\n
    • \n
    • \n {STATUS_TREND && STATUS_TREND.timeSeriesValues ? (\n \n ) : (\n \n )}\n
    • \n
    • \n {SUCCESS_RATE && SUCCESS_RATE.timeSeriesValues ? (\n \n ) : (\n \n )}\n
    • \n
    \n {isEmpty(paymentModeWise) ? (\n \n ) : (\n \n item && (\n \n )\n }\n />\n )}\n {isEmpty(failures) ? (\n \n ) : (\n \n item && \n }\n />\n )}\n \n )}\n
    \n );\n};\n\nconst mapStateToProps = ({\n auth,\n dashboard,\n loader,\n staticData,\n merchantData,\n}) => ({\n auth,\n loader,\n dashboard,\n staticData,\n merchantData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchMixedGraphRequest,\n fetchMultiGraphRequest,\n fetchSingleGraphRequest,\n fetchDashboardSummaryRequest,\n fetchUnderlyingMerchantStaticError,\n resetDashboardRequest,\n fetchMultiEntityHierarchyRequest,\n fetchEntityListRequest,\n },\n dispatch\n ),\n});\n\nOption.propTypes = {\n data: PropTypes.object,\n selectProps: PropTypes.object,\n isSelected: PropTypes.bool,\n hasValue: PropTypes.bool,\n};\n\nValueContainer.propTypes = {\n hasValue: PropTypes.bool,\n children: PropTypes.array,\n getValue: PropTypes.func,\n options: PropTypes.array,\n};\n\nDashboard.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n staticData: PropTypes.object,\n dashboard: PropTypes.object,\n loader: PropTypes.object,\n merchantData: PropTypes.object,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Dashboard);\n","import Dashboard from './Dashboard';\n\nexport default Dashboard;\n","// Libraries\nimport { FormElems } from '../../components';\nimport axislogo from '../../static/images/fc-logo-03.png';\nimport errorImage from '../../static/images/unexpected-error.png';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { useHistory } from 'react-router-dom';\n\n// Components\n\n// Images\n\n// Styles\nimport './errorPage.scss';\n\nconst ErrorPage = props => {\n const { error, resetErrorBoundary } = props;\n const history = useHistory();\n\n // Handle function on home button click\n function handleBack() {\n history.push('/');\n resetErrorBoundary && resetErrorBoundary();\n }\n\n // Handle function on try agin button click\n function handleAgain() {\n history.push('/');\n setTimeout(() => {\n window.location.reload();\n }, 100);\n resetErrorBoundary && resetErrorBoundary();\n }\n return (\n
    \n
    \n \"axis\n
    \n
    \n
    \n \"Unexpected\n
    \n

    Unexpected Error

    \n

    \n {error ||\n `Unable to process the request. Please try again after some\n time`}\n

    \n
    \n {error ? (\n \n ) : (\n \n )}\n
    \n
    \n
    \n );\n};\n\nErrorPage.propTypes = {\n error: PropTypes.object,\n resetErrorBoundary: PropTypes.func,\n};\n\nexport default ErrorPage;\n","import ErrorPage from './ErrorPage';\n\nexport default ErrorPage;\n","/* eslint-disable indent */\n/* eslint-disable no-nested-ternary */\nimport { validators } from '../../utils/validators';\nimport { FormElems, Alert } from '../../components';\nimport { UNIFIED_MSR } from './constant';\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { isEmpty } from 'lodash';\nimport moment from 'moment';\n\nconst DownloadFile = props => {\n const {\n actions,\n filterData,\n showDownloadPopup,\n setShowDownloadPopup,\n tableData,\n handleSubmit,\n untouch,\n change,\n generateData,\n isDateRangeFieldRequired,\n dateRangeFieldName,\n userLevel,\n auth,\n } = props;\n\n const handleOpenActionPopup = actionType => {\n setShowDownloadPopup(!showDownloadPopup);\n };\n\n useEffect(() => {\n if (generateData.isSuccess) {\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generateData.isSuccess]);\n\n const handleCloseOpenActionPopup = () => {\n setShowDownloadPopup(false);\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n };\n\n const handleGenerateSubmit = values => {\n const payload = {\n msrReportMetadata: {\n entityName:\n Array.isArray(filterData?.entityNames) &&\n filterData.entityNames.length > 0\n ? filterData?.entityNames[0]\n : null,\n entityID:\n Array.isArray(filterData?.entityIds) &&\n filterData.entityIds.length > 0\n ? filterData?.entityIds[0]\n : auth.userDetails.associatedEntityId,\n merchantIds:\n Array.isArray(filterData?.entityIds) &&\n filterData.entityIds.length > 0\n ? [filterData?.entityIds[0]]\n : [],\n },\n merchantIds:\n Array.isArray(filterData?.entityIds) &&\n filterData.entityIds.length > 0\n ? [filterData?.entityIds[0]]\n : [],\n startDateTime: moment(filterData.startDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss'),\n endDateTime: moment(filterData?.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss'),\n reportType: filterData?.settlementMode === 'EDI_TRANSACTION' ? 'EDI_REPORT' : UNIFIED_MSR,\n reportFileName:\n userLevel !== 'MERCHANT'\n ? `UNIFIED_MSR_${filterData?.entityIds[0]}`\n : `UNIFIED_MSR_${auth.userDetails.associatedEntityId}`,\n };\n actions.generateReportRequest(payload);\n };\n\n const isDownloadButtonDisabled = () => {\n let isDisabled = false;\n if (tableData.length === 0) {\n isDisabled = true;\n }\n\n // Matching End Date Timestamp from start Time ie. 00:00:00 with real time timestamp start time\n\n const endDate = filterData.endDate;\n\n const endDateTimestamp = moment(endDate)\n .startOf('day')\n .unix();\n\n const realtime = moment(new Date())\n .startOf('day')\n .unix();\n\n // if (endDateTimestamp === realtime) {\n // isDisabled = true;\n // }\n\n return isDisabled;\n };\n\n const isMultipleMerchantsSelected = () => {\n const selectedMerchants = filterData?.entityIds || [];\n return selectedMerchants.length > 1;\n };\n\n useEffect(() => {\n return () => {\n handleCloseOpenActionPopup();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const isGenerateButtonDisabled = () => {\n if (isEmpty(tableData)) {\n return true;\n }\n if (userLevel !== 'MERCHANT') {\n const isMultipleMerchant = isMultipleMerchantsSelected();\n const isDateRangeField = isDateRangeFieldRequired\n ? isEmpty(filterData[dateRangeFieldName])\n : false;\n return isMultipleMerchant || isDateRangeField;\n }\n };\n\n return (\n
    \n \n {showDownloadPopup ? (\n <>\n \n
    \n
    \n \n {isMultipleMerchantsSelected() && (\n \n Multiple merchants selected, please select only one merchant\n \n )}\n {userLevel !== 'MERCHANT' && isEmpty(filterData[dateRangeFieldName]) ? (\n \n Please select a merchant\n \n ) : isEmpty(tableData) ? (\n \n No data available\n \n ) : userLevel !== 'MERCHANT' &&\n isEmpty(filterData.merchantId) ? (\n // \n // Please Select Merchant Id\n // \n <>\n ) : null}\n
    \n \n
    \n \n
    \n
    \n \n ) : null}\n
    \n );\n};\n\nDownloadFile.propTypes = {\n actions: PropTypes.object,\n filterData: PropTypes.object,\n tableData: PropTypes.object,\n showDownloadPopup: PropTypes.bool,\n setShowDownloadPopup: PropTypes.func,\n handleSubmit: PropTypes.func,\n change: PropTypes.func,\n untouch: PropTypes.func,\n generateData: PropTypes.object,\n isDateRangeFieldRequired: PropTypes.bool,\n dateRangeFieldName: PropTypes.string,\n userLevel: PropTypes.string,\n auth: PropTypes.object,\n};\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n\n // if (REQUIRED(values) || REQUIRED(values.fileName)) {\n // errors.fileName = 'Please enter a File Name';\n // }\n // if (values.fileName && values.fileName.length > 25) {\n // errors.fileName = 'Max 25 character are allowed in filename';\n // }\n // const isValid = /^[A-Za-z0-9\\d\\-_\\s]+$/i.test(values.fileName);\n // if (!isValid) {\n // errors.fileName =\n // 'Only numbers, letters, - & _ are allowed in filename';\n // }\n // if (!/^\\S+$/.test(values.fileName)) {\n // errors.fileName = 'Spaces not allowed in filename';\n // }\n return errors;\n};\n\nexport default reduxForm({\n form: 'downloadFile',\n enableReinitialize: true,\n validate,\n destroyOnUnmount: false,\n})(DownloadFile);\n","export const UNIFIED_MSR = 'UNIFIED_MSR';\n","import { CustomDate } from '../../components';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { reduxForm } from 'redux-form';\n\nconst SearchSection = props => {\n const {\n setDateValue,\n prevDateValue,\n setPrevDateValue,\n addProp,\n configOptions,\n customStyles,\n isResetDate,\n } = props;\n return (\n
    \n \n
    \n );\n};\n\nSearchSection.propTypes = {\n actions: PropTypes.object,\n setDateValue: PropTypes.func,\n prevDateValue: PropTypes.string,\n setPrevDateValue: PropTypes.func,\n addProp: PropTypes.func,\n configOptions: PropTypes.array,\n customStyles: PropTypes.object,\n isResetDate: PropTypes.bool,\n};\n\nexport default reduxForm({\n form: 'search-section',\n})(SearchSection);\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nfunction CurrentDaySummary({ data = {}, actions, tableData = [], userLevel }) {\n const dataLen = Object.keys(data);\n\n const retrySettlementHandler = () => {\n const settlementIds = tableData\n .filter(data => data.settlementStatus === 'SETTLED')\n .map(data => data.settlementId);\n actions.retrySettlementRequest({ settlementIds });\n };\n\n return (\n <>\n {dataLen.length > 0 ? (\n
    \n
    \n

    Summary for current day settlements

    \n {userLevel === 'ADMIN' && (\n \n Retry Settlement\n
    \n )}\n
    \n
    \n
    \n

    Gross Amount

    \n

    {data.grossAmt}

    \n
    \n
    \n

    Refund Amount

    \n

    {data.refundAmt}

    \n
    \n
    \n

    Fee & Charges

    \n

    {data.fee}

    \n
    \n
    \n

    GST

    \n

    {data.gst}

    \n
    \n
    \n

    Net Settlement

    \n

    {data.netSettlementAmount}

    \n
    \n
    \n
    \n ) : (\n
    \n )}\n \n );\n}\n\nCurrentDaySummary.propTypes = {\n data: PropTypes.object,\n tableData: PropTypes.object,\n actions: PropTypes.func,\n userLevel: PropTypes.string,\n};\n\nexport default CurrentDaySummary;\n","// Layouts\nimport {\n fetchEntityListRequest,\n fetchEntityHierarchyRequest,\n} from 'containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\nimport moment from 'moment';\nimport React, {\n useMemo,\n useState,\n useCallback,\n useEffect,\n useRef,\n} from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { isEmpty } from 'lodash';\nimport { components } from 'react-select';\nimport { fetchAuditTrailStaticRequest } from '../../redux/common/staticData/staticData.actions';\nimport {\n Table,\n FormElems,\n Popup,\n ViewDownloadStatus,\n SettlementForm,\n TableSearch,\n CustomSelect,\n TableFilter,\n OdsCard,\n ErrorCard,\n} from '../../components';\nimport {\n dateOptionsSettlement,\n ENTITY_TYPE,\n TRANSACTION_TYPE,\n} from '../../utils/constants/commonValues';\nimport {\n formatFormDataOptions,\n getFormattedDate,\n getFormButtonText,\n} from '../../utils/helperMethods';\nimport {\n generateReportRequest,\n generateReportError,\n resetTxnState,\n} from '../Transactions/redux/transactions.actions';\nimport { PAYMENT_MODE } from '../Transactions/constant';\nimport DownloadFile from './DownloadFile';\nimport {\n fetchSettlementRequest,\n fetchSettlementMetricsRequest,\n retrySettlementRequest,\n retriggerSettlementRequest,\n fetchAvailableBalanceRequest,\n getMerchantSectionInfoRequest,\n fetchNetSettlementRequest,\n} from './redux/settlement.actions';\nimport DateSection from './DateFilter';\nimport CurrentDaySummary from './CurrentDaySummary';\n\n// Libraries\n\n// Styles\nimport './settlement.scss';\nimport { UNIFIED_MSR } from './constant';\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Settlement Start/End Date',\n name: 'createdOn',\n props: {\n startDate: moment()\n .endOf('day')\n .subtract(1, 'days'),\n endDate: moment().endOf('day'),\n maximumNights: 30,\n notResetDate: true,\n },\n },\n {\n fieldType: 'search-select',\n label: 'Aggregator Name',\n name: 'aggregatorId',\n props: {\n data: [],\n label: 'Select Aggregator',\n labelField: 'name',\n valueField: 'entityCode',\n entityType: 'AGGREGATOR',\n },\n },\n {\n fieldType: 'multi-select',\n label: 'Merchant Name',\n name: 'merchantName',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'name',\n valueField: 'entityCode',\n entityType: 'MERCHANT_NAME',\n },\n },\n {\n fieldType: 'multi-select',\n label: 'Merchant ID',\n name: 'merchantId',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'entityCode',\n valueField: 'entityCode',\n entityType: 'MERCHANT_ID',\n },\n },\n {\n fieldType: 'parallel-input',\n label: 'Amount',\n fieldA: {\n name: 'minAmt',\n props: {\n placeholder: 'Min. Amount',\n type: 'number',\n },\n },\n fieldB: {\n name: 'maxAmt',\n props: {\n placeholder: 'Max. Amount',\n type: 'number',\n },\n },\n },\n {\n fieldType: 'multi-select',\n label: 'Settlement State',\n name: 'settlementStates',\n props: {\n data: [\n {\n name: 'Initiated',\n value: 'INITIATED',\n },\n {\n name: 'Disbursed',\n value: 'DISBURSED',\n },\n {\n name: 'Settled',\n value: 'SETTLED',\n },\n ],\n label: 'Select Settlement State',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Settlement Mode',\n name: 'settlementMode',\n props: {\n data: [\n {\n name: 'Cyclic',\n value: 'CYCLIC',\n },\n {\n name: 'Instant',\n value: 'INSTANT',\n },\n {\n name: 'ODS',\n value: 'ODS',\n },\n {\n name: 'EDI',\n value: 'EDI_TRANSACTION',\n },\n ],\n label: 'Select Settlement Mode',\n labelField: 'name',\n valueField: 'value',\n },\n },\n];\n\nconst searchKeyList = [\n {\n name: 'FCPG TXN ID',\n value: 'TRANSACTION_ID',\n },\n {\n name: 'Merchant TXN ID',\n value: 'ORDER_ID',\n },\n {\n name: 'Settlement ID',\n value: 'SETTLEMENT_ID',\n },\n {\n name: 'NEFT ID',\n value: 'NEFT_ID',\n },\n];\n\nconst formatOptions = merchantData => {\n if (!isEmpty(merchantData)) {\n const formatMerchant = merchantData.map(item => {\n return {\n label: item.name,\n value: item.entityCode,\n checked: false,\n type: 'merchant',\n };\n });\n\n return formatMerchant;\n }\n return [];\n};\n\nconst formatOptionsID = merchantData => {\n if (!isEmpty(merchantData)) {\n const formatMerchant = merchantData.map(item => {\n return {\n label: item.entityCode,\n value: item.entityCode,\n checked: false,\n type: 'merchant',\n };\n });\n\n return formatMerchant;\n }\n return [];\n};\n\nconst ValueContainer = ({ children, ...props }) => {\n const { getValue, hasValue, options } = props;\n const newChildren = [...children];\n const nbValues = getValue().filter(item => item.value !== 'all').length;\n const type = options[0]?.type;\n if (type === 'merchant') {\n newChildren[0] = `${nbValues} Merchants Selected`;\n } else {\n newChildren[0] = `${nbValues} Aggregators Selected`;\n }\n\n if (!hasValue) {\n return (\n \n {children}\n \n );\n }\n return (\n \n {newChildren}\n \n );\n};\n\nconst Option = props => {\n const { data, isSelected } = props;\n data.checked = isSelected;\n const dataOptions = [data];\n return (\n \n
    \n \n
    \n
    \n );\n};\n\nconst SettlementActions = ({\n data,\n fetchData,\n resetPage,\n actions,\n userLevel,\n permissions,\n auth,\n callbackFunction,\n}) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n\n const handelCallbackFunction = () => {\n setShowFilter(false);\n callbackFunction();\n };\n\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n const { original = {} } = data || {};\n const { originalData = {} } = original || {};\n\n const handleCloseOpenActionPopup = isFetch => {\n setShowFilter(false);\n setActionType(null);\n if (isFetch && !isFetch.target) {\n fetchData({\n pageIndex: 1,\n pageSize: 10,\n });\n resetPage();\n }\n };\n\n const generateReport = () => {\n const req = {\n reportFileName: `MSR_SETTLEMENT_${originalData.settlementId}`,\n reportType: 'MSR',\n msrReportMetadata: {\n entityID: originalData.entityId,\n entityName: originalData.entityName,\n settlementAcc: originalData.settlementAcc,\n settlementDate: moment(originalData.date).format(\n 'DD-MMMM-YYYY'\n ),\n entityGSTIN: '',\n entityState: '',\n utr: originalData.utr,\n payableEntityId: [originalData.payableEntityId],\n settlementId: originalData.settlementId,\n payableType: originalData?.payableType,\n },\n };\n // reusing txn saga for data check txn store\n actions.generateReportRequest(req);\n };\n\n return (\n
    \n
    \n );\n};\n\n// eslint-disable-next-line max-statements\nconst Settlement = props => {\n const {\n settlementData,\n actions,\n loader: { showLoader },\n transactionData,\n merchantData,\n auth,\n } = props;\n const {\n error,\n tableData,\n isLoading,\n pagination,\n dailySettlementMetrics,\n } = settlementData;\n\n const { entityList } = merchantData;\n const [prevDateValue, setPrevDateValue] = useState('');\n const [isResetDate, setIsResetDate] = useState(false);\n const [showFilter, setShowFilter] = useState(false);\n const { activeReports, generatedFile } = transactionData || {};\n const selectedAggregator = useRef(null);\n\n const { userLevel, associatedEntityId } = auth.userDetails;\n\n const { permissions } = auth.resourceDetails;\n\n const [merchantOptions, setMerchantOptions] = useState([]);\n const [merchantOptionsID, setMerchantOptionsID] = useState([]);\n const [selectedMerchant, setSelectedMerchant] = useState([]);\n const [selectedMerchantID, setSelectedMerchantID] = useState([]);\n const [showDownloadPopup, setShowDownloadPopup] = useState(false);\n const [searchKey, setSearchKey] = useState('TRANSACTION_ID');\n const [searchValue, setSearchValue] = useState('');\n\n const columns = useMemo(\n () => [\n { header: 'Merchant Name', accessor: 'entityName' },\n { header: 'Settlement ID', accessor: 'settlementId' },\n { header: 'Date/Time', accessor: 'date' },\n { header: 'UTR', accessor: 'utr' },\n {\n header: 'Net Settlement Amount',\n accessor: 'netSettlementAmount',\n },\n { header: 'Status', accessor: 'settlementStatus' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [isResetPage, setIsResetPage] = useState(false);\n const [pageSize, setPageSize] = useState(10);\n const [filterData, setFilterData] = useState({\n startDate: null,\n endDate: null,\n });\n\n const handleSearchEnd = (value, entityType) => {\n const type =\n entityType === 'MERCHANT_NAME' || entityType === 'MERCHANT_ID'\n ? 'MERCHANT'\n : entityType;\n\n const data = {\n entityName: ['MERCHANT_NAME', 'AGGREGATOR'].includes(entityType)\n ? value\n : '',\n entityCode: !['MERCHANT_NAME', 'AGGREGATOR'].includes(entityType)\n ? value\n : '',\n };\n actions.fetchEntityListRequest(type, data);\n };\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n if (userLevel && filterData.startDate && filterData.endDate) {\n const request = {\n pageSize,\n pageNo: pageIndex,\n ...filterData,\n searchKey: searchValue ? searchKey : null,\n searchValue: searchValue,\n };\n\n if (userLevel === 'MERCHANT') {\n request.entityIds = [associatedEntityId];\n }\n\n actions.fetchSettlementRequest(request);\n setPageSize(pageSize);\n }\n },\n [actions, filterData, userLevel, associatedEntityId, searchValue, searchKey]\n );\n\n useEffect(() => {\n // This is a simple fix to call fetchData on page refresh after getting userLevel\n setFilterData(preData => ({ ...preData, reload: !preData.reload }));\n }, [userLevel, associatedEntityId]);\n\n const handleCloseViewDownloads = () => {\n setShowFilter(false);\n };\n const handleViewDownloads = () => {\n setShowFilter(true);\n };\n\n const handleSearchSubmit = searchValue => {\n actions.fetchSettlementRequest({\n searchKey: searchValue ? searchKey : null,\n searchValue: searchValue,\n ...filterData,\n });\n };\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n useEffect(() => {\n if (associatedEntityId && userLevel === 'MERCHANT') {\n actions.fetchAvailableBalanceRequest({\n entityId: associatedEntityId,\n });\n actions.fetchNetSettlementRequest({\n entityId: associatedEntityId,\n });\n }\n }, [actions, associatedEntityId, userLevel]);\n\n useEffect(() => {\n if (generatedFile.isSuccess) {\n setShowFilter(true);\n }\n return () => {\n actions.generateReportError({ error: {} });\n };\n }, [actions, generatedFile.isSuccess]);\n\n // reset txn state if report is generated\n useEffect(() => {\n return () => {\n actions.resetTxnState();\n };\n }, [actions]);\n\n const handleAggregatorSelect = useCallback(\n entityCode => {\n selectedAggregator.current = entityCode;\n if (!entityCode) {\n // used to rerender so all merchant visible\n setFilterData({\n createdOn: filterData.createdOn,\n });\n return;\n }\n actions.fetchEntityHierarchyRequest(\n entityCode,\n 'LOWER_COMPLETE',\n 'AGGREGATOR_TXN'\n );\n },\n [actions, filterData.createdOn]\n );\n\n useEffect(() => {\n // get all aggregator\n actions.fetchEntityListRequest(ENTITY_TYPE.AGGREGATOR);\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT);\n // add onchange listener to aggregator\n filterFieldList.forEach(filter => {\n if (filter.name === 'aggregatorId') {\n filter.props.onChange = handleAggregatorSelect;\n }\n });\n }, [actions, handleAggregatorSelect]);\n\n useEffect(() => {\n const formatMerchant = formatOptions(entityList.merchant) || [];\n const formatMerchantIDs = formatOptionsID(entityList.merchant) || [];\n setMerchantOptions(formatMerchant);\n setMerchantOptionsID(formatMerchantIDs);\n }, [entityList]);\n\n const onInputChange = value => {\n const filtered =\n entityList.merchant.filter(item => {\n return item.name.toLowerCase().includes(value.toLowerCase());\n }) || [];\n\n const data = {\n entityName: value,\n entityCode: '',\n };\n\n if (filtered.length === 0 && value.length >= 3) {\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT, data);\n }\n };\n\n const onInputChangeID = value => {\n const filtered =\n entityList.merchant.filter(item => {\n return item.entityCode\n .toLowerCase()\n .includes(value.toLowerCase());\n }) || [];\n\n const data = {\n entityName: '',\n entityCode: value,\n };\n\n if (filtered.length === 0 && value.length >= 3) {\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT, data);\n }\n };\n\n const filterSubmitHandler = filterValues => {\n const {\n aggregatorId,\n merchantId = [],\n merchantName = [],\n } = filterValues;\n\n console.log(\n aggregatorId,\n merchantId,\n merchantName,\n 'aggregatorId, merchantId, merchantName'\n );\n\n delete filterValues.merchantIds;\n const entityIds = [...merchantId, ...merchantName];\n if (aggregatorId) {\n entityIds.push(aggregatorId);\n }\n\n // REMOVE DUPLICATES AS MERCHANTS ID AND MERCHANTS NAME CAN BE SAME\n filterValues.entityIds = [...new Set(entityIds)];\n\n if (filterValues.createdOn) {\n filterValues.startDate = filterValues.createdOn.startDate;\n filterValues.endDate = filterValues.createdOn.endDate;\n delete filterValues.createdOn;\n }\n\n setFilterData({ ...filterValues, isLive: filterData.isLive });\n setIsResetPage(true);\n };\n\n console.log(filterData, 'filterData');\n\n const setAggregatorFilter = (fieldsList, entityList, handleSearchEnd) => {\n const { aggregator = [] } = entityList;\n console.log(entityList, 'entityList');\n if (aggregator.length) {\n fieldsList.forEach(element => {\n if (element.name === 'aggregatorId') {\n element.props.data = aggregator;\n element.props.handleSearchEnd = handleSearchEnd;\n }\n });\n return fieldsList;\n }\n return fieldsList;\n };\n\n const setMerchantFilter = (\n fieldsList,\n underlyingMerchant,\n entityList,\n selectedAggregator,\n handleSearchEnd\n ) => {\n const { merchants = [] } = entityList;\n if (selectedAggregator) {\n fieldsList.forEach(element => {\n if (\n element.name === 'merchantId' ||\n element.name === 'merchantName'\n ) {\n element.props.data = merchants;\n element.props.handleSearchEnd = handleSearchEnd;\n }\n });\n return fieldsList;\n }\n\n if (underlyingMerchant.length) {\n fieldsList.forEach(element => {\n if (\n element.name === 'merchantId' ||\n element.name === 'merchantName'\n ) {\n element.props.data = underlyingMerchant;\n element.props.handleSearchEnd = handleSearchEnd;\n }\n });\n return fieldsList;\n }\n return fieldsList;\n };\n\n let filters = setMerchantFilter(\n filterFieldList,\n entityList.merchant || [],\n entityList,\n selectedAggregator.current,\n handleSearchEnd\n );\n\n filters = setAggregatorFilter(filterFieldList, entityList, handleSearchEnd);\n\n const getFieldsList = () => {\n return userLevel === 'MERCHANT'\n ? filterFieldList.filter(\n item =>\n item.name !== 'merchantId' &&\n item.name !== 'aggregatorId' &&\n item.name !== 'merchantName'\n )\n : filterFieldList;\n };\n\n return (\n
    \n \n }\n pagePerView={3}\n isResetPage={isResetPage}\n afterResetPage={() => setIsResetPage(false)}\n additionalActions={() => {\n return (\n \n );\n }}\n tableActionPopup={\n \n \n \n }\n userActions={data => (\n setIsResetPage(true)}\n actions={actions}\n userLevel={userLevel}\n permissions={permissions}\n />\n )}\n tableFilters={\n {\n filterSubmitHandler(filterValues);\n }}\n onReset={resetValue => {\n if (resetValue.createdOn) {\n resetValue.startDate =\n resetValue.createdOn.startDate;\n resetValue.endDate =\n resetValue.createdOn.endDate;\n delete resetValue.createdOn;\n }\n setFilterData({\n isLive: filterData.isLive,\n ...resetValue,\n });\n selectedAggregator.current = null;\n setIsResetPage(true);\n }}\n />\n }\n tableCard={\n userLevel === 'MERCHANT' &&\n settlementData.availableBalance.odsFlag ? (\n \n ) : null\n }\n tableSearch={\n
    \n setSearchKey(val)}\n />\n \n
    \n }\n />\n
    \n );\n};\n\nconst mapStateToProps = ({\n auth,\n settlementData,\n loader,\n staticData,\n transactionData,\n merchantData,\n}) => ({\n auth,\n settlementData,\n loader,\n staticData,\n transactionData,\n merchantData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchSettlementRequest,\n fetchAuditTrailStaticRequest,\n fetchSettlementMetricsRequest,\n generateReportRequest,\n generateReportError,\n resetTxnState,\n retrySettlementRequest,\n fetchEntityListRequest,\n retriggerSettlementRequest,\n fetchAvailableBalanceRequest,\n fetchEntityHierarchyRequest,\n getMerchantSectionInfoRequest,\n fetchNetSettlementRequest,\n },\n dispatch\n ),\n});\n\nSettlement.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n staticData: PropTypes.object,\n settlementData: PropTypes.object,\n transactionData: PropTypes.object,\n loader: PropTypes.object,\n merchantData: PropTypes.object,\n};\n\nSettlementActions.propTypes = {\n data: PropTypes.object,\n actions: PropTypes.object,\n roleStatus: PropTypes.string,\n userLevel: PropTypes.string,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n permissions: PropTypes.object,\n auth: PropTypes.object,\n callbackFunction: PropTypes.func,\n};\n\nOption.propTypes = {\n data: PropTypes.object,\n selectProps: PropTypes.object,\n isSelected: PropTypes.bool,\n hasValue: PropTypes.bool,\n};\n\nValueContainer.propTypes = {\n hasValue: PropTypes.bool,\n children: PropTypes.array,\n getValue: PropTypes.func,\n options: PropTypes.array,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Settlement);\n","import Settlement from './Settlement';\n\nexport default Settlement;\n","import { validators } from '../../utils/validators';\n\nconst validate = values => {\n const { REQUIRED, IS_VALID_HEX_CODE } = validators;\n const errors = {};\n if (IS_VALID_HEX_CODE(values.primaryColor)) {\n errors.primaryColor = 'Please Enter Valid Hex Code';\n }\n if (REQUIRED(values.theme)) {\n errors.theme = 'Please select theme';\n }\n return errors;\n};\n\nexport default validate;\n","export const themesOptions = [\n {\n name: 'DEFAULT',\n value: 'DEFAULT',\n },\n {\n name: 'DARK',\n value: 'DARK',\n },\n];\n","import {\n FETCH_CHECKOUT_REQUEST,\n FETCH_CHECKOUT_SUCCESS,\n FETCH_CHECKOUT_ERROR,\n HIDE_CHECKOUT_LOADER,\n SHOW_CHECKOUT_LOADER,\n ADD_CHECKOUT_REQUEST,\n ADD_CHECKOUT_SUCCESS,\n ADD_CHECKOUT_ERROR,\n} from './checkout.constants';\n\nexport const fetchCheckoutDetailsRequest = payload => ({\n type: FETCH_CHECKOUT_REQUEST,\n payload,\n});\n\nexport const fetchCheckoutDetailsSuccess = payload => ({\n type: FETCH_CHECKOUT_SUCCESS,\n payload,\n});\n\nexport const fetchCheckoutDetailsError = payload => ({\n type: FETCH_CHECKOUT_ERROR,\n payload,\n});\nexport const addCheckoutDetailsRequest = payload => ({\n type: ADD_CHECKOUT_REQUEST,\n payload,\n});\n\nexport const addCheckoutDetailsSuccess = payload => ({\n type: ADD_CHECKOUT_SUCCESS,\n payload,\n});\n\nexport const addCheckoutDetailsError = payload => ({\n type: ADD_CHECKOUT_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_CHECKOUT_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_CHECKOUT_LOADER });\n","const FETCH_CHECKOUT_REQUEST = 'FETCH_CHECKOUT_REQUEST';\nconst FETCH_CHECKOUT_SUCCESS = 'FETCH_CHECKOUT_SUCCESS';\nconst FETCH_CHECKOUT_ERROR = 'FETCH_CHECKOUT_ERROR';\nconst ADD_CHECKOUT_REQUEST = 'ADD_CHECKOUT_REQUEST';\nconst ADD_CHECKOUT_SUCCESS = 'ADD_CHECKOUT_SUCCESS';\nconst ADD_CHECKOUT_ERROR = 'ADD_CHECKOUT_ERROR';\nconst HIDE_CHECKOUT_LOADER = 'HIDE_CHECKOUT_LOADER';\nconst SHOW_CHECKOUT_LOADER = 'SHOW_CHECKOUT_LOADER';\n\nexport {\n FETCH_CHECKOUT_REQUEST,\n FETCH_CHECKOUT_SUCCESS,\n FETCH_CHECKOUT_ERROR,\n HIDE_CHECKOUT_LOADER,\n SHOW_CHECKOUT_LOADER,\n ADD_CHECKOUT_REQUEST,\n ADD_CHECKOUT_SUCCESS,\n ADD_CHECKOUT_ERROR,\n};\n","/* eslint-disable indent */\n// Libraries\nimport { FormElems, Alert } from '../../components';\nimport { SUCCESS_MESSAGES } from '../../utils/constants/toastMessages';\nimport validate from './validator';\nimport { themesOptions } from './constant';\nimport React, { useRef, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\n\nimport PictureIcon from '../../static/images/picture.png';\n\n// eslint-disable-next-line import/order\nimport {\n fetchCheckoutDetailsRequest,\n addCheckoutDetailsRequest,\n} from './redux/checkout.actions';\n\nimport './checkout.scss';\nimport { useState } from 'react';\nimport { useCallback } from 'react';\nimport { useDropzone } from 'react-dropzone';\nimport { isEmpty } from 'lodash';\n\nfunction ImageDropZone(props) {\n const {\n onFileChange,\n selectedFile,\n removeFile,\n currentImg,\n inputError,\n title,\n } = props;\n const [imgSrc, setImgSrc] = useState('');\n\n const onDrop = useCallback(\n acceptedFiles => {\n // Do something with the files\n onFileChange(null, acceptedFiles, true);\n },\n [onFileChange]\n );\n const { getRootProps, getInputProps, isDragActive } = useDropzone({\n onDrop,\n });\n\n useEffect(() => {\n if (selectedFile && selectedFile.length && !inputError) {\n const reader = new FileReader();\n reader.readAsDataURL(selectedFile[0]);\n reader.onloadend = event => {\n setImgSrc([reader.result]);\n };\n } else {\n setImgSrc([]);\n }\n }, [inputError, selectedFile]);\n\n const dragMsg = isDragActive\n ? 'Drop the files here ...'\n : 'Drag & drop Logo here';\n\n return (\n
    \n
    \n

    {title}

    \n
    \n {currentImg ? (\n
    \n \"Uploaded\n
    \n ) : (\n <>\n \n
    \n {!isEmpty(imgSrc) && !inputError ? (\n \"Uploaded\n ) : (\n
    \n \"Upload\"\n
    \n )}\n
    \n \n )}\n {currentImg ? (\n

    \n Change {title}\n

    \n ) : (\n

    {dragMsg}

    \n )}\n
    \n
    \n
    \n \n {inputError}\n \n
    \n
    \n );\n}\n\n/**\n * CheckoutForm Component\n *\n * @param {Object} props - React component props\n */\n\nconst CheckoutForm = props => {\n const { handleSubmit, actions, checkoutData, change, auth } = props;\n const hasEntityFetched = useRef(false);\n\n // Header Logo\n const [headerLogoSelectedFile, setHeaderLogoSelectedFile] = useState(null);\n const [headerLogoSelectedImg, setHeaderLogoSelectedImg] = useState(\n checkoutData.data.headerLogo\n );\n const [headerLogoInputError, setHeaderLogoInputError] = useState('');\n\n // Loader\n const [loaderSelectedFile, setLoaderSelectedFile] = useState(null);\n const [loaderSelectedImg, setLoaderSelectedImg] = useState(\n checkoutData.data.loader\n );\n const [loaderInputError, setLoaderInputError] = useState('');\n\n const handleBrowse = (value, event, isDirectFile, name) => {\n if (isDirectFile && event && event.length) {\n if (name === 'headerLogo') {\n setHeaderLogoSelectedFile(event);\n } else {\n setLoaderSelectedFile(event);\n }\n } else if (event.target && event.target.files) {\n event.preventDefault();\n const files = event.target.files;\n if (name === 'headerLogo') {\n setHeaderLogoSelectedFile(files);\n } else {\n setLoaderSelectedFile(files);\n }\n }\n };\n\n const onRemoveFile = name => {\n if (name === 'headerLogo') {\n setHeaderLogoSelectedFile([]);\n setHeaderLogoSelectedImg(null);\n } else {\n setLoaderSelectedFile([]);\n setLoaderSelectedImg(null);\n }\n };\n\n useEffect(() => {\n const inputValidate = checkValidation(loaderSelectedFile, 'loader');\n setLoaderInputError(inputValidate);\n }, [loaderSelectedFile]);\n\n useEffect(() => {\n const inputValidate = checkValidation(\n headerLogoSelectedFile,\n 'headerLogo'\n );\n setHeaderLogoInputError(inputValidate);\n }, [headerLogoSelectedFile]);\n\n /**\n *\n */\n useEffect(() => {\n if (auth.userDetails.associatedEntityId) {\n actions.fetchCheckoutDetailsRequest(\n auth.userDetails.associatedEntityId\n );\n }\n }, [actions, auth]);\n\n useEffect(() => {\n if (checkoutData.data.entityDetails && !hasEntityFetched.current) {\n if (!checkoutData.data.entityDetails.theme) {\n change('theme', 'DEFAULT');\n } else {\n change('theme', checkoutData.data.entityDetails.theme);\n }\n change(\n 'primaryColor',\n checkoutData.data?.entityDetails?.checkoutUiData\n ?.primaryCheckoutColor\n );\n setHeaderLogoSelectedImg(\n checkoutData.data?.entityDetails?.checkoutUiData?.headerLogoUrl\n );\n setLoaderSelectedImg(\n checkoutData.data?.entityDetails?.checkoutUiData?.loaderUrl\n );\n hasEntityFetched.current = true;\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [checkoutData.data, change]);\n\n /**\n *\n * @param {message} values\n */\n\n useEffect(() => {\n if (checkoutData.addCheckout.isSuccess) {\n toast.info(SUCCESS_MESSAGES.SAVE_DATA('Checkout Customization'));\n if (auth.userDetails.associatedEntityId) {\n actions.fetchCheckoutDetailsRequest(\n auth.userDetails.associatedEntityId\n );\n }\n } else if (checkoutData.addCheckout?.error?.errorMessage) {\n toast.error(checkoutData.addCheckout?.error?.errorMessage);\n }\n }, [checkoutData.addCheckout]);\n /**\n *\n * @param {message} values\n */\n\n useEffect(() => {\n if (checkoutData.updateCheckout.isSuccess) {\n toast.info(SUCCESS_MESSAGES.SAVE_DATA('Checkout Customization'));\n if (auth.userDetails.associatedEntityId) {\n actions.fetchCheckoutDetailsRequest(\n auth.userDetails.associatedEntityId\n );\n }\n } else if (checkoutData.updateCheckout?.error?.errorMessage) {\n toast.error(checkoutData.updateCheckout?.error?.errorMessage);\n }\n }, [checkoutData.updateCheckout]);\n\n /**\n *\n */\n useEffect(() => {\n if (checkoutData.error.errorMessage) {\n toast.error(checkoutData.error.errorMessage);\n }\n }, [checkoutData]);\n\n /**\n * Method to handle form submit values for add theeme\n * @param {object} values\n * @returns {null}\n */\n function handleFormSubmit(values) {\n const payload = values;\n payload.headerLogo = headerLogoSelectedFile;\n payload.loader = loaderSelectedFile;\n if (loaderInputError || headerLogoInputError) {\n toast.error('Invalid Loader or Header Logo Format');\n } else {\n actions.addCheckoutDetailsRequest(values);\n }\n }\n\n return (\n \n
    \n

    Checkout Customization

    \n\n
    \n
    \n

    Primary Color

    \n \n
    \n
    \n

    Select Checkout Theme

    \n \n
    \n
    \n
    \n \n handleBrowse(\n value,\n event,\n isDirectFile,\n 'headerLogo'\n )\n }\n selectedFile={headerLogoSelectedFile}\n currentImg={headerLogoSelectedImg}\n inputError={headerLogoInputError}\n removeFile={() => onRemoveFile('headerLogo')}\n />\n \n handleBrowse(value, event, isDirectFile, 'loader')\n }\n selectedFile={loaderSelectedFile}\n currentImg={loaderSelectedImg}\n inputError={loaderInputError}\n removeFile={() => onRemoveFile('loader')}\n />\n
    \n
    \n\n
    \n
    \n \n
    \n
    \n \n );\n};\n\nconst checkValidation = (file, type) => {\n if (isEmpty(file)) {\n return null;\n }\n let error = null;\n\n if (file && file.length && file[0].size > 1000000) {\n error = 'File size should be less than 1MB';\n }\n\n if (type === 'headerLogo') {\n if (\n (file && file.length && file[0].type === 'image/jpeg') ||\n (file && file.length && file[0].type === 'image/png') ||\n (file && file.length && file[0].type === 'image/svg+xml')\n ) {\n error = null;\n } else {\n error = 'Invalid file format, only png, jpeg and svg type allowed';\n }\n } else if (type === 'loader') {\n if (\n (file && file.length && file[0].type === 'image/gif') ||\n (file && file.length && file[0].type === 'image/svg+xml')\n ) {\n error = null;\n } else {\n error = 'Invalid file format, only svg and gif type allowed';\n }\n }\n\n return error;\n};\n\nconst mapStateToProps = ({ auth, checkoutData, form }) => ({\n auth,\n checkoutData,\n formData: form['checkout-form'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchCheckoutDetailsRequest,\n addCheckoutDetailsRequest,\n change,\n },\n dispatch\n ),\n});\n\nCheckoutForm.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n handleSubmit: PropTypes.func,\n checkoutData: PropTypes.object,\n change: PropTypes.func,\n};\n\nImageDropZone.propTypes = {\n onFileChange: PropTypes.func,\n selectedFile: PropTypes.array,\n removeFile: PropTypes.any,\n currentImg: PropTypes.any,\n inputError: PropTypes.any,\n title: PropTypes.string,\n};\n\nexport default compose(\n reduxForm({\n form: 'checkout-form',\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(CheckoutForm);\n","import Checkout from './checkout';\n\nexport default Checkout;\n","import { FormElems, Alert } from '../../components';\nimport { validators } from '../../utils/validators';\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { isEmpty } from 'lodash';\n\nconst DownloadFile = props => {\n const {\n actions,\n filterData,\n showDownloadPopup,\n setShowDownloadPopup,\n tableData,\n handleSubmit,\n untouch,\n change,\n generateData,\n } = props;\n const handleOpenActionPopup = actionType => {\n setShowDownloadPopup(!showDownloadPopup);\n };\n\n useEffect(() => {\n if (generateData.isSuccess) {\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generateData.isSuccess]);\n\n const handleCloseOpenActionPopup = () => {\n setShowDownloadPopup(false);\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n };\n\n const handleGenerateSubmit = values => {\n actions.generateReportRequest({\n reportFileName: values.fileName,\n ...filterData,\n });\n };\n useEffect(() => {\n return () => {\n handleCloseOpenActionPopup();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (\n
    \n \n {showDownloadPopup ? (\n <>\n \n
    \n
    \n \n
    \n
    \n

    \n Enter any name for download file\n

    \n \n
    \n
    \n {isEmpty(filterData.createdOn) ? (\n \n Please select a data range\n \n ) : isEmpty(tableData) ? (\n \n No data available\n \n ) : null}\n
    \n \n
    \n \n
    \n
    \n \n ) : null}\n
    \n );\n};\n\nDownloadFile.propTypes = {\n actions: PropTypes.object,\n filterData: PropTypes.object,\n tableData: PropTypes.object,\n showDownloadPopup: PropTypes.bool,\n setShowDownloadPopup: PropTypes.func,\n handleSubmit: PropTypes.func,\n change: PropTypes.func,\n untouch: PropTypes.func,\n generateData: PropTypes.object,\n};\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n\n if (REQUIRED(values) || REQUIRED(values.fileName)) {\n errors.fileName = 'Please enter a File Name';\n }\n if (values.fileName && values.fileName.length > 25) {\n errors.fileName = 'Max 25 character are allowed in filename';\n }\n const isValid = /^[A-Za-z0-9\\d\\-_\\s]+$/i.test(values.fileName);\n if (!isValid) {\n errors.fileName =\n 'Only numbers, letters, - & _ are allowed in filename';\n }\n if (!/^\\S+$/.test(values.fileName)) {\n errors.fileName = 'Spaces not allowed in filename';\n }\n return errors;\n};\n\nexport default reduxForm({\n form: 'downloadFile',\n enableReinitialize: true,\n validate,\n destroyOnUnmount: false,\n})(DownloadFile);\n","import { setEntityDataSuccess } from 'containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\nimport {\n fetchEntityHierarchyRequest,\n fetchEntityListRequest,\n} from 'containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\nimport {\n Table,\n TableFilter,\n Popup,\n ViewAdjustment,\n TableSearch,\n CreateAdjustmentForm,\n ViewDownloadStatus,\n} from '../../components';\nimport {\n ADJUSTMENT_TYPE,\n ENTITY_TYPE,\n} from '../../utils/constants/commonValues';\n\nimport {\n fetchAdjustmentsRequest,\n generateReportRequest,\n generateReportError,\n} from './redux/adjustments.actions';\nimport { ADJUSTMENT_CATEGORY } from './constant';\nimport DownloadFile from './DownloadFile';\nimport React, {\n useMemo,\n useState,\n useCallback,\n useEffect,\n useRef,\n Fragment,\n} from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport moment from 'moment';\n\nimport './adjustment.scss';\n\nlet filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {\n startDate: moment()\n .endOf('day')\n .subtract(1, 'days'),\n endDate: moment().endOf('day'),\n maximumNights: 30,\n notResetDate: true,\n },\n },\n\n {\n fieldType: 'search-select',\n label: 'Merchant Name',\n name: 'merchantName',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'name',\n valueField: 'entityCode',\n entityType: 'MERCHANT_NAME',\n },\n },\n {\n fieldType: 'search-select',\n label: 'Merchant ID',\n name: 'merchantId',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'entityCode',\n valueField: 'entityCode',\n entityType: 'MERCHANT',\n },\n },\n\n {\n fieldType: 'search-select',\n label: 'Adjustment Category',\n name: 'adjustmentCategory',\n props: {\n data: ADJUSTMENT_CATEGORY,\n label: 'Select Adjustment Category',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'checkbox',\n label: 'Adjustment Type',\n name: 'adjustmentType',\n props: {\n options: (() => {\n const options = [];\n for (const key in ADJUSTMENT_TYPE) {\n if (\n Object.prototype.hasOwnProperty.call(\n ADJUSTMENT_TYPE,\n key\n )\n ) {\n const value = ADJUSTMENT_TYPE[key];\n options.push({\n name: value,\n value: key,\n });\n }\n }\n return options;\n })(),\n labelField: 'name',\n valueField: 'value',\n },\n },\n];\n\nconst MerchantAdjustmentAction = ({ data, fetchData }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n const handleCloseOpenActionPopup = () => {\n setShowFilter(false);\n setActionType(null);\n };\n return (\n
    \n
    \n );\n};\n\nconst setMerchantFilter = (fieldsList, underlyingMerchant, handleSearchEnd) => {\n if (underlyingMerchant.length) {\n fieldsList.forEach(element => {\n if (element.name === 'merchantId' || element.name === 'merchantName') {\n element.props.data = underlyingMerchant;\n element.props.handleSearchEnd = handleSearchEnd;\n }\n });\n return fieldsList;\n }\n return fieldsList.filter(item => item.name !== 'merchantId');\n};\n\n// eslint-disable-next-line max-statements\nconst MerchantAdjustments = props => {\n const {\n adjustmentsData,\n transactionData,\n actions,\n loader: { showLoader },\n merchantData,\n auth,\n } = props;\n\n const {\n error,\n tableData,\n isLoading,\n pagination,\n statusData,\n generatedFile,\n } = adjustmentsData;\n // reusing txn get active reports saga\n const { activeReports = {} } = transactionData || {};\n\n const { entityList } = merchantData;\n const [filterData, setFilterData] = useState({ isLive: true });\n const { userLevel, associatedEntityId } = auth.userDetails;\n\n const columns = useMemo(\n () => [\n { header: 'Merchant Name', accessor: 'merchantName' },\n { header: 'Merchant Id', accessor: 'merchantId' },\n { header: 'Adjustment Id', accessor: 'adjustmentId' },\n { header: 'Adjustment Type', accessor: 'adjustmentType' },\n { header: 'Created On', accessor: 'adjustmentDateAndTime' },\n { header: 'Amount', accessor: 'adjustmentAmount' },\n { header: 'Category', accessor: 'adjustmentcategory' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [isResetPage, setIsResetPage] = useState(false);\n const [showFilter, setShowFilter] = useState(false);\n\n const [showDownloadPopup, setShowDownloadPopup] = useState(false);\n const createAdjustmentRef = useRef(false);\n\n const handleViewDownloads = () => {\n createAdjustmentRef.current = false;\n setShowFilter(true);\n };\n\n const handleCloseViewDownload = () => {\n setShowFilter(false);\n };\n\n useEffect(() => {\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT);\n }, [actions]);\n\n // remove filters for specific users\n useEffect(() => {\n // if merchant remove merchant\n if (userLevel && userLevel === 'MERCHANT') {\n filterFieldList = filterFieldList.filter(\n filter => filter.name !== 'merchantId'\n );\n }\n }, [userLevel]);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const data = {\n pageSize,\n pageIndex,\n };\n if (\n filterData.createdOn &&\n Object.keys(filterData.createdOn).length &&\n userLevel\n ) {\n // for aggregator show split txn in default view\n if (userLevel === 'AGGREGATOR' && !filterData.merchantIds) {\n actions.fetchAdjustmentsRequest({\n ...data,\n ...filterData,\n merchantIds: [associatedEntityId],\n });\n } else {\n actions.fetchAdjustmentsRequest({\n ...data,\n ...filterData,\n });\n }\n }\n setPageSize(pageSize);\n },\n [actions, associatedEntityId, filterData, userLevel]\n );\n\n useEffect(() => {\n if (generatedFile.isSuccess) {\n setShowFilter(true);\n setShowDownloadPopup(false);\n }\n return () => {\n actions.generateReportError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generatedFile.isSuccess]);\n\n useEffect(() => {\n if (userLevel) {\n // for aggregator request only when auth data is present\n fetchData({ pageIndex: 0, pageSize: 10 });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [userLevel]);\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const handleSearchSubmit = searchQuery => {\n if (searchQuery) {\n actions.fetchAdjustmentsRequest({\n merchantCode: searchQuery,\n });\n } else {\n actions.fetchAdjustmentsRequest({\n merchantCode: searchQuery,\n createdOn: filterData.createdOn,\n });\n }\n };\n\n const handleSearchEnd = (value, entityType) => {\n const type = entityType === 'MERCHANT_NAME' ? 'MERCHANT' : entityType;\n const filtered = entityList[type.toLowerCase()]?.filter(item => {\n const key = entityType === 'MERCHANT' ? 'entityCode' : 'name';\n return item[key]?.toLowerCase().includes(value.toLowerCase());\n }) || [];\n\n const data = {\n entityName: ['MERCHANT_NAME', 'AGGREGATOR'].includes(entityType) ? value : '',\n entityCode: !['MERCHANT_NAME', 'AGGREGATOR'].includes(entityType) ? value : ''\n };\n\n if (filtered.length === 0 && value.length >= 3) {\n actions.fetchEntityListRequest(type, data);\n }\n };\n\n\n const filters = setMerchantFilter(\n filterFieldList,\n entityList.merchant || [],\n handleSearchEnd,\n );\n\n const filterSubmitHandler = filterValues => {\n const { merchantId, merchantName } = filterValues;\n delete filterValues.merchantIds;\n let merchantIds = [];\n if (merchantId) {\n merchantIds.push(merchantId);\n }\n if(merchantName){\n merchantIds.push(merchantName);\n }\n if (merchantIds.length) {\n merchantIds = [...new Set(merchantIds)];\n filterValues.merchantIds = merchantIds;\n }\n setFilterData({ ...filterValues, isLive: filterData.isLive });\n setIsResetPage(true);\n };\n\n const onClickCreateAdjustment = () => {\n createAdjustmentRef.current = true;\n setShowFilter(true);\n };\n\n\n\n return (\n
    \n setIsResetPage(false)}\n onClickTableAction={handleViewDownloads}\n tableSearch={\n \n \n Create Adjustment\n
    \n
    \n
    \n \n
    \n
    \n \n }\n userActions={data => (\n \n )}\n tableFilters={\n \n filterSubmitHandler(filterValues)\n }\n onReset={resetValue => {\n setFilterData({\n isLive: filterData.isLive,\n ...resetValue,\n });\n setIsResetPage(true);\n }}\n />\n }\n filterActionTitle=\"View Downloads\"\n tableActionPopup={\n \n {createAdjustmentRef.current ? (\n \n ) : (\n \n )}\n \n }\n additionalActions={() => (\n \n )}\n />\n
    \n );\n};\n\nconst mapStateToProps = ({\n auth,\n adjustmentsData,\n loader,\n staticData,\n merchantData,\n transactionData,\n}) => ({\n auth,\n adjustmentsData,\n loader,\n staticData,\n merchantData,\n transactionData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchAdjustmentsRequest,\n generateReportRequest,\n generateReportError,\n setEntityDataSuccess,\n fetchEntityListRequest,\n fetchEntityHierarchyRequest,\n },\n dispatch\n ),\n});\n\nMerchantAdjustments.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n adjustmentsData: PropTypes.object,\n transactionData: PropTypes.object,\n staticData: PropTypes.object,\n loader: PropTypes.object,\n merchantData: PropTypes.object.isRequired,\n};\n\nMerchantAdjustmentAction.propTypes = {\n data: PropTypes.object,\n fetchData: PropTypes.func,\n};\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(MerchantAdjustments);\n","export const ADJUSTMENT_CATEGORY = [\n {\n name: 'CHARGEBACK REVERSAL',\n value: 'CHARGEBACK_REVERSAL',\n },\n {\n name: 'INCORRECT MDR',\n value: 'INCORRECT_MDR',\n },\n {\n name: 'FAILED SETTLEMENT',\n value: 'FAILED_SETTLEMENT',\n },\n {\n name: 'CHARGEBACK',\n value: 'CHARGEBACK',\n },\n {\n name: 'MANUAL REFUND',\n value: 'MANUAL_REFUND',\n },\n {\n name: 'OTHERS',\n value: 'OTHERS',\n },\n];\n","import MerchantAdjustments from './MerchantAdjustments';\n\nexport default MerchantAdjustments;\n","// Initial file list view\nconst FETCH_BULK_REFUND_REQUEST = 'FETCH_BULK_REFUND_REQUEST';\nconst FETCH_BULK_REFUND_SUCCESS = 'FETCH_BULK_REFUND_SUCCESS';\nconst FETCH_BULK_REFUND_ERROR = 'FETCH_BULK_REFUND_ERROR';\n\n// Uploading the file\nconst UPLOAD_BULK_REFUND_FILE_REQUEST = 'UPLOAD_BULK_REFUND_FILE_REQUEST';\nconst UPLOAD_BULK_REFUND_FILE_SUCCESS = 'UPLOAD_BULK_REFUND_FILE_SUCCESS';\nconst UPLOAD_BULK_REFUND_FILE_ERROR = 'UPLOAD_BULK_REFUND_FILE_ERROR';\n\n// Downloading a file from by its requestId\nconst DOWNLOAD_BULK_REFUND_FILE_BY_ID_REQUEST =\n 'DOWNLOAD_BULK_REFUND_FILE_BY_ID_REQUEST';\nconst DOWNLOAD_BULK_REFUND_FILE_BY_ID_SUCCESS =\n 'DOWNLOAD_BULK_REFUND_BY_ID_SUCCESS';\nconst DOWNLOAD_BULK_REFUND_FILE_BY_ID_ERROR =\n 'DOWNLOAD_BULK_REFUND_BY_ID_ERROR';\n\n// Download bulk refund pre filled file\nconst DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_REQUEST =\n 'DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_REQUEST';\nconst DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_SUCCESS =\n 'DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_SUCCESS';\nconst DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_ERROR =\n 'DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_ERROR';\n\n// Fetch a file view\nconst FETCH_BULK_REFUND_BY_ID_REQUEST = 'FETCH_BULK_REFUND_BY_ID_REQUEST';\nconst FETCH_BULK_REFUND_BY_ID_SUCCESS = 'FETCH_BULK_REFUND_BY_ID_SUCCESS';\nconst FETCH_BULK_REFUND_BY_ID_ERROR = 'FETCH_BULK_REFUND_BY_ID_ERROR';\n\n// Show and hide loaders\nconst HIDE_BULK_REFUND_LOADER = 'HIDE_BULK_REFUND_LOADER';\nconst SHOW_BULK_REFUND_LOADER = 'SHOW_BULK_REFUND_LOADER';\n\nexport {\n FETCH_BULK_REFUND_REQUEST,\n FETCH_BULK_REFUND_SUCCESS,\n FETCH_BULK_REFUND_ERROR,\n HIDE_BULK_REFUND_LOADER,\n SHOW_BULK_REFUND_LOADER,\n UPLOAD_BULK_REFUND_FILE_REQUEST,\n UPLOAD_BULK_REFUND_FILE_SUCCESS,\n UPLOAD_BULK_REFUND_FILE_ERROR,\n DOWNLOAD_BULK_REFUND_FILE_BY_ID_REQUEST,\n DOWNLOAD_BULK_REFUND_FILE_BY_ID_SUCCESS,\n DOWNLOAD_BULK_REFUND_FILE_BY_ID_ERROR,\n DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_REQUEST,\n DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_SUCCESS,\n DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_ERROR,\n FETCH_BULK_REFUND_BY_ID_REQUEST,\n FETCH_BULK_REFUND_BY_ID_SUCCESS,\n FETCH_BULK_REFUND_BY_ID_ERROR,\n};\n","import {\n FETCH_BULK_REFUND_REQUEST,\n FETCH_BULK_REFUND_SUCCESS,\n FETCH_BULK_REFUND_ERROR,\n HIDE_BULK_REFUND_LOADER,\n SHOW_BULK_REFUND_LOADER,\n UPLOAD_BULK_REFUND_FILE_REQUEST,\n UPLOAD_BULK_REFUND_FILE_SUCCESS,\n UPLOAD_BULK_REFUND_FILE_ERROR,\n DOWNLOAD_BULK_REFUND_FILE_BY_ID_REQUEST,\n DOWNLOAD_BULK_REFUND_FILE_BY_ID_SUCCESS,\n DOWNLOAD_BULK_REFUND_FILE_BY_ID_ERROR,\n DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_REQUEST,\n DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_SUCCESS,\n DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_ERROR,\n FETCH_BULK_REFUND_BY_ID_REQUEST,\n FETCH_BULK_REFUND_BY_ID_SUCCESS,\n FETCH_BULK_REFUND_BY_ID_ERROR,\n} from './bulkRefund.constants';\n\nexport const fetchBulkRefundDataRequest = payload => ({\n type: FETCH_BULK_REFUND_REQUEST,\n payload,\n});\n\nexport const fetchBulkRefundDataSuccess = payload => ({\n type: FETCH_BULK_REFUND_SUCCESS,\n payload,\n});\n\nexport const fetchBulkRefundDataError = payload => ({\n type: FETCH_BULK_REFUND_ERROR,\n payload,\n});\n\nexport const uploadBulkUploadFileRequest = payload => ({\n type: UPLOAD_BULK_REFUND_FILE_REQUEST,\n payload,\n});\n\nexport const uploadBulkUploadFileSuccess = payload => ({\n type: UPLOAD_BULK_REFUND_FILE_SUCCESS,\n payload,\n});\n\nexport const uploadBulkUploadFileError = payload => ({\n type: UPLOAD_BULK_REFUND_FILE_ERROR,\n payload,\n});\n\nexport const fetchBulkRefundFileTableDataByIdRequest = payload => ({\n type: FETCH_BULK_REFUND_BY_ID_REQUEST,\n payload,\n});\n\nexport const fetchBulkRefundFileTableDataByIdSuccess = payload => ({\n type: FETCH_BULK_REFUND_BY_ID_SUCCESS,\n payload,\n});\n\nexport const fetchBulkRefundFileTableDataByIdError = payload => ({\n type: FETCH_BULK_REFUND_BY_ID_ERROR,\n payload,\n});\n\nexport const downloadBulkRefundFileByIdRequest = payload => ({\n type: DOWNLOAD_BULK_REFUND_FILE_BY_ID_REQUEST,\n payload,\n});\n\nexport const downloadBulkRefundFileByIdSuccess = payload => ({\n type: DOWNLOAD_BULK_REFUND_FILE_BY_ID_SUCCESS,\n payload,\n});\n\nexport const downloadBulkRefundFileByIdError = payload => ({\n type: DOWNLOAD_BULK_REFUND_FILE_BY_ID_ERROR,\n payload,\n});\n\nexport const downloadBulkRefundPreFilledFileRequest = payload => ({\n type: DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_REQUEST,\n payload,\n});\n\nexport const downloadBulkRefundPreFilledFileSuccess = payload => ({\n type: DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_SUCCESS,\n payload,\n});\n\nexport const downloadBulkRefundPreFilledFileError = payload => ({\n type: DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_BULK_REFUND_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_BULK_REFUND_LOADER });\n","export const PAYMENT_MODE = [\n {\n name: 'Debit Card',\n value: 'DC',\n },\n {\n name: 'Credit Card',\n value: 'CC',\n },\n {\n name: 'Net Banking',\n value: 'NB',\n },\n {\n name: 'UPI',\n value: 'UPI',\n },\n {\n name: 'Wallet',\n value: 'WALLET',\n },\n];\n\nexport const UPLOAD_FILE_STATUS_ENUM = {\n DEFAULT: 'DEFAULT',\n UPLOADING: 'UPLOADING',\n SUCCESS: 'SUCCESS',\n FAILED: 'FAILED',\n};\n\nexport const SAMPLE_FILE_SCHEMA = [\n ['merchantId', 'txnReferenceId', 'refundAmount', 'currency'],\n];\n\nexport const SAMPLE_FILE_NAME = 'Sample-Bulk-Upload.csv';\n","// Components\nimport { DatePicker, FormElems, Overlay } from '../../components/';\nimport { validators } from '../../utils/validators';\n\n// Actions\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport { downloadBulkRefundPreFilledFileRequest } from './redux/bulkRefund.actions';\n\n// Constants\nimport { PAYMENT_MODE } from './constant';\nimport { toast } from 'react-toastify';\n\n// Libraries\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport moment from 'moment';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\n\nconst setMerchantFilter = underlyingMerchant => {\n const merchantOptions = [];\n if (underlyingMerchant.length) {\n underlyingMerchant.forEach(merchant => {\n merchantOptions.push({\n name:\n merchant.name.length > 30\n ? `${merchant.name.substring(0, 30)}...`\n : merchant.name,\n value: merchant.entityCode,\n });\n });\n return merchantOptions;\n }\n\n return merchantOptions;\n};\n\nconst renderDateInput = field => ;\n\nconst validate = values => {\n const { REQUIRED } = validators;\n\n if (REQUIRED(values.merchantId)) {\n toast.error('Please Select a merchant');\n return false;\n }\n\n if (REQUIRED(values.minAmt)) {\n toast.error('Please Enter a minimum amount');\n return false;\n }\n\n if (REQUIRED(values.maxAmt)) {\n toast.error('Please Enter a maximum amount');\n return false;\n }\n\n if (parseInt(values.maxAmt, 10) <= parseInt(values.minAmt, 10)) {\n toast.error('Please Enter valid amount range');\n return false;\n }\n\n return true;\n};\n\nconst DownloadPreFilledFileFilter = ({\n showOverlay,\n closeFilter,\n handleSubmit,\n userLevel,\n staticData,\n actions,\n auth,\n}) => {\n const startDateDefault =\n moment()\n .endOf('day')\n .subtract(1, 'days') || null;\n const endDateDefault = moment().endOf('day') || null;\n\n const [startDate, setStartDate] = useState(startDateDefault);\n const [endDate, setEndDate] = useState(endDateDefault);\n const [focusedInput, setFocusedInput] = useState(null);\n const { underlyingMerchant } = staticData;\n\n const merchantList = setMerchantFilter(underlyingMerchant);\n\n const handleFormSubmit = values => {\n if (auth.userDetails.userLevel === 'MERCHANT') {\n values.merchantId = auth.userDetails.associatedEntityId;\n }\n if (validate(values)) {\n actions.downloadBulkRefundPreFilledFileRequest(values);\n }\n };\n\n return (\n <>\n
    \n <>\n {showOverlay ? (\n \n ) : null}\n
    \n
    \n \n
    \n

    \n Date Range\n

    \n {\n setStartDate(startDate);\n }}\n onSetEndDate={endDate => {\n setEndDate(endDate);\n }}\n onFocusedInput={focusedInput => {\n setFocusedInput(focusedInput);\n }}\n maximumNights={5}\n component={renderDateInput}\n />\n
    \n\n
    \n

    \n Amount Range\n

    \n
    \n
    \n \n
    \n\n
    \n \n
    \n
    \n
    \n\n
    \n

    \n Payment Mode\n

    \n \n
    \n\n {userLevel !== 'MERCHANT' ? (\n
    \n

    \n Merchant Name\n

    \n \n
    \n ) : (\n ''\n )}\n\n
    \n \n
    \n \n
    \n
    \n \n
    \n \n );\n};\n\nDownloadPreFilledFileFilter.propTypes = {\n showOverlay: PropTypes.bool,\n closeFilter: PropTypes.func,\n handleSubmit: PropTypes.func,\n userLevel: PropTypes.string,\n staticData: PropTypes.object,\n actions: PropTypes.object,\n auth: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, form, staticData }) => ({\n auth,\n formData: form['pre-filled-filter'],\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n downloadBulkRefundPreFilledFileRequest,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'pre-filled-filter',\n enableReinitialize: true,\n initialValues: {\n createdOn: {\n startDate:\n moment()\n .endOf('day')\n .subtract(1, 'days')\n .format() || null,\n endDate:\n moment()\n .endOf('day')\n .format() || null,\n },\n },\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(DownloadPreFilledFileFilter);\n","// Static Images\nimport DownloadIcon from '../../static/images/downloadIcon.png';\nimport downArrowImg from '../../static/images/down-arrow.png';\n\n// Components\nimport { FormElems } from '../../components/';\nimport { ERROR_MESSAGES } from '../../utils/constants/toastMessages';\nimport { generateCSVFromArray } from '../../utils/helperMethods';\n\nimport DownloadPreFilledFileFilter from './DownloadPreFilledFileFilter';\n\n// Constants\nimport {\n SAMPLE_FILE_NAME,\n SAMPLE_FILE_SCHEMA,\n UPLOAD_FILE_STATUS_ENUM,\n} from './constant';\n\n// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { toast } from 'react-toastify';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\n\nconst filePlaceHolder = { name: 'Upload .CSV File' };\n\nconst statusLabel = (fileUploadStatus, fileName) => {\n switch (fileUploadStatus) {\n case UPLOAD_FILE_STATUS_ENUM.DEFAULT:\n return Maximum 1000 refund per file is allowed;\n case UPLOAD_FILE_STATUS_ENUM.UPLOADING:\n return (\n \n {fileName} is{' '}\n Uploading...\n \n );\n case UPLOAD_FILE_STATUS_ENUM.FAILED:\n return (\n \n {fileName} is{' '}\n Failed to upload\n \n );\n case UPLOAD_FILE_STATUS_ENUM.SUCCESS:\n return (\n \n {fileName} file is Uploaded\n \n );\n default:\n return Maximum 1000 refund per file is allowed;\n }\n};\n\nconst BulkRefundHeader = ({ uploadFile, userLevel, bulkRefundData, auth }) => {\n const [showPopUp, setShowPopUp] = useState(false);\n const [selectedFile, setSelectedFile] = useState(filePlaceHolder);\n const [uploadFileLabel, setUploadFileLabel] = useState(\n statusLabel(UPLOAD_FILE_STATUS_ENUM.DEFAULT)\n );\n const [uploadFileStatus, setUploadFileStatus] = useState(\n UPLOAD_FILE_STATUS_ENUM.DEFAULT\n );\n\n const togglePopUp = () => {\n setShowPopUp(!showPopUp);\n };\n\n const handleDownloadSampleFile = () => {\n generateCSVFromArray(SAMPLE_FILE_SCHEMA, SAMPLE_FILE_NAME);\n };\n\n useEffect(() => {\n setUploadFileLabel(statusLabel(uploadFileStatus, selectedFile.name));\n }, [selectedFile.name, uploadFileStatus]);\n\n useEffect(() => {\n if (bulkRefundData.uploadFile.isSuccess === null) {\n setUploadFileStatus(UPLOAD_FILE_STATUS_ENUM.DEFAULT);\n } else if (bulkRefundData.uploadFile.isSuccess === true) {\n setUploadFileStatus(UPLOAD_FILE_STATUS_ENUM.SUCCESS);\n } else if (bulkRefundData.uploadFile.isSuccess === false) {\n setUploadFileStatus(UPLOAD_FILE_STATUS_ENUM.FAILED);\n }\n }, [bulkRefundData.uploadFile.isSuccess]);\n\n const handleFileChange = (value, event) => {\n event.preventDefault();\n const files = event.target.files[0];\n setUploadFileStatus(UPLOAD_FILE_STATUS_ENUM.UPLOADING);\n if (files && /.+(\\.csv)$/.test(files.name)) {\n setSelectedFile(files);\n const formData = new FormData();\n formData.append('inputFile', event.target.files[0]);\n uploadFile(formData);\n } else {\n setUploadFileStatus(UPLOAD_FILE_STATUS_ENUM.FAILED);\n toast.info(ERROR_MESSAGES.ONLY_CSV_FILE);\n }\n };\n\n return (\n
    \n

    Bulk Refund

    \n
    \n
      \n
    • \n \n
      \n

      Download Sample File

      \n \n
      \n
    • \n
    • \n \n }\n >\n \n \n
      \n
      \n

      Download Pre-Filled File

      \n \n
      \n \n
      \n
    \n \n \n {['MERCHANT', 'MLE'].includes(\n auth?.userDetails?.userLevel\n ) ? (\n \n \n \n
    \n

    Upload File

    \n \n
    \n \n
    \n \n \n \n ) : (\n <>\n )}\n \n
    \n
    \n );\n};\n\nconst FilterPopupUp = ({ showPopUp, children, customComponent }) => {\n return (\n <>\n
    \n {children}\n {showPopUp ? customComponent : null}\n
    \n \n );\n};\n\nFilterPopupUp.propTypes = {\n showPopUp: PropTypes.bool,\n children: PropTypes.node,\n customComponent: PropTypes.node,\n togglePopUp: PropTypes.func,\n};\n\nBulkRefundHeader.propTypes = {\n uploadFile: PropTypes.func,\n userLevel: PropTypes.string,\n bulkRefundData: PropTypes.object,\n auth: PropTypes.object,\n};\n\nconst mapStateToProps = ({ bulkRefundData, auth }) => ({\n bulkRefundData,\n auth,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(BulkRefundHeader);\n","// Components\nimport { Table } from '../../components';\n\n// Actions\nimport {\n fetchBulkRefundDataRequest,\n downloadBulkRefundFileByIdRequest,\n} from './redux/bulkRefund.actions';\n\n// Libraries\nimport React, { useMemo, useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\n\nconst TableHead = props => {\n return (\n
    \n
    \n

    Recent Uploaded

    \n
    \n
    \n );\n};\n\nconst ManageBulkRefundActions = ({ data, downloadRequest }) => {\n const history = useHistory();\n\n const handleDownload = () => {\n downloadRequest(data.original.requestId);\n };\n\n const handleViewClick = () => {\n const {\n requestId,\n fileName,\n totalRecordCount,\n totTxnAmt,\n } = data.original;\n\n if (data.original) {\n history.push(`/bulk-refund/${requestId}`, {\n requestId,\n fileName,\n totalRecordCount,\n totTxnAmt,\n });\n }\n };\n\n return (\n
    \n
    \n );\n};\n\nconst BulkRefundTable = ({ actions, bulkRefundData }) => {\n const { tableData, isLoading } = bulkRefundData;\n\n const fetchData = useCallback(() => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n actions.fetchBulkRefundDataRequest();\n }, [actions]);\n\n const columnsRecent = useMemo(\n () => [\n { header: 'Request ID', accessor: 'requestId' },\n { header: 'Request status', accessor: 'requestStatus' },\n { header: 'File Name', accessor: 'fileName' },\n { header: 'Created Date', accessor: 'createdDate' },\n { header: 'Total Record Count', accessor: 'totalRecordCount' },\n { header: 'Success Record Count', accessor: 'successRecordCount' },\n { header: 'Pending Record Count', accessor: 'pendingRecordCount' },\n { header: 'Fail Record Count', accessor: 'failRecordCount' },\n { header: 'Amount', accessor: 'totTxnAmt' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n return (\n <>\n }\n error={null}\n fetchData={fetchData}\n tableFilters={null}\n loading={isLoading}\n userActions={data => (\n \n actions.downloadBulkRefundFileByIdRequest({\n requestId,\n fileTypeEnum: 'UPLOADED',\n })\n }\n />\n )}\n />\n \n );\n};\n\nManageBulkRefundActions.propTypes = {\n data: PropTypes.object,\n downloadRequest: PropTypes.func,\n};\n\nBulkRefundTable.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n manageBin: PropTypes.object,\n loader: PropTypes.object,\n bulkRefundData: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, loader, actions, bulkRefundData }) => ({\n auth,\n loader,\n actions,\n bulkRefundData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchBulkRefundDataRequest,\n downloadBulkRefundFileByIdRequest,\n },\n dispatch\n ),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(BulkRefundTable);\n","// Components\nimport { Table } from '../../components';\n\n// Static Images\nimport BackIcon from '../../static/images/left-arrow.png';\nimport DownloadIcon from '../../static/images/download.png';\n\n// Actions\nimport {\n fetchBulkRefundFileTableDataByIdRequest,\n downloadBulkRefundFileByIdRequest,\n} from './redux/bulkRefund.actions';\n\n// Libraries\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\n\nconst TableHead = ({\n requestId,\n fileName,\n totalRecordCount,\n totTxnAmt,\n downloadRequest,\n}) => {\n const history = useHistory();\n\n const onBack = () => {\n history.push('/bulk-refund');\n };\n\n const handleDownload = () => {\n downloadRequest(requestId);\n };\n\n return (\n
    \n
    \n
    \n \n \"Back\"\n \n
    \n
    \n

    Request ID

    \n

    {requestId}

    \n
    \n
    \n

    File Name

    \n

    {fileName}

    \n
    \n
    \n

    Total Count

    \n

    {totalRecordCount}

    \n
    \n
    \n

    Total Amount

    \n

    {totTxnAmt}

    \n
    \n
    \n \n \n
    \n

    Download

    \n
    \n
    \n
    \n );\n};\n\nconst BulkRefundFileView = ({ actions, bulkRefundData }) => {\n const location = useLocation();\n const { requestId, fileName, totalRecordCount, totTxnAmt } = location.state;\n const {\n selectedBulkUploadFile,\n selectedBulkUploadFileTableData,\n pagination,\n isLoading,\n } = bulkRefundData;\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [isResetPage, setIsResetPage] = useState(false);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n const data = {\n pageSize,\n pageNo: pageIndex,\n requestId,\n };\n actions.fetchBulkRefundFileTableDataByIdRequest({\n ...data,\n requestId,\n });\n setPageSize(pageSize);\n },\n [actions, requestId]\n );\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const columnsRecent = useMemo(\n () => [\n {\n header: 'Refund Transaction ID',\n accessor: 'merchantRefundTxnId',\n },\n { header: 'Status', accessor: 'status' },\n { header: 'Amount', accessor: 'refundAmount' },\n { header: 'Message', accessor: 'statusMessage' },\n ],\n []\n );\n\n return (\n <>\n \n actions.downloadBulkRefundFileByIdRequest({\n requestId,\n fileTypeEnum: 'PROCESSED',\n })\n }\n />\n }\n error={null}\n loading={isLoading}\n fetchData={fetchData}\n tableFilters={null}\n isPaginationEnable\n numberOfRecord={pagination.totalNumberOfRecords}\n paginationLabel=\"Rows per page\"\n pageSizeOptions={pageSizeOptions}\n pagePerView={3}\n pageCount={pageCount}\n isResetPage={isResetPage}\n afterResetPage={() => setIsResetPage(false)}\n />\n \n );\n};\n\nTableHead.propTypes = {\n requestId: PropTypes.string,\n fileName: PropTypes.string,\n totalRecordCount: PropTypes.string,\n totTxnAmt: PropTypes.string,\n downloadRequest: PropTypes.func,\n};\n\nBulkRefundFileView.propTypes = {\n actions: PropTypes.object,\n bulkRefundData: PropTypes.object,\n};\n\nconst mapStateToProps = ({\n auth,\n bulkRefundData,\n loader,\n staticData,\n actions,\n}) => ({\n auth,\n bulkRefundData,\n loader,\n staticData,\n actions,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchBulkRefundFileTableDataByIdRequest,\n downloadBulkRefundFileByIdRequest,\n },\n dispatch\n ),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(BulkRefundFileView);\n","// Layouts\n\n// Styles\nimport './bulkRefund.scss';\n\n// Components\nimport BulkRefundHeader from './BulkRefundHeader';\nimport BulkRefundTable from './BulkRefundTable';\nimport BulkRefundFileView from './BulkRefundFileView';\n\n// Redux\nimport { uploadBulkUploadFileRequest } from './redux/bulkRefund.actions';\n\n// Libraries\nimport React from 'react';\nimport { Route, Switch } from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\n\nconst BulkRefund = ({ auth, actions }) => {\n const uploadFile = formData => {\n actions.uploadBulkUploadFileRequest(formData);\n };\n\n const { userLevel } = auth.userDetails;\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n
    \n );\n};\n\nconst mapStateToProps = ({ auth, loader, actions }) => ({\n auth,\n loader,\n actions,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n uploadBulkUploadFileRequest,\n },\n dispatch\n ),\n});\n\nBulkRefund.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n loader: PropTypes.object,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(BulkRefund);\n","import BulkRefund from './BulkRefund';\n\nexport default BulkRefund;\n","export const STATUS_ENUM = [\n {\n name: 'Completed',\n value: 'SUCCESS',\n },\n {\n name: 'Failed',\n value: 'FAILURE',\n },\n {\n name: 'Pending',\n value: 'IN_PROGRESS',\n },\n];\n\nexport const SECTION_LIST_ENUM = [\n {\n name: 'Merchant Detail',\n value: 'MERCHANT_SECTION',\n },\n {\n name: 'Integration',\n value: 'INTEGRATION',\n },\n {\n name: 'Payment Mode',\n value: 'PAYMENTMODE',\n },\n {\n name: 'Settlement',\n value: 'SETTLEMENT_SECTION',\n },\n {\n name: 'PG Configuration',\n value: 'PGCONFIGURATION',\n },\n {\n name: 'Routing',\n value: 'ROUTING_SECTION',\n },\n {\n name: 'Surcharge',\n value: 'SURCHARGE_SECTION',\n },\n {\n name: 'Notification',\n value: 'NOTIFICATION',\n },\n];\n","import {\n FETCH_UPDATING_MERCHANT_REQUEST,\n FETCH_UPDATING_MERCHANT_SUCCESS,\n FETCH_UPDATING_MERCHANT_ERROR,\n SHOW_SETTLEMENT_LOADER,\n HIDE_SETTLEMENT_LOADER,\n} from './MerchantOnboardStatus.constants';\n\nexport const fetchUpdatingMerchantRequest = payload => ({\n type: FETCH_UPDATING_MERCHANT_REQUEST,\n payload,\n});\n\nexport const fetchUpdatingMerchantSuccess = payload => ({\n type: FETCH_UPDATING_MERCHANT_SUCCESS,\n payload,\n});\n\nexport const fetchUpdatingMerchantError = payload => ({\n type: FETCH_UPDATING_MERCHANT_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_SETTLEMENT_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_SETTLEMENT_LOADER });\n","const FETCH_UPDATING_MERCHANT_REQUEST = 'FETCH_UPDATING_MERCHANT_REQUEST';\nconst FETCH_UPDATING_MERCHANT_SUCCESS = 'FETCH_UPDATING_MERCHANT_SUCCESS';\nconst FETCH_UPDATING_MERCHANT_ERROR = 'FETCH_UPDATING_MERCHANT_ERROR';\n\nconst HIDE_SETTLEMENT_LOADER = 'HIDE_SETTLEMENT_LOADER';\nconst SHOW_SETTLEMENT_LOADER = 'SHOW_SETTLEMENT_LOADER';\n\nexport {\n FETCH_UPDATING_MERCHANT_REQUEST,\n FETCH_UPDATING_MERCHANT_SUCCESS,\n FETCH_UPDATING_MERCHANT_ERROR,\n HIDE_SETTLEMENT_LOADER,\n SHOW_SETTLEMENT_LOADER,\n};\n","// Components\nimport { Table, TableFilter } from '../../components';\n\n// Constants\nimport { SECTION_LIST_ENUM, STATUS_ENUM } from './constants';\n\n// Actions\nimport { fetchUpdatingMerchantRequest } from './redux/MerchantOnboardStatus.actions';\n\n// Libraries\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {\n startDate: moment().subtract(1, 'days'),\n endDate: moment(),\n maximumNights: 6,\n notResetDate: true,\n },\n },\n {\n fieldType: 'select',\n label: 'Merchant Name / Merchant ID',\n name: 'entityCode',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'name',\n valueField: 'entityCode',\n },\n },\n {\n fieldType: 'select',\n label: 'Select state',\n name: 'state',\n props: {\n data: STATUS_ENUM,\n label: 'Select State',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'select',\n label: 'Select Section',\n name: 'sectionType',\n id: 'sectionType',\n props: {\n data: SECTION_LIST_ENUM,\n label: 'Select Section',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'checkbox',\n label: 'Updated By',\n name: 'updatedBy',\n props: {\n options: [\n {\n name: 'Updated by me',\n value: 'SUCCESS',\n },\n ],\n labelField: 'name',\n valueField: 'value',\n },\n },\n];\n\nconst setMerchantFilter = (fieldsList, underlyingMerchant) => {\n if (underlyingMerchant.length) {\n fieldsList.forEach(element => {\n if (element.name === 'entityCode') {\n element.props.data = underlyingMerchant;\n }\n });\n return fieldsList;\n }\n return fieldsList.filter(item => item.name !== 'entityCode');\n};\n\nconst MerchantOnboardStatusTable = props => {\n const [filterData, setFilterData] = useState({});\n const [isResetPage, setIsResetPage] = useState(false);\n const [pageSize, setPageSize] = useState(10);\n const [pageCount, setPageCount] = useState(0);\n const pageSizeOptions = [10, 20, 40, 60];\n\n const {\n staticData,\n merchantOnBoardStatusData,\n actions,\n loader: { showLoader },\n auth,\n } = props;\n\n const {\n error,\n tableData,\n isLoading,\n pagination,\n } = merchantOnBoardStatusData;\n\n const { underlyingMerchant } = staticData;\n const filters = setMerchantFilter(filterFieldList, underlyingMerchant);\n\n const columns = useMemo(\n () => [\n { header: 'Entity Code', accessor: 'entityCode' },\n { header: 'Entity Type', accessor: 'entityType' },\n { header: 'Update status', accessor: 'state' },\n { header: 'Section Type', accessor: 'sectionType' },\n { header: 'Updated By', accessor: 'userId' },\n { header: 'Status Message', accessor: 'statusMessage' },\n ],\n []\n );\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n const data = {\n pageSize,\n pageIndex,\n };\n actions.fetchUpdatingMerchantRequest({\n ...data,\n ...filterData,\n userEmailId: auth.userDetails.email,\n });\n setPageSize(pageSize);\n },\n [actions, auth.userDetails.email, filterData]\n );\n\n return (\n <>\n setIsResetPage(false)}\n isFiltersEnable\n isPaginationEnable\n tableFilters={\n {\n setFilterData({ ...filterValues });\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n />\n \n );\n};\n\nMerchantOnboardStatusTable.propTypes = {\n staticData: PropTypes.object,\n merchantOnBoardStatusData: PropTypes.object,\n actions: PropTypes.object,\n auth: PropTypes.object,\n loader: PropTypes.object,\n};\n\nconst mapStateToProps = ({\n auth,\n merchantOnBoardStatusData,\n loader,\n staticData,\n}) => ({\n auth,\n merchantOnBoardStatusData,\n loader,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchUpdatingMerchantRequest,\n },\n dispatch\n ),\n});\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(MerchantOnboardStatusTable);\n","// Layouts\n\n// Component\nimport MerchantOnboardStatusTable from './MerchantOnboardStatusTable';\n\n// Libraries\nimport React from 'react';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\n\n// Style\nimport './MerchantOnboardStatus.scss';\n\nconst MerchantOnboardStatus = ({ auth, actions }) => {\n // const { userLevel } = auth.userDetails;\n\n return (\n <>\n
    \n \n
    \n \n );\n};\n\nconst mapStateToProps = ({ auth, loader, actions }) => ({\n auth,\n loader,\n actions,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nMerchantOnboardStatus.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n loader: PropTypes.object,\n};\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(MerchantOnboardStatus);\n","import MerchantOnboardStatus from './MerchantOnboardStatus';\n\nexport default MerchantOnboardStatus;\n","export const PAID = 'PAID';\nexport const UNPAID = 'UNPAID';\nexport const PAY = 'PAY';\n\nexport const NET = 'NET';\nexport const GROSS = 'GROSS';\n\nexport const INVOICE_PAYMENT_STATUS = [PAID, UNPAID];\nexport const INVOICE_SETTLEMENT_TYPES = [NET, GROSS];\n","// Initial file list view\nconst FETCH_INVOICE_LIST_REQUEST = 'FETCH_INVOICE_LIST_REQUEST';\nconst FETCH_INVOICE_LIST_SUCCESS = 'FETCH_INVOICE_LIST_SUCCESS';\nconst FETCH_INVOICE_LIST_ERROR = 'FETCH_INVOICE_LIST_ERROR';\n\n// Update Invoice Payment Status\nconst UPDATE_INVOICE_PAYMENT_STATUS_REQUEST =\n 'UPDATE_INVOICE_PAYMENT_STATUS_REQUEST';\nconst UPDATE_INVOICE_PAYMENT_STATUS_SUCCESS =\n 'UPDATE_INVOICE_PAYMENT_STATUS_SUCCESS';\nconst UPDATE_INVOICE_PAYMENT_STATUS_ERROR =\n 'UPDATE_INVOICE_PAYMENT_STATUS_ERROR';\nconst UPDATE_INVOICE_PAYMENT_STATUS_RESET =\n 'UPDATE_INVOICE_PAYMENT_STATUS_RESET';\n\n// file download\nconst DOWNLOAD_INVOICE_FILE_REQUEST = 'DOWNLOAD_INVOICE_FILE_REQUEST';\nconst DOWNLOAD_INVOICE_FILE_SUCCESS = 'DOWNLOAD_INVOICE_FILE_SUCCESS';\nconst DOWNLOAD_INVOICE_FILE_ERROR = 'DOWNLOAD_INVOICE_FILE_ERROR';\n\n// Generate Report\nconst GENERATE_REPORT_INVOICE_REQUEST = 'GENERATE_REPORT_INVOICE_REQUEST';\nconst GENERATE_REPORT_INVOICE_SUCCESS = 'GENERATE_REPORT_INVOICE_SUCCESS';\nconst GENERATE_REPORT_INVOICE_ERROR = 'GENERATE_REPORT_INVOICE_ERROR';\n\n// Show and hide loaders\nconst HIDE_INVOICE_LOADER = 'HIDE_INVOICE_LOADER';\nconst SHOW_INVOICE_LOADER = 'SHOW_INVOICE_LOADER';\n\nexport {\n FETCH_INVOICE_LIST_REQUEST,\n FETCH_INVOICE_LIST_SUCCESS,\n FETCH_INVOICE_LIST_ERROR,\n HIDE_INVOICE_LOADER,\n SHOW_INVOICE_LOADER,\n DOWNLOAD_INVOICE_FILE_REQUEST,\n DOWNLOAD_INVOICE_FILE_SUCCESS,\n DOWNLOAD_INVOICE_FILE_ERROR,\n GENERATE_REPORT_INVOICE_REQUEST,\n GENERATE_REPORT_INVOICE_SUCCESS,\n GENERATE_REPORT_INVOICE_ERROR,\n UPDATE_INVOICE_PAYMENT_STATUS_REQUEST,\n UPDATE_INVOICE_PAYMENT_STATUS_SUCCESS,\n UPDATE_INVOICE_PAYMENT_STATUS_ERROR,\n UPDATE_INVOICE_PAYMENT_STATUS_RESET,\n};\n","import {\n FETCH_INVOICE_LIST_REQUEST,\n FETCH_INVOICE_LIST_SUCCESS,\n FETCH_INVOICE_LIST_ERROR,\n SHOW_INVOICE_LOADER,\n HIDE_INVOICE_LOADER,\n DOWNLOAD_INVOICE_FILE_SUCCESS,\n DOWNLOAD_INVOICE_FILE_ERROR,\n GENERATE_REPORT_INVOICE_SUCCESS,\n GENERATE_REPORT_INVOICE_ERROR,\n GENERATE_REPORT_INVOICE_REQUEST,\n DOWNLOAD_INVOICE_FILE_REQUEST,\n UPDATE_INVOICE_PAYMENT_STATUS_REQUEST,\n UPDATE_INVOICE_PAYMENT_STATUS_SUCCESS,\n UPDATE_INVOICE_PAYMENT_STATUS_ERROR,\n UPDATE_INVOICE_PAYMENT_STATUS_RESET,\n} from './invoice.constants';\n\nexport const fetchInvoiceDataRequest = payload => ({\n type: FETCH_INVOICE_LIST_REQUEST,\n payload,\n});\n\nexport const fetchInvoiceDataSuccess = payload => ({\n type: FETCH_INVOICE_LIST_SUCCESS,\n payload,\n});\n\nexport const fetchInvoiceDataError = payload => ({\n type: FETCH_INVOICE_LIST_ERROR,\n payload,\n});\n\nexport const updateInvoicePaymentStatusRequest = payload => ({\n type: UPDATE_INVOICE_PAYMENT_STATUS_REQUEST,\n payload,\n});\n\nexport const updateInvoicePaymentStatusSuccess = payload => ({\n type: UPDATE_INVOICE_PAYMENT_STATUS_SUCCESS,\n payload,\n});\n\nexport const updateInvoicePaymentStatusError = payload => ({\n type: UPDATE_INVOICE_PAYMENT_STATUS_ERROR,\n payload,\n});\n\nexport const updateInvoicePaymentStatusReset = payload => ({\n type: UPDATE_INVOICE_PAYMENT_STATUS_RESET,\n payload,\n});\n\nexport const generateInvoiceReportRequest = payload => ({\n type: DOWNLOAD_INVOICE_FILE_REQUEST,\n payload,\n});\n\nexport const generateInvoiceReportError = payload => {\n return { type: DOWNLOAD_INVOICE_FILE_ERROR, payload };\n};\n\nexport const generateInvoiceReportSuccess = payload => {\n return {\n type: DOWNLOAD_INVOICE_FILE_SUCCESS,\n payload,\n };\n};\n\nexport const generateInvoiceRequest = payload => ({\n type: GENERATE_REPORT_INVOICE_REQUEST,\n payload,\n});\n\nexport const generateInvoiceSuccess = payload => ({\n type: GENERATE_REPORT_INVOICE_SUCCESS,\n payload,\n});\n\nexport const generateInvoiceError = payload => ({\n type: GENERATE_REPORT_INVOICE_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_INVOICE_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_INVOICE_LOADER });\n","import { PAID, PAY } from 'containers/Invoice/constant';\nimport React, { useEffect, useState } from 'react';\nimport './InvoicePaymentStatusChange.scss';\nimport PropTypes from 'prop-types';\n\nimport {\n Accordion,\n Alert,\n ConditionalComponent,\n DatePicker,\n FormElems,\n} from 'components';\n\nimport FakeLoader from '../../components/FakeLoader';\n\nimport { isPresentOrDefault } from 'utils/helperMethods';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose } from 'redux';\nimport moment from 'moment';\nimport {\n updateInvoicePaymentStatusRequest,\n updateInvoicePaymentStatusReset,\n} from 'containers/Invoice/redux/invoice.actions';\n\nconst InvoicePaymentStatusChange = ({\n data,\n actions,\n handleSubmit,\n formData,\n invoiceData,\n onUpdateStatusSuccess,\n}) => {\n const merchantId = isPresentOrDefault(data?.merchantId, '-');\n const merchantName = isPresentOrDefault(data?.merchantName, '-');\n const invoicePeriod = isPresentOrDefault(data?.invoicePeriod, '-');\n const paymentStatus = isPresentOrDefault(data?.paymentStatus, '-');\n const invoiceDate = isPresentOrDefault(data?.invoiceDate, '-');\n const invoiceNumber = isPresentOrDefault(data?.invoiceNumber, '-');\n const settlementType = isPresentOrDefault(data?.settlementType, '-');\n const grossAmount = isPresentOrDefault(data?.grossAmount, '-');\n const totalFee = isPresentOrDefault(data?.totalFee, '-');\n const totalGst = isPresentOrDefault(data?.totalGst, '-');\n const totalValue = isPresentOrDefault(data?.totalValue, '-');\n\n const {\n isSuccessfulRefund,\n isStatusLoading,\n statusUpdateError,\n } = invoiceData;\n\n const buttonTitle = paymentStatus === PAID ? PAID : PAY;\n\n useEffect(() => {\n if (isSuccessfulRefund) {\n onUpdateStatusSuccess();\n actions.updateInvoicePaymentStatusReset();\n }\n }, [isSuccessfulRefund]);\n\n const [invoicePaymentDate, setInvoicePaymentDate] = useState(\n moment().endOf('day')\n );\n\n const [focusedInput, setFocusedInput] = useState(null);\n\n const handleFormSubmit = values => {\n const data = {\n invoiceNumber,\n paymentStatus: PAID,\n utr: values.utr,\n };\n\n if (invoicePaymentDate) {\n data.invoicePaymentDate = moment(invoicePaymentDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n\n const payload = { ...data };\n actions.updateInvoicePaymentStatusRequest(payload);\n };\n\n return (\n
    \n
    \n \n

    Merchant ID

    \n

    {merchantId}

    \n
    \n \n

    Merchant Name

    \n

    {merchantName}

    \n
    \n
    \n
    \n \n

    Invoice Period

    \n

    {invoicePeriod}

    \n
    \n \n

    Payment Status

    \n

    {paymentStatus}

    \n
    \n
    \n
    \n \n

    Invoice Date

    \n

    {invoiceDate}

    \n
    \n \n

    Invoice number

    \n

    {invoiceNumber}

    \n
    \n
    \n
    \n \n

    Settlement Type

    \n

    {settlementType}

    \n
    \n
    \n
    \n \n

    Gross Amount

    \n

    {grossAmount}

    \n
    \n \n

    Total Fee

    \n

    {totalFee}

    \n
    \n
    \n
    \n \n

    Total GST

    \n

    {totalGst}

    \n
    \n \n

    Total Value

    \n

    {totalValue}

    \n
    \n
    \n \n \n

    \n \n Update Invoice Status\n \n

    \n \n }\n lowerComponent={\n <>\n {isStatusLoading ? : <>}\n \n
    \n
    \n

    \n Invoice Payment Date\n

    \n {\n return (\n moment().diff(\n day.endOf('day'),\n 'days'\n ) < 0\n );\n }}\n />\n
    \n
    \n
    \n
    \n

    UTR

    \n \n
    \n
    \n\n {statusUpdateError &&\n statusUpdateError.errorMessage ? (\n \n {statusUpdateError.errorMessage}\n \n ) : null}\n
    \n \n
    \n \n \n }\n />\n \n
    \n );\n};\n\nInvoicePaymentStatusChange.propTypes = {\n data: PropTypes.object,\n actions: PropTypes.object,\n formData: PropTypes.object,\n handleSubmit: PropTypes.func,\n onUpdateStatusSuccess: PropTypes.func,\n};\n\nconst mapStateToProps = ({ auth, form, invoiceData }) => ({\n auth,\n formData: form['invoice-status-change-form'],\n invoiceData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n updateInvoicePaymentStatusRequest,\n updateInvoicePaymentStatusReset,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'invoice-status-change-form',\n validate: () => {},\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(InvoicePaymentStatusChange);\n","import InvoicePaymentStatusChange from './InvoicePaymentStatusChange';\n\nexport default InvoicePaymentStatusChange;\n","/* eslint-disable indent */\n/* eslint-disable no-nested-ternary */\nimport { validators } from '../../utils/validators';\nimport { FormElems, Alert } from '../../components';\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { isEmpty } from 'lodash';\n\nconst DownloadFile = props => {\n const {\n actions,\n filterData,\n showDownloadPopup,\n setShowDownloadPopup,\n tableData,\n handleSubmit,\n untouch,\n change,\n generateData,\n isDateRangeFieldRequired,\n dateRangeFieldName,\n userLevel,\n } = props;\n\n const handleOpenActionPopup = actionType => {\n setShowDownloadPopup(!showDownloadPopup);\n };\n\n useEffect(() => {\n if (generateData.isSuccess) {\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generateData.isSuccess]);\n\n const handleCloseOpenActionPopup = () => {\n setShowDownloadPopup(false);\n change('fileName', '');\n untouch('downloadFile', 'fileName');\n };\n\n const handleGenerateSubmit = values => {\n actions.generateInvoiceReportRequest({\n reportFileName: values.fileName,\n ...filterData,\n });\n };\n useEffect(() => {\n return () => {\n handleCloseOpenActionPopup();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (\n
    \n \n {showDownloadPopup ? (\n <>\n \n
    \n
    \n \n
    \n
    \n

    \n Enter any name for download file\n

    \n \n
    \n
    \n {isEmpty(filterData[dateRangeFieldName]) ? (\n \n Please select a data range\n \n ) : isEmpty(tableData) ? (\n \n No data available\n \n ) : userLevel !== 'MERCHANT' &&\n isEmpty(filterData.merchantId) ? (\n \n Please Select Merchant Id\n \n ) : null}\n
    \n \n
    \n \n
    \n
    \n \n ) : null}\n
    \n );\n};\n\nDownloadFile.propTypes = {\n actions: PropTypes.object,\n filterData: PropTypes.object,\n tableData: PropTypes.object,\n showDownloadPopup: PropTypes.bool,\n setShowDownloadPopup: PropTypes.func,\n handleSubmit: PropTypes.func,\n change: PropTypes.func,\n untouch: PropTypes.func,\n generateData: PropTypes.object,\n isDateRangeFieldRequired: PropTypes.bool,\n dateRangeFieldName: PropTypes.string,\n userLevel: PropTypes.string,\n};\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n\n if (REQUIRED(values) || REQUIRED(values.fileName)) {\n errors.fileName = 'Please enter a File Name';\n }\n if (values.fileName && values.fileName.length > 25) {\n errors.fileName = 'Max 25 character are allowed in filename';\n }\n const isValid = /^[A-Za-z0-9\\d\\-_\\s]+$/i.test(values.fileName);\n if (!isValid) {\n errors.fileName =\n 'Only numbers, letters, - & _ are allowed in filename';\n }\n if (!/^\\S+$/.test(values.fileName)) {\n errors.fileName = 'Spaces not allowed in filename';\n }\n return errors;\n};\n\nexport default reduxForm({\n form: 'downloadFile',\n enableReinitialize: true,\n validate,\n destroyOnUnmount: false,\n})(DownloadFile);\n","// Components\nimport InvoicePaymentStatusChange from 'components/InvoicePaymentStatusChange';\nimport { fetchEntityListRequest } from '../MerchantOnboard/redux/merchantOnBoard.actions';\nimport {\n Popup,\n Table,\n TableFilter,\n ViewDownloadStatus,\n} from '../../components';\nimport { ENTITY_TYPE } from '../../utils/constants/commonValues';\nimport DownloadFile from './DownloadFile';\n\n// Actions\n\n// Libraries\nimport {\n fetchInvoiceDataRequest,\n generateInvoiceRequest,\n generateInvoiceReportRequest,\n generateInvoiceReportError,\n generateInvoiceReportSuccess,\n updateInvoicePaymentStatusRequest,\n updateInvoicePaymentStatusSuccess,\n updateInvoicePaymentStatusError,\n} from './redux/invoice.actions';\n\nimport { INVOICE_PAYMENT_STATUS, INVOICE_SETTLEMENT_TYPES } from './constant';\nimport React, { useMemo, useCallback, useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\n\nimport moment from 'moment';\n\nconst filterFieldList = [\n {\n fieldType: 'month-picker',\n label: 'Month Range',\n name: 'monthRange',\n props: {\n lowerMonth: moment()\n .subtract(1, 'months')\n .format('M'),\n lowerYear: moment().format('YYYY'),\n upperMonth: moment()\n .subtract(1, 'months')\n .format('M'),\n upperYear: moment().format('YYYY'),\n },\n },\n {\n fieldType: 'search-select',\n label: 'Merchant Name',\n name: 'merchantId',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'displayValue',\n valueField: 'merchantId',\n },\n },\n {\n fieldType: 'search-select',\n label: 'Payment Status',\n name: 'paymentStatus',\n props: {\n data: [],\n label: 'Select Payment Status',\n labelField: 'paymentStatus',\n valueField: 'paymentStatus',\n },\n },\n {\n fieldType: 'search-select',\n label: 'Settlement Type',\n name: 'settlementType',\n props: {\n data: [],\n label: 'Select Settlement Type',\n labelField: 'settlementType',\n valueField: 'settlementType',\n },\n },\n];\n\nconst setMerchantFilter = (fieldsList, underlyingMerchant, userLevel) => {\n fieldsList.forEach(element => {\n if (element.name === 'paymentStatus') {\n element.props.data = INVOICE_PAYMENT_STATUS.map(value => {\n return { paymentStatus: value };\n });\n }\n if (element.name === 'settlementType') {\n element.props.data = INVOICE_SETTLEMENT_TYPES.map(value => {\n return { settlementType: value };\n });\n }\n });\n\n if (underlyingMerchant.length && userLevel && userLevel !== 'MERCHANT') {\n fieldsList.forEach(element => {\n if (element.name === 'merchantId') {\n element.props.data = underlyingMerchant.map(merchant => {\n return {\n merchantName: merchant.name,\n merchantId: merchant.entityCode,\n displayValue:\n `${merchant.name} ` + `(${merchant.entityCode})`,\n };\n });\n }\n });\n return fieldsList;\n }\n\n return fieldsList.filter(item => item.name !== 'merchantId');\n};\n\nconst ManageInvoiceActions = ({\n data,\n downloadRequest,\n handleOpenActionPopup,\n actions,\n fetchData,\n pageSize,\n pageIndex,\n}) => {\n const [showFilter, setShowFilter] = useState(false);\n\n const originalData = data.original;\n const generateReport = () => {\n const req = {\n s3path: originalData.invoiceURL,\n };\n downloadRequest(req);\n };\n\n const handleOpenDataActionPopup = actionType => {\n setShowFilter(true);\n };\n\n const handleCloseDataActionPopup = () => {\n setShowFilter(false);\n };\n\n return (\n
    \n
    \n );\n};\n\nconst InvoiceTable = ({\n actions,\n invoiceData,\n merchantData,\n auth,\n transactionData,\n}) => {\n const {\n tableData,\n isLoading,\n pagination,\n generatedFile,\n error,\n } = invoiceData;\n const pageSizeOptions = [10, 20, 40, 60];\n const { entityList } = merchantData;\n const { userLevel } = auth.userDetails;\n\n const { activeReports } = transactionData || {};\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [pageIndex, setPageIndex] = useState(10);\n\n const [filterData, setFilterData] = useState({});\n const [isResetPage, setIsResetPage] = useState(false);\n const [showPopUp, setShowPopUp] = useState(false);\n const [showDownloadPopup, setShowDownloadPopup] = useState(false);\n\n const handleCloseViewDownloads = () => {\n setShowPopUp(false);\n };\n const handleViewDownloads = () => {\n setShowPopUp(true);\n };\n\n useEffect(() => {\n if (generatedFile.isSuccess) {\n setShowPopUp(true);\n }\n return () => {\n actions.generateInvoiceReportError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generatedFile.isSuccess]);\n\n useEffect(() => {\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT);\n }, [actions, generatedFile.isSuccess]);\n\n const filters = setMerchantFilter(\n filterFieldList,\n entityList.merchant || [],\n userLevel\n );\n\n const fetchData = useCallback(\n (pageSize, pageIndex) => {\n const data = {\n pageSize: pageSize.pageSize,\n pageIndex: pageSize.pageIndex,\n };\n const payload = { ...data, ...filterData };\n actions.fetchInvoiceDataRequest(payload);\n\n setPageSize(pageSize.pageSize);\n setPageIndex(pageSize.pageIndex);\n },\n [actions, filterData]\n );\n\n const fetchFilterData = filterValues => {\n setFilterData(filterValues);\n // setIsResetPage(true);\n };\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const columns = useMemo(\n () => [\n { header: 'Merchant ID', accessor: 'merchantId' },\n { header: 'Merchant Name', accessor: 'merchantName' },\n { header: 'Invoice Period', accessor: 'invoicePeriod' },\n { header: 'Invoice Date', accessor: 'invoiceDate' },\n { header: 'Invoice number', accessor: 'invoiceNumber' },\n { header: 'Settlement Type', accessor: 'settlementType' },\n { header: 'Payment Status', accessor: 'paymentStatus' },\n { header: 'Gross Amount', accessor: 'grossAmount' },\n { header: 'Total Fee', accessor: 'totalFee' },\n { header: 'Total GST', accessor: 'totalGst' },\n { header: 'Total Value', accessor: 'totalValue' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n return (\n <>\n {\n const tempFilterValue = { ...filterValues };\n fetchFilterData(tempFilterValue);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n userActions={data => {\n return (\n {\n actions.generateInvoiceRequest(req);\n }}\n actions={actions}\n invoiceData={invoiceData}\n fetchData={fetchData}\n pageSize={pageSize}\n pageIndex={pageIndex}\n />\n );\n }}\n additionalActions={() => (\n \n )}\n isPaginationEnable\n loading={isLoading}\n error={error && error.errorMessage}\n fetchData={fetchData}\n numberOfRecord={pagination.totalNumberOfRecords}\n paginationLabel=\"Rows per page\"\n pageSizeOptions={pageSizeOptions}\n pagePerView={3}\n pageCount={pageCount}\n isResetPage={isResetPage}\n afterResetPage={() => setIsResetPage(false)}\n tableActionPopup={\n \n \n \n }\n />\n \n );\n};\n\nManageInvoiceActions.propTypes = {\n data: PropTypes.object,\n downloadRequest: PropTypes.func,\n handleOpenActionPopup: PropTypes.func,\n // actions: PropTypes.object,\n};\n\nInvoiceTable.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n manageBin: PropTypes.object,\n loader: PropTypes.object,\n invoiceData: PropTypes.object,\n merchantData: PropTypes.object,\n transactionData: PropTypes.object,\n};\n\nconst mapStateToProps = ({\n auth,\n loader,\n actions,\n invoiceData,\n merchantData,\n transactionData,\n}) => ({\n auth,\n loader,\n actions,\n invoiceData,\n merchantData,\n transactionData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchInvoiceDataRequest,\n updateInvoicePaymentStatusRequest,\n updateInvoicePaymentStatusSuccess,\n updateInvoicePaymentStatusError,\n fetchEntityListRequest,\n generateInvoiceRequest,\n generateInvoiceReportRequest,\n generateInvoiceReportError,\n generateInvoiceReportSuccess,\n },\n dispatch\n ),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(InvoiceTable);\n","import InvoiceTable from './InvoiceTable';\nimport React from 'react';\n\nimport './Invoice.scss';\n\nconst Invoice = props => {\n return (\n
    \n \n
    \n );\n};\n\nexport default Invoice;\n","import Invoice from './Invoice';\n\nexport default Invoice;\n","const GET_LINK_ID_FOR_PRE_FILLED_FILE_REQUEST =\n 'GET_LINK_ID_FOR_PRE_FILLED_FILE_REQUEST';\nconst GET_LINK_ID_FOR_PRE_FILLED_FILE_SUCCESS =\n 'GET_LINK_ID_FOR_PRE_FILLED_FILE_SUCCESS';\nconst GET_LINK_ID_FOR_PRE_FILLED_FILE_FAILED =\n 'GET_LINK_ID_FOR_PRE_FILLED_FILE_SUCCESS';\nconst SHOW_BULK_PAYMENT_LOADER = 'SHOW_BULK_PAYMENT_LOADER';\nconst HIDE_BULK_PAYMENT_LOADER = 'HIDE_BULK_PAYMENT_LOADER';\n\nconst GET_RECENT_BULK_PAYMENT_LINK_REQUEST =\n 'GET_RECENT_BULK_PAYMENT_LINK_REQUEST';\nconst GET_RECENT_BULK_PAYMENT_LINK_SUCCESS =\n 'GET_RECENT_BULK_PAYMENT_LINK_SUCCESS';\nconst GET_RECENT_BULK_PAYMENT_LINK_FAILED =\n 'GET_RECENT_BULK_PAYMENT_LINK_FAILED';\n\nconst UPLOAD_BULK_PAYMENT_LINK_REQUEST = 'UPLOAD_BULK_PAYMENT_LINK_REQUEST';\nconst UPLOAD_BULK_PAYMENT_LINK_SUCCESS = 'UPLOAD_BULK_PAYMENT_LINK_SUCCESS';\nconst UPLOAD_BULK_PAYMENT_LINK_FAILED = 'UPLOAD_BULK_PAYMENT_LINK_FAILED';\n\nconst DOWNLOAD_BULK_PAYMENT_LINK_REQUEST = 'DOWNLOAD_BULK_PAYMENT_LINK_REQUEST';\nconst DOWNLOAD_BULK_PAYMENT_LINK_SUCCESS = 'DOWNLOAD_BULK_PAYMENT_LINK_SUCCESS';\nconst DOWNLOAD_BULK_PAYMENT_LINK_FAILED = 'DOWNLOAD_BULK_PAYMENT_LINK_FAILED';\n\nexport {\n GET_LINK_ID_FOR_PRE_FILLED_FILE_REQUEST,\n GET_LINK_ID_FOR_PRE_FILLED_FILE_SUCCESS,\n GET_LINK_ID_FOR_PRE_FILLED_FILE_FAILED,\n GET_RECENT_BULK_PAYMENT_LINK_REQUEST,\n GET_RECENT_BULK_PAYMENT_LINK_SUCCESS,\n GET_RECENT_BULK_PAYMENT_LINK_FAILED,\n UPLOAD_BULK_PAYMENT_LINK_REQUEST,\n UPLOAD_BULK_PAYMENT_LINK_SUCCESS,\n UPLOAD_BULK_PAYMENT_LINK_FAILED,\n DOWNLOAD_BULK_PAYMENT_LINK_REQUEST,\n DOWNLOAD_BULK_PAYMENT_LINK_SUCCESS,\n DOWNLOAD_BULK_PAYMENT_LINK_FAILED,\n SHOW_BULK_PAYMENT_LOADER,\n HIDE_BULK_PAYMENT_LOADER,\n};\n","import {\n DOWNLOAD_BULK_PAYMENT_LINK_FAILED,\n DOWNLOAD_BULK_PAYMENT_LINK_REQUEST,\n DOWNLOAD_BULK_PAYMENT_LINK_SUCCESS,\n GET_LINK_ID_FOR_PRE_FILLED_FILE_FAILED,\n GET_LINK_ID_FOR_PRE_FILLED_FILE_REQUEST,\n GET_LINK_ID_FOR_PRE_FILLED_FILE_SUCCESS,\n GET_RECENT_BULK_PAYMENT_LINK_FAILED,\n GET_RECENT_BULK_PAYMENT_LINK_REQUEST,\n GET_RECENT_BULK_PAYMENT_LINK_SUCCESS,\n HIDE_BULK_PAYMENT_LOADER,\n SHOW_BULK_PAYMENT_LOADER,\n UPLOAD_BULK_PAYMENT_LINK_FAILED,\n UPLOAD_BULK_PAYMENT_LINK_REQUEST,\n UPLOAD_BULK_PAYMENT_LINK_SUCCESS,\n} from './BulkPaymentLink.constants';\n\nexport const fetchLinkIdForPreFilledFileRequest = payload => ({\n type: GET_LINK_ID_FOR_PRE_FILLED_FILE_REQUEST,\n payload,\n});\n\nexport const fetchLinkIdForPreFilledFileSuccess = payload => ({\n type: GET_LINK_ID_FOR_PRE_FILLED_FILE_SUCCESS,\n payload,\n});\n\nexport const fetchLinkIdForPreFilledFileFailed = payload => ({\n type: GET_LINK_ID_FOR_PRE_FILLED_FILE_FAILED,\n payload,\n});\n\nexport const fetchRecentBulkPaymentLinkRequest = payload => ({\n type: GET_RECENT_BULK_PAYMENT_LINK_REQUEST,\n payload,\n});\n\nexport const fetchRecentBulkPaymentLinkSuccess = payload => ({\n type: GET_RECENT_BULK_PAYMENT_LINK_SUCCESS,\n payload,\n});\n\nexport const fetchRecentBulkPaymentLinkFailed = payload => ({\n type: GET_RECENT_BULK_PAYMENT_LINK_FAILED,\n payload,\n});\n\nexport const uploadBulkPaymentLinkFileRequest = payload => ({\n type: UPLOAD_BULK_PAYMENT_LINK_REQUEST,\n payload,\n});\n\nexport const uploadBulkPaymentLinkFileSuccess = payload => ({\n type: UPLOAD_BULK_PAYMENT_LINK_SUCCESS,\n payload,\n});\n\nexport const uploadBulkPaymentLinkFileFailed = payload => ({\n type: UPLOAD_BULK_PAYMENT_LINK_FAILED,\n payload,\n});\n\nexport const downloadBulkPaymentLinkFileRequest = payload => ({\n type: DOWNLOAD_BULK_PAYMENT_LINK_REQUEST,\n payload,\n});\n\nexport const downloadBulkPaymentLinkFileSuccess = payload => ({\n type: DOWNLOAD_BULK_PAYMENT_LINK_SUCCESS,\n payload,\n});\n\nexport const downloadBulkPaymentLinkFileFailed = payload => ({\n type: DOWNLOAD_BULK_PAYMENT_LINK_FAILED,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_BULK_PAYMENT_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_BULK_PAYMENT_LOADER });\n","// Components\nimport { FormElems, Overlay } from '../../components/';\nimport { validators } from '../../utils/validators';\n\n// Actions\nimport {\n showLoader,\n hideLoader,\n} from '../../redux/common/loader/loader.actions';\nimport { fetchLinkIdForPreFilledFileRequest } from './redux/BulkPaymentLink.actions';\n\n// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\n\nconst validate = values => {\n const { REQUIRED } = validators;\n const errors = {};\n\n if (REQUIRED(values.linkName)) {\n errors.linkName = 'Please enter link name';\n }\n\n if (REQUIRED(values.linkId)) {\n errors.linkId = 'Please enter link ID';\n }\n\n return errors;\n};\n\nconst DownloadPreFilledFileFilter = ({\n showOverlay,\n closeFilter,\n handleSubmit,\n actions,\n}) => {\n const handleFormSubmit = values => {\n actions.fetchLinkIdForPreFilledFileRequest(values);\n };\n\n return (\n <>\n
    \n <>\n {showOverlay ? (\n \n ) : null}\n
    \n
    \n \n
    \n

    Link ID

    \n \n
    \n
    \n

    \n Link Name\n

    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n \n );\n};\n\nDownloadPreFilledFileFilter.propTypes = {\n showOverlay: PropTypes.bool,\n closeFilter: PropTypes.func,\n handleSubmit: PropTypes.func,\n userLevel: PropTypes.string,\n staticData: PropTypes.object,\n actions: PropTypes.object,\n auth: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, form, staticData }) => ({\n auth,\n formData: form['pre-filled-filter-payment-link'],\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n hideLoader,\n showLoader,\n fetchLinkIdForPreFilledFileRequest,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'pre-filled-filter-payment-link',\n enableReinitialize: true,\n validate,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(DownloadPreFilledFileFilter);\n","// Static Images\nimport { AlertModal, FormElems } from 'components';\nimport { ERROR_MESSAGES } from 'utils/constants/toastMessages';\nimport DownloadIcon from '../../static/images/downloadIcon.png';\nimport downArrowImg from '../../static/images/down-arrow.png';\n\nimport DownloadPreFilledFileFilter from './DownloadPreFilledFileFilter';\nimport { uploadBulkPaymentLinkFileRequest } from './redux/BulkPaymentLink.actions';\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { toast } from 'react-toastify';\n\nconst BulkPaymentLinkHeader = ({ actions, bulkPaymentLinkData }) => {\n const [showPopUp, setShowPopUp] = useState(false);\n const [selectedFile, setSelectedFile] = useState(null);\n const [isShowModal, setIsShowModal] = useState(false);\n\n const togglePopUp = () => {\n setShowPopUp(!showPopUp);\n };\n\n const onSuccessModal = () => {\n const formData = new FormData();\n formData.append('inputFile', selectedFile);\n actions.uploadBulkPaymentLinkFileRequest(formData);\n setIsShowModal(false);\n };\n\n const handleFileChange = (value, event) => {\n event.preventDefault();\n const files = event.target.files[0];\n if (files && /.+(\\.csv)$/.test(files.name)) {\n setSelectedFile(files);\n setIsShowModal(true);\n } else {\n toast.info(ERROR_MESSAGES.ONLY_CSV_FILE);\n }\n };\n\n return (\n
    \n

    Bulk Payment Link

    \n
    \n
      \n
    • \n }\n >\n \n \n
      \n
      \n

      Generate and Download Sample File

      \n
      \n \n
      \n
    \n \n \n
  • \n \n
    \n \n \n
  • \n \n
    \n setIsShowModal(false)}\n primaryButtonText=\"OK\"\n secondaryButtonText=\"CANCEL\"\n showActions={true}\n headerText={'Confirmation'}\n onSuccessModal={onSuccessModal}\n message={`Are you sure you want to upload ${selectedFile?.name}?`}\n />\n \n );\n};\n\nconst FilterPopupUp = ({ showPopUp, children, customComponent }) => {\n return (\n <>\n
    \n {children}\n {showPopUp ? customComponent : null}\n
    \n \n );\n};\n\nFilterPopupUp.propTypes = {\n showPopUp: PropTypes.bool,\n children: PropTypes.node,\n customComponent: PropTypes.node,\n togglePopUp: PropTypes.func,\n};\n\nBulkPaymentLinkHeader.propTypes = {\n actions: PropTypes.object,\n bulkPaymentLinkData: PropTypes.object,\n};\n\nconst mapStateToProps = ({ bulkPaymentLinkData }) => ({\n bulkPaymentLinkData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n uploadBulkPaymentLinkFileRequest,\n },\n dispatch\n ),\n});\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(BulkPaymentLinkHeader);\n","import { Table } from 'components';\nimport {\n fetchRecentBulkPaymentLinkRequest,\n downloadBulkPaymentLinkFileRequest,\n} from './redux/BulkPaymentLink.actions';\nimport React, { useMemo, useCallback, useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\n\nconst TableHead = props => {\n return (\n
    \n
    \n

    Recent Uploaded

    \n
    \n
    \n );\n};\n\nconst BulkPaymentLinkTable = ({ actions, bulkPaymentLinkData }) => {\n const pageSizeOptions = [10, 20, 40, 60];\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n\n const { pagination, tableData, error } = bulkPaymentLinkData;\n\n const columnsRecent = useMemo(\n () => [\n { header: 'Request ID', accessor: 'requestId' },\n { header: 'Request Purpose', accessor: 'requestPurpose' },\n { header: 'Merchant ID', accessor: 'merchantId' },\n { header: 'status', accessor: 'status' },\n { header: 'Valid Count', accessor: 'validCount' },\n { header: 'Invalid Count', accessor: 'invalidCount' },\n { header: 'Remark', accessor: 'remark' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const data = {\n pageSize,\n pageNo: pageIndex,\n };\n actions.fetchRecentBulkPaymentLinkRequest({\n ...data,\n });\n setPageSize(pageSize);\n },\n [actions]\n );\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n return (\n <>\n }\n fetchData={fetchData}\n tableFilters={null}\n loading={false}\n userActions={data => (\n {\n actions.downloadBulkPaymentLinkFileRequest(payload);\n }}\n />\n )}\n error={error && error.errorMessage}\n isPaginationEnable\n pageCount={pageCount}\n pageSizeOptions={pageSizeOptions}\n paginationLabel=\"Rows per page\"\n pagePerView={3}\n />\n \n );\n};\n\nconst ManageBulkRefundActions = ({ data, downloadRequest }) => {\n const handleDownload = () => {\n const payload = {};\n payload.requestId = data.original.requestId;\n payload.fileTypeEnum =\n data.original.status === 'COMPLETED' ? 'PROCESSED' : 'UPLOADED';\n downloadRequest(payload);\n };\n\n const isDisabled = data.original.status === 'INITIATED';\n\n return (\n \n \n \n );\n};\n\nManageBulkRefundActions.propTypes = {\n data: PropTypes.object,\n downloadRequest: PropTypes.func,\n};\n\nBulkPaymentLinkTable.propTypes = {\n actions: PropTypes.object,\n bulkPaymentLinkData: PropTypes.object,\n};\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchRecentBulkPaymentLinkRequest,\n downloadBulkPaymentLinkFileRequest,\n },\n dispatch\n ),\n});\n\nconst mapStateToProps = ({ auth, bulkPaymentLinkData, loader }) => ({\n auth,\n bulkPaymentLinkData,\n loader,\n});\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(BulkPaymentLinkTable);\n","import BulkPaymentLinkHeader from './BulkPaymentLinkHeader';\nimport BulkPaymentLinkTable from './BulkPaymentLinkTable';\nimport React from 'react';\n\nimport './bulkpaymentlink.scss';\n\nconst BulkPaymentLink = () => {\n return (\n
    \n \n \n
    \n );\n};\n\nexport default BulkPaymentLink;\n","import BulkPaymentLink from './BulkPaymentLink';\n\nexport default BulkPaymentLink;\n","// MAKER LIST\nexport const FETCH_MAKER_LIST_REQUEST = 'FETCH_MAKER_LIST_REQUEST';\nexport const FETCH_MAKER_LIST_SUCCESS = 'FETCH_MAKER_LIST_SUCCESS';\nexport const FETCH_MAKER_LIST_ERROR = 'FETCH_MAKER_LIST_ERROR';\nexport const SHOW_MAKER_LOADER = 'SHOW_MAKER_LOADER';\nexport const HIDE_MAKER_LOADER = 'HIDE_MAKER_LOADER';\n","import {\n FETCH_MAKER_LIST_SUCCESS,\n FETCH_MAKER_LIST_REQUEST,\n FETCH_MAKER_LIST_ERROR,\n SHOW_MAKER_LOADER,\n HIDE_MAKER_LOADER,\n} from './maker.constants';\n\nexport const fetchMakerRequest = payload => ({\n type: FETCH_MAKER_LIST_REQUEST,\n payload,\n});\n\nexport const fetchMakerSuccess = payload => ({\n type: FETCH_MAKER_LIST_SUCCESS,\n payload,\n});\n\nexport const fetchMakerError = payload => ({\n type: FETCH_MAKER_LIST_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_MAKER_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_MAKER_LOADER });\n","import { camelCaseToTitle } from 'utils/helperMethods';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst getTextData = (value, isNestedRenderingAllowed) => {\n if (['string', 'number'].includes(typeof value)) {\n return value;\n } else if (typeof value === 'boolean') {\n return value ? 'True' : 'False';\n } else if (\n Array.isArray(value) &&\n value.every(item => ['string', 'number'].includes(typeof item))\n ) {\n return value.length > 0\n ? value.map(item =>

    {item}

    )\n : '-';\n } else if (value === null || value === undefined) {\n return '-';\n } else if (isNestedRenderingAllowed) {\n return ;\n }\n\n return JSON.stringify(value);\n};\n\nconst GetValuesRender = ({\n data = {},\n section = '',\n isNestedRenderingAllowed = false,\n}) => {\n delete data.odsConfigInfo;\n return (\n <>\n {data &&\n Object.keys(data).map((key, index) => {\n return (\n
    \n

    {camelCaseToTitle(key)}

    \n

    \n {\n key === 'accountDetails' || key === 'ediConfInfoList' ?\n renderAccountAndEDI(data[key], key) :\n getTextData(\n data[key],\n isNestedRenderingAllowed\n )\n }\n

    \n
    \n );\n })}\n \n );\n};\n\n\nconst renderAccountAndEDI = (data, type) =>{\n console.log(data, type, \"DTADTA\");\n\n if(type === 'ediConfInfoList'){\n return data?.map(data => (\n
    \n
    \n

    Is EDI Enebled

    \n

    {data.ediEnable ? 'Enebled' : 'Disabled'}

    \n
    \n
    \n

    Account Number

    \n

    {data.accountNumber}

    \n
    \n
    \n

    Debit Amount

    \n

    {data.debitAmountPer}

    \n
    \n
    \n

    Debit Frequency

    \n

    {data.debitFrequency}

    \n
    \n {\n data.monthlyDebitDate ? (\n
    \n

    Monthly Debit Date

    \n

    {data.monthlyDebitDate}

    \n
    \n ) : (\n null\n )\n }\n
    \n

    Debit Frequency

    \n

    {data.debitFrequency}

    \n
    \n
    \n

    Debit Type

    \n

    {data.debitType}

    \n
    \n
    \n

    Settlement Amount Type

    \n

    {data.settlementAmountType}

    \n
    \n
    \n

    Settlement Frequency

    \n

    {data.settlementFrequency}

    \n
    \n
    \n

    Settlement Type

    \n

    {data.settlementType}

    \n
    \n
    \n

    Consent

    \n

    {data.consent ? 'Accepted' : 'Denied'}

    \n
    \n {\n data.flatAmount ? (\n
    \n

    Flat Amount

    \n

    {data.flatAmount}

    \n
    \n ) : (\n null\n )\n }\n {\n data.totalAmount ? (\n
    \n

    Total Amount

    \n

    {data.totalAmount}

    \n
    \n ) : (\n null\n )\n }\n
    \n

    Start Date

    \n

    {data.startDate}

    \n
    \n
    \n

    End Date

    \n

    {data.endDate}

    \n
    \n
    \n ))\n }\n\n return data.map(data => (\n
    \n
    \n

    Account Holder Name

    \n

    {data.accountHolderName}

    \n
    \n
    \n

    Account Number

    \n

    {data.accountNumber}

    \n
    \n
    \n

    Account Ownership

    \n

    {data.accountOwnership}

    \n
    \n
    \n

    Debit Frequency

    \n

    {data.debitFrequency}

    \n
    \n {\n data.accountType ? (\n
    \n

    Account Type

    \n

    {data.accountType}

    \n
    \n ) : (\n null\n )\n }\n
    \n

    Bank Name

    \n

    {data.bankName}

    \n
    \n
    \n

    IFSC Code

    \n

    {data.ifscCode}

    \n
    \n
    \n

    Is Primary

    \n

    {data.primary ? \"Yes\" : \"No\"}

    \n
    \n
    \n

    Status

    \n

    {data.status === 1 ? \"Active\" : \"Inactive\"}

    \n
    \n
    \n

    Is verified

    \n

    {data.verified ? \"Yes\" : \"No\"}

    \n
    \n
    \n ))\n}\n\nGetValuesRender.propTypes = {\n data: PropTypes.object,\n section: PropTypes.string,\n isNestedRenderingAllowed: PropTypes.bool,\n};\n\nexport { GetValuesRender, getTextData };\n","// MerchantView.jsx\n\nimport { GetValuesRender } from './commonViews';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst MerchantView = props => {\n const { data } = props;\n\n return (\n <>\n
    \n

    Merchant Section Data

    \n
    \n \n
    \n
    \n \n );\n};\n\nMerchantView.propTypes = {\n data: PropTypes.object,\n auth: PropTypes.object,\n};\n\nexport default MerchantView;\n","// IntegrationView.jsx\n\nimport { GetValuesRender } from './commonViews';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst IntegrationView = props => {\n const { data } = props;\n\n return (\n <>\n
    \n

    \n Integration Section Data\n

    \n
    \n \n
    \n
    \n \n );\n};\n\nIntegrationView.propTypes = {\n data: PropTypes.object,\n};\n\nexport default IntegrationView;\n","// PayModeView.jsx\n\nimport { GetValuesRender } from './commonViews';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { isEmpty } from 'lodash';\n\nconst PayModeView = props => {\n const { data } = props;\n\n const { paymentModeDetails } = data;\n\n // remove paymentModeDetails\n const simpleFields = (({ paymentModeDetails, ...rest }) => rest)(data);\n\n return (\n <>\n
    \n

    \n Payment Mode Section Data\n

    \n
    \n \n
    \n
    \n \n
    \n
    \n \n );\n};\n\nPayModeView.propTypes = {\n data: PropTypes.object,\n};\n\nconst PaymentTable = ({ paymentModeDetails }) => {\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n {paymentModeDetails.map((item, index) => (\n \n \n \n \n \n \n \n \n \n ))}\n \n
    Payment TypePayment Mode InfoPayment Mode Info UIPayment Sub Mode InfoBusiness SourceAccount TypeCategory
    {item.paymentType}{item.paymentModeInfo}{item.paymentModeInfoUI || '-'}{item.paymentSubModeInfo || '-'}\n {isEmpty(item.txnConfig) ? (\n -\n ) : (\n item.txnConfig.map(\n (config, configIndex) => (\n \n {config.businessSource}\n {configIndex ===\n item.txnConfig.length - 1\n ? ' '\n : ', '}\n \n )\n )\n )}\n \n {item &&\n item.txnConfig &&\n item.txnConfig[0].accountType\n ? item.txnConfig[0].accountType.join(', ')\n : '-'}\n {item.category || '-'}
    \n
    \n );\n};\n\nPaymentTable.propTypes = {\n paymentModeDetails: PropTypes.object,\n};\n\nexport default PayModeView;\n","import { GetValuesRender } from './commonViews';\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst SettlementView = (props) => {\n const { data } = props;\n //console.log(data, \"consoling dataaaaaaaaaaaa\");\n const { accountDetail, narrationConfig, customisedReports } = data;\n\n // Prepare simpleFields\n let simpleFields = (({ accountDetail, narrationConfig, customisedReports, ...rest }) => rest)(data);\n simpleFields = { ...accountDetail, ...simpleFields };\n\n // Function to extract enabled headers\n const extractHeaders = (reports) => {\n if (!Array.isArray(reports)) {\n console.warn(\"Expected an array for reports, received:\", reports);\n return []; // Return an empty array if reports is not an array\n }\n\n return reports.flatMap(report =>\n report.configuration\n ? report.configuration\n .filter(header => header.isEnable) // Only include enabled headers\n .map(header => ({ name: header.name })) // Extract name\n : [] // If configuration is not defined, return an empty array\n );\n };\n\n // Extract headers for MSR and MTR\n const msrHeaders = extractHeaders(customisedReports?.MSR || []);\n const mtrHeaders = extractHeaders(customisedReports?.MTR || []);\n\n if (narrationConfig) {\n if (narrationConfig.prefix) {\n simpleFields = { ...simpleFields, ...narrationConfig.prefix };\n }\n\n if (narrationConfig.interim) {\n simpleFields = { ...simpleFields, ...narrationConfig.interim };\n }\n\n if (narrationConfig.secondInterim) {\n simpleFields = { ...simpleFields, secondInterimType: narrationConfig.secondInterim.interimType };\n }\n\n if (narrationConfig.suffix) {\n simpleFields = { ...simpleFields, ...narrationConfig.suffix };\n }\n }\n\n return (\n <>\n
    \n

    \n Settlement Section Data\n

    \n
    \n \n
    \n\n
    \n {/* Customised Reports MSR Table */}\n {msrHeaders.length >0 && (\n
    \n

    MSR Report

    \n \n \n \n \n \n \n \n \n {msrHeaders.map((header, index) => (\n \n {/* Serial Number */}\n \n \n ))}\n \n
    Serial NoHeader Name
    {index + 1}{header.name}
    \n
    \n )}\n\n {/* Customised Reports MTR Table */}\n {mtrHeaders.length >0 && (\n
    \n

    MTR Report

    \n \n \n \n \n \n \n \n \n {mtrHeaders.map((header, index) => (\n \n {/* Serial Number */}\n \n \n ))}\n \n
    Serial NoHeader Name
    {index + 1}{header.name}
    \n
    \n )}\n
    \n
    \n \n );\n};\n\nSettlementView.propTypes = {\n data: PropTypes.object.isRequired,\n};\n\nexport default SettlementView;\n","// SurchargeView.jsx\nimport { camelCaseToTitle } from 'utils/helperMethods';\n\nimport { getTextData } from './commonViews';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst SurchargeView = props => {\n const { data } = props;\n const { feeConfigListMap } = data;\n\n return (\n <>\n
    \n

    Pricing Section Data

    \n
    \n \n
    \n
    \n \n );\n};\n\nconst FeeView = ({ feeConfigListMap }) => {\n return (\n
    \n {Object.keys(feeConfigListMap).map(feeType => (\n
    \n

    {feeType} Details

    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {feeConfigListMap[feeType]?.map((item, index) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ))}\n \n
    {camelCaseToTitle('lowerSlab')}{camelCaseToTitle('higherSlab')}{camelCaseToTitle('paymentType')}{camelCaseToTitle('transactionType')}{camelCaseToTitle('tax')}{camelCaseToTitle('type')}{camelCaseToTitle('issuer')}{camelCaseToTitle('feeFlat')}{camelCaseToTitle('feeType')}{camelCaseToTitle('cardType')}{camelCaseToTitle('currency')}{camelCaseToTitle('onUsFlag')}{camelCaseToTitle('paySlabId')}{camelCaseToTitle('entityType')}{camelCaseToTitle('feePercent')}{camelCaseToTitle('accountType')}{camelCaseToTitle('feeCriteria')}{camelCaseToTitle('feeEntityId')}{camelCaseToTitle('domesticFlag')}{camelCaseToTitle('conditionTrue')}{camelCaseToTitle('cardCategory')}Category
    {getTextData(item.lowerSlab)}{getTextData(item.higherSlab)}{getTextData(item.paymentType)}{getTextData(item.transactionType)}{getTextData(item.tax)}{getTextData(item.type)}{getTextData(item.issuer)}{getTextData(item.feeFlat)}{getTextData(item.feeType)}{getTextData(item.cardType)}{getTextData(item.currency)}{getTextData(item.onUsFlag)}{getTextData(item.paySlabId)}{getTextData(item.entityType)}{getTextData(item.feePercent)}{getTextData(item.accountType)}{getTextData(item.feeCriteria)}{getTextData(item.feeEntityId)}{getTextData(item.domesticFlag)}{getTextData(item.conditionTrue)}{getTextData(item.cardCategory)}{getTextData(item.category)}
    \n
    \n ))}\n
    \n );\n};\n\nSurchargeView.propTypes = {\n data: PropTypes.object,\n};\n\nFeeView.propTypes = {\n feeConfigListMap: PropTypes.object,\n};\n\nexport default SurchargeView;\n","import { POST } from 'utils/fetchWrappers';\nimport { API_VIEW_KYC_DOCUMENT } from 'utils/API/apiUrls';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { ERROR_MESSAGES } from 'utils/constants/toastMessages';\n\nimport { KYC_FIELD_NAME_TO_TITLE_MAP } from 'utils/constants/commonValues';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { toast } from 'react-toastify';\n\nconst KYCView = props => {\n const { data } = props;\n\n async function handleViewClick(docUrl) {\n const request = {\n s3Path: docUrl,\n };\n try {\n const response = await POST(\n API_VIEW_KYC_DOCUMENT,\n request,\n {},\n true\n );\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n window.open(data.s3Url, '_blank');\n } else {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n }\n\n const { additionalDocs } = data;\n const simpleFields = (({ additionalDocs, ...rest }) => rest)(data);\n\n return (\n <>\n
    \n

    KYC Section Data

    \n
    \n {Object.keys(simpleFields).map((fieldName, index) => {\n return (\n <>\n
    \n

    \n {KYC_FIELD_NAME_TO_TITLE_MAP[fieldName]}\n

    \n

    \n \n handleViewClick(data[fieldName])\n }\n />\n

    \n
    \n \n );\n })}\n {Object.keys(additionalDocs).map((fieldName, index) => {\n return (\n <>\n
    \n

    {fieldName}

    \n {additionalDocs[fieldName].map(\n (additionalDoc, additionalDocIndex) => {\n return (\n \n \n handleViewClick(\n additionalDoc\n )\n }\n />\n

    \n );\n }\n )}\n
    \n \n );\n })}\n
    \n
    \n \n );\n};\n\nKYCView.propTypes = {\n data: PropTypes.object,\n};\n\nexport default KYCView;\n","// PGConfigurationView.jsx\nimport { GetValuesRender } from './commonViews';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst PGConfigurationView = props => {\n const { data } = props;\n const { paymentGatewayDtoList } = data;\n return (\n <>\n
    \n

    \n PG Configuration Section Data\n

    \n {paymentGatewayDtoList?.map((pg, index) => {\n const pgStaticData = (({ credentials, ...rest }) => rest)(\n pg\n );\n return (\n <>\n
    \n \n
    \n\n
    \n \n
    \n \n );\n })}\n
    \n \n );\n};\n\nconst CredentialTable = ({ credentials }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {credentials.map((credential, index) => (\n \n \n \n \n \n \n \n \n \n \n \n \n ))}\n \n
    StatusPayment ModeSub ModeMerchant PG KeyMerchant PG CodeSecurity KeyEncryption KeyUsernamePasswordSOAP Key
    {credential.status ? 'Active' : 'Inactive'}{credential.paymentType || '-' || '-'}{credential.subMode || '-'}{credential.merchantPGKey || '-'}{credential.merchantPGCode || '-'}{credential.merchantPGSecurityKey || '-'}{credential.encryptionKey || '-'}{credential.username || '-'}{credential.password || '-'}{credential.soapKey || '-'}
    \n );\n};\n\nPGConfigurationView.propTypes = {\n data: PropTypes.object,\n};\n\nCredentialTable.propTypes = {\n credentials: PropTypes.object,\n};\n\nexport default PGConfigurationView;\n","// RoutingView.jsx\n\nimport { camelCaseToTitle } from 'utils/helperMethods';\n\nimport { GetValuesRender } from './commonViews';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst RoutingView = props => {\n const { data } = props;\n const { pgRoutingRequestList } = data;\n\n const simpleFields = (({ pgRoutingRequestList, ...rest }) => rest)(data);\n\n return (\n <>\n
    \n

    \n Settlement Section Data\n

    \n
    \n \n
    \n
    \n \n
    \n
    \n \n );\n};\n\nconst RoutingSectionDetails = ({ pgRoutingRequestList }) => {\n // Extract all unique pgPercentage keys from the data\n const pgPercentageKeys = Array.from(\n new Set(\n pgRoutingRequestList.flatMap(item => Object.keys(item.pgPercentage))\n )\n );\n\n return (\n
    \n

    PG Routing

    \n

    \n \n \n \n \n\n \n \n {pgPercentageKeys.map(key => (\n \n ))}\n \n \n \n {pgRoutingRequestList?.map((item, index) => (\n \n \n \n \n {pgPercentageKeys.map(key => (\n \n ))}\n \n ))}\n \n
    Payment TypePayment Mode InfoPayment Mode Info UI\n {camelCaseToTitle(`${key}Traffic`)}\n
    {item.paymentType}{item.paymentModeInfo}{item.paymentModeInfoUI}{item.pgPercentage[key]}
    {' '}\n

    \n
    \n );\n};\n\nRoutingView.propTypes = {\n data: PropTypes.object,\n};\n\nRoutingSectionDetails.propTypes = {\n pgRoutingRequestList: PropTypes.object,\n};\n\nexport default RoutingView;\n","import { GetValuesRender } from './commonViews';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst NotificationView = props => {\n const { data } = props;\n const { multipleEmails } = data;\n const simpleFields = (({ multipleEmails, ...rest }) => rest)(data);\n\n return (\n <>\n
    \n

    \n Notification Section Data\n

    \n\n
    \n \n
    \n {multipleEmails && multipleEmails.length > 0 ? (\n
    \n
    \n

    Additional Emails

    \n

    \n \n \n \n \n \n \n \n \n \n {multipleEmails?.map((item, index) => {\n return (\n \n \n \n \n \n );\n })}\n \n
    Email IDMSR EnabledMTR Enabled
    {item?.emailId}\n {item?.isMSR\n ? 'True'\n : 'False'}\n \n {item?.isMTR\n ? 'True'\n : 'False'}\n
    \n

    \n
    \n
    \n ) : (\n <>\n )}\n
    \n \n );\n};\n\nNotificationView.propTypes = {\n data: PropTypes.object,\n};\n\nexport default NotificationView;\n","// OnBoardingView.jsx\n\nimport {\n IntegrationView,\n KYCView,\n MerchantView,\n NotificationView,\n PayModeView,\n PGConfigurationView,\n RoutingView,\n SettlementView,\n SurchargeView,\n} from '.';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nconst OnBoardingView = props => {\n const { data } = props;\n const onboardingData = data.forms[0].sections;\n\n const transformedData = {};\n\n onboardingData.forEach(item => {\n const { type, data } = item;\n transformedData[type] = data;\n });\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nOnBoardingView.propTypes = {\n data: PropTypes.object,\n};\n\nexport default OnBoardingView;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport './makerCheckerView.scss';\n\nconst MakerDetailsView = props => {\n const { data } = props;\n return (\n <>\n
    \n

    \n Maker Request Metadata\n

    \n
    \n
    \n

    Event Type

    \n

    {data.eventType.split('_').join(' ')}

    \n
    \n
    \n

    Created At

    \n

    {data.createdAt}

    \n
    \n
    \n

    Entity Code

    \n

    {data.idempotencyId}

    \n
    \n
    \n

    Maker

    \n

    {data.makerId}

    \n
    \n
    \n

    Request ID

    \n

    {data.makerRequestId}

    \n
    \n
    \n

    Status

    \n

    {data.status}

    \n
    \n
    \n
    \n \n );\n};\n\nMakerDetailsView.propTypes = {\n data: PropTypes.object,\n};\n\nexport default MakerDetailsView;\n","import {\n ERROR_MESSAGES,\n SUCCESS_MESSAGES,\n} from 'utils/constants/toastMessages';\n\nimport { API_UPDATE_MAKER_REQUEST } from 'utils/API/apiUrls';\nimport { POST } from 'utils/fetchWrappers';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { FormElems } from 'components';\nimport PropTypes from 'prop-types';\nimport React, { useState } from 'react';\nimport { toast } from 'react-toastify';\n\nconst CheckerApprovalForm = ({\n requestDetails,\n auth,\n closePopup,\n showLoader,\n hideLoader,\n isBDOnboarding,\n checkerRemarks,\n}) => {\n\n\n const [comment, setComment] = useState(null);\n const [isApproved, setIsApproved] = useState('');\n const [switchState, setSwitchState] = useState({\n goLive: false,\n });\n\n const handleFormSubmit = async event => {\n event.preventDefault();\n\n const metaDataRequest = {\n isLiveEnabled: switchState.goLive,\n };\n\n const payload = {\n makerRequestId: requestDetails.makerRequestId,\n remarks: comment,\n eventType: requestDetails.eventType,\n status: isApproved ? 'APPROVED' : 'REJECTED',\n remarkBy: auth.userDetails.email || '',\n }\n if (checkerRemarks && checkerRemarks.length > 0 && checkerRemarks.some(item => item.status !== null)) {\n payload.checkerRemarks = checkerRemarks;\n }\n if (isBDOnboarding) {\n payload['metadata'] = JSON.stringify(metaDataRequest);\n }\n\n try {\n showLoader && showLoader(); // Make sure showLoader exists\n const response = await POST(API_UPDATE_MAKER_REQUEST, payload, {});\n\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n toast.success(SUCCESS_MESSAGES.APPLICATION_UPDATED_SUCCESSFULLY);\n closePopup();\n } else {\n toast.error(data.errorMessage);\n }\n } catch (error) {\n const errorMessage = error?.response?.data?.errorMessage || ERROR_MESSAGES.FALLBACK_ERROR;\n toast.error(errorMessage);\n } finally {\n if (typeof hideLoader === 'function') {\n hideLoader(); // Ensure hideLoader is called only if defined\n }else{\n console.log(\"inelse finally block \");\n }\n }\n };\n return (\n
    \n
    \n

    Remark

    \n\n setComment(value)}\n placeholder=\"Please enter your remark\"\n isRequired\n />\n
    \n\n {isBDOnboarding ? (\n
    \n \n

    Live Merchant

    \n
    \n ) : (\n <>\n )}\n\n
    \n setIsApproved(false)}\n customClass=\"back-btn\"\n />\n setIsApproved(true)}\n />\n
    \n
    \n );\n};\n\nCheckerApprovalForm.propTypes = {\n closePopup: PropTypes.func,\n isBDOnboarding: PropTypes.bool,\n requestDetails: PropTypes.object,\n auth: PropTypes.object,\n eventType: PropTypes.string,\n showLoader: PropTypes.func,\n hideLoader: PropTypes.func,\n};\n\nexport default CheckerApprovalForm;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport './makerCheckerView.scss';\n\nconst getMaskedAccountNo = accountNo => {\n if (!accountNo) {\n return '';\n }\n return accountNo.slice(0, -4).replace(/\\d/g, 'X') + accountNo.slice(-4);\n};\n\nconst getStatus = status => {\n if (status === 1) {\n return 'Active';\n }\n if (status === 2) {\n return 'Inactive';\n }\n return 'Inactive with settlement';\n};\n\nconst TerminalView = props => {\n const { data, count } = props;\n return (\n <>\n
    \n

    Terminal Data

    \n
    \n
    \n

    Terminal Name

    \n

    {data.terminalName}

    \n
    \n
    \n

    Merchant Category

    \n

    {data.paymentCategory}

    \n
    \n
    \n

    Payment Mode

    \n

    {data.paymentMode}

    \n
    \n {data.email && (\n
    \n

    Email

    \n

    {data.email}

    \n
    \n )}\n
    \n

    Settlement Account

    \n

    \n {getMaskedAccountNo(data.settlementAccountRefence)}\n

    \n
    \n
    \n

    Terminal Status

    \n

    {getStatus(data.status)}

    \n
    \n {count && (\n
    \n

    Terminal Count

    \n

    {data.terminalCount}

    \n
    \n )}\n
    \n
    \n \n );\n};\n\nTerminalView.propTypes = {\n data: PropTypes.object,\n count: PropTypes.number,\n};\n\nexport default TerminalView;\n","import { MAKER_CHECKER_EVENT_TYPES } from 'utils/constants/commonValues';\n\nimport {\n IntegrationView,\n KYCView,\n MerchantView,\n NotificationView,\n PayModeView,\n PGConfigurationView,\n RoutingView,\n SettlementView,\n SurchargeView,\n OnBoardingView,\n MakerDetailsView,\n CheckerApprovalForm,\n TerminalView\n} from 'components/MakerCheckerView';\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\n\nimport './checker.scss';\n\nconst getComponent = ({ data, auth }) => {\n const requestData = JSON.parse(data.request);\n\n switch (data.eventType) {\n case MAKER_CHECKER_EVENT_TYPES.ONBOARDING: {\n return ;\n }\n case MAKER_CHECKER_EVENT_TYPES.MERCHANT: {\n return ;\n }\n case MAKER_CHECKER_EVENT_TYPES.INTEGRATION: {\n const {\n merchantConfig: { integrationData },\n } = requestData;\n return ;\n }\n case MAKER_CHECKER_EVENT_TYPES.PAYMENTMODE: {\n const {\n merchantConfig: { paymentModeData },\n } = requestData;\n return ;\n }\n\n case MAKER_CHECKER_EVENT_TYPES.SETTLEMENT: {\n return ;\n }\n\n case MAKER_CHECKER_EVENT_TYPES.PRICING: {\n return ;\n }\n\n case MAKER_CHECKER_EVENT_TYPES.KYC: {\n const { merchantConfig: kycSectionData } = requestData;\n const { kycData } = kycSectionData;\n return ;\n }\n\n case MAKER_CHECKER_EVENT_TYPES.PG_CONFIG: {\n return ;\n }\n\n case MAKER_CHECKER_EVENT_TYPES.ROUTING: {\n return ;\n }\n\n case MAKER_CHECKER_EVENT_TYPES.NOTIFICATION: {\n const {\n merchantConfig: { notificationData },\n } = requestData;\n\n return ;\n }\n case MAKER_CHECKER_EVENT_TYPES.TERMINAL: {\n return ;\n }\n case MAKER_CHECKER_EVENT_TYPES.TERMINAL_UPDATE: {\n return ;\n }\n default:\n return <>;\n }\n};\n\nconst CheckerView = props => {\n const { data, auth, closePopup, showLoader, hideLoader } = props;\n\n return (\n <>\n \n {getComponent({ data, auth })}\n {data.status === \"INITIATED\" ? : <>}\n \n );\n};\n\nCheckerView.propTypes = {\n data: PropTypes.object,\n auth: PropTypes.object,\n closePopup: PropTypes.func,\n handleOpenActionPopup: PropTypes.func,\n showLoader: PropTypes.func,\n hideLoader: PropTypes.func,\n};\n\ngetComponent.propTypes = {\n data: PropTypes.object,\n auth: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth }) => ({\n auth,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CheckerView);\n","// Components\nimport {\n Popup,\n Table,\n TableFilter,\n ViewDownloadStatus,\n} from '../../components';\nimport { MAKER_CHECKER_EVENT_TYPES_TITLE_MAP } from '../../utils/constants/commonValues';\n\n// Actions\n\n// Libraries\nimport { fetchMakerRequest } from './redux/maker.actions';\n\nimport React, { useMemo, useCallback, useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\n\nimport moment from 'moment';\n\nimport './maker.scss';\nimport { isEmpty } from 'lodash';\n\nimport CheckerView from 'containers/Checker/CheckerView';\nimport { MLE_ONBOARDING } from 'containers/Checker/checker.constants';\nimport { useHistory } from 'react-router-dom';\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {\n startDate: moment().subtract(1, 'days'),\n endDate: moment(),\n maximumNights: 6,\n notResetDate: true,\n },\n },\n];\n\nconst setMerchantFilter = (fieldsList, underlyingMerchant, userLevel) => {\n if (underlyingMerchant.length && userLevel && userLevel !== 'MERCHANT') {\n fieldsList.forEach(element => {\n if (element.name === 'merchantId') {\n element.props.data = underlyingMerchant;\n }\n });\n return fieldsList;\n }\n\n return fieldsList.filter(item => item.name !== 'merchantId');\n};\n\nconst CheckerActions = ({ data, handleOpenActionPopup, setSelectedData, history }) => {\n const originalData = data.original;\n\n let className = originalData?.eventType === MLE_ONBOARDING ? 'edit' : 'view';\n \n const handleOnClick = () => {\n if (className === 'edit') {\n const makerRequestId = originalData.makerRequestId;\n history.push(`/maker/business_detail_section/${makerRequestId}`);\n } else {\n const generateReport = () => {\n setSelectedData(originalData);\n handleOpenActionPopup(true);\n };\n generateReport();\n }\n }\n\n return (\n
    \n
    \n );\n};\n\nCheckerActions.propTypes = {\n data: PropTypes.object,\n downloadRequest: PropTypes.func,\n handleOpenActionPopup: PropTypes.func,\n setSelectedData: PropTypes.func,\n};\n\nconst Maker = ({ actions, makerData, auth, staticData }) => {\n const history = useHistory();\n const { tableData, isLoading, pagination, error } = makerData;\n console.log(\"makerdatatabledata\", tableData);\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [filterData, setFilterData] = useState({});\n const [isResetPage, setIsResetPage] = useState(false);\n const [showPopUp, setShowPopUp] = useState(false);\n const [selectedData, setSelectedData] = useState(false);\n\n const handleCloseViewDownloads = () => {\n setShowPopUp(false);\n };\n const handleViewDownloads = () => {\n setShowPopUp(true);\n };\n\n const { underlyingMerchant } = staticData;\n const filters = setMerchantFilter(filterFieldList, underlyingMerchant);\n\n const fetchData = useCallback(\n (pageSize, pageIndex) => {\n const data = {\n pageSize: pageSize.pageSize,\n pageIndex: pageSize.pageIndex,\n };\n\n const payload = { ...data, ...filterData };\n if (!isEmpty(filterData)) {\n actions.fetchMakerRequest(payload);\n }\n\n setPageSize(pageSize.pageSize);\n },\n [actions, filterData]\n );\n\n const fetchFilterData = filterValues => {\n setFilterData(filterValues);\n setIsResetPage(true);\n };\n\n const handleCloseView = () => {\n setShowPopUp(false);\n };\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const columns = useMemo(\n () => [\n { header: 'Event Type', accessor: 'eventType' },\n { header: 'Status', accessor: 'status' },\n { header: 'Unique ID', accessor: 'idempotencyId' },\n { header: 'Maker', accessor: 'makerId' },\n { header: 'Maker Request ID', accessor: 'makerRequestId' },\n { header: 'Checker Remark', accessor: 'remarks' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const handleViewOpen = () => {\n setShowPopUp(true);\n };\n\n return (\n <>\n
    \n {\n const tempFilterValue = { ...filterValues };\n fetchFilterData(tempFilterValue);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n isPaginationEnable\n loading={isLoading}\n error={error && error.errorMessage}\n fetchData={fetchData}\n numberOfRecord={pagination.totalNumberOfRecords}\n paginationLabel=\"Rows per page\"\n pageSizeOptions={pageSizeOptions}\n pagePerView={3}\n pageCount={pageCount}\n isResetPage={isResetPage}\n afterResetPage={() => setIsResetPage(false)}\n userActions={data => {\n return (\n \n );\n }}\n tableActionPopup={\n \n \n \n }\n />\n
    \n \n );\n};\n\nMaker.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n manageBin: PropTypes.object,\n loader: PropTypes.object,\n makerData: PropTypes.object,\n staticData: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, loader, actions, makerData, staticData }) => ({\n auth,\n loader,\n actions,\n makerData,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({ fetchMakerRequest }, dispatch),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(Maker);\n","import React from 'react'\nimport Modal from '../../../Modal';\nimport removeImg from '../../../../static/images/remove.png';\nimport downloadImg from '../../../../static/images/download.png';\n\nconst ImageViewModal = ({\n selectedDocument,\n setSelectedDocument,\n}) => {\n return (\n setSelectedDocument(null)}\n customWrapperClass=\"content-modal modal-xl\"\n >\n
    \n

    Document View

    \n setSelectedDocument(null)}\n />\n
    \n
    \n {selectedDocument && selectedDocument.includes('.pdf') ? (\n \n

    Your browser does not support PDFs. Download the PDF.

    \n \n ) : (\n \n )}\n window.open(selectedDocument)}\n />\n
    \n \n );\n}\n\nexport default ImageViewModal\n","export const columnDetails={\n column1:{\n header: '',\n accessor: 'merchantName',\n },\n column2:{\n header:'',\n accessor: 'freechargeMid',\n },\n column3:{\n header:'Approve',\n accessor: 'action1',\n },\n column4:{\n header:'Reject',\n accessor: 'action2',\n },\n column5:{\n header:'Remarks',\n accessor: 'action3',\n }\n\n}\n\nexport const REJECT = 'REJECT';\nexport const APPROVE = 'APPROVE';\n\n// Address - Pin Code, District, State, Address\n\n// Pan Details - Legal Name, Pan Upload, Pan Number, Pan Name, Date of Incorporation\n\n// GST - Gst Upload and GST Name\n\n// Turnover - Turnover Category + Turnover Amount\nexport const PAN_CLUB_KEY = 'pan_club_key';\nexport const ADDRESS_CLUB_KEY = 'address_club_key';\nexport const GST_CLUB_KEY = 'gst_club_key';\nexport const TURNOVER_CLUB_KEY = 'turnover_club_key';\nexport const PROOF_OF_ADDRESS_CLUB_KEY = 'proof_of_address_club_key';","import {\n businessType,\n mleTurnOverCategory,\n} from 'components/MerchantTab/constant';\nimport { ACCEPT_IMG_ONLY, ACCEPT_IMG_PDF, MAX_FILE_SIZE } from 'utils/constants/commonValues';\nimport { nameValueOptions } from 'utils/helperMethods';\n\nexport const MLE_CREATE_FORM_NAME = 'mleOnboardingForm';\nexport const MLE_ENTITY_TYPE = 'MLE';\nexport const mleFields = {\n legalName: {\n name: 'legalName',\n label: 'Merchant Legal Name',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n alphaValid: true\n },\n place: 1\n },\n brandName: {\n name: 'brandName',\n label: 'Brand Name',\n type: 'text',\n fieldValidations: {\n required: true,\n }, \n place: 2\n },\n businessType: {\n name: 'businessType',\n label: 'Constitution Type',\n type: 'select',\n fieldValidations: {\n required: true,\n },\n place: 3\n },\n pin: {\n name: 'address.pinCode',\n label: 'PIN Code',\n type: 'number',\n fieldValidations: {\n required: true,\n pinValid: true\n },\n disabled: true,\n place: 4\n },\n district: {\n name: 'address.district',\n label: 'District',\n type: 'select',\n disabled: true,\n fieldValidations: {\n required: true,\n },\n place: 5\n },\n state: {\n name: 'address.state',\n label: 'State',\n type: 'select',\n disabled: true,\n fieldValidations: {\n required: true,\n },\n place: 6\n },\n address: {\n name: 'address.addressLine',\n label: 'Address',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n },\n place: 7\n },\n panUpload: {\n name: 'panurl',\n reqname: 'panDetails.url',\n label: 'Company PAN Upload',\n type: 'file',\n required: true,\n maxFileSize: MAX_FILE_SIZE,\n accept: ACCEPT_IMG_ONLY,\n fieldValidations: {\n required: true,\n },\n place: 8\n },\n pan: {\n name: 'panDetails.panNumber',\n label: 'Company PAN Number',\n type: 'text',\n disabled: true,\n fieldValidations: {\n required: true,\n panValid: true\n },\n place: 9\n },\n panName: {\n name: 'panDetails.name',\n label: 'Company PAN Name',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n },\n place: 10\n },\n panDate: {\n name: 'dateOfIncorporation',\n label: 'Date Of Incorporation',\n type: 'date',\n required: true,\n fieldValidations: {\n required: true,\n },\n place: 11\n },\n gstUpload: {\n name: 'gstUpload',\n reqName: 'gstUploadFile',\n label: 'GST Upload',\n type: 'file',\n required: true,\n maxFileSize: MAX_FILE_SIZE,\n accept: ACCEPT_IMG_ONLY,\n fieldValidations: {\n required: true,\n },\n place: 12\n },\n gst: {\n name: 'gstNumber',\n label: 'GST Number',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n gstValid: true\n },\n place: 13\n },\n turnOverCategory: {\n name: 'turnoverCategory',\n label: 'Turnover Category',\n type: 'select',\n data: nameValueOptions(mleTurnOverCategory) || [],\n required: false,\n fieldValidations: {\n required: true,\n },\n place: 14\n },\n companyId: {\n name: 'companyIdentificationNumber',\n label: 'Company Identification Number',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n haveNumberValid: true\n },\n place: 15\n },\n turnoverAmount: {\n name: 'turnoverAmount',\n label: 'Turnover Amount',\n type: 'number',\n required: false,\n fieldValidations: {\n required: true,\n rangeValid: true\n },\n place: 16\n },\n email: {\n name: 'emails',\n label: 'Email',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n emailValid: true\n },\n place: 17\n },\n websiteURLs: {\n name: 'websiteURLs',\n label: 'Website URL',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n urlValid: true\n },\n place: 18\n },\n telephoneNumbers: {\n name: 'telephoneNumbers',\n label: 'Telephone Number',\n type: 'number',\n required: true,\n fieldValidations: {\n // required: true,\n numericValid: true\n },\n place: 19\n },\n mobileNumber: {\n name: 'mobileNumbers',\n label: 'Mobile Number',\n type: 'number',\n required: true,\n fieldValidations: {\n required: true,\n mobileValid: true\n },\n place: 20\n },\n appLink: {\n name: 'appLink',\n label: 'App Link',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n },\n place: 21\n },\n verifyPan: {\n name: 'verify-pan',\n label: 'Verify PAN',\n buttonType: 'primary',\n },\n verifyGst: {\n name: 'verify-gst',\n label: 'Verify GST',\n buttonType: 'primary',\n }\n}\n\nexport const PREFIX_KYCURLS = 'kycDocUrls';\nexport const PIN_ERROR = 'Invalid pin';\nexport const BUSINESS_SECTION_TYPE_MLE = 'businessDetailSection';\nexport const BUSINESS_SECTION = 'businessDetails';\nexport const MAXIMUM_VALUE = 'maximum';\nexport const MINIMUM_VALUE = 'minimum';","import { ACCEPT_IMG_ONLY, ACCEPT_IMG_PDF, MAX_FILE_SIZE } from \"utils/constants/commonValues\";\n\n\nexport const UBO_CREATE_FORM_NAME = 'ubo-details';\nexport const UBO_ACCORDIAN_NAME = 'uboDetails';\nexport const UBO_SECTION_TYPE = 'ownershipDetailSection';\nexport const uboDeclarationUrls = {\n name: 'ubodeclarationsFile',\n label: 'Upload UBO Declarations',\n type: 'file',\n reqname: 'uboDeclarationUrls',\n fieldValidations: {\n required: true\n },\n place: 1\n};\nexport const uboFields = {\n uboActive: {\n name: (fieldName) => `${fieldName}.status`,\n label: 'UBO Active',\n type: 'text',\n required: true,\n default: false,\n fieldValidations: {\n // required: true,\n },\n place: 13\n }, \n uboName: {\n name: (fieldName) => `${fieldName}.name`,\n label: 'UBO Name',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n alphaValid: true\n },\n place: 1\n },\n panDate: {\n name: (fieldName) => `${fieldName}.panDetails.dob`,\n label: 'UBO Date of Birth',\n type: 'date',\n required: true,\n fieldValidations: {\n required: true,\n },\n place: 5\n },\n panUpload: {\n name: (fieldName) => `${fieldName}.panurl`,\n reqname: (fieldName) => `${fieldName}.panDetails.url`,\n label: 'UBO PAN Document',\n type: 'file',\n required: true,\n maxFileSize: MAX_FILE_SIZE,\n accept: ACCEPT_IMG_ONLY,\n fieldValidations: {\n required: true,\n },\n class: 'upload-pan-class',\n place: 2\n },\n pan: {\n name: (fieldName) => `${fieldName}.panDetails.panNumber`,\n label: 'UBO PAN Number',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n panValid: true\n },\n place: 3\n },\n panName: {\n name: (fieldName) => `${fieldName}.panDetails.name`,\n label: 'UBO PAN Name',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n },\n place: 4\n },\n uboAddress: {\n name: (fieldName) => `${fieldName}.address.addressLine`,\n label: 'UBO Address',\n type: 'text',\n required: true,\n fieldValidations: {\n required: true,\n },\n place: 9\n },\n uboDistrict: {\n name: (fieldName) => `${fieldName}.address.district`,\n label: 'District',\n type: 'select',\n required: true,\n disabled: true,\n fieldValidations: {\n required: true,\n },\n place: 7\n },\n uboState: {\n name: (fieldName) => `${fieldName}.address.state`,\n label: 'State',\n type: 'select',\n required: true,\n fieldValidations: {\n required: true,\n },\n place: 8\n },\n uboPincode: {\n name: (fieldName) => `${fieldName}.address.pinCode`,\n label: 'PIN Code',\n type: 'number',\n required: true,\n fieldValidations: {\n required: true,\n },\n place: 6\n },\n uboPoA: {\n name: (fieldName) => `${fieldName}.addressProof`,\n label: 'UBO Proof Of Address',\n type: 'select',\n required: true,\n fieldValidations: {\n required: true,\n },\n place: 11\n },\n uboEmail: {\n name: (fieldName) => `${fieldName}.email`,\n label: 'UBO Email',\n type: 'text',\n required: true,\n fieldValidations: {\n emailValid: true,\n },\n place: 10\n },\n uploadUboPoA: {\n reqname: (fieldName) => `${fieldName}.addressProofUrls`,\n name: (fieldName) => `${fieldName}.addressFile`,\n label: 'UBO Proof Of Address Document',\n type: 'file',\n required: true,\n accept: ACCEPT_IMG_PDF,\n fieldValidations: {\n required: true,\n },\n place: 12\n },\n verifyPan: {\n name: (fieldName) => `${fieldName}.verify-pan`,\n label: 'Verify PAN',\n buttonType: 'primary',\n required: true,\n fieldValidations: {\n // required: true,\n }\n }\n}\n\nexport const ERROR_UBO_ENABLE = 'At least one UBO must be active.';","import React from 'react'\n\nconst SliderContent = ({activeIndex, sliderImage}) => {\n return (\n
    \n {sliderImage.map((slide, index) => {\n console.log(\"slide..\", slide);\n return \n {!!slide && slide.includes('.pdf') ? (\n \n

    Your browser does not support PDFs. Download the PDF.

    \n \n ) : (\n \n )}\n \n })}\n
    \n )\n}\n\nexport default SliderContent\n","import React from 'react'\n\nconst Arrow = ({prevSlide, nextSlide}) => {\n return (\n
    \n \n ❮\n \n \n ❯\n \n
    \n )\n}\n\nexport default Arrow\n","import React from 'react'\n\nconst Dots = ({activeIndex, onClick, sliderImage}) => {\n return (\n
    \n {\n sliderImage.map((_, index) => (\n onClick(index)} \n >\n ))\n }\n
    \n )\n}\n\nexport default Dots\n","import React, { useEffect, useState } from 'react'\nimport SliderContent from './SliderContent';\nimport Arrow from './Arrow';\nimport \"./slider.scss\";\nimport Dots from './Dots';\nimport { FormElems } from 'components';\n\nconst Slider = (props) => {\n const {sliderImages, handleDeleteFile} = props;\n const len = sliderImages.length - 1;\n const [activeIndex, setActiveIndex] = useState(0);\n\n\n // useEffect(() => {\n // const interval = setInterval(() => {\n // setActiveIndex(activeIndex === len ? 0: activeIndex+1)\n // }, 5000);\n // return () => {clearInterval(interval)}\n // }, [activeIndex]);\n return (\n
    \n \n \n setActiveIndex(activeIndex < 1 ? len : activeIndex - 1)\n }\n nextSlide={() => \n setActiveIndex(activeIndex === len ? 0 : activeIndex + 1)\n }\n />\n setActiveIndex(activeIndex)}\n />\n {\n !!handleDeleteFile && (\n
    \n handleDeleteFile(activeIndex)}\n />\n
    \n )\n }\n
    \n )\n}\n\nexport default Slider\n","import Modal from 'components/Modal';\nimport React from 'react'\nimport removeImg from '../../../../static/images/remove.png';\nimport downloadImg from '../../../../static/images/download.png';\nimport Slider from './carouselImage/Slider';\n\nconst ViewDocument = ({\n document\n}) => {\n console.log(\"view document \", document);\n if (!document) {\n return <>;\n }\n return \n return (\n <>\n {document.includes('.pdf') ? (\n \n ) : (\n \n )}\n window.open(document)}\n />\n \n )\n}\n\nconst MultiImageViewModal = ({\n multiDocuments = [],\n setMultiDocuments,\n handleDeleteFile\n}) => {\n return (\n setMultiDocuments(null)}\n customWrapperClass=\"content-modal modal-xl\"\n >\n
    \n

    Document View

    \n {\n // console.log(\"here here\")\n setMultiDocuments(null)\n }}\n />\n
    \n
    \n
    \n {multiDocuments?.length > 0 &&\n \n }\n
    \n
    \n \n );\n}\n\nexport default MultiImageViewModal\n","export const makergetres = () => {\n return {\n statusCode: 'SPG-0000',\n errorMessage: null,\n getMakerCheckerResponseList: [\n {\n makerRequestId: 3282,\n idempotencyId: '75091',\n status: 'PENDING_APPROVAL',\n makerId: 'rahul.01@freecharge.com',\n request: null,\n createdAt: 1736413226000,\n eventType: 'MLE_ONBOARDING',\n remarks: null,\n checkerRemarks: [[]],\n message: null,\n userActionStatus: 'NA',\n childCheckerResponseList: [\n {\n makerRequestId: 3283,\n idempotencyId: '270006',\n status: 'REJECTED',\n makerId: 'rahul.01@freecharge.com',\n request:\n '{\"emails\": [\"radsad@mmmc.oom\"], \"address\": {\"city\": \"delhi\", \"state\": \"DELHI\", \"pinCode\": \"110059\", \"district\": \"DELHI\", \"addressLine\": \"E-28\"}, \"appLink\": \"https://spg-qa.fcinternal.in/mle-onboarding/create/businessDetails\", \"brandName\": \"TestLegalName\", \"gstNumber\": [\"09AAAAH0409R1ZZ\"], \"legalName\": \"TestLegalName\", \"entityType\": \"MLE\", \"kycDocUrls\": null, \"panDetails\": {\"dob\": null, \"url\": \"https://spg-panelorchestrator-qa-s3.s3.ap-south-1.amazonaws.com/%2FuploadFetchOcrFile/merchant/mleOnboarding/2e652860-ea4d-4ba7-a602-6ef469533430/MLE%20Form%20Based%20Onboarding%20_%20MakerFlow%20_%20Nov%2724%20%281%29.png?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEKD%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCmFwLXNvdXRoLTEiRzBFAiEAw9%2FqeuZdypLjxlMXeNYU%2BInuZP5tVgYtlftC0ohu7C0CIBLC0rHrHY4wIc0%2FOXmW6B6WbxNgDouuxODltVvGUDY0Ko0FCIn%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQAxoMMzY0ODcxMDcyMjA1IgxK2Lh6LhoHxvfvpiIq4QTOdaIIEYLlNWj664T4Mjp4kzO2%2BMib9Y%2FFpqDpK8gEmiuboE8v8ffEANkbWSMxdiF3USZmdOdhV3YagrXCo1YhypTXEfHmLOMfXiGhSJJznIExzyBzb7CqZG9Kb7uoHC5AIZqr85sIIBQY9DrPrNj5VbKiQnCAk495eI4%2BtnrUyS%2Bu%2B9kX9y6nxcgol2GcYFetJdBSGTqHkkMbvRulK1qFexMPSPNGftkdw%2BlNwIjoAmxoPyFMpI%2BDCFp7I9Eq%2FHvClHMYt9vDA9BuJ%2BKpd5CLpyau%2BZkLFtHrWCcI4foCuvu1a04CpS%2FiBMnbInYj3lmT4WYNWuHBAjL3xyXP5oDsGA5%2BWqSc4uEA0PP3effVnJz9NszB6F33eGDmHd2tc2HrEnJ9YiTOFMRj2OXAkNjnWlahQIf6AAJj2FYLMEwU1alJb%2FOEkUZoX1lP%2BOfHDtdvfXfXgxeNCQtkTx0CyTcmypPaGXSuKgNa25ohOSK%2B8p0PvDIkemnyydNX%2FpdMJLjXlParxTyFbiC2E6TY4hzgNAAU0dRQA5L8bU9msaa%2Bx5JdvgqFiJ%2BklsEKLweDnKvENn1DGUlxjS45eOPtyvG9HuUOpkYpHUKUkLBjam9NY14qzELG36dIIE8zIdQGsNkSTn%2BoEg2w9EHLpqUrUZXOpJsJ8OFNG%2F8FehZeB1EWaxVB9%2FcrrngCAD%2BS6J11%2Fc8vCdiw1A7KgzbTjn8L2oSknR%2FDnrpALMHO4gRqgYDkR4ju2F91fRbmPTmuS8oDyz7JHvmVAPpLuKjCrgVqREOELsku0wSb3Tn9KBO5cRwvgRkw54n%2BuwY6mgGvUn6oxK47%2BoIVow%2B05Q4xoiWl3IIub3z6IHB%2Bzw3Ry6iOOqY62FE3bUFMLTzWV%2BGeiho6pvvFjs23AoCBLQ9ets7cxd%2FuYI3%2FiU7TYVb9KvkAoLGyP5Z7pmlUFyjoCsrreq7HGP617FppDtzVeVjjH%2BlwySMQ4nc10tV6KzVffm%2BhUi9HkKFifCzy1nAKEE8sHirN5oBY6pe3&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250109T083431Z&X-Amz-SignedHeaders=host&X-Amz-Expires=299&X-Amz-Credential=ASIAVJ5ACXHGSKRJTG7K%2F20250109%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Signature=c08b8e265843419c4f409386faac8febb87810f5ca0699962b37c340c1b02fff\", \"name\": \"Rahul Gupta\", \"panNumber\": \"ABCDG1294F\"}, \"websiteURLs\": [\"https://spg-qa.fcinternal.in/mle-onboarding\"], \"businessType\": \"MOB_SOLE_PROPRIETORSHIP\", \"merchantType\": \"Online\", \"mobileNumbers\": [\"9876543211\"], \"amlpepResponse\": null, \"turnoverAmount\": 100000.0, \"agreementExpiry\": null, \"merchantCategory\": \"Retail\", \"telephoneNumbers\": [\"1234565432\"], \"turnoverCategory\": null, \"dateOfIncorporation\": \"1974-11-23\", \"companyIdentificationNumber\": \"345678900987\"}',\n createdAt: 1736413226000,\n eventType: 'BUSINESS_DETAIL_SECTION',\n remarks: null,\n checkerRemarks: [[]],\n message: null,\n userActionStatus: 'NA',\n childCheckerResponseList: null,\n },\n ],\n },\n {\n makerRequestId: 3280,\n idempotencyId: '75089',\n status: 'PENDING_APPROVAL',\n makerId: 'pragya.dadhich+1@freecharge.com',\n request: null,\n createdAt: 1736409809000,\n eventType: 'MLE_ONBOARDING',\n remarks: null,\n checkerRemarks: [[]],\n message: null,\n userActionStatus: 'NA',\n childCheckerResponseList: [\n {\n makerRequestId: 3281,\n idempotencyId: '270002',\n status: 'PENDING_APPROVAL',\n makerId: 'pragya.dadhich+1@freecharge.com',\n request:\n '{\"emails\": [\"huhsu@mail.co\"], \"address\": {\"city\": \"abbbd\", \"state\": \"MAHARASHTRA\", \"pinCode\": \"411001\", \"district\": \"PUNE\", \"addressLine\": \"7777\"}, \"appLink\": \"iiuiji\", \"brandName\": \"abcd\", \"gstNumber\": [\"08AAACH7409R1ZZ\"], \"legalName\": \"merchanttt\", \"entityType\": \"MLE\", \"kycDocUrls\": {\"SHOP_PICS\": null, \"BO_ADDRESS\": null, \"AUTHORISED_SIGNATORY_SELFIE\": null}, \"panDetails\": {\"dob\": null, \"url\": \"https://spg-panelorchestrator-qa-s3.s3.ap-south-1.amazonaws.com/%2FuploadFetchOcrFile/merchant/mleOnboarding/8c6be50f-d977-4439-8fbd-7504648822a6/image%20%2812%29.png?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEJ%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCmFwLXNvdXRoLTEiRzBFAiANTAeaQnSjH4qG6H6m0OQnzji%2B044BxBkruxriWRs8hgIhAO2cZzCpMtZIb5hWLzT2GqsKZMDt8xAZR6FYmh5zQXT3Ko0FCIj%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQ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gVq5FE4xZv%2BURN%2Ba%2F9LElNfb%2F6SgKq%2BxZnQgCxkWeyuLKX&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250109T075926Z&X-Amz-SignedHeaders=host&X-Amz-Expires=299&X-Amz-Credential=ASIAVJ5ACXHGTIL37EBA%2F20250109%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Signature=be6c589f6b7261742daa3940b9ac6b0b06640cd08a71e8f05970dfd56e28e9c5\", \"name\": \"Rahul Gupta\", \"panNumber\": \"ABCDG1234F\"}, \"websiteURLs\": [\"https://www.google.com\"], \"businessType\": \"INDIVIDUAL\", \"merchantType\": \"Online\", \"mobileNumbers\": [\"9898989899\"], \"amlpepResponse\": [{\"amlPepSource\": \"\", \"exceptionFlag\": false, \"amlMatchStatus\": \"\", \"pepMatchStatus\": \"\"}], \"turnoverAmount\": 666.0, \"agreementExpiry\": null, \"merchantCategory\": \"Retail\", \"telephoneNumbers\": [\"7878\"], \"turnoverCategory\": null, \"dateOfIncorporation\": \"1974-11-23\", \"companyIdentificationNumber\": \"456789\"}',\n createdAt: 1736409809000,\n eventType: 'BUSINESS_DETAIL_SECTION',\n remarks: null,\n checkerRemarks: [[]],\n message: null,\n userActionStatus: 'NA',\n childCheckerResponseList: null,\n },\n ],\n },\n {\n makerRequestId: 3279,\n idempotencyId: 'MERc12bc7ec1a',\n status: 'INITIATED',\n makerId: 'akash.kushwah@freecharge.com',\n request:\n '{\"entityCode\": \"MERc12bc7ec1a\", \"isUnifiedMsr\": false, \"accountDetail\": {\"status\": 1, \"bankName\": \"Punjab National Bank\", \"ifscCode\": \"KKBK0000261\", \"accountType\": \"SAVING\", \"accountNumber\": \"01730015000888923\", \"accountHolderName\": \"Aakash Gupta\"}, \"settlementType\": \"NET\", \"isPayableEnable\": true, \"narrationConfig\": {\"prefix\": null, \"suffix\": null, \"interim\": null, \"secondInterim\": {\"interimType\": null}}, \"refundThreshold\": 4000, \"settlementParty\": \"MERCHANT\", \"fcCommissionType\": \"MDR\", \"fundTransferType\": \"NEFT\", \"customisedReports\": {}, \"disbursementCycle\": \"T1\", \"instantSettlement\": false, \"isSettlementEnable\": true, \"nextSettlementType\": \"NET\", \"hierarchyCommission\": false, \"isAncillaryFeeEnabled\": true, \"disbursementTriggerSlot\": \"04\", \"hierarchyCommissionList\": null, \"isZeroSettlementEnabled\": false, \"isSettlementTypeToBeSwitched\": null, \"settlementTypeApplicableDate\": null, \"refundWithNegativeBalanceFlag\": true}',\n createdAt: 1736407452000,\n eventType: 'SETTLEMENT',\n remarks: null,\n checkerRemarks: [[]],\n message: null,\n userActionStatus: 'NA',\n childCheckerResponseList: null,\n },\n {\n makerRequestId: 3277,\n idempotencyId: '75088',\n status: 'PENDING_APPROVAL',\n makerId: 'shrikant.varshney@freecharge.com',\n request: null,\n createdAt: 1736398731000,\n eventType: 'MLE_ONBOARDING',\n remarks: null,\n checkerRemarks: [[]],\n message: null,\n userActionStatus: 'NA',\n childCheckerResponseList: [\n {\n makerRequestId: 3278,\n idempotencyId: '269999',\n status: 'PENDING_APPROVAL',\n makerId: 'shrikant.varshney@freecharge.com',\n request:\n '{\"emails\": [\"asas@asddas.com\"], \"address\": {\"city\": \"dssad\", \"state\": \"HARYANA\", \"pinCode\": \"122004\", \"district\": \"GURGAON\", \"addressLine\": \"sdadsa\"}, \"appLink\": \"asdasd\", \"brandName\": \"sdasda\", \"gstNumber\": [\"08AAACH7409R1ZZ\"], \"legalName\": \"asddsa\", \"entityType\": \"MLE\", \"kycDocUrls\": null, \"panDetails\": {\"dob\": null, \"url\": \"https://spg-panelorchestrator-qa-s3.s3.ap-south-1.amazonaws.com/%2FuploadFetchOcrFile/merchant/mleOnboarding/9895d9c6-3ab0-416b-925c-1e768e471338/emailIssue.jpg?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEJ3%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCmFwLXNvdXRoLTEiRjBEAiA3HvnhNkhUhYlTPYvaJYGKEmpXaTR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GArWFz2%2BM53LlRGF6lyvkXVMFLmbFcjDRo3kd4aAATtiSNPMusTX%2BfM6GBDldAlMPGbjjLH%2BulEA2m%2BrcqEg%2BP%2Fh3OGJHmV9K8wUcrsYaTqX%2FRlfeHA0Bpo5k%2B91jrnpVDYf5iSgzphVvBIPLjubByOrj22mOzZlGb25vd2LwFDk4AO1I8Mdm9GgaSB&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250109T045708Z&X-Amz-SignedHeaders=host&X-Amz-Expires=299&X-Amz-Credential=ASIAVJ5ACXHGU2HV2GQ4%2F20250109%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Signature=85cbb47b7a8031ca60fa3260d82f0bf7e695073a8f8c987ba6882acb4ecf397b\", \"name\": \"Rahul Gupta\", \"panNumber\": \"ABCDG1234F\"}, \"websiteURLs\": [\"http://localhost.com\"], \"businessType\": \"INDIVIDUAL\", \"merchantType\": \"Online\", \"mobileNumbers\": [\"9718556306\"], \"amlpepResponse\": [{\"amlPepSource\": \"\", \"exceptionFlag\": false, \"amlMatchStatus\": \"\", \"pepMatchStatus\": \"\"}], \"turnoverAmount\": 122121.0, \"agreementExpiry\": null, \"merchantCategory\": \"Retail\", \"telephoneNumbers\": [\"98798287892\"], \"turnoverCategory\": null, \"dateOfIncorporation\": \"1974-11-12T06:30:00.000Z\", \"companyIdentificationNumber\": \"2112212\"}',\n createdAt: 1736398731000,\n eventType: 'BUSINESS_DETAIL_SECTION',\n remarks: null,\n checkerRemarks: [\n [\n {\n label: 'Details',\n key: 'emails',\n value: 'radsad^@mmmc.oom',\n status: 'Reject',\n remarks: 'testddd',\n },\n {\n label: 'Details',\n key: 'CITY',\n value: 'delhi',\n status: 'Reject',\n remarks: '',\n },\n {\n label: 'Details',\n key: 'STATE',\n value: 'DELHI',\n status: 'Reject',\n remarks: '',\n },\n {\n label: 'Details',\n key: 'PINCODE',\n value: '110059',\n status: 'Reject',\n remarks: '',\n },\n {\n label: 'Details',\n key: 'DISTRICT',\n value: 'DELHI',\n status: 'Reject',\n remarks: '',\n },\n {\n label: 'Details',\n key: 'ADDRESSLINE',\n value: 'E-28',\n status: 'Reject',\n remarks: '',\n },\n {\n label: 'Details',\n key: 'APPLINK',\n value:\n 'https://spg-qa.fcinternal.in/mle-onboarding/create/businessDetails',\n status: 'Approve',\n remarks: '',\n },\n {\n label: 'Details',\n key: 'BRANDNAME',\n value: 'TestLegalName',\n status: 'Approve',\n remarks: '',\n },\n {\n label: 'Details',\n key: 'GSTNUMBER',\n value: '09AAAAH0409R1ZZ',\n status: 'Approve',\n remarks: '',\n },\n {\n label: 'Details',\n key: 'LEGALNAME',\n value: 'TestLegalName',\n status: 'Approve',\n remarks: '',\n },\n {\n label: 'Details',\n key: 'ENTITYTYPE',\n value: 'MLE',\n status: 'Approve',\n remarks: '',\n },\n {\n label: 'Details',\n key: 'KYCDOCURLS',\n value: '',\n status: 'Approve',\n remarks: '',\n },\n ],\n ],\n message: null,\n userActionStatus: 'NA',\n childCheckerResponseList: null,\n },\n ],\n },\n ],\n pageNumber: 0,\n pageSize: 4,\n hasNext: false,\n totalElements: 4,\n };\n};\n","import { toast } from \"react-toastify\";\nimport { BANK, DATA_FETCH, ERROR_FETCH, ERROR_PINDATA, ERROR_UBO, FETCHED_PINDATA, GST, GST_DETAILS_MISSING, KYC_FILES, MAX_ACTIVE_UBO_COUNT, PAN, PAN_DETAILS_MISSING, VERIFY_ERROR, VERIFY_SUCCESS } from \"./mle.constants\";\nimport { basicFormDataRes, kycDocumentsUploadRes, UploadAndFetchRes, verifyPiiAccount } from \"../../../mockApiWiseReqRes\";\nimport { FETCH_BASIC_FORMDATA_SUCCESS, FETCH_KYC_DOCUMENTS_SUCCESS, FETCH_PINCODE_SUCCESS, GST_UPLOAD_AND_FETCH_SUCCESS, KYC_DOCUMENT_UPLOAD_SUCCESS, OWNERSHIP_DETAILS_FETCH, PAN_UPLOAD_AND_FETCH_SUCCESS, VERIFY_BANK_ACCOUNT_SUCCESS, VERIFY_GST_ACCOUNT_SUCCESS, VERIFY_PAN_ACCOUNT_SUCCESS } from \"../../../mockApiWiseReqRes/mockApiWise.constants\";\nimport { MOCK_API_VALUE } from \"../../../utils/constants/commonValues\";\nimport { GET, POST } from \"../../../utils/fetchWrappers\";\nimport { apiStatusCodes } from \"../../../utils/API/apiStatusCodes\";\nimport { API_FETCH_BASIC_DATA, API_UPLOAD_AND_FETCH_OCR, API_UPLOAD_KYC_DOCUMENT, API_VERIFY_PII_ACCOUNT_DETAILS, API_VIEW_KYC_DOCUMENT } from \"utils/API/apiUrls\";\nimport { BUSINESS_SECTION_TYPE_MLE, MAXIMUM_VALUE, MINIMUM_VALUE, MLE_CREATE_FORM_NAME, MLE_ENTITY_TYPE, mleFields, PREFIX_KYCURLS } from \"./BusinessTab/contants\";\nimport moment from \"moment\";\nimport { ERROR_MESSAGES } from \"utils/constants/toastMessages\";\nimport { UBO_SECTION_TYPE } from \"./UobTab/constant\";\nimport { fieldLevelValidators } from \"utils/validators\";\nimport { APPROVE } from \"components/MleMakerChecker/constant\";\nimport { createDeepCopyObj } from \"utils/helperMethods\";\n\n\nexport const fetchKycDocsS3Details = async payload => {\n let data = {};\n try {\n // console.log(\"check payload\", payload);\n if (MOCK_API_VALUE) {\n // console.log(\"fetch api called\");\n data = basicFormDataRes(FETCH_KYC_DOCUMENTS_SUCCESS);\n \n } else {\n payload.entityCode = BUSINESS_SECTION_TYPE_MLE;\n const resp = await POST(API_FETCH_BASIC_DATA, payload);\n data = resp.data;\n }\n // console.log(\"fetchKycDocsS3Details data...\", data);\n if (data?.statusCode == apiStatusCodes.SUCCESS2) {\n // toast.success(DATA_FETCH);\n } else {\n toast.error(ERROR_FETCH);\n }\n } catch(e) {\n console.log(\"e fetchKycDocsS3Details\", e.message);\n toast.error(ERROR_FETCH);\n }\n return data;\n}\n\nexport const fetchPinCodeDetails = async payload => {\n let data = {};\n try {\n // console.log(\"check payload\", payload);\n if (MOCK_API_VALUE) {\n // console.log(\"fetch api called\");\n data = basicFormDataRes(FETCH_PINCODE_SUCCESS);\n \n } else {\n payload.entityCode = BUSINESS_SECTION_TYPE_MLE;\n const resp = await POST(API_FETCH_BASIC_DATA, payload);\n data = resp.data;\n }\n // console.log(\"fetchPinCodeDetails data...\", data);\n if (data?.statusCode == apiStatusCodes.SUCCESS2) {\n console.log(\"success\")\n // toast.success(FETCHED_PINDATA);\n } else {\n toast.error(ERROR_PINDATA);\n }\n } catch(e) {\n console.log(\"e fetchPinCodeDetails\", e.message);\n toast.error(ERROR_PINDATA);\n } \n return data;\n}\n\n\n\nexport const fetchBasicDataBusinessDetails = async payload => {\n let data = {};\n try {\n // console.log(\"check payload\", payload);\n if (MOCK_API_VALUE) {\n // console.log(\"fetch api called\");\n data = basicFormDataRes(FETCH_BASIC_FORMDATA_SUCCESS);\n \n } else {\n const resp = await POST(API_FETCH_BASIC_DATA, payload);\n data = resp.data;\n }\n // return {\n // statusCode: \"ASD-000\"\n // }\n // console.log(\"fetchPinCodeDetails data...\", data);\n if (data?.statusCode == apiStatusCodes.SUCCESS2) {\n console.log(\"success\")\n // toast.success(FETCHED_PINDATA);\n } else {\n toast.error(ERROR_PINDATA);\n }\n } catch(e) {\n console.log(\"e fetchPinCodeDetails\", e.message);\n toast.error(ERROR_PINDATA);\n } \n return data;\n}\n\nexport const fetchOwnershipDetails = async payload => {\n let data = {};\n try {\n // console.log(\"check payload\", payload);\n if (MOCK_API_VALUE) {\n // console.log(\"fetch api called\");\n data = basicFormDataRes(OWNERSHIP_DETAILS_FETCH);\n \n } else {\n payload.entityCode = UBO_SECTION_TYPE;\n const resp = await POST(API_FETCH_BASIC_DATA, payload);\n data = resp.data;\n }\n // console.log(\"fetchPinCodeDetails data...\", data);\n if (data?.statusCode == apiStatusCodes.SUCCESS2) {\n console.log(\"success\")\n // toast.success(FETCHED_PINDATA);\n } else {\n toast.error(ERROR_FETCH);\n }\n } catch(e) {\n console.log(\"e fetchPinCodeDetails\", e.message);\n toast.error(ERROR_FETCH);\n } \n return data;\n}\n\n// PII - Personal Identity Information (GST, PAN)\nexport const fetchPiiData = async (payload, type) => {\n let data = {};\n try {\n console.log(\"check payload\", payload, type);\n if (MOCK_API_VALUE) {\n console.log(\"fetch api called\");\n let fetchType = PAN_UPLOAD_AND_FETCH_SUCCESS;\n if (type == GST) {\n fetchType = GST_UPLOAD_AND_FETCH_SUCCESS;\n }\n console.log(\"fetch type\", fetchType);\n \n data = UploadAndFetchRes(fetchType);\n \n } else {\n const resp = await POST(\n API_UPLOAD_AND_FETCH_OCR, \n payload,\n {\n 'Content-Type': 'multipart/form-data;',\n },\n true\n );\n data = resp.data;\n }\n console.log(\"fetchPiiData data...\", data);\n if (data?.statusCode == apiStatusCodes.SUCCESS) {\n console.log(\"called success\");\n toast.success(DATA_FETCH);\n } else {\n toast.error(data.errorMessage ?? ERROR_FETCH);\n }\n } catch(e) {\n data = {errorMessage: e?.message || \"\"};\n console.log(\"fetchPiiData\", e.message);\n toast.error(ERROR_FETCH);\n }\n return data;\n}\n\n\n/* Sample payload\n{\n \"verificationId\" : \"ABCDE1234L\",\n \"accountType\": \"BANK\",\n \"accountIdentifier\": \"123445332321334313\",\n \"accountCode\": \"CFCF1234567\",\n \"kycMetaData\": {\n \"name\": \"Jon Snow\",\n \"dob\": \"1990/11/25\"\n }\n}\n\n */\nexport const verifyAccountDetails = async (payload, type) => {\n let data = {};\n try {\n console.log(\"check payload\", payload, type);\n if (MOCK_API_VALUE) {\n console.log(\"fetch api called\");\n let fetchType = VERIFY_GST_ACCOUNT_SUCCESS;\n if (type == PAN) {\n fetchType = VERIFY_PAN_ACCOUNT_SUCCESS;\n } else if (type == BANK) {\n fetchType = VERIFY_BANK_ACCOUNT_SUCCESS;\n }\n console.log(\"fetch type\", fetchType);\n \n data = verifyPiiAccount(fetchType);\n \n } else {\n const resp = await POST(API_VERIFY_PII_ACCOUNT_DETAILS, payload);\n data = resp.data;\n }\n console.log(\"fetchPiiData data...\", data);\n if (data?.statusCode == apiStatusCodes.SUCCESS) {\n console.log(\"called success\");\n // toast.success(VERIFY_SUCCESS);\n } else {\n toast.error(data.errorMessage ?? VERIFY_ERROR);\n }\n } catch(e) {\n data = {errorMessage: e?.message || \"\"};\n toast.error(VERIFY_ERROR);\n }\n return data;\n}\n\nexport const verifyPanDetails = (panData) => {\n let {pan, panName, panDate} = panData;\n let error = ''\n if (!pan && !panName && !panDate) {\n error = PAN_DETAILS_MISSING;\n }\n return error;\n}\n\nexport const verifyGstDetails = gst => {\n let error = '';\n if (!gst) {\n error = GST_DETAILS_MISSING;\n }\n return error;\n}\n\nconst isObject = item => {\n if (typeof item === 'object'){\n return true;\n }\n return false;\n}\n\nfunction adjustDateToTimezone(dateData, timezoneOffset) {\n // Parse the original date\n const originalDate = (typeof dateData === 'string') ? moment(dateData).format('YYYY-MM-DD') : dateData;\n console.log(\"20\", originalDate);\n // Adjust the date by applying the timezone offset\n // const adjustedDate = originalDate.utcOffset(timezoneOffset);\n // console.log('12', adjustedDate);\n // Return the formatted date\n return originalDate;\n}\n\nconst updateDataToArr = (data) => {\n if (Array.isArray(data)) {\n return data;\n }\n\n return [data];\n}\n\nexport const mleSubmitDataFormat = ({\n formData, \n uniqueIdentifier, \n intentId,\n formType,\n sectionType\n}) => {\n const requestData = {};\n // in case of single email\n requestData.uniqueIdentifier = (uniqueIdentifier) ? uniqueIdentifier : formData.emails;\n requestData.sectionType = (sectionType) ? sectionType : BUSINESS_SECTION_TYPE_MLE;\n requestData.formType = (formType) ? formType : MLE_CREATE_FORM_NAME;\n requestData.intentId = intentId;\n requestData.data = JSON.parse(JSON.stringify(formData));\n requestData.data.emails = updateDataToArr(requestData.data.emails);\n requestData.data.gstNumber = updateDataToArr(requestData.data.gstNumber);\n requestData.data.websiteURLs = updateDataToArr(requestData.data.websiteURLs);\n requestData.data.mobileNumbers = updateDataToArr(requestData.data.mobileNumbers);\n requestData.data.telephoneNumbers = updateDataToArr(requestData.data.telephoneNumbers);\n requestData.data.turnoverAmount = requestData.data.turnoverAmount || \"0\";\n if (requestData.data.mandatoryDocs) {\n delete requestData.data.mandatoryDocs;\n }\n \n requestData.data.entityType = MLE_ENTITY_TYPE;\n delete requestData.data[MAXIMUM_VALUE];\n delete requestData.data[MINIMUM_VALUE];\n delete requestData.data.panurl;\n // requestData.data.merchantCategory = 'Retail';\n requestData.data.merchantType = 'Online';\n requestData.data.panDetails.dob = requestData.data.dateOfIncorporation;\n delete requestData.data[KYC_FILES];\n // console.log(\"requestData.data.dateOfIncorporation\", adjustDateToTimezone(requestData.data.dateOfIncorporation.date, -330));\n console.log(\"request data\", requestData);\n // if (requestData?.data?.panNumberUpload) {\n // delete requestData.data.panNumberUpload;\n // }\n \n if (requestData?.data?.gstUpload) {\n delete requestData.data.gstUpload;\n }\n if (!requestData?.data?.[PREFIX_KYCURLS]) {\n requestData.data[PREFIX_KYCURLS] = {}; \n }\n if (requestData?.data?.gstUploadFile) {\n console.log(\"asdasdas\");\n let gstUrl = requestData?.data?.gstUploadFile;\n requestData.data[PREFIX_KYCURLS] = {\n ...requestData.data[PREFIX_KYCURLS],\n 'GST': [gstUrl]\n }\n delete requestData?.data?.gstUploadFile;\n }\n Object.keys(requestData.data[PREFIX_KYCURLS]).map(item => {\n if (requestData.data[PREFIX_KYCURLS][item]&&!Array.isArray(requestData.data[PREFIX_KYCURLS][item])) {\n requestData.data[PREFIX_KYCURLS][item] = [requestData.data[PREFIX_KYCURLS][item]];\n } else if (!requestData.data[PREFIX_KYCURLS][item]) {\n requestData.data[PREFIX_KYCURLS][item] = null;\n }\n })\n\n return requestData;\n\n}\n\nexport const uboFormDefaultSetData = (requestData, uniqueIdentifier) => {\n requestData.uniqueIdentifier = uniqueIdentifier;\n requestData.formType = MLE_CREATE_FORM_NAME;\n}\n\nexport const uboSubmitDataFormat = (formData, uniqueIdentifier, intentId) => {\n console.log(\"1\");\n const requestData = {};\n // in case of single email\n uboFormDefaultSetData(requestData, uniqueIdentifier);\n // console.log(\"request data\", requestData);\n requestData.sectionType = UBO_SECTION_TYPE;\n requestData.intentId = intentId;\n requestData.data = JSON.parse(JSON.stringify(formData));\n // console.log(\"12\");\n // requestData.data.name = requestData.data.uboPaNName;\n delete requestData.data.ubodeclarationsFile;\n console.log(\"request dat\", requestData);\n if (requestData.data.uboDeclarationUrls)\n requestData.data.uboDeclarationUrls = updateDataToArr(formData.uboDeclarationUrls);\n // console.log(\"13\", requestData);\n if (typeof requestData?.data?.uboDetails === 'object' && requestData.data.uboDetails.length) {\n // console.log(\"14\");\n requestData.data.uboDetails.map((item, index) => {\n // let itemData = {...item};\n // let name = itemData.uboPANName;\n // console.log(\"15\");\n // requestData.data.uboDetails[index].name = name;\n // console.log(\"16\");\n delete requestData.data.uboDetails[index].uboPanUpload;\n delete requestData.data.uboDetails[index].panurl;\n // console.log(\"17\");\n // delete requestData.data.uboDetails[index].uboPANName;\n // console.log(\"18\");\n delete requestData.data.uboDetails[index].addressFile;\n // console.log(\"19\");\n requestData.data.uboDetails[index].dob = adjustDateToTimezone(requestData.data.uboDetails[index].dob);\n })\n }\n // console.log(\"requestData.data.dateOfIncorporation\", adjustDateToTimezone(requestData.data.dateOfIncorporation, -330));\n console.log(\"request data\", requestData);\n // if (requestData?.data?.panNumberUpload) {\n // delete requestData.data.panNumberUpload;\n // }\n // if (requestData?.data?.gstUpload) {\n // delete requestData.data.gstUpload;\n // }\n\n return requestData;\n\n}\n\nexport const removeDuplicates = (array, key) => {\n const seen = new Set();\n return array.filter((item) => {\n const value = typeof key === \"function\" ? key(item) : item[key];\n if (seen.has(value)) {\n return false;\n }\n seen.add(value);\n return true;\n });\n};\n\nexport const fetchFieldValue = (values, name) => {\n // console.log(\"Values\", values, name);\n let resp = values ? createDeepCopyObj(values) : null;\n try {\n let nameHierarchy = name?.split(/[\\.\\[\\]]/)?.filter(Boolean);\n // console.log(\"name\",nameHierarchy)\n if (nameHierarchy) {\n nameHierarchy.map(item => {\n if (resp) {\n // console.log(\"resp\", resp, item);\n resp = resp[item];\n }\n })\n }\n \n \n } catch(e){\n console.log(\"error\", e.message);\n }\n // console.log(\"resp\", resp);\n return resp;\n\n\n}\n\nexport const setFieldValue = (obj, path, value) => {\n if (!value) {\n return;\n }\n const keys = path.split('.'); // Split the path into keys\n let current = obj;\n\n // Iterate through the keys and create nested objects if necessary\n for (let i = 0; i < keys.length - 1; i++) {\n const key = keys[i];\n if (!current[key]) {\n current[key] = {}; // Create an empty object if key does not exist\n }\n current = current[key]; // Move to the next level\n }\n\n if (!current[keys[keys.length - 1]]) {\n current[keys[keys.length-1]] = '';\n }\n // Set the value at the final key\n if (typeof value === 'object' && !Array.isArray(value))\n current[keys[keys.length - 1]] = value;\n else \n current[keys[keys.length - 1]] += value; // handling arrays\n}\n\nexport const allowedExtensions = ['jpg', 'jpeg', 'png', 'svg', 'pdf'];\nexport const allowedImgExtensions = ['jpg', 'jpeg', 'png', 'svg'];\n\nexport const defaultOption = [{\n name: 'Please select an option',\n value: ''\n}];\n\nexport const defaultOptionDoc = [{\n docName: 'Please select an option',\n docType: ''\n}];\n\nexport const FIELD_TYPES = {\n constitutionType: \"constitutionType\",\n pinCode: \"pinCode\"\n}\n\nexport async function handleViewClick(docUrl, setIsUploading, setSelectedDocument) {\n const request = {\n s3Path: Array.isArray(docUrl) ? docUrl[0] : docUrl,//TODO need to check\n };\n try {\n setIsUploading(true);\n const response = await POST(\n API_VIEW_KYC_DOCUMENT,\n request,\n {},\n true\n );\n const { data } = response;\n // console.log(\"..data...\");\n // return 'src/static/images/generating.gif';\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n setIsUploading(false);\n if (setSelectedDocument)\n setSelectedDocument(data.s3Url);\n console.log(\"dddddddd\", data.s3Url);\n return data.s3Url;\n } else {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n setIsUploading(false);\n }\n return ''\n}\n\nexport async function handleUploadKycImage(file, setIsUploading, actions, name, formName) {\n // console.log(\"name formname\", name, formName);\n setIsUploading(true);\n let data;\n \n try {\n if (MOCK_API_VALUE) {\n toast.info('File upload successful');\n let resp = kycDocumentsUploadRes(KYC_DOCUMENT_UPLOAD_SUCCESS);\n // console.log(\"s3 url\", resp.data.s3Url);\n // setIsUploading(false);\n data =resp;\n // return resp?.data?.s3Url;\n } else {\n\n const formData = new FormData();\n formData.append('multipartFile', file);\n const response = await POST(\n API_UPLOAD_KYC_DOCUMENT,\n formData,\n {\n 'Content-Type': 'multipart/form-data;',\n },\n true\n );\n \n data = response?.data || {};\n }\n // console.log(\"daeta\", data);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n // console.log(\"name\", name, formName, data.s3Path);\n if (name) {\n actions.change(formName, name, [data.s3Path]);\n }\n // toast.info('File upload successful');\n setIsUploading(false);\n return data.s3Path;\n }\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n setIsUploading(false);\n}\n\nexport const isAllErrorFixed = (errors) => {\n // console.log(\"errros\", errors);\n let res = true;\n try {\n Object.keys(errors).map(item => {\n if (res) {\n // console.log(\"erros\", errors, item, errors[item], res);\n if (typeof errors[item] === 'string' && errors[item]) {\n // console.log(\"here\", errors[item]);\n res = false;\n // console.log(\"jere2\");\n }\n if (typeof errors[item] === 'object') {\n const checkIsAllFixed = isAllErrorFixed({...errors[item]});\n // console.log(\"checkIsAllFixed\", checkIsAllFixed);\n if (!checkIsAllFixed) {\n res = false;\n }\n }\n }\n })\n } catch (e){\n console.log(\"e message\", e.message);\n }\n return res;\n}\n\nexport const onNext = (history, nextPath) => {\n history.push(nextPath);\n}\n\nexport const THRESHOLD_HIGH = 90;\nexport const THRESHOLD_MEDIUM = 70;\n\nexport const getDataBasedConfidenceScore = (data) => {\n try {\n if (parseInt(data?.confindance_score) > THRESHOLD_HIGH) {\n\n } else if (parseInt(data?.confindance_score) > THRESHOLD_MEDIUM) {\n\n } else {\n\n }\n } catch(e) {\n\n }\n\n}\n\nconst triggerInputEventWithMessage = (fieldId, errorMessage) => {\n const inputElement = document.getElementById(fieldId);\n if (inputElement) {\n // Trigger the input event\n const event = new Event(\"input\", { bubbles: true });\n inputElement.dispatchEvent(event);\n\n // Find the error message container within the same parent\n const inputContainer = inputElement.closest(\".input-container\");\n if (inputContainer) {\n let errorElement = inputContainer.querySelector(\".error-message\");\n if (!errorElement) {\n // Create the error message element if it doesn't exist\n errorElement = document.createElement(\"span\");\n errorElement.className = \"sc-fzplWN bCqQxr error-message\";\n inputContainer.appendChild(errorElement);\n }\n // Update the error message\n errorElement.textContent = errorMessage;\n }\n } else {\n console.warn(`Element with id \"${fieldId}\" not found.`);\n }\n};\nlet toastShown = false;\nexport const isPanVerifyDisable = (piiData) => {\n let panUploaded = piiData[PAN];\n let documentDetails = panUploaded?.documentDetails;\n if (documentDetails) {\n let pan = documentDetails.panNumber?.value;\n let panName = documentDetails.name?.value;\n let panDate = documentDetails.dob?.value;\n // console.log(\"is pan verify\", pan, panName, panDate);\n let panError = fieldLevelValidators.pan(pan);\n // console.log(\"🚀 ~ isPanVerifyDisable ~ panError:\", panError)\n if (panError && !toastShown) {\n // Show toast only if it hasn't been shown\n // toast.error(panError);\n toastShown = true; // Set the flag to true\n } else if (!panError) {\n // Reset the flag when there are no errors\n toastShown = false;\n }\n return !pan || !panName || !panDate || !!panError;\n }\n return true;\n}\n\nexport const isGstVerifyDisable = (values, isDisable) => {\n let gst = fetchFieldValue(values, mleFields.gst.name);\n // console.log(\"valeus\", gst, isDisable);\n return !gst || isDisable;\n}\n\nexport const VERIFIED = \"VERIFIED\";\n\nexport const isSaveSubmitDisable = (isPiiVerified) => {\n let panVerify = isPiiVerified?.[PAN]?.verifiedStatus === VERIFIED;\n let gstVerify = isPiiVerified?.[GST]?.verifiedStatus === VERIFIED;\n return !panVerify || !gstVerify;\n\n}\n\nexport const handleVerifyPiiAccount = async (e, props) => {\n const {\n type,\n piiData,\n setIsUploading,\n setIsPiiVerified,\n setIntentId,\n intentId\n } = props;\n e.preventDefault();\n setIsUploading(true);\n try { \n let payload = {\n verificationId: '',\n accountType: type,\n accountIdentifier: ''\n };\n let error = '';\n // console.log(\"mutate form data\", mutateFormData.values);\n let panUploaded = piiData[PAN];\n let gstUploaded = piiData[GST];\n console.log(\"pan gst\", panUploaded, gstUploaded);\n if (type === PAN && panUploaded?.documentDetails) {\n let documentDetails = panUploaded?.documentDetails;\n let dob = moment(documentDetails.dob?.value).format('YYYY/MM/DD');\n let pan = documentDetails.panNumber?.value;\n let panName = documentDetails.name?.value;\n let panDate = dob;\n console.log(\"handleVerifyPiiAccount\", pan, panName, panDate);\n \n error = verifyPanDetails({pan, panName, panDate});\n\n payload.verificationId = (intentId) ? intentId : null;\n payload.accountIdentifier = pan;\n payload.kycMetaData = {\n name: panName,\n dob: panDate\n };\n\n } else if (type === GST && gstUploaded?.documentDetails) {\n let documentDetails = gstUploaded?.documentDetails;\n let gst = documentDetails?.gstNumber?.value;\n error = verifyGstDetails(gst);\n payload.verificationId = (intentId)? intentId : panUploaded?.documentDetails.panNumber?.value; \n payload.accountIdentifier = gst;\n }\n console.log(\"handleVerifyPiiAccount\", error, payload);\n // fields error\n if (error) {\n toast.error(error);\n // return;\n } else {\n \n let response = await verifyAccountDetails(payload, type);\n console.log(\"intent data\", response.intentId, !intentId, setIntentId);\n if (response.intentId && !intentId && setIntentId) {\n setIntentId(response.intentId);\n }\n // console.log(\"response\", response);\n setIsPiiVerified((prev) => {\n let item = {...prev};\n item[type].verifiedStatus = response.statusCode === apiStatusCodes.SUCCESS ? 'VERIFIED' : '';\n // console.log(\"item\", item, prev);\n return {...item};\n });\n }\n } catch(e) {\n toast.error(ERROR_FETCH)\n }\n setIsUploading(false);\n}\n\nexport const handleDeleteFile = (name, formName, actions) => {\n try {\n console.log(\"handle delete\", formName, name);\n actions.change(formName, name, null);\n } catch(e) {\n console.log(\"e delete\", e);\n } \n}\n\nexport const getActiveCount = (activeCount) => {\n if (typeof activeCount === 'object') {\n return activeCount.filter(item=>item).length === MAX_ACTIVE_UBO_COUNT;\n } \n return 0;\n}\n\nexport const checkPiiData = (piiData, type, field) => {\n try {\n\n if (!piiData[type].documentDetails) {\n piiData[type].documentDetails = {}\n }\n if (!piiData[type].documentDetails[field]) {\n piiData[type].documentDetails[field] = {};\n }\n } catch(e) {\n console.log(\"e\", e);\n }\n}\n\nexport const showCheckerRemark = (checkerRemarks, key) => {\n try {\n if (checkerRemarks[key] && checkerRemarks[key].remarks) {\n return checkerRemarks[key].remarks;\n }\n return undefined;\n }\n catch(e) {}\n}\n\nexport const addActiveUboField = (fields) => {\n try {\n // console.log(\"called add\");\n let initialValue = {};\n initialValue['status'] = UBO_ACTIVE_FIELDS.ACTIVE;\n fields.push(initialValue);\n } catch(e) {\n console.log(\"addActiveUboField error\", e);\n toast.error(ERROR_UBO);\n }\n}\n\nexport const fetchUboActiveFlag = (uboFormData) => {\n try {\n // console.log(\"uboFormData\", uboFormData);\n if (typeof uboFormData?.values?.uboDetails === 'object' && uboFormData?.values?.uboDetails?.length) {\n\n let data = uboFormData.values.uboDetails?.map(item => item?.status === UBO_ACTIVE_FIELDS.ACTIVE ?? false);\n // console.log(\"data\", data);\n return data;\n }\n\n } catch(e) {\n console.log(\"fetchUboActiveFlag\", e);\n }\n return [];\n}\n\nexport const UBO_ACTIVE_FIELDS = {\n ACTIVE: 'ACTIVE',\n INACTIVE: 'INACTIVE'\n}\n\nexport const updateIsInvalidButton = (setInvalidButton, field, flag) => {\n try {\n setInvalidButton((curr) => {\n curr[field] = flag;\n return curr;\n })\n } catch(e) {\n console.log(\"updateIsInvalidButton\", e);\n }\n}\n\nexport const getInitialUrlVal = (values, field) => {\n try {\n\n } catch(e) {\n\n }\n}\n\nexport const handlePiiUpload = async (props) => {\n const {\n file, \n type, \n name, \n actions, \n setPiiData, \n setIsPiiVerified, \n setIsUploading,\n formName\n } = props;\n setIsUploading(true);\n let url = '';\n try {\n const formData = new FormData();\n formData.append('multipartFile', file);\n formData.append('docType', type);\n const piiData = await fetchPiiData(formData, type);\n console.log(\"piiDAta\", piiData);\n if (type === PAN) {\n checkPiiData({PAN: piiData}, PAN, 'dob')\n checkPiiData({PAN: piiData}, PAN, 'name')\n checkPiiData({PAN: piiData}, PAN, 'panNumber')\n } else {\n checkPiiData({GST: piiData}, GST, 'gstNumber')\n }\n // console.log(\"piidata\", piiData);\n setPiiData(prev => {\n const setData = {};\n setData[type] = piiData;\n console.log(\"setDa\", setData);\n return { ...prev, ...setData };\n });\n setIsPiiVerified(prev => {\n let item = {};\n item[type] = { ...piiData, verifiedStatus: '' };\n return { ...prev, ...item };\n });\n actions.change(formName, name, piiData.s3Path);\n console.log('piiData.s3Url', formName, name, piiData.s3Path);\n url = piiData.s3Path;\n } catch (e) {\n toast.error(ERROR_FETCH);\n }\n setIsUploading(false);\n return url;\n // actions.panUploadAndFetchProcessV1();\n};\n\nconst initialValueUploadData = {\n s3Url:'',\n s3Path: '',\n documentDetails: {\n panNumber: { value: '' },\n dob: { value: '' },\n name: { value: '' },\n fatherName: { value: '' },\n gstNumber: { value: '' },\n },\n};\n\nexport const setInitialPiiData = (props) => {\n try {\n // console.log(\"setInitialPiiData\");\n const { values, fields } = props;\n // console.log(\"fields\", fields, values);\n let panData = {};\n let gstData = {};\n\n let pan = fetchFieldValue(values, fields.pan.name);\n // console.log(\"asdsads\", pan);\n let panName = fetchFieldValue(values, fields.panName.name);\n let panDate = fetchFieldValue(values, fields.panDate.name);\n let panUrl = fetchFieldValue(values, fields.panUpload.reqname);\n // console.log(\"pandd.d\", pan, panName, panDate, panUrl)\n if (pan && panName && panDate && panUrl) {\n\n panData = createDeepCopyObj(initialValueUploadData);\n panData.s3Url = panUrl;\n panData.s3Path = panUrl;\n panData.documentDetails.panNumber.value = pan;\n panData.documentDetails.dob.value = panDate;\n panData.documentDetails.name.value = panName;\n // console.log(\"1fields?.gstNumber?.name\", fields);\n if (fields?.gst?.name) {\n // console.log(\"2\");\n let gstNumber = values?.[fields?.gst?.name];\n let gstUrl = values?.[fields.gstUpload?.reqName];\n\n if (gstNumber && gstUrl) {\n // console.log(\"3\")\n gstData = createDeepCopyObj(initialValueUploadData);\n gstData.s3Url = gstUrl;\n gstData.s3Path = gstUrl;\n gstData.documentDetails.gstNumber.value = gstNumber.toString();\n // console.log(\"4\", gstData);\n }\n }\n // console.log(\"sad\", {\n // GST: gstData,\n // PAN: panData\n // });\n return {\n GST: gstData,\n PAN: panData\n }\n }\n } catch(e) {\n\n }\n return {\n GST: {},\n PAN: {}\n };\n\n}\n\nexport const setInitialVerifiedData = ({values = {}, fields = {}, checkerRemarks}) => {\n let piiData = setInitialPiiData({values, fields})\n // UBO DETAILS CASE \n if (!piiData?.[PAN]?.documentDetails?.panNumber?.value) {\n return piiData;\n }\n // DRAFT DATA CASE\n if (!checkerRemarks) {\n piiData[GST].verifiedStatus = VERIFIED;\n piiData[PAN].verifiedStatus = VERIFIED;\n return piiData;\n }\n // maker data case\n if (fields?.gst?.name) {\n if (isApproved(checkerRemarks, fields.gst.name) && \n isApproved(checkerRemarks, fields.gstUpload.reqName)) { \n piiData[GST].verifiedStatus = VERIFIED;\n }\n }\n\n if (isApproved(checkerRemarks, fields.panUpload.reqname) && \n isApproved(checkerRemarks, fields.pan.name) &&\n isApproved(checkerRemarks, fields.panName.name) &&\n isApproved(checkerRemarks, fields.panDate.name)) { \n piiData[PAN].verifiedStatus = VERIFIED;\n }\n return piiData;\n}\n\nexport const isApproved = (data, key, prefix = null) => {\n // console.log(data, key, prefix, \"data, key, prefix\");\n try {\n let checkData = data;\n if (typeof data === 'object' && key) {\n if (prefix) {\n\n checkData = data[`${prefix}${key}`].status ?? '';\n } else {\n checkData = data[key.replace(/\\[/g, '.').replace(/\\]/g, '')]?.status ?? '';\n }\n\n }\n if (checkData?.includes(APPROVE)){\n // console.log(\"isapproved key\", key, data);\n return true;\n }\n \n } catch(e) {\n console.log(\"isApproved\", e);\n }\n return false;\n}\n\nexport const redClassRemarksCond = (checkerRemarks, fieldName) => {\n try {\n if (checkerRemarks && !isApproved(checkerRemarks, fieldName)) {\n return 'red-txt';\n }\n }\n catch {}\n return '';\n}\n\nexport const isUboTabNotEmpty = (data) => { \n try {\n // console.log(\"dataisUboTabNotEmpty\", data);\n if(typeof data === 'object') {\n let keys = Object.keys(data);\n if (keys.length === 0) {\n return false;\n } else if (keys.length === 1 && keys[0] === 'status') {\n return false;\n }\n } else {\n return false;\n }\n } catch(e) {\n\n }\n return true;\n}\n\nexport const hasDuplicates = (arr) => {\n return new Set(arr).size !== arr.length;\n}\n\n\nexport async function handleViewClickReturnUrl(docUrl) {\n const request = {\n s3Path: docUrl,\n };\n\n console.log(\"asdasd\");\n try {\n // setIsUploading(true);\n const response = await POST(\n API_VIEW_KYC_DOCUMENT,\n request,\n {},\n true\n );\n const { data } = response;\n // console.log(\"..data...\");\n // return 'src/static/images/generating.gif';\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n // if (data.s3Url.toLowerCase().includes('.pdf')) {\n // window.open(data.s3Url);\n // } else {\n // if (setSelectedDocument)\n // setSelectedDocument(data.s3Url);\n console.log(\"ddddd\", data.s3Url);\n return data.s3Url;\n // }\n } else {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n // setIsUploading(false);\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n // setIsUploading(false);\n }\n return ''\n}\n\nexport const getFileListUrls = async (urlList) => {\n const urls = [];\n try {\n console.log(\"get urls 1\", urls);\n for (let i = 0; i < urlList.length; i++) {\n const url = await handleViewClickReturnUrl(urlList[i]);\n urls.push(url);\n console.log(\"urls 2\", urls);\n }\n console.log(\"urls 3\", urls);\n } catch(e) {\n console.log(\"ure\", e);\n }\n console.log(\"urls 4\", urls);\n return urls;\n}","import MultiImageViewModal from 'components/Onboarding/Mle/BusinessTab/MultiImageViewModal'\nimport { getFileListUrls } from 'components/Onboarding/Mle/mle.utils';\nimport React, { useState } from 'react'\n\nconst MultiViewChecker = ({list}) => {\n console.log(\"list\", list);\n const [multiViewDocument, setMultiViewDocument] = useState(null);\n const fetchViewUrl = async () => {\n // console.log(\"list\", fileListUrl);\n if (list?.length) {\n try {\n // console.log(\"ads\");\n const urls = await getFileListUrls(list);\n console.log(\"urls\", urls);\n setMultiViewDocument(urls.filter(url => !!url));\n } catch (error) {\n console.error('Error fetching URLs:', error);\n // Optionally, handle the error further (e.g., show a user-friendly message)\n }\n }\n }\n const handleViewClick = () => {\n fetchViewUrl();\n }\n return (\n <>\n {\n multiViewDocument && (\n \n )\n }\n handleViewClick()}\n >\n View\n \n \n )\n}\n\nexport default MultiViewChecker\n","import React from \"react\";\nimport { capitalizeFirstLetterOfEachWord, createDeepCopyObj } from \"utils/helperMethods\";\nimport { ADDRESS_CLUB_KEY, APPROVE, GST_CLUB_KEY, PAN_CLUB_KEY, PROOF_OF_ADDRESS_CLUB_KEY, REJECT, TURNOVER_CLUB_KEY } from \"./constant\";\nimport { orderBy } from \"lodash\";\nimport { BUSINESS_SECTION_TYPE_MLE, mleFields } from \"components/Onboarding/Mle/BusinessTab/contants\";\nimport { UBO_SECTION_TYPE, uboDeclarationUrls, uboFields } from \"components/Onboarding/Mle/UobTab/constant\";\nimport MultiImageViewModal from \"components/Onboarding/Mle/BusinessTab/MultiImageViewModal\";\nimport MultiViewChecker from \"./MultiViewChecker\";\n// const flattenRootStage = (data) => {\n// if (typeof data !== 'object' || data?.key) {\n// return data;\n// }\n// let resp = {};\n// console.log(\"data\", data);\n// Object.keys(data).map(item => {\n// console.log(\"item\", item);\n// if (data[item].key) {\n// return data[item];\n// } else {\n// let flattenedData = {...flattenRootStage(data[item])};\n// flattenedData.key = `${item}.${flattenedData.key}`;\n// return flattenedData;\n// }\n// resp = {\n// ...resp,\n// ...Object.values(data[item]).map(dataValue => {\n// console.log(\"data value\", dataValue);\n// // let flattenedItem = flattenRootStage(dataValue);\n// // flattenedItem.key = `${item}.${flattenedItem.key}`;\n// // return flattenedItem;\n// return dataValue;\n// })\n// }\n// })\n// return resp;\n// }\n\nexport const headingKeysCheckerView = (label, sectionType) => {\n if (sectionType === BUSINESS_SECTION_TYPE_MLE) {\n return 'Business Details';\n } else if (sectionType === UBO_SECTION_TYPE) {\n let idx = label?.indexOf('[');\n if (idx != -1) {\n if (label[idx+2] !== ']') {\n return 'UBO Details ' + label[idx+1] + label[idx+2]; \n }\n return 'UBO Details ' + label[idx+1];\n }\n }\n return 'Business Details'\n}\n\nexport const clubbingDetails = (prefix) => {\n const keyList = {\n name: PAN_CLUB_KEY,\n panurl: PAN_CLUB_KEY,\n 'panDetails.url': PAN_CLUB_KEY,\n 'panDetails.dob': PAN_CLUB_KEY,\n 'panDetails.panNumber': PAN_CLUB_KEY,\n 'panDetails.name': PAN_CLUB_KEY,\n 'dateOfIncorporation': PAN_CLUB_KEY,\n 'legalName': PAN_CLUB_KEY,\n 'address.pinCode': ADDRESS_CLUB_KEY,\n 'address.district': ADDRESS_CLUB_KEY,\n 'address.state': ADDRESS_CLUB_KEY,\n 'address.addressLine': ADDRESS_CLUB_KEY,\n 'gstUpload': GST_CLUB_KEY,\n 'gstNumber': GST_CLUB_KEY,\n 'kycDocUrls.GST': GST_CLUB_KEY,\n 'turnoverCategory': TURNOVER_CLUB_KEY,\n 'turnoverAmount': TURNOVER_CLUB_KEY,\n 'addressProof': PROOF_OF_ADDRESS_CLUB_KEY,\n 'addressProofUrls': PROOF_OF_ADDRESS_CLUB_KEY\n };\n let updateList = {};\n if (prefix) {\n Object.keys(keyList).map(item => {\n updateList[item] = prefix+'.'+keyList[item]; \n })\n } else {\n updateList = createDeepCopyObj(keyList);\n }\n // console.log(\"updatelist clubbing\", updateList);\n return updateList;\n};\n\nconst flattenUboObject = (obj) => {\n // console.log(\"inp obj\", obj);\n let resp = [];\n try {\n Object.keys(obj).map(item => {\n // console.log(\"inside loop\", item, obj[item]);\n if (obj[item].key === item) {\n // console.log(\"if1\", obj[item]);\n const currObj = [...resp, {...obj[item]}];\n resp = currObj\n } else {\n let flattenedObj = flattenUboObject({...obj[item]});\n let flattenedArr = flattenedObj.map(flattenObjitem => {\n flattenObjitem.key = `${item}.${flattenObjitem.key}`;\n return flattenObjitem;\n })\n // console.log(\"if2\", flattenedArr);\n const currObj = [...resp, ...flattenedArr];\n resp = currObj\n }\n // console.log(\"resp\", resp);\n })\n } catch(e) {\n console.log(\"flattenUboObject\", e);\n }\n return resp;\n}\n\nexport const convertArrayToObject = (DataArray) => {\n let transformedData = {};\n if (\n Array.isArray(DataArray)\n ) {\n let transformedDataOne = {...transformedData};\n let checkerRemarks = DataArray;\n // console.log(\"checkerRemarks\", checkerRemarks);\n checkerRemarks.forEach((checkerRemarksitem) => {\n let hierarchyArr = checkerRemarksitem?.key?.split('.') ?? [];\n let transformedItem = transformedDataOne;\n \n if (hierarchyArr.length) {\n let hierarchyArrLen = hierarchyArr.length;\n // console.log(\"hierarchyArr\", hierarchyArr);\n hierarchyArr.forEach((hierarchyArritem, hierarchyArrindex) => {\n // If the item doesn't exist, create an empty object or the final value\n if (!transformedItem[hierarchyArritem]) {\n if (hierarchyArrindex === hierarchyArrLen - 1) {\n // This is the last item, so we add the checkerRemarksitem here\n transformedItem[hierarchyArritem] = { \n ...checkerRemarksitem \n };\n transformedItem[hierarchyArritem].key = hierarchyArritem; // Ensure the 'key' is also set\n } else {\n // Create an empty object for intermediate levels\n transformedItem[hierarchyArritem] = {};\n }\n }\n // Move down the hierarchy for the next iteration\n transformedItem = transformedItem[hierarchyArritem];\n });\n }\n });\n // console.log(\"transfomedDAta 11\", transformedDataOne);\n const transformedDatatwo = {...transformedDataOne};\n if (transformedDatatwo?.uboDeclarationUrls) {\n transformedDatatwo.uboDeclarationUrls = [...Object.values(transformedDatatwo.uboDeclarationUrls)];\n }\n // for ubo details\n if (transformedDatatwo?.uboDetails) {\n transformedDatatwo.uboDetails = [...Object.values(transformedDatatwo.uboDetails)]\n }\n // console.log(\"transfomedDAta 22\", transformedDatatwo);\n const transformedDatathree = {...transformedDatatwo};\n if (Array.isArray(transformedDatathree.uboDetails)) {\n transformedDatatwo.uboDetails.map((uboDetailsitem, uboDetailsindex) => {\n // console.log(\"uboDetailsitem\", uboDetailsitem);\n \n let flattenUboDetailsItem = flattenUboObject({...uboDetailsitem});\n // console.log(\"flattenUboDetailsItem\", flattenUboDetailsItem);\n // console.log(\"Object.values(uboDetailsitem)\", Object.values(uboDetailsitem));\n transformedDatathree.uboDetails[uboDetailsindex] = [...flattenUboDetailsItem];\n })\n }\n // console.log(\"transfomedDAta 33\", transformedDatathree);\n transformedData = {...transformedDatathree}\n }\n return transformedData;\n} \n\nexport const formatLabels = (label, labelsName) => {\n try {\n // console.log(\"format label\", label);\n // return 'same label';\n if (labelsName?.[label]) {\n return labelsName[label];\n }\n // let lastWord = label.split('.').pop().charAt(0).toUpperCase() + label.split('.').pop().slice(1);\n let lastWord = capitalizeFirstLetterOfEachWord(label.split('.').pop().replace(/_/g, ' '));\n if (lastWord?.toLowerCase() === 'amlmatchstatus') {\n return 'AML Match Status';\n }\n if (lastWord?.toLowerCase() === 'pepmatchstatus') {\n return 'PEP Match Status';\n }\n // if (label.includes('panDetails')) {\n // if (lastWord?.toLowerCase().includes('url')) {\n // lastWord = 'Pan Image';\n // } else if (!lastWord.includes('Pan')) {\n // lastWord = 'Pan ' + lastWord;\n // }\n // }\n return lastWord;\n } catch(e) {\n console.log(\"formatLabels\", formatLabels);\n }\n return label;\n}\n\nexport const customLabelNames = (sectionType) => {\n let labelsName = {}\n let fieldCustom = mleFields;\n // console.log(\"customLabelNames..\", sectionType);\n if (sectionType.includes('uboDetails')) {\n fieldCustom = uboFields;\n } else if (sectionType.includes('uboDeclarationUrls')){\n fieldCustom = {};\n labelsName['0'] = 'UBO Declaration';\n }\n\n // to use conditional for difference sequencing order\n Object.values(fieldCustom).map(item => {\n let name = '';\n if (!sectionType.includes('uboDetails')) {\n name = item.name;\n } else {\n name = item.name('').slice(1);\n }\n labelsName[name] = item.label;\n if (name === 'gstUpload') {\n labelsName['gstUploadFile'] = item.label;\n labelsName['kycDocUrls.GST'] = item.label;\n } else if (name === 'panDetails.url' || name === 'panurl') {\n labelsName['panDetails.url'] = item.label;\n labelsName['panurl'] = item.label;\n } else if (name === 'uboDeclarationUrls') {\n labelsName['uboDeclarationUrls'] = item.label;\n } else if (name === 'addressFile') {\n labelsName['addressProofUrls'] = item.label;\n }\n \n })\n return labelsName;\n}\n\nexport const orderedData = (data, sectionType) => {\n let customSequence = {};\n let fieldCustom = mleFields;\n\n if (sectionType.includes('uboDetails')) {\n fieldCustom = uboFields;\n } else if (sectionType.includes('uboDeclarationUrls')){\n fieldCustom = uboDeclarationUrls;\n }\n\n \n\n // to use conditional for difference sequencing order\n Object.values(fieldCustom).map(item => {\n let name = '';\n if (!sectionType.includes('uboDetails')) {\n name = item.name;\n } else {\n name = item.name('').slice(1);\n }\n // console.log(\"name\", name);\n customSequence[name] = item.place || 1000;\n if (name === 'panurl') {\n customSequence['panDetails.url'] = item.place;\n } else if (name === 'addressFile') {\n customSequence['addressProofUrls'] = item.place;\n } else if (name === 'gstUpload') {\n customSequence['gstUploadFile'] = item.place;\n customSequence['kycDocUrls.GST'] = item.place;\n }\n })\n\n // console.log(\"customSequence\", customSequence);\n \n const sortedData = orderBy(data, [obj => {\n // console.log(\"obj\", obj, obj.key, customSequence[obj.key] || 1000);\n return customSequence[obj.key] || 1000\n }], ['asc'])\n return sortedData;\n}\n\nexport const setDataCheckerRemark = (checkerRemarksData, flattenedData, section = null, handleViewClick, isViewMode) => {\n // console.log(\"flattenedData\", flattenedData, checkerRemarksData);\n const prefix = '';\n if (checkerRemarksData.length) {\n return checkerRemarksData.map((item) => {\n let fetchKey = (section) ? `${section}.${item.key}` : item.key;\n let value = flattenedData[fetchKey] || item.value || null;\n const multiVal = Array.isArray(value) ? value.length : 1;\n let dataVal = value == null ? '' : Array.isArray(value) ? value.join(', ') : value.toString();\n // console.log(\"datavla\", dataVal);\n let clientValue = dataVal;\n if (typeof dataVal === 'string' && dataVal?.startsWith('/')) {\n if (multiVal < 2) {\n clientValue = (\n handleViewClick(dataVal)}\n >\n View\n \n );\n } else {\n clientValue = (\n \n )\n }\n }\n if (item?.key?.includes('isHeading')) {\n return {\n label: item.label,\n key: item.key,\n level: item.level,\n value: '',\n clientValue: ' ',\n clientLabel: \n }\n }\n if (typeof value === 'string' && value?.toLowerCase() === 'not_match') {\n clientValue = 'Not Match';\n }\n const status = item.status?.includes(APPROVE) ? item.status : null;\n return {\n label: (item.label == \"0\") ? \"UBO Declaration\" : formatLabels(item.label),\n value: (multiVal < 2) ? dataVal : value,\n status: status,\n remarks: item.remarks || '',\n key: item.key,\n clientValue: clientValue || ' ',\n isViewMode: isViewMode,\n clubKey: clubbingDetails(section)[item.key] || item.key,\n clientLabel: formatLabels(item.label)\n }\n });\n }\n const labelsName = customLabelNames(section);\n const flattenObjectEntries = Object.entries(flattenedData).filter(([key, value]) => {\n // console.log(\"value....\", key, value);\n if (key === 'telephoneNumbers') {\n // console.log(\"value\", value.toString())\n return !!value?.toString();\n }\n return !!value;\n }).map(([key, value]) => {\n const multiVal = Array.isArray(value) ? value.length : 1; \n let dataVal = value == null ? '' : Array.isArray(value) ? value.join(', ') : value.toString();\n let clientValue = dataVal;\n if (typeof dataVal === 'string' && dataVal?.startsWith('/')) {\n if (multiVal < 2) {\n clientValue = (\n handleViewClick(dataVal)}\n >\n View\n \n );\n } else {\n clientValue = (\n \n )\n }\n }\n \n // to change label names\n return {\n label: formatLabels(key, labelsName),\n value: (multiVal < 2) ? dataVal : value,\n status: null,\n remarks: '',\n key: key,\n clientValue: clientValue || ' ',\n clubKey: clubbingDetails(section)[key] || key\n }\n });\n\n // to do ordering\n const sortedEntries = orderedData(flattenObjectEntries, section);\n // console.log(\"sortedEntries\", sortedEntries);\n // to club the data\n\n return sortedEntries;\n}\n\nexport const transformCheckerData = (data) => {\n // console.log(\"data\", data);\n let transformCheckerResponse = [];\n if (typeof data !== 'object') {\n transformCheckerResponse = data;\n return transformCheckerResponse;\n }\n if (Array.isArray(data)) {\n return [...data];\n }\n Object.keys(data).map(dataKey => {\n let transformedData = transformCheckerData(data[dataKey]);\n transformCheckerResponse = [\n ...transformCheckerResponse, \n ...transformedData.map(transformedDataitem => {\n let updatedtransformedDataitem = {...transformedDataitem}\n if (transformedDataitem?.key) {\n updatedtransformedDataitem.key = `${dataKey}.${updatedtransformedDataitem.key}`;\n }\n return updatedtransformedDataitem;\n })];\n })\n return transformCheckerResponse;\n}\n\nexport const cleanCheckerRemarks = (checkerRemarks) => (\n checkerRemarks.map(item => {\n let remarksItem = { ...item };\n if (remarksItem?.clientValue) {\n delete remarksItem.clientValue;\n }\n if (remarksItem?.isHeading) {\n delete remarksItem.isHeading;\n }\n if (remarksItem?.clientLabel) {\n delete remarksItem.clientLabel;\n }\n if (remarksItem?.isViewMode) {\n delete remarksItem.isViewMode;\n }\n if (remarksItem?.clubKey) {\n delete remarksItem.clubKey;\n }\n if (remarksItem?.key?.includes('isHeading')) {\n remarksItem.status = APPROVE;\n remarksItem.value = '';\n }\n return remarksItem;\n })\n)\n\n// if true - approve disable\n// if false - reject disable\nexport const isApproveRejectDisable = (data) => {\n try {\n if (!data) {\n return true;\n }\n // console.log(\"isApproveRejectDisable\", data);\n const normalizedCheckerRemarks = Array.isArray(data)\n ? [...data]\n : transformCheckerData(data);\n // console.log(\"normalizedCheckerRemarks\", normalizedCheckerRemarks);\n let transformedCheckerRemarks = [];\n if (Array.isArray(normalizedCheckerRemarks)) {\n transformedCheckerRemarks = cleanCheckerRemarks(normalizedCheckerRemarks);\n }\n // console.log(\"transformedCheckerRemarks\", transformedCheckerRemarks);\n if (transformedCheckerRemarks) {\n const rejectedRemarksList = transformedCheckerRemarks.filter(item => {\n if (!item.status || item?.status === REJECT) {\n return true;\n }\n return false;\n })\n // console.log(\"rejectedRemarksList\", rejectedRemarksList);\n // true when rejected remarks has length means fields are rejected approve to be disable\n return rejectedRemarksList.length > 0\n }\n } catch(e) {\n console.log(\"isApproveRejectDisable\", e);\n }\n return true;\n \n}\n\n","import React, { useState, useMemo, useEffect } from 'react';\nimport { Table } from '../../components';\nimport './mleMakerChecker.scss';\nimport { toast } from 'react-toastify';\nimport { ERROR_MESSAGES } from '../../utils/constants/toastMessages';\nimport { API_VIEW_KYC_DOCUMENT } from '../../utils/API/apiUrls';\nimport { POST } from '../../utils/fetchWrappers';\nimport { apiStatusCodes } from '../../utils/API/apiStatusCodes';\nimport ImageViewModal from '../Onboarding/Mle/BusinessTab/ImageViewModal';\nimport { setDataCheckerRemark } from './mleMakerChecker.utils';\n\nconst MerchantDetailsView = ({ data, additionalData, auth, handleCheckerRemarksData, fieldsWithViewLink = [], section = '', isViewMode}) => {\n // console.log(\"🚀 ~ MerchantDetailsView ~ data, additionalData:\", data, additionalData)\n const [loading, setLoading] = useState(false);\n const [selectedDocument, setSelectedDocument] = useState(null);\n const checkerRemarksData = additionalData || [];\n\n const flattenObject = (obj, parentKey = '') =>\n Object.entries(obj).reduce((acc, [key, value]) => {\n const newKey = parentKey ? `${parentKey}.${key}` : key;\n if (newKey.toLowerCase().includes('entitytype')) {\n return acc;\n }\n if (typeof value === 'object' && !Array.isArray(value) && value !== null) {\n Object.assign(acc, flattenObject(value, newKey));\n } else {\n acc[newKey] = value;\n }\n return acc;\n }, {});\n\n const handleViewClick = async (docUrl) => {\n const request = { s3Path: docUrl };\n try {\n // console.log(\"handleViewClick\", API_VIEW_KYC_DOCUMENT, request, {}, true);\n const response = await POST(API_VIEW_KYC_DOCUMENT, request, {}, true);\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n setSelectedDocument(data.s3Url);\n } else {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n };\n\n const flattenedData = flattenObject(data);\n const fetchData = setDataCheckerRemark(checkerRemarksData, flattenedData, section, handleViewClick);\n\n // console.log(\"fetched data : \", fetchData);\n\n const [merchantDetailData, setMerchantDetailData] = useState([]);\n\n useEffect(() => {\n setMerchantDetailData(fetchData);\n }, [additionalData]);\n\n\n const updateCheckerRemarks = (updatedData) => {\n // console.log(\"updatedData\", updatedData);\n setMerchantDetailData(updatedData);\n handleCheckerRemarksData(updatedData); // Propagate updated remarks to parent\n };\n\n const handleAction = (key, actionType) => {\n // console.log(\"merchantDetailData\", merchantDetailData, key, actionType);\n const updatedData = merchantDetailData.map((item) =>\n item.clubKey === key ? { ...item, status: actionType.toUpperCase() } : item\n );\n updateCheckerRemarks(updatedData);\n };\n\n const handleRemarks = (key, value) => {\n const updatedData = merchantDetailData.map((item) =>\n item.key === key ? { ...item, remarks: value } : item\n );\n updateCheckerRemarks(updatedData);\n };\n\n\n\n const columns = useMemo(\n () => [\n { header: 'Label', accessor: 'label' },\n { header: 'Value', accessor: 'clientValue' },\n { header: 'Approve', accessor: 'action1' },\n { header: 'Reject', accessor: 'action2' },\n { header: 'Remarks', accessor: 'action3' },\n ],\n []\n );\n // console.log(\"merchantDetailData\",merchantDetailData);\n return (\n
    \n {}}\n loading={loading}\n userActions={(data, cell) => {\n // console.log(\"data : \", data?.original?.status, data.index, data.values, data.original);\n const field = data.original?.clubKey;\n // console.log(\"field\", field);\n if (cell.column.header === 'Approve') {\n return (\n handleAction(field, 'Approve')} // onChange used instead of onClick\n disabled={isViewMode}\n />\n );\n }\n if (cell.column.header === 'Reject') {\n // console.log(\"values : \",data?.original?.status)\n return (\n handleAction(field, 'Reject')} // onChange used instead of onClick\n disabled={isViewMode}\n />\n );\n }\n if (cell.column.header === 'Remarks') {\n return (\n handleRemarks(data.original?.key, e.target.value)} // Ensure onChange is defined\n disabled={isViewMode}\n />\n );\n }\n // if (data?.values?.value.startsWith('/')) {\n // return (\n // handleViewClick(data.values.value)}>\n // View\n // \n // );\n // }\n return null;\n }}\n />\n {selectedDocument && (\n \n )}\n
    \n );\n};\n\nexport default MerchantDetailsView;\n","import React, { useState, useMemo, useEffect } from 'react';\nimport { Table } from '../../components';\nimport './mleMakerChecker.scss';\nimport { toast } from 'react-toastify';\nimport {\n ERROR_MESSAGES,\n} from '../../utils/constants/toastMessages';\nimport {\n API_VIEW_KYC_DOCUMENT,\n} from '../../utils/API/apiUrls';\nimport { POST } from '../../utils/fetchWrappers';\nimport { apiStatusCodes } from '../../utils/API/apiStatusCodes';\nimport ImageViewModal from '../Onboarding/Mle/BusinessTab/ImageViewModal';\nimport { formatLabels, headingKeysCheckerView, setDataCheckerRemark } from './mleMakerChecker.utils';\n\nconst RiskDetailsView = ({ data, additionalData, auth, handleCheckerRemarksData, isViewMode }) => {\n console.log(\"data, additionalData\", data, additionalData);\n const [loading, setLoading] = useState(false);\n const [selectedDocument, setSelectedDocument] = useState(null);\n const checkerRemarksData = additionalData?.childCheckerResponseList?.[2]?.checkerRemarks[0] || [];\n\n const flattenObject = (obj, parentKey = '', level = 0) => {\n // console.log(\"obje\", obj);\n let sectionType = obj?.sectionType ? obj.sectionType : ''; \n return Object.entries(obj).reduce((acc, [key, value]) => {\n const newKey = parentKey ? `${parentKey}.${key}` : key;\n const isObject = typeof value === 'object' && value !== null;\n // console.log(\"newkey\",newKey,\".....\");\n if (key?.toLowerCase() !== 'sectiontype') {\n if (isObject && !Array.isArray(value)) {\n // console.log(\"valuentriese\", value, newKey, key);\n acc.push({ label: headingKeysCheckerView(newKey, sectionType), key: `isHeading${newKey}`, isHeading: true, level });\n acc.push(...flattenObject(value, newKey, level + 1));\n } else if (Array.isArray(value)) {\n // acc.push({ label: newKey.toUpperCase(), key: `isHeading${newKey}`, level });\n value.forEach((item, index) => {\n if (typeof item === 'object' && item !== null) {\n acc.push(...flattenObject(item, `${newKey}[${index}]`, level + 1));\n } else {\n acc.push({ label: `${newKey}[${index}]`.toUpperCase(), value: item, level });\n }\n });\n } else {\n acc.push({\n label: formatLabels(newKey),\n value,\n level,\n key: newKey\n });\n }\n }\n \n return acc;\n }, []);\n };\n\n const handleViewClick = async (docUrl) => {\n const request = { s3Path: docUrl };\n try {\n const response = await POST(API_VIEW_KYC_DOCUMENT, request, {}, true);\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n setSelectedDocument(data.s3Url);\n } else {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n };\n\n\n const selectedCheckerRemarksData = checkerRemarksData.length\n ? checkerRemarksData.map((item) => ({\n label: item.label,\n value: item.value || '',\n status: item.status || null,\n remarks: item.remarks || '',\n key: item.key\n }))\n : flattenObject(data);\n const fetchData = setDataCheckerRemark(selectedCheckerRemarksData, {}, null, handleViewClick, isViewMode)\n\n const [riskDetailData, setRiskDetailData] = useState(fetchData);\n\n useEffect(() => {\n setRiskDetailData(fetchData);\n }, [additionalData]);\n\n const updateCheckerRemarks = (updatedData) => {\n setRiskDetailData(updatedData);\n // console.log(\"updated data\", updatedData);\n // let filteredData = updatedData.filter(item => !item.isHeading)\n handleCheckerRemarksData(updatedData);\n };\n\n const handleAction = (key, actionType) => {\n const updatedData = riskDetailData.map((item) =>\n item.key === key ? { ...item, status: actionType.toUpperCase() } : item\n );\n updateCheckerRemarks(updatedData);\n };\n\n const handleRemarks = (key, value) => {\n const updatedData = riskDetailData.map((item) =>\n item.key === key ? { ...item, remarks: value } : item\n );\n updateCheckerRemarks(updatedData);\n };\n\n const fieldsWithViewLink = ['BANK_PROOF', 'URL', 'ADDRESSPROOFURLS'];\n \n\n const columns = useMemo(\n () => [\n { header: 'Label', accessor: 'clientLabel' },\n { header: 'Value', accessor: 'clientValue' },\n { header: 'Approve', accessor: 'action1' },\n { header: 'Reject', accessor: 'action2' },\n { header: 'Remarks', accessor: 'action3' }\n ],\n []\n );\n // console.log(\"fetch data\", fetchData);\n return (\n
    \n {}}\n loading={loading}\n userActions={(data, cell) => {\n // console.log(\"data cell\", data);\n if (data.original?.key?.includes('isHeading')) {\n return cell.column.header === 'Label' ? (\n {data.values.label}\n ) : null;\n }\n\n const field = data.original.key;\n\n if (cell.column.header === 'Approve') {\n return (\n handleAction(field, 'Approve')}\n disabled={isViewMode}\n />\n );\n }\n if (cell.column.header === 'Reject') {\n return (\n handleAction(field, 'Reject')}\n disabled={isViewMode}\n />\n );\n }\n if (cell.column.header === 'Remarks') {\n return (\n handleRemarks(field, e.target.value)}\n disabled={isViewMode}\n />\n );\n }\n if (data?.values?.value?.startsWith('/')) {\n return (\n handleViewClick(data.values.value)}\n >\n View\n \n );\n }\n return null;\n }}\n />\n {selectedDocument && (\n \n )}\n
    \n );\n};\n\nexport default RiskDetailsView;\n","import React, { useState, useMemo, useEffect } from 'react';\nimport { Table } from '../../components';\nimport './mleMakerChecker.scss';\nimport { toast } from 'react-toastify';\nimport { ERROR_MESSAGES } from '../../utils/constants/toastMessages';\nimport { API_VIEW_KYC_DOCUMENT } from '../../utils/API/apiUrls';\nimport { POST } from '../../utils/fetchWrappers';\nimport { apiStatusCodes } from '../../utils/API/apiStatusCodes';\nimport ImageViewModal from '../Onboarding/Mle/BusinessTab/ImageViewModal';\nimport { setDataCheckerRemark } from './mleMakerChecker.utils';\n\nconst OwnershipDetailsView = ({ data, section, additionalData, auth, handleCheckerRemarksData, isViewMode }) => {\n // console.log(\"🚀 ~ OwnershipDetailsView ~ dḁta:\", data)\n const [loading, setLoading] = useState(false);\n const [selectedDocument, setSelectedDocument] = useState(null);\n\n const checkerRemarksData = additionalData || [];\n const flattenObject = (obj = {}, parentKey = '') =>\n Object.entries(obj).reduce((acc, [key, value]) => {\n const newKey = parentKey ? `${parentKey}.${key}` : key;\n if (typeof value === 'object' && value !== null && !Array.isArray(value)) {\n Object.assign(acc, flattenObject(value, newKey));\n } else {\n acc[newKey] = value;\n }\n return acc;\n }, {});\n\n const flattenedData = useMemo(() => flattenObject(data), [data]);\n\n const handleViewClick = async (docUrl) => {\n const request = { s3Path: docUrl };\n try {\n // console.log(\"request\", request);\n const response = await POST(API_VIEW_KYC_DOCUMENT, request, {}, true);\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n setSelectedDocument(data.s3Url);\n } else {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n };\n\n const fetchData = setDataCheckerRemark(checkerRemarksData, flattenedData, section, handleViewClick);\n\n const [ownershipDetailData, setOwnershipDetailData] = useState(fetchData);\n\n useEffect(() => {\n setOwnershipDetailData(fetchData);\n // console.log(\"owners\", fetchData);\n handleCheckerRemarksData(section, fetchData);\n },[additionalData]);\n\n const updateCheckerRemarks = (updatedData) => {\n setOwnershipDetailData(updatedData);\n handleCheckerRemarksData(section, updatedData); // Propagate changes to parent\n };\n\n const handleAction = (key, actionType) => {\n // console.log(\"🚀 ~ handleAction ~ key, actionType:\", key, actionType)\n \n const updatedData = ownershipDetailData.map((item) =>\n item.clubKey === key ? { ...item, status: actionType.toUpperCase() } : item\n );\n // console.log(\"udpate data\", updatedData);\n updateCheckerRemarks(updatedData);\n };\n\n const handleRemarks = (key, value) => {\n const updatedData = ownershipDetailData.map((item) =>\n item.key === key ? { ...item, remarks: value } : item\n );\n updateCheckerRemarks(updatedData);\n };\n\n const fieldsWithViewLink = ['BANK_PROOF', 'URL', 'ADDRESSPROOFURLS'];\n\n const columns = useMemo(\n () => [\n { header: 'Label', accessor: 'label' },\n { header: 'Value', accessor: 'clientValue' },\n { header: 'Approve', accessor: 'action1' },\n { header: 'Reject', accessor: 'action2' },\n { header: 'Remarks', accessor: 'action3' },\n ],\n []\n );\n\n // console.log(\"fetch data\", fetchData);\n\n return (\n
    \n {}}\n loading={loading}\n userActions={(data, cell) => {\n const field = data.original?.clubKey;\n const uniqueName = `${section}-${data.index}`; // Ensure unique name for radio buttons\n\n if (cell.column.header === 'Approve') {\n return (\n handleAction(field, 'Approve')}\n />\n );\n }\n if (cell.column.header === 'Reject') {\n return (\n handleAction(field, 'Reject')}\n />\n );\n }\n if (cell.column.header === 'Remarks') {\n return (\n handleRemarks(data.original?.key, e.target.value)}\n />\n );\n }\n return null;\n }}\n />\n {selectedDocument && (\n \n )}\n
    \n );\n};\n\nexport default OwnershipDetailsView;\n","import React from 'react';\nimport Tooltip from 'rc-tooltip';\nimport 'rc-tooltip/assets/bootstrap.css';\n\nconst MyTooltip = ({ checkerRemarks, fieldName, prefix = null }) => {\n // Function to retrieve the checker remark for the given fieldName\n const getCheckerRemark = (remarks, key) => {\n try {\n if (prefix) {\n key = `${prefix}${key}`;\n }\n key = key.replace(/\\[/g, '.').replace(/\\]/g, '')\n // console.log(\"key\", key);\n // Check if remarks and the specific key exist, and if the remarks property is present\n if (remarks && remarks[key] && remarks[key].remarks) {\n return remarks[key].remarks;\n }\n return null; // Return null if no remark is available\n } catch (e) {\n console.error('Error retrieving checker remark:', e);\n return null;\n }\n };\n\n // Retrieve the remark for the specified fieldName\n const remark = getCheckerRemark(checkerRemarks, fieldName);\n\n // Conditionally render the Tooltip only if a remark is available\n return (\n remark ? (\n
    \n {remark}}\n >\n \n \n \n \n
    \n ) : null // Render nothing if no remark is available\n );\n};\n\nexport default MyTooltip;\n","import { FormElems } from 'components';\nimport { MLE_CREATE_FORM_NAME } from 'components/Onboarding/Mle/BusinessTab/contants';\nimport MultiImageViewModal from 'components/Onboarding/Mle/BusinessTab/MultiImageViewModal';\nimport MyTooltip from 'components/Onboarding/Mle/BusinessTab/MyTooltip';\nimport { FILE_MSG, FILE_MSG_WITH_EXT } from 'components/Onboarding/Mle/mle.constants';\nimport { fetchFieldValue, getFileListUrls, isApproved, redClassRemarksCond } from 'components/Onboarding/Mle/mle.utils';\nimport React, { useEffect, useState } from 'react'\nimport { Field } from 'redux-form';\nimport { ACCEPT_IMG_PDF, MAX_25MB, MAX_5MB, MAX_FILE_SIZE } from 'utils/constants/commonValues';\nimport test1Image from '../../static/images/test1.png';\nimport test2Image from '../../static/images/test2.png';\nimport { toast } from 'react-toastify';\n\nlet allowedExtensions = ['jpg', 'jpeg', 'png', 'svg', 'pdf'];\n\nconst SingleUpload = (props) => {\n const {\n handleFileChange,\n handleUploadImageAndGetUrl,\n handleViewClick,\n fieldName,\n fileUrl,\n placeholder,\n disabled,\n infoElement\n } = props;\n return (\n {\n handleFileChange(name, value);\n console.log('handle change', name, value);\n }}\n uploadImageAndGetURL={handleUploadImageAndGetUrl}\n handleView={handleViewClick}\n name={fieldName}\n docUrl={fileUrl}\n type=\"file\"\n id={fieldName}\n component={FormElems.UploadElement}\n placeholder={placeholder}\n allowedExtensions={allowedExtensions}\n MaxFileSize={MAX_FILE_SIZE}\n accept={ACCEPT_IMG_PDF}\n disabled={disabled}\n infoElement={infoElement}\n />\n )\n}\n\n// [\n// test1Image,\n// test2Image\n// ]\n\nconst MultiUpload = (props) => {\n const {\n setFileListUrl,\n fileListUrl,\n name,\n handleUploadImageAndGetUrl,\n handleViewClick,\n isViewMode,\n maxFiles\n } = props;\n const [fileList, setFileList] = useState([]);\n const [multiViewDocument, setMultiViewDocument] = useState(null);\n\n const fetchS3Url = async () => {\n // console.log(\"list\", fileList);\n if (fileList?.length) {\n try {\n // console.log(\"ads\");\n const urls = await Promise.all(\n fileList.map(file => handleUploadImageAndGetUrl(file))\n );\n // console.log(\"urls\", urls);\n setFileListUrl(urls);\n } catch (error) {\n console.error('Error fetching URLs:', error);\n // Optionally, handle the error further (e.g., show a user-friendly message)\n }\n }\n }\n\n const fetchViewUrl = async () => {\n // console.log(\"list\", fileListUrl);\n if (fileListUrl?.length) {\n try {\n // console.log(\"ads\");\n const urls = await getFileListUrls(fileListUrl);\n // console.log(\"urls\", urls);\n setMultiViewDocument(urls.filter(url => !!url));\n } catch (error) {\n console.error('Error fetching URLs:', error);\n // Optionally, handle the error further (e.g., show a user-friendly message)\n }\n }\n }\n\n const handleDeleteFile = (index) => {\n if (isViewMode) {\n return null;\n }\n try {\n // console.log(\"index\", index);\n // console.log(\"\");\n setFileListUrl((prev) => {\n if (prev && Array.isArray(prev)) {\n // console.log(\"rpec\", prev);\n const newArr = [...prev.slice(0, index), ...prev.slice(index + 1)];\n return newArr;\n }\n return prev;\n });\n setMultiViewDocument(null);\n toast.info(\"File deleted successfully.\");\n // console.log(\"adasd\");\n } catch(e) {\n toast.error(\"File delete unsuccess.\");\n console.log(\"e\", e);\n }\n }\n useEffect(() => {\n fetchS3Url()\n }, [fileList]);\n const handleViewClickBtn = () => {\n if (fileListUrl.length) {\n fetchViewUrl()\n }\n }\n return (\n <>\n {\n multiViewDocument?.length &&\n \n }\n
    \n setFileList(files)}\n fileList={fileList}\n accept=\".pdf, .jpg, .jpeg, .png, .svg\"\n // subtitle=\"Maximum file size 25MB. Only PDF, doc, excel, .zip and image files are accepted\"\n component={FormElems.MultiUploadUrlHandling}\n maxSize={MAX_5MB}\n fileListUrl={fileListUrl}\n handleViewImages={handleViewClickBtn}\n maxFiles={maxFiles}\n id={name}\n isViewMode={isViewMode}\n />\n
    \n \n );\n}\n\n// [\n// \"/kycDocFile/merchant/MERd812874e6a/Mon Dec 30 13:32:29 IST 2024/Screenshot 2024-12-04 175926.png\",\n// \"/kycDocFile/merchant/MERd812874e6a/Mon Dec 30 13:32:29 IST 2024/Screenshot 2024-12-04 175926.png\"\n// ]\n\nconst FileUploadField = ({\n itemInfo,\n isViewMode,\n docUrls,\n setDocUrls,\n errors,\n resetFieldError,\n handleUploadImageAndGetUrl,\n handleViewClick,\n prefix,\n actions,\n handleDeleteFile,\n values = null,\n prefixReqName= null,\n checkerRemarks,\n required,\n clearedClicked,\n multi,\n formName = null\n}) => {\n let itemReqName = (prefixReqName) \n ? `${prefixReqName}.${itemInfo.docType || itemInfo.reqname}` \n : `${itemInfo.docType || itemInfo.reqname}`; \n const [fileUrl, setFileUrl] = useState(fetchFieldValue(values, itemReqName) ?? '');\n const [fileListUrl, setFileListUrl] = useState(fetchFieldValue(values, itemReqName) || []);\n const handleFileChange = (name, value) => {\n // console.log(\"handle file change\", name, value);\n setFileUrl(value);\n }\n\n useEffect(() => {\n // console.log(\"asddsa\", fileListUrl, formName, itemReqName)\n if (fileListUrl && formName) {\n actions.change(formName, itemReqName, fileListUrl);\n }\n }, [fileListUrl]);\n\n // console.log(\"doc url\", docUrls);\n\n let fieldName = itemInfo.name || itemInfo.docType;\n if (prefix) {\n fieldName = `${prefix}.${fieldName}`;\n }\n useEffect(() => {\n if (!fileUrl) {\n // console.log(\"file url\", fileUrl);\n handleDeleteFile()\n }\n\n }, [fileUrl])\n useEffect(() => {\n // console.log(\"clearedClicked\", clearedClicked)\n if (clearedClicked) {\n setFileUrl('')\n setFileListUrl([])\n }\n }, [clearedClicked]);\n // console.log(\"fileList\", fileListUrl, itemReqName);\nlet remarkKeyName = itemReqName === 'uboDeclarationUrls' ? `${itemReqName}.0` : itemReqName;\n return (\n
    \n

    \n {itemInfo.label || itemInfo.docName}\n {\n required &&\n *\n }\n \n

    \n {\n !!multi &&\n \n\n }\n {\n !multi && \n \n\n }\n \n {errors &&
    {errors}
    }\n
    \n );\n}\n\nexport default FileUploadField\n","import FileUploadField from \"./FileUploadField\";\n\nexport default FileUploadField","import React, { useState } from 'react';\nimport { reduxForm } from 'redux-form'; // Import reduxForm\nimport { FormElems } from 'components';\nimport FileUploadField from '../FileUploadField';\nimport './mleMakerChecker.scss';\n\nconst LegalInputs = ({ handleSubmit }) => {\n const [jiraLink, setJiraLink] = useState('');\n const [expiryDate, setExpiryDate] = useState('');\n const [remarks, setRemarks] = useState('');\n const [docUrls, setDocUrls] = useState({});\n\n const item = {\n docType: 'agreement',\n label: 'Upload Agreement',\n };\n\n const handleViewClick = (docType) => {\n console.log(`View clicked for document type: ${docType}`);\n };\n\n return (\n
    \n
    \n

    Legal Inputs - MLE Onboarding

    \n\n
    \n {/* JIRA Link Input */}\n
    \n setJiraLink(e.target.value)}\n />\n
    \n\n {/* Upload Agreement */}\n
    \n handleViewClick(item.docType)}\n docUrls={docUrls}\n setDocUrls={setDocUrls}\n isViewMode={true}\n />\n
    \n
    \n\n
    \n {/* Agreement Expiry Date */}\n
    \n \n setExpiryDate(e.target.value)}\n />\n
    \n
    \n\n {/* Remarks */}\n
    \n setRemarks(e.target.value)}\n />\n
    \n\n {/* Buttons */}\n
    \n \n \n
    \n
    \n
    \n );\n};\n\n// Wrap with reduxForm\nexport default reduxForm({\n form: 'legalInputs', // Unique form name\n})(LegalInputs);\n","import {\n ERROR_MESSAGES,\n SUCCESS_MESSAGES,\n} from 'utils/constants/toastMessages';\n\nimport { API_UPDATE_MAKER_REQUEST } from 'utils/API/apiUrls';\nimport { POST } from 'utils/fetchWrappers';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { FormElems } from 'components';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport { useHistory } from 'react-router-dom';\nimport { cleanCheckerRemarks, isApproveRejectDisable, transformCheckerData } from './mleMakerChecker.utils';\nimport { APPROVE, REJECT } from './constant';\n\nconst MleCheckerApprovalForm = ({\n requestDetails,\n auth,\n closePopup,\n showLoader,\n hideLoader,\n isBDOnboarding,\n checkerRemarks,\n raisedToLevel,\n isViewMode\n}) => {\n const loggedInUserLevel = auth?.userDetails?.level;\n \n const [comment, setComment] = useState(requestDetails?.remarks || null);\n const [isApproved, setIsApproved] = useState('');\n const [buttonAction, setButtonAction] = useState(''); // Tracks the button action.\n const [approveDisable, setApproveDisable] = useState(true);\n const history = useHistory();\n\n useEffect(() => {\n setApproveDisable(isApproveRejectDisable(checkerRemarks))\n }, [checkerRemarks]);\n\n // console.log(\"view mode : \", isViewMode);\n\n // const validateCheckerRemarks = (checkerRemarks) => {\n // console.log(\"validateCheckerRemarks checkerRemarks\",checkerRemarks);\n // if(!checkerRemarks){\n // toast.error('Please select a status for all items.');\n // const firstRadio = document.querySelector('input[type=\"radio\"]:not(:checked)');\n // if (firstRadio) {\n // firstRadio.scrollIntoView({ behavior: 'smooth', block: 'center' });\n // }\n // return false; // Validation failed\n // }\n\n // // Check if all radio buttons are selected\n // const unselectedRadioIndex = checkerRemarks.findIndex(item => !item.status);\n // if (unselectedRadioIndex !== -1) {\n // toast.error('Please select a status for all items.');\n // const unselectedRadio = document.querySelector(\n // `input[type=\"radio\"][name=\"${unselectedRadioIndex}\"]:not(:checked)`\n // );\n // if (unselectedRadio) {\n // unselectedRadio.scrollIntoView({ behavior: 'smooth', block: 'center' });\n // }\n // return false; // Validation failed\n // }\n \n // // Check if rejected items have remarks\n // const invalidCheckerRemarksIndex = checkerRemarks.findIndex(\n // (item) => item.status === REJECT && (!item.remarks || item.remarks.trim() === '')\n // );\n // if (invalidCheckerRemarksIndex !== -1) {\n // toast.error('Remarks are mandatory for rejected items.');\n // const invalidRemarkInput = document.querySelector(\n // `.eachRemarks[name=\"${invalidCheckerRemarksIndex}\"]`\n // );\n // if (invalidRemarkInput) {\n // invalidRemarkInput.classList.add('input-error');\n // invalidRemarkInput.scrollIntoView({ behavior: 'smooth', block: 'center' });\n // }\n // return false; // Validation failed\n // }\n \n // return true; // Validation passed\n // };\n\n\n const validateCheckerRemarks = (checkerRemarks) => {\n // Normalize checkerRemarks to always be a flat array\n const normalizedRemarks = checkerRemarks;\n if (!normalizedRemarks || normalizedRemarks.length === 0) {\n toast.error('Please select a status for all items.');\n const firstRadioButton = document.querySelector(`input[type=\"radio\"]:not(:checked)`);\n if (firstRadioButton) {\n firstRadioButton.scrollIntoView({ behavior: 'smooth', block: 'center' });\n firstRadioButton.focus(); // Optionally focus the element for better user experience\n }\n return false; // Validation failed\n }\n \n // Check if all radio buttons are selected\n const unselectedRadioIndex = normalizedRemarks.findIndex((item) => !item.status);\n if (unselectedRadioIndex !== -1) {\n toast.error('Please select a status for all items.');\n const unselectedRadio = document.querySelector(\n `input[type=\"radio\"][name=\"${unselectedRadioIndex}\"]:not(:checked)`\n );\n if (unselectedRadio) {\n unselectedRadio.scrollIntoView({ behavior: 'smooth', block: 'center' });\n }\n return false; // Validation failed\n }\n \n // Check if rejected items have remarks\n const invalidCheckerRemarksIndex = normalizedRemarks.findIndex(\n (item) => item.status === REJECT && (!item.remarks || item.remarks.trim().length < 2));\n if (invalidCheckerRemarksIndex !== -1) {\n toast.error('Remarks are mandatory for rejected items and must be at least 2 characters long.');\n const invalidRemarkInput = document.querySelector(\n `.eachRemarks[name=\"${invalidCheckerRemarksIndex}\"]`\n );\n if (invalidRemarkInput) {\n invalidRemarkInput.classList.add('input-error');\n invalidRemarkInput.scrollIntoView({ behavior: 'smooth', block: 'center' });\n }\n return false; // Validation failed\n }\n \n return true; // Validation passed\n };\n \n const handleFormSubmit = async event => {\n event.preventDefault();\n // console.log(\"checkerRemarks\",checkerRemarks,\".........\");\n // in case when checkerRemakrs has two array in it \n const normalizedCheckerRemarks = Array.isArray(checkerRemarks)\n ? [...checkerRemarks]\n : transformCheckerData(checkerRemarks);\n let transformedCheckerRemarks = [];\n if (Array.isArray(normalizedCheckerRemarks)) {\n transformedCheckerRemarks = cleanCheckerRemarks(normalizedCheckerRemarks);\n }\n\n const payload = {\n makerRequestId: requestDetails.makerRequestId,\n remarks: comment,\n eventType: requestDetails.eventType,\n status: isApproved ? 'APPROVED' : 'REJECTED',\n remarkBy: auth.userDetails.email || '',\n checkerRemarks: transformedCheckerRemarks,\n raisedToLevel: buttonAction === 'RAISE_TO_LEVEL' ? raisedToLevel : null, // Adjust based on action\n }; \n console.log(\"🚀 ~ payload:\", payload);\n // return;\n if (!validateCheckerRemarks(transformedCheckerRemarks)) {\n return; // Stop form submission if validation fails\n }\n if (!comment || comment?.length <= 1) {\n toast.error(\"Overall Remarks cannot be blank and must be at least 2 characters long.\")\n return;\n }\n if(transformedCheckerRemarks && transformedCheckerRemarks.every((item)=>item.status===APPROVE) && buttonAction===REJECT){\n toast.error(\"Cannot be rejected, since all fields are approved.\");\n return;\n }\n if(transformedCheckerRemarks && transformedCheckerRemarks.some((item)=>item.status===REJECT) && (buttonAction===APPROVE)){\n toast.error(\"Cannot be approved, since some fields are rejected.\");\n return;\n }\n\n try {\n // console.log(\"here\")\n showLoader && showLoader(); // Make sure showLoader exists\n // console.log(\"here2\", API_UPDATE_MAKER_REQUEST);\n const response = await POST(API_UPDATE_MAKER_REQUEST, payload, {});\n // console.log(\"here3\");\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n toast.success(SUCCESS_MESSAGES.APPLICATION_UPDATED_SUCCESSFULLY);\n history.push('/checker');\n } else {\n toast.error(data.errorMessage);\n }\n } catch (error) {\n const errorMessage = error?.response?.data?.errorMessage || ERROR_MESSAGES.FALLBACK_ERROR;\n toast.error(errorMessage);\n } finally {\n if (typeof hideLoader === 'function') {\n hideLoader(); // Ensure hideLoader is called only if defined\n }\n }\n };\n return (\n
    \n
    \n {/*

    Remark

    */}\n setComment(value)}\n placeholder=\"Please enter your remarks\"\n value={comment}\n />\n
    \n {!isViewMode && (\n
    \n {\n setIsApproved(false);\n setButtonAction(REJECT);\n }}\n customClass=\"back-btn\"\n isDisable={!approveDisable}\n />\n {raisedToLevel !=='null' && raisedToLevel && (\n {\n setIsApproved(true);\n setButtonAction('RAISE_TO_LEVEL');\n }}\n customClass=\"back-btn\"\n isDisable = {loggedInUserLevel === 'L3'}\n />\n )}\n {\n setIsApproved(true);\n setButtonAction(APPROVE);\n }}\n isDisable={approveDisable}\n />\n
    \n )}\n
    \n );\n};\n\nMleCheckerApprovalForm.propTypes = {\n closePopup: PropTypes.func,\n requestDetails: PropTypes.object,\n auth: PropTypes.object,\n eventType: PropTypes.string,\n showLoader: PropTypes.func,\n hideLoader: PropTypes.func,\n isViewMode: PropTypes.bool\n};\n\nexport default MleCheckerApprovalForm;\n","import React from 'react';\nimport Accordion from \"components/Accordion\";\nimport OwnershipDetailsView from \"./OwnershipDetailsView\";\n\nconst UboDetailsAccordion = ({ transformedData, data, auth, handleCheckerRemarksData, isViewMode }) => {\n // Determine the uboDetails data, prioritizing transformedData if available\n const uboDetails = transformedData.uboDetails || data.uboDetails;\n \n console.log(\"uboDetails\", uboDetails);\n \n // Return the JSX, mapping through uboDetails array to render Accordion components\n return (\n
    \n {uboDetails.map((uboDetailsitem, uboDetailsindex) => (\n {`UBO Details ${uboDetailsindex + 1}`}}\n isOpened\n isArrowIndicator\n lowerComponent={\n \n }\n />\n ))}\n
    \n );\n };\n \n export default UboDetailsAccordion;\n ","import React, { useEffect, useState } from 'react';\nimport Accordion from '../Accordion';\nimport './mleMakerChecker.scss';\nimport OwnershipDetailsView from './OwnershipDetailsView';\nimport MleCheckerApprovalForm from './MleCheckerApprovalForm';\nimport UboDetailsAccordion from './UboDetailAccordian';\nimport { convertArrayToObject } from './mleMakerChecker.utils';\n\nconst OwnershipDetailsAccordion = ({ data, additionalData, auth, isViewMode }) => {\nconsole.log(\"🚀 ~ OwnershipDetailsAccordion ~ data, additionalData:\", data, additionalData)\n\n const [checkerRemarksData, setCheckerRemarksData] = useState({\n uboDeclarationUrls: [],\n 'uboDetails.0': [],\n });\n const [transformedData, setTransformedData] = useState({});\n\n const handleCheckerRemarksData = (section, updatedData) => {\n // console.log(\"section\", section, updatedData);\n setCheckerRemarksData(prevState => ({\n ...prevState,\n [section]: updatedData,\n }));\n };\n useEffect(() => {\n let transformedData = convertArrayToObject(additionalData?.childCheckerResponseList?.[1]?.checkerRemarks[0])\n setTransformedData(transformedData);\n }, []);\n\n const checkerLevel = additionalData?.childCheckerResponseList?.[0]?.approvalLevel || null;\n // console.log(\"checker current level of ownership section : \", checkerLevel);\n\n const levelMapping = {\n L1: 'L2',\n L2: 'L3',\n L3: null, \n };\n const raisedToLevel = levelMapping[checkerLevel] || null;\n // console.log(\"raised level of ownership section : \", raisedToLevel);\n\n // console.log(\"transformed data\", transformedData, checkerRemarksData);\n let requestCheckerData = checkerRemarksData;\n if (Object.keys(requestCheckerData).length === 0) {\n requestCheckerData = transformedData;\n }\n return (\n
    \n {\n !!data?.uboDeclarationUrls && (\n {`UBO Declaration Urls`}}\n isOpened\n isArrowIndicator\n lowerComponent={\n \n }\n />\n )\n }\n \n\n \n
    \n );\n};\n\nexport default OwnershipDetailsAccordion;\n","import React, { useEffect, useState } from 'react';\nimport Accordion from '../Accordion';\nimport './mleMakerChecker.scss';\nimport MerchantDetailsView from './MerchantDetailsView';\nimport MleCheckerApprovalForm from './MleCheckerApprovalForm';\nimport { convertArrayToObject } from './mleMakerChecker.utils';\n\nconst BusinessDetailsAccordion = ({ data, additionalData, auth, isViewMode }) => {\n const [checkerRemarksData, setCheckerRemarksData] = useState([]);\n const [fieldsWithViewLink, setFieldsWithViewLink] = useState([]);\n const [transformedData, setTransformedData] = useState({});\n const handleCheckerRemarksData = (updatedData) => {\n setCheckerRemarksData(updatedData);\n };\n \n const currentEventType = additionalData?.childCheckerResponseList?.[0]?.eventType || '';\n const currentMakerRequestId = additionalData?.childCheckerResponseList?.[0]?.makerRequestId || '';\n // const raisedToLevel = additionalData?.childCheckerResponseList?.[0]?.approvalLevel || null;\n const checkerLevel = additionalData?.childCheckerResponseList?.[0]?.approvalLevel || null;\n const remarks = additionalData?.childCheckerResponseList?.[0]?.remarks || null;\n // console.log(\"checker current level : \", checkerLevel);\n\n const levelMapping = {\n L1: 'L2',\n L2: 'L3',\n L3: null, \n };\n const raisedToLevel = levelMapping[checkerLevel] || null;\n // console.log(\"raised level: \", raisedToLevel);\n \n useEffect(() => {\n // let transformedData = convertArrayToObject(additionalData?.childCheckerResponseList?.[0]?.checkerRemarks[0])\n // console.log(\"🚀 ~ transformedData:\", transformedData);\n // setTransformedData(transformedData);\n setTransformedData(additionalData?.childCheckerResponseList?.[0]?.checkerRemarks[0])\n}, []);\n\n return (\n
    \n {/* Business Details}\n lowerComponent={ */}\n \n {/* }\n /> */}\n 0\n ? checkerRemarksData\n : transformedData\n }\n auth={auth}\n isViewMode={isViewMode}\n />\n
    \n );\n};\n\nexport default BusinessDetailsAccordion;\n","import { BUSINESS_SECTION_TYPE_MLE, mleFields, PREFIX_KYCURLS } from \"components/Onboarding/Mle/BusinessTab/contants\";\nimport { GST, KYC_FILES } from \"components/Onboarding/Mle/mle.constants\";\nimport { fetchFieldValue, setFieldValue } from \"components/Onboarding/Mle/mle.utils\";\nimport { UBO_SECTION_TYPE, uboDeclarationUrls } from \"components/Onboarding/Mle/UobTab/constant\";\nimport { inProcessMock } from \"mockApiWiseReqRes\";\nimport { toast } from \"react-toastify\";\nimport { apiStatusCodes } from \"utils/API/apiStatusCodes\";\nimport { API_FORM_IN_PROCESS } from \"utils/API/apiUrls\";\nimport { FORM_TYPE, MAKER_CHECKER_EVENT_TYPES_MLE, MOCK_API_VALUE } from \"utils/constants/commonValues\";\nimport { POST } from \"utils/fetchWrappers\";\n\n\nexport const mutateMleDataMerchant = (data, sectionType) => {\n // console.log(\"data, \", data, sectionType);\n let resp = JSON.parse(JSON.stringify(data));\n try {\n // console.log(\"data.telephoneNumbers\", data.telephoneNumbers, )\n if (sectionType === BUSINESS_SECTION_TYPE_MLE || sectionType?.toLowerCase() === MAKER_CHECKER_EVENT_TYPES_MLE.business.toLowerCase()) {\n if (typeof data?.telephoneNumbers === 'object' && data?.telephoneNumbers?.length) \n resp.telephoneNumbers = parseInt(data.telephoneNumbers[0]);\n if (typeof data?.mobileNumbers === 'object' && data?.mobileNumbers?.length)\n resp.mobileNumbers = parseInt(data.mobileNumbers[0]);\n // console.log(\"fetchFieldValue(data, mleFields.panUpload.reqname)\", fetchFieldValue(data, mleFields.panUpload.reqname))\n let panValue = fetchFieldValue(data, mleFields.panUpload.reqname);\n if (panValue && panValue != {}) {\n setFieldValue(resp, mleFields.panUpload.name, {\n name: mleFields.panUpload.name,\n value: {name: panValue?.split('/').pop()}\n });\n }\n // console.log(\"gst\", data?.[PREFIX_KYCURLS]?.[GST]);\n if (data?.[PREFIX_KYCURLS]?.[GST]) {\n let gstUrlValue = data?.[PREFIX_KYCURLS]?.[GST]?.toString();\n resp[mleFields.gstUpload.name] = {\n name: mleFields.gstUpload.name,\n value: {name: gstUrlValue?.split('/').pop()}\n };\n resp[mleFields.gstUpload.reqName] = gstUrlValue;\n delete resp[PREFIX_KYCURLS][GST];\n }\n\n if (data?.[PREFIX_KYCURLS]) {\n resp[KYC_FILES] = {};\n Object.keys(data[PREFIX_KYCURLS]).map(key => {\n if (data[PREFIX_KYCURLS][key]) {\n // resp[PREFIX_KYCURLS][key] = data[PREFIX_KYCURLS][key].toString();\n resp[KYC_FILES][key] = {};\n // resp[PREFIX_KYCURLS][key] = data[PREFIX_KYCURLS][key].toString();\n }\n })\n }\n } else if (sectionType === UBO_SECTION_TYPE || sectionType?.toLowerCase() === MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase()) {\n if (data[uboDeclarationUrls.reqname]) {\n resp[uboDeclarationUrls.name] = {}; \n resp[uboDeclarationUrls.reqname] = data[uboDeclarationUrls.reqname].toString();\n }\n if (Array.isArray(data?.uboDetails)) {\n data.uboDetails.map((uboDetailsItem, uboDetailsIdx) => {\n resp.uboDetails[uboDetailsIdx].panurl = {};\n resp.uboDetails[uboDetailsIdx].addressFile = {};\n })\n }\n }\n } catch(e) {\n console.log()\n }\n console.log(\"mutateMleDataMerchant\", resp);\n return resp;\n}\n\nexport const fetchMleDataDraft = async () => {\n try {\n const request = {\n formType: FORM_TYPE.MLE_ON_BOARD,\n };\n let data = {};\n if (MOCK_API_VALUE) {\n data = inProcessMock(FORM_TYPE.MLE_ON_BOARD);\n } else {\n data = (await POST(API_FORM_IN_PROCESS, request)).data;\n }\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n return data;\n } else if (data?.errorMessage){\n toast.error(data?.errorMessage);\n }\n } catch(e) {\n\n }\n return {};\n}","import { BUSINESS_SECTION_TYPE_MLE, mleFields, PREFIX_KYCURLS } from \"components/Onboarding/Mle/BusinessTab/contants\";\nimport { GST } from \"components/Onboarding/Mle/mle.constants\";\nimport { mutateMleDataMerchant } from \"containers/MerchantLegalEntity/merchantLegalEntity.utils\";\n\nexport const MAKER_BASE_URL = '/maker/';\n\nconst convertCheckerRemarks = checkerRemarks => {\n let updatedRemark = {};\n checkerRemarks.map(item => {\n if (item.key === `${PREFIX_KYCURLS}.${GST}`) {\n updatedRemark[mleFields.gstUpload.reqName] = {\n ...item\n }\n } else {\n updatedRemark[item.key] = {\n ...item,\n };\n }\n });\n\n return updatedRemark;\n};\n\nexport const getMakerData = (data, sectionType) => {\n // console.log('...sahi data', data, sectionType);\n let requestedData = {};\n let formIdentityData = {};\n let draftData = {};\n let checkerRemarks = {};\n let isViewMode = true;\n if (typeof data?.childCheckerResponseList === 'object') {\n data.childCheckerResponseList.map(makerCheckerResponse => {\n if (makerCheckerResponse) {\n if (\n sectionType === makerCheckerResponse.eventType.toLowerCase() \n && makerCheckerResponse?.request && makerCheckerResponse?.message\n ) {\n requestedData = JSON.parse(\n makerCheckerResponse.request\n );\n formIdentityData = JSON.parse(\n makerCheckerResponse.message\n )\n // console.log('businessData : ', requestedData);\n draftData = { ...mutateMleDataMerchant({...requestedData}, sectionType) };\n checkerRemarks = makerCheckerResponse?.checkerRemarks?.[0] || [];\n isViewMode = makerCheckerResponse?.userActionStatus !== 'PENDING'\n }\n }\n });\n }\n let updatedRemark = {};\n if (checkerRemarks?.length) {\n updatedRemark = convertCheckerRemarks(checkerRemarks);\n }\n // console.log('checkerRemarks', checkerRemarks);\n // console.log('requestedData', requestedData);\n // console.log(\"formIdentityData\", formIdentityData)\n // console.log('draftData : ', draftData);\n\n return { draftData, checkerRemarks: updatedRemark, formIdentityData, isViewMode };\n};\n","import { fieldLevelValidators, validators } from \"utils/validators\";\nimport { fetchFieldValue, setFieldValue } from \"./mle.utils\";\n\nexport const generalValidationFunction = (values, fields, idxName) => {\n const errors = {};\n try {\n console.log(\"valuesgeneralValidationFunction\", values, fields, idxName);\n // return errors;\n Object.keys(fields).map(item => {\n let itemData = fields[item];\n let name = typeof itemData.name !== 'string' ? itemData.name(idxName) : itemData.name;\n // console.log(\"item name\", name, itemData.name, typeof itemData.name);\n let fieldData = fetchFieldValue(values, name);\n // console.log(\"itemData..Data..name\", itemData, fieldData, name);\n if (itemData?.fieldValidations) {\n let fieldValidations = itemData.fieldValidations;\n if (fieldValidations.required) {\n setFieldValue(errors, name, fieldLevelValidators.required(fieldData));\n }\n if (fieldValidations.emailValid) {\n setFieldValue(errors, name, fieldLevelValidators.email(fieldData));\n }\n if (fieldValidations.mobileValid) {\n setFieldValue(errors, name, fieldLevelValidators.mobileNumber(fieldData));\n }\n if (fieldValidations.panValid) {\n setFieldValue(errors, name, fieldLevelValidators.pan(fieldData));\n }\n if (fieldValidations.gstValid) {\n setFieldValue(errors, name, fieldLevelValidators.gst(fieldData));\n }\n if (fieldValidations.aadharValid) {\n setFieldValue(errors, name, fieldLevelValidators.aadhar(fieldData));\n }\n if (fieldValidations.numericValid) {\n setFieldValue(errors, name, fieldLevelValidators.numeric(fieldData));\n }\n if (fieldValidations.alphaValid) {\n setFieldValue(errors, name, fieldLevelValidators.alphaWithSpace(fieldData));\n }\n if (fieldValidations.urlValid) {\n setFieldValue(errors, name, validators.URL(fieldData));\n }\n if (fieldValidations.pinValid) {\n setFieldValue(errors, name, fieldLevelValidators.pin(fieldData));\n }\n if (fieldValidations.haveNumberValid) {\n // console.log(\"adssasdsds\");\n setFieldValue(errors, name, fieldLevelValidators.containsNumber(fieldData));\n }\n }\n })\n console.log(\"errors\", errors);\n } catch(e) {\n console.log(\"errors general validator\", e);\n }\n return errors;\n}","import { toast } from 'react-toastify';\nimport { generalValidationFunction } from '../mle.validation';\nimport { MAXIMUM_VALUE, MINIMUM_VALUE, MLE_CREATE_FORM_NAME, mleFields, PREFIX_KYCURLS } from './contants';\nimport { FORM_ERRORS, KYC_FILES } from '../mle.constants';\nimport { isAllErrorFixed, setFieldValue } from '../mle.utils';\nimport { fieldLevelValidators } from 'utils/validators';\n\nconst ATLEAST = (val) => `Value must be at least ${val}. `;\nconst EXCEED = (val) => `Value must not exceed ${val}. `;\n\nconst validate = (values, props, basicData) => {\n const errors = generalValidationFunction(values, mleFields); \n console.log(\"valuesvalidate\", values);\n if (values?.[MINIMUM_VALUE] && values?.[mleFields.turnoverAmount.name] < values?.[MINIMUM_VALUE]) {\n setFieldValue(errors, mleFields.turnoverAmount.name, ATLEAST(values[MINIMUM_VALUE]));\n }\n if (values?.[MAXIMUM_VALUE] && values?.[mleFields.turnoverAmount.name] > values?.[MAXIMUM_VALUE]) {\n setFieldValue(errors, mleFields.turnoverAmount.name, EXCEED(values[MAXIMUM_VALUE]));\n }\n if (values?.mandatoryDocs && Array.isArray(values?.mandatoryDocs)) {\n for (let i = 0; i < values.mandatoryDocs.length; i++) {\n let item = values.mandatoryDocs[i];\n if (item?.docType) {\n // errors[`${KYC_FILES}.${item.docType}`] = fieldLevelValidators.required(values?.[PREFIX_KYCURLS]?.[item.docType]);\n if (item?.maxDocCount > 1) {\n let valueExist = values?.[PREFIX_KYCURLS]?.[item.docType]?.length > 0 ? 'exist': null;\n setFieldValue(errors, `${PREFIX_KYCURLS}.${item.docType}`, fieldLevelValidators.required(valueExist));\n }\n else \n setFieldValue(errors, `${KYC_FILES}.${item.docType}`, fieldLevelValidators.required(values?.[KYC_FILES]?.[item.docType] || null));\n }\n }\n }\n console.log(\"errorsvalidators\", errors);\n // if (errors.address) delete errors.address;\n if (errors && !isAllErrorFixed(errors)){\n // console.log(\"Call in here\", isAllErrorFixed(errors));\n return errors;\n // toast.error(FORM_ERRORS);\n // props.stopSubmit(MLE_CREATE_FORM_NAME, errors);\n } else {\n return {};\n }\n};\n\nexport default validate;\n","import { FormElems } from 'components';\nimport { BUSINESS_SECTION_TYPE_MLE } from 'components/Onboarding/Mle/BusinessTab/contants';\nimport MyTooltip from 'components/Onboarding/Mle/BusinessTab/MyTooltip';\nimport { ERROR_FETCH } from 'components/Onboarding/Mle/mle.constants';\nimport { defaultOption, fetchFieldValue, fetchPinCodeDetails, FIELD_TYPES, isApproved, redClassRemarksCond, removeDuplicates } from 'components/Onboarding/Mle/mle.utils';\nimport React, { useEffect, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport { Field } from 'redux-form';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { nameValueOptions } from 'utils/helperMethods';\n\nconst Address = (props) => {\n const {\n fields,\n setIsUploading,\n setPinCodeDetails,\n actions,\n formName,\n pinCodeDetails,\n isViewMode,\n values,\n checkerRemarks\n } = props;\n\n const [disablePinFields, setDisablePinFields] = useState(!fetchFieldValue(values, fields.pin.name));\n const [fieldEditable, setFieldEditable] = useState(false);\n\n // console.log(\"addressvalues\", values);\n useEffect(() => {\n if (pinCodeDetails.length > 0) {\n console.log(\"update state and district\");\n actions.change(formName, fields.state.name, pinCodeDetails[0].stateName);\n actions.change(formName, fields.district.name, pinCodeDetails[0].districtName);\n }\n }, [pinCodeDetails]);\n\n useEffect(() => {\n // console.log(\"values[fields.pin.name]\", values, fields.pin.name, values[fields.pin.name]);\n let pin = fetchFieldValue(values, fields.pin.name) || '';\n // console.log(\"pin \", pin);\n if (pin?.toString()?.length)\n handlePinValue(pin)\n }, []);\n\n const handlePinValue = async (pin) => {\n // console.log(\"mutate form data\", mutateFormData, mleFields.pin.name);\n setIsUploading(true)\n try {\n\n // let pin = fetchFieldValue(mutateFormData.values, mleFields.pin.name);\n console.log(\"pin.........\", pin);\n if (pin?.toString()?.length == 6) {\n // toast.error(PIN_ERROR);\n // return;\n let payload = {\n sectionType: BUSINESS_SECTION_TYPE_MLE,\n fieldType: FIELD_TYPES.pinCode,\n fieldValue: pin\n }\n const pinData = await fetchPinCodeDetails(payload);\n setDisablePinFields(false);\n if (pinData.statusCode != apiStatusCodes.SUCCESS2) {\n setFieldEditable(true);\n } else {\n setFieldEditable(false);\n }\n console.log(\"fetched pin data\", pinData);\n \n setPinCodeDetails(pinData?.basicSectionData?.pinCodeDetails || []);\n } else {\n setFieldEditable(false);\n }\n } catch(e) {\n setFieldEditable(true);\n console.log(\"eee\", e.message);\n toast.error(ERROR_FETCH);\n }\n setIsUploading(false);\n }\n\n let states = removeDuplicates(pinCodeDetails, 'stateName').map(item => item.stateName);\n let districts = pinCodeDetails.map(item => item.districtName);\n return (\n <>\n
    \n

    \n {fields.pin.label}\n *\n \n

    \n {}}\n onChange={handlePinValue}\n disabled={isViewMode || isApproved(checkerRemarks, fields.pin.name)}\n />\n
    \n
    \n

    \n {fields.district.label}\n *\n \n

    \n {!fieldEditable && (\n \n )}\n {fieldEditable && (\n \n )}\n
    \n
    \n

    \n {fields.state.label}\n *\n \n

    \n {!fieldEditable && (\n \n )}\n {fieldEditable && (\n \n )}\n
    \n
    \n

    \n {fields.address.label}\n *\n \n

    \n \n
    \n \n );\n};\n\nexport default Address;\n","import Address from \"./Address\";\n\nexport default Address;","import { FormElems } from 'components';\nimport { VERIFIED } from 'components/Onboarding/Mle/mle.utils';\nimport React from 'react'\n\nconst VerifyButton = (props) => {\n const {\n isVerified,\n field,\n isDisable,\n handleClick\n } = props;\n // console.log(\"verified\", props);\n return (\n <>\n {isVerified && (\n
    \n \n {e.preventDefault()}}\n isDisable={true}\n />\n
    \n \n )}\n {!isVerified && (\n
    \n \n {\n handleClick(e)\n }}\n isDisable={isDisable}\n />\n
    \n \n )}\n \n )\n}\n\nexport default VerifyButton\n","import { FormElems } from 'components';\nimport DatePicker from 'components/DatePicker';\nimport { MLE_CREATE_FORM_NAME } from 'components/Onboarding/Mle/BusinessTab/contants';\nimport MyTooltip from 'components/Onboarding/Mle/BusinessTab/MyTooltip';\nimport { ERROR_FETCH, FILE_MSG, IMAGE_MSG, PAN } from 'components/Onboarding/Mle/mle.constants';\nimport {\n allowedExtensions,\n allowedImgExtensions,\n checkPiiData,\n fetchFieldValue,\n fetchPiiData,\n handlePiiUpload,\n handleVerifyPiiAccount,\n handleViewClick,\n hasDuplicates,\n isApproved,\n isPanVerifyDisable,\n redClassRemarksCond,\n VERIFIED,\n} from 'components/Onboarding/Mle/mle.utils';\nimport VerifyButton from 'components/VerifyButton/VerifyButton';\nimport moment from 'moment';\nimport React, { useEffect, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport { Field } from 'redux-form';\n\nconst PanOcr = props => {\n const {\n fields,\n formName,\n actions,\n setPiiData,\n setIsUploading,\n piiData,\n isViewMode,\n setSelectedDocument,\n setIsPiiVerified,\n itemCount,\n isPiiVerified,\n values,\n checkerRemarks,\n setIntentId = null,\n intentId,\n clearClicked,\n panNumbers=[]\n } = props;\n // console.log(\"piiData[PAN]\", piiData[PAN], isPiiVerified);\n const [panDate, setPanDate] = useState(fetchFieldValue(values, fields.panDate.name) || null);\n const [focusedInput, setFocusedInput] = useState();\n\n // useEffect(() => {\n // if (values[fields.panUpload.reqname]) {\n\n // }\n // }, []);\n\n useEffect(() => {\n // console.log(\"clear clicked\", clearClicked);\n if (clearClicked)\n setPanDate(null);\n }, [clearClicked]);\n // console.log(\"panDate\", panDate);\n\n useEffect(() => {\n let panUploaded = piiData[PAN];\n console.log('pan uploaded', panUploaded);\n\n if (panUploaded?.documentDetails) {\n let documentDetails = panUploaded?.documentDetails;\n // console.log(\"documentDetails.dob.value\", documentDetails.dob?.value);\n let dob = moment(documentDetails.dob?.value);\n // console.log(\"dob\", dob);\n // console.log(\n // 'document details dob',\n // fields.pan.name,\n // documentDetails.panNumber?.value,\n // fields.panDate.name,\n // dob.format('YYYY/MM/DD'),\n // fields.panName.name,\n // documentDetails.name?.value\n // );\n if (documentDetails.panNumber?.value) {\n actions.change(\n formName,\n fields.pan.name,\n documentDetails.panNumber?.value\n );\n } else {\n actions.change(\n formName,\n fields.pan.name,\n null\n );\n }\n if (documentDetails.dob?.value) {\n actions.change(\n formName,\n fields.panDate.name,\n dob.format('YYYY/MM/DD')\n );\n setPanDate(dob);\n } else {\n actions.change(\n formName,\n fields.panDate.name,\n null\n );\n setPanDate(null);\n }\n if (documentDetails.name?.value) {\n actions.change(\n formName,\n fields.panName.name,\n documentDetails.name?.value\n );\n } else {\n actions.change(\n formName,\n fields.panName.name,\n null\n );\n }\n }\n }, [piiData[PAN]?.documentDetails?.panNumber?.value, piiData[PAN]?.documentDetails?.dob?.value, piiData[PAN]?.documentDetails?.name?.value]);\n\n\n\n const handleChangePan = (val) => {\n try{\n setPiiData((data) => {\n // console.log(\"adadsads\")\n let piiCode = data;\n checkPiiData(piiCode, PAN, 'panNumber')\n // console.log(\"pii \", piiCode);\n piiCode[PAN].documentDetails.panNumber.value = val;\n // console.log(\"piicode\", piiCode);\n return piiCode\n });\n } catch(e) {\n console.log(\"e message\", e.message);\n }\n\n }\n const handleChangePanName = (val) => {\n try {\n setPiiData((data) => {\n let piiCode = data;\n checkPiiData(piiCode, PAN, 'name')\n piiCode[PAN].documentDetails.name.value = val;\n return piiCode;\n });\n } catch(e) {\n\n }\n\n }\n const handleDateChange = (date) => {\n // console.log(\"date\", date);\n if (date) {\n setPiiData((data) => {\n let piiCode = data;\n checkPiiData(piiCode, PAN, 'dob')\n // console.log(\"piidata\", piiCode);\n piiCode[PAN].documentDetails.dob.value = date.format('YYYY/MM/DD');\n // console.log(\"ipdate\", piiCode);\n return piiCode;\n });\n // console.log(\"date\", date.format('YYYY/MM/DD'));\n }\n }\n // console.log('fields pan ocr', piiData, piiData?.[PAN]?.s3Path, isPiiVerified);\n\n const isPanVerified = isPiiVerified?.[PAN]?.verifiedStatus === VERIFIED;\n const isPanVerifyButtonDisable = hasDuplicates(panNumbers);\n\n return (\n <>\n
    \n

    \n {fields.panUpload.label}\n *\n \n

    \n
    \n {}}\n uploadImageAndGetURL={file => {\n return handlePiiUpload({\n file: file,\n type: PAN,\n name: fields.panUpload.reqname,\n actions: actions,\n setPiiData: setPiiData,\n setIsPiiVerified: setIsPiiVerified,\n setIsUploading: setIsUploading,\n formName: formName\n });\n }}\n docUrl={piiData?.[PAN]?.s3Path || piiData?.[PAN]?.s3Url || ''}\n handleView={docUrl =>\n handleViewClick(\n docUrl,\n setIsUploading,\n setSelectedDocument\n )\n }\n component={FormElems.UploadElement}\n name={fields.panUpload.name}\n type={fields.panUpload.type}\n id={fields.panUpload.reqname}\n placeholder={fields.panUpload.label}\n allowedExtensions={allowedImgExtensions}\n MaxFileSize={fields.panUpload.maxFileSize}\n accept={fields.panUpload.accept}\n infoElement={`${IMAGE_MSG}${allowedImgExtensions.join(', ')}`}\n isActionIcon\n disabled={\n isViewMode ||\n (isApproved(checkerRemarks, fields.panUpload.reqname) &&\n isApproved(checkerRemarks, fields.pan.name) &&\n isApproved(checkerRemarks, fields.panName.name) &&\n isApproved(checkerRemarks, fields.panDate.name))\n }\n labelName={\"PAN Document\"}\n />\n
    \n
    \n
    \n

    \n {fields.pan.label}\n *\n \n

    \n \n
    \n
    \n

    \n {fields.panName.label}\n *\n \n

    \n \n
    \n
    \n

    \n {fields.panDate.label}\n *\n \n

    \n\n {\n setPanDate(selectedDate);\n // console.log('selected date', selectedDate);\n }}\n placeholder={fields.panDate.label}\n onFocusedInput={setFocusedInput}\n focusedInput={focusedInput}\n disabled={\n isViewMode ||\n !piiData?.[PAN]?.s3Url ||\n isPanVerified ||\n isApproved(checkerRemarks, fields.panDate.name)\n }\n isOutsideRange={() => false}\n />\n
    \n {itemCount % 2 === 0 &&
    }\n handleVerifyPiiAccount(e, {\n type: PAN,\n piiData,\n setIsUploading,\n setIsPiiVerified,\n setIntentId: setIntentId,\n intentId: intentId\n })}\n />\n \n );\n};\n\nexport default PanOcr;\n","import React, { useEffect, useState } from 'react';\nimport { change, Field } from 'redux-form';\nimport { FormElems } from '../../..';\nimport { BUSINESS_SECTION_TYPE_MLE, MAXIMUM_VALUE, MINIMUM_VALUE, MLE_CREATE_FORM_NAME, mleFields, PIN_ERROR, PREFIX_KYCURLS } from \"./contants\";\nimport { connect } from 'react-redux';\nimport { capitalizeFirstLetterOfEachWord, nameValueOptions } from '../../../../utils/helperMethods';\nimport { bindActionCreators } from 'redux';\nimport { allowedExtensions, allowedImgExtensions, checkPiiData, defaultOption, fetchBasicDataBusinessDetails, fetchFieldValue, fetchKycDocsS3Details, fetchPiiData, fetchPinCodeDetails, FIELD_TYPES, handlePiiUpload, handleVerifyPiiAccount, handleViewClick, isApproved, isGstVerifyDisable, isPanVerifyDisable, redClassRemarksCond, removeDuplicates, setInitialPiiData, showCheckerRemark, VERIFIED, verifyAccountDetails, verifyGstDetails, verifyPanDetails } from '../mle.utils';\nimport { ERROR_FETCH, FILE_MSG, GST, IMAGE_MSG, PAN } from '../mle.constants';\nimport { toast } from 'react-toastify';\nimport './businessTab.scss';\nimport Address from 'components/Address';\nimport { PanOcr } from 'components/PanOcr';\nimport VerifyButton from 'components/VerifyButton/VerifyButton';\nimport MyTooltip from './MyTooltip';\nimport { useHistory } from 'react-router-dom/cjs/react-router-dom';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { ERROR_MESSAGES } from 'utils/constants/toastMessages';\n\nconst fetchDataFromReducerObject = (merchantLegalEntityData) => {\n let constitutionTypes = [];\n let turnOverData = {};\n if (merchantLegalEntityData?.basicFormData?.basicSectionData) {\n let {basicSectionData} = merchantLegalEntityData.basicFormData;\n constitutionTypes = basicSectionData.constitutionTypes || [];\n turnOverData = basicSectionData.turnOverData || {};\n }\n\n return {\n constitutionTypes,\n turnOverData\n }\n}\n\nconst MleInformation = ({\n isViewMode,\n merchantLegalEntityData,\n actions,\n mutateFormData,\n setKycDocsList,\n setIsUploading,\n setSelectedDocument,\n setIsPiiVerified,\n isPiiVerified,\n checkerRemarks,\n setIntentId,\n intentId,\n setKycListUpdated\n}) => {\n // console.log(\"initial data\", checkerRemarks);\n const {constitutionTypes, turnOverData} = fetchDataFromReducerObject(merchantLegalEntityData);\n const [basicFormDataList, setBasicFormDataList] = useState({\n constitutionTypes,\n turnOverData\n })\n const history = useHistory();\n const [pinCodeDetails, setPinCodeDetails] = useState([]);\n const [piiData, setPiiData] = useState(setInitialPiiData({values: mutateFormData.values, fields: mleFields}));\n const [retryCount, setRetryCount] = useState(0);\n \n const [focusedInput, setFocusedInput] = useState(null);\n\n useEffect(() => {\n if (retryCount > 1) {\n toast.error(ERROR_MESSAGES.OFFLINE_MSG)\n history.push('/mle-onboarding');\n } else if (retryCount > 0) {\n setBasicFormData();\n }\n }, [retryCount]);\n // console.log(\"constitutionTypes......\", constitutionTypes);\n // console.log(\"mleinformationyahatohaaya\", retryCount, constitutionTypes, basicFormDataList);\n useEffect(() => {\n if (mutateFormData?.values?.[mleFields.businessType.name]) {\n handleChangeBusinessType(mutateFormData.values[mleFields.businessType.name], 'edit');\n }\n }, []);\n const handleChangeBusinessType = async (businessType, event = undefined, sad) => {\n setIsUploading(true);\n try {\n // console.log(\"business type\", businessType);\n let payload = {\n sectionType: BUSINESS_SECTION_TYPE_MLE,\n fieldType: FIELD_TYPES.constitutionType,\n fieldValue: businessType\n }\n let kycDocs = await fetchKycDocsS3Details(payload);\n // console.log(\"kucycys\", businessType, event, sad);\n let mandatoryDocs = kycDocs?.basicSectionData?.constitutionTypesDocuments?.mandatoryDocs || [];\n let partiallyMandatoryDocs = kycDocs?.basicSectionData?.constitutionTypesDocuments?.partiallyMandatoryDocs || [];\n setKycDocsList({ mandatoryDocs, partiallyMandatoryDocs });\n actions.change(MLE_CREATE_FORM_NAME, 'mandatoryDocs', mandatoryDocs);\n if (!event) {\n // console.log(\"evenet\", event);\n actions.change(MLE_CREATE_FORM_NAME, PREFIX_KYCURLS, null);\n setKycListUpdated((prev) => prev+1)\n }\n // actions.fetchKycDocumentsProcessV1(payload)// -- fetch kyc document list\n } catch(e) {\n toast.error(ERROR_FETCH);\n }\n setIsUploading(false);\n }\n const setBasicFormData = async () => {\n try {\n let sectionType = BUSINESS_SECTION_TYPE_MLE;\n let entityCode = BUSINESS_SECTION_TYPE_MLE;\n const data = await fetchBasicDataBusinessDetails({\n sectionType,\n entityCode\n });\n console.log(\"setBasicFormData\", data);\n if (data?.statusCode === apiStatusCodes.SUCCESS2) {\n setBasicFormDataList({\n constitutionTypes: data?.basicSectionData?.constitutionTypes,\n turnOverData: data?.basicSectionData?.turnOverData\n })\n } else {\n console.log(\"rerere\");\n setRetryCount((count) => count+1);\n \n }\n\n }\n catch(e) {\n console.log(\"setBasicFormDatae\", e);\n }\n }\n\n useEffect(() => {\n if (basicFormDataList?.constitutionTypes?.length === 0) {\n setBasicFormData()\n }\n }, [basicFormDataList.constitutionTypes]);\n\n // console.log(\"... on board data.....\", merchantLegalEntityData);\n \n // code for setting pin code\n // console.log(\"pincodes....\", pinCodeDetails);\n \n \n // useEffect(() => {\n\n // console.log(\"pan date\", panDate);\n \n // }, [panDate]);\n // console.log('states districts', states, districts);\n // code for setting pan date\n useEffect(() => {\n\n let gstUploaded = piiData[GST];\n // console.log('gst uploaded', gstUploaded);\n if (gstUploaded?.documentDetails) {\n let documentDetails = gstUploaded?.documentDetails;\n // console.log(\"document details\", documentDetails);\n if (documentDetails?.gstNumber?.value?.toString()?.length < 16)\n actions.change(MLE_CREATE_FORM_NAME, mleFields.gst.name, documentDetails?.gstNumber?.value);\n else {\n // console.log(\"MLE_CREATE_FORM_NAME\" );\n actions.change(MLE_CREATE_FORM_NAME, mleFields.gst.name, '');\n }\n // mutateFormData.values[mleFields.gst.name] = documentDetails?.gstNumber;\n }\n }, [piiData[GST]]);\n // console.log(\"pii data\", piiData);\n\n const handleChangeCategory = (val) => {\n actions.change(MLE_CREATE_FORM_NAME, MAXIMUM_VALUE, turnOverData[val].maximum); \n actions.change(MLE_CREATE_FORM_NAME, MINIMUM_VALUE, turnOverData[val].minimum);\n }\n\n \n // console.log(\"mutateFormData.values\", mutateFormData.values);\n \n\n // console.log(\"check select options\", constitutionTypes);\n\n const formattedConstitutionData = [...defaultOption, ...basicFormDataList?.constitutionTypes].map((item) => ({\n ...item,\n name: capitalizeFirstLetterOfEachWord(item.name), // Capitalize the first letter of the `name` field\n }));\n\n const handleChangegst = (val) => {\n try {\n setPiiData((data) => {\n let piiCode = data;\n checkPiiData(piiCode, GST, 'gstNumber')\n piiCode[GST].documentDetails.gstNumber.value = val;\n return piiCode;\n });\n } catch(e) {\n\n }\n\n }\n\n console.log(\"mle informationhere\");\n\n\n return (\n
      \n
    • \n
      \n

      \n {mleFields.legalName.label}\n *\n \n

      \n \n
      \n
      \n

      \n {mleFields.brandName.label}\n *\n \n

      \n \n
      \n
      \n

      \n {mleFields.businessType.label}\n *\n \n

      \n \n handleChangeBusinessType(val)}\n placeholder={mleFields.businessType.label}\n disabled={isViewMode || isApproved(checkerRemarks, mleFields.businessType.name)}\n />\n
      \n \n \n
      \n

      \n {mleFields.gstUpload.label}\n *\n \n

      \n
      \n {\n // actions.change(MLE_CREATE_FORM_NAME, mleFields.gstUpload.reqName, [\n // value,\n // ]);\n // console.log('handle change', mleFields.gstUpload.name, value);\n }}\n uploadImageAndGetURL={file => {\n return handlePiiUpload({\n file:file, \n type: GST,\n name: mleFields.gstUpload.reqName,\n actions: actions,\n setPiiData: setPiiData,\n setIsPiiVerified: setIsPiiVerified,\n setIsUploading: setIsUploading,\n formName: MLE_CREATE_FORM_NAME,\n intentId: intentId\n });\n }}\n docUrl={piiData?.[GST]?.s3Path || ''}\n handleView={docUrl =>\n handleViewClick(\n docUrl,\n setIsUploading,\n setSelectedDocument\n )\n }\n name={mleFields.gstUpload.name}\n type={mleFields.gstUpload.type}\n id={mleFields.gstUpload.name}\n component={FormElems.UploadElement}\n wrapperClass\n // infoElement=\"Filesize 5mb and file type pdf/image\"\n placeholder={mleFields.gstUpload.label}\n allowedExtensions={allowedImgExtensions}\n MaxFileSize={mleFields.gstUpload.maxFileSize}\n accept={mleFields.gstUpload.accept}\n infoElement={`${IMAGE_MSG}${allowedImgExtensions.join(', ')}`}\n disabled={\n isViewMode || \n (isApproved(checkerRemarks, mleFields.gstUpload.reqName) &&\n isApproved(checkerRemarks, mleFields.gst.name))\n }\n />\n
      \n
      \n
      \n

      \n {mleFields.gst.label}\n *\n \n

      \n \n
      \n
      \n {\n handleVerifyPiiAccount(e, {\n type: GST,\n piiData,\n setIsUploading,\n setIsPiiVerified,\n intentId\n });\n }}\n />\n
      \n

      \n {mleFields.turnOverCategory.label}\n *\n \n

      \n \n
      \n
      \n

      \n {mleFields.companyId.label}\n *\n \n

      \n \n
      \n
      \n

      \n {mleFields.turnoverAmount.label}\n *\n \n

      \n \n
      \n
      \n

      \n {mleFields.email.label}\n *\n \n

      \n \n
      \n
      \n

      \n {mleFields.websiteURLs.label}\n *\n \n

      \n \n
      \n
      \n

      \n {mleFields.telephoneNumbers.label}\n \n

      \n \n
      \n
      \n

      \n {mleFields.mobileNumber.label}\n *\n \n

      \n \n
      \n
      \n

      \n {mleFields.appLink.label}\n *\n \n

      \n \n
      \n
    • \n {/*
    • \n \n
    • */}\n
    \n );\n};\n\nconst mapStateToProps = ({merchantLegalEntityData}) => {\n return {\n merchantLegalEntityData\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n { \n change\n },\n dispatch\n ),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(MleInformation);\n ","export const FETCH_MERCHANT_LEGAL_ENTITY_REQUEST =\n 'FETCH_MERCHANT_LEGAL_ENTITY_REQUEST';\n\nexport const FETCH_MERCHANT_LEGAL_ENTITY_SUCCESS =\n 'FETCH_MERCHANT_LEGAL_ENTITY_SUCCESS';\n\nexport const FETCH_MERCHANT_LEGAL_ENTITY_FAILURE =\n 'FETCH_MERCHANT_LEGAL_ENTITY_FAILURE';\n\nexport const CREATE_MERCHANT_LEGAL_ENTITY_REQUEST =\n 'CREATE_MERCHANT_LEGAL_ENTITY_REQUEST';\n\nexport const CREATE_MERCHANT_LEGAL_ENTITY_SUCCESS =\n 'CREATE_MERCHANT_LEGAL_ENTITY_SUCCESS';\n\nexport const CREATE_MERCHANT_LEGAL_ENTITY_FAILURE =\n 'CREATE_MERCHANT_LEGAL_ENTITY_FAILURE';\n\nexport const FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_REQUEST =\n 'FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_REQUEST';\n\nexport const FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_SUCCESS =\n 'FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_SUCCESS';\n\nexport const FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_FAILURE =\n 'FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_FAILURE';\n\n\n\nexport const FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_REQUEST =\n 'FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_REQUEST';\n\nexport const FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_SUCCESS =\n 'FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_SUCCESS';\n\nexport const FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_FAILURE =\n 'FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_FAILURE';\n\n\n\nexport const EDIT_MERCHANT_LEGAL_ENTITY_REQUEST =\n 'EDIT_MERCHANT_LEGAL_ENTITY_REQUEST';\n\nexport const EDIT_MERCHANT_LEGAL_ENTITY_SUCCESS =\n 'EDIT_MERCHANT_LEGAL_ENTITY_SUCCESS';\n\nexport const EDIT_MERCHANT_LEGAL_ENTITY_FAILURE =\n 'EDIT_MERCHANT_LEGAL_ENTITY_FAILURE';\n\nexport const MERCHANT_LEGAL_ENTITY_FORM_RESET =\n 'MERCHANT_LEGAL_ENTITY_FORM_RESET';\n\nexport const SET_STATIC_MERCHANT_LEGAL_ENTITY = \"SET_STATIC_MERCHANT_LEGAL_ENTITY\"\n\nexport const FETCH_BASIC_FORM_DATA_FAILURE_V1 = 'FETCH_BASIC_FORM_DATA_FAILURE';\nexport const FETCH_BASIC_FORM_DATA_PROCESS_V1 = 'FETCH_BASIC_FORM_DATA_PROCESS';\nexport const FETCH_BASIC_FORM_DATA_SUCCESS_V1 = 'FETCH_BASIC_FORM_DATA_SUCCESS';\n\n// save and continue api\nexport const SAVE_AND_CONTINUE_REQUEST_V1 = 'SAVE_AND_CONTINUE_REQUEST_V1';\nexport const SAVE_AND_CONTINUE_SUCCESS_V1 = 'SAVE_AND_CONTINUE_SUCCESS_V1';\nexport const SAVE_AND_CONTINUE_FAILED_V1 = 'SAVE_AND_CONTINUE_FAILED_V1';\n\nexport const RESET_SUCCESS_KEY = 'RESET_SUCCESS_KEY';\nexport const RESET_FORM_DATA_MLE = 'RESET_FORM_DATA_MLE';\n\nexport const FETCH_MLE_FORM_IN_PROCESS_REQUEST = 'FETCH_MLE_FORM_IN_PROCESS_REQUEST';\nexport const FETCH_MLE_FORM_IN_PROCESS_SUCCESS = 'FETCH_MLE_FORM_IN_PROCESS_SUCCESS';\nexport const FETCH_MLE_FORM_IN_PROCESS_ERROR = 'FETCH_MLE_FORM_IN_PROCESS_ERROR';\n\nexport const SUBMIT_REQUEST_DATA_MLE = 'SUBMIT_REQUEST_DATA_MLE';\n\nexport const SUBMIT_SUCCESS_DATA_MLE = 'SUBMIT_SUCCESS_DATA_MLE';\n\nexport const SUBMIT_FAILURE_DATA_MLE = 'SUBMIT_FAILURE_DATA_MLE';\n\nexport const REDIRECT_KEY_MLE = 'REDIRECT_KEY_MLE';","import {\n FETCH_MERCHANT_LEGAL_ENTITY_FAILURE,\n FETCH_MERCHANT_LEGAL_ENTITY_REQUEST,\n FETCH_MERCHANT_LEGAL_ENTITY_SUCCESS,\n CREATE_MERCHANT_LEGAL_ENTITY_REQUEST,\n CREATE_MERCHANT_LEGAL_ENTITY_SUCCESS,\n CREATE_MERCHANT_LEGAL_ENTITY_FAILURE,\n EDIT_MERCHANT_LEGAL_ENTITY_REQUEST,\n EDIT_MERCHANT_LEGAL_ENTITY_SUCCESS,\n EDIT_MERCHANT_LEGAL_ENTITY_FAILURE,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_FAILURE,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_REQUEST,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_SUCCESS,\n MERCHANT_LEGAL_ENTITY_FORM_RESET,\n SET_STATIC_MERCHANT_LEGAL_ENTITY,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_FAILURE,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_REQUEST,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_SUCCESS,\n FETCH_BASIC_FORM_DATA_PROCESS_V1,\n FETCH_BASIC_FORM_DATA_SUCCESS_V1,\n FETCH_BASIC_FORM_DATA_FAILURE_V1,\n SAVE_AND_CONTINUE_REQUEST_V1,\n SAVE_AND_CONTINUE_SUCCESS_V1,\n SAVE_AND_CONTINUE_FAILED_V1,\n RESET_SUCCESS_KEY,\n RESET_FORM_DATA_MLE,\n FETCH_MLE_FORM_IN_PROCESS_REQUEST,\n FETCH_MLE_FORM_IN_PROCESS_SUCCESS,\n FETCH_MLE_FORM_IN_PROCESS_ERROR,\n SUBMIT_REQUEST_DATA_MLE,\n SUBMIT_SUCCESS_DATA_MLE,\n SUBMIT_FAILURE_DATA_MLE,\n REDIRECT_KEY_MLE,\n} from './merchantLegalEntity.constants';\n\nexport const fetchMerchantLegalEntityRequest = payload => ({\n type: FETCH_MERCHANT_LEGAL_ENTITY_REQUEST,\n payload,\n});\n\nexport const fetchMerchantLegalEntitySuccess = payload => ({\n type: FETCH_MERCHANT_LEGAL_ENTITY_SUCCESS,\n payload,\n});\n\nexport const fetchMerchantLegalEntityFailure = payload => ({\n type: FETCH_MERCHANT_LEGAL_ENTITY_FAILURE,\n payload,\n});\n\nexport const createMerchantLegalEntityRequest = payload => ({\n type: CREATE_MERCHANT_LEGAL_ENTITY_REQUEST,\n payload,\n});\n\nexport const createMerchantLegalEntitySuccess = payload => ({\n type: CREATE_MERCHANT_LEGAL_ENTITY_SUCCESS,\n payload,\n});\n\nexport const createMerchantLegalEntityFailure = payload => ({\n type: CREATE_MERCHANT_LEGAL_ENTITY_FAILURE,\n payload,\n});\n\nexport const fetchMerchantLegalEntityDetailsRequest = payload => ({\n type: FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_REQUEST,\n payload,\n});\n\nexport const fetchMerchantLegalEntityDetailsSuccess = payload => ({\n type: FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_SUCCESS,\n payload,\n});\n\nexport const fetchMerchantLegalEntityDetailsFailure = payload => ({\n type: FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_FAILURE,\n payload,\n});\n\n\n\n\n\n//fetch Pincode for MLE details\nexport const fetchMerchantLegalEntityDetailsPincodeRequest = payload => ({\n type: FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_REQUEST,\n payload,\n});\n\nexport const fetchMerchantLegalEntityDetailsPincodeSuccess = payload => ({\n type: FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_SUCCESS,\n payload,\n});\n\nexport const fetchMerchantLegalEntityDetailsPincodeFailure = payload => ({\n type: FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_FAILURE,\n payload,\n});\n\n\n\n\nexport const editMerchantLegalEntityRequest = payload => ({\n type: EDIT_MERCHANT_LEGAL_ENTITY_REQUEST,\n payload,\n});\n\nexport const editMerchantLegalEntitySuccess = payload => ({\n type: EDIT_MERCHANT_LEGAL_ENTITY_SUCCESS,\n payload,\n});\n\nexport const editMerchantLegalEntityFailure = payload => ({\n type: EDIT_MERCHANT_LEGAL_ENTITY_FAILURE,\n payload,\n});\n\nexport const resetMerchantLegalEntityFormReset = payload => ({\n type: MERCHANT_LEGAL_ENTITY_FORM_RESET,\n payload,\n});\n\nexport const setStaticMerchantLegalEntity = payload => ({\n type: SET_STATIC_MERCHANT_LEGAL_ENTITY,\n payload\n})\n\nexport const fetchBasicFormDataProcess = payload => ({\n type: FETCH_BASIC_FORM_DATA_PROCESS_V1,\n payload\n})\n\nexport const fetchBasicFormDataSuccess = payload => ({\n type: FETCH_BASIC_FORM_DATA_SUCCESS_V1,\n payload \n})\n\nexport const fetchBasicFormDataFailure = payload => ({\n type: FETCH_BASIC_FORM_DATA_FAILURE_V1,\n payload\n})\n\nexport const saveAndContinueRequestV1 = payload => ({\n type: SAVE_AND_CONTINUE_REQUEST_V1,\n payload\n});\n\nexport const saveAndContinueSuccessV1 = (payload, sectionType) => ({\n type: SAVE_AND_CONTINUE_SUCCESS_V1,\n payload,\n sectionType\n});\n\nexport const saveAndContinueFailedV1 = payload => ({\n type: SAVE_AND_CONTINUE_FAILED_V1,\n payload\n});\n\nexport const resetSuccessKey = (payload) => ({\n type: RESET_SUCCESS_KEY,\n payload\n})\n\nexport const resetFormDataMLE = (payload) => ({\n type: RESET_FORM_DATA_MLE,\n payload\n})\n\nexport const fetchMLEFormInProcessRequest = () => ({\n type: FETCH_MLE_FORM_IN_PROCESS_REQUEST,\n});\n\nexport const fetchMLEFormInProcessSuccess = payload => ({\n type: FETCH_MLE_FORM_IN_PROCESS_SUCCESS,\n payload,\n});\n\nexport const fetchMLEFormInProcessError = payload => ({\n type: FETCH_MLE_FORM_IN_PROCESS_ERROR,\n payload,\n});\n\nexport const submitRequestCallMle = payload => ({\n type: SUBMIT_REQUEST_DATA_MLE,\n payload\n})\n\nexport const submitSuccessMLE = payload => ({\n type: SUBMIT_SUCCESS_DATA_MLE,\n payload\n})\n\nexport const submitFailureMle = payload => ({\n type: SUBMIT_FAILURE_DATA_MLE,\n payload\n})\n\nexport const removeRedirectKey = () => ({\n type: REDIRECT_KEY_MLE,\n})","// compoents\nimport { FormElems, DatePicker, Alert, Modal, Accordion } from 'components';\nimport {\n singleValueFields,\n multipleValuesFields,\n singleUploadFields,\n singleMultipleUploadFieldsIndividual,\n singleMultipleUploadFieldsSoleProp,\n uboSingleUploadFields,\n MLE_CREATE_FORM_NAME,\n PREFIX_KYCURLS,\n BUSINESS_SECTION_TYPE_MLE,\n BUSINESS_SECTION,\n mleFields,\n} from './contants';\n// Validator\nimport validate from './validator';\n\nimport React, { useEffect, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, FieldArray, change, FormName } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { withRouter, useHistory } from 'react-router-dom';\nimport MleInformation from './MleInformation';\nimport FileUploadField from '../../../FileUploadField';\nimport FakeLoader from '../../../FakeLoader';\nimport ImageViewModal from './ImageViewModal';\nimport { handleDeleteFile, handleUploadKycImage, handleViewClick, isSaveSubmitDisable, mleSubmitDataFormat, onNext, setInitialVerifiedData } from '../mle.utils';\nimport { KYC_FILES, SUBMITTED_KEY } from '../mle.constants';\nimport { resetSuccessKey, saveAndContinueRequestV1 } from 'containers/MerchantLegalEntity/redux/merchantLegalEntity.actions';\nimport { UBO_SECTION_TYPE } from '../UobTab/constant';\n\nconst BusinessTab = ({\n isViewMode,\n handleSubmit,\n actions,\n isEditMode,\n mutateFormData,\n initialValues,\n merchantLegalEntityData,\n staticData,\n nextPath,\n invalid,\n checkerRemarks,\n uniqueIdentifier,\n initialIntentId,\n formType,\n sectionType\n}) => {\n // console.log(\"current form data state\", mutateFormData);\n const history = useHistory();\n const [intentId, setIntentId] = useState(initialIntentId);\n const [panDate, setPanDate] = useState('');\n const [isUploading, setIsUploading] = useState(false);\n const [docUrls, setDocUrls] = useState({});\n const [selectedDocument, setSelectedDocument] = useState(null);\n const [kycDocsList, setKycDocsList] = useState({\n mandatoryDocs: [],\n partialMandatoryDocs: []\n });\n const [kycListUpdated, setKycListUpdated] = useState(0);\n const [isPiiVerified, setIsPiiVerified] = useState(setInitialVerifiedData({values: mutateFormData.values,fields: mleFields, checkerRemarks}));\n const {formEvents} = merchantLegalEntityData;\n useEffect(() => {\n // just for \n actions.resetSuccessKey({section_type: UBO_SECTION_TYPE});\n }, []);\n // console.log(\"formEventsbusinesstab\", merchantLegalEntityData, formEvents);\n useEffect(() => {\n // console.log(\"yaha nahi aaya..\", nextPath, formEvents?.[BUSINESS_SECTION_TYPE_MLE]);\n if ((formEvents?.[BUSINESS_SECTION_TYPE_MLE] === SUBMITTED_KEY) && nextPath) {\n // console.log(\"herere....\");\n onNext(history, nextPath);\n } \n return () => {\n if (formEvents?.[BUSINESS_SECTION_TYPE_MLE] === SUBMITTED_KEY && nextPath) {\n // console.log(\"testBUSINESS_SECTION_TYPE_MLE\");\n actions.resetSuccessKey({sectionType: BUSINESS_SECTION_TYPE_MLE});\n } \n }\n }, [formEvents?.[BUSINESS_SECTION_TYPE_MLE]]);\n // console.log(\"initialIntentId\", initialIntentId);\n function handleSubmitForm(formData) {\n console.log(\"handleSubmitForm\");\n console.log(\"formdata...\", formData);\n // formData.section = BUSINESS_SECTION;\n try {\n let updatedPayload = mleSubmitDataFormat({\n formData, \n uniqueIdentifier, \n intentId,\n formType, \n sectionType\n });\n let payload = mutateFormData;\n console.log(\"mutateFormData\", payload, formData);\n actions.saveAndContinueRequestV1(updatedPayload);\n } catch(e) {\n console.log(\"error while submitting the form\");\n }\n }\n // console.log(\"selectedDocument\", selectedDocument);\n // console.log(\"isViewMode\", isViewMode, !invalid, isSaveSubmitDisable(isPiiVerified), (invalid)?'disabled adds':'');\n // console.log(\"invalid ..\", invalid, mutateFormData);\n return (\n
    \n \n {isUploading ? : null}\n

    MLE Onboarding

    \n \n MLE Information\n }\n lowerComponent={\n \n }\n />\n\n {kycDocsList?.mandatoryDocs?.length > 0 && MLE KYC Document\n }\n lowerComponent={\n <>\n
      \n
    • \n {kycDocsList?.mandatoryDocs?.map(item => {\n const multiDocs = (item?.maxDocCount === 1) ? true: false;\n return (\n handleUploadKycImage(\n file, \n setIsUploading, \n actions, \n (multiDocs) ? `${PREFIX_KYCURLS}.${item.docType}` : null,\n MLE_CREATE_FORM_NAME\n )\n }\n handleViewClick={(docUrl) => {handleViewClick(docUrl, setIsUploading, setSelectedDocument)}}\n docUrls={docUrls}\n setDocUrls={setDocUrls}\n actions={actions}\n change={change}\n checkerRemarks={checkerRemarks}\n handleDeleteFile={() => {handleDeleteFile(`${PREFIX_KYCURLS}.${item.docType}`, MLE_CREATE_FORM_NAME, actions)}}\n values = {mutateFormData?.values ?? {}}\n required = {true}\n clearedClicked={kycListUpdated}\n multi={(item?.maxDocCount === 1) ? false: true}\n formName={MLE_CREATE_FORM_NAME}\n isViewMode={isViewMode}\n />\n )})}\n {kycDocsList?.partiallyMandatoryDocs?.length > 0 && \n kycDocsList?.partiallyMandatoryDocs?.map(item => {\n const multiDocs = (item?.maxDocCount === 1) ? true: false;\n return (\n handleUploadKycImage(\n file, \n setIsUploading, \n actions, \n (multiDocs) ? `${PREFIX_KYCURLS}.${item.docType}` : null,\n MLE_CREATE_FORM_NAME\n )}\n handleViewClick={(docUrl) => {handleViewClick(docUrl, setIsUploading, setSelectedDocument)}}\n docUrls={docUrls}\n setDocUrls={setDocUrls}\n actions={actions}\n change={change}\n checkerRemarks={checkerRemarks}\n handleDeleteFile={() => {handleDeleteFile(`${PREFIX_KYCURLS}.${item.docType}`, MLE_CREATE_FORM_NAME, actions)}}\n values = {mutateFormData?.values ?? {}}\n clearedClicked={kycListUpdated}\n multi={(item?.maxDocCount === 1) ? false: true}\n formName={MLE_CREATE_FORM_NAME}\n isViewMode={isViewMode}\n />\n )})\n }\n
    • \n
    • \n
    \n \n }\n />}\n
    \n \n
    \n \n\n {merchantLegalEntityData.error &&\n merchantLegalEntityData.error.errorMessage ? (\n \n {merchantLegalEntityData.error.errorMessage}\n \n ) : null}\n\n \n
    \n );\n};\n\nBusinessTab.propTypes = {\n actions: PropTypes.object,\n isViewMode: PropTypes.bool,\n handleSubmit: PropTypes.func,\n isEditMode: PropTypes.bool,\n mutateFormData: PropTypes.object,\n initialValues: PropTypes.object,\n merchantLegalEntityData: PropTypes.object,\n staticData: PropTypes.object,\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n staticData,\n merchantLegalEntityData,\n}) => ({\n auth,\n mutateFormData: form[MLE_CREATE_FORM_NAME],\n staticData,\n merchantLegalEntityData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({\n saveAndContinueRequestV1,\n change,\n resetSuccessKey\n }, dispatch),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: MLE_CREATE_FORM_NAME,\n enableReinitialize: true,\n validate,\n initialValues: {\n kycStatus: 'PENDING', // Default value here\n },\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(BusinessTab)\n);\n","import BusinessTab from \"./BusinessTab\";\n\nexport default BusinessTab;","import { getActiveCount, UBO_ACTIVE_FIELDS } from \"../mle.utils\";\nimport { UBO_CREATE_FORM_NAME, uboFields } from \"./constant\";\nimport React, { useEffect, useState } from \"react\";\n\nconst UboActiveField = ({ actions, item, isViewMode, setActiveCount, index, activeCount, fields }) => {\n const [isToggled, setIsToggled] = useState(activeCount[index] ?? true);\n\n useEffect(() => {\n // console.log(\"isToggled\", isToggled);\n setActiveCount(prev => {\n prev[index] = isToggled;\n return prev;\n });\n }, [fields.length, isToggled]);\n\n const handleToggle = () => {\n setIsToggled(!isToggled);\n \n actions.change(UBO_CREATE_FORM_NAME, uboFields.uboActive.name(item), !isToggled ? UBO_ACTIVE_FIELDS.ACTIVE : UBO_ACTIVE_FIELDS.INACTIVE);\n };\n console.log(\"rerender\");\n return (\n <>\n
    \n \n
    \n \n );\n};\n\nexport default UboActiveField;\n","import React, { useEffect, useState } from 'react';\nimport { Field } from 'redux-form';\nimport {\n allowedExtensions,\n defaultOption,\n fetchFieldValue,\n fetchPiiData,\n fetchPinCodeDetails,\n FIELD_TYPES,\n handleUploadKycImage,\n handleViewClick,\n isApproved,\n isUboTabNotEmpty,\n redClassRemarksCond,\n removeDuplicates,\n setInitialPiiData,\n setInitialVerifiedData,\n updateIsInvalidButton,\n VERIFIED,\n verifyAccountDetails,\n verifyPanDetails,\n} from '../mle.utils';\nimport { BUSINESS_SECTION_TYPE_MLE, MLE_CREATE_FORM_NAME, mleFields, PIN_ERROR } from '../BusinessTab/contants';\nimport { ERROR_FETCH, ERROR_PINDATA, FILE_MSG, PAN } from '../mle.constants';\nimport { POST } from 'utils/fetchWrappers';\nimport { API_VIEW_KYC_DOCUMENT } from 'utils/API/apiUrls';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { toast } from 'react-toastify';\nimport { ERROR_MESSAGES } from 'utils/constants/toastMessages';\nimport moment from 'moment';\nimport DatePicker from 'components/DatePicker';\nimport { UBO_CREATE_FORM_NAME, uboFields } from './constant';\nimport { FormElems } from 'components';\nimport { nameValueOptions } from 'utils/helperMethods';\nimport { PanOcr } from 'components/PanOcr';\nimport Address from 'components/Address';\nimport MyTooltip from '../BusinessTab/MyTooltip';\nimport { MAX_FILE_SIZE } from 'utils/constants/commonValues';\n\nconst UboInputFields = ({\n isViewMode,\n field,\n actions,\n sectionData,\n fields,\n index,\n item,\n setIsUploading,\n setSelectedDocument,\n poaOptions,\n setActiveCount,\n activeCount,\n setInvalidSubmit,\n uboFormData,\n intentId,\n checkerRemarks,\n setPanNumbers,\n panNumbers\n }) => {\n // console.log(\"uboFormDatainputfields\", uboFormData);\n let panFields = {\n panDate: {\n ...uboFields.panDate,\n name: uboFields.panDate.name(field)\n },\n panUpload: {\n ...uboFields.panUpload,\n name: uboFields.panUpload.name(field),\n reqname: uboFields.panUpload.reqname(field)\n },\n pan: {\n ...uboFields.pan,\n name: uboFields.pan.name(field)\n },\n panName: {\n ...uboFields.panName,\n name: uboFields.panName.name(field)\n },\n verifyPan: {\n ...uboFields.verifyPan,\n name: uboFields.verifyPan.name(field)\n }\n }\n const [isPiiVerified, setIsPiiVerified] = useState(setInitialVerifiedData({values: uboFormData.values, fields: panFields, checkerRemarks}));\n // console.log('isPiiVerified', field, isPiiVerified);\n const [piiData, setPiiData] = useState(setInitialPiiData({values: uboFormData.values, fields: panFields}));\n const [pinCodeDetails, setPinCodeDetails] = useState([]);\n const [docUrls, setDocUrls] = useState(fetchFieldValue(uboFormData.values, uboFields.uploadUboPoA.reqname(field)));\n const [clearClicked, setClearClicked] = useState(0);\n\n const isPanVerified = isPiiVerified?.[PAN]?.verifiedStatus === VERIFIED;\n useEffect(() => {\n // console.log(\"here ubo input field\", activeCount[index], isPanVerified);\n if (activeCount[index]) {\n updateIsInvalidButton(setInvalidSubmit, field, !isPanVerified);\n } else if (!activeCount[index]) {\n updateIsInvalidButton(setInvalidSubmit, field, false);\n }\n }, [fields.length, isPanVerified]);\n\n useEffect(() => {\n if (piiData[PAN]?.documentDetails?.panNumber?.value) {\n setPanNumbers(prev => {\n prev[index] = piiData[PAN].documentDetails.panNumber.value;\n return prev;\n })\n }\n }, [fields.length, piiData[PAN]?.documentDetails?.panNumber?.value])\n // console.log(\"clearClicked\", clearClicked);\n\n // console.log(\"ubo inp fie\", docUrls);\n\n let addressFields = {\n pin: {\n ...uboFields.uboPincode,\n name: uboFields.uboPincode.name(field)\n },\n district: {\n ...uboFields.uboDistrict,\n name: uboFields.uboDistrict.name(field)\n },\n state: {\n ...uboFields.uboState,\n name: uboFields.uboState.name(field)\n },\n address: {\n ...uboFields.uboAddress,\n name: uboFields.uboAddress.name(field)\n }\n }\n let remarkPrefix = null;\n const panList = typeof panNumbers === 'object' ? Object.values(panNumbers) : [];\n // console.log(\"sectionData \", sectionData, !sectionData, fields.length);\n\n\n return (\n <>\n
      \n
    • \n
      \n

      \n {uboFields.uboName.label}\n *\n \n

      \n \n
      \n \n \n
      \n

      \n {uboFields.uboPoA.label}\n *\n \n

      \n \n
      \n
      \n

      \n {uboFields.uboEmail.label}\n \n

      \n \n
      \n
      \n

      \n {uboFields.uploadUboPoA.label}\n *\n \n

      \n {\n // console.log('handle change', name, value);\n setDocUrls(value);\n }}\n uploadImageAndGetURL={file => {\n return handleUploadKycImage(file, setIsUploading, actions, uboFields.uploadUboPoA.reqname(field), UBO_CREATE_FORM_NAME);\n }}\n docUrl={docUrls || ''}\n handleView={(docUrl) => handleViewClick(docUrl, setIsUploading, setSelectedDocument)}\n name={uboFields.uploadUboPoA.name(field)}\n id={uboFields.uploadUboPoA.name(field)}\n type={uboFields.uploadUboPoA.type}\n component={FormElems.UploadElement}\n placeholder={uboFields.uploadUboPoA.label}\n disabled={\n isViewMode ||\n isApproved(checkerRemarks, uboFields.uploadUboPoA.reqname(field), remarkPrefix)\n }\n allowedExtensions={allowedExtensions}\n accept={uboFields.uploadUboPoA.accept}\n infoElement={`${FILE_MSG}${allowedExtensions.join(', ')}`}\n labelName={\"Address Proof Document\"}\n MaxFileSize={MAX_FILE_SIZE}\n />\n
      \n
    • \n
    \n
    \n
    \n {!isViewMode && (\n <>\n {\n actions.change(\n UBO_CREATE_FORM_NAME,\n item,\n undefined\n );\n setDocUrls('');\n setIsPiiVerified({\n PAN: {}\n })\n setPiiData({\n PAN:{}\n })\n setPinCodeDetails([])\n setClearClicked((prev) => prev+1)\n }}\n />\n {!isUboTabNotEmpty(sectionData) && fields.length > 1 && (\n {\n setActiveCount([])\n // update pan number and verify button state\n setPanNumbers({})\n setInvalidSubmit({})\n fields.remove(index);\n toast.success(\"UBO removed sucessfully\");\n }}\n />\n )}\n \n )}\n
    \n
    \n \n );\n};\n\nexport default UboInputFields;\n","import React, { useEffect, useState } from 'react';\nimport { Field } from 'redux-form';\nimport { Accordion, FormElems } from '../../..';\nimport { UBO_ACCORDIAN_NAME, UBO_CREATE_FORM_NAME, uboFields } from './constant';\nimport \"./uboTab.scss\";\nimport UboActiveField from './UboActiveField';\nimport UboInputFields from './UboInputFields';\nimport { addActiveUboField, getActiveCount } from '../mle.utils';\n\nconst UboInputs = ({ \n isViewMode, \n fields, \n initialData, \n actions,\n setIsUploading,\n setSelectedDocument,\n poaOptions,\n activeCount,\n setActiveCount,\n setInvalidSubmit,\n uboFormData,\n intentId,\n checkerRemarks\n }) => {\n const [panNumbers, setPanNumbers] = useState({});\n useEffect(() => {\n if (fields.length <= 0) {\n console.log(\"add new ubo\")\n addActiveUboField(fields);\n }\n }, []);\n // console.log(\"fields\", fields);\n if (fields.length <= 0) {\n return <>\n }\n // console.log(\"active coutn\", panNumbers)\n // find active length\n return (\n <>\n
    \n
    \n {!isViewMode && (\n {\n addActiveUboField(fields);\n }}\n />\n )}\n
    \n
    \n {fields.map((item, index) => {\n let sectionData = fields.get(index);\n // let uboIsActive = fields.get(index)?.[uboFields.uboActive.name(item)] || true;\n // console.log(\"section data\", sectionData);\n return (\n <>\n \n
    \n

    \n UBO {index + 1} Details\n

    \n \n
    \n \n }\n lowerComponent={\n <>\n \n \n \n }\n />\n \n );\n })}\n \n \n );\n};\n\n\n\nexport default UboInputs;\n","import { toast } from 'react-toastify';\nimport { generalValidationFunction } from '../mle.validation';\nimport { FORM_ERRORS } from '../mle.constants';\nimport { isAllErrorFixed } from '../mle.utils';\nimport { UBO_ACCORDIAN_NAME, uboDeclarationUrls, uboFields } from './constant';\n\nconst validate = (values, props, basicData) => {\n try {\n\n let errors = {};\n errors[UBO_ACCORDIAN_NAME] = [];\n console.log(\"valuesvalidate\", values, UBO_ACCORDIAN_NAME, values?.[UBO_ACCORDIAN_NAME]);\n if (!values?.[uboDeclarationUrls.reqname]) {\n let validationObject = {...uboDeclarationUrls};\n validationObject.name = validationObject.reqname;\n errors[uboDeclarationUrls.name] = generalValidationFunction(values, [validationObject])?.[validationObject.name];\n console.log(\"...\", errors);\n }\n let panArrays = [];\n if (values?.[UBO_ACCORDIAN_NAME] && typeof values[UBO_ACCORDIAN_NAME] === 'object' && values[UBO_ACCORDIAN_NAME].length) {\n \n for (let i = 0; i < values[UBO_ACCORDIAN_NAME].length; i++) {\n let panNumber = values[UBO_ACCORDIAN_NAME][i]?.panDetails?.panNumber || '';\n // if (panNumber ) {\n // panArrays.push(values[UBO_ACCORDIAN_NAME][i]?.panDetails?.panNumber)\n // }\n // console.log(\"values,,,,\", values[UBO_ACCORDIAN_NAME][i]);\n const errorData = generalValidationFunction(values[UBO_ACCORDIAN_NAME], uboFields, i);\n if (errorData[i])\n errors[UBO_ACCORDIAN_NAME].push(errorData[i]);\n else \n errors[UBO_ACCORDIAN_NAME].push({});\n // console.log(\"errossss\", errors, panArrays, panNumber);\n if (panNumber && panArrays.includes(panNumber)) {\n if (!errors[UBO_ACCORDIAN_NAME][i].panDetails) {\n errors[UBO_ACCORDIAN_NAME][i].panDetails = {};\n }\n errors[UBO_ACCORDIAN_NAME][i].panDetails.panNumber = 'Pan Number cannot be duplicate.';\n } else if (panNumber){\n panArrays.push(panNumber);\n }\n // console.log(\"error Data\", errorData);\n }\n \n // values?.[UBO_ACCORDIAN_NAME]?.map((item, index) => {\n // console.log(\"item validate\", item);\n // errors = generalValidationFunction(values, uboFields, index); \n // })\n }\n console.log(\"errorsvalidators\", errors);\n // if (errors.address) delete errors.address;\n if (errors && !isAllErrorFixed(errors)){\n console.log(\"Called in here\", errors);\n // toast.error(FORM_ERRORS);\n // props.stopSubmit(MLE_CREATE_FORM_NAME, errors);\n return errors;\n } else {\n return {}; \n \n }\n \n } catch(e) {\n console.log(\"e message\", e.message);\n }\n\n};\n\nexport default validate;\n ","import React, { useEffect, useState } from 'react';\nimport UboInputs from './UboInputs';\nimport { Field, FieldArray, reduxForm, change } from 'redux-form';\nimport { withRouter, useHistory } from 'react-router-dom/cjs/react-router-dom.min';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators, compose } from 'redux';\nimport { connect } from 'react-redux';\nimport Accordion from '../../../Accordion';\nimport { FakeLoader, FormElems } from '../../..';\nimport { ERROR_UBO_ENABLE, UBO_ACCORDIAN_NAME, UBO_CREATE_FORM_NAME, UBO_SECTION_TYPE, uboDeclarationUrls, uboFields } from './constant';\nimport { MOCK_API_VALUE } from 'utils/constants/commonValues';\nimport { kycDocumentsUploadRes } from 'mockApiWiseReqRes';\nimport { POST } from 'utils/fetchWrappers';\nimport { toast } from 'react-toastify';\nimport { KYC_DOCUMENT_UPLOAD_SUCCESS } from 'mockApiWiseReqRes/mockApiWise.constants';\nimport { API_UPLOAD_KYC_DOCUMENT, API_VIEW_KYC_DOCUMENT } from 'utils/API/apiUrls';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { ERROR_MESSAGES, SUCCESS_MESSAGES } from 'utils/constants/toastMessages';\nimport FileUploadField from 'components/FileUploadField';\nimport ImageViewModal from '../BusinessTab/ImageViewModal';\nimport { defaultOption, defaultOptionDoc, fetchFieldValue, fetchOwnershipDetails, fetchUboActiveFlag, handleDeleteFile, onNext, uboFormDefaultSetData, uboSubmitDataFormat, updateIsInvalidButton } from '../mle.utils';\nimport validate from './UboTab.validator';\nimport { ERROR_UBO, SUBMITTED_KEY } from '../mle.constants';\nimport { resetSuccessKey, saveAndContinueRequestV1, submitRequestCallMle } from 'containers/MerchantLegalEntity/redux/merchantLegalEntity.actions';\nimport { COMPLETE } from 'components/Timelinev1/timelinev1.contants';\n\nconst UobTab = (props) => {\n const {\n isViewMode,\n isEditMode,\n actions,\n initialValues,\n handleSubmit,\n merchantLegalEntityData,\n nextPath,\n uboFormData,\n invalid,\n uniqueIdentifier,\n initialIntentId,\n checkerRemarks\n } = props;\n // console.log(\"uboFormData\", uboFormData, uniqueIdentifier,\n // initialIntentId,\n // checkerRemarks, nextPath, invalid);\n const [docUrls, setDocUrls] = useState({});\n const [isUploading, setIsUploading] = useState(false);\n const [selectedDocument, setSelectedDocument] = useState(null);\n const [poaOptions, setPoaOptions] = useState([]);\n const [activeCount, setActiveCount] = useState(fetchUboActiveFlag(uboFormData));\n const [invalidSubmit, setInvalidSubmit] = useState({});\n const history = useHistory();\n // console.log(\"nextpath\", nextPath, docUrls);\n \n const {formEvents} = merchantLegalEntityData;\n // console.log(\"formEventsUobTab\", formEvents, merchantLegalEntityData);\n // console.log(\"unique identifier ubo detaisl\", uniqueIdentifier, formEvents);\n\n useEffect(() => {\n if (MOCK_API_VALUE)\n return;\n if (typeof(uniqueIdentifier) !== 'string' || !uniqueIdentifier) {\n if (nextPath) {\n onNext(history, nextPath);\n } else {\n onNext(history, '/mle-onboarding')\n }\n }\n handlePoaUploadOptions();\n // return () => {\n // console.log(\"clearn update\");\n // if (uboFormData) {\n // // Save form data to Redux when the component unmounts\n // console.log(\"Saving form data on unmount\", uboFormData);\n \n // // Trigger your Redux action to save the form data\n // const updatedPayload = {\n // ...uboFormData, \n // uniqueIdentifier,\n // intentId: initialIntentId\n // };\n \n // // actions.saveAndContinueRequestV1(updatedPayload);\n // }\n // }\n }, []);\n\n\n useEffect(() => {\n if (formEvents?.[`${UBO_CREATE_FORM_NAME}status`] === COMPLETE && formEvents?.isFormSubmitted) {\n toast.success(SUCCESS_MESSAGES.MLE_SUCCESS)\n if (nextPath) {\n onNext(history, nextPath);\n } else {\n onNext(history, '/mle-onboarding')\n }\n \n } \n return () => {\n if (formEvents?.[UBO_SECTION_TYPE] === SUBMITTED_KEY) {\n actions.resetSuccessKey({section_type: UBO_SECTION_TYPE});\n } \n }\n\n }, [formEvents?.isFormSubmitted]);\n\n const handlePoaUploadOptions = async () => {\n try {\n const fetchData = await fetchOwnershipDetails({sectionType: UBO_SECTION_TYPE});\n\n setPoaOptions([...defaultOptionDoc, ...fetchData?.basicSectionData?.ProofOfAddresses] || [...defaultOption])\n } catch(e) {\n console.log(\"e\", e.message);\n\n }\n }\n\n async function handleUploadKycImage(file, name) {\n if (isUploading) return;\n setIsUploading(true);\n if (MOCK_API_VALUE) {\n toast.info('File upload successful');\n let resp = kycDocumentsUploadRes(KYC_DOCUMENT_UPLOAD_SUCCESS);\n // console.log(\"s3 url\", resp.data.s3Url);\n setIsUploading(false);\n return resp?.data?.s3Url;\n }\n const formData = new FormData();\n formData.append('multipartFile', file);\n // formData.append(\n // 'uniqueIdentifier',\n // `${mutateFormData.values.emailIds[0]}_${new Date().getTime()}`\n // );\n\n try {\n const response = await POST(\n API_UPLOAD_KYC_DOCUMENT,\n formData,\n {\n 'Content-Type': 'multipart/form-data;',\n },\n true\n );\n\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n actions.change(UBO_CREATE_FORM_NAME, name, [data.s3Path]);\n toast.info('File upload successful');\n setIsUploading(false);\n return data.s3Url;\n }\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n setIsUploading(false);\n }\n\n async function handleViewClick(docUrl) {\n const request = {\n s3Path: docUrl,\n };\n try {\n setIsUploading(true);\n const response = await POST(\n API_VIEW_KYC_DOCUMENT,\n request,\n {},\n true\n );\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n // if (data.s3Url.toLowerCase().includes('.pdf')) {\n // window.open(data.s3Url);\n // } else {\n setSelectedDocument(data.s3Url);\n // }\n } else {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n setIsUploading(false);\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n setIsUploading(false);\n }\n }\n\n function handleSubmitForm(formData) {\n // console.log(\"handleSubmitForm\");\n // console.log(\"formdata...\", formData);\n // formData.section = UBO_SECTION_TYPE;\n try {\n const enableCount = activeCount.filter(item => item);\n if (enableCount?.length <= 0) {\n toast.error(ERROR_UBO_ENABLE);\n }\n let updatedPayload = uboSubmitDataFormat(JSON.parse(JSON.stringify(formData)), uniqueIdentifier, initialIntentId);\n // console.log(\"mutateFormData\", formData);\n actions.saveAndContinueRequestV1(updatedPayload);\n } catch(e) {\n console.log(\"error while submitting the form\");\n }\n }\n\n const handleSaveClick = (e) => {\n // create functionality -> Continue and submit currently both are together\n e.preventDefault()\n console.log(\"handle save click\");\n try {\n let payload = {};\n uboFormDefaultSetData(payload, uniqueIdentifier);\n // console.log(\"payload\", payload);\n actions.submitRequestCallMle(payload);\n // console.log(\"handleSaveClick\", uboFormData);\n } catch(e) {\n console.log(\"handleSaveClick e\", e);\n }\n }\n\n // console.log(\"uob tab...\", docUrls, isViewMode, invalidSubmit, activeCount);\n // console.log(\"object ---> \", invalidSubmit, Object.values(invalidSubmit).filter(item => item), Object.keys(invalidSubmit).filter(item => item).length > 0)\n return (\n
    \n \n {isUploading ? : null}\n

    Ownership Details

    \n \n
      \n
    • \n {\n return handleUploadKycImage(file, uboDeclarationUrls.reqname)\n }\n }\n handleViewClick={handleViewClick}\n docUrls={docUrls}\n setDocUrls={setDocUrls}\n actions={actions}\n handleDeleteFile={() => {handleDeleteFile(uboDeclarationUrls.reqname, UBO_CREATE_FORM_NAME, actions)}}\n checkerRemarks={checkerRemarks}\n values = {uboFormData?.values}\n required={true}\n />\n
    • \n
    • \n \n
    • \n
    \n
    \n item).length > 0)}\n />\n item).length > 0)}\n />\n
    \n \n
    \n );\n};\n\nUobTab.propTypes = {\n nextPath: PropTypes.string,\n isViewMode: PropTypes.bool,\n isEditMode: PropTypes.bool,\n actions: PropTypes.object,\n initialValues: PropTypes.object,\n handleSubmit: PropTypes.func\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n merchantLegalEntityData,\n nextPath\n}) => ({\n auth,\n uboFormData: form[UBO_CREATE_FORM_NAME],\n merchantLegalEntityData,\n nextPath\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({\n change,\n saveAndContinueRequestV1,\n resetSuccessKey,\n submitRequestCallMle\n }, dispatch)\n})\n\nexport default withRouter(\n compose(\n reduxForm({\n form: UBO_CREATE_FORM_NAME,\n validate,\n initialValues: {},\n enableReinitialize: true\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(UobTab)\n);\n","import UobTab from \"./UobTab\";\n\nexport default UobTab;","export const COMPLETE = 'Complete';","import { LegalInputs, MerchantDetailsView, RiskCheckerView } from 'components/MleMakerChecker';\nimport OwnershipDetailsAccordion from 'components/MleMakerChecker/OwnershipDetailsAccordion';\nimport React, { useEffect } from 'react'\nimport { useParams, Switch, Route, useHistory } from 'react-router-dom'\nimport { getMakerData, MAKER_BASE_URL } from './Maker.utils';\nimport { MAKER_CHECKER_EVENT_LABEL_MLE, MAKER_CHECKER_EVENT_TYPES_MLE } from 'utils/constants/commonValues';\nimport { BreadCrumb, Timelinev1 } from 'components';\nimport BusinessTab from 'components/Onboarding/Mle/BusinessTab';\nimport { makergetres } from 'mockApiWiseReqRes';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { fetchBasicFormDataProcess } from 'containers/MerchantLegalEntity/redux/merchantLegalEntity.actions';\nimport { BUSINESS_SECTION_TYPE_MLE } from 'components/Onboarding/Mle/BusinessTab/contants';\nimport UobTab from 'components/Onboarding/Mle/UobTab';\n\nconst baseUrl = MAKER_BASE_URL;\n// Tab Definitions\nconst tabs = (id, makerRequestData) => ([\n {\n sectionType: MAKER_CHECKER_EVENT_TYPES_MLE.business.toLowerCase(),\n name: 'Business Details',\n component: (props) => {\n const {draftData} = props;\n if (props.formIdentityData) {\n const {uniqueIdentifier = '', intentId = '', formType = '', sectionType = ''} = props.formIdentityData;\n props.uniqueIdentifier = uniqueIdentifier;\n props.initialIntentId = intentId;\n props.formType = formType;\n props.sectionType = sectionType\n }\n return (\n \n )\n },\n nextPath: `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase()}/${id}`,\n path: `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.business.toLowerCase()}/${id}`,\n previousPath: `${baseUrl}`,\n status: getMakerData(makerRequestData, MAKER_CHECKER_EVENT_TYPES_MLE.business.toLowerCase())?.isViewMode ? '' : 'Open',\n tabId: 1,\n permission: ''\n },\n {\n sectionType: MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase(),\n name: 'Ownership Details',\n component: (props) => {\n const {draftData} = props;\n if (props.formIdentityData) {\n const {uniqueIdentifier = '', intentId = '', formType = '', sectionType = ''} = props.formIdentityData;\n props.uniqueIdentifier = uniqueIdentifier;\n props.initialIntentId = intentId;\n props.formType = formType;\n props.sectionType = sectionType\n }\n console.log(\"props ownership\", props);\n return (\n \n )\n },\n nextPath: `${baseUrl}`,\n path: `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase()}/${id}`,\n previousPath: `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.business.toLowerCase()}/${id}`,\n status: getMakerData(makerRequestData, MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase())?.isViewMode ? '' : 'Open',\n tabId: 2,\n permission: ''\n }\n]);\n\nconst EditAndViewMaker = ({makerData, actions}) => {\n console.log(\"sfdsaf\");\n const history = useHistory();\n const {tabname ,id} = useParams();\n useEffect(() => {\n // console.log(\"called create merchant\");\n let sectionType = BUSINESS_SECTION_TYPE_MLE;\n let entityCode = BUSINESS_SECTION_TYPE_MLE;\n actions.fetchBasicFormDataProcess({sectionType, entityCode});\n }, []);\n // const makerRequestData = fetchMakerRequest();\n \n console.log(\"makerData\", makerData);\n const makerRequestData = makerData.tableData.find(\n (tableData) =>\n tableData.eventType === \"MLE_ONBOARDING\" &&\n String(tableData.makerRequestId) === String(id) // Ensure type consistency\n );\n console.log(makerRequestData);\n if (!makerRequestData) {\n console.log(\"here\");\n history.push(baseUrl);\n // return; \n }\n\n const makerSteps = tabs(id, makerRequestData);\n console.log(\"maker steps\", makerSteps);\n\n return (\n
    \n
    \n
    \n

    Requested Approval

    \n \n
    \n
    \n
    \n \n
    \n
    \n \n {makerSteps.map(tab => (\n \n {tab.component({\n ...tab,\n ...getMakerData(\n makerRequestData,\n tab.sectionType\n ),\n makerSteps,\n isInEditMode: false,\n })}\n \n ))}\n \n\n \n
    \n
    \n
    \n
    \n \n );\n}\n\nconst mapStateToProps = ({ makerData }) => ({\n makerData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({\n fetchBasicFormDataProcess\n }, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(EditAndViewMaker)\n","import React from 'react'\nimport { Route, Switch } from 'react-router-dom'\nimport Maker from './Maker'\nimport EditAndViewMaker from './EditAndViewMaker'\n\nconst MakerRoute = () => {\n return (\n \n \n \n \n \n \n \n \n )\n}\n\nexport default MakerRoute\n","import Maker from './MakerRoute';\n\nexport default Maker;\n","// CHECKER LIST\nexport const FETCH_CHECKER_LIST_REQUEST = 'FETCH_CHECKER_LIST_REQUEST';\nexport const FETCH_CHECKER_LIST_SUCCESS = 'FETCH_CHECKER_LIST_SUCCESS';\nexport const FETCH_CHECKER_LIST_ERROR = 'FETCH_CHECKER_LIST_ERROR';\nexport const SHOW_CHECKER_LOADER = 'SHOW_CHECKER_LOADER';\nexport const HIDE_CHECKER_LOADER = 'HIDE_CHECKER_LOADER';\n","import {\n FETCH_CHECKER_LIST_SUCCESS,\n FETCH_CHECKER_LIST_REQUEST,\n FETCH_CHECKER_LIST_ERROR,\n SHOW_CHECKER_LOADER,\n HIDE_CHECKER_LOADER,\n} from './checker.constants';\n\nexport const fetchCheckerRequest = payload => ({\n type: FETCH_CHECKER_LIST_REQUEST,\n payload,\n});\n\nexport const fetchCheckerSuccess = payload => ({\n type: FETCH_CHECKER_LIST_SUCCESS,\n payload,\n});\n\nexport const fetchCheckerError = payload => ({\n type: FETCH_CHECKER_LIST_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_CHECKER_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_CHECKER_LOADER });\n","const { CHECKER_EVENT_TYPES } = require(\"./checker.constants\")\n\nexport const checkEventTypeExist = (data) => {\n Object.keys(CHECKER_EVENT_TYPES).includes(data);\n}\n\nexport const CHECKER_BASE_URL = '/checker/';\n\n\nexport const fetchMleSectionData = (data, tabname) => {\n // console.log(\"tabname : \", tabname);\n let resp = null;\n try {\n if (typeof data?.childCheckerResponseList === 'object') {\n data.childCheckerResponseList.map(makerCheckerResponse => {\n // console.log(\"1212\");\n if (makerCheckerResponse && !resp) {\n if (tabname === makerCheckerResponse.eventType.toLowerCase()) {\n // console.log(\"okoko\")\n // console.log(\"makercheckerResponse : \", makerCheckerResponse);\n resp = JSON.parse(JSON.stringify(makerCheckerResponse));\n // return {...makerCheckerResponse};\n }\n }\n });\n }\n } catch (e) {\n return null;\n }\n console.log(\"resp\", resp);\n return resp;\n};\n\n\nexport const getCheckerData = (data, tabname, addtionalData) => {\n // console.log(\"...sahi data\", data, tabname);\n let businessRequestedData = {};\n let draftData = {};\n if (typeof data?.childCheckerResponseList === 'object') {\n data.childCheckerResponseList.map((makerCheckerResponse) => {\n if (makerCheckerResponse) {\n // if(makerCheckerResponse?.eventType){\n // console.log(\"yes it has eventType of : \", makerCheckerResponse.eventType);\n // }\n if(tabname===makerCheckerResponse.eventType.toLowerCase()){\n businessRequestedData = JSON.parse(makerCheckerResponse.request);\n // console.log(\"businessData : \", businessRequestedData);\n draftData = {...businessRequestedData};\n }\n }\n });\n }\n // console.log(\"ownershipRequestedData\", ownershipRequestedData);\n // console.log(\"businessRequestedData\", businessRequestedData);\n // console.log(\"draftData : \", draftData);\n if (draftData?.panDetails?.dob) {\n delete draftData.panDetails.dob;\n }\n\n\n return draftData;\n}\n\nexport const isCheckerSectionDataExist = (checkerData, sectionType) => {\n try {\n const sectionData = fetchMleSectionData(checkerData, sectionType);\n return !!sectionData;\n } catch(e) {\n return false;\n }\n}\n\nexport const isCheckerActionable = (checkerData, sectionType) => {\n try {\n // console.log(\"section tjjhjype : \", sectionType);\n const sectionData = fetchMleSectionData(checkerData, sectionType);\n // console.log(\"section data : \", sectionData,sectionData?.userActionStatus === 'PENDING');\n return sectionData?.userActionStatus === 'PENDING';\n\n } \n catch (e) {\n // console.log(\"isCheckerActionable error\", e);\n return false;\n }\n // return false;\n\n}","import React, { useState } from 'react';\nimport Accordion from '../Accordion';\nimport './mleMakerChecker.scss';\nimport RiskDetailsView from './RiskCheckerView';\nimport MleCheckerApprovalForm from './MleCheckerApprovalForm';\n\nconst RiskDetailsAccordion = ({ data, additionalData, auth, isViewMode }) => {\n const [checkerRemarksData, setCheckerRemarksData] = useState([]);\n const transformedData = additionalData?.childCheckerResponseList?.[2]?.checkerRemarks[0] || null;\n const checkerLevel = additionalData?.childCheckerResponseList?.[0]?.approvalLevel || null;\n // console.log(\"checker current level : \", checkerLevel);\n\n const levelMapping = {\n L1: 'L2',\n L2: 'L3',\n L3: null, \n };\n const raisedToLevel = levelMapping[checkerLevel] || null;\n // console.log(\"raised level: \", raisedToLevel);\n\n const handleCheckerRemarksData = (updatedData) => {\n setCheckerRemarksData(updatedData);\n };\n\n const currentEventType = additionalData?.childCheckerResponseList?.[2]?.eventType || '';\n const currentMakerRequestId = additionalData?.childCheckerResponseList?.[2]?.makerRequestId || '';\n // const raisedToLevel = additionalData?.childCheckerResponseList?.[2]?.approvalLevel || null;\n\n return (\n
    \n {/*

    Ownership Details

    */}\n \n \n\n 0\n ? checkerRemarksData\n : transformedData\n }\n auth={auth}\n isViewMode={isViewMode}\n />\n
    \n );\n};\n\nexport default RiskDetailsAccordion;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { Switch, Route, useParams,useHistory } from 'react-router-dom';\nimport {\n MerchantDetailsView,\n RiskCheckerView\n} from '../../components/MleMakerChecker';\n\nimport { MAKER_CHECKER_EVENT_LABEL_MLE, MAKER_CHECKER_EVENT_TYPES_MLE } from 'utils/constants/commonValues';\n\nimport './MleRequestedApproval.scss'; // Tab styling\nimport { CHECKER_BASE_URL, getCheckerData, isCheckerActionable, isCheckerSectionDataExist } from './checker.utils';\nimport { BreadCrumb, Timelinev1 } from 'components';\nimport OwnershipDetailsAccordion from 'components/MleMakerChecker/OwnershipDetailsAccordion';\nimport { BUSINESS_SECTION_TYPE_MLE } from 'components/Onboarding/Mle/BusinessTab/contants';\nimport { UBO_SECTION_TYPE } from 'components/Onboarding/Mle/UobTab/constant';\nimport BusinessDetailsAccordian from 'components/MleMakerChecker/BusinessDetailsAccordian';\nimport RiskDetailsAccordian from 'components/MleMakerChecker/RiskDetailsAccordian';\nimport ErrorCard from 'components/ErrorCard/ErrorCard';\n\nconst baseUrl = CHECKER_BASE_URL;\n\n// Tab Definitions\nconst tabs = [\n {\n sectionType: BUSINESS_SECTION_TYPE_MLE,\n name: 'Business Details',\n component: (props) => {\n const { draftData, checkerRequestData, auth, isViewMode } = props;\n return (\n \n );\n },\n nextPath: (id) => `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase()}/${id}`,\n path: (id) => `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.business.toLowerCase()}/${id}`,\n previousPath: `${baseUrl}`,\n status: (checkerData) => isCheckerSectionDataExist(checkerData, MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase()) ? 'Open' : '',\n tabId: 1,\n permission: '',\n tabname: MAKER_CHECKER_EVENT_TYPES_MLE.business.toLowerCase()\n },\n {\n sectionType: UBO_SECTION_TYPE,\n name: 'Ownership Details',\n component: (props) => {\n const { draftData, checkerRequestData, auth, isViewMode } = props;\n if (!draftData || Object.keys(draftData).length === 0) {\n return (\n
    \n \n
    \n );\n }\n return (\n \n );\n },\n nextPath: (id) => `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.risk.toLowerCase()}/${id}`,\n path: (id) => `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase()}/${id}`,\n previousPath: (id) => `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.business.toLowerCase()}/${id}`,\n status: (checkerData) => isCheckerSectionDataExist(checkerData, MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase()) ? 'Open' : '',\n tabId: 2,\n permission: '',\n tabname: MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase()\n },\n {\n sectionType: 'risk',\n name: 'Risk Check',\n component: (props) => {\n const { draftData, checkerRequestData, auth, isViewMode } = props;\n if (!draftData || Object.keys(draftData).length === 0) {\n return (\n
    \n \n
    \n );\n }\n\n return (\n \n );\n },\n nextPath: baseUrl,\n path: (id) => `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.risk.toLowerCase()}/${id}`,\n previousPath: (id) => `${baseUrl}${MAKER_CHECKER_EVENT_TYPES_MLE.ubo.toLowerCase()}/${id}`,\n status: (checkerData) => isCheckerSectionDataExist(checkerData, MAKER_CHECKER_EVENT_TYPES_MLE.risk.toLowerCase()) ? 'Open' : '',\n tabId: 3,\n permission: '',\n tabname: MAKER_CHECKER_EVENT_TYPES_MLE.risk.toLowerCase()\n },\n];\n\nconst CheckerView = (props) => {\n const { tabname, id } = useParams();\n const { data, auth, checkerData } = props;\n\n const checkerRequestData = checkerData.tableData.find(\n (tableData) =>\n tableData.eventType === 'MLE_ONBOARDING' &&\n String(tableData.makerRequestId) === String(id) // Ensure type consistency\n );\n\n const isTabDataAvailable = checkerRequestData?.childCheckerResponseList?.some(\n (tabData) => tabData?.makerRequestId > 0\n );\n const history = useHistory();\n if(!checkerRequestData?.childCheckerResponseList){\n history.push('/checker');\n return false;\n }\n return (\n
    \n
    \n
    \n

    {tabname ? MAKER_CHECKER_EVENT_LABEL_MLE(tabname) : ''}

    \n \n
    \n
    \n
    \n ({\n ...tab,\n status: tab.status(checkerRequestData),\n path: tab.path(id),\n disabled: !isTabDataAvailable,\n }))}\n isCreate={false}\n heading=\"Requested Approval\"\n />\n
    \n
    \n \n {tabs.map((tab) => (\n \n {tab.component({\n ...tab,\n isViewMode: !isCheckerActionable(checkerRequestData, tab.tabname),\n draftData: getCheckerData(checkerRequestData, tab.tabname),\n checkerRequestData,\n auth,\n tabs,\n isInEditMode: false,\n })}\n \n ))}\n \n
    \n
    \n
    \n
    \n );\n};\n\nCheckerView.propTypes = {\n data: PropTypes.object,\n auth: PropTypes.object,\n checkerData: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, checkerData }) => ({\n auth,\n checkerData,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CheckerView);\n","// Components\nimport { Popup, Table, TableFilter } from '../../components';\n\nimport {\n MAKER_CHECKER_EVENT_TYPES,\n MAKER_CHECKER_EVENT_TYPES_TITLE_MAP,\n MOCK_API_VALUE,\n} from '../../utils/constants/commonValues';\n\nimport CheckerView from './CheckerView';\n\n// Actions\n\n// Libraries\nimport {\n fetchCheckerRequest,\n showLoader,\n hideLoader,\n} from './redux/checker.actions';\n\nimport React, { useMemo, useCallback, useState, useEffect } from 'react';\nimport {useHistory} from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\n\nimport moment from 'moment';\n\nimport './checker.scss';\nimport MleRequestedApprovalView from './MleRequestedApprovalView';\nimport { checkEventTypeExist } from './checker.utils';\nimport { MLE_ONBOARDING } from './checker.constants';\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {\n startDate: moment().subtract(1, 'days'),\n endDate: moment(),\n maximumNights: 31,\n notResetDate: true,\n },\n },\n {\n fieldType: 'select',\n label: 'Event Type',\n name: 'eventType',\n props: {\n data: [],\n label: 'Select Event Type',\n labelField: 'eventType',\n valueField: 'eventType',\n },\n },\n {\n fieldType: 'input',\n label: 'Unique ID/Merchant ID',\n name: 'idempotencyId',\n props: {\n placeholder: 'Enter Unique ID/Merchant ID',\n },\n },\n];\n\nconst setMerchantFilter = (fieldsList, underlyingMerchant, userLevel) => {\n fieldsList.forEach(element => {\n if (element.name === 'eventType') {\n element.props.data = Object.values(MAKER_CHECKER_EVENT_TYPES).map(\n value => {\n return { eventType: value };\n }\n );\n }\n });\n\n if (underlyingMerchant.length && userLevel && userLevel !== 'MERCHANT') {\n fieldsList.forEach(element => {\n if (element.name === 'merchantId') {\n element.props.data = underlyingMerchant;\n }\n });\n return fieldsList;\n }\n\n return fieldsList.filter(item => item.name !== 'merchantId');\n};\n\nconst CheckerActions = ({ data, handleOpenActionPopup, setSelectedData, history }) => {\n const originalData = data.original;\n const makerRequestId = originalData.makerRequestId;\n\n // console.log(\"original data\", originalData);\n const handleOnClick = () => {\n // console.log(\"original data checker action\", originalData);\n if (originalData?.eventType === MLE_ONBOARDING) {\n history.push(`/checker/business_detail_section/${makerRequestId}`);\n } else {\n setSelectedData(originalData);\n handleOpenActionPopup(true);\n }\n };\n\n return (\n
    \n
    \n );\n};\n\nconst Checker = ({ actions, checkerData, auth, staticData }) => {\n const { tableData, isLoading, pagination, error } = checkerData;\n console.log(\"tableData\", tableData);\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageIndex, setPageIndex] = useState(1);\n const [pageSize, setPageSize] = useState(10);\n const [filterData, setFilterData] = useState({});\n const [isResetPage, setIsResetPage] = useState(false);\n const [showPopUp, setShowPopUp] = useState(false);\n const [selectedData, setSelectedData] = useState(false);\n\n const history = useHistory();\n\n const handleCloseView = () => {\n setShowPopUp(false);\n fetchData({\n pageSize,\n pageIndex,\n });\n };\n const handleViewOpen = () => {\n setShowPopUp(true);\n };\n\n const { underlyingMerchant } = staticData;\n const filters = setMerchantFilter(filterFieldList, underlyingMerchant);\n\n const fetchData = useCallback(\n (pageSize, pageIndex) => {\n const data = {\n pageSize: pageSize.pageSize,\n pageIndex: pageSize.pageIndex,\n };\n const payload = { ...data, ...filterData };\n actions.fetchCheckerRequest(payload);\n\n setPageSize(pageSize.pageSize);\n setPageIndex(pageSize.pageIndex);\n },\n [actions, filterData]\n );\n\n const fetchFilterData = filterValues => {\n setFilterData(filterValues);\n setIsResetPage(true);\n };\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const columns = useMemo(\n () => [\n { header: 'Event Type', accessor: 'eventTypeName' },\n { header: 'Unique Id', accessor: 'idempotencyId' },\n { header: 'Created At', accessor: 'createdAt' },\n { header: 'Maker Request ID', accessor: 'makerRequestId' },\n { header: 'Maker Id', accessor: 'makerId' },\n { header: 'Status', accessor: 'status' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n return (\n <>\n
    \n ({ ...item, eventTypeName: item.eventType.split('_').join(' ')}))}\n isFiltersEnable\n filterData={filterData}\n tableFilters={\n {\n const tempFilterValue = { ...filterValues };\n fetchFilterData(tempFilterValue);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n userActions={data => {\n // return (\n // history.push('/checker/BUSINESS_DETAILS/3755')\n // // history.push(`${data.original.eventType}/${data.original.makerRequestId}`)\n // )\n console.log(\"data in checker\", data);\n return (\n \n );\n }}\n isPaginationEnable\n loading={isLoading}\n error={error && error.errorMessage}\n fetchData={fetchData}\n numberOfRecord={pagination.totalNumberOfRecords}\n paginationLabel=\"Rows per page\"\n pageSizeOptions={pageSizeOptions}\n pagePerView={3}\n pageCount={pageCount}\n isResetPage={isResetPage}\n afterResetPage={() => setIsResetPage(false)}\n tableActionPopup={\n \n \n \n }\n />\n
    \n \n );\n};\n\nCheckerActions.propTypes = {\n data: PropTypes.object,\n downloadRequest: PropTypes.func,\n handleOpenActionPopup: PropTypes.func,\n setSelectedData: PropTypes.func,\n};\n\nChecker.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n manageBin: PropTypes.object,\n loader: PropTypes.object,\n checkerData: PropTypes.object,\n staticData: PropTypes.object,\n};\n\nconst mapStateToProps = ({\n auth,\n loader,\n actions,\n checkerData,\n staticData,\n}) => ({\n auth,\n loader,\n actions,\n checkerData,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n { fetchCheckerRequest, showLoader, hideLoader },\n dispatch\n ),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(Checker);\n","import React from 'react'\nimport { Route, Switch } from 'react-router-dom'\nimport {MerchantDetailsView} from '../../components/MleMakerChecker'\nimport Checker from './Checker';\nimport MleRequestedApprovalView from './MleRequestedApprovalView';\n\nconst MleRequestedApprovalRoute = () => {\n return (\n \n \n \n \n \n \n \n \n )\n}\n\nexport default MleRequestedApprovalRoute","import MleRequestedApprovalRoute from './MleRequestedApprovalRoute';\n\nexport default MleRequestedApprovalRoute;\n","export const FETCH_MANDATES_LIST_REQUEST = 'FETCH_MANDATES_LIST_REQUEST';\nexport const FETCH_MANDATES_LIST_SUCCESS = 'FETCH_MANDATES_LIST_SUCCESS';\nexport const FETCH_MANDATES_LIST_ERROR = 'FETCH_MANDATES_LIST_ERROR';\n\nexport const FETCH_MANDATE_TRANSACTION_LIST_REQUEST =\n 'FETCH_MANDATE_TRANSACTION_LIST_REQUEST';\nexport const FETCH_MANDATE_TRANSACTION_LIST_ERROR =\n 'FETCH_MANDATE_TRANSACTION_LIST_ERROR';\nexport const FETCH_MANDATE_TRANSACTION_LIST_SUCCESS =\n 'FETCH_MANDATE_TRANSACTION_LIST_SUCCESS';\n\nexport const UPDATE_MANDATE_STATUS_REQUEST = 'UPDATE_MANDATE_STATUS_REQUEST';\nexport const UPDATE_MANDATE_STATUS_SUCCESS = 'UPDATE_MANDATE_STATUS_SUCCESS';\nexport const UPDATE_MANDATE_STATUS_ERROR = 'UPDATE_MANDATE_STATUS_ERROR';\n\nexport const RESET_MANDATE_TRANSACTION_LIST_DATA =\n 'RESET_MANDATE_TRANSACTION_LIST_DATA';\n\nexport const GENERATE_MANDATE_REPORT_REQUEST =\n 'GENERATE_MANDATE_REPORT_REQUEST';\nexport const GENERATE_MANDATE_REPORT_SUCCESS =\n 'GENERATE_MANDATE_REPORT_SUCCESS';\nexport const GENERATE_MANDATE_REPORT_ERROR = 'GENERATE_MANDATE_REPORT_ERROR';\nexport const GET_ACTIVE_MANDATE_REPORT_REQUEST =\n 'GET_ACTIVE_MANDATE_REPORT_REQUEST';\nexport const GET_ACTIVE_MANDATE_REPORT_SUCCESS =\n 'GET_ACTIVE_MANDATE_REPORT_SUCCESS';\nexport const GET_ACTIVE_MANDATE_REPORT_ERROR =\n 'GET_ACTIVE_MANDATE_REPORT_ERROR';\nexport const DOWNLOAD_MANDATE_REPORT_REQUEST =\n 'DOWNLOAD_MANDATE_REPORT_REQUEST';\nexport const DOWNLOAD_MANDATE_REPORT_SUCCESS =\n 'DOWNLOAD_MANDATE_REPORT_SUCCESS';\nexport const DOWNLOAD_MANDATE_REPORT_ERROR = 'DOWNLOAD_MANDATE_REPORT_ERROR';\n\nexport const SHOW_MANDATE_LOADER = 'SHOW_MANDATE_LOADER';\nexport const HIDE_MANDATE_LOADER = 'HIDE_MANDATE_LOADER';\n","import {\n DOWNLOAD_MANDATE_REPORT_ERROR,\n DOWNLOAD_MANDATE_REPORT_REQUEST,\n DOWNLOAD_MANDATE_REPORT_SUCCESS,\n FETCH_MANDATES_LIST_ERROR,\n FETCH_MANDATES_LIST_REQUEST,\n FETCH_MANDATES_LIST_SUCCESS,\n FETCH_MANDATE_TRANSACTION_LIST_ERROR,\n FETCH_MANDATE_TRANSACTION_LIST_REQUEST,\n FETCH_MANDATE_TRANSACTION_LIST_SUCCESS,\n GENERATE_MANDATE_REPORT_ERROR,\n GENERATE_MANDATE_REPORT_REQUEST,\n GENERATE_MANDATE_REPORT_SUCCESS,\n GET_ACTIVE_MANDATE_REPORT_ERROR,\n GET_ACTIVE_MANDATE_REPORT_REQUEST,\n GET_ACTIVE_MANDATE_REPORT_SUCCESS,\n HIDE_MANDATE_LOADER,\n RESET_MANDATE_TRANSACTION_LIST_DATA,\n SHOW_MANDATE_LOADER,\n UPDATE_MANDATE_STATUS_ERROR,\n UPDATE_MANDATE_STATUS_REQUEST,\n UPDATE_MANDATE_STATUS_SUCCESS,\n} from './mandates.constant';\n\nexport const fetchMandatesRequest = payload => ({\n type: FETCH_MANDATES_LIST_REQUEST,\n payload,\n});\n\nexport const fetchMandatesSuccess = payload => ({\n type: FETCH_MANDATES_LIST_SUCCESS,\n payload,\n});\n\nexport const fetchMandatesError = payload => ({\n type: FETCH_MANDATES_LIST_ERROR,\n payload,\n});\n\nexport const fetchMandatesTransactionListRequest = payload => ({\n type: FETCH_MANDATE_TRANSACTION_LIST_REQUEST,\n payload,\n});\n\nexport const fetchMandatesTransactionListSuccess = payload => ({\n type: FETCH_MANDATE_TRANSACTION_LIST_SUCCESS,\n payload,\n});\n\nexport const fetchMandatesTransactionListError = payload => ({\n type: FETCH_MANDATE_TRANSACTION_LIST_ERROR,\n payload,\n});\n\nexport const updateMandateStatusRequest = payload => ({\n type: UPDATE_MANDATE_STATUS_REQUEST,\n payload,\n});\n\nexport const updateMandateStatusSuccess = payload => ({\n type: UPDATE_MANDATE_STATUS_SUCCESS,\n payload,\n});\n\nexport const updateMandateStatusError = payload => ({\n type: UPDATE_MANDATE_STATUS_ERROR,\n payload,\n});\n\nexport const resetMandateTransactionList = payload => ({\n type: RESET_MANDATE_TRANSACTION_LIST_DATA,\n payload,\n});\n\n// REPORTING Actions\nexport const downloadMandateReportRequest = payload => ({\n type: DOWNLOAD_MANDATE_REPORT_REQUEST,\n payload,\n});\n\nexport const downloadMandateReportSuccess = payload => ({\n type: DOWNLOAD_MANDATE_REPORT_SUCCESS,\n payload,\n});\n\nexport const downloadMandateReportError = payload => ({\n type: DOWNLOAD_MANDATE_REPORT_ERROR,\n payload,\n});\n\nexport const generateMandateReportRequest = payload => ({\n type: GENERATE_MANDATE_REPORT_REQUEST,\n payload,\n});\n\nexport const generateMandateReportSuccess = payload => ({\n type: GENERATE_MANDATE_REPORT_SUCCESS,\n payload,\n});\n\nexport const generateMandateReportError = payload => ({\n type: GENERATE_MANDATE_REPORT_ERROR,\n payload,\n});\n\nexport const getActiveMandateReportRequest = hideLoader => ({\n type: GET_ACTIVE_MANDATE_REPORT_REQUEST,\n hideLoader,\n});\n\nexport const getActiveMandateReportSuccess = payload => ({\n type: GET_ACTIVE_MANDATE_REPORT_SUCCESS,\n payload,\n});\n\nexport const getActiveMandateReportError = payload => ({\n type: GET_ACTIVE_MANDATE_REPORT_ERROR,\n payload,\n});\n\nexport const showLoader = () => ({ type: SHOW_MANDATE_LOADER });\n\nexport const hideLoader = () => ({ type: HIDE_MANDATE_LOADER });\n","/**\n * Enumeration representing possible status values for mandates.\n * @const {Array.<{name: string, value: string}>}\n * @readonly\n */\nexport const MANDATE_STATUS_ENUM = [\n /**\n * @type {string}\n * Mandate status: Active.\n */\n { name: 'Active', value: 'ACTIVE' },\n\n /**\n * @type {string}\n * Mandate status: Completed.\n */\n { name: 'Completed', value: 'COMPLETED' },\n\n /**\n * @type {string}\n * Mandate status: Pause.\n */\n { name: 'Pause', value: 'PAUSE' },\n\n /**\n * @type {string}\n * Mandate status: Cancelled.\n */\n { name: 'Cancelled', value: 'CANCELLED' },\n\n /**\n * @type {string}\n * Mandate status: Failed.\n */\n { name: 'Failed', value: 'FAILED' },\n];\n\n/**\n * Enumeration representing possible payment modes for mandates.\n * @const {Array.<{name: string, value: string}>}\n * @readonly\n */\nexport const MANDATE_PAYMENT_MODE = [\n /**\n * @type {string}\n * Payment mode: Credit Card.\n * Currently Not Available;\n */\n // { name: 'Credit Card', value: 'CC' },\n\n /**\n * @type {string}\n * Payment mode: UPI.\n */\n { name: 'UPI', value: 'UPI' },\n];\n\n/**\n * Map representing customer details for mandates.\n * @const {Array.<{label: string, key: string}>}\n * @readonly\n */\nexport const MANDATE_CUSTOMER_DETAILS_MAP = [\n /**\n * @type {string}\n * Label: Subscription ID.\n * Key: subscriptionID.\n */\n { label: 'Subscription ID', key: 'subscriptionID' },\n\n /**\n * @type {string}\n * Label: Email ID.\n * Key: emailId.\n */\n { label: 'Email ID', key: 'emailId' },\n\n /**\n * @type {string}\n * Label: Customer ID.\n * Key: customerID.\n */\n { label: 'Customer ID', key: 'customerID' },\n\n /**\n * @type {string}\n * Label: Phone No.\n * Key: phoneNo.\n */\n { label: 'Phone No.', key: 'phoneNo' },\n];\n\n/**\n * Map representing billing details for mandates.\n * @const {Array.<{label: string, key: string}>}\n * @readonly\n */\nexport const MANDATE_BILLING_DETAILS_MAP = [\n /**\n * @type {string}\n * Label: Billing Frequency.\n * Key: frequency.\n */\n { label: 'Billing Frequency', key: 'frequency' },\n\n /**\n * @type {string}\n * Label: Billing Amount.\n * Key: billingAmount.\n */\n { label: 'Billing Amount', key: 'billingAmount' },\n\n /**\n * @type {string}\n * Label: Payment Method.\n * Key: payType.\n */\n { label: 'Payment Method', key: 'payType' },\n];\n\n/**\n * Map representing basic billing details for mandates.\n * @const {Array.<{label: string, key: string}>}\n * @readonly\n */\nexport const MANDATE_BILLING_DETAILS_BASIC_MAP = [\n /**\n * @type {string}\n * Label: Created At.\n * Key: createdAt.\n */\n { label: 'Created At', key: 'createdAt' },\n\n /**\n * @type {string}\n * Label: Last Payment.\n * Key: lastPaidAt.\n */\n { label: 'Last Payment', key: 'lastPaidAt' },\n\n /**\n * @type {string}\n * Label: Next Due On.\n * Key: nextDueOn.\n */\n { label: 'Next Due On', key: 'nextDueOn' },\n];\n\n/**\n * Columns configuration for displaying mandates.\n * @const {Array.<{header: string, accessor: string}>}\n * @readonly\n */\nexport const MANDATE_COLUMNS = [\n /**\n * @type {string}\n * Header: Merchant Name.\n * Accessor: entityCode.\n */\n { header: 'Merchant Name', accessor: 'entityCode' },\n\n /**\n * @type {string}\n * Header: Payment Instrument.\n * Accessor: Payment Instrument.\n */\n { header: 'Payment Instrument', accessor: 'paymentInfo' },\n\n /**\n * @type {string}\n * Header: Customer ID.\n * Accessor: customerID.\n */\n { header: 'Customer ID', accessor: 'customerID' },\n\n /**\n * @type {string}\n * Header: Created At.\n * Accessor: createdAtDate.\n */\n { header: 'Created At', accessor: 'createdAtDate' },\n\n /**\n * @type {string}\n * Header: Last Payment.\n * Accessor: lastPaidDate.\n */\n { header: 'Last Payment', accessor: 'lastPaidDate' },\n\n /**\n * @type {string}\n * Header: Next Due On.\n * Accessor: nextDueOnDate.\n */\n { header: 'Next Due On', accessor: 'nextDueOnDate' },\n\n /**\n * @type {string}\n * Header: Status.\n * Accessor: status.\n */\n { header: 'Status', accessor: 'status' },\n\n /**\n * @type {string}\n * Header: Action.\n * Accessor: action.\n */\n { header: 'Action', accessor: 'action' },\n];\n","import { useState, useEffect, useRef } from 'react';\n\n/**\n * A custom React hook for implementing infinite scroll behavior using the Intersection Observer API.\n *\n * @param {boolean} hasNextPage - Indicates whether there are more items to load.\n * @param {number} delay - The delay in milliseconds before triggering the loadMore function.\n * @param {number} pageSize - The number of items to load in each request.\n * @param {number} pageNumber - The current page number.\n * @param {function} loadMore - The function to be triggered when more items need to be loaded.\n * @returns {Object} scrollContainerRef - A React ref that should be attached to the scrollable container element.\n */\nconst useInfiniteScroll = ({\n hasNextPage,\n delay,\n pageSize,\n pageNumber,\n loadMore,\n scrollTriggerGap = 100,\n}) => {\n const [isFetching, setIsFetching] = useState(false);\n const scrollContainerRef = useRef(null);\n\n useEffect(() => {\n /**\n * Handles the scroll event and triggers the loadMore function when the user scrolls\n * to the bottom of the scrollable container.\n */\n const handleScroll = () => {\n if (!isFetching && hasNextPage) {\n const container = scrollContainerRef.current;\n if (container) {\n const { scrollTop, scrollHeight, clientHeight } = container;\n\n // Check if the user has scrolled to the bottom (within 100 pixels)\n if (\n scrollTop + clientHeight >=\n scrollHeight - scrollTriggerGap\n ) {\n setIsFetching(true);\n\n // Use a delay before triggering the loadMore function\n setTimeout(() => {\n loadMore(pageSize, pageNumber + 1);\n setIsFetching(false);\n }, delay);\n }\n }\n }\n };\n\n // Attach the scroll event listener to the scrollable container\n const container = scrollContainerRef.current;\n if (container) {\n container.addEventListener('scroll', handleScroll);\n }\n\n // Remove the scroll event listener when the component unmounts\n return () => {\n if (container) {\n container.removeEventListener('scroll', handleScroll);\n }\n };\n }, [hasNextPage, isFetching, delay, pageSize, pageNumber, loadMore]);\n\n // Return the ref that should be attached to the scrollable container element\n return scrollContainerRef;\n};\n\nexport default useInfiniteScroll;\n","import { FormElems } from 'components';\nimport { updateMandateStatusRequest } from 'containers/Mandate/redux/mandates.actions';\nimport { nameValueOptions } from 'utils/helperMethods';\n\nimport React from 'react';\nimport { connect } from 'react-redux';\nimport { bindActionCreators, compose } from 'redux';\nimport PropTypes from 'prop-types';\n\nimport { Field, reduxForm } from 'redux-form';\n\nconst MandateUpdateForm = ({\n data,\n actions,\n handleSubmit,\n formData,\n isUpdating,\n}) => {\n // NOTE: sending mandateProductRefId as subscriptionID, as consumed by MMS service\n const handleFormSubmit = values => {\n actions.updateMandateStatusRequest({\n ...values,\n subscriptionId: data.mandateProductRefId,\n });\n };\n\n return (\n
    \n
    \n

    Subscription Status

    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n );\n};\n\nMandateUpdateForm.propTypes = {\n data: PropTypes.object,\n mandateData: PropTypes.object,\n actions: PropTypes.object,\n formData: PropTypes.object,\n handleSubmit: PropTypes.func,\n isUpdating: PropTypes.bool,\n};\n\nconst mapStateToProps = ({ auth, refundData, form }) => ({\n auth,\n refundData,\n formData: form['mandate-update-form'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n updateMandateStatusRequest,\n },\n dispatch\n ),\n});\n\nexport default compose(\n reduxForm({\n form: 'mandate-update-form',\n enableReinitialize: true,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(MandateUpdateForm);\n","import {\n fetchMandatesTransactionListRequest,\n updateMandateStatusRequest,\n resetMandateTransactionList,\n} from 'containers/Mandate/redux/mandates.actions';\nimport {\n DEFAULT_CURRENCY,\n MANDATE_TRANSACTION_STATUS_MAP,\n} from 'utils/constants/commonValues';\nimport useInfiniteScroll from 'hooks/useInfiniteScroll';\nimport fcLoader from '../../static/images/generating.gif';\nimport NoResult from '../../static/images/noDataFound.png';\n\nimport CalendarImage from '../../static/images/calender.png';\nimport {\n MANDATE_BILLING_DETAILS_BASIC_MAP,\n MANDATE_BILLING_DETAILS_MAP,\n MANDATE_CUSTOMER_DETAILS_MAP,\n} from './constant';\n\nimport MandateUpdateForm from './MandateUpdateForm';\nimport React, { useEffect, useState } from 'react';\n\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\n\nconst MandateSidePanel = ({ data, mandateData, actions }) => {\n const { billingDetails } = data;\n const { mandateTransactionData } = mandateData;\n const {\n details,\n hasNextPage,\n isLoading,\n isUpdating,\n } = mandateTransactionData;\n\n const [pageNo, setPageNo] = useState(1);\n const pageSize = 4;\n\n const scrollTriggerController = (pageSize, newPageNumber) => {\n setPageNo(newPageNumber);\n };\n\n const scrollContainerRef = useInfiniteScroll({\n hasNextPage,\n delay: 500,\n pageSize,\n pageNumber: pageNo,\n loadMore: scrollTriggerController,\n scrollTriggerGap: 100,\n });\n\n // NOTE: sending mandateProductRefId as referenceId, as consumed by MMS service\n useEffect(() => {\n const payload = {\n referenceId: data.mandateProductRefId,\n pageNo,\n pageSize,\n };\n actions.fetchMandatesTransactionListRequest(payload);\n }, [actions, data.mandateProductRefId, pageNo]);\n\n return (\n
    \n
    \n
    \n
    \n

    Customer Details

    \n
    \n {data.status}\n
    \n
    \n
    \n {MANDATE_CUSTOMER_DETAILS_MAP.map((item, itemIndex) => {\n return (\n \n
    {item.label}
    \n
    \n {data[item.key] || '-'}\n
    \n
    \n );\n })}\n
    \n
    \n
    \n

    Billing Details

    \n
    \n {MANDATE_BILLING_DETAILS_MAP.map((item, itemIndex) => {\n return (\n \n
    {item.label}
    \n
    \n {billingDetails[item.key] || '-'}\n
    \n
    \n );\n })}\n {MANDATE_BILLING_DETAILS_BASIC_MAP.map(\n (item, itemIndex) => {\n return (\n \n
    \n {item.label}\n
    \n
    \n {data[item.key] || '-'}\n
    \n
    \n );\n }\n )}\n
    \n \n\n {data.remarks ? (\n
    \n

    Last Comment

    \n

    \n {data.remarks}\n

    \n
    \n ) : (\n <>\n )}\n\n {!['CANCELLED', 'COMPLETED', 'FAILED'].includes(data.status) ? (\n
    \n \n {isUpdating ? (\n
    \n \n
    \n Mandate Status is{' '}\n Updating...\n
    \n
    \n ) : (\n <>\n )}\n
    \n ) : (\n <>\n )}\n\n
    \n

    Transaction History

    \n {!isLoading && details.length <= 0 ? (\n
    \n \"No\n No Transaction History found.\n
    \n ) : (\n <>\n )}\n \n {details.map((txnDetail, txnDetailIndex) => {\n return (\n \n
    \n \n

    \n {\n txnDetail.executionDate.split(\n ','\n )[0]\n }\n

    \n

    \n {\n txnDetail.executionDate.split(\n ','\n )[1]\n }\n

    \n
    \n
    \n
    \n
    \n
    \n Order ID\n
    \n
    \n {txnDetail.orderId || '-'}\n
    \n
    \n
    \n
    \n Transaction ID\n
    \n
    \n {txnDetail.transactionId ||\n '-'}\n
    \n
    \n
    \n
    \n Remarks\n
    \n
    \n {txnDetail.remarks || '-'}\n
    \n
    \n
    \n
    \n \n {\n MANDATE_TRANSACTION_STATUS_MAP[\n txnDetail.status\n ]\n }\n
    \n
    \n {DEFAULT_CURRENCY}{' '}\n {txnDetail.amount\n ? txnDetail.amount\n : 'N/A'}\n
    \n
    \n
    \n \n );\n })}\n {isLoading && hasNextPage ? (\n \n ) : (\n <>\n )}\n \n \n \n \n );\n};\n\nMandateSidePanel.propTypes = {\n data: PropTypes.object,\n mandateData: PropTypes.object,\n actions: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, mandateData, loader }) => ({\n auth,\n mandateData,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchMandatesTransactionListRequest,\n updateMandateStatusRequest,\n resetMandateTransactionList,\n },\n dispatch\n ),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(MandateSidePanel);\n","import { Popup } from 'components';\nimport MandateSidePanel from 'containers/Mandate/MandateSidePanel';\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\n\nconst MandateActions = ({ data, resetMandateTransactionList }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n\n const handleOpenActionPopup = actionType => {\n resetMandateTransactionList();\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = () => {\n setShowFilter(false);\n setActionType(null);\n };\n\n return (\n
    \n
    \n );\n};\n\nMandateActions.propTypes = {\n data: PropTypes.object,\n};\n\nexport default MandateActions;\n","/* eslint-disable max-lines */\n/* eslint-disable max-statements */\n/* eslint-disable react-hooks/exhaustive-deps */\n// Actions\nimport { setEntityDataSuccess } from 'containers/MerchantOnboard/redux/editMerchant/editMerchant.actions';\n\nimport {\n fetchEntityHierarchyRequest,\n fetchEntityListRequest,\n} from 'containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\nimport {\n fetchMandatesRequest,\n getActiveMandateReportRequest,\n downloadMandateReportRequest,\n generateMandateReportError,\n generateMandateReportRequest,\n resetMandateTransactionList,\n} from 'containers/Mandate/redux/mandates.actions';\n\n// Components\nimport DownloadFile from 'containers/Transactions/DownloadFile';\n\nimport { setAggregatorFilter, setMerchantFilter } from 'utils/helperMethods';\n\nimport { ENTITY_TYPE } from '../../utils/constants/commonValues';\n\nimport {\n Table,\n TableFilter,\n Popup,\n ViewDownloadGeneric,\n TableSearch,\n} from '../../components';\n\n// Constants\n\nimport {\n MANDATE_COLUMNS,\n MANDATE_PAYMENT_MODE,\n MANDATE_STATUS_ENUM,\n} from './constant';\n\n// Component\nimport MandateActions from './MandateActions';\n\n// Libraries\n\nimport React, {\n useMemo,\n useState,\n useCallback,\n useEffect,\n useRef,\n} from 'react';\nimport PropTypes from 'prop-types';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport moment from 'moment';\n\n// Layouts\n\n// Styles\nimport './mandate.scss';\n\nlet filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {\n startDate: moment()\n .endOf('day')\n .subtract(1, 'days'),\n endDate: moment().endOf('day'),\n maximumNights: 30,\n notResetDate: true,\n },\n },\n\n {\n fieldType: 'search-select',\n label: 'Aggregator Name',\n name: 'aggregatorId',\n props: {\n data: [],\n label: 'Select Aggregator',\n labelField: 'name',\n valueField: 'entityCode',\n entityType: 'AGGREGATOR',\n },\n },\n {\n fieldType: 'search-select',\n label: 'Merchant Name',\n name: 'merchantName',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'name',\n valueField: 'entityCode',\n entityType: 'MERCHANT_NAME',\n },\n },\n {\n fieldType: 'search-select',\n label: 'Merchant ID',\n name: 'merchantId',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'entityCode',\n valueField: 'entityCode',\n entityType: 'MERCHANT',\n },\n },\n {\n fieldType: 'parallel-input',\n label: 'Amount',\n fieldA: {\n name: 'minAmount',\n props: {\n placeholder: 'Min. Amount',\n type: 'number',\n },\n },\n fieldB: {\n name: 'maxAmount',\n props: {\n placeholder: 'Max. Amount',\n type: 'number',\n },\n },\n },\n {\n fieldType: 'search-select',\n label: 'Payment Type',\n name: 'paymentType',\n props: {\n data: MANDATE_PAYMENT_MODE,\n label: 'Select Payment Type',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'checkbox',\n label: 'Mandate Status',\n name: 'mandateStatus',\n props: {\n options: MANDATE_STATUS_ENUM,\n labelField: 'name',\n valueField: 'value',\n },\n },\n];\n\nconst Mandates = props => {\n const {\n mandateData,\n actions,\n // staticData,\n loader: { showLoader },\n merchantData,\n auth,\n } = props;\n\n const {\n error,\n tableData,\n isLoading,\n pagination,\n generatedFile,\n activeReports,\n } = mandateData;\n\n const { entityList } = merchantData;\n // const { underlyingMerchant } = staticData;\n const [filterData, setFilterData] = useState({});\n const { userLevel, associatedEntityId } = auth.userDetails;\n\n const columns = useMemo(() => MANDATE_COLUMNS, []);\n\n const pageSizeOptions = [10, 20, 40, 60];\n\n // We'll start our table without any data\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [isResetPage, setIsResetPage] = useState(false);\n const [showFilter, setShowFilter] = useState(false);\n const [showDownloadPopup, setShowDownloadPopup] = useState(false);\n const selectedAggregator = useRef(null);\n\n const handleViewDownloads = () => {\n setShowFilter(true);\n };\n\n const handleCloseViewDownloads = () => {\n setShowFilter(false);\n };\n\n const handleAggregatorSelect = useCallback(\n entityCode => {\n selectedAggregator.current = entityCode;\n if (!entityCode) {\n // used to rerender so all merchant visible\n setFilterData({\n createdOn: filterData.createdOn,\n });\n return;\n }\n actions.fetchEntityHierarchyRequest(\n entityCode,\n 'LOWER_COMPLETE',\n 'AGGREGATOR_TXN'\n );\n },\n [actions]\n );\n\n useEffect(() => {\n // get all aggregator\n actions.fetchEntityListRequest(ENTITY_TYPE.AGGREGATOR);\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT);\n // add onchange listener to aggregator\n filterFieldList.forEach(filter => {\n if (filter.name === 'aggregatorId') {\n filter.props.onChange = handleAggregatorSelect;\n }\n });\n }, [actions, handleAggregatorSelect]);\n\n useEffect(() => {\n if (generatedFile.isSuccess) {\n setShowFilter(true);\n setShowDownloadPopup(false);\n }\n return () => {\n actions.generateMandateReportError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generatedFile.isSuccess]);\n\n // remove filters for specific users\n useEffect(() => {\n // if not admin and RM remove aggregator\n if (userLevel && userLevel !== 'ADMIN' && userLevel !== 'RM') {\n filterFieldList = filterFieldList.filter(\n filter => filter.name !== 'aggregatorId'\n );\n }\n // if merchant remove merchant\n if (userLevel && userLevel === 'MERCHANT') {\n filterFieldList = filterFieldList.filter(\n filter => filter.name !== 'merchantId'\n );\n }\n\n if (userLevel) {\n // for aggregator request only when auth data is present\n fetchData({ pageIndex: 0, pageSize: 10 });\n }\n }, [userLevel]);\n\n const fetchData = ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n\n const data = {\n pageSize,\n pageIndex,\n };\n if (\n filterData.createdOn &&\n Object.keys(filterData.createdOn).length &&\n userLevel\n ) {\n // for aggregator show split txn in default view\n if (userLevel === 'AGGREGATOR' && !filterData.merchantIds) {\n actions.fetchMandatesRequest({\n ...data,\n ...filterData,\n merchantIds: [associatedEntityId],\n });\n } else {\n actions.fetchMandatesRequest({\n ...data,\n ...filterData,\n });\n }\n }\n setPageSize(pageSize);\n };\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const handleSearchSubmit = searchQuery => {\n actions.fetchMandatesRequest({\n orderId: searchQuery,\n createdOn: filterData.createdOn,\n });\n };\n\n const handleSearchEnd = (value, entityType) => {\n const type = entityType === 'MERCHANT_NAME' ? 'MERCHANT' : entityType;\n const filtered = entityList[type.toLowerCase()]?.filter(item => {\n const key = entityType === 'MERCHANT' ? 'entityCode' : 'name';\n return item[key]?.toLowerCase().includes(value.toLowerCase());\n }) || [];\n\n const data = {\n entityName: ['MERCHANT_NAME', 'AGGREGATOR'].includes(entityType) ? value : '',\n entityCode: !['MERCHANT_NAME', 'AGGREGATOR'].includes(entityType) ? value : ''\n };\n\n if (filtered.length === 0 && value.length >= 3) {\n actions.fetchEntityListRequest(type, data);\n }\n };\n\n let filters = setMerchantFilter(\n filterFieldList,\n entityList.merchant || [],\n entityList,\n selectedAggregator.current,\n handleSearchEnd\n );\n\n filters = setAggregatorFilter(filterFieldList, entityList, handleSearchEnd);\n\n const filterSubmitHandler = filterValues => {\n const { aggregatorId, merchantId, merchantName } = filterValues;\n delete filterValues.merchantIds;\n let merchantIds = [];\n if (aggregatorId) {\n merchantIds.push(aggregatorId);\n }\n if (merchantId) {\n merchantIds.push(merchantId);\n }\n if(merchantName){\n merchantIds.push(merchantName);\n }\n if (merchantIds.length) {\n merchantIds = [...new Set(merchantIds)];\n filterValues.merchantIds = merchantIds;\n }\n setFilterData({ ...filterValues, isLive: filterData.isLive });\n setIsResetPage(true);\n };\n\n return (\n
    \n setIsResetPage(false)}\n onClickTableAction={handleViewDownloads}\n tableSearch={\n
    \n
    \n \n
    \n
    \n }\n userActions={data => (\n \n )}\n additionalActions={() => (\n \n )}\n tableActionPopup={\n \n \n \n }\n tableFilters={\n {\n filterSubmitHandler(filterValues);\n }}\n onReset={resetValue => {\n setFilterData({\n ...resetValue,\n });\n selectedAggregator.current = null;\n setIsResetPage(true);\n }}\n />\n }\n />\n
    \n );\n};\n\nconst mapStateToProps = ({\n auth,\n mandateData,\n loader,\n staticData,\n merchantData,\n}) => ({\n auth,\n mandateData,\n loader,\n staticData,\n merchantData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchMandatesRequest,\n generateMandateReportError,\n setEntityDataSuccess,\n fetchEntityListRequest,\n fetchEntityHierarchyRequest,\n downloadMandateReportRequest,\n getActiveMandateReportRequest,\n generateMandateReportRequest,\n resetMandateTransactionList,\n },\n dispatch\n ),\n});\n\nMandates.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n mandateData: PropTypes.object,\n staticData: PropTypes.object,\n loader: PropTypes.object,\n merchantData: PropTypes.object.isRequired,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Mandates);\n","import Mandate from './Mandate';\n\nexport default Mandate;\n","// components\nimport {\n PageTable,\n ChargebackComponents,\n ViewDownloadGeneric,\n Popup,\n FormElems,\n} from 'components';\n\nimport happyFaceImage from 'static/images/happyFace.svg';\n\n// styles\nimport './chargebackPage.scss';\n\n// constant\nimport {\n PAYMENT_MODE,\n CHARGEBACK_STATUS_ENUM,\n DISPUTE_STATUS_ENUM,\n} from 'utils/constants/commonValues';\n\n// actions\nimport {\n fetchChargeBackDataRequest,\n getActiveChargebackReportRequest,\n downloadChargebackReportRequest,\n generateChargebackReportError,\n generateChargebackReportRequest,\n resetRaiseChargebackForm,\n} from './redux/chargeback.actions';\n\n// libs\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport { useHistory } from 'react-router-dom';\nimport moment from 'moment';\n\nconst { Button } = FormElems;\n\nconst getColumns = ({ handleViewClick }) => [\n {\n header: 'Merchant Name',\n accessor: 'merchantName',\n },\n {\n header: 'Date',\n accessor: 'createdDate',\n },\n {\n header: 'Order ID',\n accessor: 'orderId',\n },\n {\n header: 'Payment Type',\n accessor: 'paymentType',\n },\n {\n header: 'Priority',\n // eslint-disable-next-line react/display-name\n render: (row, index) => {\n return (\n \n {row.priority}\n \n );\n },\n },\n {\n header: 'Status',\n accessor: 'chargebackStatus',\n },\n {\n header: 'Amount',\n accessor: 'amount',\n },\n {\n header: 'Dispute Type',\n accessor: 'type',\n },\n {\n header: 'Action',\n accessor: 'action',\n // eslint-disable-next-line react/display-name\n render: (row, index) => (\n {\n handleViewClick(row, index);\n }}\n >\n View\n \n ),\n },\n];\n\nconst getFilterConfiguration = () => [\n {\n name: 'search',\n type: 'TEXT',\n label: 'By RRN/Order ID/Dispute ID',\n placeholder: 'Search',\n },\n {\n name: 'dateRange',\n type: 'DATERANGE',\n label: 'By Date Range',\n startDate: moment()\n .subtract(1, 'days')\n .startOf('day'),\n endDate: moment().endOf('day'),\n defaultValue: {\n startDate: moment()\n .subtract(1, 'days')\n .startOf('day'),\n endDate: moment().endOf('day'),\n },\n },\n {\n name: 'paymentType',\n type: 'MULTISELECT',\n label: 'Payment Type',\n options: PAYMENT_MODE,\n },\n {\n name: 'statuses',\n type: 'MULTISELECT',\n label: 'Status',\n options:Object.values(CHARGEBACK_STATUS_ENUM).concat(Object.values(DISPUTE_STATUS_ENUM)),\n },\n // {\n // name: 'types',\n // type: 'MULTISELECT',\n // label: 'Dispute Type',\n // options: [\n // { label: 'Dispute', value: 'DISPUTE' },\n // { label: 'Chargeback', value: 'CHARGEBACK' },\n // ],\n // },\n // {\n // name: 'types',\n // type: 'MULTISELECT',\n // label: 'Status',\n // options: Object.values(DISPUTE_STATUS_ENUM),\n // },\n // {\n // name: 'types',\n // type: 'MULTISELECT',\n // label: 'Dispute Types',\n // options: [\n // { label: 'DISPUTE', value: 'DISPUTE' },\n // { label: 'Chargeback', value: 'CHARGEBACK' },\n // ],\n // },\n];\n\nconst ChargebackPage = ({ chargebackData, auth, actions }) => {\n const {\n tableData,\n pagination,\n isLoading,\n activeReports,\n error,\n } = chargebackData;\n\n const history = useHistory();\n const [showDownload, setShowDownload] = useState(false);\n const [filterInfo, setFilterInfo] = useState({});\n\n const handleViewClick = (row, index) => {\n console.log(row.type , \" row type consoling\")\n if (row.type != 'UPI_DISPUTE') {\n history.push(`/chargeback/${row.chargebackId}/${row.orderId}/${row.type}`);\n } else {\n history.push(`/chargeback/dispute/${row.chargebackId}/${row.orderId}/${row.type}`);\n }\n };\n\n const fetchData = ({ pageSize, pageNumber, filterData }) => {\n actions.fetchChargeBackDataRequest({\n pageSize,\n pageNumber,\n filterData,\n });\n setFilterInfo(filterData);\n };\n\n return (\n
    \n \n setShowDownload(false)}\n >\n \n \n\n
    \n \n actions.generateChargebackReportRequest(\n {\n reportFileName: `chargeback_${moment(\n filterInfo.startDate\n ).format(\n 'DDMMYYYY'\n )}_${moment(\n filterInfo.endDate\n ).format('DDMMYYYY')}`,\n ...filterInfo,\n }\n )\n }\n />\n \n setShowDownload(true)\n }\n />\n \n fetchData({\n pageSize: 10,\n pageNumber: 1,\n })\n }\n resetRaiseChargebackForm={\n actions.resetRaiseChargebackForm\n }\n />\n
    \n \n }\n />\n }\n columns={getColumns({\n handleViewClick,\n })}\n tableData={tableData}\n fetchData={fetchData}\n pagination={pagination}\n isLoading={isLoading}\n isPaginationEnabled\n error={error && error.errorMessage}\n noDataError={{\n message: 'No chargebacks yet!',\n subtitle: 'Chargebacks will be visible here',\n imageSrc: happyFaceImage,\n }}\n filters={getFilterConfiguration()}\n />\n
    \n );\n};\n\n// PropType validation for Chargeback component\nChargebackPage.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n chargebackData: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, chargebackData }) => ({\n auth,\n chargebackData,\n});\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchChargeBackDataRequest,\n getActiveChargebackReportRequest,\n downloadChargebackReportRequest,\n generateChargebackReportError,\n generateChargebackReportRequest,\n resetRaiseChargebackForm,\n },\n dispatch\n ),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ChargebackPage);\n","// Importing components\nimport { FormElems, Description } from 'components';\n\n// Importing constant\nimport { MAX_25MB, POPUP_ENUM } from '../../utils/constants/commonValues';\nimport { DEFEND_TRANSACTION_INFO_ENUM } from './constant';\n\n// Importing Libraries\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { connect } from 'react-redux';\nimport { compose, bindActionCreators } from 'redux';\n\nimport './defendChargebackForm.scss';\n\nconst DefendChargebackForm = ({\n handleSubmit,\n onClose,\n onSubmit,\n subChargebackDetails,\n transactionData,\n}) => {\n const [fileList, setFileList] = useState([]);\n\n const transactionDescriptionData =\n transactionData &&\n DEFEND_TRANSACTION_INFO_ENUM.map(item => {\n return { ...item, children: transactionData[item.key] };\n });\n\n const handleChargeBackExtensionSubmit = values => {\n onSubmit(POPUP_ENUM.CHARGEBACK_DEFEND, values);\n };\n\n return (\n \n \n
    \n
    \n \n
    \n
    \n setFileList(files)}\n fileList={fileList}\n accept=\".pdf, .doc, .docx, .xls, .xlsx, .jpg, .jpeg, .png, .gif, .zip, .rar, .7zip\"\n subtitle=\"Maximum file size 25MB. Only PDF, doc, excel, .zip and image files are accepted\"\n component={FormElems.MultiUpload}\n maxSize={MAX_25MB}\n />\n
    \n
    \n \n \n
    \n \n );\n};\n\nconst mapStateToProps = ({ form }) => ({\n formData: form['defend-chargeback-form'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nexport default compose(\n reduxForm({\n form: 'defend-chargeback-form',\n enableReinitialize: true,\n validate: () => {},\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(DefendChargebackForm);\n\n// PropType validation for UpdateChargeBackStatusForm component\nDefendChargebackForm.propTypes = {\n formData: PropTypes.object,\n onClose: PropTypes.func,\n handleSubmit: PropTypes.func,\n onSubmit: PropTypes.func,\n subChargebackDetails: PropTypes.object,\n transactionData: PropTypes.object,\n};\n","// Importing components\nimport { FormElems } from 'components';\n\n// Importing constant\nimport { POPUP_ENUM } from '../../utils/constants/commonValues';\nimport { DEADLINE_OPTIONS } from './constant';\n\n// Importing Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { connect } from 'react-redux';\nimport { compose, bindActionCreators } from 'redux';\n\nimport './extendChargeBackDeadlineForm.scss';\n\nconst ExtendChargeBackDeadlineForm = ({ handleSubmit, onClose, onSubmit }) => {\n const handleChargeBackExtensionSubmit = values => {\n onSubmit(POPUP_ENUM.EXTEND_DEADLINE_FORM, values);\n };\n\n return (\n \n
    \n \n
    \n
    \n \n \n
    \n \n );\n};\n\nconst mapStateToProps = ({ form }) => ({\n formData: form['extend-chargeback-deadline-form'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nexport default compose(\n reduxForm({\n form: 'extend-chargeback-deadline-form',\n enableReinitialize: true,\n validate: () => {},\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(ExtendChargeBackDeadlineForm);\n\n// PropType validation for UpdateChargeBackStatusForm component\nExtendChargeBackDeadlineForm.propTypes = {\n formData: PropTypes.object,\n onClose: PropTypes.func,\n handleSubmit: PropTypes.func,\n onSubmit: PropTypes.func,\n};\n","// Importing components\nimport { FormElems, ConditionalComponent, Alert, FakeLoader } from 'components';\nimport {\n CHARGEBACK_STATUS_ENUM,\n MAX_25MB,\n POPUP_ENUM,\n} from '../../utils/constants/commonValues';\nimport { validators } from '../../utils/validators';\n\n// Importing Libraries\nimport {\n UPDATE_STATUS_OPTIONS,\n UPDATE_STATUS_OPTIONS_NEW_LEVEL,\n} from './constant';\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { connect } from 'react-redux';\nimport { compose, bindActionCreators } from 'redux';\n\n// Importing constants\n\nimport './updateChargeBackStatusForm.scss';\n\nconst UpdateChargeBackStatusForm = ({\n handleSubmit,\n onClose,\n onSubmit,\n chargebackAgentAction,\n currentChargebackStatus,\n chargebackMetaData,\n formData,\n}) => {\n const handleUpdateStatusFormSubmit = values => {\n if (chargebackMetaData?.currentChargebackLevel === 'L3') {\n values.chargebackLevel = 'L3';\n }\n\n onSubmit(POPUP_ENUM.UPDATE_FORM, values);\n };\n\n const [fileList, setFileList] = useState([]);\n\n const getLevelOptions = currentChargebackLevel => {\n switch (currentChargebackLevel) {\n case 'L1':\n return [\n { label: 'L1', value: 'L1' },\n { label: 'L2', value: 'L2' },\n ];\n case 'L2':\n return [\n { label: 'L2', value: 'L2' },\n { label: 'L3', value: 'L3' },\n ];\n case 'L3':\n return [];\n default:\n return [];\n }\n };\n\n return (\n \n \n \n \n \n
    \n

    Chargeback Level

    \n \n
    \n \n
    \n

    Chargeback Status

    \n \n
    \n
    \n \n
    \n \n
    \n

    Additional Document(s)

    \n setFileList(files)}\n fileList={fileList}\n accept=\".pdf, .doc, .docx, .xls, .xlsx, .jpg, .jpeg, .png, .gif, .zip, .rar, .7zip\"\n subtitle={'4 files max . Maximum file size 25MB.'}\n component={FormElems.MultiUpload}\n maxSize={MAX_25MB}\n />\n
    \n \n \n \n {chargebackAgentAction?.error?.errorMessage}\n \n \n
    \n \n \n
    \n \n );\n};\n\nconst mapStateToProps = ({ form }) => ({\n formData: form['update-chargeback-status-form'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nexport default compose(\n reduxForm({\n form: 'update-chargeback-status-form',\n enableReinitialize: true,\n validate: ({ status }) => {\n const { REQUIRED } = validators;\n\n const errors = {};\n\n if (REQUIRED(status)) {\n errors.status = `Please select status`;\n }\n\n return errors;\n },\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(UpdateChargeBackStatusForm);\n\n// PropType validation for UpdateChargeBackStatusForm component\nUpdateChargeBackStatusForm.propTypes = {\n formData: PropTypes.object,\n chargebackAgentAction: PropTypes.object,\n onClose: PropTypes.func,\n currentChargebackStatus: PropTypes.string,\n onSubmit: PropTypes.func,\n handleSubmit: PropTypes.func,\n};\n","// Importing components\nimport { FormElems, Description, ConditionalComponent, FakeLoader } from 'components';\n\n// Importing constant\nimport { MAX_25MB, POPUP_ENUM } from '../../utils/constants/commonValues';\nimport { DEFEND_TRANSACTION_INFO_ENUM } from './constant';\n\n// Importing Libraries\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm } from 'redux-form';\nimport { connect } from 'react-redux';\nimport { compose, bindActionCreators } from 'redux';\n\nimport './updateDisputeForm.scss';\n\nconst UpdateDisputeForm = ({\n handleSubmit,\n onClose,\n onSubmit,\n transactionData,\n formData,\n isLoading\n}) => {\n const [fileList, setFileList] = useState([]);\n\n //console.log(formData);\n\n const transactionDescriptionData =\n transactionData &&\n DEFEND_TRANSACTION_INFO_ENUM.map(item => {\n return { ...item, children: transactionData[item.key] };\n });\n\n const handleChargeBackExtensionSubmit = values => {\n onSubmit(POPUP_ENUM.UPDATE_DISPUTE, values);\n };\n\n return (\n \n \n \n \n\n \n
    \n
    \n \n
    \n\n \n
    \n

    Refund Amount

    \n \n
    \n \n\n
    \n
    \n \n \n
    \n \n );\n};\n\nconst mapStateToProps = ({ form }) => ({\n formData: form['update-dispute-form'],\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nexport default compose(\n reduxForm({\n form: 'update-dispute-form',\n enableReinitialize: true,\n validate: () => {},\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(UpdateDisputeForm);\n\n// PropType validation for UpdateChargeBackStatusForm component\nUpdateDisputeForm.propTypes = {\n formData: PropTypes.object,\n onClose: PropTypes.func,\n handleSubmit: PropTypes.func,\n onSubmit: PropTypes.func,\n subChargebackDetails: PropTypes.object,\n transactionData: PropTypes.object,\n};\n","// Importing constants\nimport { POPUP_ENUM } from '../../utils/constants/commonValues';\n\n// Importing components\nimport DefendChargebackForm from './DefendChargebackForm';\nimport ExtendChargeBackDeadlineForm from './ExtendChargeBackDeadlineForm';\nimport UpdateChargeBackStatusForm from './UpdateChargeBackStatusForm';\n\n// Importing Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport UpdateDisputeForm from './UpdateDisputeForm';\n\nexport const ChargeBackModalComponents = ({\n component,\n onClose,\n onSubmit,\n subChargebackDetails,\n transactionData,\n chargebackAgentAction,\n currentChargebackStatus,\n chargebackMetaData,\n isLoading\n}) => {\n if (!component) {\n return <>;\n } else if (component === POPUP_ENUM.UPDATE_FORM) {\n return (\n \n );\n } else if (component === POPUP_ENUM.EXTEND_DEADLINE_FORM) {\n return (\n \n );\n } else if (component === POPUP_ENUM.CHARGEBACK_DEFEND) {\n return (\n \n );\n } else if (component === POPUP_ENUM.UPDATE_DISPUTE) {\n return (\n <>\n \n \n );\n }\n\n return <>;\n};\n\n// PropType validation for ChargeBackModalComponents component\nChargeBackModalComponents.propTypes = {\n actions: PropTypes.object,\n transactionData: PropTypes.object,\n currentChargebackStatus: PropTypes.string,\n onClose: PropTypes.func,\n onSubmit: PropTypes.func,\n component: PropTypes.string,\n subChargebackDetails: PropTypes.object,\n chargebackAgentAction: PropTypes.object,\n};\n","const META_INFO_ENUM = [\n { key: 'merchantName', label: 'Merchant Name' },\n { key: 'amount', label: 'Amount' },\n { key: 'latestDueDate', label: 'Due Date' },\n { key: 'orderId', label: 'Order ID' }\n];\n\nconst TRANSACTION_INFO_ENUM = [\n { key: 'txnRefNumber', label: 'Txn Ref Number', component: 'TextCopy' },\n {\n key: 'transactionType',\n label: 'Transaction Type',\n },\n { key: 'payeeVpa', label: 'Payee Vpa' },\n { key: 'customerId', label: 'Customer Id' },\n { key: 'customerName', label: 'Customer Name' },\n { key: 'payerVpa', label: 'Payer Vpa' }\n];\n\nconst RE_RAISE_CHARGEBACK_OPTIONS = [\n {\n name: 'Incorrect Document',\n value: 'ID',\n checked: false,\n },\n {\n name: 'Image Not Visible',\n value: 'INV',\n checked: false,\n },\n {\n name: 'Reason 3',\n value: 'Reason3',\n checked: false,\n },\n {\n name: 'Reason 4',\n value: 'Reason4',\n checked: false,\n },\n];\n\nexport { TRANSACTION_INFO_ENUM, META_INFO_ENUM, RE_RAISE_CHARGEBACK_OPTIONS };\n","// Importing constants\nimport closeImgIcon from 'static/images/close.svg';\nimport LeftArrow from 'static/images/left-arrow.png';\n\n// Importing components\nimport {\n Description,\n Accordion,\n ChargebackComponents,\n ConditionalComponent,\n Modal,\n AlertModal,\n} from 'components';\n\nimport { Button } from 'components/form-elements';\nimport {\n CHARGEBACK_STATUS_ENUM,\n POPUP_ENUM,\n POPUP_TITLE_ENUM,\n CHARGEBACK_UPDATE_TERMINAL_STATE,\n} from '../../utils/constants/commonValues';\nimport { ChargeBackModalComponents } from '../../components/ChargebackComponents/ChargeBackModalComponents';\n\n// constants\nimport { META_INFO_ENUM, TRANSACTION_INFO_ENUM } from './constant';\n\n// actions\nimport {\n fetchChargeBackDetailsRequest,\n chargeBackAgentActionRequest,\n chargeBackMerchantActionRequest,\n} from './redux/chargeback.actions';\n\n// Importing libs\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport { useParams, useHistory } from 'react-router-dom';\n\n// styles\nimport './chargebackDetails.scss';\nimport moment from 'moment';\n\nconst ChargeBackStatusView = ({ status, chargeabckLevel }) => {\n return (\n
    \n {CHARGEBACK_STATUS_ENUM[status]?.label} {chargeabckLevel ? `- ${chargeabckLevel}` : ''}\n
    \n );\n};\n\nChargeBackStatusView.propTypes = {\n status: PropTypes.string,\n chargeabckLevel: PropTypes.string\n};\n\nconst ChargebackDetails = ({ chargebackReduxData, actions, auth }) => {\n const { chargebackId, orderId } = useParams();\n const history = useHistory();\n\n const {\n charegebackDetailsData,\n chargebackMerchantAction,\n chargebackAgentAction,\n } = chargebackReduxData;\n\n const {\n transactionData,\n chargebackData,\n chargebackMetaData,\n } = charegebackDetailsData;\n\n\n const [popUpComponent, setPopUpComponent] = useState('');\n const [selectedSubChargeback, setSelectedChargeaback] = useState({});\n const [fullyAccpetConfirm, setFullyAccpetConfirm] = useState(false);\n\n const resetDetailsPage = () => {\n actions.fetchChargeBackDetailsRequest({ orderId, chargebackId , type:'CHARGEBACK'});\n setFullyAccpetConfirm(false);\n setSelectedChargeaback({});\n setPopUpComponent('');\n };\n\n useEffect(() => {\n if (chargebackId && orderId) {\n resetDetailsPage();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [chargebackId, orderId]);\n\n useEffect(() => {\n if (chargebackMerchantAction?.isMerchantActionSuccess) {\n resetDetailsPage();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [chargebackMerchantAction]);\n\n useEffect(() => {\n if (chargebackAgentAction?.isChargebackAgentAction) {\n resetDetailsPage();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [chargebackAgentAction]);\n\n const handleUpdateStatusClick = () => {\n setPopUpComponent(POPUP_ENUM.UPDATE_FORM);\n };\n\n const handleChargebackReRaiseClicked = () => { };\n\n const handleChargebackFullyAccept = subChargebackDetails => {\n setFullyAccpetConfirm(true);\n setSelectedChargeaback(subChargebackDetails);\n };\n\n const handleChargebackDefend = subChargebackDetails => {\n setPopUpComponent(POPUP_ENUM.CHARGEBACK_DEFEND);\n setSelectedChargeaback(subChargebackDetails);\n };\n\n const onFullyAcceptConfirm = () => {\n const payload = {\n details: {\n cbId: chargebackMetaData.currentChargebackId,\n merchantAction: 'FULLY_ACCEPT',\n txnId: transactionData.txnRefNumber,\n entityCode: transactionData.merchantId,\n merchantRemarks: 'Accepting chargeback completely!',\n },\n };\n actions.chargeBackMerchantActionRequest(payload);\n };\n\n const handleChargebackExtensionClick = subChargebackDetails => {\n setPopUpComponent(POPUP_ENUM.EXTEND_DEADLINE_FORM);\n setSelectedChargeaback(subChargebackDetails);\n };\n\n const handleComponentSubmit = (component, values) => {\n \n if (component === POPUP_ENUM.UPDATE_FORM) {\n const payload = {\n details: {\n agentAction: values?.status,\n cbId: chargebackMetaData.currentChargebackId,\n txnId: transactionData.txnRefNumber,\n entityCode: transactionData.merchantId,\n },\n files: values?.files || [],\n };\n\n if (values.chargebackLevel) {\n payload.details.chargebackLevel = values.chargebackLevel;\n }\n\n if (values.remarks) {\n payload.details.remarks = values.remarks\n }\n\n actions.chargeBackAgentActionRequest(payload);\n } else if (component === POPUP_ENUM.EXTEND_DEADLINE_FORM) {\n const payload = {\n details: {\n updateCbDueDate: moment(\n selectedSubChargeback.customerAgentData.dueDate,\n 'YYYY-MM-DD HH:mm:ss'\n )\n .add(values?.deadline, 'days')\n .format('YYYY-MM-DD HH:mm:ss'),\n cbId: chargebackMetaData.currentChargebackId,\n txnId: transactionData.txnRefNumber,\n entityCode: transactionData.merchantId,\n },\n files: values?.files || [],\n };\n actions.chargeBackAgentActionRequest(payload);\n } else if (component === POPUP_ENUM.CHARGEBACK_DEFEND) {\n const payload = {\n details: {\n cbId: chargebackMetaData.currentChargebackId,\n merchantAction: 'CONTEST',\n txnId: transactionData.txnRefNumber,\n entityCode: transactionData.merchantId,\n merchantRemarks: values?.remarks,\n },\n files: values?.files || [],\n };\n actions.chargeBackMerchantActionRequest(payload);\n }\n };\n\n // Generating meta description data\n const metaDescriptionData =\n transactionData &&\n META_INFO_ENUM.map(item => {\n return { ...item, children: transactionData[item.key] };\n });\n\n // Generating transaction description data\n const transactionDescriptionData =\n transactionData &&\n TRANSACTION_INFO_ENUM.map(item => {\n return { ...item, children: transactionData[item.key] };\n });\n\n return (\n
    \n
    \n
    \n {\n history.goBack();\n }}\n />\n Chargeback Details\n
    \n
    \n \n \n
    \n \n
    \n \n
    \n
    \n\n
    \n
    \n \n {/* Rendering meta information */}\n
    \n\n Transaction Details\n }\n lowerComponent={\n \n }\n />\n\n
    \n 0}\n >\n {chargebackData?.map((item, index) => (\n \n ))}\n \n
    \n\n {/* Activity History*/}\n {/* }*/}\n {/* lowerComponent={*/}\n {/* */}\n {/* }*/}\n {/* />*/}\n\n setPopUpComponent(null)}\n customWrapperClass={`content-modal ${popUpComponent === POPUP_ENUM.CHARGEBACK_DEFEND\n ? 'modal-xl'\n : ''\n }`}\n >\n
    \n

    \n {POPUP_TITLE_ENUM[popUpComponent] || ''}\n

    \n setPopUpComponent(null)}\n />\n
    \n
    \n setPopUpComponent(null)}\n onSubmit={handleComponentSubmit}\n subChargebackDetails={selectedSubChargeback}\n transactionData={transactionData}\n chargebackAgentAction={chargebackAgentAction}\n currentChargebackStatus={\n chargebackMetaData?.currentChargebackStatus\n }\n />\n
    \n \n\n setFullyAccpetConfirm(false)}\n primaryButtonText=\"Yes, Accept\"\n secondaryButtonText=\"CANCEL\"\n showActions={true}\n onSuccessModal={onFullyAcceptConfirm}\n headerText={`Are you sure?`}\n message={`Are you sure you want to accept chargeback?`}\n />\n
    \n
    \n );\n};\n\n// PropType validation for Chargeback component\nChargebackDetails.propTypes = {\n actions: PropTypes.object,\n chargebackReduxData: PropTypes.object,\n auth: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, chargebackData }) => ({\n auth,\n chargebackReduxData: chargebackData,\n});\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchChargeBackDetailsRequest,\n chargeBackAgentActionRequest,\n chargeBackMerchantActionRequest,\n },\n dispatch\n ),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ChargebackDetails);\n","// Importing constants\nimport closeImgIcon from 'static/images/close.svg';\nimport LeftArrow from 'static/images/left-arrow.png';\n\n// Importing components\nimport {\n Description,\n Accordion,\n ChargebackComponents,\n ConditionalComponent,\n Modal,\n AlertModal,\n FakeLoader,\n} from 'components';\n\nimport { Button } from 'components/form-elements';\nimport {\n CHARGEBACK_STATUS_ENUM,\n POPUP_ENUM,\n POPUP_TITLE_ENUM,\n CHARGEBACK_UPDATE_TERMINAL_STATE,\n DISPUTE_STATUS_ENUM,\n} from '../../utils/constants/commonValues';\nimport { ChargeBackModalComponents } from '../../components/ChargebackComponents/ChargeBackModalComponents';\n\n// constants\nimport { META_INFO_ENUM, TRANSACTION_INFO_ENUM } from './constant';\n\n// actions\nimport {\n fetchChargeBackDetailsRequest,\n chargeBackAgentActionRequest,\n chargeBackMerchantActionRequest,\n fetchDisputeStatusRequest,\n fetchRefundDisputeRequest,\n} from './redux/chargeback.actions';\n\n// Importing libs\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport { useParams, useHistory } from 'react-router-dom';\n\n// styles\nimport './DisputeDetails.scss';\nimport './chargebackDetails.scss';\n\nimport moment from 'moment';\n\nconst ChargeBackStatusView = ({ status }) => {\n return (\n
    \n {DISPUTE_STATUS_ENUM[status]?.label}{' '}\n
    \n );\n};\n\nChargeBackStatusView.propTypes = {\n status: PropTypes.string,\n chargeabckLevel: PropTypes.string,\n};\n\nconst ChargebackDetails = ({ chargebackReduxData, actions, auth }) => {\n const { chargebackId, orderId } = useParams();\n const [popUpComponent, setPopUpComponent] = useState('');\n\n const history = useHistory();\n\n const {\n charegebackDetailsData,\n chargebackMerchantAction,\n chargebackAgentAction\n } = chargebackReduxData;\n const {\n transactionData,\n chargebackMetaData,\n disputeDetails\n } = charegebackDetailsData;\n //console.log(\"🚀 ~ ChargebackDetails ~ disputeDetails:\", disputeDetails)\n \n const resetDetailsPage = () => {\n actions.fetchChargeBackDetailsRequest({ orderId,chargebackId, type :\"UPI_DISPUTE\", disputeId :chargebackId});\n };\n\n const checkDisputeStatus = () => {\n actions.fetchDisputeStatusRequest({\n id: chargebackId,\n transactionId: transactionData.txnRefNumber,\n });\n };\n\n const handleComponentSubmit = (component, values) => {\n //console.log(\"🚀 ~ handleComponentSubmit ~ component:\", component)\n //console.log(transactionData ,\" consoling txn Data\");\n\n \n // console.log(merchantId,txnReferenceId,refundAmount,currency,refundType,isDiputeRefund)\n if (component === POPUP_ENUM.UPDATE_DISPUTE) { \n actions.fetchRefundDisputeRequest({\n merchantId: transactionData.merchantId,\n txnReferenceId: transactionData.txnRefNumber,\n refundAmount: transactionData.amount,\n currency: \"INR\",\n refundType: \"OFFLINE\",\n disputeRefund: true,\n });\n //console.log(values);\n }\n };\n\n const handleUpdateDisputeClick = () => {\n setPopUpComponent(POPUP_ENUM.UPDATE_DISPUTE);\n };\n\n useEffect(() => {\n if (chargebackId && orderId) {\n resetDetailsPage();\n }\n }, [chargebackId, orderId]);\n\n useEffect(() => {\n if(chargebackReduxData.isDisputeUpdatedSucessfully){\n setPopUpComponent('');\n }\n \n },[chargebackReduxData.isDisputeUpdatedSucessfully])\n\n // Generating meta description data\n const metaDescriptionData =\n transactionData &&\n META_INFO_ENUM.map(item => {\n return { ...item, children: transactionData[item.key] };\n });\n\n // Generating transaction description data\n const transactionDescriptionData =\n transactionData &&\n TRANSACTION_INFO_ENUM.map(item => {\n return { ...item, children: transactionData[item.key] };\n });\n //console.log(\"disputeDetails\",disputeDetails);\n return (\n
    \n
    \n
    \n {\n history.goBack();\n }}\n />\n Dispute Details\n
    \n
    \n \n
    \n
    \n\n
    \n
    \n \n {/* Rendering meta information */}\n
    \n\n Transaction Details\n }\n lowerComponent={\n \n }\n />\n\n Dispute Details\n }\n lowerComponent={\n \n }\n />\n
    \n \n {disputeDetails?.status?.toLowerCase() !== 'closed' && (\n
    \n
    \n \n
    \n \n
    \n \n
    \n \n
    \n )}\n\n setPopUpComponent(null)}\n customWrapperClass={`content-modal \n modal-xl\n `}\n >\n
    \n

    \n {POPUP_TITLE_ENUM[popUpComponent] || ''}\n

    \n setPopUpComponent(null)}\n />\n
    \n
    \n setPopUpComponent(null)}\n onSubmit={handleComponentSubmit}\n // subChargebackDetails={selectedSubChargeback}\n transactionData={transactionData}\n chargebackAgentAction={chargebackAgentAction}\n currentChargebackStatus={\n chargebackMetaData?.currentChargebackStatus\n }\n />\n
    \n \n
    \n );\n};\n\n// PropType validation for Chargeback component\nChargebackDetails.propTypes = {\n actions: PropTypes.object,\n chargebackReduxData: PropTypes.object,\n auth: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, chargebackData }) => ({\n auth,\n chargebackReduxData: chargebackData,\n});\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchChargeBackDetailsRequest,\n chargeBackAgentActionRequest,\n chargeBackMerchantActionRequest,\n fetchDisputeStatusRequest,\n fetchRefundDisputeRequest,\n },\n dispatch\n ),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ChargebackDetails);\n","// libs\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Route, Switch } from 'react-router-dom';\n\n// components\nimport ChargebackPage from './ChargebackPage';\nimport ChargebackDetails from './ChargebackDetails';\nimport DisputeDetails from './DisputeDetails';\n\n\n// styles\nimport './chargeback.scss';\n\nconst Chargeback = props => {\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n
    \n );\n};\n\n// PropType validation for Chargeback component\nChargeback.propTypes = {\n actions: PropTypes.object,\n};\n\nexport default Chargeback;\n","import Chargeback from './Chargeback';\n\nexport default Chargeback;\n","import {\n businessType,\n mleTurnOverCategory,\n} from 'components/MerchantTab/constant';\nimport { nameValueOptions } from 'utils/helperMethods';\n\nexport const singleValueFields = [\n {\n name: 'legalName',\n label: 'Legal Entity Name',\n type: 'text',\n required: true,\n },\n {\n name: 'panNumber',\n label: 'Entity PAN',\n type: 'text',\n required: true,\n },\n {\n name: 'agreementExpiry',\n label: 'Agreement Expiry (DD/MM/YYYY)',\n type: 'date',\n required: true,\n },\n {\n name: 'dateOfIncorporation',\n label: 'Date of Incorporation (DD/MM/YYYY)',\n type: 'date',\n required: true,\n },\n // {\n // name: 'turnOver',\n // label: 'Turnover',\n // type: 'number',\n // required: false,\n // disabled: true,\n // },\n // {\n // name: 'merchantCategory',\n // label: 'Merchant Category',\n // type: 'select',\n // data: nameValueOptions(mleTurnOverCategory) || [],\n // required: false,\n // },\n {\n name: 'pinCode',\n label: 'PIN Code',\n type: 'number',\n required: true,\n },\n {\n name: 'state',\n label: 'State',\n type: 'text',\n required: true,\n },\n {\n name: 'city',\n label: 'City',\n type: 'text',\n required: true,\n },\n {\n name: 'relationshipManagerId',\n label: 'Relationship Manager',\n type: 'text',\n required: true,\n },\n {\n name: 'businessType',\n label: 'Constitution Type',\n type: 'select',\n data: nameValueOptions(businessType) || [],\n required: true,\n },\n {\n name: 'authorisedSignatoryPan',\n label: 'Authorized signatory PAN Number',\n type: 'text',\n required: false,\n },\n {\n name: 'authorisedSignatoryDob',\n label: 'Authorized signatory DOB (as per PAN)',\n type: 'date',\n required: false,\n },\n {\n name: 'authorisedSignatoryName',\n label: 'Authorized signatory Name (as per PAN)',\n type: 'text',\n required: false,\n },\n {\n name: 'authorisedSignatoryAddressProofType',\n label: 'Authorised Signatory Address Proof Type',\n type: 'select',\n data:\n nameValueOptions([\n 'Driving License',\n 'Voter ID',\n 'Passport',\n 'Electricity Bill',\n ]) || [],\n required: false,\n },\n {\n name: 'authorisedSignatoryAddressProofNo',\n label: 'Authorised Signatory Address Proof Number',\n type: 'text',\n required: false,\n },\n {\n name: 'merchantType',\n label: 'Integration Mode',\n type: 'radio',\n options: nameValueOptions(['Offline', 'Online']) || [],\n required: true,\n },\n {\n name: 'aadharNumber',\n label: 'Aadhar Number (Last 4 Digits only)',\n type: 'number',\n required: false,\n }\n];\n\nexport const multipleValuesFields = [\n {\n fieldType: 'input',\n label: 'GST Number',\n name: 'gstNumber',\n required: false,\n onlySingleValue: true,\n props: {\n placeholder: 'Enter GST ',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Website/App URLs',\n name: 'websiteURLs',\n required: false,\n props: {\n placeholder: 'Enter Website/App URL ',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Email ID',\n name: 'emailIds',\n required: true,\n props: {\n placeholder: 'Enter Email ID ',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Mobile Number',\n name: 'mobileNumbers',\n required: true,\n props: {\n placeholder: 'Enter Mobile Number ',\n type: 'tel',\n },\n },\n];\n\nexport const singleUploadFields = [\n {\n fieldType: 'input',\n label: 'AOA (Article of Association)',\n name: 'ARTICLE_OF_ASSOCIATION',\n props: {\n placeholder: 'Upload AOA (Article of Association)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Agreement',\n name: 'AGREEMENT',\n props: {\n placeholder: 'Upload Agreement',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Power of Attorney / Resolution of managing body',\n name: 'POWER_OF_ATTORNEY',\n props: {\n placeholder: 'Upload Power of Attorney / Resolution of managing body',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'BO Declaration',\n name: 'BO_DECLARATION',\n props: {\n placeholder: 'Upload BO Declaration',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'BO Identity Proof',\n name: 'BO_IDENTITY_PROOF',\n props: {\n placeholder: 'Upload BO Identity Proof',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Authorised PAN',\n name: 'AUTHORISED_PAN',\n props: {\n placeholder: 'Upload Authorised PAN',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Privacy Policy',\n name: 'PRIVACY_POLICY',\n props: {\n placeholder: 'Upload Privacy Policy',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Partnership Deed',\n name: 'PARTNERSHIP_DEED',\n props: {\n placeholder: 'Upload Partnership Deed',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Board Resolution Document',\n name: 'BR',\n props: {\n placeholder: 'Upload Board Resolution Document',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Web Crawling',\n name: 'WEB_CRAWLING',\n props: {\n placeholder: 'Upload Web Crawling',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant Application Form',\n name: 'MERCHANT_APPLICATION_FORM',\n props: {\n placeholder: 'Upload Merchant Application Form',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Bank Proof',\n name: 'BANK_PROOF',\n props: {\n placeholder: 'Upload Bank Proof',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Customer Grievance Policy',\n name: 'CUSTOMER_GRIEVANCE_POLICY',\n props: {\n placeholder: 'Upload Customer Grievance Policy',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'GST Certificate',\n name: 'GST',\n props: {\n placeholder: 'Upload GST Certificate',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'MEA',\n name: 'MEA',\n props: {\n placeholder: 'Upload MEA',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'MOA (Memorandum of Association)',\n name: 'MEMORANDUM_OF_ASSOCIATION',\n props: {\n placeholder: 'Upload MOA (Memorandum of Association)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'MOA/Rules/ByLaws- (for societies) / Partnership Deed',\n name: 'UNI_CA_MOA_PARTNERSHIP_DEED',\n props: {\n placeholder: 'Upload MOA/Rules/ByLaws- (for societies)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'MOA/Rules/ByLaws- (for societies)',\n name: 'JURIDICAL_PERSON_MOA',\n props: {\n placeholder: 'Upload MOA/Rules/ByLaws- (for societies)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'PAN Upload',\n name: 'PAN',\n props: {\n placeholder: 'Upload PAN',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Permanent Account Number',\n name: 'PERMANENT_ACCOUNT_NUMBER',\n props: {\n placeholder: 'Upload Permanent Account Number',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Proof Principal place of its business (If it is different)',\n name: 'PROOF_PRINCIPLE_PLACE',\n props: {\n placeholder:\n 'Upload Proof of Principal place of business (If it is different)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Proof of Address of the registered office',\n name: 'PROOF_OF_ADDRESS',\n props: {\n placeholder: 'Upload Proof of Address of the registered office',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Refund Policy',\n name: 'REFUND_POLICY',\n props: {\n placeholder: 'Upload Refund Policy',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Website T&C',\n name: 'WEBSITE_TERMS_AND_CONDITION',\n props: {\n placeholder: 'Upload Website T&C',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Authorised signatory - POA',\n name: 'AUTHORISED_SIGNATORY_ADDRESS',\n props: {\n placeholder: 'Upload Authorised Signatory - POA',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Authorised Signatory PAN',\n name: 'AUTHORISED_SIGNATORY_PAN',\n props: {\n placeholder: 'Upload Authorised Signatory PAN',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Proof of business 1',\n name: 'PROOF_BUSINESS_1',\n props: {\n placeholder: 'Upload Proof of business 1',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Proof of business 2',\n name: 'PROOF_BUSINESS_2',\n props: {\n placeholder: 'Upload Proof of business 2',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Registration Certificate',\n name: 'REGISTRATION_CERTIFICATE',\n props: {\n placeholder: 'Upload Registration Certificate',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'List of all members along with their PAN numbers',\n name: 'LISTS_OF_PEOPLE',\n props: {\n placeholder: 'Upload List of all members along with their PAN numbers',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Partnership Deed/Trust deed',\n name: 'TRUST_DEED',\n props: {\n placeholder: 'Upload partnership deed/Trust deed',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'RBI license (Corporative Bank)',\n name: 'RBI_LICENSE',\n props: {\n placeholder: 'Upload RBI license (Corporative Bank)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Customer Care Channels',\n name: 'CHANNELS',\n props: {\n placeholder: 'Upload Customer Care Channels',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Line of Business verification',\n name: 'LOB_VERIFICATION',\n props: {\n placeholder: 'Upload Line of Business verification',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Ownership Check on Website/App',\n name: 'OWNERSHIP_CHECK',\n props: {\n placeholder: 'Upload Ownership Check on Website/App',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Restricted states (Gaming Merchant)',\n name: 'RESTRICTED_STATES',\n props: {\n placeholder: 'Upload Restricted states (Gaming Merchant)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Track record 1 year existence - MCA registration',\n name: 'TRACK_RECORD_1_YEAR',\n props: {\n placeholder:\n 'Upload Track record 1 year existence - MCA registration',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Authorised Signatory Photograph',\n name: 'AUTHORISED_SIGNATORY_SELFIE',\n props: {\n placeholder: 'Upload Authorised Signatory Photograph',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n\n\n\n\n\n {\n fieldType: 'file',\n label: 'COI (Certificate of Incorporation)',\n name: 'CERTIFICATE_OF_INCORPORATION',\n props: {\n placeholder: 'Upload COI (Certificate of Incorporation)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'Bank Letter/Cancelled Cheque',\n name: 'CANCELLED_CHEQUE',\n props: {\n placeholder: 'Upload Bank Letter/Cancelled Cheque',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'Undertaking from merchant (gaming merchant)',\n name: 'UNDERTAKING_MERCHANT_2',\n props: {\n placeholder: 'Upload Undertaking from merchant (gaming merchant)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'NGO Darpan Registration',\n name: 'NGO_REGISTRATION',\n props: {\n placeholder: 'Upload NGO Darpan Registration',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false\n },\n },\n {\n fieldType: 'file',\n label: 'Screenshot of mail approval incase of insufficient documents',\n name: 'MAIL_APPROVAL_SCREENSHOT',\n props: {\n placeholder:\n 'Upload Screenshot of mail approval incase of insufficient documents',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'Website redirection',\n name: 'WEBSITE_REDIRECTION',\n props: {\n placeholder: 'Upload Website redirection',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'Copyright',\n name: 'COPYRIGHT',\n props: {\n placeholder: 'Upload Copyright',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'MCA registration',\n name: 'MCA_REGISTRATION',\n props: {\n placeholder: 'Upload MCA registration',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'All product as per MCA',\n name: 'ALL_MCA_PRODUCTS',\n props: {\n placeholder: 'Upload All product as per MCA',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'Resolution of the managing body of such association or body of individuals',\n name: 'RESOLUTION_OF_THE_MANAGING_BODY',\n props: {\n placeholder: 'Upload Resolution of the managing body of such association or body of individuals',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n }\n];\n\nexport const singleMultipleUploadFieldsIndividual = [ \n \n {\n fieldType: 'input',\n label: 'Proof of Address of the registered office',\n name: 'BO_ADDRESS',\n props: {\n placeholder: 'Upload Proof of Address of the registered office',\n type: 'file',\n accept: 'image/*, .pdf, .doc, .docx, .msword, .tiff, .pipeg, .gif, , .bmp, .wordprocessingml.document',\n multiple: true,\n required: false,\n count:2,\n mandatory:2\n },\n },\n\n {\n fieldType: 'input',\n label: 'Shop Pictures',\n name: 'SHOP_PICS',\n props: {\n placeholder: 'Upload Pictures of the Shop',\n type: 'file',\n accept: 'image/*, .pdf, .doc, .docx, .msword, .tiff, .pipeg, .gif, , .bmp, .wordprocessingml.document',\n multiple: true,\n required: false,\n count:4,\n mandatory:4\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant Liveliness Selfie',\n name: 'AUTHORISED_SIGNATORY_SELFIE',\n props: {\n placeholder: 'Upload Merchant Liveliness Selfie',\n type: 'file',\n accept: 'image/*, .pdf, .doc, .docx, .msword, .tiff, .pipeg, .gif, , .bmp, .wordprocessingml.document',\n multiple: true,\n required: false,\n count: 1,\n mandatory:1\n },\n },\n]\n\n\n export const singleMultipleUploadFieldsSoleProp = [ \n {\n fieldType: 'input',\n label: 'Proof of Address of the registered office',\n name: 'BO_ADDRESS',\n props: {\n placeholder: 'Upload Proof of Address of the registered office',\n type: 'file',\n accept: 'image/*, .pdf, .doc, .docx, .msword, .tiff, .pipeg, .gif, , .bmp, .wordprocessingml.document',\n multiple: true,\n required: false,\n count:2,\n mandatory:1\n },\n },\n {\n fieldType: 'input',\n label: 'GST Certificate',\n name: 'GST',\n props: {\n placeholder: 'Upload GST Certificate',\n type: 'file',\n accept: 'image/*, .pdf, .doc, .docx, .msword, .tiff, .pipeg, .gif, , .bmp, .wordprocessingml.document',\n multiple: true,\n required: false,\n count:2,\n mandatory:0\n },\n },\n {\n fieldType: 'input',\n label: 'Proof of business 1',\n name: 'PROOF_BUSINESS_1',\n props: {\n placeholder: 'Upload Proof of business 1',\n type: 'file',\n accept: 'image/*, .pdf, .doc, .docx, .msword, .tiff, .pipeg, .gif, , .bmp, .wordprocessingml.document',\n multiple: true,\n required: false,\n count:2,\n mandatory:0\n },\n },\n {\n fieldType: 'input',\n label: 'Proof of business 2',\n name: 'PROOF_BUSINESS_2',\n props: {\n placeholder: 'Upload Proof of business 2',\n type: 'file',\n accept: 'image/*, .pdf, .doc, .docx, .msword, .tiff, .pipeg, .gif, , .bmp, .wordprocessingml.document',\n multiple: true,\n required: false,\n count:2,\n mandatory:0\n },\n },\n {\n fieldType: 'input',\n label: 'Shop Pictures',\n name: 'SHOP_PICS',\n props: {\n placeholder: 'Upload Pictures of the Shop',\n type: 'file',\n accept: 'image/*, .pdf, .doc, .docx, .msword, .tiff, .pipeg, .gif, , .bmp, .wordprocessingml.document',\n multiple: true,\n required: false,\n count:4,\n mandatory:1\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant Liveliness Selfie',\n name: 'AUTHORISED_SIGNATORY_SELFIE',\n props: {\n placeholder: 'Upload Merchant Liveliness Selfie',\n type: 'file',\n accept: 'image/*, .pdf, .doc, .docx, .msword, .tiff, .pipeg, .gif, , .bmp, .wordprocessingml.document',\n multiple: true,\n required: false,\n count: 1,\n mandatory: 1\n },\n },\n ]\n\nexport const multipleUploadFields = [\n {\n fieldType: 'file',\n label: 'COI (Certificate of Incorporation)',\n name: 'CERTIFICATE_OF_INCORPORATION',\n props: {\n placeholder: 'Upload COI (Certificate of Incorporation)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'Bank Letter/Cancelled Cheque',\n name: 'CANCELLED_CHEQUE',\n props: {\n placeholder: 'Upload Bank Letter/Cancelled Cheque',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'Undertaking from merchant (gaming merchant)',\n name: 'UNDERTAKING_MERCHANT_2',\n props: {\n placeholder: 'Upload Undertaking from merchant (gaming merchant)',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: true,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'Screenshot of mail approval incase of insufficient documents',\n name: 'MAIL_APPROVAL_SCREENSHOT',\n props: {\n placeholder:\n 'Upload Screenshot of mail approval incase of insufficient documents',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: true,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'Website redirection',\n name: 'WEBSITE_REDIRECTION',\n props: {\n placeholder: 'Upload Website redirection',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: true,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'Copyright',\n name: 'COPYRIGHT',\n props: {\n placeholder: 'Upload Copyright',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: true,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'MCA registration',\n name: 'MCA_REGISTRATION',\n props: {\n placeholder: 'Upload MCA registration',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: true,\n required: false,\n },\n },\n {\n fieldType: 'file',\n label: 'All product as per MCA',\n name: 'ALL_MCA_PRODUCTS',\n props: {\n placeholder: 'Upload All product as per MCA',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: true,\n required: false,\n },\n },\n];\n\nexport const uboSingleUploadFields = [\n {\n fieldType: 'input',\n label: 'UBO PAN Card',\n name: 'panDocs',\n props: {\n placeholder: 'Upload UBO PAN Card',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'UBO Proof of Address',\n name: 'proofOfAddress',\n props: {\n placeholder: 'Upload UBO Proof of Address',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n {\n fieldType: 'input',\n label: 'UBO Photograph',\n name: 'selfie',\n props: {\n placeholder: 'Upload UBO Photograph',\n type: 'file',\n accept: 'image/*, .pdf',\n multiple: false,\n required: false,\n },\n },\n];\n\nexport const UBODETAILS = 'uboDetails';\nexport const BUSINESSDETAILS = 'businessDetails'\nexport const MERCHANT_TIMELINE_STATUS = {\n Complete: 'Complete',\n Open: 'Open',\n Pending: ''\n}","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\n\n// Components\nimport { FormElems } from '../../components';\n\nconst MleDraftAction = ({ data, actionType, history }) => {\n const handleDraftClick = () => {\n history.push(`/mle-onboarding/draft`);\n };\n\n return (\n
    \n \n
    \n );\n};\n\nMleDraftAction.propTypes = {\n actionType: PropTypes.string,\n data: PropTypes.object.isRequired,\n history: PropTypes.object,\n};\n\nexport default withRouter(MleDraftAction);\n","import { FormElems, Table, TableFilter } from 'components';\n\n// Importing Libs\nimport {\n fetchMerchantLegalEntityDetailsRequest,\n fetchMerchantLegalEntityRequest,\n removeRedirectKey,\n resetFormDataMLE,\n resetMerchantLegalEntityFormReset,\n} from './redux/merchantLegalEntity.actions';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\nimport { useHistory, withRouter } from 'react-router-dom';\nimport moment from 'moment';\nimport { BUSINESSDETAILS, UBODETAILS } from './constants';\nimport MleDraftAction from './MleDraftAction';\nimport { toast } from 'react-toastify';\n\nconst pageSizeOptions = [10, 20, 40, 60, 100, 1000];\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {\n startDate: moment()\n .endOf('day')\n .subtract(1825, 'days'),\n endDate: moment().endOf('day'),\n maximumNights: 365,\n notResetDate: true,\n },\n },\n {\n fieldType: 'input',\n label: 'MLE ID',\n name: 'merchantId',\n props: {\n placeholder: 'Enter ID',\n },\n },\n {\n fieldType: 'input',\n label: 'MLE NAME',\n name: 'name',\n props: {\n placeholder: 'Enter name',\n },\n },\n {\n fieldType: 'select',\n label: 'Enterprise Merchant',\n name: 'enterprise_merchant',\n props: {\n data: [\n { name: 'Yes', entityCode: 'yes' },\n { name: 'No', entityCode: 'no' }\n ],\n label: 'Please Select',\n labelField: 'name',\n valueField: 'entityCode',\n },\n },\n];\n\nconst MleUserActions = ({ data, history, actions }) => {\n const handleEditView = actionType => {\n const { entityCode } = data.original;\n // actions.fetchMerchantLegalEntityDetailsRequest({ entityCode });\n // console.log(\"clicked MleUserActions\")\n // actions.fetchMerchantLegalEntityRequest({entityCode});\n if (actionType === 'edit') {\n history.push(`/mle-onboarding/edit/${BUSINESSDETAILS}/${entityCode}`);\n } else if (actionType === 'view') {\n history.push(`/mle-onboarding/view/${BUSINESSDETAILS}/${entityCode}`);\n }\n };\n\n return (\n
    \n <>\n {/* handleEditView('edit')}\n /> */}\n handleEditView('view')}\n />\n \n
    \n );\n};\n\nMleUserActions.propTypes = {\n data: PropTypes.object.isRequired,\n history: PropTypes.object,\n};\n\nconst DownloadActions = ({ handleDownloadClick }) => {\n return (\n
    \n \n
    \n );\n};\n\nDownloadActions.propTypes = {\n handleDownloadClick: PropTypes.object.isRequired,\n};\n\nconst MerchantLegalEntityTable = ({ merchantLegalEntityData, actions, auth }) => {\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [filterData, setFilterData] = useState({});\n const [isResetPage, setIsResetPage] = useState(false);\n const [showFilter, setShowFilter] = useState(false);\n const [roleStatus, setRoleStatus] = useState('');\n const history = useHistory();\n // console.log(\"auth......\", auth)\n\n const { error, tableData, isLoading, pagination } = merchantLegalEntityData;\n // console.log(\"merchantLegalEntityData\", merchantLegalEntityData);\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [actions, pageSize, pagination.totalNumberOfRecords]);\n\n useEffect(() => {\n actions.resetMerchantLegalEntityFormReset();\n }, []);\n\n function convertToCSV(arr) {\n const array = [Object.keys(arr[0])].concat(arr);\n\n return array\n .map(it => {\n return Object.values(it).toString();\n })\n .join('\\n');\n }\n\n // Function to download data as CSV\n function downloadCSV(data, filename = 'data.csv') {\n const csv = convertToCSV(data);\n const blob = new Blob([csv], { type: 'text/csv' });\n const url = window.URL.createObjectURL(blob);\n\n const a = document.createElement('a');\n a.setAttribute('href', url);\n a.setAttribute('download', filename);\n a.click();\n }\n\n const handleDownloadClick = () => {\n downloadCSV(tableData, `MLE_${new Date().getTime()}.csv`);\n };\n\n const columns = useMemo(\n () => [\n { header: 'Entity Name', accessor: 'entityName' },\n { header: 'MLE Id', accessor: 'entityCode' },\n { header: 'Created Date', accessor: 'createdDate' },\n { header: 'MLE Status', accessor: 'entityStatus' },\n { header: 'KYC Status', accessor: 'kycStatus' },\n {\n header: 'Relationship Manager',\n accessor: 'relationshipManagerId',\n },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex,roleStatus }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n const data = { pageSize, pageIndex,roleStatus };\n if (filterData.createdOn) {\n actions.fetchMerchantLegalEntityRequest({\n ...data,\n ...filterData,\n });\n }\n setPageSize(pageSize);\n },\n [actions, filterData]\n );\n\n return (\n <>\n
    \n setIsResetPage(false)}\n userActions={data => (\n \n )}\n additionalActions={props => (\n <>\n \n \n \n )}\n tableFilters={\n {\n setFilterData(filterValues);\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData({\n ...resetValue,\n });\n setIsResetPage(true);\n }}\n />\n }\n filterActionTitle=\"Create New MLE\"\n onClickTableAction={() => {\n // console.log(\"!auth?.resourceDetails?.mle_onboarding\", auth?.resourceDetails?.permissions?.mle_onboarding, !auth?.resourceDetails?.permissions?.mle_onboarding?.toString());\n let isClickable = true;\n if (!auth?.resourceDetails?.permissions?.mle_onboarding) {\n isClickable = false;\n } else if (auth?.resourceDetails?.permissions?.mle_onboarding && typeof auth.resourceDetails.permissions.mle_onboarding === 'object') {\n const isPermissionExist = Object.values(auth?.resourceDetails?.permissions?.mle_onboarding).join('').includes('mle_maker')\n // console.log(\"asdsa\", Object.values(auth?.resourceDetails?.permissions?.mle_onboarding).join(''), isPermissionExist);\n isClickable = isPermissionExist;\n }\n // console.log(\"isClickable\", isClickable);\n if (!isClickable) {\n // console.log(\"asdsadsds\");\n toast.error(\"You do not have permission to access this resource.\");\n return;\n }\n actions.resetFormDataMLE();\n history.push(`/mle-onboarding/create/${BUSINESSDETAILS}`);\n }}\n loading={isLoading}\n />\n
    \n \n );\n};\n\nMerchantLegalEntityTable.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n data: PropTypes.object,\n history: PropTypes.object,\n match: PropTypes.object,\n merchantLegalEntityData: PropTypes.object,\n editData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, merchantLegalEntityData }) => ({\n auth,\n merchantLegalEntityData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchMerchantLegalEntityRequest,\n resetMerchantLegalEntityFormReset,\n resetFormDataMLE,\n fetchMerchantLegalEntityDetailsRequest,\n removeRedirectKey\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n connect(mapStateToProps, mapDispatchToProps)(MerchantLegalEntityTable)\n);\n","import { isNumeric } from 'utils/helperMethods';\nimport { validators } from '../../utils/validators';\nimport { singleValueFields, multipleValuesFields } from './constants';\n\nconst validate = (values, props) => {\n const { REQUIRED, EMAIL, URL } = validators;\n const errors = {};\n\n singleValueFields.forEach(field => {\n if (field.required && REQUIRED(values[field.name])) {\n errors[field.name] = `Please enter ${field.label}`;\n }\n\n if (field.name === 'panNumber' && values.panNumber?.length !== 10) {\n errors.panNumber = 'Please enter 10 digit PAN Number';\n }\n\n if (field.name === 'aadharNumber' && values.aadharNumber?.length > 0 ) {\n // console.log(\"okok\", values.aadharNumber, \"sep\", values?.aadharNumber?.length);\n if (values.aadharNumber?.length === 0 ) {\n // Check if the aadharNumber is empty\n errors.aadharNumber = 'Aadhar number is required';\n } \n else if(values.aadharNumber?.length === 0 && values.aadharNumber?.includes('e')){\n\n errors.aadharNumber = 'Only Numeric Values are accepted';\n }\n else if (values.aadharNumber?.length !== 4 || !/^\\d{4}$/.test(values.aadharNumber)) {\n // Check if the aadharNumber is not a 4-digit number\n errors.aadharNumber = 'Please enter only last 4 digits of Aadhar Number';\n }\n }\n\n if (\n field.name === 'pinCode' &&\n (values.pinCode?.length !== 6 || !isNumeric(values.pinCode))\n ) {\n errors.pinCode = 'Please enter 6 digit Pin Code';\n }\n });\n\n if (REQUIRED(values?.kycStatus)) {\n errors.kycStatus = 'Please Select KYC Status';\n }\n\n multipleValuesFields.forEach(field => {\n if (\n field.required &&\n !(values[field.name] && values[field.name].length > 0)\n ) {\n errors.commonErrors = `Please enter at-least one ${field.label}`;\n props.stopSubmit('mle-onboarding-form', errors);\n } else {\n const fieldErrorList = [];\n\n if (values[field.name]) {\n values[field.name].forEach((fieldValue, fieldValueIndex) => {\n if (field.required && !(fieldValue && fieldValue.length)) {\n fieldErrorList[\n fieldValueIndex\n ] = `Please enter ${field.label}`;\n }\n\n if (field.name === 'emailIds' && EMAIL(fieldValue)) {\n fieldErrorList[\n fieldValueIndex\n ] = `Please enter valid email Id`;\n }\n\n if (\n field.name === 'mobileNumbers' &&\n (fieldValue?.length !== 10 || !isNumeric(fieldValue))\n ) {\n fieldErrorList[\n fieldValueIndex\n ] = `Please enter valid 10 digit mobile number. Do not enter country code (+91)`;\n }\n\n if (field.name === 'uboPAN' && fieldValue?.length !== 10) {\n fieldErrorList[\n fieldValueIndex\n ] = `Please enter valid 10 character PAN`;\n }\n });\n }\n errors[field.name] = fieldErrorList;\n }\n });\n\n return errors;\n};\n\nexport default validate;\n","// compoents\nimport { FormElems, DatePicker, Alert, Modal, Accordion } from 'components';\nimport removeImg from '../../static/images/remove.png';\nimport downloadImg from '../../static/images/download.png';\n\n// helpers\nimport { POST } from '../../utils/fetchWrappers';\n\n// constatns\nimport {\n API_UPLOAD_KYC_DOCUMENT,\n API_VIEW_KYC_DOCUMENT,\n} from '../../utils/API/apiUrls';\nimport { apiStatusCodes } from '../../utils/API/apiStatusCodes';\nimport { ERROR_MESSAGES } from '../../utils/constants/toastMessages';\nimport FakeLoader from '../../components/FakeLoader';\nimport {\n singleValueFields,\n multipleValuesFields,\n singleUploadFields,\n singleMultipleUploadFieldsIndividual,\n singleMultipleUploadFieldsSoleProp,\n multipleUploadFields,\n uboSingleUploadFields,\n} from './constants';\n\n// Validator\nimport validate from './validator';\n\n// Importing Libs\nimport {\n createMerchantLegalEntityRequest,\n editMerchantLegalEntityRequest,\n fetchMerchantLegalEntityDetailsRequest,\n fetchMerchantLegalEntityDetailsPincodeRequest,\n resetMerchantLegalEntityFormReset,\n} from './redux/merchantLegalEntity.actions';\nimport React, { useEffect, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, reduxForm, change, FieldArray } from 'redux-form';\nimport { compose, bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport { last } from 'lodash';\nimport moment from 'moment';\nimport { nameValueOptions } from 'utils/helperMethods';\n\nlet allowedExtensions = ['jpg', 'jpeg', 'png', 'svg', 'pdf'];\nlet smallTurnoverCategoryAmount = 400000;\nlet largeTurnoverCategoryAmount = 700000;\n\nconst MerchantLegalEntityMutate = ({\n isViewMode,\n handleSubmit,\n actions,\n isEditMode,\n history,\n mutateFormData,\n initialValues,\n merchantLegalEntityData,\n staticData\n}) => {\n console.log(\"merchantLegalEntityData\",merchantLegalEntityData.error.error?.statusCode);\n const [multipleDocUrls, setMultipleDocUrls] = useState({\n CERTIFICATE_OF_INCORPORATION: [],\n CANCELLED_CHEQUE: [],\n PAN: [],\n GST: [],\n MEMORANDUM_OF_ASSOCIATION: [],\n PARTNERSHIP_DEED: [],\n BO_DECLARATION: [],\n BO_ADDRESS: [],\n PRIVACY_POLICY: [],\n BO_IDENTITY_PROOF: [],\n PROOF_OF_ADDRESS: [],\n SHOP_PICS:[],\n RESOLUTION_OF_THE_MANAGING_BODY:[],\n PROOF_PRINCIPLE_PLACE: [],\n MEA: [],\n BR:[],\n AGREEMENT: [],\n NGO_REGISTRATION:[],\n WEBSITE_TERMS_AND_CONDITION: [],\n REFUND_POLICY: [],\n CUSTOMER_GRIEVANCE_POLICY: [],\n ARTICLE_OF_ASSOCIATION: [],\n AUTHORISED_SIGNATORY_ADDRESS: [],\n PROOF_BUSINESS_1: [],\n PROOF_BUSINESS_2: [],\n AUTHORISED_PAN:[],\n REGISTRATION_CERTIFICATE: [],\n LISTS_OF_PEOPLE: [],\n TRUST_DEED: [],\n WEB_CRAWLING: [],\n POWER_OF_ATTORNEY: [],\n UNI_CA_MOA_PARTNERSHIP_DEED: [],\n JURIDICAL_PERSON_MOA: [],\n RBI_LICENSE: [],\n CHANNELS: [],\n LOB_VERIFICATION: [],\n OWNERSHIP_CHECK: [],\n RESTRICTED_STATES: [],\n TRACK_RECORD_1_YEAR: [],\n UNDERTAKING_MERCHANT_2: [],\n MAIL_APPROVAL_SCREENSHOT: [],\n AUTHORISED_SIGNATORY_SELFIE: [],\n AUTHORISED_SIGNATORY_PAN: [],\n ALL_MCA_PRODUCTS: [],\n MCA_REGISTRATION: [],\n COPYRIGHT: [],\n WEBSITE_REDIRECTION: [],\n MERCHANT_APPLICATION_FORM:[],\n BANK_PROOF: [],\n PERMANENT_ACCOUNT_NUMBER:[]\n });\n const [isUploading, setIsUploading] = useState(false);\n const [expirytDate, setExpiryDate] = useState(null);\n const [focusedInput, setFocusedInput] = useState(null);\n const [dateOfIncorporation, setDateOfIncorporation] = useState(null);\n \n const [\n dateOfIncorporationfocusedInput,\n setDateOfIncorporationFocusedInput,\n ] = useState(null);\n const [selectedDocument, setSelectedDocument] = useState(null);\n\n const [authorisedSignatoryDob, setAuthorisedSignatoryDob] = useState(null);\n const [\n authorisedSignatoryDobInput,\n setAuthorisedSignatoryDobInput,\n ] = useState(null);\n\n const [errors, setErrors] = useState({});\n const [selectedBusinessType, setSelectedBusinessType] = useState('');\n const [pinCodeValue, setPinCodeValue] = useState('')\n\n // Handle change of business type\n const handleBusinessTypeChange = (event) => {\n // console.log(\"handleBusinessTypeChange\", event);\n setSelectedBusinessType(event);\n if(event === 'Individual' || event === 'sole proprietorship'){\n allowedExtensions = ['jpg', 'jpeg', 'png', 'svg', 'pdf', 'doc', 'docx', 'msword', 'tiff', 'pipeg', 'gif', , 'bmp', 'wordprocessingml.document'];\n }\n else {\n allowedExtensions = ['jpg', 'jpeg', 'png', 'svg', 'pdf'];\n }\n setErrors({});\n };\n\n // Create a ref to access the Field component\n const fieldRef = useRef(null);\n\n useEffect(() => {\n // Check if the item is the correct one and fieldRef is available\n\n if(merchantLegalEntityData?.editData){\n // console.log(\"inisdee edittttt\")\n !selectedBusinessType && setSelectedBusinessType(merchantLegalEntityData?.editData?.businessType);\n }\n if(merchantLegalEntityData?.editData?.businessType === 'Individual' || merchantLegalEntityData?.editData?.businessType === 'sole proprietorship'){\n allowedExtensions = ['jpg', 'jpeg', 'png', 'svg', 'pdf', 'doc', 'docx', 'msword', 'tiff', 'pipeg', 'gif', , 'bmp', 'wordprocessingml.document'];\n }\n else {\n allowedExtensions = ['jpg', 'jpeg', 'png', 'svg', 'pdf'];\n }\n \n }, [merchantLegalEntityData]);\n\n\n\n const requiredFieldsByBusinessType = {\n 'Individual': [],\n 'Company - public/private ltd': [ ],\n 'trust': [],\n 'unincorporated association or a body of individuals': [],\n 'Cooperative Bank': [],\n 'Partnership firm/LLP': [],\n 'sole proprietorship': [],\n 'juridical person': [],\n };\n\n const getFilteredSingleUploadFields = (filteredType) => {\n // Define default required fields based on the selected business type\n const requiredFields = requiredFieldsByBusinessType[selectedBusinessType] || [];\n\n // Initialize finalComponent as an empty array\n let finalComponent = [];\n\n filteredType.forEach(field => {\n // Create a new object to hold the field data\n\n const newField = {\n ...field, // Spread existing properties\n props: {\n ...field.props, // Spread existing props\n required: requiredFields.includes(field.name) // Set required based on condition\n }\n };\n\n // Push the new field object into finalComponent\n finalComponent.push(newField);\n });\n\n // Filter the fields based on business type\n finalComponent = finalComponent.filter(field => {\n if (selectedBusinessType === 'Individual') {\n return ['BO_ADDRESS', 'SHOP_PICS', 'AUTHORISED_SIGNATORY_SELFIE'].includes(field.name);\n }\n else if (selectedBusinessType === 'sole proprietorship') {\n return ['BO_ADDRESS', 'GST', 'PROOF_BUSINESS_1', 'PROOF_BUSINESS_2', 'SHOP_PICS', 'AUTHORISED_SIGNATORY_SELFIE'].includes(field.name);\n }\n\n else if (selectedBusinessType === 'Company - public/private ltd') {\n return ['MEA', 'AGREEMENT', 'PERMANENT_ACCOUNT_NUMBER', 'BANK_PROOF', 'BO_DECLARATION', 'LISTS_OF_PEOPLE', 'CERTIFICATE_OF_INCORPORATION', 'MEMORANDUM_OF_ASSOCIATION', 'ARTICLE_OF_ASSOCIATION', 'BR', 'PROOF_BUSINESS_2', 'GST', 'AUTHORISED_SIGNATORY_PAN', 'AUTHORISED_SIGNATORY_SELFIE', 'AUTHORISED_SIGNATORY_ADDRESS', 'PRIVACY_POLICY', 'REFUND_POLICY', 'WEBSITE_TERMS_AND_CONDITION', 'CHANNELS', 'LOB_VERIFICATION', 'OWNERSHIP_CHECK', 'WEBSITE_REDIRECTION', 'COPYRIGHT', 'UNDERTAKING_MERCHANT_2', 'RESTRICTED_STATES', 'MCA_REGISTRATION'].includes(field.name);\n }\n\n else if (selectedBusinessType === 'Partnership firm/LLP') {\n return ['MEA', 'AGREEMENT', 'PERMANENT_ACCOUNT_NUMBER', 'BANK_PROOF', 'LISTS_OF_PEOPLE', 'BO_DECLARATION', 'PARTNERSHIP_DEED', 'REGISTRATION_CERTIFICATE', 'GST', 'POWER_OF_ATTORNEY', 'AUTHORISED_SIGNATORY_PAN', 'AUTHORISED_SIGNATORY_SELFIE', 'AUTHORISED_SIGNATORY_ADDRESS', 'CERTIFICATE_OF_INCORPORATION', 'PRIVACY_POLICY', 'REFUND_POLICY', 'WEBSITE_TERMS_AND_CONDITION', 'CHANNELS', 'LOB_VERIFICATION', 'OWNERSHIP_CHECK', 'WEBSITE_REDIRECTION', 'COPYRIGHT', 'UNDERTAKING_MERCHANT_2', 'RESTRICTED_STATES', 'MCA_REGISTRATION'].includes(field.name);\n }\n\n else if (selectedBusinessType === 'trust') {\n return ['MEA', 'AGREEMENT', 'PERMANENT_ACCOUNT_NUMBER', 'BANK_PROOF', 'LISTS_OF_PEOPLE', 'BO_DECLARATION', 'NGO_REGISTRATION', 'REGISTRATION_CERTIFICATE', 'TRUST_DEED', 'POWER_OF_ATTORNEY', 'AUTHORISED_SIGNATORY_SELFIE', 'AUTHORISED_SIGNATORY_ADDRESS', 'AUTHORISED_SIGNATORY_PAN', 'GST', 'REFUND_POLICY', 'PRIVACY_POLICY', 'WEBSITE_TERMS_AND_CONDITION', 'CHANNELS', 'LOB_VERIFICATION', 'OWNERSHIP_CHECK', 'WEBSITE_REDIRECTION', 'COPYRIGHT'].includes(field.name);\n }\n\n else if(selectedBusinessType === 'unincorporated association or a body of individuals'){\n return ['MERCHANT_APPLICATION_FORM', 'AGREEMENT', 'CANCELLED_CHEQUE', 'LISTS_OF_PEOPLE', 'BO_DECLARATION', 'PERMANENT_ACCOUNT_NUMBER', 'RESOLUTION_OF_THE_MANAGING_BODY', 'POWER_OF_ATTORNEY', 'PROOF_OF_ADDRESS', 'AUTHORISED_SIGNATORY_SELFIE', 'AUTHORISED_SIGNATORY_ADDRESS', 'AUTHORISED_SIGNATORY_PAN', 'UNI_CA_MOA_PARTNERSHIP_DEED', 'GST', 'REGISTRATION_CERTIFICATE', 'REFUND_POLICY', 'PRIVACY_POLICY', 'WEBSITE_TERMS_AND_CONDITION', 'CHANNELS', 'LOB_VERIFICATION', 'OWNERSHIP_CHECK', 'WEBSITE_REDIRECTION', 'COPYRIGHT'].includes(field.name);\n }\n\n else if (selectedBusinessType === 'Cooperative Bank') {\n return ['MEA', 'AGREEMENT', 'CANCELLED_CHEQUE', 'LISTS_OF_PEOPLE', 'BO_DECLARATION', 'PAN', 'RBI_LICENSE','POWER_OF_ATTORNEY', 'PROOF_BUSINESS_1', 'AUTHORISED_SIGNATORY_PAN', 'AUTHORISED_SIGNATORY_SELFIE', 'AUTHORISED_SIGNATORY_ADDRESS', 'PRIVACY_POLICY', 'REFUND_POLICY', 'WEBSITE_TERMS_AND_CONDITION', 'CHANNELS', 'LOB_VERIFICATION', 'OWNERSHIP_CHECK', 'WEBSITE_REDIRECTION', 'COPYRIGHT', 'REGISTRATION_CERTIFICATE'].includes(field.name);\n }\n\n else if (selectedBusinessType === 'juridical person') {\n return ['MERCHANT_APPLICATION_FORM', 'AGREEMENT', 'CANCELLED_CHEQUE', 'LISTS_OF_PEOPLE', 'PAN', 'POWER_OF_ATTORNEY', 'PROOF_OF_ADDRESS', 'AUTHORISED_SIGNATORY_PAN', 'AUTHORISED_SIGNATORY_SELFIE', 'AUTHORISED_SIGNATORY_ADDRESS', 'JURIDICAL_PERSON_MOA', 'GST', 'REGISTRATION_CERTIFICATE', 'RBI_LICENSE'].includes(field.name);\n }\n\n // Add other conditions as needed\n return true; // Return all fields or a default set\n });\n\n return finalComponent;\n};\n\n const capturePincodeFun = (event) => {\n // console.log(\"changed everytime\", event)\n setPinCodeValue(event);\n }\n\n const { location } = history;\n\n useEffect(() => {\n const entityCode = last(location.pathname.split('/'));\n if ((isEditMode || isViewMode) && entityCode) {\n actions.fetchMerchantLegalEntityDetailsRequest({ entityCode });\n }\n }, [actions, isEditMode, isViewMode, location.pathname]);\n\n\n // useEffect(() => {\n // // console.log(\"changed value\", pinCodeValue);\n // if( pinCodeValue && pinCodeValue?.split(\"\")?.length === 6 ) {\n // // console.log(\"6 digits found!!!\")\n // // actions.fetchMerchantLegalEntityDetailsPincodeRequest({ pinCodeValue });\n // }\n // }, [pinCodeValue])\n\n \n useEffect(() => {\n const entityCode = last(location.pathname.split('/'));\n if (\n (isEditMode || isViewMode) &&\n initialValues &&\n initialValues.docUrls\n ) {\n setMultipleDocUrls({\n ...multipleDocUrls,\n ...initialValues.docUrls,\n });\n }\n\n if (\n (isEditMode || isViewMode) &&\n initialValues &&\n initialValues.agreementExpiry\n ) {\n setExpiryDate(initialValues.agreementExpiry);\n }\n\n if (\n (isEditMode || isViewMode) &&\n initialValues &&\n initialValues.dateOfIncorporation\n ) {\n setDateOfIncorporation(initialValues.dateOfIncorporation);\n }\n\n if (\n (isEditMode || isViewMode) &&\n initialValues &&\n initialValues.authorisedSignatoryDob\n ) {\n setAuthorisedSignatoryDob(initialValues.authorisedSignatoryDob);\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [actions, isEditMode, location.pathname, initialValues, isViewMode]);\n\n useEffect(() => {\n console.log(merchantLegalEntityData.error?.error?.statusCode);\n console.log(merchantLegalEntityData.error?.error?.errorMessage);\n\n if (isEditMode && merchantLegalEntityData.isSuccess) {\n toast.success('MLE Updated Successfully');\n history.push('/mle-onboarding');\n } else if (merchantLegalEntityData.isSuccess) {\n toast.success('MLE Created Successfully');\n history.push('/mle-onboarding');\n }\n else if(merchantLegalEntityData.error?.error?.statusCode === 'ER-7100' || merchantLegalEntityData.error?.error?.statusCode === 'SPGM-0002')\n {\n toast.error('MLE ID could not be found.');\n history.push('/mle-onboarding');\n }\n else if (merchantLegalEntityData.error?.error?.errorMessage?.includes('Service Currently unavailable')) {\n toast.error('MLE ID could not be found.');\n history.push('/mle-onboarding');\n }\n }, [\n merchantLegalEntityData.editData,\n merchantLegalEntityData.createData,\n isEditMode,\n history,\n isViewMode,\n merchantLegalEntityData.isSuccess,\n merchantLegalEntityData.error?.error?.statusCode\n ]);\n\n async function uploadImageAndGetURL(file, name) {\n if (\n !(\n mutateFormData?.values?.emailIds?.length &&\n mutateFormData?.values?.emailIds[0]\n )\n ) {\n toast.error(ERROR_MESSAGES.PLEASE_ENTER_EMAIL_ID);\n return;\n }\n\n setIsUploading(true);\n const formData = new FormData();\n formData.append('multipartFile', file);\n formData.append(\n 'uniqueIdentifier',\n `${mutateFormData.values.emailIds[0]}_${new Date().getTime()}`\n );\n\n try {\n const response = await POST(\n API_UPLOAD_KYC_DOCUMENT,\n formData,\n {\n 'Content-Type': 'multipart/form-data;',\n },\n true\n );\n\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n toast.info('File upload successful');\n setIsUploading(false);\n return data.s3Path;\n }\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n setIsUploading(false);\n }\n\n async function handleViewClick(docUrl) {\n const request = {\n s3Path: docUrl,\n };\n try {\n setIsUploading(true);\n const response = await POST(\n API_VIEW_KYC_DOCUMENT,\n request,\n {},\n true\n );\n const { data } = response;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n if (data.s3Url.toLowerCase().includes('.pdf')) {\n window.open(data.s3Url);\n } else {\n setSelectedDocument(data.s3Url);\n }\n } else {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n }\n setIsUploading(false);\n } catch (error) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n setIsUploading(false);\n }\n }\n\n const handleFormSubmit = values => {\n const newErrors = {};\n const request = {\n entityType: 'MLE',\n mode: 'LIVE',\n remarks: values?.remarks,\n kycStatus: values?.kycStatus || 'PENDING',\n };\n\n const docUrlMap = {};\n\n singleValueFields.forEach(field => {\n if (values[field.name]) {\n request[field.name] = values[field.name];\n }\n });\n\n multipleValuesFields.forEach(field => {\n if (values[field.name] && values[field.name].length) {\n request[field.name] = values[field.name];\n }\n });\n\n singleMultipleUploadFieldsIndividual.forEach(field => {\n // console.log(\"okokkkkkkk\", values[field.name])\n if (values[field.name] && values[field.name].length) {\n request[field.name] = values[field.name];\n }\n });\n\n singleMultipleUploadFieldsSoleProp.forEach(field => {\n // console.log(\"okokkkkkkk\", values[field.name])\n if (values[field.name] && values[field.name].length) {\n request[field.name] = values[field.name];\n }\n });\n\n // singleMultipleFilteredFieldsSoleProp.forEach(field => {\n // if (values[field.name] && values[field.name].length) {\n // request[field.name] = values[field.name];\n // }\n // });\n\n // Get filtered fields based on the selected business type\n const singleFilteredFields = getFilteredSingleUploadFields(singleUploadFields);\n const multipleFilteredFields = getFilteredSingleUploadFields(multipleUploadFields);\n\n singleFilteredFields.forEach(field => {\n // console.log(\"okok inside single for eachhh\", multipleDocUrls[field.name], 'seperator------>',values[field.name][0])\n if (field.props.required && (!multipleDocUrls[field.name] || !multipleDocUrls[field.name].length || values[field.name][0] === null)) {\n newErrors[field.name] = `${field.label} is a required document`;\n } else if (values[field.name] && multipleDocUrls[field.name].length && values[field.name][0] !== null) {\n docUrlMap[field.name] = multipleDocUrls[field.name];\n }\n });\n\n (selectedBusinessType === 'Individual') && singleMultipleUploadFieldsIndividual.forEach(field => {\n // console.log(\"okok inside single for eachhh\", multipleDocUrls[field.name], 'seperator------>',values[field.name])\n let validFileUrls = [];\n \n // Check if the field is required and process the files\n if (field.props.required) {\n let hasValidFiles = false;\n \n // Loop through each file value\n values[field.name].forEach((file, index) => {\n if (file !== null) {\n validFileUrls.push(multipleDocUrls[field.name][index]);\n hasValidFiles = true;\n }\n });\n \n if (validFileUrls.length === 0) {\n newErrors[field.name] = `${field.label} is a required document`;\n } else {\n docUrlMap[field.name] = validFileUrls;\n }\n } else {\n // If the field is not required, just process the valid files\n values[field.name].forEach((file, index) => {\n console.log(\"🚀 ~ values[field.name].forEach ~ file:\", file)\n \n if (file !== null && file !== undefined ) {\n validFileUrls.push(multipleDocUrls[field.name][index]);\n }\n });\n \n if (validFileUrls.length > 0) {\n docUrlMap[field.name] = validFileUrls;\n }\n }\n });\n\n (selectedBusinessType === 'sole proprietorship') && singleMultipleUploadFieldsSoleProp.forEach(field => {\n // console.log(\"okok inside single for eachhh\", multipleDocUrls[field.name], 'seperator------>',values[field.name])\n let validFileUrls = [];\n \n // Check if the field is required and process the files\n if (field.props.required) {\n let hasValidFiles = false;\n \n // Loop through each file value\n values[field.name].forEach((file, index) => {\n if (file !== null) {\n validFileUrls.push(multipleDocUrls[field.name][index]);\n hasValidFiles = true;\n }\n });\n \n if (validFileUrls.length === 0) {\n newErrors[field.name] = `${field.label} is a required document`;\n } else {\n docUrlMap[field.name] = validFileUrls;\n }\n } else {\n // If the field is not required, just process the valid files\n values[field.name].forEach((file, index) => {\n if (file !== null) {\n validFileUrls.push(multipleDocUrls[field.name][index]);\n }\n });\n \n if (validFileUrls.length > 0) {\n docUrlMap[field.name] = validFileUrls;\n }\n }\n });\n \n multipleFilteredFields.forEach(field => {\n if (field.props.required && (!multipleDocUrls[field.name] || !multipleDocUrls[field.name].length || values[field.name][0] === null)) {\n newErrors[field.name] = `${field.label} is a required document`;\n } else if (values[field.name] && multipleDocUrls[field.name].length && values[field.name][0] !== null) {\n docUrlMap[field.name] = multipleDocUrls[field.name];\n }\n });\n \n if (Object.keys(newErrors).length) {\n setErrors(newErrors);\n return;\n }\n\n if (docUrlMap && Object.keys(docUrlMap).length) {\n request.nameVsDocUrls = docUrlMap;\n }\n\n if (expirytDate) {\n request.agreementExpiry = moment(expirytDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n\n if (dateOfIncorporation) {\n request.dateOfIncorporation = moment(dateOfIncorporation)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n\n if (authorisedSignatoryDob) {\n request.authorisedSignatoryDob = moment(authorisedSignatoryDob)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n\n if (values.uboDetails) {\n let updatedDocUrls = [];\n values.uboDetails.forEach(item => {\n let data = { ...item, ...item.docUrls };\n delete data.docUrls;\n delete data.uboDOBDate;\n updatedDocUrls.push(data);\n });\n request.uboDetails = updatedDocUrls;\n }\n\n if (isEditMode) {\n const entityCode = last(location.pathname.split('/'));\n request.entityCode = entityCode;\n\n actions.editMerchantLegalEntityRequest(request);\n } else {\n actions.createMerchantLegalEntityRequest(request);\n }\n };\n\n // useEffect(() => {\n // let merchantTurnOver = mutateFormData?.values?.turnOver;\n // let merchantType = mutateFormData?.values?.merchantType;\n // let gstNumber = mutateFormData?.values?.gstNumber;\n // let gstDoc = multipleDocUrls.GST;\n\n // if (\n // merchantTurnOver < smallTurnoverCategoryAmount &&\n // merchantType === 'Offline'\n // ) {\n // actions.change('mle-onboarding-form', 'merchantCategory', 'Small');\n // } else if (\n // merchantTurnOver >= smallTurnoverCategoryAmount &&\n // merchantTurnOver < largeTurnoverCategoryAmount\n // ) {\n // actions.change('mle-onboarding-form', 'merchantCategory', 'Medium');\n // } else if (\n // merchantTurnOver >= smallTurnoverCategoryAmount ||\n // (gstDoc && gstDoc.length > 0 && gstNumber && gstNumber.length > 0)\n // ) {\n // actions.change('mle-onboarding-form', 'merchantCategory', 'Large');\n // }\n // }, [\n // mutateFormData?.values?.gstNumber,\n // mutateFormData?.values?.turnOver,\n // multipleDocUrls.GST,\n // mutateFormData?.values?.merchantType,\n // ]);\n\n const formError =\n mutateFormData.syncErrors && mutateFormData.syncErrors.commonErrors;\n\n const resetFieldError = (fieldName) => {\n setErrors(prevErrors => ({\n ...prevErrors,\n [fieldName]: null\n }));\n };\n\n const getFieldOrderForBusinessType = (businessType) => {\n const fieldOrderMapping = {\n\n 'Individual': ['BO_ADDRESS', 'SHOP_PICS', 'AUTHORISED_SIGNATORY_SELFIE'],\n\n 'sole proprietorship': ['BO_ADDRESS', 'GST', 'PROOF_BUSINESS_1', 'PROOF_BUSINESS_2', 'SHOP_PICS', 'AUTHORISED_SIGNATORY_SELFIE'],\n \n 'Company - public/private ltd': [\n 'MEA', 'AGREEMENT', 'PERMANENT_ACCOUNT_NUMBER', 'BANK_PROOF', 'BO_DECLARATION', 'LISTS_OF_PEOPLE',\n 'CERTIFICATE_OF_INCORPORATION', 'MEMORANDUM_OF_ASSOCIATION', 'ARTICLE_OF_ASSOCIATION', 'BR',\n 'GST', 'AUTHORISED_SIGNATORY_PAN', 'AUTHORISED_SIGNATORY_SELFIE',\n 'AUTHORISED_SIGNATORY_ADDRESS', 'PRIVACY_POLICY', 'REFUND_POLICY', 'WEBSITE_TERMS_AND_CONDITION',\n 'CHANNELS', 'LOB_VERIFICATION', 'OWNERSHIP_CHECK', 'WEBSITE_REDIRECTION', 'COPYRIGHT',\n 'UNDERTAKING_MERCHANT_2', 'RESTRICTED_STATES', 'MCA_REGISTRATION'\n ],\n \n 'unincorporated association or a body of individuals': ['MERCHANT_APPLICATION_FORM', 'AGREEMENT', 'CANCELLED_CHEQUE', 'LISTS_OF_PEOPLE', 'BO_DECLARATION', 'PERMANENT_ACCOUNT_NUMBER', 'RESOLUTION_OF_THE_MANAGING_BODY', 'POWER_OF_ATTORNEY', 'PROOF_OF_ADDRESS', 'AUTHORISED_SIGNATORY_SELFIE', 'AUTHORISED_SIGNATORY_ADDRESS', 'AUTHORISED_SIGNATORY_PAN', 'UNI_CA_MOA_PARTNERSHIP_DEED', 'GST', 'REGISTRATION_CERTIFICATE', 'REFUND_POLICY', 'PRIVACY_POLICY', 'WEBSITE_TERMS_AND_CONDITION', 'CHANNELS', 'LOB_VERIFICATION', 'OWNERSHIP_CHECK', 'WEBSITE_REDIRECTION', 'COPYRIGHT'],\n \n 'Partnership firm/LLP': [\n 'MEA', 'AGREEMENT', 'PERMANENT_ACCOUNT_NUMBER', 'BANK_PROOF', 'LISTS_OF_PEOPLE', 'BO_DECLARATION', 'PARTNERSHIP_DEED',\n 'REGISTRATION_CERTIFICATE', 'GST', 'POWER_OF_ATTORNEY', 'AUTHORISED_SIGNATORY_PAN',\n 'AUTHORISED_SIGNATORY_SELFIE', 'AUTHORISED_SIGNATORY_ADDRESS', 'CERTIFICATE_OF_INCORPORATION', 'PRIVACY_POLICY', 'REFUND_POLICY',\n 'WEBSITE_TERMS_AND_CONDITION', 'CHANNELS', 'LOB_VERIFICATION', 'OWNERSHIP_CHECK',\n 'WEBSITE_REDIRECTION', 'COPYRIGHT', 'UNDERTAKING_MERCHANT_2', 'RESTRICTED_STATES', 'MCA_REGISTRATION'\n ],\n 'trust': [\n 'MEA', 'AGREEMENT', 'PERMANENT_ACCOUNT_NUMBER', 'BANK_PROOF', 'LISTS_OF_PEOPLE', 'BO_DECLARATION', 'NGO_REGISTRATION',\n 'REGISTRATION_CERTIFICATE', 'TRUST_DEED', 'POWER_OF_ATTORNEY', 'AUTHORISED_SIGNATORY_SELFIE',\n 'AUTHORISED_SIGNATORY_ADDRESS', 'AUTHORISED_SIGNATORY_PAN', 'GST', 'REFUND_POLICY', 'PRIVACY_POLICY',\n 'WEBSITE_TERMS_AND_CONDITION', 'CHANNELS', 'LOB_VERIFICATION', 'OWNERSHIP_CHECK', 'WEBSITE_REDIRECTION',\n 'COPYRIGHT'\n ],\n 'juridical person': [\n 'MERCHANT_APPLICATION_FORM', 'AGREEMENT', 'CANCELLED_CHEQUE', 'LISTS_OF_PEOPLE', 'PAN', 'POWER_OF_ATTORNEY', 'PROOF_OF_ADDRESS', 'AUTHORISED_SIGNATORY_PAN', 'AUTHORISED_SIGNATORY_SELFIE', 'AUTHORISED_SIGNATORY_ADDRESS', 'JURIDICAL_PERSON_MOA', 'GST', 'REGISTRATION_CERTIFICATE', 'RBI_LICENSE'\n ],\n // Add more types as necessary\n };\n \n return fieldOrderMapping[businessType] || [];\n };\n \n\n const getSortedFields = (fields, businessType) => {\n const order = getFieldOrderForBusinessType(businessType);\n const orderMap = new Map(order.map((name, index) => [name, index]));\n \n // Sort fields based on the order map\n return fields.slice().sort((a, b) => {\n const indexA = orderMap.get(a.name);\n const indexB = orderMap.get(b.name);\n \n if (indexA === undefined) return 1; // Place fields not in the order map at the end\n if (indexB === undefined) return -1;\n return indexA - indexB;\n });\n };\n\n const sortedFields = getSortedFields(singleUploadFields, selectedBusinessType);\n const sortedSingleMultipleFieldsIndividual = getSortedFields(singleMultipleUploadFieldsIndividual, selectedBusinessType);\n const sortedSingleMultipleFieldsSoleProp = getSortedFields(singleMultipleUploadFieldsSoleProp, selectedBusinessType);\n\n return (\n
    \n setSelectedDocument(null)}\n customWrapperClass=\"content-modal modal-xl\"\n >\n
    \n

    Document View

    \n setSelectedDocument(null)}\n />\n
    \n
    \n {selectedDocument && selectedDocument.includes('.pdf') ? (\n \n ) : (\n \n )}\n window.open(selectedDocument)}\n />\n
    \n \n {isUploading || merchantLegalEntityData.isLoading ? (\n \n ) : null}\n

    MLE Onboarding

    \n \n
      \n MLE Information\n }\n lowerComponent={\n <>\n
    • \n {singleValueFields.map((item, index) => {\n \n return (\n \n

      \n {item.label}\n {item?.required && *}\n

      \n {item.name ===\n 'agreementExpiry' ? (\n \n false\n }\n />\n ) : item.name ===\n 'dateOfIncorporation' ? (\n \n day.isAfter(\n moment().endOf(\n 'day'\n )\n )\n }\n />\n ) : item.name ===\n 'authorisedSignatoryDob' ? (\n \n day.isAfter(\n moment().endOf(\n 'day'\n )\n )\n }\n />\n )\n : item.name ===\n 'aadharNumber' ? (\n \n )\n : item.name ===\n 'pinCode' ? (\n \n ) \n : item.name ===\n 'relationshipManagerId' ? (\n \n ) : item.type === 'select' ? (\n <>\n \n \n ) : item.name ===\n 'merchantCategory' ? (\n \n ) : item.name === 'businessType' && item.type === 'select' ? (\n \n ) : item.type === 'select' && item.name !== 'businessType' ? (\n \n ) : item.type === 'radio' ? (\n \n ) : (\n \n )}\n
    \n );\n })}\n \n\n
  • \n {multipleValuesFields.map((item, index) => {\n return (\n \n \n
  • \n );\n })}\n \n \n }\n />\n\n
  • \n UBO Details\n }\n lowerComponent={\n <>\n \n \n }\n />\n
  • \n\n {\n \n (selectedBusinessType) && MLE KYC Document\n }\n lowerComponent={\n <>\n { selectedBusinessType === 'Individual' ? \n (\n
  • \n {singleMultipleUploadFieldsIndividual.map((item, index) => {\n return (\n \n \n \n
  • \n );\n })}\n \n )\n :\n selectedBusinessType === 'sole proprietorship' ?\n (\n <>\n

    Note: Atleast one document is required from GST or Proof of Business 1 or Proof of Business 2

    \n
  • \n {singleMultipleUploadFieldsSoleProp.map((item, index) => {\n return (\n \n \n \n \n );\n })}\n
  • \n \n )\n :\n (\n
  • \n {getFilteredSingleUploadFields(sortedFields).map((item, index) => {\n return (\n \n \n \n \n );\n })}\n
  • \n )\n }\n \n \n \n \n }\n /> }\n\n
  • \n
    \n

    KYC Status\n *\n

    \n \n
    \n
    \n

    Remarks\n

    \n \n \n
    \n
  • \n\n {merchantLegalEntityData.error &&\n merchantLegalEntityData.error.errorMessage ? (\n \n {merchantLegalEntityData.error.errorMessage}\n \n ) : null}\n\n {formError ? (\n {formError}\n ) : null}\n\n
  • \n \n
  • \n \n \n \n );\n};\n\nMerchantLegalEntityMutate.propTypes = {\n actions: PropTypes.object,\n isViewMode: PropTypes.bool,\n handleSubmit: PropTypes.func,\n isEditMode: PropTypes.bool,\n history: PropTypes.func,\n mutateFormData: PropTypes.object,\n initialValues: PropTypes.object,\n merchantLegalEntityData: PropTypes.object,\n staticData: PropTypes.object,\n};\n\nconst renderSingleField = ({\n fields,\n meta: { error, submitFailed },\n auth,\n isViewMode,\n configuration,\n}) => {\n if (fields.length <= 0) {\n fields.push();\n }\n\n return (\n
    \n
    \n {fields.map((item, index) => (\n <>\n
    \n
    \n {index > 0 ? (\n <>\n ) : (\n

    \n {configuration.label}\n {configuration?.required && (\n *\n )}\n

    \n )}\n \n
    \n
    \n
    \n {!(isViewMode || index === 0) && (\n \n fields.remove(index)\n }\n disabled={isViewMode}\n />\n )}\n
    \n
    \n {!isViewMode &&\n index === fields.length - 1 &&\n !configuration.onlySingleValue && (\n {\n fields.push();\n }}\n />\n )}\n
    \n
    \n
    \n \n ))}\n
    \n
    \n );\n};\n\nrenderSingleField.propTypes = {\n fields: PropTypes.object,\n meta: PropTypes.object,\n auth: PropTypes.object,\n configuration: PropTypes.object,\n uniqueId: PropTypes.object,\n isViewMode: PropTypes.bool,\n};\n\nconst RenderMultiUpload = ({\n fields,\n meta: { error, submitFailed },\n auth,\n isViewMode,\n configuration,\n handleViewClick,\n uploadImageAndGetURL,\n docUrls,\n setDocUrls,\n onlySingleFile,\n isMultiLevelField,\n previousLevelId,\n mutateFormData,\n errors,\n resetFieldError,\n selectedBusinessType\n}) => {\n\n useEffect(() => {\n if(onlySingleFile || !isMultiLevelField){\n \n fields.removeAll();\n }\n }, [, isMultiLevelField, onlySingleFile])\n\n const mandatoryCount = configuration?.props?.multiple || 0;\n\n const handleFileChange = (name, value, index) => {\n const newDocMap = { ...docUrls };\n if(newDocMap[configuration.name] && newDocMap[configuration.name][index]){\n\n }else{\n newDocMap[configuration.name] = [];\n }\n if (value) {\n newDocMap[configuration.name][index] = value;\n setDocUrls(newDocMap);\n // Clear the error for this field\n resetFieldError(configuration.name);\n }\n else{\n newDocMap[configuration.name][index] = null;\n setDocUrls(newDocMap);\n }\n };\n\n if (fields.length <= 0) {\n fields.push();\n }\n\n \n const handleAddButtonClick = () => {\n\n if (fields.length + 1 == configuration?.props?.count) {\n toast.error(`Maximum number of uploads for ${configuration.label} has been reached`);\n } \n\n fields.push();\n \n };\n\n return (\n \n
    \n {fields.map((item, index) => (\n <>\n
    \n
    \n {index > 0 ? (\n <>\n ) : (\n

    \n {configuration.label}{' '}\n {configuration?.props?.required && (\n *\n )}\n \n {/* {configuration.name ===\n 'AUTHORISED_SIGNATORY_ADDRESS'\n ? `( ${mutateFormData?.values?.authorisedSignatoryAddressProofType} )`\n : ''} */}\n

    \n )}\n \n handleFileChange(name, value, index)\n }\n uploadImageAndGetURL={uploadImageAndGetURL}\n docUrl={\n docUrls[configuration.name] && docUrls[configuration.name][index]\n ? docUrls[configuration.name][index]\n : ''\n }\n handleView={handleViewClick}\n name={\n isMultiLevelField\n ? `${previousLevelId}.${item}`\n : item\n }\n id={\n isMultiLevelField\n ? `${previousLevelId}.${item}`\n : item\n }\n type=\"file\"\n component={FormElems.UploadElement}\n labelName={`${configuration.label} ${\n index > 0 ? `- ${index}` : ''\n }`}\n placeholder={\n configuration.props.placeholder\n }\n disabled={isViewMode}\n accept={configuration.props.accept}\n allowedExtensions={allowedExtensions}\n MLEerrorMessage = \"Oops! Only Images and PDF files are allowed for upload.\"\n MaxFileSize = {5}\n />\n {errors &&
    {errors}
    }\n
    \n {\n \n !onlySingleFile ? (\n \n
    \n
    \n {!(\n isViewMode ||\n onlySingleFile ||\n index === 0\n ) && (\n \n fields.remove(index)\n }\n disabled={isViewMode}\n />\n )}\n
    \n
    \n {!(isViewMode || onlySingleFile) &&\n \n (index === fields.length - 1 && configuration?.props?.count !== 1 && index + 1 !== configuration?.props?.count) && (\n \n )}\n
    \n
    \n ) : (\n <>\n )}\n
    \n \n ))}\n
    \n \n );\n};\n\nRenderMultiUpload.propTypes = {\n fields: PropTypes.object,\n meta: PropTypes.object,\n auth: PropTypes.object,\n configuration: PropTypes.object,\n uniqueId: PropTypes.object,\n isViewMode: PropTypes.bool,\n isEditMode: PropTypes.bool,\n onlySingleFile: PropTypes.bool,\n handleViewClick: PropTypes.func,\n uploadImageAndGetURL: PropTypes.func,\n docUrls: PropTypes.object,\n setDocUrls: PropTypes.func,\n errors: PropTypes.object,\n resetFieldError: PropTypes.object,\n selectedBusinessType: PropTypes.object,\n};\n\nconst uboDetailsInput = ({\n fields,\n meta: { error, submitFailed },\n auth,\n isViewMode,\n configuration,\n getUboDetails,\n uploadImageAndGetURL,\n handleViewClick,\n actions,\n initialData,\n isEditMode,\n}) => {\n if (fields.length <= 0) {\n fields.push();\n }\n\n return (\n <>\n {fields.map((item, index) => {\n return (\n \n UBO {index + 1} Details\n \n }\n lowerComponent={\n \n fields.remove(removeIndex)\n }\n isViewMode={isViewMode}\n uploadImageAndGetURL={uploadImageAndGetURL}\n handleViewClick={handleViewClick}\n actions={actions}\n isEditMode={isEditMode}\n initialData={\n initialData &&\n initialData.uboDetails &&\n initialData.uboDetails[index]\n ? initialData.uboDetails[index]\n : {}\n }\n />\n }\n />\n );\n })}\n\n
    \n
    \n {!isViewMode && (\n {\n fields.push();\n }}\n />\n )}\n
    \n
    \n \n );\n};\n\nconst UBOForm = ({\n field,\n onRemove,\n index,\n isViewMode,\n uploadImageAndGetURL,\n handleViewClick,\n actions,\n initialData,\n isEditMode,\n}) => {\n const [uboDate, setuboDate] = useState(null);\n const [uboDatefocusedInput, setuboDateFocusedInput] = useState(null);\n const [multipleDocUrls, setMultipleDocUrls] = useState({\n panDocs: [],\n proofOfAddress: [],\n selfie: [],\n });\n\n useEffect(() => {\n if (initialData.dob) {\n setuboDate(initialData.dob ? moment.unix(initialData.dob) : null);\n }\n }, [initialData.dob]);\n\n useEffect(() => {\n if (initialData) {\n let initlalMultipleDocUrls = {\n panDocs: initialData.panDocs || [],\n selfie: initialData.selfie || [],\n proofOfAddress: initialData.proofOfAddress || [],\n };\n setMultipleDocUrls(initlalMultipleDocUrls);\n }\n }, [initialData.panDocs]);\n\n useEffect(() => {\n actions.change(\n 'mle-onboarding-form',\n `${field}.docUrls`,\n multipleDocUrls\n );\n }, [multipleDocUrls]);\n\n useEffect(() => {\n actions.change(\n 'mle-onboarding-form',\n `${field}.dob`,\n moment(uboDate)\n .startOf('day')\n .unix()\n );\n }, [uboDate]);\n\n return (\n <>\n
      \n
    • \n
      \n

      Name

      \n \n
      \n
      \n

      UBO PAN

      \n \n
      \n
      \n

      UBO DOB (As per PAN)

      \n \n day.isAfter(moment().endOf('day'))\n }\n />\n
      \n
      \n

      Address

      \n \n
      \n
      \n

      Pincode

      \n \n
      \n
      \n

      City

      \n \n
      \n
      \n

      State

      \n \n
      \n
      \n

      Email

      \n \n
      \n
      \n

      UBO Status

      \n \n
      \n
    • \n
    • \n {uboSingleUploadFields.map((item, index) => {\n return (\n
      \n \n
      \n );\n })}\n
    • \n
    \n
    \n
    \n {!(isViewMode || index === 0) && (\n onRemove(index)}\n disabled={isViewMode}\n />\n )}\n
    \n
    \n \n );\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n staticData,\n merchantLegalEntityData,\n}) => ({\n auth,\n mutateFormData: form['mle-onboarding-form'],\n staticData,\n merchantLegalEntityData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n change,\n createMerchantLegalEntityRequest,\n editMerchantLegalEntityRequest,\n fetchMerchantLegalEntityDetailsRequest,\n fetchMerchantLegalEntityDetailsPincodeRequest,\n resetMerchantLegalEntityFormReset,\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n compose(\n reduxForm({\n form: 'mle-onboarding-form',\n enableReinitialize: true,\n validate,\n initialValues: {\n kycStatus: 'PENDING', // Default value here\n },\n }),\n connect(mapStateToProps, mapDispatchToProps)\n )(MerchantLegalEntityMutate)\n);\n","import React, { useEffect } from \"react\";\nimport { toast } from 'react-toastify';\nimport { useHistory } from \"react-router-dom\"\n\nconst Redirection = ({message, path}) => {\n const history = useHistory()\n\n useEffect(() => {\n history.push(path); // Navigate to /new-path\n toast.error(`${message}`);\n }, [])\n\n return(\n <>\n \n )\n}\n\nexport default Redirection;","import Redirection from './Redirection';\n\nexport default Redirection;\n","import React from 'react'\nimport { getTimelineStatus } from 'utils/helperMethods';\nimport BusinessTab from 'components/Onboarding/Mle/BusinessTab';\nimport UobTab from 'components/Onboarding/Mle/UobTab';\nimport { first } from 'lodash';\nimport { BUSINESS_SECTION_TYPE_MLE, MLE_CREATE_FORM_NAME } from 'components/Onboarding/Mle/BusinessTab/contants';\nimport { UBO_CREATE_FORM_NAME, UBO_SECTION_TYPE } from 'components/Onboarding/Mle/UobTab/constant';\nimport { BUSINESSDETAILS, UBODETAILS } from '../constants';\nimport { MOCK_API_VALUE } from 'utils/constants/commonValues';\n\nconst getDefaultSecurityValue = securityValue => {\n if (securityValue) {\n const allSelectedValues = [];\n const values = securityValue;\n if (typeof values === 'string' || values instanceof String) {\n return values;\n }\n for (const property in values) {\n if (Object.prototype.hasOwnProperty.call(values, property)) {\n if (values[property]) {\n allSelectedValues.push(property);\n }\n }\n }\n return first(allSelectedValues);\n }\n return '';\n};\n\n\nconst formatIntegrationInitialData = draftData => {\n if (draftData && draftData.data) {\n const draftDataValue = { ...draftData.data };\n draftDataValue.security = getDefaultSecurityValue(\n draftDataValue.security\n );\n return draftDataValue;\n }\n return {};\n};\n\n\n\nconst getPath = (processStepsList, idx, maxLen) => {\n if (idx >= 0 && idx < maxLen) {\n return processStepsList[idx].path;\n }\n return null; \n}\n\nconst baseUrl = '/mle-onboarding/';\n\n\nconst mleOnBoarding = (formEvents, routePath, permissions = {}, pathType, pathid, uniqueIdentifier, initialIntentId) => {\n // console.log(\"route path\", routePath, pathType, pathid, permissions);\n // console.log(\"field\", fields);\n // const mleOnboardingPermissions = permissions.mle_onboarding\n // ? permissions.mle_onboarding\n // : [];\n\n // // Define a list of onboarding process steps with their configurations.\n const processStepsList = [\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n // console.log(\"draft dat\", draftData, draftData && draftData.data);\n return (\n \n );\n },\n name: 'Business Details',\n sectionType: BUSINESS_SECTION_TYPE_MLE,\n nextPath: (pathid) ? `${baseUrl}${pathType}/${UBODETAILS}/${pathid}` : `${baseUrl}${pathType}/${UBODETAILS}`,\n path: (pathid) ? `${baseUrl}${pathType}/${BUSINESSDETAILS}/${pathid}` : `${baseUrl}${pathType}/${BUSINESSDETAILS}`,\n previousPath: '/mle-onboarding',\n status: (MOCK_API_VALUE) ? 'Open' : formEvents[`${MLE_CREATE_FORM_NAME}status`],\n tabId: 1,\n permission: 'create_merchant',\n },\n {\n component(props) {\n // console.log(\"called ubo details component\");\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n // console.log(\"draftdata\", draftData);\n if (draftData) {\n props.initialValues = draftData;\n }\n // console.log(\"propd\", props)\n return (\n \n );\n },\n name: 'Ownership Details',\n sectionType: UBO_SECTION_TYPE,\n nextPath: `/mle-onboarding`,\n path: (pathid) ? `${baseUrl}${pathType}/${UBODETAILS}/${pathid}` : `${baseUrl}${pathType}/${UBODETAILS}`,\n previousPath: (pathid) ? `${baseUrl}${pathType}/${BUSINESSDETAILS}/${pathid}` : `${baseUrl}${pathType}/${BUSINESSDETAILS}`,\n status: (MOCK_API_VALUE) ? 'Open' : formEvents[`${UBO_CREATE_FORM_NAME}status`],\n tabId: 2,\n permission: 'integration',\n },\n ];\n\n return processStepsList;\n\n // sorting the fields\n // const sortedField = orderBy(fields, ['order'], ['asc']).filter(\n // field => field.mandatory\n // );\n\n // if (\n // mleOnboardingPermissions &&\n // mleOnboardingPermissions.length > 0\n // ) {\n // // eslint-disable-next-line array-callback-return\n // let sortedFieldMapped = sortedField.map((item, index) => {\n // const sectionData = processStepsList.find(\n // section => section.sectionType === item.sectionType\n // );\n // if (sectionData && sectionData.sectionType === item.sectionType) {\n // let maxLen = processStepsList.length;\n // sectionData.nextPath = getPath(processStepsList, index+1, maxLen);\n // sectionData.previousPath = getPath(processStepsList, index-1, maxLen);\n\n // return { ...item, ...sectionData };\n // }\n // });\n\n // sortedFieldMapped = sortedFieldMapped.filter(function(element) {\n // return element !== undefined;\n // });\n\n // if (sortedFieldMapped && sortedFieldMapped.length > 0) {\n // sortedFieldMapped[sortedFieldMapped.length - 1].nextPath = null;\n // }\n\n // return sortedFieldMapped;\n // }\n return [];\n};\n\n\nexport default mleOnBoarding;\n ","// Components\nimport { Timelinev1, BreadCrumb } from '../../components';\nimport { mleOnBoarding } from './timelinesteps';\n\n// Actions\nimport { fetchBasicFormDataProcess, fetchMerchantLegalEntityDetailsRequest } from './redux/merchantLegalEntity.actions';\n// Libraries\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Switch, Route, useParams } from 'react-router-dom';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { BUSINESS_SECTION_TYPE_MLE } from 'components/Onboarding/Mle/BusinessTab/contants';\nimport { mutateMleDataMerchant } from './merchantLegalEntity.utils';\nimport { MOCK_API_VALUE } from 'utils/constants/commonValues';\nimport { saveAndContinueDetails } from 'mockApiWiseReqRes';\nimport { OWNERSHIP_DETAILS_SAVE } from 'mockApiWiseReqRes/mockApiWise.constants';\n\nconst getDraftData = (draftData, sectionType) => {\n const filteredData =\n draftData &&\n draftData?.forms?.[0]?.sections?.length &&\n draftData.forms[0].sections.find(section => section.type === sectionType);\n const formattedData = mutateMleDataMerchant(filteredData?.data || {}, sectionType)\n // console.log(\"formatted data\", formattedData);\n return formattedData;\n // return filteredData;\n};\n\nconst CreateMle = ({ \n actions, \n history, \n permissions,\n formData,\n formEvents,\n uniqueIdentifier\n}) => {\n const { location } = history;\n const locationArray = location.pathname.split('/');\n const event = locationArray[2];\n const merchantId = locationArray[4];\n let initialIntentId = formData?.forms?.[0]?.intentId ?? formData?.forms?.[0]?.intendId ?? null;\n // console.log(\"uniqeeeeeident\", formData, initialIntentId, formEvents);\n // console.log(\"location\", event, merchantId);\n let isViewMode = (event === 'view') ? true : false;\n let isEditMode = (event === 'edit') ? true : false;\n useEffect(() => {\n // console.log(\"called create merchant\");\n let sectionType = BUSINESS_SECTION_TYPE_MLE;\n let entityCode = BUSINESS_SECTION_TYPE_MLE;\n actions.fetchBasicFormDataProcess({sectionType, entityCode});\n }, []);\n\n \n // const {\n // timeline: { fields },\n // uniqueIdentifier: { isInEditMode },\n // } = data;\n let draftData = formData; // temporary\n if (MOCK_API_VALUE) {\n draftData = saveAndContinueDetails(OWNERSHIP_DETAILS_SAVE);\n }\n // console.log(\"draft data....\", draftData);\n const mleOnBoardSteps = mleOnBoarding(\n formEvents,\n location.pathname,\n permissions,\n event,\n merchantId,\n uniqueIdentifier,\n initialIntentId\n );\n\n // const merchantOnBoardSteps = merchantOnBoarding(\n // fields,\n // draftData,\n // location.pathname,\n // data,\n // permissions\n // );\n // console.log(\"merchantOnBoardSteps\", merchantOnBoardSteps);\n const completedSection =mleOnBoardSteps && mleOnBoardSteps.filter(item => item.status === 'Complete');\n // merchantOnBoardSteps && merchantOnBoardSteps.filter(item => item.status === 'Complete');\n const lastSelected =\n completedSection.length &&\n completedSection[completedSection.length - 1];\n\n // console.log(\"lastSelected\", lastSelected);\n\n useEffect(() => {\n // Show dialog on explicit route leave\n function unloadRoute(event) {\n event.returnValue = 'Changes that you made may not be saved.';\n }\n\n window.addEventListener('beforeunload', unloadRoute);\n return () => {\n window.removeEventListener('beforeunload', unloadRoute);\n };\n }, [actions]);\n\n // useEffect(() => {\n // // Send merchant dashboard when trying to access directly\n // if (\n // draftData &&\n // draftData.length === 0 &&\n // location.pathname !== '/mob/v1/create/merchant'\n // ) {\n // history.replace('/mob/v1');\n // }\n // }, [draftData, history, location.pathname]);\n\n useEffect(() => {\n if (!lastSelected) {\n return;\n }\n if (lastSelected.nextPath && formEvents?.isFormSubmitted) {\n history.push(lastSelected.nextPath);\n } else {\n history.push(lastSelected.path);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n const headingName = (isViewMode) ? 'View MLE' : (isEditMode) ? 'Edit MLE' : 'Create MLE';\n // console.log(\"last selected\", mleOnBoardSteps.map(tab=> tab));\n return (\n
    \n
    \n
    \n

    Create MLE

    \n \n
    \n
    \n
    \n \n
    \n
    \n \n {mleOnBoardSteps.map(tab => (\n \n {tab.component({\n ...tab,\n draftData: getDraftData(\n draftData,\n tab.sectionType\n ),\n mleOnBoardSteps,\n isInEditMode: false,\n isViewMode: isViewMode\n })}\n \n ))}\n \n\n \n
    \n
    \n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ loader }) => ({\n loader\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchBasicFormDataProcess,\n fetchMerchantLegalEntityDetailsRequest\n },\n dispatch\n ),\n});\n\nCreateMle.propTypes = {\n actions: PropTypes.object,\n history: PropTypes.object,\n permissions: PropTypes.object\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CreateMle);\n","import moment from \"moment\";\n\nfunction MLEDraftData(data) {\n this.tableData = this.createMleFieldsFields(data);\n}\n\nMLEDraftData.prototype = Object.assign(MLEDraftData.prototype, {\n createMleFieldsFields(draftDetails) {\n console.log(\"draft details\", draftDetails);\n return (\n draftDetails &&\n draftDetails.map(row => this.createRow(row))\n );\n },\n createRow(row) {\n const {\n id,\n uniqueIdentifier,\n sections,\n createdOn,\n intentId,\n updatedBy\n } = row;\n let date = moment(createdOn).format('DD/MM/YYYY HH:mm:ss');\n // console.log(\"date...\", date, sections?.[0]?.data);\n // fetch entity name\n const entityName = sections?.[0]?.data?.legalName;\n // fetch email id\n const emailId = sections?.[0]?.data?.emails?.toString();\n // fetch maker id\n const makerId = updatedBy;\n return {\n id,\n uniqueIdentifier,\n sections,\n createdOn: date,\n intentId,\n entityName,\n emailId,\n makerId\n };\n },\n});\n\nexport default MLEDraftData;\n","import { BreadCrumb, Table } from 'components'\nimport React, { useEffect, useMemo, useState } from 'react'\nimport { bindActionCreators } from 'redux';\nimport { fetchMleSectionData } from 'containers/Checker/checker.utils';\nimport {useHistory, withRouter} from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { fetchMLEFormInProcessRequest, saveAndContinueSuccessV1 } from './redux/merchantLegalEntity.actions';\nimport { fetchMleDataDraft } from './merchantLegalEntity.utils';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport MLEDraftData from './redux/model/mleDraftData';\nimport { BUSINESSDETAILS } from './constants';\nimport { hideLoader, showLoader } from 'redux/common/loader/loader.actions';\n\nconst MleUserActions = ({ data, history, actions }) => {\n const handleClick = () => {\n let requestData = {\n forms: [{\n ...data.original\n }]\n }\n actions.saveAndContinueSuccessV1(requestData);\n history.push(`/mle-onboarding/create/${BUSINESSDETAILS}`)\n };\n\n return (\n
    \n handleClick()}\n />\n
    \n );\n};\n\nconst MleDraftTable = (props) => {\n console.log(\"MleDraftTable....\");\n const {\n actions,\n merchantLegalEntityData,\n loader: { showLoader }\n } = props;\n\n const history = useHistory();\n\n const {listingDraftData = [{}], listingError = ''} = merchantLegalEntityData;\n const [tableData, setTableData] = useState([]);\n // const [roleStatus, setRoleStatus] = useState('');\n // const [pageCount, setPageCount] = useState(0);\n // const [isResetPage, setIsResetPage] = useState(false);\n\n const columnsDraft = useMemo(\n () => [\n { header: 'Application ID', accessor: 'id' },\n { header: 'Entity Name', accessor: 'entityName' },\n { header: 'Email ID', accessor: 'emailId' },\n { header: 'Maker ID', accessor: 'makerId' },\n { header: 'Created At', accessor: 'createdOn' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const fetchDataDraft = async () => {\n actions.showLoader()\n try {\n\n const mledraftData = await fetchMleDataDraft();\n if (mledraftData?.statusCode === apiStatusCodes.SUCCESS) {\n const modelData = new MLEDraftData(mledraftData.forms)\n console.log(\"modelData\", modelData)\n console.log(\"table data\", modelData.tableData);\n setTableData(modelData.tableData);\n // add a actions here \n }\n // console.log(\"jerere\");\n // actions.fetchMLEFormInProcessRequest()\n } catch(e) {\n\n } \n actions.hideLoader()\n }\n\n useEffect(() => {\n fetchDataDraft()\n }, []);\n\n \n\n const handleBackClick = () => {\n history.push('/mle-onboarding');\n };\n\n const handleCreateMerchant = () => {};\n \n return (\n <>\n
    \n setIsResetPage(false)}\n fetchData={() => {}}\n // numberOfRecord={\n // pagination && pagination.totalNumberOfRecords\n // }\n // pageSizeOptions={pageSizeOptions}\n // paginationLabel=\"Rows per page\"\n onClickTableAction={handleCreateMerchant}\n // setRoleStatus={setRoleStatus}\n userActions={data => {\n // console.log(\"action data\", data);\n // console.log(\"original data\", data.original);\n return \n }}\n additionalActions={null}\n tableSubSection={props => (\n \n )}\n // pagePerView={3}\n tableActionPopup={null}\n />\n
    \n \n )\n}\n\nconst mapStateToProps = ({ loader, merchantLegalEntityData }) => ({\n loader,\n merchantLegalEntityData\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchMLEFormInProcessRequest,\n saveAndContinueSuccessV1,\n showLoader,\n hideLoader\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n connect(mapStateToProps, mapDispatchToProps)(MleDraftTable)\n);\n","import React, { useEffect } from 'react'\nimport CreateMle from './CreateMle'\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router-dom/cjs/react-router-dom.min';\nimport { bindActionCreators } from 'redux';\nimport { fetchMerchantLegalEntityDetailsRequest } from './redux/merchantLegalEntity.actions';\n\nconst EditViewMle = ({\n actions,\n history, \n permissions,\n formData,\n formEvents,\n uniqueIdentifier,\n merchantLegalEntityData\n}) => {\n const {redirect} = merchantLegalEntityData;\n const { location } = history;\n const locationArray = location.pathname.split('/');\n const merchantId = locationArray[4];\n if (redirect === 'error' || !merchantId) {\n history.push('/mle-onboarding');\n }\n useEffect(() => {\n if (merchantId) {\n // console.log(\".....useeffect\", isEditMode, isViewMode, entityCode);\n const entityCode = merchantId;\n if (entityCode) {\n actions.fetchMerchantLegalEntityDetailsRequest({ entityCode });\n }\n }\n }, [merchantId]);\n \n // useEffect(()=> {}, [redirect])\n if (!redirect) {\n return <>\n }\n // useEffect(()=> {\n // if (merchantLegalEntityData.redirect) {\n // history.push(merchantLegalEntityData.redirect);\n // }\n \n // return () => actions.removeRedirectKey();\n // }, [merchantLegalEntityData.redirect]);\n\n return (\n \n )\n}\n\n\nconst mapStateToProps = ({ auth, merchantLegalEntityData }) => ({\n auth,\n merchantLegalEntityData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchMerchantLegalEntityDetailsRequest\n },\n dispatch\n ),\n});\n\nexport default withRouter(\n connect(mapStateToProps, mapDispatchToProps)(EditViewMle)\n);\n","import MerchantLegalEntityTable from './MerchantLegalEntityTable';\nimport MerchantLegalEntityMutate from './MerchantLegalEntityMutate';\n\n// Importing Libs\nimport React from 'react';\nimport { Switch, Route, withRouter, useHistory } from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\n\n// Importing styles\nimport './merchantLegalEntity.scss';\nimport Redirection from 'components/Redirection';\nimport CreateMle from './CreateMle';\nimport MleDraftTable from './MleDraftTable';\nimport EditViewMle from './EditViewMle';\n\nconst MerchantLegalEntity = ({ merchantLegalEntityData, auth }) => {\n const { formData, formEvents, uniqueIdentifier } = merchantLegalEntityData;\n // console.log(\"edit data\", editData);\n const history = useHistory();\n\n // Extract 'permissions' directly from 'auth' and 'resourceDetails' objects.\n const {\n resourceDetails: { permissions },\n } = auth;\n\n return (\n \n \n \n \n\n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nMerchantLegalEntity.propTypes = {\n auth: PropTypes.object,\n merchantLegalEntityData: PropTypes.object,\n};\n\nconst mapStateToProps = ({ auth, merchantLegalEntityData }) => ({\n auth,\n merchantLegalEntityData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({}, dispatch),\n});\n\nexport default withRouter(\n connect(mapStateToProps, mapDispatchToProps)(MerchantLegalEntity)\n);\n","import MerchantLegalEntity from './MerchantLegalEntity';\n\nexport default MerchantLegalEntity;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nconst PaymentGatewayCredentialsActions = ({ data, history }) => {\n const handleActionClick = mode => {\n history.push(\n `/payment-gateway-credentials/${mode}/credentials/${data.original.pgMid}`\n );\n };\n return (\n
    \n handleActionClick('edit')}\n />\n handleActionClick('view')}\n />\n
    \n );\n};\nPaymentGatewayCredentialsActions.propTypes = {\n data: PropTypes.object,\n history: PropTypes.object,\n};\n\nexport default PaymentGatewayCredentialsActions;\n","export const FETCH_PAYMENT_GATEWAY_CREDENTIALS_REQUEST =\n 'FETCH_PAYMENT_GATEWAY_CREDENTIALS_REQUEST';\nexport const FETCH_PAYMENT_GATEWAY_CREDENTIALS_SUCCESS =\n 'FETCH_PAYMENT_GATEWAY_CREDENTIALS_SUCCESS';\nexport const FETCH_PAYMENT_GATEWAY_CREDENTIALS_FAILURE =\n 'FETCH_PAYMENT_GATEWAY_CREDENTIALS_FAILURE';\n\nexport const FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_REQUEST =\n 'FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_REQUEST';\nexport const FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_ERROR =\n 'FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_ERROR';\nexport const FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_SUCCESS =\n 'FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_SUCCESS';\n\nexport const GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST =\n 'GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST';\nexport const GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS =\n 'GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS';\nexport const GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR =\n 'GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR';\n\nexport const GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST =\n 'GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST';\nexport const GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS =\n 'GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS';\nexport const GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR =\n 'GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR';\n\nexport const DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST =\n 'DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST';\nexport const DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS =\n 'DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS';\nexport const DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR =\n 'DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR';\n\nexport const CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST =\n 'CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST';\nexport const CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS =\n 'CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS';\nexport const CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR =\n 'CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR';\n\nexport const UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST =\n 'UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST';\nexport const UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS =\n 'UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS';\nexport const UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR =\n 'UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR';\n\nexport const RESET_PAYMENT_GATEWAY_CREDENTIAL_CREATE_FORM =\n 'RESET_PAYMENT_GATEWAY_CREDENTIAL_CREATE_FORM';\n\nexport const RESET_PAYMENT_GATEWAY_CREDENTIAL_EDIT_DATA_ON_CREATE_FORM =\n 'RESET_PAYMENT_GATEWAY_CREDENTIAL_EDIT_DATA_ON_CREATE_FORM';\n\nexport const RESET_PAYMENT_GATEWAY_CREDENTIAL_UPDATE_FORM =\n 'RESET_PAYMENT_GATEWAY_CREDENTIAL_UPDATE_FORM';\n\nexport const SHOW_ROLE_LOADER = 'SHOW_ROLE_LOADER';\nexport const HIDE_ROLE_LOADER = 'HIDE_ROLE_LOADER';\n\nexport const FETCH_FORM_DATA_PRICING_SECTION_REQUEST = 'FETCH_FORM_DATA_PRICING_SECTION_REQUEST';\nexport const FETCH_FORM_DATA_PRICING_SECTION_SUCCESS = 'FETCH_FORM_DATA_PRICING_SECTION_SUCCESS';\nexport const FETCH_FORM_DATA_PRICING_SECTION_FAILED = 'FETCH_FORM_DATA_PRICING_SECTION_FAILED';\n\nexport const CLICKED_CREATE_PAYMENT_CREADENTIAL_FORM = 'CLICKED_CREATE_PAYMENT_CREADENTIAL_FORM';","import {\n FETCH_PAYMENT_GATEWAY_CREDENTIALS_FAILURE,\n FETCH_PAYMENT_GATEWAY_CREDENTIALS_REQUEST,\n FETCH_PAYMENT_GATEWAY_CREDENTIALS_SUCCESS,\n GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS,\n GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR,\n GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS,\n GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR,\n DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS,\n DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR,\n CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST,\n CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS,\n CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR,\n RESET_PAYMENT_GATEWAY_CREDENTIAL_CREATE_FORM,\n RESET_PAYMENT_GATEWAY_CREDENTIAL_EDIT_DATA_ON_CREATE_FORM,\n FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_REQUEST,\n FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_SUCCESS,\n FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_ERROR,\n UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST,\n UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS,\n UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR,\n RESET_PAYMENT_GATEWAY_CREDENTIAL_UPDATE_FORM,\n HIDE_ROLE_LOADER,\n SHOW_ROLE_LOADER,\n FETCH_FORM_DATA_PRICING_SECTION_REQUEST,\n FETCH_FORM_DATA_PRICING_SECTION_FAILED,\n FETCH_FORM_DATA_PRICING_SECTION_SUCCESS,\n CLICKED_CREATE_PAYMENT_CREADENTIAL_FORM\n} from './paymentGatewayCredentials.constants';\n\nexport const fetchPayementGatewayCredentialsRequest = data => ({\n type: FETCH_PAYMENT_GATEWAY_CREDENTIALS_REQUEST,\n payload: data,\n});\n\nexport const fetchPayementGatewayCredentialsSuccess = data => ({\n type: FETCH_PAYMENT_GATEWAY_CREDENTIALS_SUCCESS,\n payload: data,\n});\n\nexport const fetchPayementGatewayCredentialsFailure = error => ({\n type: FETCH_PAYMENT_GATEWAY_CREDENTIALS_FAILURE,\n payload: error,\n});\n\nexport const fetchPaymentGatewayCredentialDataRequest = payload => ({\n type: FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_REQUEST,\n payload,\n});\nexport const fetchPaymentGatewayCredentialDataSuccess = payload => ({\n type: FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_SUCCESS,\n payload,\n});\nexport const fetchPaymentGatewayCredentialDataError = payload => ({\n type: FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_ERROR,\n payload,\n});\n\nexport const generatePaymentGatewayCredentialReportRequest = payload => ({\n type: GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n payload,\n});\nexport const generatePaymentGatewayCredentialReportSuccess = payload => ({\n type: GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS,\n payload,\n});\nexport const generatePaymentGatewayCredentialReportError = payload => ({\n type: GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR,\n payload,\n});\n\nexport const getActivePaymentGatewayCredentialReportRequest = payload => ({\n type: GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n payload,\n});\nexport const getActivePaymentGatewayCredentialReportSuccess = payload => ({\n type: GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS,\n payload,\n});\nexport const getActivePaymentGatewayCredentialReportError = payload => ({\n type: GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR,\n payload,\n});\n\nexport const downloadPaymentGatewayCredentialReportRequest = payload => ({\n type: DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n payload,\n});\nexport const downloadPaymentGatewayCredentialReportSuccess = payload => ({\n type: DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS,\n payload,\n});\nexport const downloadPaymentGatewayCredentialReportError = payload => ({\n type: DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR,\n payload,\n});\n\nexport const resetPaymentGatewayCredentialCreateFormData = payload => ({\n type: RESET_PAYMENT_GATEWAY_CREDENTIAL_CREATE_FORM,\n payload,\n});\n\nexport const resetPaymentGatewayCredentialEditDataOnCreateFormData = payload => ({\n type: RESET_PAYMENT_GATEWAY_CREDENTIAL_EDIT_DATA_ON_CREATE_FORM,\n payload,\n});\n\nexport const resetPaymentGatewayCredentialUpdateFormData = payload => ({\n type: RESET_PAYMENT_GATEWAY_CREDENTIAL_UPDATE_FORM,\n payload,\n});\n\nexport const createPaymentGatewayCredentialStepRequest = (\n payload,\n sectionType,\n formSectionData\n) => ({\n type: CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST,\n payload,\n sectionType,\n formSectionData,\n});\n\nexport const createPaymentGatewayCredentialStepSuccess = (\n payload,\n sectionType,\n requestPayload,\n formSectionData\n) => ({\n type: CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS,\n payload,\n sectionType,\n requestPayload,\n formSectionData,\n});\n\nexport const createPaymentGatewayCredentialStepError = (\n payload,\n sectionType\n) => ({\n type: CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR,\n payload,\n sectionType,\n});\n\nexport const updatePaymentGatewayCredentialStepRequest = (\n payload,\n sectionType,\n formSectionData\n) => ({\n type: UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST,\n payload,\n sectionType,\n formSectionData,\n});\nexport const updatePaymentGatewayCredentialStepSuccess = (\n payload,\n sectionType,\n formSectionData\n) => ({\n type: UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS,\n payload,\n sectionType,\n formSectionData,\n});\nexport const updatePaymentGatewayCredentialStepError = (\n payload,\n sectionType\n) => ({\n type: UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR,\n payload,\n sectionType,\n});\n\nexport const showLoader = () => ({ type: SHOW_ROLE_LOADER });\nexport const hideLoader = () => ({ type: HIDE_ROLE_LOADER });\n\nexport const fetchFormDataPricingSectionRequest = payload => ({\n type: FETCH_FORM_DATA_PRICING_SECTION_REQUEST,\n payload\n});\nexport const fetchFormDataPricingSectionSuccess = payload => ({\n type: FETCH_FORM_DATA_PRICING_SECTION_SUCCESS,\n payload\n});\nexport const fetchFormDataPricingSectionFailed = payload => ({\n type: FETCH_FORM_DATA_PRICING_SECTION_FAILED,\n payload\n});\nexport const clickedCreatePaymentCredentialData = payload => ({\n type: CLICKED_CREATE_PAYMENT_CREADENTIAL_FORM,\n payload\n})","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { change, Field, reduxForm } from 'redux-form';\n\nimport { Alert, FormElems } from 'components';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport { pgCredentialsOnboardingFormValidator } from './validator';\nimport { useHistory } from 'react-router-dom';\nimport { showLoader, hideLoader } from 'redux/common/loader/loader.actions';\nimport { compose } from 'redux';\nimport {\n PAYMENT_GATEWAY_CREDENTIALS_FIELD_MAP,\n PAYMENT_GATEWAY_OPTION,\n} from '../constants';\nimport { toast } from 'react-toastify';\nimport {\n createPaymentGatewayCredentialStepRequest,\n resetPaymentGatewayCredentialCreateFormData,\n resetPaymentGatewayCredentialUpdateFormData,\n updatePaymentGatewayCredentialStepRequest,\n fetchPaymentGatewayCredentialDataRequest\n} from '../redux/paymentGatewayCredentials.actions';\n\nconst ShowPgCode = (isViewMode) => {\n let fieldData = {\n name: 'merchantPGCode',\n label: 'Merchant PG Code',\n placeholder: 'Enter PG Code',\n }\n return (\n <>\n
    \n

    {fieldData.label}

    \n \n
    \n \n)\n}\n\nconst PGCredentialsForm = ({\n handleSubmit,\n staticData,\n isEditMode,\n formData,\n isViewMode,\n actions,\n paymentGatewayCredentialsData,\n nextPath,\n sectionType,\n initialValues,\n formIdentifier,\n}) => {\n const history = useHistory();\n\n const { staticInfo } = staticData;\n const { createFormData, editFormData } = paymentGatewayCredentialsData;\n\n // const isLoading = createFormData.isLoading || editFormData.isLoading || paymentGatewayCredentialsData.isLoading;\n // console.log(\"loding\", isLoading);\n\n const errorMessage =\n createFormData &&\n createFormData.error &&\n createFormData.error.errorMessage;\n\n const [categoryCodeList, setCategoryCodeList] = useState([]);\n\n \n\n\n useEffect(() => {\n console.log(\"okokookkkkk inside pricing form\", isViewMode, \"seperator\", isEditMode);\n if(isEditMode || isViewMode){\n actions.showLoader();\n actions.fetchPaymentGatewayCredentialDataRequest({\n pgMidReferenceId: parseInt(formIdentifier),\n });\n }\n }, []);\n\n useEffect(() => {\n // Listen for changes in paymentGatewayCredentialsData to hide loader on success\n if(isEditMode || isViewMode){\n actions.showLoader();\n }\n if (editFormData.isSuccess) {\n actions.hideLoader(); // Hide loader on successful data fetch\n }\n }, [editFormData.isSuccess]);\n\n useEffect(() => {\n if (initialValues.category && staticInfo && staticInfo.categoryMap) {\n const category = staticInfo.categoryMap.find(\n item =>\n item.name.toLowerCase() ===\n initialValues.category.toLowerCase()\n );\n const options =\n category &&\n category.options.map(item => {\n return { name: item, value: item };\n });\n\n setCategoryCodeList(options);\n }\n }, [initialValues, staticInfo]);\n\n useEffect(() => {\n if (\n createFormData.isSuccess &&\n createFormData.sectionType === sectionType\n ) {\n toast.success('PG Credential request created successfully');\n onNext();\n }\n return () => {\n if (\n createFormData.isSuccess &&\n createFormData.sectionType === sectionType\n ) {\n actions.resetPaymentGatewayCredentialCreateFormData();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [createFormData.isSuccess, createFormData.sectionType]);\n\n useEffect(() => {\n if (\n editFormData.isSuccess &&\n editFormData.sectionType === sectionType\n ) {\n if(!isViewMode){\n toast.success('PG Credential request updated successfully ');\n }\n onNext();\n }\n return () => {\n if (\n editFormData.isSuccess &&\n editFormData.sectionType === sectionType\n ) {\n actions.resetPaymentGatewayCredentialUpdateFormData();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [editFormData.isSuccess, editFormData.sectionType]);\n\n const resetErrors = () => {\n actions.resetPaymentGatewayCredentialCreateFormData();\n };\n\n const onNext = () => {\n console.log(\"inside onNext fun, credentials\", isEditMode, isViewMode);\n if(!isEditMode){\n resetErrors();\n }\n history.push(nextPath);\n };\n\n const onBack = () => {\n history.push('/payment-gateway-credentials');\n };\n\n const handleFormSubmit = values => {\n const request = {\n ...values,\n // TODO: TO BE CHANGED\n subCategory: 'MOCKED_VALUE',\n };\n if (isViewMode) {\n onNext();\n } else if (formIdentifier) {\n request.referenceId = formIdentifier;\n values.actionType = 'create';\n actions.updatePaymentGatewayCredentialStepRequest(\n request,\n sectionType,\n values\n );\n } \n else if (isEditMode) {\n request.referenceId = formIdentifier;\n actions.updatePaymentGatewayCredentialStepRequest(\n request,\n sectionType\n );\n } else {\n actions.createPaymentGatewayCredentialStepRequest(\n request,\n sectionType,\n values\n );\n }\n };\n\n const handleCategorySelect = value => {\n if (staticInfo && staticInfo.categoryMap && value) {\n const category = staticInfo.categoryMap.find(\n item => item.name.toLowerCase() === value.toLowerCase()\n );\n\n const options =\n category &&\n category.options.map(item => {\n return { name: item, value: item };\n });\n\n setCategoryCodeList(options);\n\n // If form is in edit mode, set MCC value based on selected category\n if (isEditMode && formData && formData.values) {\n const mccValue = formData.values.mcc;\n if (!mccValue) {\n actions.change(\n 'pg-credentials-onboarding-form',\n 'mcc',\n options[0]?.value || ''\n );\n }\n }\n }\n };\n\n return (\n \n

    Credential Details

    \n
      \n
    • \n
      \n

      Payment Gateway

      \n \n
      \n
      \n

      PG Category

      \n {\n handleCategorySelect(value);\n actions.change(\n 'pg-credentials-onboarding-form',\n 'mcc',\n ''\n );\n }}\n disabled={isViewMode}\n />\n
      \n
      \n

      Merchant Category Code

      \n \n
      \n
    • \n
    \n {formData && formData.values && formData.values.pgName ? (\n <>\n
    \n
      \n
    • \n {ShowPgCode(isViewMode)}\n {PAYMENT_GATEWAY_CREDENTIALS_FIELD_MAP[\n formData.values.pgName\n ].map((field, index) => {\n return (\n
      \n

      {field.label}

      \n \n
      \n );\n })}\n
    • \n
    \n \n ) : (\n <>\n )}\n {errorMessage ? (\n {errorMessage}\n ) : null}\n
    \n \n \n
    \n \n );\n};\n\nconst FormField = props => {\n const { field, isViewMode, item, index } = props;\n const fieldName = `credentials.${field.name}`;\n if (field.fieldType === 'select') {\n return (\n \n );\n } else if (field.fieldType === 'radio') {\n return (\n \n );\n } else if (field.fieldType === 'checkbox') {\n return (\n \n );\n } else if (field.fieldType === 'switch') {\n return (\n \n );\n } \n console.log(\".....merchant pg code\", field);\n if (field.name === 'merchantPGCode') {\n return ();\n }\n return (\n \n );\n};\nFormField.propTypes = {\n field: PropTypes.object,\n testPrefix: PropTypes.string,\n isViewMode: PropTypes.bool,\n item: PropTypes.string,\n fields: PropTypes.array,\n index: PropTypes.number,\n customFieldOptions: PropTypes.object,\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n staticData,\n paymentGatewayCredentialsData,\n}) => ({\n auth,\n formData: form['pg-credentials-onboarding-form'],\n staticData,\n paymentGatewayCredentialsData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n change,\n showLoader,\n hideLoader,\n createPaymentGatewayCredentialStepRequest,\n resetPaymentGatewayCredentialCreateFormData,\n updatePaymentGatewayCredentialStepRequest,\n resetPaymentGatewayCredentialUpdateFormData,\n fetchPaymentGatewayCredentialDataRequest\n },\n dispatch\n ),\n});\n\nPGCredentialsForm.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n staticData: PropTypes.object,\n handleSubmit: PropTypes.func,\n formData: PropTypes.object,\n change: PropTypes.func,\n paymentGatewayCredentialsData: PropTypes.object,\n};\n\nexport default compose(\n reduxForm({\n form: 'pg-credentials-onboarding-form',\n validate: pgCredentialsOnboardingFormValidator,\n enableReinitialize: true,\n // destroyOnUnmount:true\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(PGCredentialsForm);\n","import { validators } from 'utils/validators';\nimport { PAYMENT_GATEWAY_CREDENTIALS_FIELD_MAP } from '../constants';\nimport { PAYMENT_GATEWAY_ENUM } from '../constants';\nconst pgCredentialsOnboardingFormValidator = values => {\n console.log(values, \"55\");\n const { REQUIRE } = validators;\n let errors = { credentials: {} };\n if (REQUIRE(values.pgName)) {\n errors.pgName = 'PG Name is required';\n }\n if (REQUIRE(values.category)) {\n errors.category = 'Category is required';\n }\n if (REQUIRE(values.mcc)) {\n errors.mcc = 'MCC is required';\n }\n console.log(\"values...##\", values);\n if (!values?.credentials?.merchantPGCode) {\n errors.credentials.merchantPGCode = 'Merchant PG Code is required';\n }\n // if (values.credentials) {\n // if (REQUIRE(values.credentials.merchantPGKey)) {\n // errors.credentials.merchantPGKey = 'Merchant PG Key is required';\n // }\n\n // }\n // else {\n // errors.credentials.merchantPGKey = 'Merchant PG Key is required';\n // }\n return errors;\n};\nconst pgCredentialsPayModeFormValidator = values => {\n console.log(values, \"values in paymode\");\n const errors = {};\n const { REQUIRE } = validators;\n\n // if (values.debitCard && REQUIRE(values.debitCardBusinessSource)) {\n // errors.debitCardBusinessSource = 'Debit Card Business Source is required when Debit Card is selected';\n // }\n // if (values.creditCard && REQUIRE(values.creditCardBusinessSource)) {\n // errors.creditCardBusinessSource = 'Credit Card Business Source is required when Credit Card is selected';\n // }\n //At least one pay mode must be selected\n // if (!values.debitCard &&!values.creditCard &&!values.netbanking &&!values.wallets) {\n // errors.wallets= 'Payment mode details should not be empty';\n // }\n return errors;\n};\nconst pgCredentialsPricingFormValidator = values => {\n const { REQUIRE } = validators;\n const errors = {};\n return errors;\n};\nexport {\n pgCredentialsOnboardingFormValidator,\n pgCredentialsPayModeFormValidator,\n pgCredentialsPricingFormValidator,\n};\n","import React, { useState,useEffect, useMemo } from 'react';\nimport { compose } from 'redux';\nimport { bindActionCreators } from 'redux';\nimport { toast } from 'react-toastify';\nimport PropTypes from 'prop-types';\nimport { change, Field, reduxForm } from 'redux-form';\nimport { useHistory } from 'react-router-dom';\n\nimport {\n createPaymentGatewayCredentialStepRequest,\n resetPaymentGatewayCredentialCreateFormData,\n resetPaymentGatewayCredentialUpdateFormData,\n updatePaymentGatewayCredentialStepRequest,\n fetchPaymentGatewayCredentialDataRequest\n} from '../redux/paymentGatewayCredentials.actions';\n\nimport { fetchPaymentModesRequest } from 'containers/MerchantOnboard/redux/merchantOnBoard.actions';\n\nimport { pgCredentialsPayModeFormValidator } from './validator';\nimport { connect } from 'react-redux';\nimport { capitalize, isEmpty } from 'lodash';\nimport { capitalizeStringWithUnderscores } from 'utils/helperMethods';\nimport { Alert, FormElems } from 'components';\nimport { getPGCredentialPayModeRequestFromValues } from '../constants';\n\nconst getOptions = ({ data, labelField, valueField, isStringArray }) => {\n if (isStringArray) {\n return data.map(item => {\n return {\n name: capitalize(item),\n value: item,\n };\n });\n }\n return data.map(item => {\n return {\n ...item,\n name: item[labelField],\n value: item[valueField],\n };\n });\n};\n\nconst getPayOptions = (paymentModes, payValues) => {\n const formatValues = {\n DEBIT_CARD_OPTIONS: [],\n DEBIT_CARD_BUSINESS_SOURCE_OPTIONS: [],\n CREDIT_CARD_OPTIONS: [],\n CREDIT_CARD_BUSINESS_SOURCE_OPTIONS: [],\n UPI_OPTIONS: [],\n UPI_MANDATE_OPTIONS: [],\n UPI_BUSINESS_SOURCE: [],\n UPI_ACCOUNT_TYPES: [],\n NET_BANKING_OPTIONS: [],\n WALLET_OPTIONS: [],\n };\n if (paymentModes) {\n const {\n debitCards,\n debitCardBusinessSource,\n creditCards,\n creditCardBusinessSource,\n // upi,\n netbanking,\n upiAccountType,\n upiBusinessSource,\n wallets,\n } = paymentModes;\n if (debitCards && !isEmpty(debitCards)) {\n formatValues.DEBIT_CARD_OPTIONS = getOptions({\n data: debitCards,\n labelField: 'subModeNameUI',\n valueField: 'subMode',\n });\n }\n if (debitCardBusinessSource && !isEmpty(debitCardBusinessSource)) {\n formatValues.DEBIT_CARD_BUSINESS_SOURCE_OPTIONS = getOptions({\n data: debitCardBusinessSource,\n isStringArray: true,\n });\n }\n if (creditCards && !isEmpty(creditCards)) {\n formatValues.CREDIT_CARD_OPTIONS = getOptions({\n data: creditCards,\n labelField: 'subModeNameUI',\n valueField: 'subMode',\n });\n }\n if (creditCardBusinessSource && !isEmpty(creditCardBusinessSource)) {\n formatValues.CREDIT_CARD_BUSINESS_SOURCE_OPTIONS = getOptions({\n data: creditCardBusinessSource,\n isStringArray: true,\n });\n }\n if (upiAccountType && !isEmpty(upiAccountType)) {\n const resultObj = {};\n for (const [businessSource, accountTypes] of Object.entries(\n upiAccountType\n )) {\n const formattedAccountTypes = accountTypes.map(type => ({\n accountTypesNameUI: capitalizeStringWithUnderscores(type),\n accountTypesValue: type,\n }));\n resultObj[businessSource] = formattedAccountTypes;\n }\n formatValues.UPI_ACCOUNT_TYPES = !isEmpty(resultObj)\n ? resultObj\n : [];\n }\n // if (upi && !isEmpty(upi)) {\n // formatValues.UPI_OPTIONS = getOptions({\n // data: upi,\n // labelField: 'subModeNameUI',\n // valueField: 'subMode',\n // });\n // formatValues.UPI_MANDATE_OPTIONS = getOptions({\n // data: upi,\n // labelField: 'subModeNameUI',\n // valueField: 'subMode',\n // });\n // }\n // if (upiBusinessSource && !isEmpty(upiBusinessSource)) {\n // formatValues.UPI_BUSINESS_SOURCE = getOptions({\n // data: upiBusinessSource,\n // isStringArray: true,\n // });\n // }\n if (netbanking && !isEmpty(netbanking)) {\n formatValues.NET_BANKING_OPTIONS = getOptions({\n data: netbanking,\n labelField: 'subModeNameUI',\n valueField: 'subMode',\n });\n }\n if (wallets && !isEmpty(wallets)) {\n formatValues.WALLET_OPTIONS = getOptions({\n data: wallets,\n labelField: 'subModeNameUI',\n valueField: 'subMode',\n });\n }\n }\n return formatValues;\n};\n\nconst PGCredentialsModeForm = ({\n handleSubmit,\n merchantData,\n staticData,\n actions,\n isViewMode,\n formData,\n paymentGatewayCredentialsData,\n previousPath,\n nextPath,\n sectionType,\n formIdentifier,\n isEditMode,\n change,\n}) => {\n const history = useHistory();\n console.log('okok creds paymode',\n formData,\n paymentGatewayCredentialsData,\n);\n\n const { paymentModes } = merchantData;\n const { payValues } = staticData;\n const { createFormData, editFormData } = paymentGatewayCredentialsData;\n const [selectAllNetBanking, setSelectAllNetBanking] = useState(false); // state to track \"Select All\" checkbox for Net Banking\n\n const errorMessage =\n createFormData &&\n createFormData.error &&\n createFormData.error.errorMessage;\n\n const memoizedPay = useMemo(() => getPayOptions(paymentModes, payValues), [\n paymentModes,\n payValues,\n ]);\n\n const {\n DEBIT_CARD_OPTIONS,\n DEBIT_CARD_BUSINESS_SOURCE_OPTIONS,\n CREDIT_CARD_OPTIONS,\n CREDIT_CARD_BUSINESS_SOURCE_OPTIONS,\n UPI_OPTIONS,\n UPI_MANDATE_OPTIONS,\n UPI_BUSINESS_SOURCE,\n UPI_ACCOUNT_TYPES,\n NET_BANKING_OPTIONS,\n WALLET_OPTIONS,\n } = memoizedPay;\n\n useEffect(() => {\n if (\n createFormData.isSuccess &&\n createFormData.sectionType === sectionType\n ) {\n toast.success('PG Credential request created successfully');\n onNext();\n }\n return () => {\n if (\n createFormData.isSuccess &&\n createFormData.sectionType === sectionType\n ) {\n resetErrors();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [createFormData.isSuccess, createFormData.sectionType]);\n\n useEffect(() => {\n // console.log(\"editFormData\", editFormData)\n if (\n editFormData.isSuccess &&\n editFormData.sectionType === sectionType\n ) {\n if(!isViewMode){\n toast.success('PG Credential request updated successfully ');\n }\n onNext();\n }\n return () => {\n if (\n editFormData.isSuccess &&\n editFormData.sectionType === sectionType\n ) {\n actions.resetPaymentGatewayCredentialUpdateFormData();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [editFormData.isSuccess, editFormData.sectionType]);\n\n const onNext = () => {\n if(!isEditMode){\n resetErrors();\n }\n history.push(nextPath);\n };\n\n const resetErrors = () => {\n actions.resetPaymentGatewayCredentialCreateFormData();\n };\n\n const onBack = () => {\n history.push(previousPath);\n };\n\n const handleFormSubmit = values => {\n if (!values.debitCard &&!values.creditCard &&!values.netbanking &&!values.wallets) {\n toast.error('Payment mode details should not be empty');\n return;\n }\n const request = getPGCredentialPayModeRequestFromValues({\n values,\n DEBIT_CARD_OPTIONS,\n DEBIT_CARD_BUSINESS_SOURCE_OPTIONS,\n CREDIT_CARD_OPTIONS,\n CREDIT_CARD_BUSINESS_SOURCE_OPTIONS,\n // UPI_OPTIONS,\n // UPI_MANDATE_OPTIONS,\n // UPI_BUSINESS_SOURCE,\n UPI_ACCOUNT_TYPES,\n NET_BANKING_OPTIONS,\n WALLET_OPTIONS,\n isEditMode,\n });\n\n if (request) {\n request.pgMidInfoId = formIdentifier;\n console.log(\"isedir\",isEditMode,request); \n if (isEditMode) {\n request.referenceId = formIdentifier;\n actions.updatePaymentGatewayCredentialStepRequest(\n request,\n sectionType,\n values\n );\n } else {\n actions.createPaymentGatewayCredentialStepRequest(\n request,\n sectionType,\n values\n );\n }\n }\n };\n\n useEffect(() => {\n actions.fetchPaymentModesRequest();\n }, [actions]);\n\n const handleSelectAllNetBanking = () => {\n setSelectAllNetBanking(!selectAllNetBanking);\n if (!selectAllNetBanking) {\n /* If Select All is checked, select all the Net Banking options*/\n change('netbanking', NET_BANKING_OPTIONS.map(option => option.value));\n } else {\n /* If Select All is unchecked, deselect all the Net Banking options*/\n change('netbanking', []);\n }\n};\nuseEffect(() => {\n const netbankingValues = formData?.values?.netbanking || [];\n const allSelected = NET_BANKING_OPTIONS.every(option =>\n netbankingValues.includes(option.value)\n );\n setSelectAllNetBanking(allSelected); // Set the Select All checkbox state accordigly\n}, [formData?.values?.netbanking, NET_BANKING_OPTIONS]);\n\n useEffect(() => {\n if(isEditMode || isViewMode){\n actions.fetchPaymentGatewayCredentialDataRequest({\n pgMidReferenceId: parseInt(formIdentifier),\n });\n }\n }, [actions]);\n return (\n \n

    Payment Mode Details

    \n
      \n
    • \n
      \n

      Debit Card

      \n \n
      \n
      \n

      Debit Card Business Source

      \n \n
      \n
      \n

      Credit Card

      \n \n
      \n
      \n

      Credit Card Business Source

      \n \n
      \n {/*
      \n

      UPI

      \n \n
      \n
      \n

      UPI Mandate Mode

      \n \n
      */}\n {/*
      \n

      UPI Business Source

      \n \n
      */}\n {formData &&\n formData.values &&\n formData.values.upi &&\n formData.values.upi.length > 0 &&\n formData.values.upiBusinessSource &&\n formData.values.upiBusinessSource.length > 0 &&\n formData.values.upiBusinessSource.map(\n businessSource => (\n
      \n

      \n {capitalizeStringWithUnderscores(\n businessSource\n )}{' '}\n Account Types\n

      \n \n
      \n )\n )}\n
    • \n
    • \n
      \n
      \n

      Net Banking

      \n \n \n Select All\n \n
      \n \n
      \n
      \n

      Wallets

      \n \n
      \n
    • \n
    \n {errorMessage ? (\n {errorMessage}\n ) : null}\n
    \n \n \n
    \n \n );\n};\n\nconst mapStateToProps = ({\n auth,\n form,\n staticData,\n paymentGatewayCredentialsData,\n merchantData,\n}) => ({\n auth,\n formData: form['pg-credentials-pay-mode-form'],\n staticData,\n paymentGatewayCredentialsData,\n merchantData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n change,\n createPaymentGatewayCredentialStepRequest,\n resetPaymentGatewayCredentialCreateFormData,\n fetchPaymentModesRequest,\n updatePaymentGatewayCredentialStepRequest,\n resetPaymentGatewayCredentialUpdateFormData,\n fetchPaymentGatewayCredentialDataRequest\n },\n dispatch\n ),\n});\n\nPGCredentialsModeForm.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n staticData: PropTypes.object,\n handleSubmit: PropTypes.func,\n formData: PropTypes.object,\n change: PropTypes.func,\n paymentGatewayCredentialsData: PropTypes.object,\n};\n\nexport default compose(\n reduxForm({\n form: 'pg-credentials-pay-mode-form',\n validate: pgCredentialsPayModeFormValidator,\n enableReinitialize: true,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(PGCredentialsModeForm);\n\n","export const BASIC_FORM_DATA_RESPONSE = () => {\n return {\n data: {\n statusCode: 'SPGM-0000',\n errorMessage: null,\n basicSectionData: {\n feeCriteria: ['MINIMUM', 'MAXIMUM', 'BOTH'],\n accountTypes: [\n 'All Account Types',\n 'CC',\n 'CREDIT_LINE',\n 'SAVINGS_ACCOUNT',\n 'WALLET',\n ],\n schemes: ['AMEX', 'All Schemes', 'DINR', 'MC', 'RPAY', 'VI'],\n PgMidBasicFees: [\n {\n feePercent: 0.0,\n feeFlat: 0.0,\n feeCriteria: 'MINIMUM',\n tax: 18.0,\n currency: 'INR',\n lowerSlab: '2000.0',\n higherSlab: null,\n paymentType: 'DC',\n category: null,\n feeType: null,\n feeEntityId: null,\n cardType: null,\n domesticFlag: 1,\n onUsFlag: false,\n entityType: null,\n accountType: null,\n transactionType: null,\n cardCategory: null,\n },\n {\n feePercent: 0.0,\n feeFlat: 0.0,\n feeCriteria: 'MINIMUM',\n tax: 18.0,\n currency: 'INR',\n lowerSlab: '0.0',\n higherSlab: '2000.0',\n paymentType: 'DC',\n category: null,\n feeType: null,\n feeEntityId: null,\n cardType: null,\n domesticFlag: 1,\n onUsFlag: false,\n entityType: null,\n accountType: null,\n transactionType: null,\n cardCategory: null,\n },\n {\n feePercent: 0.0,\n feeFlat: 0.0,\n feeCriteria: 'MINIMUM',\n tax: 18.0,\n currency: 'INR',\n lowerSlab: '0.0',\n higherSlab: '2000.0',\n paymentType: 'DC',\n category: null,\n feeType: null,\n feeEntityId: null,\n cardType: null,\n domesticFlag: 0,\n onUsFlag: false,\n entityType: null,\n accountType: null,\n transactionType: null,\n cardCategory: null,\n },\n {\n feePercent: 0.0,\n feeFlat: 0.0,\n feeCriteria: 'MINIMUM',\n tax: 18.0,\n currency: 'INR',\n lowerSlab: '2000.0',\n higherSlab: null,\n paymentType: 'DC',\n category: null,\n feeType: null,\n feeEntityId: null,\n cardType: null,\n domesticFlag: 0,\n onUsFlag: false,\n entityType: null,\n accountType: null,\n transactionType: null,\n cardCategory: null,\n },\n {\n feePercent: 0.0,\n feeFlat: 0.0,\n feeCriteria: 'MINIMUM',\n tax: 18.0,\n currency: 'INR',\n lowerSlab: '0.0',\n higherSlab: null,\n paymentType: 'CC',\n category: null,\n feeType: null,\n feeEntityId: null,\n cardType: null,\n domesticFlag: 1,\n onUsFlag: false,\n entityType: null,\n accountType: null,\n transactionType: null,\n cardCategory: null,\n },\n {\n feePercent: 0.0,\n feeFlat: 0.0,\n feeCriteria: 'MINIMUM',\n tax: 18.0,\n currency: 'INR',\n lowerSlab: '0.0',\n higherSlab: null,\n paymentType: 'CC',\n category: null,\n feeType: null,\n feeEntityId: null,\n cardType: null,\n domesticFlag: 0,\n onUsFlag: false,\n entityType: null,\n accountType: null,\n transactionType: null,\n cardCategory: null,\n },\n {\n feePercent: 0.0,\n feeFlat: 0.0,\n feeCriteria: 'MINIMUM',\n tax: 18.0,\n currency: 'INR',\n lowerSlab: '0.0',\n higherSlab: null,\n paymentType: 'NB',\n category: null,\n feeType: null,\n feeEntityId: null,\n cardType: null,\n domesticFlag: 1,\n onUsFlag: false,\n entityType: null,\n accountType: null,\n transactionType: null,\n cardCategory: null,\n },\n ],\n },\n },\n };\n};\n","// PGCredentialsPricingForm\nimport React, { useEffect, useMemo, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { change, Field, FieldArray, reduxForm } from 'redux-form';\nimport { Accordion, Alert, FormElems } from 'components';\nimport { connect } from 'react-redux';\nimport { showLoader, hideLoader } from 'redux/common/loader/loader.actions';\nimport { bindActionCreators } from 'redux';\nimport {\n pgCredentialsOnboardingFormValidator,\n pgCredentialsPricingFormValidator,\n} from './validator';\nimport { fetchPaymentModesRequest } from 'containers/MerchantOnboard/redux/merchantOnBoard.actions';\nimport { useHistory } from 'react-router-dom';\n\nimport { compose } from 'redux';\nimport {\n getLabelValuePG,\n getPGCredentialPricingRequestFromValues,\n getSelectedPayModePGMID,\n getSlabData,\n getSlabDataWithDetails,\n schemensMapp,\n} from '../constants';\nimport { toast } from 'react-toastify';\nimport {\n createPaymentGatewayCredentialStepRequest,\n resetPaymentGatewayCredentialCreateFormData,\n resetPaymentGatewayCredentialUpdateFormData,\n updatePaymentGatewayCredentialStepRequest,\n fetchPaymentGatewayCredentialDataRequest,\n fetchFormDataPricingSectionRequest\n} from '../redux/paymentGatewayCredentials.actions';\nimport {capitalize, isEmpty } from 'lodash';\nimport { capitalizeStringWithUnderscores } from 'utils/helperMethods';\nimport { POST } from 'utils/fetchWrappers';\nimport { API_FETCH_BASIC_DATA } from 'utils/API/apiUrls';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { ERROR_MESSAGES } from 'utils/constants/toastMessages';\nimport { BASIC_FORM_DATA_RESPONSE } from '../mock/basicformdata.res';\nimport { MOCK_API_VALUE } from 'utils/constants/commonValues';\n\nconst BASICFORMDATACONSTANT = 'pgMidSurchargeSection';\n\nconst PGCredentialsPricingForm = ({\n actions,\n isViewMode,\n auth,\n staticData,\n formData,\n handleSubmit,\n paymentGatewayCredentialsData,\n isEditMode,\n sectionType,\n nextPath,\n previousPath,\n formIdentifier,\n initialValues,\n feeConfigList,\n merchantData,\n}) => {\n const history = useHistory();\n\n // console.log(\"fee config list\", feeConfigList);\n // console.log(\"paymentGatewayCredentialsData....\", paymentGatewayCredentialsData);\n\nconst { paymentModes } = merchantData;\nconst { payValues } = staticData;\nconst getOptions = ({ data, labelField, valueField, isStringArray }) => {\n if (isStringArray) {\n return data.map(item => {\n return {\n name: capitalize(item),\n value: item,\n };\n });\n }\n return data.map(item => {\n return {\n ...item,\n name: item[labelField],\n value: item[valueField],\n };\n });\n};\n\nconst [defaultBasicFormData, setDefaultBasicFormData] = useState([]);\nconst getPayOptions = (paymentModes, payValues) => {\n const formatValues = {\n DEBIT_CARD_OPTIONS: [],\n DEBIT_CARD_BUSINESS_SOURCE_OPTIONS: [],\n CREDIT_CARD_OPTIONS: [],\n CREDIT_CARD_BUSINESS_SOURCE_OPTIONS: [],\n UPI_OPTIONS: [],\n UPI_MANDATE_OPTIONS: [],\n UPI_BUSINESS_SOURCE: [],\n UPI_ACCOUNT_TYPES: [],\n NG_OPTIONSNET_BANKI: [],\n WALLET_OPTIONS: [],\n };\n if (paymentModes) {\n const {\n debitCards,\n debitCardBusinessSource,\n creditCards,\n creditCardBusinessSource,\n // upi,\n netbanking,\n upiAccountType,\n upiBusinessSource,\n wallets,\n } = paymentModes;\n if (debitCards && !isEmpty(debitCards)) {\n formatValues.DEBIT_CARD_OPTIONS = getOptions({\n data: debitCards,\n labelField: 'subModeNameUI',\n valueField: 'subMode',\n });\n }\n if (debitCardBusinessSource && !isEmpty(debitCardBusinessSource)) {\n formatValues.DEBIT_CARD_BUSINESS_SOURCE_OPTIONS = getOptions({\n data: debitCardBusinessSource,\n isStringArray: true,\n });\n }\n if (creditCards && !isEmpty(creditCards)) {\n formatValues.CREDIT_CARD_OPTIONS = getOptions({\n data: creditCards,\n labelField: 'subModeNameUI',\n valueField: 'subMode',\n });\n }\n if (creditCardBusinessSource && !isEmpty(creditCardBusinessSource)) {\n formatValues.CREDIT_CARD_BUSINESS_SOURCE_OPTIONS = getOptions({\n data: creditCardBusinessSource,\n isStringArray: true,\n });\n }\n if (upiAccountType && !isEmpty(upiAccountType)) {\n const resultObj = {};\n for (const [businessSource, accountTypes] of Object.entries(\n upiAccountType\n )) {\n const formattedAccountTypes = accountTypes.map(type => ({\n accountTypesNameUI: capitalizeStringWithUnderscores(type),\n accountTypesValue: type,\n }));\n resultObj[businessSource] = formattedAccountTypes;\n }\n formatValues.UPI_ACCOUNT_TYPES = !isEmpty(resultObj)\n ? resultObj\n : [];\n }\n // if (upi && !isEmpty(upi)) {\n // formatValues.UPI_OPTIONS = getOptions({\n // data: upi,\n // labelField: 'subModeNameUI',\n // valueField: 'subMode',\n // });\n // formatValues.UPI_MANDATE_OPTIONS = getOptions({\n // data: upi,\n // labelField: 'subModeNameUI',\n // valueField: 'subMode',\n // });\n // }\n // if (upiBusinessSource && !isEmpty(upiBusinessSource)) {\n // formatValues.UPI_BUSINESS_SOURCE = getOptions({\n // data: upiBusinessSource,\n // isStringArray: true,\n // });\n // }\n if (netbanking && !isEmpty(netbanking)) {\n formatValues.NET_BANKING_OPTIONS = getOptions({\n data: netbanking,\n labelField: 'subModeNameUI',\n valueField: 'subMode',\n });\n }\n if (wallets && !isEmpty(wallets)) {\n formatValues.WALLET_OPTIONS = getOptions({\n data: wallets,\n labelField: 'subModeNameUI',\n valueField: 'subMode',\n });\n }\n }\n return formatValues;\n};\n // const location = useLocation();\n const { staticInfo } = staticData;\n const { createFormData, editFormData } = paymentGatewayCredentialsData;\n // console.log(\"pricing section form\", createFormData, editFormData);\n\n const [paymodeData, setpayModesData] = useState([]);\n const [walletData, setWalletData] = useState([]);\n // useEffect(() => {\n // let req = {};\n // console.log(\"section type\", sectionType);\n // if (!isEditMode && !isViewMode && !pricing_section_initial_data.isSuccess) {\n // req = {\n // entityCode: sectionType,\n // sectionType,\n // };\n // }\n\n // actions.fetchFormDataPricingSectionRequest(req);\n // }, []);\n // console.log(\"pricing_section_initial_data...\", pricing_section_initial_data)\n useEffect(() =>{\n // actions.fetchPaymentGatewayCredentialDataRequest({\n // pgMidReferenceId: parseInt(formIdentifier),\n // });\n if(isEditMode || isViewMode){\n actions.showLoader();\n actions.fetchPaymentGatewayCredentialDataRequest({\n pgMidReferenceId: parseInt(formIdentifier),\n });\n }\n }, [formIdentifier]);\n\n\n useEffect(() => {\n // Listen for changes in paymentGatewayCredentialsData to hide loader on success\n // if(isEditMode || isViewMode){\n // actions.showLoader();\n // }\n // if (editFormData.isSuccess ) {\n // actions.hideLoader(); // Hide loader on successful data fetch\n // }\n }, [editFormData.isSuccess]);\n\n\n useEffect(() => {\n if (\n createFormData.isSuccess &&\n createFormData.sectionType === sectionType\n ) {\n toast.success('PG Credential request created successfully');\n onNext();\n }\n return () => {\n if (\n createFormData.isSuccess &&\n createFormData.sectionType === sectionType\n ) {\n actions.resetPaymentGatewayCredentialCreateFormData();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [createFormData.isSuccess, createFormData.sectionType]);\n\n useEffect(() => {\n if (\n editFormData.isSuccess &&\n editFormData.sectionType === sectionType\n ) {\n if(!isViewMode){\n toast.success('PG Credential request updated successfully');\n }\n onNext();\n }\n return () => {\n if (\n editFormData.isSuccess &&\n editFormData.sectionType === sectionType\n ) {\n actions.resetPaymentGatewayCredentialUpdateFormData();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [editFormData.isSuccess, editFormData.sectionType]);\n\n const basicFormDataCall = async() => {\n try {\n let response = BASIC_FORM_DATA_RESPONSE();\n if (!MOCK_API_VALUE) {\n response = await POST(API_FETCH_BASIC_DATA, {\n sectionType:BASICFORMDATACONSTANT,\n entityCode: BASICFORMDATACONSTANT\n })\n }\n if (response?.data?.statusCode === apiStatusCodes.SUCCESS2) {\n setDefaultBasicFormData(response?.data?.basicSectionData);\n } else {\n toast.error(response?.data?.errorMessage || ERROR_MESSAGES.FALLBACK_ERROR)\n history.push('/payment-gateway-credentials');\n }\n } catch(e) {\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR)\n history.push('/payment-gateway-credentials');\n }\n\n }\n\n // useEffect(() => {\n // console.log(\"set default data basis on pay mode data\", feeConfigList);\n // }, [feeConfigList]);\n\n // console.log(\"default basic section data\", defaultBasicFormData);\n\n useEffect(() => {\n //fetching paymodes data;\n actions.fetchPaymentModesRequest();\n // if (Object.keys(feeConfigList).length) {\n basicFormDataCall();\n\n // }\n\n }, []);\n\n useEffect(() => {\n setpayModesData(merchantData?.paymentModes?.netbanking);\n }, [merchantData?.paymentModes?.netbanking]);\n\n useEffect(() => {\n setWalletData(merchantData?.paymentModes?.wallets);\n }, [merchantData?.paymentModes?.wallets]);\n\n const resetErrors = () => {\n actions.resetPaymentGatewayCredentialCreateFormData();\n };\n\n const onNext = () => {\n if(!isEditMode){\n resetErrors();\n }\n history.push('/payment-gateway-credentials');\n };\n const onBack = () => {\n history.push(previousPath);\n\n };\n const memoizedPay = useMemo(() => getPayOptions(paymentModes, payValues), [\n paymentModes,\n payValues,\n ]);\n const {\n NET_BANKING_OPTIONS,\n } = memoizedPay;\n\n const handleFormSubmit = values => {\n const request = getPGCredentialPricingRequestFromValues({ values ,NET_BANKING_OPTIONS ,isEditMode});\n\n request.pgMerchantDetailId = formIdentifier;\n console.log(\"request\",request);\n\n\n if (isViewMode) {\n onNext()\n }\n else if (isEditMode) {\n actions.updatePaymentGatewayCredentialStepRequest(\n request,\n sectionType\n );\n } else {\n actions.createPaymentGatewayCredentialStepRequest(\n request,\n sectionType\n );\n }\n };\n\n const errorMessage =\n createFormData &&\n createFormData.error &&\n createFormData.error.errorMessage;\n\n\n // useEffect(() => {\n // if(isEditMode || isViewMode){\n // console.log(\"is view,isedit\", isViewMode,isEditMode);\n // actions.fetchPaymentGatewayCredentialDataRequest({\n // pgMidReferenceId: parseInt(formIdentifier),\n // });\n // }\n\n\n // }, [isEditMode, isViewMode, actions]);\n // useEffect(() => {\n // // Always fetch data on component mount\n // if (isEditMode || isViewMode) {\n // console.log(\"Fetching Payment Gateway Credential Data...\");\n // console.log(\"isEditData, is View\", isEditMode, isViewMode);\n // actions.fetchPaymentGatewayCredentialDataRequest({\n // pgMidReferenceId: parseInt(formIdentifier),\n // });\n // }\n // }, [isEditMode, isViewMode, actions]); // Dependencies included to avoid stale references\n\n // console.log(feeConfigList, \"feeConfigList\");\n //\n // if(feeConfigList){\n //\n // }\n\n return (\n \n

    Pricing Details

    \n {errorMessage ? (\n {errorMessage}\n ) : null}\n {feeConfigList &&\n Object.keys(feeConfigList).map((payModeSection, index) => {\n return (\n <>\n \n {payModeSection.length <= 3\n ? payModeSection\n .split('-')\n .join(' ')\n .toUpperCase()\n : payModeSection\n .split('-')\n .join(' ')}\n \n }\n lowerComponent={\n <>\n \n \n }\n />\n \n );\n })}\n
    \n \n \n
    \n \n );\n};\n\nconst renderComponent = ({\n fields,\n meta: { error, submitFailed },\n schemeOptions,\n isViewMode,\n payModeSection,\n payModeSectionData,\n defaultBasicFormData,\n paymodeData,\n walletData\n}) => {\n\n // console.log(\"render compppp\", payModeSectionData, payModeSection, defaultBasicFormData);\n // let isSingleSlab = getSelectedPayModePGMID(payModeSection)?.isSingleSlab;\n // paymentType: 'DC', isSingleSlab: false, isDomestic\n let payModeSectionDetails = {\n paymentType: payModeSectionData?.paymentType || payModeSectionData?.[0]?.paymentType,\n isDomestic: payModeSectionData?.isDomestic || payModeSectionData?.[0]?.isDomestic\n }\n // console.log(\"fields\", fields);\n // console.log(\"default data\", payModeSection, payModeSectionData, payModeSectionDetails, defaultBasicFormData);\n const bankSlabsData = getSlabDataWithDetails(payModeSectionDetails, defaultBasicFormData?.PgMidBasicFees || []);\n const newAddFieldInitialData = {\n bankSlabs: bankSlabsData,\n };\n\n const newAddFieldInitialDataSingleSlab = {\n bankSlabs: getSlabData(payModeSectionData, true),\n };\n\n\n const selectedSchemes = fields.getAll()?.filter(data => {console.log(data); return data.cardType}).map(item => item.cardType) || [];\n\n // console.log(\"selected schemes\", payModeSectionData);\n\n const filteredSchemeOptions = schemeOptions && schemeOptions.filter(\n options => !selectedSchemes.includes(options.value)\n )\n\n const selectedScheme = index => {\n const data = fields.getAll();\n const selectedCardType = data[index].cardType;\n if (selectedCardType && index !== 0) {\n const selectedOption = schemeOptions.find(\n option => option.value === selectedCardType\n );\n return [selectedOption];\n }\n return [];\n };\n\n // if (fields.length <= 0) {\n // fields.push(\n // ['NB', 'UPI', 'WALLET'].includes(payModeSectionData.paymentType)\n // ? newAddFieldInitialDataSingleSlab\n // : newAddFieldInitialData\n // );\n // }\n\n const selectOptioNmapData = (propPayModeData) => {\n let transformedData = propPayModeData && propPayModeData\n .map(item => {\n const subModeName = item.subModeNameUI;\n if (subModeName) {\n return {\n label: subModeName,\n value: subModeName.replace(/\\s+/g, '-') + '-' + subModeName\n };\n }\n return null; // or an empty object if preferred\n })\n .filter(item => item !== null);\n\n\n return transformedData;\n }\n\n const networkData = (fieldType, selectedCardTypes, index) => {\n let selectedType = fields?.get(index)?.cardType;\n // console.log(fieldType, selectedCardTypes, index, \"SETTED\", fields.get(index).cardType);\n if (fieldType === 'Domestic-Credit-Card' || fieldType === 'Domestic-Debit-Card' || fieldType === 'Foreign-Credit-Card' || fieldType === 'Foreign-Debit-Card') {\n // console.log(\",,s,\", defaultBasicFormData?.schemes);\n if (defaultBasicFormData?.schemes) {\n return defaultBasicFormData?.schemes?.filter((item) => schemensMapp(item))\n ?.filter((item) => {\n return !selectedCardTypes.includes(item) || item === selectedType;\n })\n .map(item => {\n return {\n value: item,\n label: schemensMapp(item)\n }\n });\n } else {\n return [{\n label: \"\",\n value: \"\"\n }]\n }\n }\n\n if (fieldType === 'Net-Banking') {\n console.log(\"Net-Banking data here\", paymodeData);\n return paymodeData && paymodeData\n .filter((item) => {\n return !selectedCardTypes.includes(item.subMode) || item.subMode === selectedType;\n })\n .map(item => {\n const subModeName = item.subModeNameUI;\n if (subModeName) {\n return {\n label: subModeName,\n value: item.subMode\n };\n }\n return null;\n })\n .filter(item => item !== null);\n }\n\n if (fieldType === 'Wallets') {\n console.log(\"Wallets data here\", walletData);\n let transformedData;\n\n if(walletData?.length > 0){\n transformedData = walletData\n .filter((item) => {\n // console.log(item);\n const subModeName = item.subModeNameUI;\n const value= subModeName;\n return !selectedCardTypes.includes(value) || value === selectedType;\n })\n .map(item => {\n const subModeName = item.subModeNameUI;\n if (subModeName) {\n return {\n label: subModeName,\n value: subModeName\n };\n }\n return null;\n })\n .filter(item => item !== null);\n }\n else {\n transformedData = []\n }\n return transformedData;\n }\n\n return [];\n }\n\n const selectedCardTypes = fields.getAll().map(item => item.cardType);\n\n console.log(fields.getAll(), \"fields.getAll()\");\n\n return (\n\n <>\n {fields.map((item, index) => {\n return (\n <>\n
    \n \n {index > 0 ? (\n fields.remove(index)}\n />\n ) : (\n {\n let slabData = newAddFieldInitialData;\n console.log('Slab data... while add', slabData);\n if (slabData?.bankSlabs?.length) {\n fields.push({ ...slabData });\n } else {\n toast.info('No data is configured for the item.');\n }\n }\n }\n />\n )}\n
    \n
      \n \n
    \n \n );\n })}\n \n );\n};\nrenderComponent.propTypes = {\n fields: PropTypes.object.isRequired,\n meta: PropTypes.object,\n sectionData: PropTypes.object,\n schemeOptions: PropTypes.array,\n isViewMode: PropTypes.bool,\n};\n// card slabs\nconst renderSurchargeSlabItems = ({\n fields,\n meta: { error, submitFailed },\n isViewMode,\n payModeSection,\n defaultBasicFormData\n}) => {\n // const section = sectionData.length > 0 ? sectionData : [];\n // eslint-disable-next-line react/prop-types\n\n const section = fields.getAll();\n // console.log('section slab all', payModeSection, section);\n // if lower slab <=2000 and higherslab is null\n const noSlab =\n section &&\n section.find(item => {\n return (\n item.lowerSlab !== null &&\n item.lowerSlab < 2000 &&\n !item.higherSlab\n );\n });\n // console.log(\"no slab\", noSlab);\n const cardTitle = title => {\n if(typeof title === 'string') {\n return title;\n }\n if (title === 1) {\n return 'SURCHARGE';\n }else if (title === 0) {\n return 'MDR';\n }\n return '';\n };\n const tiles = (item, index) => {\n return (\n
  • \n
    \n
    \n {cardTitle(section[index]?.feeType)}\n
    \n
    \n
    \n
    \n

    Percent

    \n \n
    \n
    \n

    Flat

    \n \n
    \n
    \n

    Criteria

    \n \n
    \n
    \n

    Tax

    \n \n
    \n
    \n
  • \n );\n };\n const renderSlabs = () => {\n // get left slabs\n const leftSlab = fields.map((item, index) => {\n console.log(\"leftslabbb\", item)\n if (\n section[index].higherSlab &&\n section[index].higherSlab <= 2000\n ) {\n return tiles(item, index);\n }\n });\n // get right slabs\n const rightSlab = fields.map((item, index) => {\n console.log(\"rightslabbb\", item)\n if (section[index].lowerSlab && section[index].lowerSlab >= 2000) {\n return tiles(item, index);\n }\n });\n if(payModeSection == 'Domestic-Credit-Card' || payModeSection == 'Foreign-Credit-Card' || payModeSection == 'Net-Banking' || payModeSection == 'Wallets'){\n return (\n <>\n
      \n {leftSlab}\n
    \n \n );\n }\n else{\n return (\n <>\n
      \n
      Slab - Upto 2000
      \n {leftSlab}\n
    \n
      \n

      Slab - Above 2000

      \n {rightSlab}\n
    \n \n );\n }\n };\n if (noSlab) {\n return fields.map((item, index) => {\n return tiles(item, index);\n });\n }\n return
    {renderSlabs()}
    ;\n};\nrenderSurchargeSlabItems.propTypes = {\n fields: PropTypes.object.isRequired,\n meta: PropTypes.object,\n sectionData: PropTypes.object,\n schemeOptions: PropTypes.array,\n isViewMode: PropTypes.bool,\n};\n\nconst mapStateToProps = ({\n merchantData,\n auth,\n form,\n staticData,\n paymentGatewayCredentialsData,\n}) => ({\n merchantData,\n auth,\n formData: form['pg-credentials-pricing-form'],\n staticData,\n paymentGatewayCredentialsData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n change,\n createPaymentGatewayCredentialStepRequest,\n resetPaymentGatewayCredentialCreateFormData,\n updatePaymentGatewayCredentialStepRequest,\n resetPaymentGatewayCredentialUpdateFormData,\n fetchPaymentGatewayCredentialDataRequest,\n showLoader,\n hideLoader,\n fetchPaymentModesRequest,\n fetchFormDataPricingSectionRequest\n },\n dispatch\n ),\n});\n\nPGCredentialsPricingForm.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n staticData: PropTypes.object,\n handleSubmit: PropTypes.func,\n formData: PropTypes.object,\n change: PropTypes.func,\n paymentGatewayCredentialsData: PropTypes.object,\n merchantData: PropTypes.object,\n};\n\nexport default compose(\n reduxForm({\n form: 'pg-credentials-pricing-form',\n validate: pgCredentialsPricingFormValidator,\n enableReinitialize: true,\n }),\n connect(mapStateToProps, mapDispatchToProps)\n)(PGCredentialsPricingForm);\n","import React from 'react';\n\nimport PGCredentialsForm from './components/PGCredentialsForm';\nimport PGCredentialsModeForm from './components/PGCredentialsModeForm';\nimport PGCredentialsPricingForm from './components/PGCredentialsPricingForm';\nimport { getTimelineStatus } from 'utils/helperMethods';\nimport { toast } from 'react-toastify';\nimport { capitalize } from 'lodash';\nimport view_icon from \"../../static/images/View.png\";\nimport hide_icon from \"../../static/images/hide.png\";\n\nexport const PAYMENT_GATEWAY_ENUM = {\n PAYU: 'payu',\n CYBS: 'cybs',\n MIGS: 'migs',\n CCA: 'cca',\n HDFC: 'hdfc',\n BDK: 'bdk',\n FISERV: 'fiserv',\n MPGS: 'mpgs',\n};\n\nexport const PAYMENT_GATEWAY_OPTION = [\n { value: PAYMENT_GATEWAY_ENUM.PAYU, name: 'PayU' },\n { value: PAYMENT_GATEWAY_ENUM.CYBS, name: 'CyberSource' },\n { value: PAYMENT_GATEWAY_ENUM.MIGS, name: 'MIGS' },\n { value: PAYMENT_GATEWAY_ENUM.CCA, name: 'ccavenue' },\n { value: PAYMENT_GATEWAY_ENUM.HDFC, name: 'HDFC' },\n { value: PAYMENT_GATEWAY_ENUM.BDK, name: 'BDK' },\n { value: PAYMENT_GATEWAY_ENUM.FISERV, name: 'Fiserv' },\n { value: PAYMENT_GATEWAY_ENUM.MPGS, name: 'MPGS' },\n];\n\nexport const PAYMENT_GATEWAY_CREDENTIALS_FIELD_MAP = {\n [PAYMENT_GATEWAY_ENUM.CCA]: [\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Security Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n ],\n [PAYMENT_GATEWAY_ENUM.CYBS]: [\n {\n fieldType: 'input',\n label: 'Username',\n name: 'username',\n props: {\n placeholder: 'Enter Username',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'SOAP Key',\n name: 'soapKey',\n props: {\n placeholder: 'Enter SOAP',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Security Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n ],\n [PAYMENT_GATEWAY_ENUM.MIGS]: [\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Security Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n {\n fieldType: 'input',\n label: 'Username',\n name: 'username',\n props: {\n placeholder: 'Enter Username',\n type: 'text',\n },\n },\n {\n fieldType: 'input',\n label: 'Password',\n name: 'password',\n props: {\n placeholder: 'Enter Password',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon\n },\n },\n ],\n [PAYMENT_GATEWAY_ENUM.PAYU]: [\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n ],\n [PAYMENT_GATEWAY_ENUM.HDFC]: [\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n {\n fieldType: 'input',\n label: 'Encryption Key',\n name: 'encryptionKey',\n props: {\n placeholder: 'Enter Encryption Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n ],\n [PAYMENT_GATEWAY_ENUM.BDK]: [\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Security Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter PG Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n ],\n [PAYMENT_GATEWAY_ENUM.FISERV]: [\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Merchant Security Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter Merchant PG Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n ],\n [PAYMENT_GATEWAY_ENUM.MPGS]: [\n {\n fieldType: 'input',\n label: 'Security Key',\n name: 'merchantPGSecurityKey',\n props: {\n placeholder: 'Enter Merchant Security Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon\n },\n },\n {\n fieldType: 'input',\n label: 'Merchant PG Key',\n name: 'merchantPGKey',\n props: {\n placeholder: 'Enter Merchant PG Key',\n type: 'password',\n showPasswordIconUrl: view_icon,\n hidePasswordIconUrl: hide_icon,\n },\n },\n ],\n};\n\nexport const SECTION_TYPE_TO_URL_MAP = {\n credentialSection: 'mid',\n paymodeSection: 'payMode',\n pricingSection: 'feeConfig',\n};\n\nconst baseUrl = '/payment-gateway-credentials/create/';\nconst baseUrlEdit = '/payment-gateway-credentials/edit/';\nconst baseUrlView = '/payment-gateway-credentials/view/';\n\nexport const onboardingProcessPG = (draftData, routePath) => {\n\n // console.log(\"ok here is draft data\", draftData);\n const PAYMENT_GATEWAY_CREDENTIALS_TIMELINE_STEPS = [\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Credentials',\n sectionType: 'credentialSection',\n nextPath: `${baseUrl}pay-mode`,\n path: `${baseUrl}credentials`,\n previousPath: '/payment-gateway-credentials',\n isEditableComp: false,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'credentialSection',\n `${baseUrl}credentials`\n ),\n tabId: 1,\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n\n return (\n \n );\n },\n name: 'Payment Mode',\n sectionType: 'paymodeSection',\n nextPath: `${baseUrl}pricing`,\n isEditableComp: false,\n path: `${baseUrl}pay-mode`,\n previousPath: `${baseUrl}credentials`,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'paymodeSection',\n `${baseUrl}pay-mode`\n ),\n tabId: 2,\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n // for creating a PG Credentials\n const { draftData } = props;\n // console.log(\"inside constants\", draftData);\n let feeConfigListData = {};\n\n if (draftData?.data?.feeConfigList) {\n Object.keys(draftData?.data?.feeConfigList).map(item => {\n if (!draftData?.data?.feeConfigList?.[item]?.length) {\n feeConfigListData[item] = [\n draftData?.data?.feeConfigList[item],\n ];\n } else {\n feeConfigListData[item] = draftData?.data?.feeConfigList[item];\n }\n });\n }\n\n return (\n \n );\n },\n name: 'Pricing',\n sectionType: 'pricingSection',\n nextPath: null,\n isEditableComp: false,\n path: `${baseUrl}pricing`,\n previousPath: `${baseUrl}pay-mode`,\n status: getTimelineStatus(\n draftData,\n routePath,\n 'pricingSection',\n `${baseUrl}pricing`\n ),\n tabId: 3,\n },\n ];\n return PAYMENT_GATEWAY_CREDENTIALS_TIMELINE_STEPS;\n};\n\nexport const onboardingProcessPGEdit = (isViewMode, credentialId, draftData) => {\n const PAYMENT_GATEWAY_CREDENTIALS_TIMELINE_STEPS = [\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n return (\n \n );\n },\n name: 'Credentials',\n isViewMode: isViewMode,\n sectionType: 'credentialSection',\n isEditableComp: true,\n previousPath: '/payment-gateway-credentials',\n path: `${isViewMode ? baseUrlView : baseUrlEdit\n }credentials/${credentialId}`,\n nextPath: `${isViewMode ? baseUrlView : baseUrlEdit\n }pay-mode/${credentialId}`,\n status: (draftData.length) ? 'Complete' : 'Pending',\n tabId: 1\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n const { draftData } = props;\n\n return (\n \n );\n },\n name: 'Payment Mode',\n sectionType: 'paymodeSection',\n isEditableComp: true,\n isViewMode: isViewMode,\n previousPath: `${isViewMode ? baseUrlView : baseUrlEdit\n }credentials/${credentialId}`,\n path: `${isViewMode ? baseUrlView : baseUrlEdit\n }pay-mode/${credentialId}`,\n nextPath: `${isViewMode ? baseUrlView : baseUrlEdit\n }pricing/${credentialId}`,\n status: (draftData.length > 1) ? 'Complete' : 'Pending',\n tabId: 2,\n },\n {\n component(props) {\n // eslint-disable-next-line react/prop-types\n // for editing the PG categories\n const { draftData } = props;\n let feeConfigListData = {};\n\n console.log(draftData, \"DRAFT DATA --\")\n\n if (draftData?.data?.feeConfigList) {\n Object.keys(draftData?.data?.feeConfigList).map(item => {\n if (!draftData?.data?.feeConfigList?.[item]?.length) {\n feeConfigListData[item] = [\n draftData?.data?.feeConfigList[item],\n ];\n } else {\n feeConfigListData[item] = draftData?.data?.feeConfigList[item];\n }\n });\n }\n\n return (\n \n );\n },\n name: 'Pricing',\n sectionType: 'pricingSection',\n isEditableComp: true,\n previousPath: `${isViewMode ? baseUrlView : baseUrlEdit\n }pay-mode/${credentialId}`,\n path: `${isViewMode ? baseUrlView : baseUrlEdit\n }pricing/${credentialId}`,\n nextPath: null,\n status: (draftData.length > 2) ? 'Complete' : 'Pending',\n tabId: 3,\n },\n ];\n return PAYMENT_GATEWAY_CREDENTIALS_TIMELINE_STEPS;\n};\n\nexport const getPGCredentialPayModeRequestFromValues = ({\n values,\n DEBIT_CARD_OPTIONS,\n CREDIT_CARD_OPTIONS,\n UPI_OPTIONS,\n UPI_MANDATE_OPTIONS,\n NET_BANKING_OPTIONS,\n WALLET_OPTIONS,\n isEditMode,\n}) => {\n const selectedCreditCards = values.creditCard || [];\n const selectedDebitCards = values.debitCard || [];\n const selectedNetBanking = values.netbanking || [];\n const selectedUPIOptions = values.upi;\n const selectedMandateUpi = values.mandateUpi || [];\n const selectedWalletList = values.wallets || [];\n if (\n values.upi &&\n values.upi.length > 0 &&\n values.upiBusinessSource &&\n values.upiBusinessSource.length <= 0\n ) {\n toast.error('Please select at least one UPI Business Source');\n return;\n }\n if (\n values.upi &&\n values.upi.length > 0 &&\n values.upiBusinessSource &&\n values.upiBusinessSource.length > 0\n ) {\n let isValidAccountType = true;\n let emptyBusinessSource = '';\n values.upiBusinessSource.forEach(\n (businessSource, businessSourceIndex) => {\n if (\n !values[`upiAccountTypes-${businessSource}`] ||\n values[`upiAccountTypes-${businessSource}`].length <= 0\n ) {\n isValidAccountType = false;\n emptyBusinessSource = businessSource;\n }\n }\n );\n if (isValidAccountType === false) {\n toast.error(\n `Please select at least one account type for ${capitalize(\n emptyBusinessSource\n )} sources`\n );\n return;\n }\n }\n const creditCardOptions = CREDIT_CARD_OPTIONS.filter(mode =>\n selectedCreditCards.includes(mode.subMode)\n ).map(mode => ({\n paymentType: mode.paymentType,\n paymentModeInfo: mode.subMode,\n txnConfig: values.creditCardBusinessSource?.map(businessSource => {\n return { businessSource };\n }),\n }));\n\n // const upiOptions = UPI_OPTIONS?.filter(mode =>\n // selectedUPIOptions?.includes(mode.subMode)\n // )?.map(mode => ({\n // paymentType: mode.paymentType,\n // paymentModeInfo: mode.subMode,\n // paymentSubModeInfo: values.vpa,\n // txnConfig: values.upiBusinessSource?.map(businessSource => {\n // return {\n // businessSource,\n // accountType: values[`upiAccountTypes-${businessSource}`],\n // };\n // }),\n // }));\n // const mandateUPIOptions = UPI_MANDATE_OPTIONS.filter(\n // mode =>\n // selectedMandateUpi.includes(mode.subMode) &&\n // selectedUPIOptions.includes(mode.subMode)\n // ).map(mode => ({\n // paymentType: mode.paymentType,\n // paymentModeInfo: mode.subMode,\n // category: 'MANDATE',\n // paymentSubModeInfo: values.vpa,\n // txnConfig: values.upiBusinessSource?.map(businessSource => {\n // return {\n // businessSource,\n // accountType: values[`upiAccountTypes-${businessSource}`],\n // };\n // }),\n // }));\n const debitCardOptions = DEBIT_CARD_OPTIONS.filter(mode =>\n selectedDebitCards.includes(mode.subMode)\n ).map(mode => ({\n paymentType: mode.paymentType,\n paymentModeInfo: mode.subMode,\n txnConfig: values.debitCardBusinessSource?.map(businessSource => {\n return { businessSource };\n }),\n }));\n const netBankingOptions = NET_BANKING_OPTIONS.filter(mode =>\n selectedNetBanking.includes(mode.subMode)\n ).map(mode => ({\n paymentType: mode.paymentType,\n paymentModeInfo: mode.subMode,\n issuerId : mode.subMode,\n txnConfig: [\n {\n businessSource: 'DOMESTIC',\n },\n ],\n }));\n const walletsOptions = WALLET_OPTIONS.filter(mode =>\n selectedWalletList.includes(mode.subMode)\n ).map(mode => ({\n paymentType: mode.paymentType,\n paymentModeInfo: mode.subMode,\n txnConfig: [\n {\n businessSource: 'DOMESTIC',\n },\n ],\n }));\n let request;\n if (isEditMode) {\n request = {\n paymentModeDetails: [\n ...creditCardOptions,\n ...debitCardOptions,\n ...netBankingOptions,\n ...walletsOptions\n // ...upiOptions,\n // ...mandateUPIOptions,\n ],\n };\n } else {\n request = {\n paymentModeSection: {\n paymentModeDetails: [\n ...creditCardOptions,\n ...debitCardOptions,\n ...netBankingOptions,\n ...walletsOptions\n // ...upiOptions,\n // ...mandateUPIOptions,\n ],\n },\n };\n }\n return request;\n};\n\nexport const getSlabDataWithDetails = (modeDetails, basicDetails) => {\n // console.log(\"detail .......,,,,,,\", modeDetails, basicDetails);\n const defaultVals = {\n transactionType: 'PAY',\n };\n let isDomestic = modeDetails.isDomestic ? 1 : 0;\n return basicDetails.filter(item => {\n // console.log(\"modeDetails.paymentType...\", item.domesticFlag, item.paymentType, isDomestic, modeDetails.paymentType)\n return modeDetails.paymentType === item.paymentType &&\n isDomestic == item.domesticFlag\n }).map(item => ({...item, ...defaultVals}));\n}\n\nexport const getSlabData = (modeDetails, isSingle) => {\n // console.log(\"modeDetails....\", modeDetails, isSingle);\n if (isSingle) {\n return [\n {\n feePercent: 0,\n feeFlat: 0,\n feeCriteria: 'MAXIMUM',\n tax: 18,\n currency: 'INR',\n lowerSlab: '0.0',\n higherSlab: null,\n paymentType: modeDetails.paymentType,\n category: null,\n feeType: 'MDR', // now this Feetype will populate in slabs \n feeEntityId: null,\n cardType: 'all',\n domesticFlag: 0, // this should change in case of NB\n onUsFlag: false,\n accountType: null,\n entityType: 'AGGREGATOR',\n transactionType: 'PAY',\n type: 'MDR', //previously this type populate in case of pgmid creation\n },\n ];\n } else {\n return [\n {\n feePercent: 0,\n feeFlat: 0,\n feeCriteria: 'MAXIMUM',\n tax: 18,\n currency: 'INR',\n lowerSlab: '0.0',\n higherSlab: '2000.0',\n entityType: 'AGGREGATOR',\n paymentType: modeDetails.paymentType,\n category: null,\n feeType: 0,\n feeEntityId: null,\n cardType: 'all',\n domesticFlag: (modeDetails?.[0]?.isDomestic || modeDetails.isDomestic) ? 1 : 0,\n onUsFlag: false,\n accountType: null,\n transactionType: 'PAY',\n type: 'MDR',\n },\n {\n feePercent: 0,\n feeFlat: 0,\n feeCriteria: 'MAXIMUM',\n tax: 18,\n currency: 'INR',\n lowerSlab: '2000.0',\n higherSlab: null,\n entityType: 'AGGREGATOR',\n paymentType: modeDetails.paymentType,\n category: null,\n feeType: 0,\n feeEntityId: null,\n cardType: 'all',\n domesticFlag: (modeDetails?.[0]?.isDomestic || modeDetails.isDomestic) ? 1 : 0,\n onUsFlag: false,\n transactionType: 'PAY',\n type: 'MDR',\n },\n ];\n }\n};\n\n// export const getPGCredentialPricingRequestFromValues = ({ values ,NET_BANKING_OPTIONS, isEditMode}) => {\n// let feeConfigList = [];\n// const NETBANKINGSECTION = 'Net-Banking';\n// console.log(\"values net banking\", values);\n// const selectedNetBanking = values[NETBANKINGSECTION] || [];\n// console.log(\"select net banking\", selectedNetBanking);\n// delete values.feeConfigList;\n// const sections = Object.keys(values);\n// let netBankingOptions = {};\n\n// netBankingOptions = NET_BANKING_OPTIONS.map(mode => {\n// // console.log(\"mode\", mode);\n// selectedNetBanking.map(item => {\n// console.log(\"mode\", mode);\n// console.log(\"item card type\", item.cardType);\n// if (item?.cardType?.includes(mode?.name)) {\n// netBankingOptions[item.cardType] = mode.subMode;\n// }\n// })\n// }\n// );\n// sections.forEach(section => {\n// let sectionData = values[section];\n// if (section === NETBANKINGSECTION) {\n\n// }\n// sectionData.forEach(feeCategoryInfo => {\n// console.log(\"feeCategory\", feeCategoryInfo);\n\n// feeCategoryInfo.bankSlabs.forEach(bankSlab => {\n// const updatedBankSlab = { ...bankSlab };\n// console.log(\"updatedBankSlab\", updatedBankSlab);\n// const feeType = updatedBankSlab.feeType;\n// updatedBankSlab.issuer =feeCategoryInfo.issuerId === 'all'? null: feeCategoryInfo.issuerId;\n// if (feeCategoryInfo.cardType && netBankingOptions[feeCategoryInfo.cardType]) {\n// updatedBankSlab.issuer = netBankingOptions[feeCategoryInfo.cardType];\n// }\n// updatedBankSlab.feeType = 1;\n// updatedBankSlab.cardType =\n// updatedBankSlab.cardType === 'all'\n// ? null\n// : updatedBankSlab.cardType;\n// updatedBankSlab.slabs = [\n// {\n// lowerSlab: updatedBankSlab.lowerSlab,\n// upperSlab: updatedBankSlab.higherSlab,\n// },\n// ];\n// delete updatedBankSlab.higherSlab;\n// delete updatedBankSlab.lowerSlab;\n// delete updatedBankSlab.issuerId;\n// const updatedField = {\n// feeType: feeType,\n// paymentOption: updatedBankSlab,\n// };\n// feeConfigList = [...feeConfigList, updatedField];\n// });\n// });\n// });\n// console.log(\"is edit mode\", isEditMode, netBankingOptions, feeConfigList)\n// let request;\n// if (isEditMode) {\n// request = {\n// feeConfigList: [\n// ...netBankingOptions,\n// ...feeConfigList,\n// ],\n// };\n// } else {\n// request = {\n// feeConfigList: {\n// feeConfigList: [\n// ...netBankingOptions,\n// ...feeConfigList,\n// ],\n// },\n// };\n// }\n// return request;\n// };\n\n\nexport const getPGCredentialPricingRequestFromValues = ({ values, NET_BANKING_OPTIONS, isEditMode }) => {\n let feeConfigList = [];\n const NETBANKINGSECTION = 'Net-Banking';\n const WALLETSECTION = 'Wallets';\n console.log(\"values net banking\", values);\n const selectedNetBanking = values[NETBANKINGSECTION] || [];\n // console.log(\"select net banking\", selectedNetBanking);\n delete values.feeConfigList;\n const sections = Object.keys(values);\n let netBankingOptions = {};\n\n // Creste a map of net banking options (name, subMode)\n const netBankingMap = {};\n\n NET_BANKING_OPTIONS.map(mode => {\n // console.log(\"mode\", mode);\n\n selectedNetBanking.map(item => {\n\n // console.log(\"mode\", mode);\n // console.log(\"item card type\", item.cardType);\n if (item?.cardType?.includes(mode?.name)) {\n const type= mode.paymentType;\n // console.log(\"type\", type);\n netBankingMap[item.cardType] = mode.subMode;\n }\n });\n });\n console.log(\"netbanking option map\", netBankingOptions);\n\n sections.forEach(section => {\n let sectionData = values[section];\n\n (sectionData ?? []).forEach(feeCategoryInfo => {\n // console.log(\"feeCategory\", feeCategoryInfo);\n let cardType = feeCategoryInfo.cardType;\n (feeCategoryInfo?.bankSlabs ?? []).forEach(bankSlab => {\n const updatedBankSlab = { ...bankSlab };\n // console.log(\"updatedBankSlab\", updatedBankSlab);\n updatedBankSlab.feeType = 0;\n const feeType = updatedBankSlab.feeType;\n updatedBankSlab.feeEntityType = 'PG';\n // updatedBankSlab.issuer = feeCategoryInfo.issuerId === 'all' ? null : feeCategoryInfo.issuerId;\n // console.log(\"feecategoryinfo\", feeCategoryInfo);\n // console.log(\"selectedNetbanking\", selectedNetBanking);\n\n\n // if (section === NETBANKINGSECTION && feeCategoryInfo.cardType && netBankingMap[feeCategoryInfo.cardType]) {\n // console.log(\"feeCategory card type\", feeCategoryInfo.cardType);\n // console.log(\"selected NetBaning \",selectedNetBanking[1].cardType);\n // // console.log(\"netBanking map mode\", netBankingMap[cardType]);\n // updatedBankSlab.issuer = netBankingMap[feeCategoryInfo.cardType];\n // updatedBankSlab.paymentType = NET_BANKING_OPTIONS.find(mode => feeCategoryInfo.cardType.includes(mode.name))?.paymentType || null;\n // console.log(\"issuer\", updatedBankSlab.issuer);\n // console.log(\"paymentType\", updatedBankSlab.paymentType);\n // }\n\n if (cardType) {\n updatedBankSlab.cardType = cardType;\n }\n\n updatedBankSlab.cardType =\n updatedBankSlab.cardType === 'all'\n ? null\n : updatedBankSlab.cardType;\n\n if (section === NETBANKINGSECTION || section === WALLETSECTION) {\n updatedBankSlab.issuer = updatedBankSlab.cardType;\n updatedBankSlab.cardType = null;\n }\n updatedBankSlab.slabs = [\n {\n lowerSlab: updatedBankSlab.lowerSlab,\n upperSlab: updatedBankSlab.higherSlab,\n },\n ];\n updatedBankSlab.domesticFlag = getSelectedPayModePGMID(section).isDomestic ? 1 : 0;\n updatedBankSlab.paymentType = getSelectedPayModePGMID(section).paymentType;\n delete updatedBankSlab.higherSlab;\n delete updatedBankSlab.lowerSlab;\n delete updatedBankSlab.issuerId;\n const updatedField = {\n feeType:feeType,\n paymentOption: updatedBankSlab, \n };\n feeConfigList = [...feeConfigList, updatedField];\n });\n });\n });\n console.log(\"is edit mode\", isEditMode, netBankingOptions, feeConfigList);\n let request;\n if (isEditMode) {\n request = {\n feeConfigList: [\n // ...netBankingOptions,\n ...feeConfigList,\n ],\n };\n } else {\n request = {\n feeConfigList: [\n // ...netBankingOptions,\n ...feeConfigList,\n ],\n };\n }\n return request;\n};\n\n\nexport const getSelectedPayModePGMID = sectionType => {\n const allPaymentModes = {\n 'Domestic-Debit-Card': {\n paymentType: 'DC',\n isSingleSlab: false,\n isDomestic: true,\n },\n 'Foreign-Debit-Card': {\n paymentType: 'DC',\n isSingleSlab: false,\n isDomestic: false,\n },\n 'Domestic-Credit-Card': {\n paymentType: 'CC',\n isSingleSlab: true,\n isDomestic: true,\n },\n 'Foreign-Credit-Card': {\n paymentType: 'CC',\n isSingleSlab: true,\n isDomestic: false,\n },\n 'Net-Banking': {\n paymentType: 'NB',\n isSingleSlab: true,\n isDomestic: true,\n },\n // UPI: { paymentType: 'UPI', isSingleSlab: false, isDomestic: true },\n Wallets: {\n paymentType: 'WALLET',\n isSingleSlab: true,\n isDomestic: true,\n },\n };\n\n return allPaymentModes[sectionType];\n};\n\nexport const fetchSectionTypePGMID = (paymode, isDomestic) => {\n switch(paymode) {\n case 'DC':\n if (isDomestic)\n return 'Domestic-Debit-Card';\n else\n return 'Foreign-Debit-Card';\n case 'CC':\n if (isDomestic)\n return 'Domestic-Credit-Card';\n else\n return 'Foreign-Credit-Card';\n case 'NB':\n return 'Net-Banking';\n default:\n return 'Wallets';\n }\n}\n\nexport const schemensMapp = (type) => {\n const allTypes = {\n \"AMEX\": \"AMEX\",\n \"DINR\": \"DINER\",\n \"MC\": \"MASTERCARD\",\n \"RPAY\": \"RUPAY\",\n \"VI\": \"VISA\"\n }\n return allTypes[type];\n}\n\nfunction capitalizeFirst(str) {\n if (!str) return ''; // Handle empty strings\n return str[0].toUpperCase() + str.slice(1).toLowerCase();\n}\n\nexport const getLabelValuePG = (data, updateLabel = false) => {\n return data.map(item => {\n return {\n label: updateLabel? capitalizeFirst(item) : item ,\n value: item\n }\n })\n}\n","import React, { useState, useEffect, useCallback, useMemo } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport moment from 'moment';\nimport PropTypes from 'prop-types';\n\nimport {\n DownloadFileGeneric,\n FormElems,\n Popup,\n Table,\n TableFilter,\n ViewDownloadGeneric,\n} from '../../components';\nimport PaymentGatewayCredentialsActions from './PaymentGatewayCredentialsActions';\n\nimport {\n clickedCreatePaymentCredentialData,\n downloadPaymentGatewayCredentialReportRequest,\n fetchPayementGatewayCredentialsRequest,\n generatePaymentGatewayCredentialReportError,\n generatePaymentGatewayCredentialReportRequest,\n getActivePaymentGatewayCredentialReportRequest,\n} from './redux/paymentGatewayCredentials.actions';\n\nimport { PAYMENT_GATEWAY_OPTION } from './constants';\nimport { PAYMENT_MODE, REPORT_TYPE_ENUM } from 'utils/constants/commonValues';\n\nimport './paymentGatewayCredentialsPage.scss';\n\n\nlet filterFieldList = [\n // {\n // fieldType: 'date',\n // label: 'Date Range',\n // name: 'createdOn',\n // props: {\n // startDate: moment()\n // .endOf('day')\n // .subtract(730, 'days'),\n // endDate: moment().endOf('day'),\n // maximumNights: 365,\n // notResetDate: true,\n // },\n // },\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {\n startDate: moment().endOf('day').subtract(1, 'months'),\n endDate: moment().endOf('day'),\n maximumNights: 31,\n notResetDate: true,\n },\n },\n // {\n // fieldType: 'date',\n // label: 'Date Range',\n // name: 'createdOn',\n // props: {\n // startDate: null,\n // endDate: null,\n // maximumNights: 31,\n // notResetDate: true,\n // },\n // },\n {\n fieldType: 'search-select',\n label: 'Category',\n name: 'category',\n props: {\n data: [],\n label: 'Select on Category',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'search-select',\n label: 'MCC',\n name: 'mcc',\n props: {\n data: [],\n label: 'Select on MCC',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'search-select',\n label: 'PG',\n name: 'pgName',\n props: {\n data: PAYMENT_GATEWAY_OPTION,\n label: 'Select on PG',\n labelField: 'name',\n valueField: 'value',\n },\n },\n {\n fieldType: 'search-select',\n label: 'Payment Mode',\n name: 'paymentMode',\n props: {\n data: PAYMENT_MODE,\n label: 'Select on Payment Mode',\n labelField: 'label',\n valueField: 'value',\n },\n },\n {\n fieldType: 'input',\n label: 'Credential ID',\n name: 'credentialId',\n props: {\n placeholder: 'Enter Credential ID',\n },\n },\n];\nconst pageSizeOptions = [50, 40, 20, 10, 60];\n\nconst PaymentGatewayCredentialsPage = ({\n paymentGatewayCredentialsData,\n dispatch,\n actions,\n loader: { showLoader },\n staticData\n}) => {\n const history = useHistory();\n console.log(\"action and dispatch\", actions, dispatch);\n const {\n error,\n tableData,\n isLoading,\n pagination,\n generatedFile,\n activeReports,\n } = paymentGatewayCredentialsData;\n\n const columns = useMemo(\n () => [\n { header: 'PG Name', accessor: 'pgName' },\n { header: 'Merchant Code', accessor: 'credentialId' },\n { header: 'Category', accessor: 'category' },\n { header: 'MCC', accessor: 'mcc' },\n { header: 'Status', accessor: 'status' },\n { header: 'Last Update Date', accessor: 'lastUpdatedDate' },\n { header: 'Last Updated By', accessor: 'lastUpdatedBy' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(50);\n const [isResetPage, setIsResetPage] = useState(false);\n const [filterData, setFilterData] = useState({});\n\n const [showDownloadPopup, setShowDownloadPopup] = useState(false);\n const [showViewDownloadList, setViewDownloadList] = useState(false);\n\n const handleViewDownloads = () => setViewDownloadList(true);\n const handleCloseViewDownloads = () => setViewDownloadList(false);\n\n const handleCreateCredentails = () => {\n actions.clickedCreatePaymentCredentialData();\n history.push('/payment-gateway-credentials/create/credentials');\n }\n\n\n const handleCategoryFilterChange = category => {\n if (\n staticData &&\n staticData.staticInfo &&\n staticData.staticInfo.categoryMap &&\n category\n ) {\n const categoryDetails = staticData.staticInfo.categoryMap.find(\n item => item.name.toLowerCase() === category.toLowerCase()\n );\n const options =\n categoryDetails &&\n categoryDetails.options.map(item => {\n return { name: item, value: item };\n });\n filterFieldList = filterFieldList.map(filter => {\n if (filter.name === 'mcc') {\n filter.props = {\n ...filter.props,\n data: options || [],\n };\n }\n return filter;\n });\n }\n };\n\n useEffect(() => {\n if (generatedFile.isSuccess) {\n setViewDownloadList(true);\n setShowDownloadPopup(false);\n }\n return () => {\n // actions.generatePaymentGatewayCredentialReportError({ error: {} });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [generatedFile.isSuccess]);\n\n useEffect(() => {\n if (\n staticData &&\n staticData.staticInfo &&\n staticData.staticInfo.categoryMap\n ) {\n filterFieldList = filterFieldList.map(filter => {\n if (filter.name === 'category') {\n filter.props = {\n data: staticData.staticInfo.categoryMap,\n label: 'Select on Category',\n labelField: 'name',\n valueField: 'value',\n onChange: handleCategoryFilterChange,\n };\n }\n return filter;\n });\n }\n }, [staticData, handleCategoryFilterChange]);\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n const data = {\n pageSize,\n pageIndex,\n };\n if (\n filterData.createdOn &&\n Object.keys(filterData.createdOn).length\n ) {\n actions.fetchPayementGatewayCredentialsRequest({\n ...data,\n ...filterData,\n });\n }\n setPageSize(pageSize);\n },\n [actions, filterData]\n );\n\n useEffect(() => {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n return (\n
    \n setIsResetPage(false)}\n onClickTableAction={handleViewDownloads}\n isPGRepoTab={true}\n tableFilters={\n {\n setFilterData({\n isLive: filterData.isLive,\n ...filterValues,\n });\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData({\n isLive: filterData.isLive,\n ...resetValue,\n });\n setIsResetPage(true);\n }}\n />\n }\n additionalActions={() => {\n return (\n <>\n \n \n \n
    \n \n );\n }}\n tableActionPopup={\n \n \n \n }\n userActions={data => (\n \n )}\n />\n \n );\n};\n\nPaymentGatewayCredentialsPage.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n paymentGatewayCredentialsData: PropTypes.object,\n staticData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nconst mapStateToProps = ({\n auth,\n paymentGatewayCredentialsData,\n loader,\n staticData,\n}) => ({\n auth,\n paymentGatewayCredentialsData,\n loader,\n staticData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n\n actions:\n bindActionCreators(\n {\n fetchPayementGatewayCredentialsRequest,\n generatePaymentGatewayCredentialReportRequest,\n getActivePaymentGatewayCredentialReportRequest,\n downloadPaymentGatewayCredentialReportRequest,\n generatePaymentGatewayCredentialReportError,\n clickedCreatePaymentCredentialData\n\n },\n dispatch\n ),\n});\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(PaymentGatewayCredentialsPage);\n","// CreatePaymentGatewayCredentials.jsx\nimport React, { useEffect } from 'react';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\nimport { Switch, Route, Redirect, useHistory } from 'react-router-dom';\nimport { resetPaymentGatewayCredentialEditDataOnCreateFormData } from './redux/paymentGatewayCredentials.actions';\nimport { BreadCrumb, Timeline } from 'components';\n\nimport './createPaymentGatewayCredentials.scss';\nimport { onboardingProcessPG } from './constants';\n\nconst getDraftData = (draftData, sectionType) => {\n const filteredData =\n draftData &&\n draftData.length &&\n draftData.find(section => section.type === sectionType);\n return filteredData;\n};\n\nconst CreatePaymentGatewayCredentials = ({\n isInEditMode = false,\n paymentGatewayCredentialsData,\n isViewMode = false,\n actions\n}) => {\n const history = useHistory();\n\n const { draftData, createFormData } = paymentGatewayCredentialsData;\n console.log(\"draftData create Comp\", paymentGatewayCredentialsData);\n\n const { location } = history;\n const onBoardSteps = onboardingProcessPG(draftData, location.pathname);\n\n const completedSection =\n onBoardSteps && onBoardSteps.filter(item => item.status === 'Complete');\n\n const lastSelected =\n completedSection.length &&\n completedSection[completedSection.length - 1];\n\n useEffect(() => {\n if (\n !location.pathname.includes(\n 'payment-gateway-credentials/create/credentials'\n ) &&\n !createFormData.referenceId\n ) {\n history.push('/payment-gateway-credentials');\n }\n }, [createFormData]);\n\n\n useEffect(() => {\n actions.resetPaymentGatewayCredentialEditDataOnCreateFormData();\n }, []);\n\n return (\n \n
    \n

    Create Payment Gateway Credentials

    \n \n
    \n
    \n
    \n \n
    \n
    \n \n {onBoardSteps.map(tab => (\n \n {tab.component({\n ...tab,\n draftData: getDraftData(\n draftData,\n tab.sectionType\n ),\n onBoardSteps,\n isInEditMode,\n isViewMode,\n formIdentifier: createFormData.referenceId,\n })}\n \n ))}\n \n
    \n
    \n \n );\n};\n\nconst mapStateToProps = ({ loader, paymentGatewayCredentialsData }) => ({\n loader,\n paymentGatewayCredentialsData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators({\n resetPaymentGatewayCredentialEditDataOnCreateFormData\n }, dispatch),\n});\n\nCreatePaymentGatewayCredentials.propTypes = {\n data: PropTypes.object.isRequired,\n actions: PropTypes.object,\n draftData: PropTypes.array,\n history: PropTypes.object,\n permissions: PropTypes.object,\n};\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(CreatePaymentGatewayCredentials);\n","// libs\nimport React, { useEffect, useState } from 'react';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\nimport { Switch, Route, Redirect, useHistory } from 'react-router-dom';\nimport { showLoader, hideLoader } from 'redux/common/loader/loader.actions';\nimport { BreadCrumb, Timeline } from 'components';\n\nimport './createPaymentGatewayCredentials.scss';\nimport { onboardingProcessPGEdit } from './constants';\nimport { last } from 'lodash';\nimport { fetchPaymentGatewayCredentialDataRequest , resetPaymentGatewayCredentialEditDataOnCreateFormData} from './redux/paymentGatewayCredentials.actions';\n\nconst getDraftData = (draftData, sectionType) => {\n const filteredData =\n draftData &&\n draftData.length &&\n draftData.find(section => section.type === sectionType);\n return filteredData;\n};\n\nconst EditPaymentGatewayCredentials = ({\n isEditMode,\n paymentGatewayCredentialsData,\n isViewMode,\n actions,\n}) => {\n const history = useHistory();\n const { location } = history;\n const formIdentifier = last(location.pathname.split('/'));\n const { draftData, editFormData } = paymentGatewayCredentialsData;\n const [onBoardSteps, setOnBoardSteps] = useState(onboardingProcessPGEdit(isViewMode, formIdentifier, draftData));\n const [pgpageHeading, setPGPageheading] = useState(\"\");\n\n useEffect(() => {\n if(isViewMode){\n setPGPageheading(\"View Payment Gateway Credentials\")\n }\n else{\n setPGPageheading(\"Edit Payment Gateway Credentials\")\n }\n }, [isViewMode])\n\n useEffect(() => {\n actions.showLoader();\n }, []);\n\n useEffect(() => {\n setOnBoardSteps(onboardingProcessPGEdit(isViewMode, formIdentifier, draftData));\n }, [draftData]);\n\n useEffect(() => {\n //actions.showLoader();\n // fetch api to get detials and populate draftData\n actions.fetchPaymentGatewayCredentialDataRequest({\n pgMidReferenceId: parseInt(formIdentifier),\n });\n \n }, [formIdentifier]);\n\n useEffect(() =>{\n actions.resetPaymentGatewayCredentialEditDataOnCreateFormData();\n }, [actions])\n\n // useEffect(() => {\n // console.log(\"editFormData\", editFormData);\n // // Listen for changes in paymentGatewayCredentialsData to hide loader on success\n // if (editFormData.isSuccess) {\n // //actions.hideLoader(); // Hide loader on successful data fetch\n // }\n // }, [editFormData.isSuccess]);\n\n return (\n \n
    \n

    {pgpageHeading}

    \n\n \n
    \n
    \n
    \n \n
    \n
    \n {onBoardSteps.map(tab => (\n \n {tab.component({\n ...tab,\n draftData: getDraftData(\n draftData,\n tab.sectionType\n ),\n onBoardSteps,\n isEditMode,\n isViewMode,\n formIdentifier,\n })}\n \n ))}\n
    \n
    \n \n );\n};\n\nconst mapStateToProps = ({ loader, paymentGatewayCredentialsData }) => ({\n loader,\n paymentGatewayCredentialsData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchPaymentGatewayCredentialDataRequest,\n resetPaymentGatewayCredentialEditDataOnCreateFormData,\n showLoader,\n hideLoader\n },\n dispatch\n ),\n});\n\nEditPaymentGatewayCredentials.propTypes = {\n data: PropTypes.object.isRequired,\n actions: PropTypes.object,\n draftData: PropTypes.array,\n history: PropTypes.object,\n permissions: PropTypes.object,\n};\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(EditPaymentGatewayCredentials);\n","// libs\nimport React from 'react';\nimport { Route, Switch } from 'react-router-dom';\n\n// styles\nimport './paymentGatewayCredentials.scss';\n\n// components\nimport PaymentGatewayCredentialsPage from './PaymentGatewayCredentialsPage';\nimport CreatePaymentGatewayCredentials from './CreatePaymentGatewayCredentials';\nimport EditPaymentGatewayCredentials from './EditPaymentGatewayCredentials';\n\nconst PaymentGatewayCredentials = () => {\n return (\n <>\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n \n );\n};\n\nexport default PaymentGatewayCredentials;\n","import PaymentGatewayCredentials from './PaymentGatewayCredentials';\n\nexport default PaymentGatewayCredentials;\n","// Components\nimport { BreadCrumb, TerminalTab } from '../../components';\n\n// Libraries\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nconst CreateTerminal = ({ history }) => {\n const { location } = history;\n\n useEffect(() => {\n if (location.pathname !== '/tid-onboarding/create/terminal') {\n history.replace('/tid-onboarding');\n }\n }, [history, location.pathname]);\n\n return (\n
    \n
    \n

    Create Terminal ID

    \n \n
    \n
    \n \n
    \n
    \n );\n};\n\nCreateTerminal.propTypes = {\n history: PropTypes.object,\n};\n\nexport default CreateTerminal;\n","// Libraries\nimport React from 'react';\n// Components\nimport { BreadCrumb, TerminalTab } from '../../components';\n\nconst EditTerminal = () => {\n\n return (\n
    \n
    \n

    Update Terminal ID

    \n \n
    \n
    \n \n
    \n
    \n );\n};\n\nexport default EditTerminal;\n","// Libraries\nimport React from 'react';\nimport { BreadCrumb, TerminalTab } from '../../components';\n\nconst ViewTerminal = () => {\n return (\n
    \n
    \n

    View Terminal ID

    \n \n
    \n
    \n \n
    \n
    \n );\n};\n\nexport default ViewTerminal;\n","// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\nimport { AuthResource } from 'components';\n\nconst UserActionsMob = ({\n data,\n history,\n isEditOnly,\n tableType,\n}) => {\n const handleEditView = actionType => {\n if (isEditOnly) {\n history.push(`/tid-onboarding/create/terminal`);\n } else {\n const { entityCode } = data.original;\n if (actionType === 'edit') {\n history.push(`/tid-onboarding/edit/terminal/${entityCode}`);\n } else if (actionType === 'view') {\n history.push(`/tid-onboarding/view/terminal/${entityCode}`);\n }\n }\n };\n\n return (\n
    \n {tableType !== 'inactive' ? (\n <>\n \n handleEditView('edit')}\n />\n \n {tableType !== 'draft' && (\n handleEditView('view')}\n />\n )}\n \n ) : (\n <>\n handleEditView('edit')}\n disabled={!data.original.isEditMode}\n />\n \n )}\n
    \n );\n};\n\nUserActionsMob.propTypes = {\n data: PropTypes.object.isRequired,\n history: PropTypes.object,\n isEditOnly: PropTypes.bool,\n tableType: PropTypes.string,\n};\n\nexport default withRouter(UserActionsMob);\n","import React, { useState } from 'react';\nimport './BulkUpload.scss';\nimport PropTypes from 'prop-types';\nimport remove from '../../../../static/images/remove.png';\nimport file from '../../../../static/images/file.png';\nimport checkGreen from '../../../../static/images/checkGreen.png';\nimport TID_Sample from './Terminal_ID_Update_Sample_Sheet.xlsx';\nimport { toast } from 'react-toastify';\n\nconst maxSize = 20 * 1024 * 1024;\n\nconst BulkUpload = ({ handleClose, isOpen, actions }) => {\n const [uploadedFile, setUploadedFile] = useState(null);\n const [dragOver, setDragOver] = useState(false);\n const [uploadSuccess, setUploadSuccess] = useState(false);\n\n const handleFileUpload = event => {\n const file = event.target.files[0];\n\n if (file) {\n if (file.size > maxSize) {\n toast.error('File size exceeds 20 MB. Please upload a smaller file.');\n return;\n }\n setUploadedFile(file);\n }\n };\n\n // Simulate upload success\n const handleUploadFile = () => {\n const handleSuccess = () => {\n setUploadSuccess(true);\n };\n\n const handleError = (err) => {\n console.log('Upload failed ERROR', err);\n };\n const formData = new FormData();\n formData.append('inputFile', uploadedFile);\n\n actions.terminalIDBulkUploadRequest(\n formData,\n handleSuccess,\n handleError\n );\n };\n\n // Handle drag-and-drop\n const handleDragOver = event => {\n event.preventDefault();\n setDragOver(true);\n };\n\n const handleDragLeave = () => {\n setDragOver(false);\n };\n\n const handleDrop = event => {\n event.preventDefault();\n setDragOver(false);\n\n const file = event.dataTransfer.files[0];\n if (file) {\n if (file.size > maxSize) {\n toast.error('File size exceeds 20 MB. Please upload a smaller file.');\n return;\n }\n setUploadedFile(file);\n }\n };\n\n // Handle file removal\n const handleFileRemove = () => {\n setUploadedFile(null);\n setUploadSuccess(false);\n };\n\n if (!isOpen) {\n return <>;\n }\n\n return (\n
    \n
    \n
    \n

    Terminal Bulk Update

    \n
    \n {\n handleClose();\n setUploadSuccess(false);\n setUploadedFile(null);\n }}\n />\n
    \n
    \n\n {/* Success Screen */}\n {uploadSuccess ? (\n
    \n
    \n \"Success\"\n
    \n

    File uploaded successfully

    \n
    \n \n Upload Another File\n \n \n
    \n
    \n ) : (\n \n
    \n \"Upload\n
    \n\n {uploadedFile ? (\n
    \n

    \n {uploadedFile.name}\n \n ✕\n \n

    \n
    \n \n Upload File\n \n {/* */}\n
    \n \n
    \n ) : (\n <>\n

    Drop Files Here to Upload

    \n \n Maximum file size 20MB. Only Excel .XLSX\n files are accepted\n \n
    \n OR\n \n \n Browse File\n \n
    \n \n )}\n
    \n )}\n
    \n \n Download sample format\n \n
    \n
    \n \n );\n};\n\nBulkUpload.propTypes = {\n handleClose: PropTypes.func,\n isOpen: PropTypes.bool,\n actions: PropTypes.object,\n};\n\nexport default BulkUpload;\n","import React, { useState } from \"react\";\nimport \"./BulkCreation.scss\";\nimport remove from \"../../../../static/images/remove.png\";\nimport checkGreen from \"../../../../static/images/checkGreen.png\";\nimport { Field } from \"redux-form\";\nimport { FormElems } from \"../../../../components\";\n\nconst BulkUpload = ({ handleCloseModal, isOpen }) => {\n const [uploadSuccess, setUploadSuccess] = useState(false);\n\n // Prevent rendering if modal is not open\n if (!isOpen) return null;\n\n // Handle form submission\n const handleSubmit = (event) => {\n event.preventDefault();\n console.log(\"Form submitted!\");\n setUploadSuccess(true);\n };\n\n return (\n
    \n
    \n
    \n

    Terminal Bulk Generate

    \n
    \n {\n handleCloseModal();\n setUploadSuccess(false);\n }}\n />\n
    \n
    \n\n {uploadSuccess ? (\n
    \n
    \n \"Success\"\n
    \n

    Requested Terminal IDs generated successfully

    \n

    Please visit Terminal Onboarding to see detailed info

    \n
    \n ) : (\n
    \n
      \n {/* Dealer Email */}\n
    • \n
      \n

      TID Prefix

      \n \n
      \n
    • \n\n {/* Dealer Name */}\n
    • \n
      \n

      TID Count (MAX 10000)

      \n \n
      \n
    • \n\n {/* Dealer Contact */}\n
    • \n
      \n

      Settlement Account

      \n \n
      \n
    • \n
    \n\n {/* Submit Button */}\n
    \n \n
    \n
    \n )\n }\n\n
    \n
    \n );\n};\n\nexport default BulkUpload;\n","export const filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {},\n },\n {\n fieldType: 'input',\n label: 'Terminal Name',\n name: 'name',\n props: {\n placeholder: 'Enter Terminal Name',\n },\n },\n {\n fieldType: 'input',\n label: 'Terminal ID',\n name: 'terminalId',\n props: {\n placeholder: 'Enter Terminal ID',\n },\n },\n {\n fieldType: 'search-select',\n label: 'Merchant Name',\n name: 'merchantId',\n props: {\n data: [],\n label: 'Select Merchant',\n labelField: 'name',\n valueField: 'entityCode',\n entityType: 'MERCHANT',\n },\n },\n {\n fieldType: 'select',\n label: 'Status',\n name: 'status',\n props: {\n placeholder: 'Select Status',\n data: [\n { name: 'Active', value: 'ACTIVE' },\n { name: 'Inactive', value: 'INACTIVE' },\n {\n name: 'Inactive with settlement',\n value: 'INACTIVE_WITH_SETTLEMENT',\n },\n ],\n labelField: 'name',\n valueField: 'value',\n label: 'Select Status',\n },\n },\n];\n","import { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport { Switch, Route, withRouter } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\nimport { Table, TableFilter } from '../../components';\n// Constants\nimport { ENTITY_TYPE } from '../../utils/constants/commonValues';\n// Actions\nimport {\n fetchTIDRequest,\n fetchEntityListRequest,\n terminalIDBulkUploadRequest,\n} from './redux/TIDOnBoard.actions';\n// Local Components\nimport CreateTerminal from './CreateTerminal';\nimport EditTerminal from './EditTerminal';\nimport ViewTerminal from './ViewTerminal';\nimport UserActionsMob from './UserActionsMob';\n// Styles\nimport './TerminalOnboard.scss';\nimport BulkUpload from './models/BulkUpload/BulkUploadModal';\nimport BulkCreationModal from './models/BulkCreation/BulkCreationModal';\nimport { filterFieldList } from './constant';\n\nconst TerminalOnboard = props => {\n const {\n history,\n actions,\n loader: { showLoader },\n terminalsData,\n } = props;\n\n const {\n error,\n tableData,\n isLoading,\n pagination,\n entityList,\n } = terminalsData;\n\n const pageSizeOptions = [10, 20, 40, 60];\n const [pageCount, setPageCount] = useState(0);\n const [roleStatus, setRoleStatus] = useState('');\n const [filterData, setFilterData] = useState({});\n const [isResetPage, setIsResetPage] = useState(false);\n const [pageSize, setPageSize] = useState(10);\n const [filterList, setFilterList] = useState([]);\n const [bulkIsOpen, setBulkIsOpen] = useState(false);\n\n const handleCreateMerchant = () => {\n history.push('/tid-onboarding/create/terminal');\n };\n\n const columns = useMemo(\n () => [\n { header: 'Terminal Name', accessor: 'name' },\n { header: 'Terminal ID ', accessor: 'entityCode' },\n { header: 'Merchant Name', accessor: 'parentEntityName' },\n { header: 'Created Date', accessor: 'createdDate' },\n { header: 'Status', accessor: 'status' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n const fetchData = useCallback(\n ({ pageSize, pageIndex, roleStatus }) => {\n const data = { pageSize, pageIndex, roleStatus, sort: 'name' };\n actions.fetchTIDRequest({ ...data, ...filterData });\n setPageSize(pageSize);\n },\n [actions, filterData]\n );\n\n const handleBulkUploadClose = () => {\n setBulkIsOpen(false);\n };\n\n const [bulkCreationIsOpen, setBulkCreationIsOpen] = useState(false);\n\n const handleBulkCreationClose = () => {\n setBulkCreationIsOpen(false);\n };\n\n const handleSearchEnd = (value, entityType) => {\n const filtered =\n entityList.merchant?.filter(item => {\n const key = 'name';\n return item[key]?.toLowerCase().includes(value.toLowerCase());\n }) || [];\n\n const data = {\n entityName: value,\n entityCode: '',\n };\n\n if (filtered.length === 0 && value.length >= 3) {\n actions.fetchEntityListRequest(entityType, data);\n }\n };\n\n useEffect(() => {\n actions.fetchEntityListRequest(ENTITY_TYPE.MERCHANT);\n }, [actions]);\n\n useEffect(() => {\n if (entityList.merchant) {\n const data = entityList.merchant;\n const newFilter = filterFieldList.map(field => {\n if (\n field.name === 'merchantId' ||\n field.name === 'merchantName'\n ) {\n field.props.data = data;\n field.props.handleSearchEnd = handleSearchEnd;\n }\n return field;\n });\n setFilterList(newFilter);\n }\n }, [entityList]);\n\n useEffect(() => {\n if (pagination?.totalNumberOfRecords) {\n setPageCount(Math.ceil(pagination.totalNumberOfRecords / pageSize));\n }\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n return (\n
    \n \n \n \n \n setIsResetPage(false)}\n userActions={data => }\n pagePerView={3}\n additionalActions={props => (\n
    \n setBulkIsOpen(true)}\n >\n BULK UPDATE\n \n
    \n )}\n tableFilters={\n {\n setFilterData(filterValues);\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n tableActionPopup={null}\n />\n
    \n \n \n \n \n \n \n \n \n \n
    \n
    \n );\n};\n\nconst mapStateToProps = ({ form, loader, editData, terminalsData }) => ({\n form,\n loader,\n editData,\n terminalsData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchTIDRequest,\n fetchEntityListRequest,\n terminalIDBulkUploadRequest,\n },\n dispatch\n ),\n});\n\nTerminalOnboard.propTypes = {\n actions: PropTypes.object,\n history: PropTypes.object,\n tidData: PropTypes.object,\n loader: PropTypes.object,\n terminalsData: PropTypes.object,\n};\n\nexport default withRouter(\n connect(mapStateToProps, mapDispatchToProps)(TerminalOnboard)\n);\n","import TerminalOnboard from './TerminalOnboard';\n\nexport default TerminalOnboard;\n","// Components\nimport { BreadCrumb ,PaymentPageTab} from '../../components';\n\n// Libraries\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nconst CreatePaymentPage= ({ history }) => {\n const { location } = history;\n console.log(\"history : \", history);\n\n // useEffect(() => {\n // if (location.pathname !== '/payment-page/create/Payment-page') {\n // history.replace('/payment-page');\n // }\n // }, [history, location.pathname]);\n\n return (\n
    \n
    \n

    Create PaymentPage

    \n \n
    \n
    \n \n
    \n
    \n );\n};\n\nCreatePaymentPage.propTypes = {\n history: PropTypes.object,\n};\n\nexport default CreatePaymentPage;\n","// Libraries\nimport React from 'react';\n// Components\nimport { BreadCrumb, PaymentPageTab } from '../../components';\nimport PropTypes from 'prop-types';\nimport { useParams } from 'react-router-dom';\nimport { useEffect } from 'react';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { last } from 'lodash';\n\n// Actions\nimport {\n getPaymentPageDetailsRequest, \n} from '../PaymentPage/redux/paymentPage.actions';\n\n\nconst EditPaymentPage = ({\n actions,\n paymentPageEditData,\n paymentPageData,\n}) => {\n console.log(\"paymentPageData\",paymentPageData);\n const {formId } = useParams();\n console.log(\"form id : \", formId);\n const req ={\n \"formId\":formId\n }\n useEffect(()=>{\n actions.getPaymentPageDetailsRequest(req);\n },[actions]);\n\n return (\n
    \n
    \n

    Create Payment Page

    \n \n
    \n
    \n \n
    \n
    \n );\n};\nconst mapStateToProps = ({ loader }) => ({\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n getPaymentPageDetailsRequest\n },\n dispatch\n ),\n});\nEditPaymentPage.propTypes = {\n actions: PropTypes.object,\n editData: PropTypes.array,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(EditPaymentPage);\n\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { useHistory } from 'react-router-dom/cjs/react-router-dom.min';\nimport 'react-quill/dist/quill.snow.css';\nimport 'rc-tooltip/assets/bootstrap_white.css';\nimport closeImgIcon from 'static/images/close.svg';\nimport checkGreen from 'static/images/checkGreen.png';\nimport './PaymentPageTab.scss';\n\nconst SuccessModal = ({ onClose, formLinkData }) => {\n const copyText = formLinkData?.formLink;\n const [copied, setCopied] = useState(false);\n const history = useHistory();\n const handleClose = () => {\n onClose();\n //history.push('/payment-page');\n };\n const handleCopy = e => {\n e.preventDefault();\n if (!navigator.clipboard) {\n console.error('Clipboard API not supported in this browser.');\n return;\n }\n navigator.clipboard\n .writeText(copyText)\n .then(() => {\n setCopied(true);\n setTimeout(() => setCopied(false), 2000);\n })\n .catch(() => {\n alert('Copy failed. Please try again manually.');\n });\n };\n return (\n
    \n
    \n {/* Modal Header with Close Button */}\n
    \n \"Close\"\n
    \n {/* Success Image */}\n
    \n \n
    \n
    \n
    \n

    Congratulations!

    \n

    Payment Page has been created successfully

    \n
    \n
    \n
    \n
    {copyText}
    \n \n {copied ? 'Copied!' : 'Copy'}\n \n
    \n
    \n
    \n );\n};\n\nSuccessModal.propTypes = {\n onClose: PropTypes.func,\n auth: PropTypes.object,\n paymentPageData: PropTypes.object,\n};\n\nexport default SuccessModal;","import { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport {\n Switch,\n Route,\n withRouter\n} from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport React, { useMemo, useState, useCallback, useEffect } from 'react';\nimport { toast } from 'react-toastify';\nimport moment from 'moment/moment';\nimport {\n Table,\n TableFilter,\n ViewEditPaymentPage,\n Popup,\n ViewPaymentsPage,\n} from '../../components';\nimport './PaymentPageListing.scss';\nimport { PAYMENT_PAGE_TRANSACTION_STATUS } from '../../utils/constants/commonValues';\n\nimport { fetchPaymentPageRequest } from './redux/paymentPage.actions';\nimport CreatePaymentPage from './CreatePaymentPage';\n\nimport EditPaymentPage from './EditPaymentPage';\nimport { useLocation } from 'react-router-dom/cjs/react-router-dom.min';\nimport SuccessModal from 'components/PaymentPageTab/SuccessModal';\nconst pageSizeOptions = [10, 20, 40, 60];\n\nconst filterFieldList = [\n {\n fieldType: 'date',\n label: 'Date Range',\n name: 'createdOn',\n props: {\n startDate: moment().endOf('day').subtract(7, 'days'), // Start date set to one week ago\n endDate: moment().endOf('day'), // End date set to today\n maximumNights: 30,\n notResetDate: true,\n },\n },\n {\n fieldType: 'input',\n label: 'Page ID',\n name: 'pageId',\n props: {\n placeholder: 'Enter Page ID',\n },\n },\n {\n fieldType: 'radio',\n label: 'Status',\n name: 'status',\n props: {\n options: [\n {\n name: 'Active',\n value: 'ACTIVE',\n },\n {\n name: 'Inactive',\n value: 'INACTIVE',\n },\n {\n name: 'Draft',\n value: 'DRAFT',\n },\n ],\n labelField: 'name',\n valueField: 'value',\n },\n },\n];\n\n// Filter List for the transactions view of payment link table.\nconst filterFieldListView = [\n {\n fieldType: 'date',\n label: '',\n name: 'createdOn',\n props: {\n startDate: moment().endOf('day').subtract(7, 'days'), // Start date set to one week ago\n endDate: moment().endOf('day'), // End date set to today\n maximumNights: 30,\n notResetDate: true,\n },\n },\n {\n fieldType: 'input',\n label: 'Transaction ID',\n name: 'transactionId',\n props: {\n placeholder: 'Enter ID',\n },\n },\n {\n fieldType: 'select',\n label: 'Status',\n name: 'transactionStatus',\n props: {\n data: (function() {\n const options = [];\n for (const key in PAYMENT_PAGE_TRANSACTION_STATUS) {\n if (\n Object.prototype.hasOwnProperty.call(\n PAYMENT_PAGE_TRANSACTION_STATUS,\n key\n )\n ) {\n const value = PAYMENT_PAGE_TRANSACTION_STATUS[key];\n options.push({\n name: value,\n value: key,\n });\n }\n }\n return options;\n })(),\n label: 'Select Status',\n labelField: 'name',\n valueField: 'value',\n },\n },\n];\n\n// Payment Link Table Action Popup.\nconst PaymentPageActions = ({ data, fetchData, resetPage, history }) => {\n const [showFilter, setShowFilter] = useState(false);\n const [actionType, setActionType] = useState(null);\n\n const handleOpenActionPopup = actionType => {\n setShowFilter(true);\n setActionType(actionType);\n };\n\n const handleCloseOpenActionPopup = () => {\n setShowFilter(false);\n setActionType(null);\n };\n\n const handleEditPaymentPage = id => {\n if(data?.original?.status === 'ACTIVE'){\n toast.error(\"Payment Link already generate, cannot be editied now \");\n }\n else{\n history.push(`/payment-page/edit/${id}`);\n }\n };\n\n const handleCopy = text => {\n if(text?.status == 'DRAFT'){\n toast.error(\"Payment Link is in draft state, Link cannot copied.\");\n }else{\n let linkUrl = text.linkUrl;\n navigator.clipboard\n .writeText(linkUrl)\n .then(() => {\n toast.success('Link copied to clipboard');\n })\n .catch(err => {\n toast.error('Failed to copy link');\n });\n }\n };\n const handleDuplicate = id => {\n history.push(`/payment-page/edit/${id}/new`);\n }\n\n return (\n
    \n {(data?.original?.status === 'ACTIVE' || data?.original?.status === 'INACTIVE') && (\n handleOpenActionPopup('view')}\n />\n )}\n {data?.original?.status === 'DRAFT' && (\n handleEditPaymentPage(data.original.pageId)}\n />\n )}\n {(data?.original?.status === 'ACTIVE') && (\n handleDuplicate(data.original.pageId)}\n />\n )}\n {data?.original?.status === 'ACTIVE' && (\n handleCopy(data.original)}\n />\n )}\n \n \n \n
    \n );\n};\n\nconst PaymentPage = props => {\n const {\n history,\n actions,\n loader: { showLoader },\n paymentPageData = {},\n } = props;\n const {\n tableData,\n isLoading,\n error,\n pagination,\n } = paymentPageData;\n\n const [filterData, setFilterData] = useState({});\n const [pageCount, setPageCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [isResetPage, setIsResetPage] = useState(false);\n\n const handleCreatePaymentpage = () => {\n history.push('/payment-page/create/payment-page');\n };\n const location = useLocation();\n const [isSuccess, setIsSuccess] = useState(false);\n const [linkData, setLinkData] = useState(null);\n const columns = useMemo(\n () => [\n { header: 'Page ID', accessor: 'pageId' },\n { header: 'Merchant Name', accessor: 'entityName' },\n {\n header: 'Amount ',\n accessor: 'amount',\n },\n { header: 'Created On', accessor: 'createdOn'},\n { header: 'Valid Till', accessor: 'validTill' },\n { header: 'Status', accessor: 'status' },\n { header: 'Action', accessor: 'action' },\n ],\n []\n );\n\n // Fetching table data function.\n const fetchData = useCallback(\n ({ pageSize, pageIndex }) => {\n // This will get called when the table needs new data\n // You could fetch your data from literally anywhere,\n const data = {\n pageSize,\n pageIndex,\n };\n actions.fetchPaymentPageRequest({ ...data, ...filterData });\n setPageSize(pageSize);\n },\n [actions, filterData]\n );\n\n useEffect(() => {\n if (location.state?.showSuccessModal) {\n setIsSuccess(true);\n setLinkData(location.state.successData);\n window.history.replaceState({}, document.title); // Remove state from history\n }\n }, [location]);\n\n // Handle Pagination for the table\n useEffect(() => {\n setPageCount(Math.ceil(pagination?.totalNumberOfRecords / pageSize));\n }, [pageSize, pagination.totalNumberOfRecords]);\n\n const [filterDataView, setFilterDataView] = useState({});\n\n const formatAmount = (value) => {\n if (!value) return \"N/A\";\n return parseFloat(value).toFixed(value % 1 === 0 ? 0 : 2); // Remove commas, keep decimal if needed\n };\n \n const transformedData = tableData?.map(item => ({\n ...item, \n amount: (() => {\n if (!item.amountType) return 'N/A';\n switch (item.amountType) {\n case \"USER_INPUT\":\n return \"-\";\n case \"FIXED\":\n return formatAmount(item.maxAmount);\n case \"VARIABLE\":\n return item.minAmount && item.maxAmount \n ? `${formatAmount(item.minAmount)} - ${formatAmount(item.maxAmount)}`\n : \"N/A\";\n default:\n return \"N/A\";\n }\n })()\n }));\n //console.log(\"Transformed Data:\", transformedData);\n return (\n
    \n {isSuccess && (\n setIsSuccess(false)}\n />\n )}\n \n \n setIsResetPage(false)}\n userActions={data => (\n setIsResetPage(true)}\n history={history}\n />\n )}\n pagePerView={3}\n tableFilters={\n {\n setFilterData(filterValues);\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterData(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n />\n \n \n \n \n \n {\n setFilterDataView(filterValues);\n setIsResetPage(true);\n }}\n onReset={resetValue => {\n setFilterDataView(resetValue);\n setIsResetPage(true);\n }}\n />\n }\n />\n \n \n \n \n \n
    \n );\n};\n\nconst mapStateToProps = ({ form, loader, editData, paymentPageData }) => ({\n form,\n loader,\n editData,\n paymentPageData,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n fetchPaymentPageRequest,\n },\n dispatch\n ),\n});\n\nPaymentPageActions.propTypes = {\n data: PropTypes.object,\n fetchData: PropTypes.func,\n resetPage: PropTypes.func,\n history: PropTypes.object,\n};\n\nPaymentPage.propTypes = {\n actions: PropTypes.object,\n history: PropTypes.object,\n paymentPageData: PropTypes.object,\n loader: PropTypes.object,\n};\n\nexport default withRouter(\n connect(mapStateToProps, mapDispatchToProps)(PaymentPage)\n);\n","import PaymentPage from './PaymentPageListing';\n\nexport default PaymentPage;","// Layouts\nimport { SidebarLayout } from 'layouts';\n\n\n// Library Methods\nimport React, { Fragment, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { Switch, Route, Redirect, useHistory } from 'react-router-dom';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport { ToastContainer } from 'react-toastify';\nimport { ErrorBoundary } from 'react-error-boundary';\nimport 'react-toastify/dist/ReactToastify.css';\nimport './styles/base.scss';\n\n// Containers\n// eslint-disable-next-line import/order\nimport {\n Login,\n ForgotPassword,\n SetPassword,\n MerchantOnboard,\n UserManagement,\n RoleManagement,\n UserVerification,\n Transactions,\n Refund,\n CommProfile,\n ManageBin,\n RoleVerification,\n Profile,\n PaymentLink,\n AuditTrail,\n Dashboard,\n ErrorPage,\n CheckoutCustom,\n Settlement,\n MerchantAdjustments,\n BulkRefund,\n MerchantOnboardStatus,\n Invoice,\n BulkPaymentLink,\n Maker,\n Checker,\n Mandate,\n Chargeback,\n MerchantLegalEntity,\n PaymentGatewayCredentials,\n TidOnboard,\n PaymentPage\n} from './containers';\n\n// Components\n// eslint-disable-next-line import/order\nimport { AuthRoute, Loader } from './components';\n\n// Actions\n// eslint-disable-next-line import/order\nimport {\n createSessionRequest,\n isLoggedInRequest,\n userProfileRequest,\n getUserAccessibleItemsRequest,\n} from './redux/common/auth/auth.actions';\n\n// Styles\nimport './styles/style.scss';\n\n// Starting point of our react app\nfunction App(props) {\n const { actions, auth, loader } = props;\n const history = useHistory();\n\n useEffect(() => {\n // Create a new session on app load\n actions.createSessionRequest(history);\n }, [actions, history]);\n\n useEffect(() => {\n // Check if user is logged in\n if (auth.csrfIdentifier) {\n actions.isLoggedInRequest();\n }\n }, [actions, auth.csrfIdentifier]);\n\n useEffect(() => {\n // Get user profile\n if (auth.isLoggedIn) {\n actions.userProfileRequest();\n actions.getUserAccessibleItemsRequest();\n }\n }, [actions, auth.isLoggedIn]);\n\n return (\n \n \n {loader.showLoader && }\n {/* Error handling in case of any Javascript Error */}\n (\n \n )}\n >\n \n {/* Error handling in case of session api fail */}\n \n \n \n {auth.isLoggedInExecuted && (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n )}\n \n \n \n );\n}\n\nApp.propTypes = {\n actions: PropTypes.object,\n auth: PropTypes.object,\n loader: PropTypes.object,\n};\n\nconst mapStateToProps = ({ loader, auth }) => ({\n auth,\n loader,\n});\n\nconst mapDispatchToProps = dispatch => ({\n actions: bindActionCreators(\n {\n createSessionRequest,\n isLoggedInRequest,\n userProfileRequest,\n getUserAccessibleItemsRequest,\n },\n dispatch\n ),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(App);\n","function BulkPaymentLinkList(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nBulkPaymentLinkList.prototype = Object.assign(BulkPaymentLinkList.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.bulkPaylinkFileProcessDto &&\n tableData.bulkPaylinkFileProcessDto.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n requestId,\n requestPurpose,\n merchantId,\n validCount,\n invalidCount,\n status,\n remark,\n } = row;\n return {\n requestId,\n requestPurpose,\n merchantId,\n validCount,\n invalidCount,\n status,\n remark,\n };\n },\n});\n\nexport default BulkPaymentLinkList;\n","import BulkPaymentLinkList from '../model/bulkPaymentLinkModel';\nimport {\n GET_RECENT_BULK_PAYMENT_LINK_FAILED,\n GET_RECENT_BULK_PAYMENT_LINK_SUCCESS,\n HIDE_BULK_PAYMENT_LOADER,\n SHOW_BULK_PAYMENT_LOADER,\n UPLOAD_BULK_PAYMENT_LINK_FAILED,\n UPLOAD_BULK_PAYMENT_LINK_SUCCESS,\n} from './BulkPaymentLink.constants';\n\nexport const initialState = {\n tableData: [],\n pagination: {},\n error: {},\n isLoading: false,\n uploadFile: {\n isSuccess: null,\n message: '',\n isLoading: '',\n data: {},\n },\n};\n\nexport const bulkPaymentLinkReducer = (state = initialState, action) => {\n switch (action.type) {\n case GET_RECENT_BULK_PAYMENT_LINK_SUCCESS:\n const bulkPaymentLinkTableData = new BulkPaymentLinkList(\n action.payload\n );\n return { ...state, ...bulkPaymentLinkTableData, error: {} };\n\n case GET_RECENT_BULK_PAYMENT_LINK_FAILED:\n return { ...state, ...action.payload };\n\n case UPLOAD_BULK_PAYMENT_LINK_SUCCESS: {\n return {\n ...state,\n error: {},\n uploadFile: {\n isSuccess: true,\n error: null,\n data: { ...action.payload },\n },\n };\n }\n case UPLOAD_BULK_PAYMENT_LINK_FAILED:\n return {\n ...state,\n uploadFile: {\n isSuccess: false,\n error: { ...action.payload },\n data: {},\n },\n };\n\n case SHOW_BULK_PAYMENT_LOADER:\n return { ...state, isLoading: true };\n case HIDE_BULK_PAYMENT_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","import moment from 'moment';\n\nfunction Entity(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nEntity.prototype = Object.assign(Entity.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.data &&\n tableData.data.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data && data.paging) {\n const {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n sortingCriteria,\n totalNumberOfPages,\n totalNumberOfRecords,\n } = data.paging;\n return {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n sortingCriteria,\n totalNumberOfPages,\n totalNumberOfRecords,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n entityType,\n entityCode,\n email,\n mobile,\n relationshipManagerId,\n axisAcquiredMerchantId,\n mcc,\n status,\n createdDate,\n name,\n mode,\n isEditMode,\n verificationStatus,\n } = row;\n return {\n entityType: entityType || '-',\n entityCode: entityCode || '-',\n email: email || '-',\n mobile: mobile || '-',\n relationshipManagerId: relationshipManagerId || '-',\n axisAcquiredMerchantId: axisAcquiredMerchantId || '-',\n mcc: mcc || '-',\n verificationStatus: this.formatStatus(verificationStatus) || '',\n createdDate: this.formatData(createdDate) || '-',\n name: name || '-',\n mode: mode || '-',\n isEditMode,\n status: this.formatStatus2(status) || '-',\n };\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY');\n },\n formatStatus(status) {\n if (status === 'INITIATED') {\n return 'Initiated';\n } else if (status === 'REJECTED') {\n return 'Rejected';\n } else if (status === 'APPROVED') {\n return 'Approved';\n }\n return 'Pending';\n },\n formatStatus2(entityStatus) {\n if (entityStatus === 1) {\n return 'Active';\n } else if (entityStatus === 5) {\n return 'Inactive with settlement';\n }\n return 'Inactive';\n },\n});\n\nexport default Entity;\n","function Timeline(data) {\n this.fields = this.createTimelineFields(data);\n}\n\nTimeline.prototype = Object.assign(Timeline.prototype, {\n createTimelineFields(timelineDetails) {\n return (\n timelineDetails &&\n timelineDetails.sectionDetails &&\n timelineDetails.sectionDetails.map(row => this.createRow(row))\n );\n },\n createRow(row) {\n const {\n order,\n priority,\n sectionType,\n mandatory,\n dependentSections,\n } = row;\n return {\n order,\n priority,\n sectionType,\n mandatory,\n dependentSections,\n };\n },\n});\n\nexport default Timeline;\n","import { orderBy } from 'lodash';\n\nfunction PaymentModes(data) {\n this.payModes = this.createPayModes(data);\n}\n\nPaymentModes.prototype = Object.assign(PaymentModes.prototype, {\n createPayModes(data) {\n const netbanking = data.filter(mode => mode.paymentType === 'NB' && mode.subModeNameUI);\n const creditCards = data.filter(mode => mode.paymentType === 'CC');\n const debitCards = data.filter(mode => mode.paymentType === 'DC');\n const upi = data.filter(mode => mode.paymentType === 'UPI');\n const wallets = data.filter(mode => mode.paymentType === 'WALLET');\n const accountVerification = data.filter(\n mode => mode.paymentType === 'ACCOUNT_VERIFICATION'\n );\n const emi = data.filter(\n mode => mode.paymentType === 'EMI_CC' && mode.subMode === 'CCEMI'\n );\n\n const debitCardBusinessSource = debitCards\n ? this.getBusinessSources(debitCards)\n : [];\n\n const emiBusinessSource = emi ? this.getBusinessSources(emi) : [];\n\n const creditCardBusinessSource = creditCards\n ? this.getBusinessSources(creditCards)\n : [];\n\n const upiBusinessSource = upi ? this.getBusinessSources(upi) : [];\n\n const upiAccountType =\n upi && upi.length > 0 && upi[0].txnConfig\n ? this.getBusinessSourcesToAccountTypeMapping(upi[0].txnConfig)\n : [];\n\n return {\n netbanking: this.sortOptions(netbanking),\n creditCards: this.sortOptions(creditCards),\n debitCards: this.sortOptions(debitCards),\n upi: this.sortOptions(upi),\n debitCardBusinessSource,\n creditCardBusinessSource,\n upiBusinessSource,\n upiAccountType,\n emiBusinessSource,\n wallets: this.sortOptions(wallets),\n accountVerification: this.sortOptions(accountVerification),\n emi: this.sortOptions(emi),\n };\n },\n getBusinessSourcesToAccountTypeMapping(txnConfig) {\n const txnConfigObj = {};\n\n for (const txn of txnConfig) {\n const businessSource = txn.businessSource;\n const accountTypes = txn.accountType.filter(type => type !== null);\n\n if (businessSource !== null && accountTypes.length > 0) {\n if (!txnConfigObj[businessSource]) {\n txnConfigObj[businessSource] = [];\n }\n\n txnConfigObj[businessSource].push(...accountTypes);\n }\n }\n return txnConfigObj;\n },\n getBusinessSources(paymentTypeArray) {\n return paymentTypeArray.length > 0 &&\n paymentTypeArray[0] &&\n paymentTypeArray[0].txnConfig\n ? paymentTypeArray[0].txnConfig\n .filter(config => config.businessSource)\n .map(config => config.businessSource)\n : [];\n },\n sortOptions(data) {\n if (data && data.length) {\n return orderBy(data, ['subModeNameUI'], ['asc']);\n }\n return data;\n },\n});\n\nexport default PaymentModes;\n","/* eslint-disable complexity */\n// Models\nimport Entity from '../models/entity';\nimport Timeline from '../models/timeline';\nimport PaymentModes from '../models/paymentModes';\nimport {\n getFlatEntities,\n createSurchargeOptions,\n} from '../../../utils/helperMethods';\n\nimport {\n FETCH_ENTITY_SUCCESS,\n FETCH_ENTITY_ERROR,\n SHOW_MERCHANT_LOADER,\n HIDE_MERCHANT_LOADER,\n FETCH_FORM_DETAILS_SUCCESS,\n FETCH_FORM_DETAILS_ERROR,\n FETCH_FORM_IN_PROCESS_SUCCESS,\n FETCH_FORM_IN_PROCESS_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST,\n FETCH_ENTITY_LIST_MERCHANT_ERROR,\n FETCH_ENTITY_HIERARCHY_SUCCESS,\n FETCH_ENTITY_HIERARCHY_ERROR,\n SAVE_AND_CONTINUE_SUCCESS,\n SAVE_AND_CONTINUE_ERROR,\n SAVE_AND_CONTINUE_REQUEST,\n CREATE_ENTITY_REQUEST,\n CREATE_ENTITY_SUCCESS,\n CREATE_ENTITY_ERROR,\n FETCH_PAYMENT_MODES_SUCCESS,\n FETCH_PAYMENT_MODES_ERROR,\n FETCH_SURCHARGE_SLABS_SUCCESS,\n FETCH_SURCHARGE_SLABS_ERROR,\n FETCH_DEFAULT_ROUTING_SUCCESS,\n FETCH_DEFAULT_ROUTING_ERROR,\n SET_UNIQUE_IDENTIFIER_SUCCESS,\n SET_UNIQUE_IDENTIFIER_ERROR,\n FETCH_ENTITY_HIERARCHY_MLE_SUCCESS,\n FETCH_ENTITY_HIERARCHY_MLE_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_MLE_SUCCESS,\n FETCH_ENTITY_LIST_MERCHANT_MLE_ERROR,\n RESET_SAVEDATA_SUCCESS_KEY,\n SUBMIT_FORM_SUCCESS,\n SUBMIT_FORM_ERROR,\n RETRY_FAILED_MERCHANT_FORM_SUCCESS,\n RETRY_FAILED_MERCHANT_FORM_ERROR,\n RESET_RETRY_FORM_STORE,\n SHOW_ENTITY_HIERARCHY_LOADER,\n HIDE_ENTITY_HIERARCHY_LOADER,\n SUBMIT_STEP_FORM_REQUEST,\n SUBMIT_STEP_FORM_SUCCESS,\n SUBMIT_STEP_FORM_ERROR,\n FETCH_BD_INPROGRESS_MERCHANT_SUCCESS,\n FETCH_BD_INPROGRESS_MERCHANT_ERROR,\n} from './merchantOnBoard.constants';\n\nexport const initialState = {\n tableData: [],\n pagination: {},\n error: {},\n timeline: {\n fields: [],\n error: {},\n },\n formInProcess: {},\n entityList: {},\n saveData: {\n isSuccess: false,\n },\n createEntity: {},\n paymentModes: {\n netbanking: [],\n creditCards: [],\n debitCards: [],\n },\n defaultRouting: [],\n surchargeOptions: {},\n uniqueIdentifier: {\n uniqueId: '',\n isInEditMode: false,\n error: {},\n },\n addRole: {},\n submitData: {\n isSuccess: false,\n },\n retryForm: {\n isSuccess: false,\n },\n hierarchyLoader: 0,\n listExecuting: 0,\n};\n\n// eslint-disable-next-line max-lines-per-function\nexport const merchantReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_ENTITY_SUCCESS: {\n const createEntity = new Entity(action.payload);\n return { ...state, ...createEntity, error: {} };\n }\n case FETCH_ENTITY_ERROR:\n return { ...state, ...action.payload };\n case FETCH_FORM_DETAILS_SUCCESS: {\n const timeline = new Timeline(action.payload);\n return { ...state, timeline: { ...timeline, error: {} } };\n }\n case FETCH_FORM_DETAILS_ERROR: {\n return { ...state, timeline: { ...action.payload } };\n }\n case FETCH_FORM_IN_PROCESS_SUCCESS: {\n return {\n ...state,\n formInProcess: { ...action.payload, error: {} },\n };\n }\n case FETCH_FORM_IN_PROCESS_ERROR: {\n return {\n ...state,\n formInProcess: { ...action.payload },\n };\n }\n case FETCH_ENTITY_LIST_MERCHANT_REQUEST:\n return { ...state, listExecuting: state.listExecuting + 1 };\n case FETCH_ENTITY_LIST_MERCHANT_SUCCESS: {\n const entities = { ...state.entityList, ...action.payload };\n return {\n ...state,\n entityList: entities,\n listExecuting: state.listExecuting - 1,\n };\n }\n\n case FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST: {\n const updatedEntities = [\n ...action.payload[action.entityType], \n ...state.entityList[action.entityType]\n ].reduce((acc, item) => {\n if (!acc.some(existing => existing.entityCode === item.entityCode)) {\n acc.push(item);\n }\n return acc;\n }, []);\n \n const entities = { \n ...state.entityList, \n [action.entityType]: updatedEntities\n };\n\n return {\n ...state,\n entityList: entities,\n listExecuting: state.listExecuting - 1,\n };\n }\n case FETCH_ENTITY_LIST_MERCHANT_ERROR: {\n return {\n ...state,\n entityList: { ...action.payload },\n listExecuting: state.listExecuting - 1,\n };\n }\n case FETCH_ENTITY_HIERARCHY_SUCCESS: {\n const flatEntities = getFlatEntities(\n action.payload,\n action.entityType\n );\n const entities = { ...state.entityList, ...flatEntities };\n console.log(entities, \"entitiesentities\");\n return { ...state, entityList: entities };\n }\n case FETCH_ENTITY_HIERARCHY_ERROR: {\n return { ...state, entityList: { ...action.payload } };\n }\n\n case FETCH_ENTITY_HIERARCHY_MLE_SUCCESS: {\n const flatEntities = getFlatEntities(\n action.payload,\n action.entityType\n );\n const entities = { ...state.addRole, ...flatEntities };\n return { ...state, addRole: entities };\n }\n\n case FETCH_ENTITY_HIERARCHY_MLE_ERROR: {\n return { ...state, addRole: { ...action.payload } };\n }\n\n case SAVE_AND_CONTINUE_REQUEST: {\n const saveData = { ...state.saveData, ...{ isSuccess: false } };\n return { ...state, saveData: { ...saveData } };\n }\n\n case SAVE_AND_CONTINUE_SUCCESS: {\n const saveData = {\n ...state.saveData,\n ...{ isSuccess: true, sectionType: action.sectionType },\n customisedReports:action.customisedReports\n };\n return {\n ...state,\n saveData: { ...saveData },\n formInProcess: { ...action.payload },\n };\n }\n\n case SAVE_AND_CONTINUE_ERROR: {\n const saveData = {\n ...state.saveData,\n ...{ isSuccess: false, ...action.payload },\n };\n return { ...state, saveData: { ...saveData } };\n }\n\n case CREATE_ENTITY_REQUEST: {\n const createEntity = {\n ...state.createEntity,\n ...{ isSuccess: false },\n };\n return { ...state, createEntity: { ...createEntity } };\n }\n\n case CREATE_ENTITY_SUCCESS: {\n const createEntity = {\n ...state.createEntity,\n ...{ isSuccess: true },\n };\n return { ...state, createEntity: { ...createEntity } };\n }\n\n case CREATE_ENTITY_ERROR: {\n const createEntity = {\n ...state.createEntity,\n ...{ isSuccess: false, ...action.payload },\n };\n return { ...state, createEntity: { ...createEntity } };\n }\n case FETCH_PAYMENT_MODES_SUCCESS:\n const paymentModes = new PaymentModes(action.payload.paymetModes);\n return { ...state, paymentModes: { ...paymentModes.payModes } };\n\n case FETCH_PAYMENT_MODES_ERROR:\n return { ...state, paymentModes: { ...action.payload } };\n\n case FETCH_SURCHARGE_SLABS_SUCCESS:\n const surchargeOptions = createSurchargeOptions(\n action.payload.basicSectionData.basicFees\n );\n return {\n ...state,\n surchargeOptions: {\n ...surchargeOptions,\n paymentOptionList: action.payload.paymentOptionList,\n schemes: action.payload.basicSectionData.schemes,\n cardCategoriesOptions:\n action?.payload?.basicSectionData?.cardCategories || [],\n },\n };\n\n case FETCH_SURCHARGE_SLABS_ERROR:\n return {\n ...state,\n surchargeOptions: { ...action.payload },\n };\n\n case FETCH_DEFAULT_ROUTING_SUCCESS:\n return {\n ...state,\n defaultRouting: [...action.payload.pgRoutingResponseList],\n };\n\n case FETCH_DEFAULT_ROUTING_ERROR:\n return {\n ...state,\n defaultRouting: { ...action.payload },\n };\n\n case SET_UNIQUE_IDENTIFIER_SUCCESS:\n return {\n ...state,\n uniqueIdentifier: {\n uniqueId: action.payload,\n isInEditMode: action.isEditMode,\n },\n };\n\n case SET_UNIQUE_IDENTIFIER_ERROR:\n return {\n ...state,\n uniqueIdentifier: { ...action.payload },\n };\n\n case FETCH_ENTITY_LIST_MERCHANT_MLE_SUCCESS: {\n const entities = { ...state.addRole, ...action.payload };\n return { ...state, addRole: entities };\n }\n case FETCH_ENTITY_LIST_MERCHANT_MLE_ERROR: {\n return {\n ...state,\n addRole: { error: { ...action.payload } },\n };\n }\n case SUBMIT_FORM_SUCCESS: {\n const submitData = {\n ...state.submitData,\n ...{ isSuccess: true },\n };\n return {\n ...state,\n submitData: { ...submitData },\n };\n }\n case SUBMIT_FORM_ERROR: {\n const submitData = {\n ...state.submitData,\n ...{ isSuccess: false, ...action.payload },\n };\n return { ...state, submitData: { ...submitData } };\n }\n\n case RESET_SAVEDATA_SUCCESS_KEY: {\n return { ...state, saveData: {} };\n }\n\n case SHOW_MERCHANT_LOADER:\n return { ...state, isLoading: true };\n\n case HIDE_MERCHANT_LOADER:\n return { ...state, isLoading: false };\n case RETRY_FAILED_MERCHANT_FORM_SUCCESS: {\n return { ...state, retryForm: { isSuccess: true } };\n }\n case RETRY_FAILED_MERCHANT_FORM_ERROR:\n return { ...state, retryForm: { isSuccess: false } };\n case RESET_RETRY_FORM_STORE:\n return { ...state, retryForm: { isSuccess: false } };\n case SHOW_ENTITY_HIERARCHY_LOADER:\n return { ...state, hierarchyLoader: state.hierarchyLoader + 1 };\n case HIDE_ENTITY_HIERARCHY_LOADER:\n return { ...state, hierarchyLoader: state.hierarchyLoader - 1 };\n\n case SUBMIT_STEP_FORM_REQUEST: {\n const saveData = { ...state.saveData, ...{ isSuccess: false } };\n return { ...state, saveData: { ...saveData } };\n }\n case SUBMIT_STEP_FORM_SUCCESS: {\n const saveData = {\n ...state.saveData,\n ...{ isSuccess: true, sectionType: action.sectionType },\n };\n return {\n ...state,\n saveData: { ...saveData },\n formInProcess: { ...action.payload },\n };\n }\n case SUBMIT_STEP_FORM_ERROR: {\n const saveData = {\n ...state.saveData,\n ...{ isSuccess: false, ...action.payload },\n };\n return { ...state, saveData: { ...saveData } };\n }\n case FETCH_BD_INPROGRESS_MERCHANT_ERROR:\n return { ...state, ...action.payload };\n case FETCH_BD_INPROGRESS_MERCHANT_SUCCESS:\n /* the 'forms' list and additional Entity properties. this will make sure to pick the form where it is left by the user */\n const formsList = action.payload.data.map(item => item.form);\n const formsPayload = { forms: formsList };\n const createEntity = new Entity(action.payload);\n return {\n ...state,\n ...createEntity,\n formInProcess: { ...formsPayload },\n error: {},\n };\n default:\n return state;\n }\n};\n","/* eslint-disable complexity */\nimport {\n GET_MERCHANT_INFO_SUCCESS,\n GET_MERCHANT_INFO_ERROR,\n FETCH_PG_CONFIG_EDIT_SUCCESS,\n FETCH_PG_CONFIG_EDIT_ERROR,\n FETCH_ROUTER_DETAILS_SUCCESS,\n FETCH_ROUTER_DETAILS_ERROR,\n FETCH_SURCHARGE_DETAILS_SUCCESS,\n FETCH_SURCHARGE_DETAILS_ERROR,\n UPDATE_MERCHANT_DATA_REQUEST,\n UPDATE_MERCHANT_DATA_SUCCESS,\n UPDATE_MERCHANT_DATA_ERROR,\n UPDATE_PG_CONFIG_DATA_REQUEST,\n UPDATE_PG_CONFIG_DATA_SUCCESS,\n UPDATE_PG_CONFIG_DATA_ERROR,\n UPDATE_ROUTING_DATA_REQUEST,\n UPDATE_ROUTING_DATA_SUCCESS,\n UPDATE_ROUTING_DATA_ERROR,\n UPDATE_SURCHARGE_DATA_REQUEST,\n UPDATE_SURCHARGE_DATA_SUCCESS,\n UPDATE_SURCHARGE_DATA_ERROR,\n UPDATE_SECTION_DETAILS_REQUEST,\n UPDATE_SECTION_DETAILS_SUCCESS,\n UPDATE_SECTION_DETAILS_ERROR,\n RESET_UPDATE_DATA_SUCCESS_KEY,\n GET_MERCHANT_SECTION_INFO_SUCCESS,\n GET_MERCHANT_SECTION_INFO_ERROR,\n SET_SELECTED_ENTITY_SUCCESS,\n SET_SELECTED_ENTITY_ERROR,\n UPDATE_SETTLEMENT_DATA_REQUEST,\n UPDATE_SETTLEMENT_DATA_SUCCESS,\n UPDATE_SETTLEMENT_DATA_ERROR,\n FETCH_BASIC_FORM_DATA_SUCCESS,\n ADD_MERCHANT_STEP_UPDATE_MAKER_REQUEST,\n ADD_MERCHANT_STEP_UPDATE_MAKER_SUCCESS,\n ADD_MERCHANT_STEP_UPDATE_MAKER_ERROR,\n} from './editMerchant.constants';\nimport { first } from 'lodash';\n\nexport const initialState = {\n sections: [],\n error: {},\n entityValues: {},\n updateData: {\n isUpdated: false,\n error: {},\n },\n basicFormData: {}, \n loading: false,\n\n};\n\nconst setSingleSection = (sections, payload) => {\n //console.log(payload,\"consoling payload in reducer \");\n const singleSection = first(payload);\n const filteredSection = sections.filter(\n item => item.type !== singleSection.type\n );\n return [...filteredSection, ...payload];\n};\n\nexport const editMerchantReducer = (state = initialState, action) => {\n const sections = state.sections.map(item => {\n \n })\n \n switch (action.type) {\n case GET_MERCHANT_INFO_SUCCESS: {\n return { ...state, sections: [...action.payload] };\n }\n case GET_MERCHANT_INFO_ERROR:\n return { ...state, ...action.payload };\n case FETCH_PG_CONFIG_EDIT_SUCCESS: {\n const sectionData = setSingleSection(\n state.sections,\n action.payload\n );\n return { ...state, sections: sectionData };\n }\n case FETCH_PG_CONFIG_EDIT_ERROR:\n return { ...state, ...action.payload };\n case FETCH_ROUTER_DETAILS_SUCCESS: {\n const sectionData = setSingleSection(\n state.sections,\n action.payload\n );\n return { ...state, sections: sectionData };\n }\n case FETCH_ROUTER_DETAILS_ERROR:\n return { ...state, ...action.payload };\n case FETCH_SURCHARGE_DETAILS_SUCCESS: {\n const sectionData = setSingleSection(\n state.sections,\n action.payload\n );\n return { ...state, sections: sectionData };\n }\n case GET_MERCHANT_SECTION_INFO_SUCCESS:\n const sectionData = setSingleSection(\n state.sections,\n action.payload\n );\n //console.log(state.sections,action.payload,\"consoling sssssssssss\");\n //console.log(sectionData,\"cosoling sectionData\");\n return { ...state, sections: sectionData };\n\n case GET_MERCHANT_SECTION_INFO_ERROR:\n return { ...state, ...action.payload };\n\n case FETCH_SURCHARGE_DETAILS_ERROR:\n return { ...state, ...action.payload };\n case UPDATE_PG_CONFIG_DATA_REQUEST:\n case UPDATE_MERCHANT_DATA_REQUEST:\n case UPDATE_ROUTING_DATA_REQUEST:\n case UPDATE_SETTLEMENT_DATA_REQUEST:\n case UPDATE_SURCHARGE_DATA_REQUEST:\n case UPDATE_SECTION_DETAILS_REQUEST: {\n const updateData = { ...state.updateData, ...{ isUpdated: false } };\n return { ...state, updateData: { ...updateData } };\n }\n case UPDATE_PG_CONFIG_DATA_SUCCESS:\n case UPDATE_MERCHANT_DATA_SUCCESS:\n case UPDATE_SECTION_DETAILS_SUCCESS:\n case UPDATE_ROUTING_DATA_SUCCESS:\n case UPDATE_SETTLEMENT_DATA_SUCCESS:\n case UPDATE_SURCHARGE_DATA_SUCCESS: {\n const updateData = {\n ...state.updateData,\n isUpdated: true,\n sectionType: action.sectionType,\n };\n return {\n ...state,\n updateData: { ...updateData },\n };\n }\n\n case UPDATE_PG_CONFIG_DATA_ERROR:\n case UPDATE_MERCHANT_DATA_ERROR:\n case UPDATE_ROUTING_DATA_ERROR:\n case UPDATE_SURCHARGE_DATA_ERROR:\n case UPDATE_SETTLEMENT_DATA_ERROR:\n case UPDATE_SECTION_DETAILS_ERROR: {\n const updateData = {\n ...state.updateData,\n ...action.payload,\n isUpdated: false,\n };\n return { ...state, updateData: { ...updateData } };\n }\n case RESET_UPDATE_DATA_SUCCESS_KEY: {\n return { ...state, updateData: { isUpdated: false, error: {} } };\n }\n case SET_SELECTED_ENTITY_SUCCESS: {\n return { ...state, entityValues: { ...action.payload } };\n }\n case SET_SELECTED_ENTITY_ERROR:\n return { ...state, ...action.payload };\n case FETCH_BASIC_FORM_DATA_SUCCESS:\n return { ...state, basicFormData: action.payload.basicSectionData};\n case ADD_MERCHANT_STEP_UPDATE_MAKER_REQUEST: {\n const updateData = { ...state.updateData, ...{ isUpdated: false } };\n return { ...state, updateData: { ...updateData } };\n }\n case ADD_MERCHANT_STEP_UPDATE_MAKER_SUCCESS: {\n const updateData = {\n ...state.updateData,\n isUpdated: true,\n sectionType: action.sectionType,\n };\n return {\n ...state,\n updateData: { ...updateData },\n };\n }\n case ADD_MERCHANT_STEP_UPDATE_MAKER_ERROR: {\n const updateData = {\n ...state.updateData,\n ...action.payload,\n isUpdated: false,\n };\n return { ...state, updateData: { ...updateData } };\n }\n default:\n return state;\n }\n};\n","import { getPgDate } from '../../../../utils/helperMethods';\nimport {\n FETCH_PG_CONFIG_SUCCESS,\n FETCH_PG_CONFIG_ERROR,\n SAVE_PG_DETAIL_SUCCESS,\n SAVE_PG_DETAIL_ERROR,\n UPDATE_PG_SUCCESS,\n UPDATE_PG_ERROR,\n UPDATE_PG_STATUS_SUCCESS,\n UPDATE_PG_STATUS_ERROR,\n RESET_SAVED_PGS,\n} from './pgConfig.constants';\n\nexport const initialState = {\n pgList: [],\n savedPgs: {},\n error: {},\n};\n\nconst updatePgsData = (pgList, payload, initialValues) => {\n const pgData = pgList.map(item => {\n if (item.uniqueId === payload) {\n const date = getPgDate(payload, initialValues);\n return { ...item, ...{ isConfigured: true, date } };\n }\n return item;\n });\n return pgData;\n};\n\nconst resetPgList = pgList => {\n const pgData = pgList.map(item => {\n return { ...item, ...{ isConfigured: false } };\n });\n return pgData;\n};\n\nconst isContainValues = values => {\n const keyValues = Object.assign({}, values);\n delete keyValues.status;\n delete keyValues.referenceId;\n delete keyValues.username;\n delete keyValues.soapKey;\n delete keyValues.accountPassword;\n delete keyValues.created;\n delete keyValues.lastUpdated;\n delete keyValues.isUpdated;\n\n return Object.values(keyValues).every(item => item);\n};\n\nconst updatePgsStatusData = (savedPgs, payload) => {\n const liveValue =\n (savedPgs && savedPgs[`${payload.uniqueId}ConfLive`]) || {};\n const testValue =\n (savedPgs && savedPgs[`${payload.uniqueId}ConfTest`]) || {};\n if (Object.keys(liveValue).length && isContainValues(liveValue)) {\n if (payload.values.includes('live')) {\n liveValue.status = liveValue.credentials.some(\n cred =>\n cred.status &&\n cred.status.length &&\n cred.status.includes('ENABLED')\n );\n }\n }\n\n if (Object.keys(testValue).length && isContainValues(testValue)) {\n if (payload.values.includes('test')) {\n testValue.status = testValue.credentials.some(\n cred =>\n cred.status &&\n cred.status.length &&\n cred.status.includes('ENABLED')\n );\n }\n }\n\n if (Object.keys(liveValue).length && isContainValues(liveValue)) {\n liveValue.isUpdated = true;\n savedPgs[`${payload.uniqueId}ConfLive`] = { ...liveValue };\n } else {\n delete savedPgs[`${payload.uniqueId}ConfLive`];\n }\n if (Object.keys(testValue).length && isContainValues(testValue)) {\n testValue.isUpdated = true;\n savedPgs[`${payload.uniqueId}ConfTest`] = { ...testValue };\n } else {\n delete savedPgs[`${payload.uniqueId}ConfTest`];\n }\n return savedPgs;\n};\n\nexport const pgConfigReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_PG_CONFIG_SUCCESS: {\n return { ...state, pgList: [...action.payload.pgDetails] };\n }\n case FETCH_PG_CONFIG_ERROR:\n return { ...state, ...action.payload };\n case SAVE_PG_DETAIL_SUCCESS: {\n const savedPgs = { ...state.savedPgs, ...action.payload };\n return { ...state, savedPgs };\n }\n case SAVE_PG_DETAIL_ERROR: {\n const error = { ...state, ...action.payload };\n return { ...state, ...error };\n }\n case UPDATE_PG_SUCCESS: {\n const updatedPgList = updatePgsData(\n state.pgList,\n action.payload,\n action.initialValues\n );\n return { ...state, pgList: [...updatedPgList] };\n }\n case UPDATE_PG_ERROR: {\n const error = { ...state, ...action.payload };\n return { ...state, ...error };\n }\n case UPDATE_PG_STATUS_SUCCESS: {\n const updatedSavedPgs = updatePgsStatusData(\n state.savedPgs,\n action.payload\n );\n return { ...state, savedPgs: { ...updatedSavedPgs } };\n }\n case UPDATE_PG_STATUS_ERROR: {\n const error = { ...state, ...action.payload };\n return { ...state, ...error };\n }\n case RESET_SAVED_PGS: {\n const savedPgs = { ...action.payload };\n const updatedPgList = resetPgList(state.pgList);\n return { ...state, savedPgs, pgList: [...updatedPgList] };\n }\n default:\n return state;\n }\n};\n","import { USER_STATUS, USER_LEVEL } from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction User(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nUser.prototype = Object.assign(User.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.userDetailsList &&\n tableData.userDetailsList.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { currentPage, totalRecord } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: currentPage,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalRecord,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n lastUpdatedBy,\n lastUpdatedDate,\n lastUpdatedByName,\n userCreatedBy,\n userCreatedByName,\n userCreatedDate,\n userDetails,\n userLevel,\n userRole,\n userRoleId,\n entityId,\n entityName,\n comment,\n level,\n parentUserId,\n } = row;\n const {\n userStatus,\n email,\n errorMessage,\n name,\n statusCode,\n userId,\n } = userDetails;\n return {\n lastUpdatedBy,\n lastUpdatedByName,\n entityId,\n lastUpdatedDate: this.convertDate(lastUpdatedDate),\n entityName,\n userCreatedBy,\n userCreatedByName,\n userCreatedDate: this.convertDate(userCreatedDate),\n userRole: this.getUserRole(userRoleId),\n userRoleName: this.getUserRole(userRole),\n userLevel: this.getUserLevel(userLevel),\n level: level,\n uLevel: level,\n supervisor: parentUserId,\n userStatus: this.getStatus(userStatus),\n email,\n errorMessage,\n name,\n statusCode,\n userId,\n comment,\n };\n },\n convertDate(date) {\n const dateString = moment(date).format('DD/MM/YYYY');\n return dateString;\n },\n getStatus(status) {\n return USER_STATUS[status];\n },\n getUserRole(role) {\n return role || '-';\n },\n getUserLevel(level) {\n // if (level === 'ADMIN') {\n // return 'Admin';\n // }\n return USER_LEVEL[level];\n },\n});\n\nexport default User;\n","function Roles(data) {\n this.list = this.createUserRoles(data);\n}\n\nRoles.prototype = Object.assign(Roles.prototype, {\n createUserRoles(rolesData) {\n return (\n rolesData &&\n rolesData.roleDetails &&\n rolesData.roleDetails\n .filter(roles => roles.roleStatus === 'ACTIVE')\n .map(row => this.createRow(row))\n );\n },\n createRow(row) {\n const { roleName, roleId } = row;\n return {\n name: roleName,\n value: roleId,\n };\n },\n});\n\nexport default Roles;\n","function EntityList(data) {\n this.list = this.createEntityList(data);\n}\n\nEntityList.prototype = Object.assign(EntityList.prototype, {\n createEntityList(rolesData) {\n return (\n rolesData &&\n rolesData.entities &&\n rolesData.entities\n .filter(entity => entity.status && entity.name)\n .map(row => this.createRow(row))\n );\n },\n createRow(row) {\n const { name, entityCode } = row;\n return {\n name,\n value: entityCode,\n };\n },\n});\n\nexport default EntityList;\n","/* eslint-disable function-paren-newline*/\nimport {\n USER_ACTIONS_MAP,\n USER_STATUS,\n USER_LEVEL,\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction UserMaker(data) {\n this.makerData = this.createTableData(data);\n this.makerPagination = this.createPaginationData(data);\n}\n\nUserMaker.prototype = Object.assign(UserMaker.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.makerCheckerUserResponseDetailDto &&\n tableData.makerCheckerUserResponseDetailDto.map(row =>\n this.createRow(row)\n )\n );\n },\n createPaginationData(data) {\n if (data) {\n const { currentPage, totalRecord } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: currentPage,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalRecord,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n email,\n checkerComment,\n makerComment,\n extUserDetailData,\n newUserDetailData,\n intentFor,\n requestCreationTime,\n requestId,\n makerName,\n } = row;\n const { name } = newUserDetailData;\n return {\n name,\n email,\n checkerComment,\n makerComment,\n extUserDetailData,\n newUserDetailData,\n intentFor,\n requestCreationTime,\n requestId,\n userCreatedUpdatedName: makerName || '-',\n userCreatedDate: this.convertDate(requestCreationTime),\n entityName: this.getEntityName(newUserDetailData),\n entityNameOld: this.getEntityName(extUserDetailData),\n userRoleName: this.getUserRole(newUserDetailData),\n userRoleNameOld: this.getUserRole(extUserDetailData),\n userLevel: this.getUserLevel(newUserDetailData),\n userLevelOld: this.getUserLevel(extUserDetailData),\n userStatus: this.getStatus(newUserDetailData),\n userStatusOld: this.getStatus(extUserDetailData),\n lastActions: this.getLastAction(intentFor),\n };\n },\n convertDate(date) {\n const dateString = moment(date).format('DD/MM/YYYY');\n return dateString;\n },\n\n getStatus(status) {\n if (status && status.userStatus) {\n return USER_STATUS[status.userStatus];\n }\n return 'Null';\n },\n\n getEntityName(entity) {\n if (entity && entity.entityName) {\n return entity.entityName;\n }\n return null;\n },\n\n getUserRole(role) {\n if (role && role.userRole) {\n return role.userRole;\n }\n return null;\n },\n\n getUserLevel(level) {\n if (level && level.userLevel) {\n return USER_LEVEL[level.userLevel];\n }\n\n return null;\n },\n\n getLastAction(action) {\n return USER_ACTIONS_MAP[action] || '-';\n },\n});\n\nexport default UserMaker;\n","function UserList(data) {\n this.list = this.createTableData(data);\n}\n\nUserList.prototype = Object.assign(UserList.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.userDetailsList &&\n tableData.userDetailsList.map(row => this.createRow(row))\n );\n },\n createRow(row) {\n const { userDetails } = row;\n const { userId, name } = userDetails;\n return {\n name,\n value: userId,\n };\n },\n});\n\nexport default UserList;\n","/* eslint-disable complexity */\n// Models\nimport User from '../models/user';\nimport Roles from '../models/roles';\nimport EntityList from '../models/entityList';\nimport UserMaker from '../models/userMaker';\n\nimport {\n FETCH_USER_REQUEST,\n FETCH_USER_SUCCESS,\n FETCH_USER_ERROR,\n HIDE_USER_LOADER,\n SHOW_USER_LOADER,\n CREATE_USER_REQUEST,\n CREATE_USER_SUCCESS,\n CREATE_USER_ERROR,\n CREATE_USER_RESET,\n UPDATE_USER_RESET,\n GET_USER_ROLES_SUCCESS,\n GET_USER_ROLES_ERROR,\n FETCH_ENTITY_LIST_REQUEST,\n FETCH_ENTITY_LIST_SUCCESS,\n FETCH_ENTITY_LIST_ERROR,\n UPDATE_USER_REQUEST,\n UPDATE_USER_SUCCESS,\n UPDATE_USER_ERROR,\n CREATE_ADMIN_USER_REQUEST,\n CREATE_ADMIN_USER_SUCCESS,\n CREATE_ADMIN_USER_ERROR,\n UPDATE_ADMIN_USER_REQUEST,\n UPDATE_ADMIN_USER_SUCCESS,\n UPDATE_ADMIN_USER_ERROR,\n FETCH_USER_MAKERS_SUCCESS,\n FETCH_USER_MAKERS_ERROR,\n FETCH_SYSTEM_USERS_SUCCESS,\n FETCH_SYSTEM_USERS_REQUEST,\n FETCH_SYSTEM_USERS_ERROR,\n} from './userManagement.constants';\nimport UserList from '../models/UserList';\n\nexport const initialState = {\n tableData: [],\n makerData: [],\n makerPagination: {},\n pagination: {},\n error: {},\n isLoading: false,\n createUser: {\n isSuccess: false,\n message: '',\n isLoading: false,\n data: {},\n },\n updateUser: {\n isSuccess: false,\n message: '',\n isLoading: false,\n data: {},\n },\n entityList: [],\n systemUserList: [],\n userRoles: { list: [] },\n};\n\nexport const userManagementReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_USER_REQUEST:\n return { ...state, error: {} };\n case FETCH_USER_SUCCESS: {\n const createUserData = new User(action.payload);\n return {\n ...state,\n ...createUserData,\n error: {},\n updateUser: { message: '', isLoading: false, isSuccess: false },\n createUser: { message: '', isLoading: false, isSuccess: false },\n };\n }\n case SHOW_USER_LOADER:\n return { ...state, isLoading: true };\n case HIDE_USER_LOADER:\n return { ...state, isLoading: false };\n case FETCH_USER_ERROR:\n return { ...initialState, ...action.payload };\n case CREATE_USER_REQUEST:\n return {\n ...state,\n createUser: { ...action.payload, isLoading: true },\n };\n case CREATE_USER_SUCCESS:\n return {\n ...state,\n error: {},\n createUser: {\n ...action.payload,\n isLoading: false,\n isSuccess: true,\n },\n };\n case CREATE_USER_ERROR:\n return {\n ...state,\n createUser: {\n ...action.payload,\n isLoading: false,\n isSuccess: false,\n },\n };\n case CREATE_ADMIN_USER_REQUEST:\n return {\n ...state,\n createUser: { ...action.payload, isLoading: true },\n };\n case CREATE_ADMIN_USER_SUCCESS:\n return {\n ...state,\n createUser: {\n ...action.payload,\n isLoading: false,\n isSuccess: true,\n },\n };\n case CREATE_ADMIN_USER_ERROR:\n return {\n ...state,\n createUser: {\n ...action.payload,\n isLoading: false,\n isSuccess: false,\n },\n };\n\n case FETCH_USER_MAKERS_SUCCESS:\n const makersList = new UserMaker(action.payload);\n return {\n ...state,\n error: {},\n ...makersList,\n };\n case FETCH_USER_MAKERS_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case CREATE_USER_RESET:\n return {\n ...state,\n createUser: {\n isSuccess: false,\n message: '',\n isLoading: false,\n data: {},\n },\n };\n case UPDATE_USER_RESET:\n return {\n ...state,\n updateUser: {\n isSuccess: false,\n message: '',\n isLoading: false,\n data: {},\n },\n };\n case GET_USER_ROLES_SUCCESS: {\n const roles = new Roles(action.payload);\n return { ...state, userRoles: roles };\n }\n case GET_USER_ROLES_ERROR: {\n const message = action.payload.error;\n return { ...state, createUser: { message } };\n }\n case FETCH_ENTITY_LIST_REQUEST:\n return { ...state, createUser: { message: '', isLoading: true } };\n case FETCH_ENTITY_LIST_SUCCESS: {\n const entity = new EntityList(action.payload);\n return { ...state, entityList: entity.list };\n }\n case FETCH_SYSTEM_USERS_SUCCESS: {\n const userOptions = new UserList(action.payload);\n return { ...state, systemUserList: userOptions.list };\n }\n case FETCH_SYSTEM_USERS_REQUEST: {\n return { ...state, systemUserList: [] };\n }\n case FETCH_SYSTEM_USERS_ERROR: {\n return { ...state, systemUserList: [] };\n }\n case FETCH_ENTITY_LIST_ERROR: {\n const message = action.payload.error;\n return {\n ...state,\n createUser: { message, isLoading: false },\n updateUser: {\n message,\n isLoading: false,\n isSuccess: false,\n },\n };\n }\n case UPDATE_USER_REQUEST:\n return {\n ...state,\n updateUser: { message: '', isLoading: true, isSuccess: false },\n };\n case UPDATE_USER_SUCCESS:\n return {\n ...state,\n updateUser: {\n ...action.payload,\n isLoading: false,\n isSuccess: true,\n },\n };\n case UPDATE_USER_ERROR:\n return {\n ...state,\n updateUser: {\n ...action.payload,\n isLoading: false,\n isSuccess: false,\n },\n };\n case UPDATE_ADMIN_USER_REQUEST:\n return {\n ...state,\n updateUser: { message: '', isLoading: true, isSuccess: false },\n };\n case UPDATE_ADMIN_USER_SUCCESS:\n return {\n ...state,\n updateUser: {\n ...action.payload,\n isLoading: false,\n isSuccess: true,\n },\n };\n case UPDATE_ADMIN_USER_ERROR:\n return {\n ...state,\n updateUser: {\n ...action.payload,\n isLoading: false,\n isSuccess: false,\n },\n };\n default:\n return state;\n }\n};\n","import { ROLE_STATUS } from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction Role(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nRole.prototype = Object.assign(Role.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.roleDetails &&\n tableData.roleDetails.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { currentPage, totalRecord } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: currentPage,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalRecord,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n roleUpdatedBy,\n roleUpdatedByName,\n roleUpdateionDate,\n roleCreatedBy,\n roleCreatedByName,\n roleCreationDate,\n resourceDetail,\n roleId,\n roleStatus,\n roleName,\n comment,\n } = row;\n return {\n lastUpdatedBy: roleUpdatedBy,\n lastUpdatedByName: roleUpdatedByName,\n lastUpdatedDate: this.convertDate(roleUpdateionDate),\n roleCreatedBy,\n roleCreatedByName,\n roleCreationDate: this.convertDate(roleCreationDate),\n resourceDetail,\n roleId,\n roleStatus: this.getStatus(roleStatus),\n roleName,\n comment,\n };\n },\n convertDate(date) {\n const dateString = moment(date).format('DD/MM/YYYY');\n return dateString;\n },\n getStatus(status) {\n return ROLE_STATUS[status];\n },\n});\n\nexport default Role;\n","/* eslint-disable function-paren-newline*/\nimport {\n ROLE_ACTIONS_MAP,\n ROLE_STATUS,\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction RoleMaker(data) {\n this.makerData = this.createTableData(data);\n this.makerPagination = this.createPaginationData(data);\n}\n\nRoleMaker.prototype = Object.assign(RoleMaker.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.makerCheckerRoleResponseDetailDto &&\n tableData.makerCheckerRoleResponseDetailDto.map(row =>\n this.createRow(row)\n )\n );\n },\n createPaginationData(data) {\n if (data) {\n const { currentPage, totalRecord } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: currentPage,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalRecord,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n roleName,\n checkerComment,\n makerComment,\n extRoleDetailData,\n newRoleDetailData,\n intentFor,\n requestCreationTime,\n requestId,\n makerName,\n } = row;\n return {\n roleName: roleName || '-',\n checkerComment,\n makerComment,\n extRoleDetailData,\n newRoleDetailData,\n intentFor,\n requestCreationTime,\n requestId: requestId || '-',\n roleCreatedUpdatedName: makerName || '-',\n roleCreatedDate: this.convertDate(requestCreationTime),\n roleStatus: this.getStatus(newRoleDetailData),\n roleStatusOld: this.getStatus(extRoleDetailData),\n lastActions: this.getLastAction(intentFor),\n resourceDetail: this.getResourceDetail(newRoleDetailData),\n resourceDetailOld: this.getResourceDetail(extRoleDetailData),\n };\n },\n\n convertDate(date) {\n const dateString = moment(date).format('DD/MM/YYYY');\n return dateString;\n },\n\n getStatus(status) {\n if (status && status.roleStatus) {\n return ROLE_STATUS[status.roleStatus];\n }\n\n return null;\n },\n\n getResourceDetail(resource) {\n return (resource && resource.resourceDetail) || [];\n },\n\n getLastAction(action) {\n return ROLE_ACTIONS_MAP[action] || '-';\n },\n});\n\nexport default RoleMaker;\n","// Models\nimport Role from '../models/role';\nimport RoleMakers from '../models/roleMakers';\n\nimport {\n FETCH_ROLES_REQUEST,\n FETCH_ROLES_SUCCESS,\n FETCH_ROLES_ERROR,\n HIDE_ROLE_LOADER,\n SHOW_ROLE_LOADER,\n CREATE_ROLE_REQUEST,\n CREATE_ROLE_SUCCESS,\n CREATE_ROLE_ERROR,\n CREATE_ROLE_RESET,\n UPDATE_ROLE_REQUEST,\n UPDATE_ROLE_SUCCESS,\n UPDATE_ROLE_ERROR,\n UPDATE_ROLE_RESET,\n FETCH_ALL_RESOURCE_PERMISSIONS_SUCCESS,\n FETCH_ALL_RESOURCE_PERMISSIONS_ERROR,\n FETCH_ROLE_MAKERS_SUCCESS,\n FETCH_ROLE_MAKERS_ERROR,\n} from './roleManagement.constants';\n\nexport const initialState = {\n tableData: [],\n pagination: {},\n makerData: [],\n makerPagination: {},\n error: {},\n isLoading: false,\n createRole: {\n message: '',\n isLoading: '',\n isSuccess: false,\n data: {},\n },\n updateRole: {\n message: '',\n isLoading: '',\n isSuccess: false,\n data: {},\n },\n allResourcePermissionDetails: [],\n};\n\nexport const roleManagementReducer = (state = initialState, action) => {\n switch (action.type) {\n // Fetch Roles\n case FETCH_ROLES_REQUEST:\n return { ...state, error: {} };\n case FETCH_ROLES_SUCCESS: {\n const createUserData = new Role(action.payload);\n return { ...state, ...createUserData, error: {} };\n }\n case FETCH_ROLES_ERROR:\n return {\n ...state,\n allResourcePermissionDetails:\n state.allResourcePermissionDetails,\n tableData: [],\n pagination: {},\n ...action.payload,\n };\n // Fetch Checkers\n case FETCH_ROLE_MAKERS_SUCCESS:\n const makersList = new RoleMakers(action.payload);\n return {\n ...state,\n ...makersList,\n error: {},\n };\n\n case FETCH_ROLE_MAKERS_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n\n // Create Role\n case CREATE_ROLE_REQUEST:\n return {\n ...state,\n createRole: { ...action.payload, isLoading: false },\n };\n case CREATE_ROLE_SUCCESS:\n return {\n ...state,\n createRole: { ...action.payload, isSuccess: true },\n };\n case CREATE_ROLE_ERROR:\n return { ...state, createRole: { ...action.payload } };\n case CREATE_ROLE_RESET:\n return {\n ...state,\n createRole: {\n message: '',\n isLoading: '',\n isSuccess: false,\n data: {},\n },\n };\n // Update Role\n case UPDATE_ROLE_REQUEST:\n return {\n ...state,\n updateRole: { message: '', isLoading: false },\n };\n case UPDATE_ROLE_SUCCESS:\n return {\n ...state,\n updateRole: { ...action.payload, isSuccess: true },\n };\n case UPDATE_ROLE_ERROR:\n return { ...state, updateRole: { ...action.payload } };\n case UPDATE_ROLE_RESET:\n return {\n ...state,\n updateRole: {\n message: '',\n isLoading: '',\n isSuccess: false,\n data: {},\n },\n };\n // Get All Resource Permissions\n case FETCH_ALL_RESOURCE_PERMISSIONS_SUCCESS:\n return {\n ...state,\n allResourcePermissionDetails:\n action.payload.allResourcePermissionDetail,\n };\n case FETCH_ALL_RESOURCE_PERMISSIONS_ERROR:\n const message = action.payload.error;\n return { ...state, createRole: { message } };\n // Fetching Loader\n case SHOW_ROLE_LOADER:\n return { ...state, isLoading: true };\n case HIDE_ROLE_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","import {\n DEFAULT_CURRENCY,\n TRANSACTION_STATUS,\n TRANSACTION_TYPE,\n} from '../../../utils/constants/commonValues';\n\nimport moment from 'moment';\n\nfunction TransactionList(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nTransactionList.prototype = Object.assign(TransactionList.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.transactionViewList &&\n tableData.transactionViewList.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n customerID,\n customerName,\n maskedCardNumber,\n merchantId,\n merchantName,\n message,\n orderId,\n paymentMode,\n platform,\n rrnArn,\n statusCode,\n transactionAmount,\n transactionDateAndTime,\n transactionReferenceNumber,\n transactionStatus,\n transactionType,\n splitPay,\n payeeVpa,\n payerVpa,\n loanAmount,\n emiAmount,\n emiBankInterest,\n emiValue,\n emiInterestPaid,\n tenure,\n transactionSubMode,\n accountType,\n terminalId,\n } = row;\n return {\n customerID: customerID || '-',\n customerName: customerName || '-',\n maskedCardNumber: maskedCardNumber || '-',\n merchantName: merchantName || '-',\n merchantId: merchantId || '',\n message: message || '-',\n orderId: orderId || '-',\n paymentMode: paymentMode || '-',\n platform: platform || '-',\n rrnArn: rrnArn || '-',\n statusCode: statusCode || '-',\n transactionAmount: transactionAmount\n ? `${DEFAULT_CURRENCY} ${transactionAmount}`\n : '-',\n amount: transactionAmount,\n transactionDateAndTime:\n moment(\n transactionDateAndTime,\n 'YYYY-MM-DD HH:mm:ss.SSSSSS'\n ).format('YYYY-MM-DD HH:mm:ss') || '-',\n transactionReferenceNumber: transactionReferenceNumber || '-',\n transactionStatus: this.getTransactionStatus(transactionStatus),\n transactionType: this.getTransactionType(transactionType),\n splitPay: splitPay || [],\n payeeVpa,\n payerVpa,\n loanAmount,\n emiAmount,\n emiBankInterest,\n emiValue,\n emiInterestPaid,\n tenure,\n transactionSubMode,\n instrumentInfo:\n maskedCardNumber && maskedCardNumber !== '-'\n ? maskedCardNumber\n : payerVpa,\n accountType,\n terminalId: terminalId || '-',\n };\n },\n getTransactionStatus(status) {\n if (!status) {\n return '-';\n }\n return TRANSACTION_STATUS[status];\n },\n getTransactionType(type) {\n if (!type) {\n return '-';\n }\n\n return TRANSACTION_TYPE[type];\n },\n});\n\nexport default TransactionList;\n","import {\n DEFAULT_CURRENCY,\n TRANSACTION_STATUS,\n TRANSACTION_TYPE,\n} from '../../../utils/constants/commonValues';\n\nfunction TransactionStatusData(data) {\n this.details = data && this.createData(data);\n}\n\nTransactionStatusData.prototype = Object.assign(\n TransactionStatusData.prototype,\n {\n createData(data) {\n const viewDetails = {\n statusMessage: '',\n transactionAmount: '',\n currency: '',\n orderId: '',\n statusCode: '',\n surchargeInfo: null,\n tags: null,\n transactionReferenceNumber: null,\n transactionType: '',\n };\n const { ltxnStatusInfo, transactionStatus } = data;\n if (ltxnStatusInfo && ltxnStatusInfo.data) {\n const { data, statusMessage, statusCode } = ltxnStatusInfo;\n const {\n amount,\n currency,\n merchantTxnId,\n surchargeInfo,\n tags,\n txnReferenceId,\n txnType,\n } = data;\n viewDetails.statusMessage = statusMessage || '';\n viewDetails.statusCode = statusCode || '';\n viewDetails.transactionAmount = amount\n ? `${DEFAULT_CURRENCY} ${amount}`\n : '';\n viewDetails.currency = currency || '';\n viewDetails.orderId = merchantTxnId || '';\n viewDetails.surchargeInfo = surchargeInfo || '';\n viewDetails.tags = tags || '';\n viewDetails.transactionReferenceNumber = txnReferenceId || '';\n viewDetails.transactionType = this.getTransactionType(txnType);\n }\n return {\n ...viewDetails,\n transactionStatus: this.getTransactionStatus(transactionStatus),\n };\n },\n getTransactionStatus(status) {\n if (!status) {\n return '';\n }\n return TRANSACTION_STATUS[status];\n },\n getTransactionType(type) {\n if (!type) {\n return '';\n }\n\n return TRANSACTION_TYPE[type];\n },\n }\n);\n\nexport default TransactionStatusData;\n","// Models\nimport { updateTxnStatus } from '../../../utils/helperMethods';\nimport TransactionList from '../models/transactionList';\nimport TransactionStatusData from '../models/transactionStatusData';\n\nimport {\n FETCH_TRANSACTIONS_REQUEST,\n FETCH_TRANSACTIONS_SUCCESS,\n FETCH_TRANSACTIONS_ERROR,\n HIDE_TRANSACTION_LOADER,\n SHOW_TRANSACTION_LOADER,\n GENERATE_REPORT_REQUEST,\n GENERATE_REPORT_SUCCESS,\n GENERATE_REPORT_ERROR,\n GET_ACTIVE_REPORT_SUCCESS,\n GET_ACTIVE_REPORT_ERROR,\n DOWNLOAD_REPORT_SUCCESS,\n DOWNLOAD_REPORT_ERROR,\n FETCH_TRANSACTIONS_STATUS_SUCCESS,\n FETCH_TRANSACTIONS_STATUS_ERROR,\n RESET_TRANSACTION_STATE,\n GET_REFUND_TXN_SUCCESS,\n RESET_REFUND_TXN,\n} from './transactions.constants';\n\nconst initialState = {\n tableData: [],\n pagination: {},\n error: {},\n statusData: {\n details: {},\n error: {},\n },\n refundTxnData: {\n details: [],\n error: {},\n },\n generatedFile: {\n isSuccess: false,\n error: {},\n },\n activeReports: {\n reports: {},\n error: {},\n },\n downloadReport: {},\n isLoading: false,\n};\n\nconst getActiveReports = reports => {\n const reportsAll = {};\n if (reports.reportsList.length) {\n reportsAll.generating = reports.reportsList.filter(\n item => item.requestStatus !== 'COMPLETED'\n );\n reportsAll.complete = reports.reportsList.filter(\n item => item.requestStatus === 'COMPLETED'\n );\n }\n return reportsAll;\n};\n\nexport const transactionsReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_TRANSACTIONS_SUCCESS: {\n const createTransactionData = new TransactionList(action.payload);\n return {\n ...state,\n ...createTransactionData,\n error: {},\n };\n }\n case FETCH_TRANSACTIONS_REQUEST:\n return {\n ...state,\n error: {},\n };\n case FETCH_TRANSACTIONS_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case FETCH_TRANSACTIONS_STATUS_SUCCESS:\n const viewTransactionData = new TransactionStatusData(\n action.payload\n );\n\n const updatedTableData = updateTxnStatus(\n state.tableData,\n viewTransactionData\n );\n\n return {\n ...state,\n statusData: { ...viewTransactionData },\n tableData: updatedTableData,\n };\n case FETCH_TRANSACTIONS_STATUS_ERROR:\n return {\n ...state,\n statusData: { details: {}, error: { ...action.payload } },\n };\n case GENERATE_REPORT_REQUEST:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case GENERATE_REPORT_SUCCESS:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: true },\n };\n case GENERATE_REPORT_ERROR:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case GET_ACTIVE_REPORT_SUCCESS:\n return {\n ...state,\n activeReports: { reports: getActiveReports(action.payload) },\n };\n case GET_ACTIVE_REPORT_ERROR:\n return {\n ...state,\n activeReports: { ...action.payload },\n };\n case RESET_REFUND_TXN:\n return {\n ...state,\n refundTxnData: initialState.refundTxnData,\n };\n case DOWNLOAD_REPORT_SUCCESS:\n return {\n ...state,\n downloadReport: { fileUrl: { ...action.payload } },\n };\n case DOWNLOAD_REPORT_ERROR:\n return {\n ...state,\n downloadReport: { ...action.payload },\n };\n case GET_REFUND_TXN_SUCCESS:\n return {\n ...state,\n refundTxnData: {\n details: [...action.payload.refundViewResponseList],\n error: {},\n },\n };\n case SHOW_TRANSACTION_LOADER:\n return { ...state, isLoading: true };\n case HIDE_TRANSACTION_LOADER:\n return { ...state, isLoading: false };\n case RESET_TRANSACTION_STATE:\n return initialState;\n default:\n return state;\n }\n};\n","function AdjustmentList(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nAdjustmentList.prototype = Object.assign(AdjustmentList.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.merchantAdjustmentViewList &&\n tableData.merchantAdjustmentViewList.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n merchantName,\n merchantId,\n adjustmentId,\n adjustmentType,\n adjustmentCategory,\n adjustmentDateAndTime,\n adjustmentAmount,\n remark,\n } = row;\n return {\n merchantName: merchantName || '-',\n merchantId: merchantId || '',\n adjustmentId: adjustmentId || '',\n adjustmentcategory: adjustmentCategory || '',\n adjustmentType: adjustmentType || '',\n adjustmentDateAndTime: adjustmentDateAndTime || '',\n adjustmentAmount: adjustmentAmount || '',\n remark: remark || '',\n };\n },\n});\n\nexport default AdjustmentList;\n","// Models\nimport adjustmentList from '../models/adjustmentsList';\n\nimport {\n FETCH_ADJUSTMENTS_REQUEST,\n FETCH_ADJUSTMENTS_SUCCESS,\n FETCH_ADJUSTMENTS_ERROR,\n HIDE_ADJUSTMENT_LOADER,\n SHOW_ADJUSTMENT_LOADER,\n GENERATE_ADJUSTMENT_REPORT_REQUEST,\n GENERATE_ADJUSTMENT_REPORT_SUCCESS,\n GENERATE_ADJUSTMENT_REPORT_ERROR,\n RESET_ADJUSTMENT_STATE,\n CREATE_ADJUSTMENT_SUCCESS,\n CREATE_ADJUSTMENT_ERROR,\n CREATE_ADJUSTMENT_RESET,\n} from './adjustments.constants';\n\nconst initialState = {\n tableData: [],\n pagination: {},\n error: {},\n statusData: {\n details: {},\n error: {},\n },\n generatedFile: {\n isSuccess: false,\n error: {},\n },\n activeReports: {\n reports: {},\n error: {},\n },\n createAdjustment: {\n isLoading: false,\n isSuccess: false,\n },\n downloadReport: {},\n isLoading: false,\n};\n\nexport const adjustmentsReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_ADJUSTMENTS_SUCCESS: {\n const createAdjustmentData = new adjustmentList(action.payload);\n return {\n ...state,\n ...createAdjustmentData,\n error: {},\n };\n }\n case FETCH_ADJUSTMENTS_REQUEST:\n return {\n ...state,\n error: {},\n };\n case FETCH_ADJUSTMENTS_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case GENERATE_ADJUSTMENT_REPORT_REQUEST:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case GENERATE_ADJUSTMENT_REPORT_SUCCESS:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: true },\n };\n case GENERATE_ADJUSTMENT_REPORT_ERROR:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case CREATE_ADJUSTMENT_SUCCESS:\n return {\n ...state,\n error: {},\n createAdjustment: {\n ...action.payload,\n isLoading: false,\n isSuccess: true,\n },\n };\n case CREATE_ADJUSTMENT_ERROR:\n return {\n ...state,\n createAdjustment: {\n ...action.payload,\n isLoading: false,\n isSuccess: false,\n },\n };\n case CREATE_ADJUSTMENT_RESET:\n return {\n ...state,\n createAdjustment: {\n isSuccess: false,\n message: '',\n isLoading: false,\n data: {},\n },\n };\n case SHOW_ADJUSTMENT_LOADER:\n return { ...state, isLoading: true };\n case HIDE_ADJUSTMENT_LOADER:\n return { ...state, isLoading: false };\n case RESET_ADJUSTMENT_STATE:\n return initialState;\n default:\n return state;\n }\n};\n","import {\n DEFAULT_CURRENCY,\n TRANSACTION_STATUS,\n TRANSACTION_TYPE,\n} from '../../../utils/constants/commonValues';\n\nfunction RefundList(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nRefundList.prototype = Object.assign(RefundList.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.transactionViewList &&\n tableData.transactionViewList.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n customerID,\n customerName,\n maskedCardNumber,\n merchantName,\n message,\n orderId,\n paymentMode,\n platform,\n rrnArn,\n statusCode,\n transactionAmount,\n transactionDateAndTime,\n transactionReferenceNumber,\n transactionStatus,\n transactionType,\n merchantId,\n } = row;\n return {\n merchantId,\n customerID: customerID || '-',\n customerName: customerName || '-',\n maskedCardNumber: maskedCardNumber || '-',\n merchantName: merchantName || '-',\n message: message || '-',\n orderId: orderId || '-',\n paymentMode: paymentMode || '-',\n platform: platform || '-',\n rrnArn: rrnArn || '-',\n statusCode: statusCode || '-',\n transactionAmount: transactionAmount\n ? `${DEFAULT_CURRENCY} ${transactionAmount}`\n : '-',\n amount: transactionAmount,\n transactionDateAndTime: transactionDateAndTime || '-',\n transactionReferenceNumber,\n transactionStatus: this.getTransactionStatus(transactionStatus),\n transactionType: this.getTransactionType(transactionType),\n };\n },\n getTransactionStatus(status) {\n if (!status) {\n return '-';\n }\n return TRANSACTION_STATUS[status];\n },\n getTransactionType(type) {\n if (!type) {\n return '-';\n }\n\n return TRANSACTION_TYPE[type];\n },\n});\n\nexport default RefundList;\n","// Models\nimport RefundList from '../models/refundList';\n\nimport {\n FETCH_REFUND_REQUEST,\n FETCH_REFUND_SUCCESS,\n FETCH_REFUND_ERROR,\n HIDE_REFUND_LOADER,\n SHOW_REFUND_LOADER,\n INITIATE_REFUND_SUCCESS,\n INITIATE_REFUND_ERROR,\n} from './refund.constants';\n\nconst initialState = {\n tableData: [],\n pagination: {},\n error: {},\n refundStatus: {\n isSuccess: false,\n message: '',\n },\n isLoading: false,\n};\n\nexport const refundReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_REFUND_REQUEST:\n return {\n ...state,\n error: {},\n };\n case FETCH_REFUND_SUCCESS: {\n const createRefundData = new RefundList(action.payload);\n return {\n ...state,\n ...createRefundData,\n error: {},\n };\n }\n case FETCH_REFUND_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case INITIATE_REFUND_SUCCESS: {\n const refundStatus = { isSuccess: true, error: {} };\n return {\n ...state,\n refundStatus: { ...refundStatus },\n error: {},\n };\n }\n case INITIATE_REFUND_ERROR: {\n const refundStatus = { isSuccess: false, ...action.payload };\n return {\n ...state,\n refundStatus: { ...refundStatus },\n };\n }\n case SHOW_REFUND_LOADER:\n return { ...state, isLoading: true };\n case HIDE_REFUND_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","/* eslint-disable function-paren-newline*/\nimport {\n USER_ACTIONS_MAP,\n USER_STATUS,\n USER_LEVEL,\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction UserVerified(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nUserVerified.prototype = Object.assign(UserVerified.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.makerCheckerUserResponseDetailDto &&\n tableData.makerCheckerUserResponseDetailDto.map(row =>\n this.createRow(row)\n )\n );\n },\n createPaginationData(data) {\n if (data) {\n const { currentPage, totalRecord } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: currentPage,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalRecord,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n makerName,\n requestId,\n requestCreationTime,\n newUserDetailData,\n makerComment,\n intentFor,\n extUserDetailData,\n email,\n checkerComment,\n } = row;\n const { name } = newUserDetailData;\n return {\n extUserDetailData,\n intentFor,\n userCreatedUpdate: makerName || '-',\n lastActions: this.getLastAction(intentFor),\n userCreatedDate: this.convertDate(requestCreationTime),\n email,\n name,\n requestId,\n checkerComment,\n makerComment,\n entityName: this.getEntityName(newUserDetailData),\n entityNameOld: this.getEntityName(extUserDetailData),\n userRoleName: this.getUserRole(newUserDetailData),\n userRoleNameOld: this.getUserRole(extUserDetailData),\n userLevel: this.getUserLevel(newUserDetailData),\n userLevelOld: this.getUserLevel(extUserDetailData),\n userStatus: this.getStatus(newUserDetailData),\n userStatusOld: this.getStatus(extUserDetailData),\n };\n },\n convertDate(date) {\n const dateString = moment(date).format('DD/MM/YYYY');\n return dateString;\n },\n\n getStatus(status) {\n if (status && status.userStatus) {\n return USER_STATUS[status.userStatus];\n }\n\n return null;\n },\n\n getEntityName(entity) {\n if (entity && entity.entityName) {\n return entity.entityName;\n }\n return null;\n },\n\n getUserRole(role) {\n if (role && role.userRole) {\n return role.userRole;\n }\n return null;\n },\n\n getUserLevel(level) {\n if (level && level.userLevel) {\n return USER_LEVEL[level.userLevel];\n }\n\n return null;\n },\n\n getLastAction(action) {\n return USER_ACTIONS_MAP[action] || '-';\n },\n});\n\nexport default UserVerified;\n","// Models\nimport UserVerified from '../models/userVerified';\n\nimport {\n FETCH_VERIFIED_USER_REQUEST,\n FETCH_VERIFIED_USER_SUCCESS,\n FETCH_VERIFIED_USER_ERROR,\n HIDE_VERIFIED_USER_LOADER,\n SHOW_VERIFIED_USER_LOADER,\n} from './userVerification.constants';\n\nconst initialState = {\n tableData: [],\n pagination: {},\n error: {},\n isLoading: false,\n};\n\nexport const userVerificationReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_VERIFIED_USER_REQUEST:\n return {\n ...state,\n error: {},\n };\n case FETCH_VERIFIED_USER_SUCCESS: {\n const createUserData = new UserVerified(action.payload);\n return {\n ...state,\n ...createUserData,\n error: {},\n updateUser: { isSuccess: false },\n };\n }\n case SHOW_VERIFIED_USER_LOADER:\n return { ...state, isLoading: true };\n case HIDE_VERIFIED_USER_LOADER:\n return { ...state, isLoading: false };\n case FETCH_VERIFIED_USER_ERROR:\n return {\n ...initialState,\n ...action.payload,\n updateUser: { isSuccess: false },\n };\n default:\n return state;\n }\n};\n","/* eslint-disable function-paren-newline*/\nimport {\n USER_STATUS,\n ROLE_ACTIONS_MAP,\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction RoleChecker(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nRoleChecker.prototype = Object.assign(RoleChecker.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.makerCheckerRoleResponseDetailDto &&\n tableData.makerCheckerRoleResponseDetailDto.map(row =>\n this.createRow(row)\n )\n );\n },\n createPaginationData(data) {\n if (data) {\n const { currentPage, totalRecord } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: currentPage,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalRecord,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n makerName,\n requestId,\n roleName,\n email,\n requestCreationTime,\n intentFor,\n newRoleDetailData,\n extRoleDetailData,\n makerComment,\n checkerComment,\n } = row;\n return {\n roleName: roleName || '-',\n requestId: requestId || '-',\n extRoleDetailData,\n newRoleDetailData,\n intentFor,\n email,\n checkerComment,\n makerComment,\n roleCreatedUpdate: makerName || '-',\n roleCreatedDate: this.convertDate(requestCreationTime),\n lastActions: this.getLastAction(intentFor),\n roleStatusNew: this.getStatus(newRoleDetailData),\n roleStatusOld: this.getStatus(extRoleDetailData),\n resourceDetail: this.getResourceDetail(newRoleDetailData),\n resourceDetailOld: this.getResourceDetail(extRoleDetailData),\n };\n },\n convertDate(date) {\n const dateString = moment(date).format('DD/MM/YYYY');\n return dateString;\n },\n getStatus(status) {\n if (status && status.roleStatus) {\n return USER_STATUS[status.roleStatus];\n }\n\n return null;\n },\n getResourceDetail(resource) {\n return (resource && resource.resourceDetail) || [];\n },\n getUserByName(createdBY, updatedBy) {\n if (updatedBy) {\n return updatedBy;\n }\n return createdBY;\n },\n getLastAction(action) {\n return ROLE_ACTIONS_MAP[action] || '-';\n },\n});\n\nexport default RoleChecker;\n","// Models\nimport RoleChecker from '../models/roleChecker';\n\nimport {\n FETCH_ROLE_CHECKER_SUCCESS,\n FETCH_ROLE_CHECKER_ERROR,\n HIDE_ROLE_CHECKER_LOADER,\n SHOW_ROLE_CHECKER_LOADER,\n UPDATE_INTENT_REQUEST,\n UPDATE_INTENT_SUCCESS,\n UPDATE_INTENT_ERROR,\n} from './roleVerification.constants';\n\nconst initialState = {\n tableData: [],\n pagination: {},\n error: {},\n isLoading: false,\n updateIntent: {\n error: {},\n isLoading: '',\n isSuccess: false,\n },\n};\n\nexport const roleVerificationReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_ROLE_CHECKER_SUCCESS: {\n const roleChecker = new RoleChecker(action.payload);\n return {\n ...state,\n ...roleChecker,\n error: {},\n };\n }\n case FETCH_ROLE_CHECKER_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n // UpdateIntent\n case UPDATE_INTENT_SUCCESS:\n return {\n ...state,\n updateIntent: { ...action.payload, isSuccess: true },\n };\n case UPDATE_INTENT_ERROR:\n return { ...state, updateIntent: { ...action.payload } };\n\n case SHOW_ROLE_CHECKER_LOADER:\n return { ...state, isLoading: true };\n case HIDE_ROLE_CHECKER_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","import moment from 'moment';\n\nfunction ComDetails(data) {\n this.entityData = data.entityData;\n this.email = this.createEmail(data);\n this.webhook = this.createWebhook(data);\n this.sms = this.createSms(data);\n}\n\nComDetails.prototype = Object.assign(ComDetails.prototype, {\n createEmail(tableData) {\n return (\n tableData &&\n tableData.profileData &&\n tableData.profileData.EMAIL &&\n tableData.profileData.EMAIL.map(row => this.createRow(row))\n );\n },\n createWebhook(tableData) {\n return (\n tableData &&\n tableData.profileData &&\n tableData.profileData.WEBHOOK &&\n tableData.profileData.WEBHOOK.map(row => this.createRow(row))\n );\n },\n createSms(tableData) {\n return (\n tableData &&\n tableData.profileData &&\n tableData.profileData.SMS &&\n tableData.profileData.SMS.map(row => this.createRow(row))\n );\n },\n createRow(row) {\n const {\n data,\n noOfMerchants,\n linkedEntities,\n createdOn,\n updatedOn,\n createdBy,\n updatedBy,\n } = row;\n return {\n noOfMerchants: noOfMerchants || '-',\n linkedEntities: linkedEntities || '-',\n createdOn: this.formatData(createdOn) || '-',\n updatedOn: this.formatData(updatedOn) || '-',\n createdBy,\n updatedBy,\n type: (data && data.type) || '-',\n eventsListView: (data && this.formatEvents(data.eventsList)) || '-',\n identifier: (data && data.identifier) || '-',\n status: (data && this.formatStatus(data.status)) || '-',\n eventsList: data.eventsList,\n comments: data.comments,\n version: data.version\n };\n },\n formatEvents(eventsList) {\n if (eventsList && eventsList.length) {\n return eventsList.join(', ');\n }\n return '-';\n },\n\n formatStatus(status) {\n if (status) {\n return 'Active';\n }\n return 'Inactive';\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY');\n },\n});\n\nexport default ComDetails;\n","// Models\nimport ComDetails from '../model/comDetails';\n\nimport {\n FETCH_NOTIFICATION_EVENT_SUCCESS,\n FETCH_NOTIFICATION_EVENT_ERROR,\n ADD_COMM_PROFILE_SUCCESS,\n ADD_COMM_PROFILE_ERROR,\n FETCH_COMM_PROFILE_SUCCESS,\n FETCH_COMM_PROFILE_ERROR,\n UPDATE_COMM_PROFILE_SUCCESS,\n UPDATE_COMM_PROFILE_ERROR,\n HIDE_COMM_PROFILE_LOADER,\n SHOW_COMM_PROFILE_LOADER,\n} from './commProfile.constants';\n\nexport const initialState = {\n notificationEvents: {\n eventList: [],\n },\n isLoading: false,\n error: {},\n addCommProfile: {\n isSuccess: false,\n error: {},\n isLoading: false,\n },\n updateCommProfile: {\n isSuccess: false,\n error: {},\n isLoading: false,\n },\n};\n\nexport const commProfileReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_NOTIFICATION_EVENT_SUCCESS: {\n return {\n ...state,\n notificationEvents: { eventList: [...action.payload] },\n };\n }\n case FETCH_NOTIFICATION_EVENT_ERROR:\n return {\n ...state,\n notificationEvents: { ...action.payload },\n };\n case ADD_COMM_PROFILE_SUCCESS: {\n return {\n ...state,\n addCommProfile: { isSuccess: true, ...action.payload },\n };\n }\n case ADD_COMM_PROFILE_ERROR:\n return {\n ...state,\n addCommProfile: { isSuccess: false, ...action.payload },\n };\n case UPDATE_COMM_PROFILE_SUCCESS: {\n return {\n ...state,\n updateCommProfile: { isSuccess: true, ...action.payload },\n };\n }\n case UPDATE_COMM_PROFILE_ERROR:\n return {\n ...state,\n updateCommProfile: { isSuccess: false, ...action.payload },\n };\n case FETCH_COMM_PROFILE_SUCCESS: {\n const commDetails = new ComDetails(action.payload);\n return {\n ...state,\n ...commDetails,\n error: {},\n };\n }\n case FETCH_COMM_PROFILE_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case SHOW_COMM_PROFILE_LOADER:\n return { ...state, isLoading: true };\n case HIDE_COMM_PROFILE_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","import moment from 'moment';\n\nfunction BinStatus(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nBinStatus.prototype = Object.assign(BinStatus.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.fileProcessStatus &&\n tableData.fileProcessStatus.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data && data.totalRecordCount) {\n const {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n sortingCriteria,\n totalNumberOfPages,\n totalRecordCount,\n } = data;\n return {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n sortingCriteria,\n totalNumberOfPages,\n totalNumberOfRecords: totalRecordCount || 0,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n failRecordCount,\n fileName,\n requestId,\n requestStaus,\n successRecordCount,\n totalRecordCount,\n uplodedDate,\n } = row;\n return {\n failRecordCount,\n fileName: fileName || '-',\n requestId: requestId || '-',\n requestStaus: this.formatStatus(requestStaus) || '-',\n successRecordCount,\n totalRecordCount,\n uplodedDate: this.formatData(uplodedDate) || '-',\n };\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY');\n },\n formatStatus(status) {\n if (status === 'COMPLETED') {\n return 'Completed';\n }\n if (status === 'IN_PROCESS') {\n return 'Inprocess';\n }\n if (status === 'INITIATED') {\n return 'Initiated';\n }\n return '-';\n },\n});\n\nexport default BinStatus;\n","import moment from 'moment';\n\nfunction SearchBin(data) {\n this.tableDataSearch = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nSearchBin.prototype = Object.assign(SearchBin.prototype, {\n createTableData(tableDataSearch) {\n return (\n tableDataSearch &&\n tableDataSearch.recentResults &&\n tableDataSearch.recentResults.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data && data.totalRecordCount) {\n const {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n sortingCriteria,\n totalNumberOfPages,\n totalRecordCount,\n } = data;\n return {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n sortingCriteria,\n totalNumberOfPages,\n totalNumberOfRecords: totalRecordCount || 0,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n binBlocked,\n binHead,\n cardNature,\n cardType,\n created,\n emiBin,\n isDomestic,\n issuingBank,\n lastUpdated,\n } = row;\n return {\n binBlocked: this.formatBoolean(binBlocked),\n binHead: binHead || '-',\n cardNature: cardNature || '-',\n cardType: cardType || '-',\n created: this.formatData(created) || '-',\n emiBin: this.formatBoolean(emiBin),\n isDomestic: this.formatBoolean(isDomestic),\n issuingBank: issuingBank || '-',\n lastUpdated: this.formatData(lastUpdated) || '-',\n };\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY');\n },\n\n formatBoolean(data) {\n if (data === true) {\n return 'True';\n } else if (data === false) {\n return 'False';\n }\n return '-';\n },\n});\n\nexport default SearchBin;\n","// Models\nimport BinStatus from '../model/binStatus';\nimport SearchBin from '../model/searchBin';\n\nimport {\n FETCH_BIN_SUCCESS,\n FETCH_BIN_ERROR,\n HIDE_BIN_LOADER,\n SHOW_BIN_LOADER,\n UPLOAD_BIN_FILE_REQUEST,\n UPLOAD_BIN_FILE_SUCCESS,\n UPLOAD_BIN_FILE_ERROR,\n UPLOAD_NETWORK_BIN_FILE_REQUEST,\n UPLOAD_NETWORK_BIN_FILE_SUCCESS,\n UPLOAD_NETWORK_BIN_FILE_ERROR,\n SEARCH_BIN_DETAIL_SUCCESS,\n SEARCH_BIN_DETAIL_ERROR,\n UPDATE_BIN_DETAIL_SUCCESS,\n UPDATE_BIN_DETAIL_ERROR,\n GET_SEARCH_RECENT_BIN_SUCCESS,\n GET_SEARCH_RECENT_BIN_ERROR,\n} from './manageBin.constants';\n\nexport const initialState = {\n tableData: [],\n tableDataSearch: [],\n searchedBin: {\n values: {},\n error: {},\n },\n staticData: {\n values: {},\n error: {},\n },\n pagination: {},\n error: {},\n isLoading: false,\n uploadFile: {\n isSuccess: false,\n message: '',\n isLoading: '',\n data: {},\n },\n uploadNetorkFile: {\n isSuccess: false,\n message: '',\n isLoading: '',\n data: {},\n },\n updateBin: {\n isSuccess: false,\n error: '',\n },\n};\n\nexport const manageBinReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_BIN_SUCCESS: {\n const binData = new BinStatus(action.payload);\n return {\n ...state,\n ...binData,\n error: {},\n };\n }\n case FETCH_BIN_ERROR:\n return {\n ...initialState,\n ...action.payload,\n };\n case SEARCH_BIN_DETAIL_SUCCESS: {\n const searchedBin = action.payload.cardBinRangeVO;\n return {\n ...state,\n searchedBin: {\n values: { ...searchedBin },\n error: {},\n },\n };\n }\n case SEARCH_BIN_DETAIL_ERROR:\n return {\n ...state,\n searchedBin: { ...action.payload },\n };\n case UPDATE_BIN_DETAIL_SUCCESS: {\n return {\n ...state,\n updateBin: { isSuccess: true, error: {} },\n };\n }\n case UPDATE_BIN_DETAIL_ERROR:\n return {\n ...state,\n updateBin: { isSuccess: false, ...action.payload },\n };\n case UPLOAD_BIN_FILE_REQUEST:\n return {\n ...state,\n uploadFile: { isSuccess: false, error: {} },\n };\n case UPLOAD_BIN_FILE_SUCCESS: {\n return {\n ...state,\n error: {},\n uploadFile: { isSuccess: true, error: {} },\n };\n }\n case UPLOAD_NETWORK_BIN_FILE_ERROR:\n return {\n ...state,\n uploadNetorkFile: {\n isSuccess: false,\n error: { ...action.payload },\n },\n };\n case UPLOAD_NETWORK_BIN_FILE_REQUEST:\n return {\n ...state,\n uploadNetorkFile: { isSuccess: false, error: {} },\n };\n case UPLOAD_NETWORK_BIN_FILE_SUCCESS: {\n return {\n ...state,\n error: {},\n uploadNetorkFile: { isSuccess: true, error: {} },\n };\n }\n case UPLOAD_BIN_FILE_ERROR:\n return {\n ...state,\n uploadFile: { isSuccess: false, error: { ...action.payload } },\n };\n case GET_SEARCH_RECENT_BIN_SUCCESS:\n const binData = new SearchBin(action.payload);\n return {\n ...state,\n ...binData,\n error: {},\n };\n case GET_SEARCH_RECENT_BIN_ERROR:\n return {\n ...state,\n ...action.payload,\n tableDataSearch: [],\n };\n\n case SHOW_BIN_LOADER:\n return { ...state, isLoading: true };\n case HIDE_BIN_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","function ProfileData(data) {\n this.data = data && this.createProfile(data);\n}\n\nProfileData.prototype = Object.assign(ProfileData.prototype, {\n createProfile(data) {\n const { merchantDetails, paymentModeData } = data;\n const {\n name,\n email,\n entityCode,\n relationshipManagerId,\n checkoutLogoUrl,\n staticQREnabled,\n } = merchantDetails;\n console.log(merchantDetails,\"isStaticQREnabled\",staticQREnabled);\n return {\n name: name || '-',\n email: email || '-',\n checkoutLogoUrl: checkoutLogoUrl || null,\n entityCode: entityCode || '-',\n relationshipManagerId: relationshipManagerId || '-',\n paymentModeDetails: this.getPaymentDetails(paymentModeData),\n staticQREnabled,\n };\n },\n getPaymentDetails(paymentModeData) {\n let netBanking = [];\n let creditCard = [];\n let debitCard = [];\n if (paymentModeData && paymentModeData.paymentModeDetails) {\n const paymentList = paymentModeData.paymentModeDetails;\n\n netBanking = paymentList.filter(item => item.paymentType === 'NB');\n creditCard = paymentList.filter(item => item.paymentType === 'CC');\n debitCard = paymentList.filter(item => item.paymentType === 'DC');\n }\n\n return {\n netBanking,\n creditCard,\n debitCard,\n };\n },\n});\n\nexport default ProfileData;\n","import ProfileData from '../model/profileData';\nimport {\n FETCH_PROFILE_REQUEST,\n FETCH_PROFILE_SUCCESS,\n FETCH_PROFILE_ERROR,\n UPDATE_IMAGE_SUCCESS,\n UPDATE_IMAGE_ERROR,\n HIDE_PROFILE_LOADER,\n SHOW_PROFILE_LOADER,\n DELETE_IMAGE_SUCCESS,\n DELETE_IMAGE_ERROR,\n RESET_IMAGE_REQUEST,\n RESET_IMAGE_SUCCESS,\n FETCH_PROFILE_JSON_SUCCESS,\n FETCH_PROFILE_JSON_ERROR,\n CREATE_STATIC_QR_REQUEST,\n CREATE_STATIC_QR_SUCCESS,\n CREATE_STATIC_QR_ERROR,\n RESET_STATIC_QR_DATA,\n} from './profile.constants';\n\nconst initialState = {\n data: {},\n error: {},\n isLoading: false,\n resetImage: false,\n updateImage: {\n isSuccess: false,\n message: '',\n isLoading: '',\n data: {},\n },\n deleteImage: {\n isSuccess: false,\n message: '',\n isLoading: '',\n data: {},\n },\n sdkData: {},\n createStaticQrData: {},\n};\n\nexport const profileReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_PROFILE_REQUEST: {\n return {\n ...state,\n isLoading: true,\n };\n }\n case FETCH_PROFILE_SUCCESS: {\n const profile = new ProfileData(action.payload);\n return {\n ...state,\n ...profile,\n isLoading: false,\n updateImage: { isSuccess: false },\n };\n }\n case FETCH_PROFILE_ERROR:\n return {\n ...state,\n isLoading: false,\n data: {},\n updateImage: { isSuccess: false },\n };\n case FETCH_PROFILE_JSON_SUCCESS:\n return { ...state, sdkData: { ...action.payload } };\n case FETCH_PROFILE_JSON_ERROR:\n return { ...state, sdkData: {} };\n case UPDATE_IMAGE_SUCCESS: {\n return {\n ...state,\n updateImage: { isSuccess: true, ...action.payload },\n };\n }\n case UPDATE_IMAGE_ERROR:\n return { ...state, updateImage: { ...action.payload } };\n case DELETE_IMAGE_SUCCESS:\n return {\n ...state,\n deleteImage: { isSuccess: true, ...action.payload },\n };\n case CREATE_STATIC_QR_REQUEST:\n return {\n ...state,\n isLoading: true,\n createStaticQrData: { isSuccess: false },\n };\n case CREATE_STATIC_QR_SUCCESS:\n return {\n ...state,\n createStaticQrData: { ...action.payload, isSuccess: true },\n };\n case CREATE_STATIC_QR_ERROR:\n return {\n ...state,\n createStaticQrData: { ...action.payload, isSuccess: false },\n };\n\n case RESET_STATIC_QR_DATA:\n return {\n ...state,\n createStaticQrData: initialState.createStaticQrData,\n };\n\n case DELETE_IMAGE_ERROR:\n return { ...state, deleteImage: { ...action.payload } };\n case HIDE_PROFILE_LOADER:\n return { ...state, isLoading: false };\n case RESET_IMAGE_REQUEST:\n return { ...state, resetImage: true };\n case RESET_IMAGE_SUCCESS:\n return { ...state, resetImage: false };\n case SHOW_PROFILE_LOADER:\n return {\n ...initialState,\n ...action.payload,\n };\n default:\n return state;\n }\n};\n","import {\n DEFAULT_CURRENCY,\n SETTLEMENT_STATUS,\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction SettlementStatusData(data) {\n if (data.transactionViewList) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n }\n if (data.dailySettlementMetrics) {\n this.dailySettlementMetrics = this.createMetrics(data);\n }\n}\nSettlementStatusData.prototype = Object.assign(SettlementStatusData.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.transactionViewList &&\n tableData.transactionViewList.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { pageNo, totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: pageNo,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n date,\n entityName,\n utr,\n settlementStatus,\n settlementId,\n settlementMetrics,\n remarks,\n } = row;\n return {\n date: this.convertDate(date),\n entityName,\n utr,\n settlementStatus: this.getStatus(settlementStatus),\n settlementId,\n netSettlementAmount:\n settlementMetrics && settlementMetrics.netSettlementAmount\n ? `${DEFAULT_CURRENCY} ${settlementMetrics.netSettlementAmount}`\n : '-',\n grossAmt:\n settlementMetrics && settlementMetrics.grossAmt\n ? `${DEFAULT_CURRENCY} ${settlementMetrics.grossAmt}`\n : '-',\n refundAmt:\n settlementMetrics && settlementMetrics.refundAmt\n ? `${DEFAULT_CURRENCY} ${settlementMetrics.refundAmt}`\n : '-',\n fee:\n settlementMetrics && settlementMetrics.fee\n ? `${DEFAULT_CURRENCY} ${settlementMetrics.fee}`\n : '-',\n gst:\n settlementMetrics && settlementMetrics.gst\n ? `${DEFAULT_CURRENCY} ${settlementMetrics.gst}`\n : '-',\n originalData: row,\n comments: remarks && remarks.length > 0 ? remarks : [],\n };\n },\n convertDate(timeStamp) {\n const dateString = moment(timeStamp).format('DD/MM/YYYY hh:mm a');\n return dateString;\n },\n\n getStatus(status) {\n if (status && SETTLEMENT_STATUS[status]) {\n return SETTLEMENT_STATUS[status];\n }\n\n return status;\n },\n createMetrics(data) {\n const { dailySettlementMetrics = {} } = data || {};\n return {\n grossAmt: dailySettlementMetrics.grossAmt\n ? `${DEFAULT_CURRENCY} ${dailySettlementMetrics.grossAmt}`\n : '-',\n refundAmt: dailySettlementMetrics.refundAmt\n ? `${DEFAULT_CURRENCY} ${dailySettlementMetrics.refundAmt}`\n : '-',\n fee: dailySettlementMetrics.fee\n ? `${DEFAULT_CURRENCY} ${dailySettlementMetrics.fee}`\n : '-',\n gst: dailySettlementMetrics.gst\n ? `${DEFAULT_CURRENCY} ${dailySettlementMetrics.gst}`\n : '-',\n netSettlementAmount: dailySettlementMetrics.netSettlementAmount\n ? `${DEFAULT_CURRENCY} ${dailySettlementMetrics.netSettlementAmount}`\n : '-',\n };\n },\n});\n\nexport default SettlementStatusData;\n","// Models\nimport SettlementData from '../models/settlementData';\n\nimport {\n FETCH_SETTLEMENT_SUCCESS,\n FETCH_SETTLEMENT_ERROR,\n HIDE_SETTLEMENT_LOADER,\n SHOW_SETTLEMENT_LOADER,\n FETCH_SETTLEMENT_METRICS_SUCCESS,\n FETCH_SETTLEMENT_METRICS_ERROR,\n FETCH_AVAILABLE_BALANCE_SUCCESS,\n FETCH_AVAILABLE_BALANCE_ERROR,\n FETCH_ODS_FEE_DETAILS_SUCCESS,\n FETCH_ODS_FEE_DETAILS_ERROR,\n PROCESS_ODS_SUCCESS,\n PROCESS_ODS_ERROR,\n REMOVE_AVAILABLE_BALANCE_LOADING,\n SET_AVAILABLE_BALANCE_LOADING,\n SET_ODS_PAGE_LOADING,\n REMOVE_ODS_PAGE_LOADING,\n SET_PROCESS_LOADING,\n REMOVE_PROCESS_LOADING,\n FETCH_NET_SETTLEMENT_SUCCESS,\n FETCH_NET_SETTLEMENT_ERROR,\n} from './settlement.constants';\n\nconst initialState = {\n tableData: [],\n pagination: {},\n error: null,\n isLoading: false,\n settlementMetric: {},\n availableBalance: {},\n availableBalanceLoading: false,\n availableBalanceError: null,\n odsFeeDetails: {},\n odsPageLoader: false,\n processLoader: false,\n netSettlementAmount: {},\n};\n\nexport const settlementReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_SETTLEMENT_SUCCESS: {\n const settlementData = new SettlementData(action.payload);\n return {\n ...state,\n ...settlementData,\n error: null,\n };\n }\n case FETCH_SETTLEMENT_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case FETCH_SETTLEMENT_METRICS_SUCCESS: {\n const settlementMetricsData = new SettlementData(action.payload);\n return {\n ...state,\n ...settlementMetricsData,\n error: null,\n };\n }\n case FETCH_SETTLEMENT_METRICS_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n\n case FETCH_AVAILABLE_BALANCE_SUCCESS:\n return {\n ...state,\n availableBalance: action.payload,\n availableBalanceError: null,\n };\n case FETCH_AVAILABLE_BALANCE_ERROR:\n return {\n ...state,\n availableBalanceError: action.payload.error,\n availableBalance: {},\n };\n case FETCH_NET_SETTLEMENT_SUCCESS:\n return {\n ...state,\n netSettlementAmount: action.payload,\n netSettlementAmountError: null,\n };\n case FETCH_NET_SETTLEMENT_ERROR:\n return {\n ...state,\n netSettlementAmountError: action.payload.error,\n netSettlementAmount: {},\n };\n case FETCH_ODS_FEE_DETAILS_SUCCESS:\n return {\n ...state,\n odsFeeDetails: action.payload,\n error: null,\n };\n case FETCH_ODS_FEE_DETAILS_ERROR:\n return {\n ...state,\n odsFeeDetails: null,\n };\n case PROCESS_ODS_SUCCESS:\n return {\n ...state,\n settledAmount: action.payload,\n error: null,\n };\n case PROCESS_ODS_ERROR:\n return {\n ...state,\n settledAmount: null,\n error: action.error,\n };\n\n case SHOW_SETTLEMENT_LOADER:\n return { ...state, isLoading: true };\n case HIDE_SETTLEMENT_LOADER:\n return { ...state, isLoading: false };\n case SET_AVAILABLE_BALANCE_LOADING:\n return { ...state, availableBalanceLoading: true };\n case REMOVE_AVAILABLE_BALANCE_LOADING:\n return { ...state, availableBalanceLoading: false };\n case SET_ODS_PAGE_LOADING:\n return { ...state, odsPageLoader: true };\n case REMOVE_ODS_PAGE_LOADING:\n return { ...state, odsPageLoader: false };\n case SET_PROCESS_LOADING:\n return { ...state, processLoader: true };\n case REMOVE_PROCESS_LOADING:\n return { ...state, processLoader: false };\n default:\n return state;\n }\n};\n","import {\n DEFAULT_CURRENCY,\n STATUS_TYPE,\n validityOptions,\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction PaymentLinkList(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nPaymentLinkList.prototype = Object.assign(PaymentLinkList.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.linkDataList &&\n tableData.linkDataList.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements, pageNo } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: pageNo || 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n amount,\n createdBy,\n createdOn,\n editedBy,\n editedOn,\n linkDataId,\n linkDataStatus,\n linkId,\n linkName,\n remarks,\n sharedCount,\n txnSuccessCount,\n validityPeriod,\n productInfo,\n maxAmount,\n templateInfo,\n } = row;\n return {\n amount,\n createdBy,\n editedBy,\n createdOn: this.convertDate(parseInt(createdOn, 10)),\n editedOn: this.convertDate(parseInt(editedOn, 10)),\n linkDataId: linkDataId || '-',\n linkDataStatus,\n linkId: linkId || '-',\n linkName: linkName || '-',\n remarks: remarks || '-',\n sharedCount: sharedCount || '-',\n txnSuccessCount: txnSuccessCount || '-',\n validityPeriod,\n maxAmount,\n amountView:\n amount || maxAmount\n ? `${DEFAULT_CURRENCY} ${maxAmount ? maxAmount : amount}`\n : '-',\n linkDataStatusView: this.getTransactionStatus(linkDataStatus),\n validityPeriodView: this.getValidity(validityPeriod),\n productInfo: productInfo.map((item, index) => {\n return {\n ...item,\n isMandatory: item.isMandatory ? ['isMandatory'] : [],\n };\n }),\n templateInfo,\n };\n },\n getTransactionStatus(status) {\n if (!status) {\n return '-';\n }\n return STATUS_TYPE[status];\n },\n getValidity(validityPeriod) {\n if (!validityPeriod) {\n return '-';\n }\n const values = validityOptions.filter(\n item => item.value === validityPeriod\n );\n return (values && values.length && values[0].name) || '-';\n },\n convertDate(date) {\n const dateString = moment(date).format('DD/MM/YYYY');\n return dateString;\n },\n});\n\nexport default PaymentLinkList;\n","import { PAY_TRANSACTION_STATUS } from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction PaymentTrxnList(data) {\n this.tableDataTxn = this.createTableData(data);\n this.paginationTxn = this.createPaginationData(data);\n}\n\nPaymentTrxnList.prototype = Object.assign(PaymentTrxnList.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.linkDetailsDataList &&\n tableData.linkDetailsDataList.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements, pageNo } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: pageNo || 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n communicationModeValue,\n sharedLinkId,\n sharedDate,\n transactionStatus,\n transactionId,\n transactionDate,\n paymentMode,\n } = row;\n return {\n communicationModeValue: communicationModeValue || '-',\n sharedLinkId: sharedLinkId || '',\n sharedDate: this.convertDate(sharedDate),\n transactionId: transactionId || '-',\n transactionDate: this.convertDate(transactionDate),\n paymentMode: paymentMode || '-',\n transactionStatus,\n transactionStatusView: this.getTransactionStatus(transactionStatus),\n };\n },\n getTransactionStatus(status) {\n if (!status) {\n return '-';\n }\n return PAY_TRANSACTION_STATUS[status];\n },\n convertDate(date) {\n if (!date) {\n return '-';\n }\n const dateFormat = parseInt(date, 10);\n const dateString = moment(dateFormat).format('DD/MM/YYYY');\n return dateString;\n },\n});\n\nexport default PaymentTrxnList;\n","// Models\nimport PaymentLinkList from '../models/paymentLinkList';\nimport PaymentTrxnList from '../models/paymentTrxnList';\n\nimport {\n FETCH_PAYMENT_LINK_SUCCESS,\n FETCH_PAYMENT_LINK_ERROR,\n FETCH_TRANSACTION_PAYMENT_SUCCESS,\n FETCH_TRANSACTION_PAYMENT_ERROR,\n HIDE_PAYMENT_LINK_LOADER,\n SHOW_PAYMENT_LINK_LOADER,\n CREATE_PAY_LINK_SUCCESS,\n CREATE_PAY_LINK_ERROR,\n UPDATE_PAY_LINK_SUCCESS,\n UPDATE_PAY_LINK_ERROR,\n SHARE_PAY_LINK_SUCCESS,\n SHARE_PAY_LINK_ERROR,\n VIEW_PAY_LINK_SUCCESS,\n VIEW_PAY_LINK_ERROR,\n RE_SHARE_PAY_LINK_SUCCESS,\n RE_SHARE_PAY_LINK_ERROR,\n FETCH_MERCHANT_TEMPLATE_REQUEST,\n FETCH_MERCHANT_TEMPLATE_SUCCESS,\n FETCH_MERCHANT_TEMPLATE_ERROR,\n GENERATE_REPORT_SUCCESS,\n GENERATE_REPORT_ERROR,\n} from './paymentLink.constants';\nimport { GET_ACTIVE_REPORT_ERROR, GET_ACTIVE_REPORT_SUCCESS } from '../../Transactions/redux/transactions.constants';\n\nexport const initialState = {\n tableData: [],\n tableDataTxn: [],\n paginationTxn: {},\n pagination: {},\n error: {},\n viewPay: {},\n createPay: {\n isSuccess: false,\n },\n updatePayLink: {\n isSuccess: false,\n },\n sharePay: {\n isSuccess: false,\n },\n reSharePay: {\n isSuccess: false,\n },\n templateDetails: {\n isSuccess: false,\n },\n isLoading: false,\n generatedFile: {\n isSuccess: false,\n error: {},\n },\n activeReports: {\n reports: null\n }\n};\n\nconst getActiveReports = reports => {\n const reportsAll = {};\n if (reports.reportsList.length) {\n reportsAll.generating = reports.reportsList.filter(\n item => item.requestStatus !== 'COMPLETED'\n );\n reportsAll.complete = reports.reportsList.filter(\n item => item.requestStatus === 'COMPLETED'\n );\n }\n return reportsAll;\n};\n\nexport const paymentLinkReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_PAYMENT_LINK_SUCCESS: {\n const payLinkData = new PaymentLinkList(action.payload);\n return {\n ...state,\n ...payLinkData,\n error: {},\n };\n }\n case FETCH_PAYMENT_LINK_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case FETCH_TRANSACTION_PAYMENT_SUCCESS: {\n const txnPayData = new PaymentTrxnList(action.payload);\n return {\n ...state,\n ...txnPayData,\n error: {},\n };\n }\n case FETCH_TRANSACTION_PAYMENT_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case CREATE_PAY_LINK_SUCCESS: {\n return {\n ...state,\n createPay: { isSuccess: true, ...action.payload },\n error: {},\n };\n }\n case CREATE_PAY_LINK_ERROR: {\n return {\n ...state,\n createPay: { isSuccess: false, ...action.payload },\n error: {},\n };\n }\n case UPDATE_PAY_LINK_SUCCESS: {\n return {\n ...state,\n updatePayLink: { isSuccess: true, ...action.payload },\n error: {},\n };\n }\n case UPDATE_PAY_LINK_ERROR: {\n return {\n ...state,\n updatePayLink: { isSuccess: false, ...action.payload },\n error: {},\n };\n }\n case SHARE_PAY_LINK_SUCCESS: {\n return {\n ...state,\n sharePay: { isSuccess: true, ...action.payload },\n error: {},\n };\n }\n case SHARE_PAY_LINK_ERROR: {\n return {\n ...state,\n sharePay: { isSuccess: false, ...action.payload },\n error: {},\n };\n }\n case VIEW_PAY_LINK_SUCCESS: {\n return {\n ...state,\n viewPay: { ...action.payload },\n error: {},\n };\n }\n case VIEW_PAY_LINK_ERROR: {\n return {\n ...state,\n viewPay: { ...action.payload },\n error: {},\n };\n }\n case RE_SHARE_PAY_LINK_SUCCESS: {\n return {\n ...state,\n reSharePay: { isSuccess: true, ...action.payload },\n error: {},\n };\n }\n case RE_SHARE_PAY_LINK_ERROR: {\n return {\n ...state,\n reSharePay: { isSuccess: false, ...action.payload },\n error: {},\n };\n }\n case FETCH_MERCHANT_TEMPLATE_REQUEST: {\n return {\n ...state,\n templateDetails: { isSuccess: false, ...action.payload },\n error: {},\n };\n }\n case FETCH_MERCHANT_TEMPLATE_SUCCESS: {\n return {\n ...state,\n templateDetails: {\n isSuccess: true,\n ...action.payload,\n },\n error: {},\n };\n }\n case FETCH_MERCHANT_TEMPLATE_ERROR: {\n return {\n ...state,\n templateDetails: { isSuccess: false, ...action.payload },\n error: {},\n };\n }\n case SHOW_PAYMENT_LINK_LOADER:\n return { ...state, isLoading: true };\n case HIDE_PAYMENT_LINK_LOADER:\n return { ...state, isLoading: false };\n case GENERATE_REPORT_SUCCESS:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: true },\n };\n case GENERATE_REPORT_ERROR:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case GET_ACTIVE_REPORT_SUCCESS:\n return {\n ...state,\n activeReports: { reports: getActiveReports(action.payload) },\n };\n case GET_ACTIVE_REPORT_ERROR:\n return {\n ...state,\n activeReports: { ...action.payload },\n };\n default:\n return state;\n }\n};\n","import { AUDIT_STATUS } from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction AuditTrailData(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nAuditTrailData.prototype = Object.assign(AuditTrailData.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.auditTrailViewList &&\n tableData.auditTrailViewList.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { pageNo, totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: pageNo,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n dateAndTime,\n event,\n eventData,\n externalIpAddress,\n resource,\n status,\n userId,\n } = row;\n return {\n dateAndTime: this.convertDate(dateAndTime),\n event,\n eventData,\n externalIpAddress,\n resource,\n status: this.getStatus(status),\n userId,\n };\n },\n convertDate(timeStamp) {\n const dateString = moment(timeStamp).format('DD/MM/YYYY hh:mm a');\n return dateString;\n },\n\n getStatus(status) {\n if (status && AUDIT_STATUS[status]) {\n return AUDIT_STATUS[status];\n }\n\n return status;\n },\n});\n\nexport default AuditTrailData;\n","// Models\nimport AuditTrailData from '../models/auditTrailData';\n\nimport {\n FETCH_AUDIT_TRAIL_SUCCESS,\n FETCH_AUDIT_TRAIL_ERROR,\n HIDE_AUDIT_TRAIL_LOADER,\n SHOW_AUDIT_TRAIL_LOADER,\n} from './auditTrail.constants';\n\nconst initialState = {\n tableData: [],\n pagination: {},\n error: {},\n isLoading: false,\n};\n\nexport const auditTrailReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_AUDIT_TRAIL_SUCCESS: {\n const createUserData = new AuditTrailData(action.payload);\n return {\n ...state,\n ...createUserData,\n error: {},\n };\n }\n case FETCH_AUDIT_TRAIL_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case SHOW_AUDIT_TRAIL_LOADER:\n return { ...state, isLoading: true };\n case HIDE_AUDIT_TRAIL_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","/* eslint-disable function-paren-newline*/\nimport {\n USER_ACTIONS_MAP,\n USER_STATUS,\n USER_LEVEL,\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction DashBoardData(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nDashBoardData.prototype = Object.assign(DashBoardData.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.makerCheckerUserResponseDetailDto &&\n tableData.makerCheckerUserResponseDetailDto.map(row =>\n this.createRow(row)\n )\n );\n },\n createPaginationData(data) {\n if (data) {\n const { currentPage, totalRecord } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: currentPage,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalRecord,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n makerName,\n requestId,\n requestCreationTime,\n newUserDetailData,\n makerComment,\n intentFor,\n extUserDetailData,\n email,\n checkerComment,\n } = row;\n const { name } = newUserDetailData;\n return {\n extUserDetailData,\n intentFor,\n userCreatedUpdate: makerName || '-',\n lastActions: this.getLastAction(intentFor),\n userCreatedDate: this.convertDate(requestCreationTime),\n email,\n name,\n requestId,\n checkerComment,\n makerComment,\n entityName: this.getEntityName(newUserDetailData),\n entityNameOld: this.getEntityName(extUserDetailData),\n userRoleName: this.getUserRole(newUserDetailData),\n userRoleNameOld: this.getUserRole(extUserDetailData),\n userLevel: this.getUserLevel(newUserDetailData),\n userLevelOld: this.getUserLevel(extUserDetailData),\n userStatus: this.getStatus(newUserDetailData),\n userStatusOld: this.getStatus(extUserDetailData),\n };\n },\n convertDate(date) {\n const dateString = moment(date).format('DD/MM/YYYY');\n return dateString;\n },\n\n getStatus(status) {\n if (status && status.userStatus) {\n return USER_STATUS[status.userStatus];\n }\n\n return null;\n },\n\n getEntityName(entity) {\n if (entity && entity.entityName) {\n return entity.entityName;\n }\n return null;\n },\n\n getUserRole(role) {\n if (role && role.userRole) {\n return role.userRole;\n }\n return null;\n },\n\n getUserLevel(level) {\n if (level && level.userLevel) {\n return USER_LEVEL[level.userLevel];\n }\n\n return null;\n },\n\n getLastAction(action) {\n return USER_ACTIONS_MAP[action] || '-';\n },\n});\n\nexport default DashBoardData;\n","// Models\nimport { getFlatEntities } from 'utils/helperMethods';\nimport DashBoardData from '../models/dashBoardData';\n\nimport {\n FETCH_MIXED_GRAPH_SUCCESS,\n FETCH_MIXED_GRAPH_ERROR,\n FETCH_MULTI_GRAPH_SUCCESS,\n FETCH_MULTI_GRAPH_ERROR,\n FETCH_SINGLE_SUCCESS,\n FETCH_SINGLE_ERROR,\n FETCH_DASHBOARD_SUMMARY_REQUEST,\n FETCH_DASHBOARD_SUMMARY_SUCCESS,\n FETCH_DASHBOARD_SUMMARY_ERROR,\n SHOW_DASHBOARD_LOADER,\n HIDE_DASHBOARD_LOADER,\n RESET_DASHBOARD_REQUEST,\n FETCH_MULTI_ENTITY_HIERARCHY_SUCCESS,\n FETCH_MULTI_ENTITY_HIERARCHY_ERROR,\n} from './dashboard.constants';\n\nconst initialState = {\n failures: {},\n paymentModeWise: {},\n entityList: {},\n singleGraph: {\n GMV: {},\n STATUS_TREND: {},\n SUCCESS_RATE: {},\n TRANSACTIONS_COUNT: {},\n },\n summary: {\n isLoading: false,\n },\n error: {},\n isLoading: false,\n};\n\nexport const dashBoardReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_MIXED_GRAPH_SUCCESS: {\n return {\n ...state,\n failures: { ...action.payload },\n error: {},\n };\n }\n case FETCH_MIXED_GRAPH_ERROR: {\n return {\n ...state,\n failures: {},\n error: { ...action.payload },\n };\n }\n\n case FETCH_MULTI_GRAPH_SUCCESS: {\n return {\n ...state,\n paymentModeWise: { ...action.payload },\n error: {},\n };\n }\n case FETCH_MULTI_GRAPH_ERROR: {\n return {\n ...state,\n paymentModeWise: {},\n error: { ...action.payload },\n };\n }\n case FETCH_SINGLE_SUCCESS: {\n return {\n ...state,\n singleGraph: {\n ...state.singleGraph,\n [action.payload.graphIdentifier]: {\n granularity: action.payload.data.granularity,\n timeSeriesValues:\n action.payload.data.values[\n action.payload.graphIdentifier\n ],\n },\n },\n error: {},\n };\n }\n case FETCH_SINGLE_ERROR: {\n return {\n ...state,\n singleGraph: {},\n error: { ...action.payload },\n };\n }\n case FETCH_DASHBOARD_SUMMARY_REQUEST: {\n return {\n ...state,\n summary: { isLoading: true },\n error: {},\n };\n }\n case FETCH_DASHBOARD_SUMMARY_SUCCESS: {\n return {\n ...state,\n summary: { isLoading: false, ...action.payload },\n error: {},\n };\n }\n case FETCH_DASHBOARD_SUMMARY_ERROR: {\n return {\n ...state,\n summary: {\n isLoading: false,\n },\n error: { ...action.payload },\n };\n }\n case RESET_DASHBOARD_REQUEST: {\n return {\n ...initialState,\n error: {},\n };\n }\n case FETCH_MULTI_ENTITY_HIERARCHY_SUCCESS: {\n const flatEntities = getFlatEntities(\n action.payload,\n action.entityType\n );\n const entities = { ...state.entityList, ...flatEntities };\n return { ...state, entityList: entities };\n }\n\n case FETCH_MULTI_ENTITY_HIERARCHY_ERROR: {\n return { ...state, entityList: { ...action.payload } };\n }\n case SHOW_DASHBOARD_LOADER:\n return { ...state, isLoading: true };\n case HIDE_DASHBOARD_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","import {\n ADD_CHECKOUT_SUCCESS,\n ADD_CHECKOUT_ERROR,\n FETCH_CHECKOUT_REQUEST,\n FETCH_CHECKOUT_SUCCESS,\n FETCH_CHECKOUT_ERROR,\n} from './checkout.constants';\n\nconst initialState = {\n data: {},\n error: {},\n isLoading: false,\n updateCheckout: {\n isSuccess: false,\n error: {},\n },\n addCheckout: {\n isSuccess: false,\n error: {},\n },\n};\n\nexport const checkoutReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_CHECKOUT_REQUEST: {\n return {\n ...state,\n isLoading: true,\n };\n }\n case FETCH_CHECKOUT_SUCCESS: {\n return {\n ...state,\n isLoading: false,\n data: action.payload,\n error: {},\n };\n }\n case FETCH_CHECKOUT_ERROR:\n return {\n ...state,\n isLoading: false,\n error: { errorMessage: action.payload },\n };\n case ADD_CHECKOUT_SUCCESS: {\n return {\n ...state,\n addCheckout: { isSuccess: true, error: {} },\n updateCheckout: { isSuccess: false, error: {} },\n };\n }\n case ADD_CHECKOUT_ERROR: {\n return {\n ...state,\n addCheckout: {\n isSuccess: false,\n error: { errorMessage: action.payload },\n },\n updateCheckout: { isSuccess: false, error: {} },\n };\n }\n default:\n return state;\n }\n};\n","import moment from 'moment';\n\nfunction BulkRefundModel(data) {\n this.tableData = this.createTableData(\n data.bulkRefundFileProcessStatus ? data.bulkRefundFileProcessStatus : []\n );\n this.pagination = this.createPaginationData(data);\n}\n\nBulkRefundModel.prototype = Object.assign(BulkRefundModel.prototype, {\n createTableData(tableData) {\n return tableData && tableData.map(row => this.createRow(row));\n },\n createPaginationData(data) {\n if (data && data.totalRecordCount) {\n const {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n sortingCriteria,\n totalNumberOfPages,\n totalRecordCount,\n } = data;\n return {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n sortingCriteria,\n totalNumberOfPages,\n totalNumberOfRecords: totalRecordCount || 0,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n requestId,\n entityId,\n requestStaus,\n fileName,\n totalRecordCount,\n successRecordCount,\n failRecordCount,\n uplodedDate,\n pendingRecordCount,\n totTxnAmt,\n } = row;\n return {\n requestId: requestId || '-',\n fileName: fileName || '-',\n createdDate: this.formatData(uplodedDate) || '-',\n requestStatus: this.formatStatus(requestStaus) || '-',\n totalRecordCount,\n successRecordCount,\n pendingRecordCount,\n failRecordCount,\n totTxnAmt,\n };\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY');\n },\n formatStatus(status) {\n if (status === 'COMPLETED') {\n return 'Completed';\n }\n if (status === 'IN_PROCESS') {\n return 'Inprocess';\n }\n if (status === 'INITIATED') {\n return 'Initiated';\n }\n return '-';\n },\n});\n\nexport default BulkRefundModel;\n","import moment from 'moment';\n\nfunction BulkRefundFileViewModel(data) {\n this.selectedBulkUploadFileTableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nBulkRefundFileViewModel.prototype = Object.assign(\n BulkRefundFileViewModel.prototype,\n {\n createTableData(data) {\n return (\n data &&\n data.response &&\n data.response.refundReqResLst &&\n data.response.refundReqResLst.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data.response && data.request) {\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: 1,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords:\n data.response.pageNo * data.request.pageSize,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n merchantRefundTxnId,\n statusCode,\n refundAmount,\n statusMessage,\n } = row;\n return {\n merchantRefundTxnId,\n status: this.formatStatus(statusCode) || '-',\n refundAmount,\n statusMessage,\n };\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY');\n },\n formatStatus(status) {\n if (status === 'SUCCESS') {\n return 'Success';\n }\n if (status === 'FAILED') {\n return 'Failed';\n }\n if (status === 'PENDING') {\n return 'Pending';\n }\n if (status === 'INITIATED') {\n return 'Pending';\n }\n return '-';\n },\n }\n);\n\nexport default BulkRefundFileViewModel;\n","// Models\n\nimport BulkRefundModel from '../model/bulkRefund';\nimport BulkRefundFileViewModel from '../model/BulkRefundFileViewModel';\n\n// Constants\nimport {\n FETCH_BULK_REFUND_SUCCESS,\n FETCH_BULK_REFUND_ERROR,\n HIDE_BULK_REFUND_LOADER,\n SHOW_BULK_REFUND_LOADER,\n UPLOAD_BULK_REFUND_FILE_REQUEST,\n UPLOAD_BULK_REFUND_FILE_SUCCESS,\n UPLOAD_BULK_REFUND_FILE_ERROR,\n FETCH_BULK_REFUND_BY_ID_SUCCESS,\n FETCH_BULK_REFUND_BY_ID_ERROR,\n} from './bulkRefund.constants';\n\nexport const initialState = {\n tableData: [],\n staticData: {\n values: {},\n error: {},\n },\n selectedBulkUploadFile: '',\n selectedBulkUploadFileTableData: [],\n pagination: {},\n error: {},\n isLoading: false,\n uploadFile: {\n isSuccess: null,\n message: '',\n isLoading: '',\n data: {},\n },\n};\n\nexport const bulRefundReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_BULK_REFUND_SUCCESS: {\n const bulkRefundData = new BulkRefundModel(action.payload);\n return {\n ...state,\n ...bulkRefundData,\n error: {},\n };\n }\n case FETCH_BULK_REFUND_ERROR:\n return {\n ...initialState,\n ...action.payload,\n };\n case UPLOAD_BULK_REFUND_FILE_REQUEST:\n return {\n ...state,\n uploadFile: { isSuccess: null, error: {} },\n };\n case UPLOAD_BULK_REFUND_FILE_SUCCESS: {\n return {\n ...state,\n error: {},\n uploadFile: {\n isSuccess: true,\n error: null,\n data: { ...action.payload },\n },\n };\n }\n case UPLOAD_BULK_REFUND_FILE_ERROR:\n return {\n ...state,\n uploadFile: {\n isSuccess: false,\n error: { ...action.payload },\n data: {},\n },\n };\n\n case FETCH_BULK_REFUND_BY_ID_SUCCESS: {\n const selectedBulkUploadFileTableData = new BulkRefundFileViewModel(\n action.payload\n );\n return {\n ...state,\n ...selectedBulkUploadFileTableData,\n error: {},\n };\n }\n case FETCH_BULK_REFUND_BY_ID_ERROR:\n return {\n ...initialState,\n ...action.payload,\n };\n\n case SHOW_BULK_REFUND_LOADER:\n return { ...state, isLoading: true };\n case HIDE_BULK_REFUND_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","import { STATE_ENUM } from 'utils/constants/commonValues';\n\n/* eslint-disable function-paren-newline */\nfunction MerchantOnBoardStatusList(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nMerchantOnBoardStatusList.prototype = Object.assign(\n MerchantOnBoardStatusList.prototype,\n {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.userUpdateTrackingListList &&\n tableData.userUpdateTrackingListList.map(row =>\n this.createRow(row)\n )\n );\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n entityCode,\n entityType,\n state,\n statusMessage,\n userId,\n category,\n } = row;\n return {\n entityCode,\n entityType,\n state: this.getState(state),\n statusMessage,\n userId,\n sectionType: category,\n };\n },\n getState(status) {\n if (!status) {\n return '-';\n }\n return STATE_ENUM[status];\n },\n }\n);\n\nexport default MerchantOnBoardStatusList;\n","import {\n FETCH_UPDATING_MERCHANT_REQUEST,\n FETCH_UPDATING_MERCHANT_SUCCESS,\n FETCH_UPDATING_MERCHANT_ERROR,\n SHOW_SETTLEMENT_LOADER,\n HIDE_SETTLEMENT_LOADER,\n} from './MerchantOnboardStatus.constants';\nimport MerchantOnBoardStatusList from './models/MerchantOnboardStatusModel';\n\nconst initialState = {\n tableData: [],\n pagination: {},\n error: {},\n isLoading: false,\n};\n\nexport const merchantOnboardStatusReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_UPDATING_MERCHANT_REQUEST: {\n return {\n ...state,\n ...action.payload,\n error: {},\n };\n }\n case FETCH_UPDATING_MERCHANT_SUCCESS:\n const merchantOnboardStatusData = new MerchantOnBoardStatusList(\n action.payload\n );\n return {\n ...state,\n ...merchantOnboardStatusData,\n };\n case FETCH_UPDATING_MERCHANT_ERROR: {\n return {\n ...state,\n ...action.payload,\n };\n }\n case SHOW_SETTLEMENT_LOADER:\n return { ...state, isLoading: true };\n case HIDE_SETTLEMENT_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","/* eslint-disable function-paren-newline */\n// Libs\nimport moment from 'moment';\n\nfunction MakerModel(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nMakerModel.prototype = Object.assign(MakerModel.prototype, {\n createTableData(tableData) {\n if (\n tableData &&\n tableData.getMakerCheckerResponseList &&\n tableData.getMakerCheckerResponseList.length > 0\n ) {\n return tableData.getMakerCheckerResponseList.map(row =>\n this.createRow(row)\n );\n }\n return [];\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n createdAt,\n idempotencyId,\n eventType,\n makerId,\n makerRequestId,\n status,\n request,\n remarks,\n childCheckerResponseList,\n checkerRemarks\n } = row;\n return {\n createdAt: this.formatData(createdAt),\n idempotencyId,\n eventType,\n makerId,\n makerRequestId,\n status: status || '-',\n request,\n remarks,\n childCheckerResponseList,\n checkerRemarks\n };\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY');\n },\n});\n\nexport default MakerModel;\n","// Models\n\n// Constants\nimport {\n FETCH_MAKER_LIST_REQUEST,\n FETCH_MAKER_LIST_SUCCESS,\n FETCH_MAKER_LIST_ERROR,\n SHOW_MAKER_LOADER,\n HIDE_MAKER_LOADER,\n} from './maker.constants';\nimport MakerModel from './model/MakerModel';\n\nexport const initialState = {\n tableData: [],\n pagination: {},\n error: {},\n activeReports: {\n reports: {},\n error: {},\n },\n isLoading: false,\n generatedFile: {\n isSuccess: false,\n error: {},\n },\n};\n\nexport const makerReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_MAKER_LIST_REQUEST:\n return {\n ...state,\n error: {},\n };\n case FETCH_MAKER_LIST_SUCCESS: {\n console.log(\"action payload\", action.payload);\n \n const invoiceList = new MakerModel(action.payload);\n console.log(\"action payload\", invoiceList);\n return {\n ...state,\n ...invoiceList,\n error: {},\n };\n }\n case FETCH_MAKER_LIST_ERROR:\n return {\n ...state,\n error: { ...action.payload.error },\n };\n case SHOW_MAKER_LOADER:\n return { ...state, isLoading: true };\n case HIDE_MAKER_LOADER:\n return { ...state, isLoading: false };\n\n default:\n return state;\n }\n};\n","/* eslint-disable function-paren-newline */\n// Libs\nimport moment from 'moment';\n\nfunction CheckerModel(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nCheckerModel.prototype = Object.assign(CheckerModel.prototype, {\n createTableData(tableData) {\n if (\n tableData &&\n tableData.getMakerCheckerResponseList &&\n tableData.getMakerCheckerResponseList.length > 0\n ) {\n return tableData.getMakerCheckerResponseList.map(row =>\n this.createRow(row)\n );\n }\n return [];\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n createdAt,\n idempotencyId,\n eventType,\n makerId,\n makerRequestId,\n status,\n request,\n childCheckerResponseList\n } = row;\n return {\n createdAt: this.formatData(createdAt),\n idempotencyId,\n eventType,\n makerId,\n makerRequestId,\n status: status || '-',\n request,\n childCheckerResponseList\n };\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY HH:mm:ss');\n },\n});\n\nexport default CheckerModel;\n","// Models\n\n// Constants\nimport { MOCK_API_VALUE } from 'utils/constants/commonValues';\nimport {\n FETCH_CHECKER_LIST_REQUEST,\n FETCH_CHECKER_LIST_SUCCESS,\n FETCH_CHECKER_LIST_ERROR,\n SHOW_CHECKER_LOADER,\n HIDE_CHECKER_LOADER,\n} from './checker.constants';\nimport CheckerModel from './model/CheckerModel';\nimport fetchCheckerRequest from '../fetchChecker.res';\n\nexport const initialState = {\n tableData: [],\n pagination: {},\n error: {},\n activeReports: {\n reports: {},\n error: {},\n },\n isLoading: false,\n generatedFile: {\n isSuccess: false,\n error: {},\n },\n};\n\nexport const checkerReducer = (state = initialState, action) => {\n // console.log(\"actions123\",action);\n switch (action.type) {\n case FETCH_CHECKER_LIST_REQUEST:\n return {\n ...state,\n error: {},\n };\n case FETCH_CHECKER_LIST_SUCCESS: {\n // let data;\n // console.log(\"11111\");\n // if(MOCK_API_VALUE){\n // data=fetchCheckerRequest();\n // console.log(\"action\", action.payload, data.getMakerCheckerResponseList);\n // if (action.payload)\n // action.payload={...action.payload,getMakerCheckerResponseList: [...action.payload.getMakerCheckerResponseList, ...data?.getMakerCheckerResponseList || []]}\n // }\n // console.log(\"22222\", data);\n // console.log(\"action.payload\", action.payload);\n const invoiceList = new CheckerModel(action.payload);\n\n console.log(\"333333\", invoiceList);\n return {\n ...state,\n ...invoiceList,\n error: {},\n };\n }\n case FETCH_CHECKER_LIST_ERROR:\n return {\n ...state,\n error: { ...action.payload.error },\n };\n case SHOW_CHECKER_LOADER:\n return { ...state, isLoading: true };\n case HIDE_CHECKER_LOADER:\n return { ...state, isLoading: false };\n\n default:\n return state;\n }\n};\n","/* eslint-disable function-paren-newline */\nimport {\n DEFAULT_CURRENCY,\n MANDATE_FREQUENCY_ENUM,\n} from '../../../utils/constants/commonValues';\n\nfunction MandateList(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nMandateList.prototype = Object.assign(MandateList.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.merchantMandateResponseList &&\n tableData.merchantMandateResponseList.map(row =>\n this.createRow(row)\n )\n );\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n subscriptionId,\n customerId,\n startDate,\n lastPaidDate,\n dueDate,\n state,\n frequency,\n lastPaidAmount,\n payType,\n allowedActions,\n remarks,\n createdAt,\n customerDetails,\n billingDetails,\n entityCode,\n mandateProductRefId,\n paymentInstrument,\n } = row;\n return {\n payType: payType || '-',\n lastPaidAmount: lastPaidAmount || '-',\n frequency: frequency || '-',\n entityCode: entityCode || '-',\n subscriptionID: subscriptionId || '-',\n customerID: customerId || '-',\n startDate: startDate || '-',\n lastPaidAt: lastPaidDate || '-',\n nextDueOn: dueDate || '-',\n createdAt: createdAt || '-',\n lastPaidDate:\n this.getDateStringFromDateAndTime(lastPaidDate) || '-',\n nextDueOnDate: this.getDateStringFromDateAndTime(dueDate) || '-',\n createdAtDate: this.getDateStringFromDateAndTime(createdAt) || '-',\n paymentInfo: this.getPaymentInfoString(\n billingDetails,\n paymentInstrument\n ),\n status: state || '-',\n allowedActions: allowedActions || [],\n remarks: remarks || '',\n emailId: customerDetails.userEmail || '-',\n phoneNo: customerDetails.userMobileNo || '-',\n billingDetails: this.setBillingDetails(billingDetails) || {},\n mandateProductRefId: mandateProductRefId || '-',\n };\n },\n setBillingDetails(billingDetails) {\n const { payType, frequency, billingAmount } = billingDetails;\n const formattedBillingDetails = {\n payType,\n frequency: this.getBillingFrequency(frequency),\n billingAmount: this.getBillingAmount(billingAmount),\n };\n return formattedBillingDetails;\n },\n getBillingFrequency(type) {\n if (!type) {\n return '-';\n }\n return MANDATE_FREQUENCY_ENUM[type];\n },\n getBillingAmount(amount) {\n return amount ? `${DEFAULT_CURRENCY} ${amount}` : '-';\n },\n getDateStringFromDateAndTime(date) {\n if (!date) {\n return '-';\n }\n try {\n return date.split(' ')[0];\n } catch (error) {\n return date;\n }\n },\n getPaymentInfoString(billingDetails, paymentInstrument) {\n return `${billingDetails.payType || '-'} - ${paymentInstrument ||\n '-'}`;\n },\n});\n\nexport default MandateList;\n","import { getActiveReports } from 'utils/helperMethods';\nimport MandateList from '../models/mandateList';\nimport {\n DOWNLOAD_MANDATE_REPORT_ERROR,\n DOWNLOAD_MANDATE_REPORT_SUCCESS,\n FETCH_MANDATES_LIST_ERROR,\n FETCH_MANDATES_LIST_REQUEST,\n FETCH_MANDATES_LIST_SUCCESS,\n FETCH_MANDATE_TRANSACTION_LIST_ERROR,\n FETCH_MANDATE_TRANSACTION_LIST_REQUEST,\n FETCH_MANDATE_TRANSACTION_LIST_SUCCESS,\n GENERATE_MANDATE_REPORT_ERROR,\n GENERATE_MANDATE_REPORT_REQUEST,\n GENERATE_MANDATE_REPORT_SUCCESS,\n GET_ACTIVE_MANDATE_REPORT_ERROR,\n GET_ACTIVE_MANDATE_REPORT_SUCCESS,\n HIDE_MANDATE_LOADER,\n RESET_MANDATE_TRANSACTION_LIST_DATA,\n SHOW_MANDATE_LOADER,\n UPDATE_MANDATE_STATUS_REQUEST,\n UPDATE_MANDATE_STATUS_SUCCESS,\n} from './mandates.constant';\n\nconst initialState = {\n tableData: [],\n pagination: {},\n error: {},\n statusData: {\n details: {},\n error: {},\n },\n mandateTransactionData: {\n details: [],\n error: {},\n hasNextPage: true,\n isUpdating: false,\n isLoading: false,\n },\n generatedFile: {\n isSuccess: false,\n error: {},\n },\n activeReports: {\n reports: {},\n error: {},\n },\n downloadReport: {},\n isLoading: false,\n};\n\nexport const mandatesReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_MANDATES_LIST_SUCCESS: {\n const createTransactionData = new MandateList(action.payload);\n return {\n ...state,\n ...createTransactionData,\n error: {},\n };\n }\n case FETCH_MANDATES_LIST_REQUEST:\n return {\n ...state,\n error: {},\n };\n case FETCH_MANDATES_LIST_ERROR:\n return {\n ...state,\n tableData: [],\n ...action.payload,\n };\n case FETCH_MANDATE_TRANSACTION_LIST_REQUEST: {\n const { mandateTransactionData } = state;\n mandateTransactionData.isLoading = true;\n return {\n ...state,\n mandateTransactionData: {\n ...mandateTransactionData,\n },\n };\n }\n case FETCH_MANDATE_TRANSACTION_LIST_SUCCESS: {\n const { mandateTransactionData } = state;\n\n const { details } = mandateTransactionData;\n return {\n ...state,\n mandateTransactionData: {\n details: [\n ...details,\n ...action.payload.mandateTxnResponseList,\n ],\n error: {},\n hasNextPage: action.payload.hasNext,\n isLoading: false,\n },\n };\n }\n case FETCH_MANDATE_TRANSACTION_LIST_ERROR:\n return {\n ...state,\n mandateTransactionData: {\n details: [],\n error: action.payload.error,\n isLoading: false\n },\n };\n case UPDATE_MANDATE_STATUS_REQUEST: {\n const { mandateTransactionData } = state;\n mandateTransactionData.isUpdating = true;\n return {\n ...state,\n mandateTransactionData: {\n ...mandateTransactionData,\n },\n };\n }\n case UPDATE_MANDATE_STATUS_SUCCESS: {\n const { mandateTransactionData } = state;\n mandateTransactionData.isUpdating = false;\n return {\n ...state,\n mandateTransactionData: {\n ...mandateTransactionData,\n },\n };\n }\n case RESET_MANDATE_TRANSACTION_LIST_DATA: {\n return {\n ...state,\n mandateTransactionData: initialState.mandateTransactionData,\n };\n }\n case DOWNLOAD_MANDATE_REPORT_SUCCESS:\n return {\n ...state,\n downloadReport: { fileUrl: { ...action.payload } },\n };\n case DOWNLOAD_MANDATE_REPORT_ERROR:\n return {\n ...state,\n downloadReport: { ...action.payload },\n };\n case GENERATE_MANDATE_REPORT_REQUEST:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case GENERATE_MANDATE_REPORT_SUCCESS:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: true },\n };\n case GENERATE_MANDATE_REPORT_ERROR:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case GET_ACTIVE_MANDATE_REPORT_SUCCESS:\n return {\n ...state,\n activeReports: { reports: getActiveReports(action.payload) },\n };\n case GET_ACTIVE_MANDATE_REPORT_ERROR:\n return {\n ...state,\n activeReports: { ...action.payload },\n };\n\n case SHOW_MANDATE_LOADER:\n return { ...state, isLoading: true };\n case HIDE_MANDATE_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","import {\n CHARGEBACK_STATUS_ENUM,\n DEFAULT_CURRENCY,\n} from '../../../utils/constants/commonValues';\nimport { isPresentOrDefault } from '../../../utils/helperMethods';\nimport moment from 'moment';\n\nfunction ChargeBackList(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data.paginationDetails);\n}\n\nChargeBackList.prototype = Object.assign(ChargeBackList.prototype, {\n createTableData(tableData) {\n return (\n (tableData &&\n tableData.chargebackListDataList &&\n tableData.chargebackListDataList.map(row =>\n this.createRow(row))) ||\n []\n );\n },\n createPaginationData(data) {\n if (data) {\n const { pageNo, pageSize, totalElements } = data;\n\n return {\n pageSize,\n pageNumber: pageNo,\n pageCount: Math.ceil(totalElements / pageSize),\n };\n }\n return {\n pageNo: 1,\n pageSize: 10,\n totalElements: 0,\n };\n },\n createRow(row) {\n const {\n merchantName,\n chargebackDate,\n chargebackId,\n orderId,\n paymentType,\n cbStatus,\n priority,\n chargebackAmount,\n type\n } = row;\n //console.log(type,cbStatus,\".....\");\n return {\n priority: isPresentOrDefault(priority, '-'),\n merchantName: merchantName || '-',\n createdDate: chargebackDate\n ? moment(chargebackDate, 'YYYY-MM-DD').format('YYYY-MM-DD')\n : '-',\n chargebackId: chargebackId || '-',\n orderId: orderId || '-',\n paymentType: paymentType ? paymentType : '-',\n chargebackStatus: isPresentOrDefault(\n CHARGEBACK_STATUS_ENUM[cbStatus].label,\n '-'\n ),\n amount: chargebackAmount\n ? `${DEFAULT_CURRENCY} ${chargebackAmount}`\n : '-',\n type: type? type : \"CHARGEBACK\"\n // ? type : \"CHARGEBACK\"\n\n };\n },\n});\n\nexport default ChargeBackList;\n","import { isPresentOrDefault } from 'utils/helperMethods';\n\nimport {\n CHARGEBACK_STATUS_ENUM,\n CHARGEBACK_MERCHANT_STATUS_ENUM,\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction ChargebackDetailFormat(data) {\n this.chargebackDetails = this.createChargebackDetails(data);\n}\n\nChargebackDetailFormat.prototype = Object.assign(\n ChargebackDetailFormat.prototype,\n {\n createChargebackDetails(data) {\n return {\n transactionData: this.createTransactionData(\n data.transactionData, data\n ),\n disputeDetails:data?.disputeDetail,\n chargebackData:\n data.chargebackData && data.chargebackData.length\n ? data.chargebackData.map(item =>\n this.createChargeBackDetailData(item))\n : [],\n chargebackMetaData: {\n parentChargebackId: data.parentChargebackId,\n currentChargebackId: data.currentChargebackId,\n currentChargebackStatus: data.currentChargebackStatus,\n currentChargebackLevel: data.currentChargebackLevel,\n latestDueDate: data.latestDueDate\n },\n };\n },\n createDisputeDetails(data) {\n return {\n transactionData: this.createTransactionData(\n data.transactionData\n ),\n disputeData:\n data.disputeData && data.disputeData.length\n ? data.disputeData.map(item =>\n this.createDisputeDetailData(item))\n : [],\n disputeMetaData: {\n parentDisputeId: data.parentDisputeId,\n currentDisputeId: data.currentDisputeId,\n currentDisputeStatus: data.currentDisputeStatus,\n currentDisputeLevel: data.currentDisputeLevel,\n latestDueDate: data.latestDueDate\n },\n };\n },\n\n createChargeBackDetailData(details) {\n const {\n customerAgentData,\n merchantData,\n chargebackId,\n cbStatus,\n } = details;\n return {\n customerAgentData: this.createCustomerAgentData(\n customerAgentData,\n details\n ),\n merchantData: this.createMerchantData(merchantData),\n levelChargebackId: chargebackId,\n currentChargebackStatus: cbStatus,\n };\n },\n createMerchantData(merchantData) {\n const {\n mrRemarks,\n refundedAmount,\n status,\n date,\n mrDocuments,\n } = merchantData;\n return {\n date: isPresentOrDefault(date, '-'),\n status: isPresentOrDefault(\n CHARGEBACK_MERCHANT_STATUS_ENUM[status],\n '-'\n ),\n amount: isPresentOrDefault(refundedAmount, '-'),\n merchantRemarks: isPresentOrDefault(mrRemarks, '-'),\n docs:\n (mrDocuments &&\n mrDocuments.length > 0 &&\n mrDocuments.map(item => {\n return { name: item.fileName, url: item.requestId };\n })) ||\n [],\n };\n },\n createCustomerAgentData(createCustomerAgentData, details) {\n const {\n reportedDate,\n rrnNumber,\n dueDate,\n reasonCode,\n reasonCodeMsg,\n cbRemarks,\n docs,\n cbCreatedDate,\n } = createCustomerAgentData;\n\n const { cbStatus, cbLevel } = details;\n\n return {\n reportedDate: isPresentOrDefault(reportedDate, '-'),\n cbCreatedDate: isPresentOrDefault(cbCreatedDate, '-'),\n rrnNumber: isPresentOrDefault(rrnNumber, '-'),\n dueDate: isPresentOrDefault(dueDate, '-'),\n daysRemaining: moment(dueDate, 'YYYY-MM-DD HH:mm:ss').diff(\n moment(cbCreatedDate, 'YYYY-MM-DD HH:mm:ss'),\n 'days'\n ),\n reasonCode: isPresentOrDefault(reasonCode, '-'),\n chagebackLevel: isPresentOrDefault(cbLevel, '-'),\n reasonCodeMessage: isPresentOrDefault(reasonCodeMsg, '-'),\n chargebackMessage: isPresentOrDefault(cbRemarks, '-'),\n chargebackStatusValue: isPresentOrDefault(cbStatus, '-'),\n chargebackLevel: isPresentOrDefault(cbLevel, '-'),\n chargebackStatus: isPresentOrDefault(\n CHARGEBACK_STATUS_ENUM[cbStatus]?.label,\n '-'\n ),\n docs:\n (docs &&\n docs.length > 0 &&\n docs.map(item => {\n return { name: item.fileName, url: item.requestId };\n })) ||\n [],\n };\n },\n createTransactionData(transactionData, data) {\n const {\n transactionId,\n dateTime,\n amount,\n transactionType,\n transactionMode,\n payeeVpa,\n payerVpa,\n customerName,\n customerId,\n platform,\n merchantName,\n entityId,\n orderId\n } = transactionData;\n\n const { latestDueDate } = data\n\n return {\n txnRefNumber: isPresentOrDefault(transactionId, '-'),\n dateTime: isPresentOrDefault(dateTime, '-'),\n amount: isPresentOrDefault(amount, '-'),\n transactionType: isPresentOrDefault(transactionType, '-'),\n transactionMode: isPresentOrDefault(transactionMode, '-'),\n payeeVpa: isPresentOrDefault(payeeVpa, '-'),\n payerVpa: isPresentOrDefault(payerVpa, '-'),\n customerName: isPresentOrDefault(customerName, '-'),\n customerId: isPresentOrDefault(customerId, '-'),\n platform: isPresentOrDefault(platform, '-'),\n merchantName: isPresentOrDefault(merchantName, '-'),\n merchantId: isPresentOrDefault(entityId, '-'),\n orderId: isPresentOrDefault(orderId, '-'),\n latestDueDate: isPresentOrDefault(latestDueDate, '-'),\n };\n },\n createDisputeDetailData(details) {\n const {\n initiationMode,\n type,\n subType,\n orgTxnId,\n reqRefId,\n rrn,\n orgTxnDate,\n reqAdjFlag,\n reqAdjCode,\n reqAdjAmount,\n orgSettRespCode,\n crn,\n txnId,\n userRemarks,\n npciRemarks,\n reason,\n complaintStatus,\n metadata,\n payerVpa,\n payeeVpa,\n createdDate,\n modifiedDate,\n status\n } = details;\n return {\n initiationMode: isPresentOrDefault(initiationMode, '-'),\n type: isPresentOrDefault(type, '-'),\n subType: isPresentOrDefault(subType, '-'),\n orgTxnId: isPresentOrDefault(orgTxnId, '-'),\n reqRefId: isPresentOrDefault(reqRefId, '-'),\n rrn: isPresentOrDefault(rrn, '-'),\n orgTxnDate: isPresentOrDefault(orgTxnDate, '-'),\n reqAdjFlag: isPresentOrDefault(reqAdjFlag, '-'),\n reqAdjCode: isPresentOrDefault(reqAdjCode, '-'),\n reqAdjAmount: isPresentOrDefault(reqAdjAmount, 0.00),\n orgSettRespCode: isPresentOrDefault(orgSettRespCode, '-'),\n crn: isPresentOrDefault(crn, '-'),\n txnId: isPresentOrDefault(txnId, '-'),\n userRemarks: isPresentOrDefault(userRemarks, '-'),\n npciRemarks: isPresentOrDefault(npciRemarks, '-'),\n reason: isPresentOrDefault(reason, '-'),\n complaintStatus: isPresentOrDefault(complaintStatus, '-'),\n metadata: isPresentOrDefault(metadata, '-'),\n payerVpa: isPresentOrDefault(payerVpa, '-'),\n payeeVpa: isPresentOrDefault(payeeVpa, '-'),\n createdDate: isPresentOrDefault(createdDate, 0.00),\n modifiedDate: isPresentOrDefault(modifiedDate, 0.00),\n daysSinceCreated: moment().diff(\n moment(createdDate, 'YYYY-MM-DD HH:mm:ss'),\n 'days'\n ),\n daysSinceModified: moment().diff(\n moment(modifiedDate, 'YYYY-MM-DD HH:mm:ss'),\n 'days'\n ),\n status: isPresentOrDefault(status, '-'),\n \n };\n },\n }\n);\n\nexport default ChargebackDetailFormat;\n","import { getActiveReports } from 'utils/helperMethods';\n\n// models\nimport ChargeBackList from '../models/chargebackList';\nimport ChargebackDetailFormat from '../models/ChargebackDetailFormat';\n\n// constants\nimport {\n GENERATE_CHARGEBACK_REPORT_ERROR,\n GENERATE_CHARGEBACK_REPORT_REQUEST,\n GENERATE_CHARGEBACK_REPORT_SUCCESS,\n GET_ACTIVE_CHARGEBACK_REPORT_ERROR,\n GET_ACTIVE_CHARGEBACK_REPORT_SUCCESS,\n DOWNLOAD_CHARGEBACK_REPORT_ERROR,\n DOWNLOAD_CHARGEBACK_REPORT_SUCCESS,\n FETCH_CHARGEBACK_DATA_REQUEST,\n FETCH_CHARGEBACK_DATA_SUCCESS,\n FETCH_CHARGEBACK_DATA_FAILURE,\n FETCH_CHARGEBACK_DETAILS_REQUEST,\n FETCH_CHARGEBACK_DETAILS_FAILURE,\n FETCH_CHARGEBACK_DETAILS_SUCCESS,\n VALIDATE_CHARGEBACK_FAILURE,\n VALIDATE_CHARGEBACK_SUCCESS,\n RESET_FIND_TRANSACTION_FORM,\n RAISE_CHARGEBACK_SUCCESS,\n RAISE_CHARGEBACK_FAILURE,\n RESET_RAISE_CHARGEBACK_FORM,\n CHARGEBACK_MERCHANT_ACTION_REQUEST,\n CHARGEBACK_MERCHANT_ACTION_SUCCESS,\n CHARGEBACK_MERCHANT_ACTION_FAILURE,\n CHARGEBACK_AGENT_ACTION_REQUEST,\n CHARGEBACK_AGENT_ACTION_SUCCESS,\n CHARGEBACK_AGENT_ACTION_FAILURE,\n RAISE_CHARGEBACK_REQUEST,\n REFUND_DISPUTE_REQUEST,\n REFUND_DISPUTE_SUCCESS,\n REFUND_DISPUTE_FAILURE,\n CHECK_DISPUTE_STATUS_SUCCESS,\n CHECK_DISPUTE_STATUS_REQUEST,\n CHECK_DISPUTE_STATUS_FAILURE,\n\n} from './chargeback.constants';\n\nconst initialState = {\n tableData: [],\n charegebackDetailsData: {},\n isLoading: false,\n selectedTransactionDetails: {},\n pagination: {\n pageNumber: 1,\n pageSize: 10,\n pageCount: 10,\n },\n generatedFile: {\n isSuccess: false,\n error: {},\n },\n activeReports: {\n reports: {},\n error: {},\n },\n downloadReport: {},\n error: {},\n raisedChargebackData: {\n isChargebackRaisedSuccess: false,\n isLoading: false,\n error: {},\n },\n chargebackMerchantAction: {\n isMerchantActionSuccess: false,\n },\n chargebackAgentAction: {\n isChargebackAgentAction: false,\n },\n isDisputeUpdatedSucessfully: false\n};\n\nexport const chargebackReducer = (state = initialState, action) => {\n //console.log(\"action.type\",action.type);\n switch (action.type) {\n \n case FETCH_CHARGEBACK_DATA_SUCCESS: {\n const createChargebackData = new ChargeBackList(action.payload);\n return {\n ...state,\n ...createChargebackData,\n isLoading: false,\n error: {},\n };\n }\n case FETCH_CHARGEBACK_DATA_REQUEST:\n return {\n ...state,\n error: {},\n isLoading: true,\n };\n case FETCH_CHARGEBACK_DATA_FAILURE:\n return {\n ...state,\n ...action.payload,\n tableData: [],\n isLoading: false,\n };\n\n case FETCH_CHARGEBACK_DETAILS_REQUEST:\n return {\n ...state,\n ...initialState,\n isLoading: true,\n };\n case FETCH_CHARGEBACK_DETAILS_SUCCESS: {\n const createChargebackData = new ChargebackDetailFormat(\n action.payload\n );\n const { chargebackDetails } = createChargebackData;\n //console.log(\"🚀 ~ chargebackReducer ~ chargebackDetails:\", chargebackDetails)\n \n return {\n ...state,\n charegebackDetailsData: {\n transactionData: chargebackDetails.transactionData || {},\n chargebackData: chargebackDetails.chargebackData || {},\n disputeDetails: chargebackDetails.disputeDetails || {},\n chargebackMetaData:\n chargebackDetails.chargebackMetaData || {},\n },\n isLoading: false,\n };\n }\n case CHECK_DISPUTE_STATUS_REQUEST: {\n return {\n ...state,\n isLoading: true,\n };\n }\n case CHECK_DISPUTE_STATUS_SUCCESS: {\n return {\n ...state,\n charegebackDetailsData: {\n ...state.charegebackDetailsData,\n chargebackMetaData: {\n ...state.charegebackDetailsData.checchargebackMetaData,\n currentChargebackStatus: action.payload.status,\n },\n },\n isLoading: false,\n };\n }\n case CHECK_DISPUTE_STATUS_FAILURE: {\n return {\n ...state,\n isLoading: false,\n };\n }\n case FETCH_CHARGEBACK_DETAILS_FAILURE:\n return {\n ...state,\n ...action.payload,\n };\n\n case VALIDATE_CHARGEBACK_FAILURE:\n return {\n ...state,\n selectedTransactionDetails: { ...action.payload },\n };\n case VALIDATE_CHARGEBACK_SUCCESS:\n return {\n ...state,\n selectedTransactionDetails: {\n isSuccess: true,\n ...action.payload,\n },\n };\n\n case RESET_FIND_TRANSACTION_FORM:\n return {\n ...state,\n selectedTransactionDetails:\n initialState.selectedTransactionDetails,\n };\n\n case RAISE_CHARGEBACK_REQUEST:\n return {\n ...state,\n raisedChargebackData: {\n isChargebackRaisedSuccess: false,\n error: {},\n isLoading: true,\n },\n };\n\n case RAISE_CHARGEBACK_SUCCESS:\n return {\n ...state,\n raisedChargebackData: {\n isChargebackRaisedSuccess: true,\n isLoading: false,\n },\n };\n\n case RAISE_CHARGEBACK_FAILURE:\n return {\n ...state,\n raisedChargebackData: {\n ...action.payload,\n isLoading: false,\n },\n };\n\n case RESET_RAISE_CHARGEBACK_FORM:\n return {\n ...state,\n raisedChargebackData: initialState.raisedChargebackData,\n };\n\n case CHARGEBACK_MERCHANT_ACTION_REQUEST:\n return {\n ...state,\n chargebackMerchantAction: {\n isMerchantActionSuccess: false,\n },\n };\n\n case CHARGEBACK_MERCHANT_ACTION_SUCCESS:\n return {\n ...state,\n chargebackMerchantAction: {\n isMerchantActionSuccess: true,\n },\n };\n\n case CHARGEBACK_MERCHANT_ACTION_FAILURE:\n return {\n ...state,\n chargebackMerchantAction: {\n ...action.payload,\n },\n };\n\n case CHARGEBACK_AGENT_ACTION_REQUEST:\n return {\n ...state,\n chargebackAgentAction: {\n isChargebackAgentAction: false,\n isLoading: true,\n },\n };\n\n case CHARGEBACK_AGENT_ACTION_SUCCESS:\n return {\n ...state,\n chargebackAgentAction: {\n isChargebackAgentAction: true,\n isLoading: false,\n },\n };\n\n case CHARGEBACK_AGENT_ACTION_FAILURE:\n return {\n ...state,\n chargebackAgentAction: {\n isChargebackAgentAction: false,\n isLoading: false,\n ...action.payload,\n },\n };\n case DOWNLOAD_CHARGEBACK_REPORT_SUCCESS:\n return {\n ...state,\n downloadReport: { fileUrl: { ...action.payload } },\n };\n case DOWNLOAD_CHARGEBACK_REPORT_ERROR:\n return {\n ...state,\n downloadReport: { ...action.payload },\n };\n case GENERATE_CHARGEBACK_REPORT_REQUEST:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case GENERATE_CHARGEBACK_REPORT_SUCCESS:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: true },\n };\n case GENERATE_CHARGEBACK_REPORT_ERROR:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case GET_ACTIVE_CHARGEBACK_REPORT_SUCCESS:\n return {\n ...state,\n activeReports: { reports: getActiveReports(action.payload) },\n };\n case GET_ACTIVE_CHARGEBACK_REPORT_ERROR:\n return {\n ...state,\n activeReports: { ...action.payload },\n };\n // CASE OF REFUND DISPUTE\n case REFUND_DISPUTE_REQUEST:\n //console.log(\"inside the case\",REFUND_DISPUTE_REQUEST);\n return {\n ...state,\n isLoading: true,\n isDisputeUpdatedSucessfully: false\n };\n case REFUND_DISPUTE_SUCCESS: {\n return {\n ...state,\n charegebackDetailsData: {\n ...state.charegebackDetailsData,\n chargebackMetaData: {\n ...state.charegebackDetailsData.checchargebackMetaData,\n currentChargebackStatus: action.payload.status,\n },\n },\n isLoading: false,\n isDisputeUpdatedSucessfully: true\n };\n }\n case REFUND_DISPUTE_FAILURE:\n return {\n ...state,\n ...action.payload,\n isLoading: false,\n isDisputeUpdatedSucessfully: false\n };\n // end of refund dispute\n\n default:\n return state;\n }\n};\n","/* eslint-disable function-paren-newline */\n// Libs\nimport moment from 'moment';\n\nfunction MerchantLegalEntityModal(data, relationshipManagerMap) {\n this.tableData = this.createTableData(data, relationshipManagerMap);\n this.pagination = this.createPaginationData(data);\n}\n\nMerchantLegalEntityModal.prototype = Object.assign(\n MerchantLegalEntityModal.prototype,\n {\n createTableData(tableData, relationshipManagerMap) {\n if (tableData && tableData.data && tableData.data.length > 0) {\n return tableData.data.map(row => this.createRow(row, relationshipManagerMap));\n }\n return [];\n },\n createPaginationData(data) {\n if (data) {\n const {\n pageNumber,\n pageSize,\n totalNumberOfRecords,\n totalNumberOfPages,\n hasNextPage,\n hasPreviousPage,\n } = data.paging;\n\n return {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n totalNumberOfPages,\n totalNumberOfRecords,\n };\n }\n return {};\n },\n createRow(row, relationshipManagerMap) {\n const { name, entityCode, createdDate, relationshipManagerId, entityStatus, kycStatus } = row;\n return {\n createdDate,\n entityName: name,\n entityCode,entityStatus,kycStatus,\n relationshipManagerId: relationshipManagerMap ? relationshipManagerMap[relationshipManagerId] : '',\n };\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY');\n },\n }\n);\n\nexport default MerchantLegalEntityModal;\n","import { BUSINESS_SECTION_TYPE_MLE, MLE_CREATE_FORM_NAME } from 'components/Onboarding/Mle/BusinessTab/contants';\nimport {\n FETCH_MERCHANT_LEGAL_ENTITY_FAILURE,\n FETCH_MERCHANT_LEGAL_ENTITY_REQUEST,\n FETCH_MERCHANT_LEGAL_ENTITY_SUCCESS,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_FAILURE,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_REQUEST,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_SUCCESS,\n EDIT_MERCHANT_LEGAL_ENTITY_SUCCESS,\n EDIT_MERCHANT_LEGAL_ENTITY_REQUEST,\n EDIT_MERCHANT_LEGAL_ENTITY_FAILURE,\n CREATE_MERCHANT_LEGAL_ENTITY_FAILURE,\n CREATE_MERCHANT_LEGAL_ENTITY_SUCCESS,\n CREATE_MERCHANT_LEGAL_ENTITY_REQUEST,\n MERCHANT_LEGAL_ENTITY_FORM_RESET,\n SET_STATIC_MERCHANT_LEGAL_ENTITY,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_FAILURE,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_REQUEST,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_SUCCESS,\n FETCH_BASIC_FORM_DATA_SUCCESS_V1,\n FETCH_BASIC_FORM_DATA_FAILURE_V1,\n SAVE_AND_CONTINUE_SUCCESS_V1,\n SAVE_AND_CONTINUE_FAILED_V1,\n RESET_SUCCESS_KEY,\n RESET_FORM_DATA_MLE,\n FETCH_MLE_FORM_IN_PROCESS_SUCCESS,\n FETCH_MLE_FORM_IN_PROCESS_ERROR,\n SUBMIT_SUCCESS_DATA_MLE,\n SUBMIT_FAILURE_DATA_MLE,\n REDIRECT_KEY_MLE,\n} from './merchantLegalEntity.constants';\n\nimport MerchantLegalEntityModal from './model/merchantLegalEntityList';\nimport moment from 'moment';\nimport { UBO_CREATE_FORM_NAME, UBO_SECTION_TYPE } from 'components/Onboarding/Mle/UobTab/constant';\nimport { SUBMITTED_KEY } from 'components/Onboarding/Mle/mle.constants';\nimport { MERCHANT_TIMELINE_STATUS, UBODETAILS } from '../constants';\nimport MLEDraftData from './model/mleDraftData';\n\nexport const initialState = {\n formData: {},\n formEvents: {},\n uniqueIdentifier: '',\n tableData: [],\n pagination: {},\n error: {},\n editData: {},\n createData: {},\n relationshipManagerMap: {},\n isLoading: false,\n isSuccess: false,\n listingDraftData: {tableData: []},\n listingError: '',\n redirect: '',\n basicFormData: {}\n};\n\nconst makeEditData = data => {\n // console.log(\"make edit data\", data);\n // console.log(\"busines section\", data[BUSINESS_SECTION_TYPE_MLE]);\n // console.log(\"ownership section\", data[UBO_SECTION_TYPE]);\n if (!data || !data?.[BUSINESS_SECTION_TYPE_MLE] || !data?.[UBO_SECTION_TYPE]) {\n // console.log(\"asddaDAS\");\n // console.log(\"daasds\", !data, !data?.[BUSINESS_SECTION_TYPE_MLE], !data?.[UBO_SECTION_TYPE])\n return;\n }\n try {\n const editData = {\n forms: [{\n sections: [\n {\n type: BUSINESS_SECTION_TYPE_MLE,\n data: {\n ...data[BUSINESS_SECTION_TYPE_MLE]\n },\n },\n {\n type: UBO_SECTION_TYPE,\n data: {\n ...data[UBO_SECTION_TYPE]\n },\n },\n ],\n }],\n };\n // console.log(\"edit data\", editData);\n // delete editData.address;\n \n return editData;\n } catch(e) {\n console.log(\"make edit data...\", e);\n }\n};\n\nconst getFilledStatus = (data) => {\n // form filled status\n let filledStatus = {};\n if (data?.forms?.[0]?.sections?.length) {\n // console.log(\"data?.forms?.[0]?.sections\", data?.forms?.[0]?.sections);\n // console.log(\"ds\", data?.forms?.[0]?.sections.map(items => {console.log(items.type, BUSINESS_SECTION_TYPE_MLE)}))\n let businessDetailLen = data?.forms?.[0]?.sections?.filter(items => (items.type === BUSINESS_SECTION_TYPE_MLE))?.length;\n filledStatus[`${MLE_CREATE_FORM_NAME}status`] = businessDetailLen > 0 ? MERCHANT_TIMELINE_STATUS.Complete : MERCHANT_TIMELINE_STATUS.Pending;\n let uboDetailLen = data?.forms?.[0]?.sections?.filter(items => (items.type === UBO_SECTION_TYPE))?.length;\n filledStatus[`${UBO_CREATE_FORM_NAME}status`] = uboDetailLen > 0 ? MERCHANT_TIMELINE_STATUS.Complete : (businessDetailLen > 0) ? MERCHANT_TIMELINE_STATUS.Open : MERCHANT_TIMELINE_STATUS.Pending;\n \n }\n return filledStatus;\n}\n\nexport const merchantLegalEntityReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_BASIC_FORM_DATA_SUCCESS_V1: {\n console.log(\"called fetch basic form data reducer\", action);\n return { ...state, basicFormData: action.payload.data || action.payload, error: {} };\n }\n case FETCH_BASIC_FORM_DATA_FAILURE_V1: {\n console.log('action payload', action.payload);\n return {\n ...state,\n basicFormData: {\n ...state.basicFormData,\n error: {\n basicFormData: action.payload.errorMessage || 'Please try again',\n },\n },\n };\n }\n case FETCH_MERCHANT_LEGAL_ENTITY_REQUEST:\n return {\n ...state,\n isLoading: true,\n error: {},\n };\n\n case FETCH_MERCHANT_LEGAL_ENTITY_SUCCESS:\n const merchantLegalEntityData = new MerchantLegalEntityModal(\n action.payload,\n state.relationshipManagerMap\n );\n\n return {\n ...state,\n ...merchantLegalEntityData,\n isLoading: false,\n error: {},\n };\n\n case FETCH_MERCHANT_LEGAL_ENTITY_FAILURE:\n return {\n ...state,\n isLoading: false,\n error: action.payload?.error,\n };\n case FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_REQUEST:\n return {\n ...state,\n editData: {},\n error: {},\n };\n\n case REDIRECT_KEY_MLE: \n // console.log(\"removeRedirectKey\", \"REDIRECT_KEY_MLE\")\n return {\n ...state, \n redirect: ''\n }\n\n case FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_SUCCESS:\n // console.log(\"edit data updated \", action.payload);\n const editData = makeEditData(action.payload);\n // console.log(\"dddddd\");\n const uniqueIdentifier = action.payload.entityCode;\n // console.log(\"dssaasad\", editData);\n const filledStatus = getFilledStatus(editData);\n // console.log(\"edit data updated \", filledStatus);\n const redirect = `/mle-onboarding/view/${UBODETAILS}/${uniqueIdentifier}`\n return {\n ...state,\n editData,\n formData: {\n ...editData\n },\n formEvents: {\n ...filledStatus\n },\n uniqueIdentifier,\n redirect,\n error: {},\n };\n case FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_FAILURE:\n return {\n ...state,\n error: action.payload,\n redirect: 'error'\n };\n\n\n\n\n\n //fetch Pincode details from the API for MLE details\n case FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_REQUEST:\n return {\n ...state,\n editData: {},\n error: {},\n };\n\n case FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_SUCCESS:\n const tempeditData = makeEditData(action.payload);\n return {\n ...state,\n tempeditData,\n error: {},\n };\n case FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_FAILURE:\n return {\n ...state,\n error: action.payload,\n };\n\n\n\n case CREATE_MERCHANT_LEGAL_ENTITY_REQUEST:\n return {\n ...state,\n isLoading: true,\n isSuccess: false,\n };\n\n case CREATE_MERCHANT_LEGAL_ENTITY_FAILURE:\n return {\n ...state,\n isSuccess: false,\n isLoading: false,\n error: { ...action.payload.error },\n };\n case CREATE_MERCHANT_LEGAL_ENTITY_SUCCESS:\n return {\n ...state,\n isLoading: false,\n isSuccess: true,\n };\n case EDIT_MERCHANT_LEGAL_ENTITY_SUCCESS:\n return {\n ...state,\n isLoading: false,\n isSuccess: true,\n };\n\n case EDIT_MERCHANT_LEGAL_ENTITY_REQUEST:\n return {\n ...state,\n isLoading: true,\n isSuccess: false,\n };\n\n case EDIT_MERCHANT_LEGAL_ENTITY_FAILURE:\n return {\n ...state,\n isLoading: false,\n isSuccess: false,\n error: {\n ...action.payload.error,\n },\n };\n\n case MERCHANT_LEGAL_ENTITY_FORM_RESET:\n return {\n ...state,\n editData: initialState.editData,\n createData: initialState.createData,\n isSuccess: false,\n };\n case SET_STATIC_MERCHANT_LEGAL_ENTITY: {\n const relationshipManagerMap = {};\n action.payload.relationshipManagerInfoResponse.forEach(item => {\n relationshipManagerMap[item.email] = item.name;\n });\n return {\n ...state,\n relationshipManagerMap,\n };\n }\n case SAVE_AND_CONTINUE_SUCCESS_V1: {\n // console.log(\"SAVE_AND_CONTINUE_SUCCESS_V1\", action.payload);\n let isSubmit = {};\n if (action.sectionType)\n isSubmit[action.sectionType] = SUBMITTED_KEY;\n let isFormSubmitted = action?.payload?.isSubmit; // submit form call\n let uniqueIdentifier = action?.payload?.forms?.[0]?.uniqueIdentifier;\n // console.log(\"actionsSave\", action)\n const filledStatus = getFilledStatus(action.payload);\n // console.log(\"filled\", filledStatus);\n return {\n ...state,\n formData: {\n ...state.formData,\n ...action?.payload\n },\n formEvents: {\n ...isSubmit,\n ...filledStatus,\n isFormSubmitted\n },\n uniqueIdentifier\n\n }\n }\n case SUBMIT_SUCCESS_DATA_MLE: \n // console.log(\"SUBMIT_SUCCESS_DATA_MLE\", action.payload);\n let isFormSubmitted = action?.payload?.isSubmit; // submit form call\n return {\n ...state,\n formEvents: {\n ...state.formEvents,\n isFormSubmitted\n }\n }\n case SUBMIT_FAILURE_DATA_MLE: \n return {\n ...state,\n formEvents: {\n ...state.formEvents,\n isFormSubmitted: false\n },\n errors: {\n ...state.error,\n formDataError: action?.payload?.errorMessage || \"\"\n }\n }\n case SAVE_AND_CONTINUE_FAILED_V1: \n return {\n ...state,\n errors: {\n ...state.error,\n formDataError: action?.payload?.errorMessage || \"\"\n }\n }\n case RESET_SUCCESS_KEY: {\n console.log(\"reset success key\", action);\n let isSubmit = {};\n isSubmit[action?.payload?.sectionType] = '';\n return {\n ...state,\n formEvents: {\n ...state.formEvents, \n ...isSubmit,\n isFormSubmitted: false\n }\n }\n }\n case RESET_FORM_DATA_MLE: {\n console.log(\"reducer called\", RESET_FORM_DATA_MLE);\n return {\n ...state,\n formData: initialState.formData,\n formEvents: initialState.formEvents,\n uniqueIdentifier: initialState.uniqueIdentifier\n }\n }\n\n case FETCH_MLE_FORM_IN_PROCESS_SUCCESS:\n console.log(\"action payload\", action.payload);\n const listing = new MLEDraftData(action.payload);\n return {\n ...state,\n listingDraftData: listing,\n listingError: ''\n }\n case FETCH_MLE_FORM_IN_PROCESS_ERROR: \n return {\n ...state,\n listingError: action?.payload?.errorMessage || ''\n }\n default:\n return state;\n }\n};\n","import moment from 'moment';\nimport { capitaliseString } from 'utils/helperMethods';\nfunction PaymentGatewayCredentialList(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\nPaymentGatewayCredentialList.prototype = Object.assign(\n PaymentGatewayCredentialList.prototype,\n {\n createTableData(tableData) {\n if (\n tableData &&\n tableData.viewList &&\n tableData.viewList.length > 0\n ) {\n return tableData.viewList.map(row => this.createRow(row));\n }\n return [];\n },\n createPaginationData(data) {\n if (data) {\n const {\n pageNumber,\n pageSize,\n totalElements,\n totalNumberOfPages,\n hasNextPage,\n hasPreviousPage,\n } = data;\n return {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n totalNumberOfPages,\n totalNumberOfRecords:totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n pgMid,\n pgMerchantCode,\n pgName,\n category,\n status,\n mcc,\n lastUpdatedDate,\n lastUpdatedBy,\n } = row;\n const capitalisedCategory = capitaliseString(category);\n const capitalisedUser = capitaliseString(lastUpdatedBy);\n return {\n credentialId: pgMerchantCode,\n pgMid,\n pgName,\n category: capitalisedCategory,\n mcc,\n status,\n lastUpdatedDate: this.formatData(lastUpdatedDate),\n lastUpdatedBy: capitalisedUser,\n };\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY');\n },\n }\n);\nexport default PaymentGatewayCredentialList;\n","import {\n getActiveReports,\n getBusinessSources,\n getBusinessSourcesToAccountTypeMapping,\n objToArr,\n} from 'utils/helperMethods';\nimport PaymentGatewayCredentialList from './models/PaymentGatewayCredentialList';\nimport {\n CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR,\n CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST,\n CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS,\n FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_ERROR,\n FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_REQUEST,\n FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_SUCCESS,\n FETCH_PAYMENT_GATEWAY_CREDENTIALS_FAILURE,\n FETCH_PAYMENT_GATEWAY_CREDENTIALS_REQUEST,\n FETCH_PAYMENT_GATEWAY_CREDENTIALS_SUCCESS,\n GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR,\n GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS,\n GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR,\n GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS,\n RESET_PAYMENT_GATEWAY_CREDENTIAL_CREATE_FORM,\n RESET_PAYMENT_GATEWAY_CREDENTIAL_EDIT_DATA_ON_CREATE_FORM,\n RESET_PAYMENT_GATEWAY_CREDENTIAL_UPDATE_FORM,\n UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR,\n UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST,\n UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS,\n HIDE_ROLE_LOADER,\n SHOW_ROLE_LOADER,\n FETCH_FORM_DATA_PRICING_SECTION_FAILED,\n FETCH_FORM_DATA_PRICING_SECTION_SUCCESS,\n CLICKED_CREATE_PAYMENT_CREADENTIAL_FORM\n} from './paymentGatewayCredentials.constants';\nimport { getSelectedPayModePGMID, getSlabData } from '../constants';\nconst payModeToPricingMapping = {\n debitCard: ['Domestic-Debit-Card', 'Foreign-Debit-Card'],\n creditCard: ['Domestic-Credit-Card', 'Foreign-Credit-Card'],\n // upi: ['UPI'],\n wallets: ['Wallets'],\n netbanking: ['Net-Banking'],\n};\n\nconst getSelectedPayMode = paymentModeData => {\n // console.log(\"payment mode data\", paymentModeData);\n const selectedMode = {};\n const creditCardBusinessSource = paymentModeData.creditCardBusinessSource;\n const debitCardBusinessSource = paymentModeData.debitCardBusinessSource;\n\n const mapbusinessSource = {\n debitCard: debitCardBusinessSource,\n creditCard: creditCardBusinessSource\n }\n\n const mapBusinessTypes = (type) => {\n if (type === 'INTERNATIONAL') return 'foreign';\n return type;\n }\n\n const isBoolSelected = (type, paymentType) => {\n // console.log(\"is bool selected\", type, paymentType);\n let businessSource = mapbusinessSource[paymentType];\n // console.log('business', businessSource);\n let isItemConsider = false;\n if (businessSource?.length) {\n businessSource.map(item => {\n // console.log(\"..asdfsafd\", type.toLowerCase(), item, mapBusinessTypes(item).toLowerCase(), isItemConsider);\n if (!isItemConsider)\n isItemConsider = type?.toLowerCase()?.includes(mapBusinessTypes(item)?.toLowerCase());\n })\n } else {\n isItemConsider = true;\n }\n // console.log(\"frina;;\", isItemConsider);\n return isItemConsider;\n }\n\n paymentModeData && Object.keys(paymentModeData).map(item => {\n if (payModeToPricingMapping[item] && paymentModeData[item].length > 0) {\n // console.log(\"paymennnt\", paymentModeData);\n payModeToPricingMapping[item].map((paymentMode, idddxxx) => {\n // console.log(\"patcheck\", paymentMode, idddxxx);\n if (isBoolSelected(paymentMode, item)) {\n // console.log(\".........ssss\", paymentMode);\n selectedMode[paymentMode] = [{...getSelectedPayModePGMID(paymentMode)}];\n }\n });\n }\n });\n\n return selectedMode;\n};\n\nconst getPricingInitValue = formSectionData => {\n // console.log(\"form section data\", formSectionData);\n const selectedPayMode = getSelectedPayMode({...formSectionData});\n // console.log(\"select pay mode\", selectedPayMode);\n const finalSelectedPayMode = {...selectedPayMode};\n Object.keys(selectedPayMode).map((paymode, index) => {\n let modeDetails = selectedPayMode[paymode][0];\n // console.log(\"mode details\", modeDetails);\n // console.log(\"pay mode\", paymode);\n selectedPayMode[paymode].map((item, index) => {\n finalSelectedPayMode[paymode][index].bankSlabs = getSlabData(\n modeDetails,\n modeDetails.isSingleSlab\n );\n });\n });\n\n return finalSelectedPayMode;\n};\n\nconst initialState = {\n tableData: [],\n pagination: {},\n error: {},\n isLoading: false,\n generatedFile: {\n isSuccess: false,\n error: {},\n },\n activeReports: {\n reports: {},\n error: {},\n },\n downloadReport: {},\n draftData: [],\n createFormData: {\n isLoading: false,\n isSuccess: false,\n },\n editFormData: {\n isLoading: false,\n isSuccess: false,\n },\n pricing_section_initial_data: {\n isSuccess: false\n }\n};\n\nconst getOnboardingFormValuesFromResponse = values => {\n const {\n category_name,\n sub_category_name,\n mcc,\n credentials,\n payment_modes,\n pg_code,\n } = values;\n\n const onboardingInitialData = {\n pgName: pg_code,\n category: category_name,\n sub_category_name,\n mcc,\n credentials,\n };\n return onboardingInitialData;\n};\n\nconst getPaymodeFormValuesFromResponse = values => {\n if (values && values.length) {\n const paymentMode = values || [];\n const creditCard = [];\n const debitCard = [];\n const netbanking = [];\n const upi = [];\n let debitCardBusinessSource = [];\n let creditCardBusinessSource = [];\n let upiBusinessSource = [];\n let upiAccountType = [];\n const wallets = [];\n const accountVerification = [];\n const emi = [];\n let emiBusinessSource = [];\n const mandateUpi = [];\n let vpa = '';\n\n // console.log(\"values\", paymentMode);\n\n paymentMode.forEach(item => {\n // console.log(\"Processing item\", item); // Log each item to debug\n\n if (!item) {\n return;\n }\n if (item.paymentType === 'CC') {\n creditCard.push(item.paymentModeInfo);\n creditCardBusinessSource = item ? getBusinessSources(item) : [];\n }\n if (item.paymentType === 'DC') {\n debitCard.push(item.paymentModeInfo);\n debitCardBusinessSource = item ? getBusinessSources(item) : [];\n }\n if (item.paymentType === 'NB') {\n netbanking.push(item.paymentModeInfo);\n }\n if (item.paymentType === 'UPI' && item.category !== 'MANDATE') {\n upi.push(item.paymentModeInfo);\n vpa = item.paymentSubModeInfo;\n upiBusinessSource = item ? getBusinessSources(item) : [];\n upiAccountType = item.txnConfig\n ? getBusinessSourcesToAccountTypeMapping(item.txnConfig)\n : [];\n }\n if (item.paymentType === 'UPI' && item.category === 'MANDATE') {\n mandateUpi.push(item.paymentModeInfo);\n }\n if (item.paymentType === 'WALLET') {\n wallets.push(item.paymentModeInfo);\n }\n if (item.paymentType === 'ACCOUNT_VERIFICATION') {\n accountVerification.push(item.paymentModeInfo);\n }\n if (item.paymentType === 'EMI_CC') {\n emi.push(item.paymentModeInfo);\n emiBusinessSource = item ? getBusinessSources(item) : [];\n }\n });\n let data = {\n debitCard,\n creditCard,\n netbanking,\n upi,\n mandateUpi,\n debitCardBusinessSource,\n creditCardBusinessSource,\n upiBusinessSource,\n ...upiAccountType,\n wallets,\n };\n\n // console.log(\"getPaymodeFormValuesFromResponsedata\", data);\n return data\n }\n return {};\n};\n\nfunction updateInitData(initData, editBankSlabData) {\n try {\n\n const respUpdateInitData={};\n // console.log(\"hehheh\");\n console.log(\"init data....\", initData, editBankSlabData);\n\n Object.keys(initData).map(initDataPayModKey => {\n // console.log(\"keys pay mode\", initDataPayModKey);\n respUpdateInitData[initDataPayModKey] = [];\n initData[initDataPayModKey].map(payModData => {\n // console.log(\"till---> pay mode\");\n // filteredEditSlabData - contained clubbed response (basis of cardType) from feeConfigList\n const filteredEditSlabData = {};\n // filtering response data\n Object.values(editBankSlabData)\n .filter(item => {\n let isDomestic = payModData.isDomestic ? 1 : 0;\n return item.paymentType === payModData.paymentType && isDomestic == item.domesticFlag\n })\n .map(item => {\n let uniqueCode = 'all';\n\n // item card type represents the dropdown in pgmid page\n if (['NB', 'WALLET'].includes(item.paymentType) && item.issuer) {\n uniqueCode = item.issuer;\n item.cardType = item.issuer;\n }\n if (item.cardType) {\n uniqueCode = item.cardType;\n if (item.cardCategory) {\n uniqueCode = uniqueCode + item.cardCategory;\n }\n } else {\n item.cardType = 'all'\n }\n // clubbing the slab\n if (!filteredEditSlabData[uniqueCode]) {\n filteredEditSlabData[uniqueCode] = [{...item}];\n } else {\n filteredEditSlabData[uniqueCode].push({...item});\n }\n });\n\n // console.log(\"filtered edit slab data\", filteredEditSlabData);\n // setting response data\n if (Object.keys(filteredEditSlabData).length) {\n Object.entries(filteredEditSlabData).forEach(([filteredEditDataKey, filteredEditDataItem]) => {\n // console.log(\"filteredEditDataItem\", filteredEditDataItem);\n let cardType = filteredEditDataKey;\n let sectionSlabData = {...payModData, cardType};\n // for adding all the keys in the response\n sectionSlabData.bankSlabs = [...filteredEditDataItem];\n respUpdateInitData[initDataPayModKey].push(sectionSlabData);\n })\n } else {\n respUpdateInitData[initDataPayModKey].push(payModData);\n }\n })\n })\n\n console.log(\"updated init data\", respUpdateInitData);\n return respUpdateInitData;\n function pairSlabs(data) {\n \n if(data[\"Domestic-Debit-Card\"]){\n const bankSlabs = data[\"Domestic-Debit-Card\"][0].bankSlabs;\n const grouped = {};\n // Group by paySlabId\n bankSlabs.forEach(slab => {\n const { paySlabId } = slab;\n if (!grouped[paySlabId]) {\n grouped[paySlabId] = [];\n }\n grouped[paySlabId].push(slab);\n });\n console.log(\"bankSlabsbankSlabs\", bankSlabs, grouped);\n\n const newDoData = [];\n\n Object.keys(grouped).map(item => {\n newDoData.push({...data[\"Domestic-Debit-Card\"][0], bankSlabs: grouped[item] });\n })\n data[\"Domestic-Debit-Card\"] = newDoData;\n console.log(newDoData, \"newDoDatanewDoData\");\n }\n if(data[\"Foreign-Debit-Card\"]){\n const bankSlabs = data[\"Foreign-Debit-Card\"][0].bankSlabs;\n const grouped = {};\n // Group by paySlabId\n bankSlabs.forEach(slab => {\n const { paySlabId } = slab;\n if (!grouped[paySlabId]) {\n grouped[paySlabId] = [];\n }\n grouped[paySlabId].push(slab);\n });\n console.log(\"bankSlabsbankSlabs\", bankSlabs, grouped);\n\n const newDoData = [];\n\n Object.keys(grouped).map(item => {\n newDoData.push({...data[\"Foreign-Debit-Card\"][0], bankSlabs: grouped[item] });\n })\n data[\"Foreign-Debit-Card\"] = newDoData;\n console.log(newDoData, \"newDoDatanewDoData\");\n }\n console.log(\"returned data....\", data);\n return data;\n }\n // console.log(pairSlabs(respUpdateInitData), \"respUpdateInitData\");\n return pairSlabs(respUpdateInitData);\n } catch(e) {\n // console.log(\"no error message ....\", e.message);\n return {};\n }\n}\n\nconst getPricingFormValuesFromResponse = (\n payModeData,\n pgMIDFeeInfoResponse\n) => {\n const initPricingValue = getPricingInitValue(payModeData);\n // console.log(\"init pricing value\", initPricingValue);\n // const editInitPricingValue = updateInitData(\n const editInitPricingValue = pgMIDFeeInfoResponse?.pgMidFeeConfigInfoList && updateInitData(\n {...initPricingValue},\n {...pgMIDFeeInfoResponse?.pgMidFeeConfigInfoList}\n );\n\n console.log(\"edit and fetch init pricing value\", editInitPricingValue);\n\n let pricingInitData = {\n feeConfigList: {...editInitPricingValue},\n };\n\n return pricingInitData;\n};\n\nconst getEditDraftData = data => {\n let draftData = [];\n // console.log(\"Edit data\", data);\n let onboardingInitialData = getOnboardingFormValuesFromResponse(\n data.infoResponse\n );\n // console.log(\"on boarding data\", onboardingInitialData);\n\n if (onboardingInitialData) {\n draftData.push({\n data: onboardingInitialData,\n type: 'credentialSection',\n });\n }\n\n let payModeData = getPaymodeFormValuesFromResponse(\n data?.infoResponse?.payment_modes\n );\n // console.log(\"pay mode data\", payModeData);\n\n if (payModeData) {\n draftData.push({\n data: payModeData,\n type: 'paymodeSection',\n });\n }\n\n // let pricingInitData = getPricingFormValuesFromResponse(\n let pricingInitData = data?.pgMIDFeeInfoResponse && getPricingFormValuesFromResponse(\n {...payModeData},\n {...data.pgMIDFeeInfoResponse}\n );\n\n // console.log(\"pricing init data\", pricingInitData);\n\n if (pricingInitData) {\n draftData.push({\n data: pricingInitData,\n type: 'pricingSection',\n });\n }\n return draftData;\n};\n\nexport const paymentGatewayCredentialsReducer = (\n state = initialState,\n action\n) => {\n switch (action.type) {\n case FETCH_PAYMENT_GATEWAY_CREDENTIALS_REQUEST: {\n return { ...state, tableData: [], isLoading: true };\n }\n\n case FETCH_PAYMENT_GATEWAY_CREDENTIALS_SUCCESS: {\n const createRefundData = new PaymentGatewayCredentialList(\n action.payload\n );\n return {\n ...state,\n ...createRefundData,\n error: {},\n isLoading: false,\n };\n }\n\n case FETCH_PAYMENT_GATEWAY_CREDENTIALS_FAILURE: {\n return {\n ...state,\n error: {\n ...action.payload,\n },\n isLoading: false,\n };\n }\n\n case GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: true },\n };\n case GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_SUCCESS:\n return {\n ...state,\n activeReports: { reports: getActiveReports(action.payload) },\n };\n case GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_ERROR:\n return {\n ...state,\n activeReports: { ...action.payload },\n };\n\n case RESET_PAYMENT_GATEWAY_CREDENTIAL_CREATE_FORM: {\n return {\n ...state,\n createFormData: {\n ...initialState.createFormData,\n referenceId: state.createFormData?.referenceId,\n },\n //draftData:[],\n };\n }\n\n case RESET_PAYMENT_GATEWAY_CREDENTIAL_EDIT_DATA_ON_CREATE_FORM: {\n return {\n ...state,\n createFormData: {\n ...initialState.createFormData,\n referenceId: state.createFormData?.referenceId,\n },\n draftData: [],\n };\n }\n\n case RESET_PAYMENT_GATEWAY_CREDENTIAL_UPDATE_FORM: {\n return {\n ...state,\n editFormData: {\n ...initialState.editFormData,\n referenceId: state.editFormData?.referenceId,\n },\n };\n }\n\n case CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST: {\n return {\n ...state,\n createFormData: {\n ...state.createFormData,\n isLoading: true,\n isSuccess: false,\n sectionType: action.sectionType,\n },\n };\n }\n case CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS: {\n console.log(\"CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS\", action);\n let updatedDraftData = [];\n if (action.sectionType === 'paymodeSection') {\n let payModeDraftData = [];\n if (action?.requestPayload?.paymentModeSection) {\n const prePayMode = state.draftData.find(item => item.type === \"paymodeSection\");\n // console.log(\"action.requestPayload\", action.requestPayload);\n let payModeData = getPaymodeFormValuesFromResponse(\n action.requestPayload.paymentModeSection?.paymentModeDetails || []\n );\n console.log(\"paymoddata\", payModeData, prePayMode);\n if (prePayMode) {\n payModeDraftData = state.draftData.map(item => {\n if (item.type === \"paymodeSection\") {\n return { ...item, data: payModeData };\n }\n return item;\n })\n } else {\n payModeDraftData = [\n ...state.draftData,\n { type: 'paymodeSection', data: payModeData },\n ];\n }\n } else {\n payModeDraftData = [...state.draftData];\n }\n\n const initPricingValue = getPricingInitValue(\n action.formSectionData\n );\n // console.log(\"initpricing value\", initPricingValue);\n\n // console.log(\"create init pricing section\", initPricingValue);\n\n // and we will use that data to pouplate draftdata\n let pricingInitData = { feeConfigList: initPricingValue };\n\n let filteredPayModeDraftData = payModeDraftData.filter(item => item.type !== \"pricingSection\");\n\n updatedDraftData = [\n ...filteredPayModeDraftData,\n { type: 'pricingSection', data: pricingInitData },\n ];\n } else if (action.sectionType === \"credentialSection\") {\n const preData = state.draftData.find(item => item.type === \"credentialSection\");\n\n\n if (preData) {\n updatedDraftData = state.draftData.map(item => {\n if (item.type === \"credentialSection\") {\n return { ...item, data: action.formSectionData };\n }\n return item;\n })\n } else {\n updatedDraftData = [\n ...state.draftData,\n { type: 'credentialSection', data: action.formSectionData },\n ];\n }\n }\n // console.log(\"CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS...\");\n // console.log(\"state.createFormData\", state.createFormData);\n // console.log(\"action.payload\", action.payload);\n let referenceId = action.payload?.referenceId\n ? action.payload.referenceId\n : state.createFormData.referenceId;\n if (action.sectionType === 'pricingSection') {\n referenceId = '';\n }\n\n return {\n ...state,\n draftData: updatedDraftData || [],\n createFormData: {\n ...state.createFormData,\n isLoading: false,\n isSuccess: true,\n sectionType: action.sectionType,\n referenceId,\n },\n };\n }\n case CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR: {\n return {\n ...state,\n createFormData: {\n ...state.createFormData,\n isLoading: false,\n isSuccess: false,\n sectionType: action.sectionType,\n referenceId: action?.payload?.referenceId,\n error: { ...action.payload },\n },\n };\n }\n\n case UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_ERROR: {\n return {\n ...state,\n editFormData: {\n ...state.editFormData,\n isLoading: false,\n isSuccess: false,\n sectionType: action.sectionType,\n referenceId: action?.payload?.referenceId,\n error: { ...action.payload },\n },\n };\n }\n\n case UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS: {\n let updatedDraftData = [];\n\n if (action.sectionType === 'paymodeSection') {\n\n let pricingInitData = getPricingFormValuesFromResponse(\n action.formSectionData,\n state.editFormData.pgMIDFeeInfoResponse\n );\n\n const initPricingValue = getPricingInitValue(\n action.formSectionData\n );\n\n let pricingInitData2 = { feeConfigList: initPricingValue };\n\n updatedDraftData = state.draftData.some(item => item.type === 'pricingSection')\n ? state.draftData.map(item =>\n item.type === 'pricingSection'\n ? { ...item, data: !state.editFormData.pgMIDFeeInfoResponse ? pricingInitData2 : pricingInitData }\n : item\n )\n : [\n ...state.draftData,\n { type: 'pricingSection', data: !state.editFormData.pgMIDFeeInfoResponse ? pricingInitData2 : pricingInitData }\n ];\n console.log(\"updatedDraftData\", updatedDraftData);\n }\n // console.log(\"UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_SUCCESS...\");\n return {\n ...state,\n draftData: updatedDraftData || [],\n editFormData: {\n ...state.editFormData,\n isLoading: false,\n isSuccess: true,\n sectionType: action.sectionType,\n referenceId: !state.editFormData.referenceId\n ? action.payload.referenceId\n : state.editFormData.referenceId,\n },\n };\n }\n\n case UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST: {\n\n return {\n ...state,\n editFormData: {\n ...state.editFormData,\n isLoading: true,\n isSuccess: false,\n sectionType: action.sectionType,\n },\n };\n }\n\n case FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_REQUEST: {\n return {\n ...state,\n isLoading: true,\n editFormData: initialState.editFormData,\n // draftData: [],\n };\n }\n\n case FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_ERROR: {\n\n return {\n ...state,\n editFormData: initialState.editFormData,\n isLoading: false,\n draftData: [],\n };\n }\n case FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_SUCCESS: {\n\n // console.log(\"acction payload\", action.payload);\n const formDraftData = getEditDraftData(action.payload) || [];\n\n const hasPricing = formDraftData.findIndex(item => item.type === \"pricingSection\");\n const preData = state.draftData.find(item => item.type === \"pricingSection\")\n\n // console.log(\"FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_SUCCESS...\");\n return {\n ...state,\n isLoading: false,\n editFormData: {\n ...state.editFormData,\n isLoading: false,\n isSuccess: true,\n referenceId: action?.payload?.referenceId,\n pgMIDFeeInfoResponse: action?.payload?.pgMIDFeeInfoResponse,\n },\n draftData: hasPricing === -1 && preData ? state.draftData.map(item => {\n if(item.type === \"pricingSection\"){\n return preData;\n }\n return formDraftData.find(nesItem => nesItem.type === item.type)\n }) : formDraftData,\n };\n }\n case SHOW_ROLE_LOADER:\n return { ...state, isLoading: true };\n case HIDE_ROLE_LOADER:\n return { ...state, isLoading: false };\n case FETCH_FORM_DATA_PRICING_SECTION_SUCCESS:\n return { ...state, pricing_section_initial_data: {...action.payload, isSuccess: true}, isLoading: false };\n case FETCH_FORM_DATA_PRICING_SECTION_FAILED:\n return { ...state, pricing_section_initial_data: {...action.payload, isSuccess: true}, isLoading: false }\n case CLICKED_CREATE_PAYMENT_CREADENTIAL_FORM:\n return {\n ...state,\n createFormData: {\n ...state.createFormData,\n referenceId: '',\n },\n };\n default:\n return state;\n }\n};\n","function InvoiceModel(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nInvoiceModel.prototype = Object.assign(InvoiceModel.prototype, {\n createTableData(tableData) {\n if (\n tableData &&\n tableData.invoiceViewList &&\n tableData.invoiceViewList.length > 0\n ) {\n return tableData.invoiceViewList.map(row => this.createRow(row));\n }\n return [];\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n merchantId,\n merchantName,\n invoicePeriod,\n invoiceDate,\n invoiceNumber,\n grossAmount,\n totalFee,\n totalGST,\n totalValue,\n invoiceURL,\n settlementType,\n paymentStatus,\n } = row;\n return {\n merchantId,\n merchantName,\n invoicePeriod,\n invoiceDate,\n invoiceNumber,\n grossAmount,\n totalFee,\n totalGst: totalGST,\n totalValue,\n invoiceURL,\n settlementType,\n paymentStatus,\n };\n },\n});\n\nexport default InvoiceModel;\n","// Models\n\n// Constants\nimport {\n FETCH_INVOICE_LIST_REQUEST,\n FETCH_INVOICE_LIST_SUCCESS,\n FETCH_INVOICE_LIST_ERROR,\n SHOW_INVOICE_LOADER,\n HIDE_INVOICE_LOADER,\n DOWNLOAD_INVOICE_FILE_SUCCESS,\n DOWNLOAD_INVOICE_FILE_ERROR,\n DOWNLOAD_INVOICE_FILE_REQUEST,\n UPDATE_INVOICE_PAYMENT_STATUS_REQUEST,\n UPDATE_INVOICE_PAYMENT_STATUS_SUCCESS,\n UPDATE_INVOICE_PAYMENT_STATUS_ERROR,\n UPDATE_INVOICE_PAYMENT_STATUS_RESET,\n} from './invoice.constants';\nimport InvoiceModel from './model/InvoiceModel';\n\nexport const initialState = {\n tableData: [],\n pagination: {},\n error: {},\n activeReports: {\n reports: {},\n error: {},\n },\n isLoading: false,\n generatedFile: {\n isSuccess: false,\n error: {},\n },\n};\n\nexport const invoiceReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_INVOICE_LIST_REQUEST:\n return {\n ...state,\n error: {},\n };\n case FETCH_INVOICE_LIST_SUCCESS: {\n const invoiceList = new InvoiceModel(action.payload);\n return {\n ...state,\n ...invoiceList,\n error: {},\n };\n }\n case FETCH_INVOICE_LIST_ERROR:\n return {\n ...state,\n error: { ...action.payload.error },\n };\n case UPDATE_INVOICE_PAYMENT_STATUS_REQUEST:\n return {\n ...state,\n error: {},\n isStatusLoading: true,\n };\n case UPDATE_INVOICE_PAYMENT_STATUS_SUCCESS: {\n return {\n ...state,\n isSuccessfulRefund: true,\n isStatusLoading: false,\n statusUpdateError: {},\n };\n }\n case UPDATE_INVOICE_PAYMENT_STATUS_ERROR:\n return {\n ...state,\n isSuccessfulRefund: false,\n isStatusLoading: false,\n statusUpdateError: { ...action.payload.error },\n };\n case UPDATE_INVOICE_PAYMENT_STATUS_RESET:\n return {\n ...state,\n isSuccessfulRefund: false,\n isStatusLoading: false,\n statusUpdateError: {},\n };\n case DOWNLOAD_INVOICE_FILE_REQUEST:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n case DOWNLOAD_INVOICE_FILE_SUCCESS:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: true },\n };\n case DOWNLOAD_INVOICE_FILE_ERROR:\n return {\n ...state,\n generatedFile: { ...action.payload, isSuccess: false },\n };\n\n case SHOW_INVOICE_LOADER:\n return { ...state, isLoading: true };\n case HIDE_INVOICE_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","/* eslint-disable complexity */\nimport { getUserPermissionFromResourceDetails } from '../../../utils/helperMethods';\nimport {\n CREATE_SESSION_SUCCESS,\n CREATE_SESSION_ERROR,\n LOGIN_SUCCESS,\n LOGIN_ERROR,\n IS_LOGGED_IN_SUCCESS,\n IS_LOGGED_IN_ERROR,\n USER_PROFILE_SUCCESS,\n USER_PROFILE_ERROR,\n LOGOUT_SUCCESS,\n LOGOUT_ERROR,\n FORGOT_PASSWORD_REQUEST,\n FORGOT_PASSWORD_SUCCESS,\n FORGOT_PASSWORD_ERROR,\n RESET_PASSWORD_REQUEST,\n RESET_PASSWORD_SUCCESS,\n RESET_PASSWORD_ERROR,\n MARK_USER_ACTIVE_REQUEST,\n MARK_USER_ACTIVE_SUCCESS,\n MARK_USER_ACTIVE_ERROR,\n GET_USER_ACCESSIBLE_ITEMS_SUCCESS,\n GET_USER_ACCESSIBLE_ITEMS_ERROR,\n OTP_RESEND_SUCCESS,\n OTP_RESEND_ERROR,\n OTP_VALIDATE_SUCCESS,\n OTP_VALIDATE_ERROR,\n RESET_OTP_FLAG,\n} from './auth.constants';\n\nexport const initialState = {\n csrfIdentifier: '',\n isLoggedIn: false,\n isLoggedInExecuted: false,\n userDetails: {},\n resourceDetails: [],\n otpDetails: {\n isSuccess: false,\n error: '',\n data: {},\n },\n otpResend: {\n isSuccess: false,\n error: '',\n },\n checkOtp: false,\n otpId: '',\n otpMail: '',\n};\n\nexport const authReducer = (state = initialState, action) => {\n switch (action.type) {\n // Create Session\n case CREATE_SESSION_SUCCESS:\n return { ...state, ...action.payload };\n case CREATE_SESSION_ERROR:\n return { ...initialState };\n // Login\n case LOGIN_SUCCESS:\n return {\n ...state,\n isLoggedIn: false,\n checkOtp: true,\n otpId: action.payload.otpId || '',\n loginError: '',\n otpMail: action.payload.maskedEmail || '',\n };\n case LOGIN_ERROR:\n return { ...state, ...action.payload };\n // Is Logged In\n case IS_LOGGED_IN_SUCCESS:\n return { ...state, isLoggedInExecuted: true, ...action.payload };\n case IS_LOGGED_IN_ERROR:\n return { ...state, ...action.payload };\n // User Profile\n case USER_PROFILE_SUCCESS:\n return {\n ...state,\n isLoggedIn: true,\n userDetails: { ...action.payload },\n };\n case USER_PROFILE_ERROR:\n return { ...state, ...action.payload };\n // Logout\n case LOGOUT_SUCCESS:\n return {\n ...initialState,\n isLoggedInExecuted: state.isLoggedInExecuted,\n isLoggedIn: false,\n checkOtp: false,\n };\n case LOGOUT_ERROR:\n return {\n ...initialState,\n isLoggedInExecuted: state.isLoggedInExecuted,\n ...action.payload,\n };\n // Forgot Password\n case FORGOT_PASSWORD_REQUEST:\n return { ...state, forgotPasswordError: '' };\n case FORGOT_PASSWORD_SUCCESS:\n return { ...state };\n case FORGOT_PASSWORD_ERROR:\n return { ...state, ...action.payload };\n // Reset Password\n case RESET_PASSWORD_REQUEST:\n return { ...state, forgotPasswordError: '' };\n case RESET_PASSWORD_SUCCESS:\n return { ...state };\n case RESET_PASSWORD_ERROR:\n return { ...state, ...action.payload };\n // Mark User Active\n case MARK_USER_ACTIVE_REQUEST:\n return { ...state };\n case MARK_USER_ACTIVE_SUCCESS:\n return { ...state };\n case MARK_USER_ACTIVE_ERROR:\n return { ...state };\n // Get User Accessible Items\n case GET_USER_ACCESSIBLE_ITEMS_SUCCESS:\n const userPermissions = getUserPermissionFromResourceDetails(\n action.payload.resourceDetails\n );\n return {\n ...state,\n resourceDetails: userPermissions,\n };\n case GET_USER_ACCESSIBLE_ITEMS_ERROR:\n return { ...state, ...action.payload };\n case OTP_RESEND_SUCCESS:\n return {\n ...state,\n otpResend: { isSuccess: true },\n otpDetails: { isSuccess: false, data: { error: '' } },\n };\n case OTP_RESEND_ERROR:\n return {\n ...state,\n otpResend: { isSuccess: false, ...action.payload },\n };\n case OTP_VALIDATE_SUCCESS:\n return {\n ...state,\n isLoggedIn: true,\n checkOtp: false,\n otpDetails: { isSuccess: true, data: { ...action.payload } },\n };\n case OTP_VALIDATE_ERROR:\n return {\n ...state,\n isLoggedIn: false,\n otpDetails: { isSuccess: false, ...action.payload },\n };\n case RESET_OTP_FLAG:\n return {\n ...state,\n checkOtp: false,\n };\n default:\n return state;\n }\n};\n","import { SHOW_LOADER, HIDE_LOADER } from './loader.constants';\n\nconst initialState = {\n showLoader: false,\n};\n\n// eslint-disable-next-line default-param-last\nexport const loaderReducer = (state = initialState, action) => {\n switch (action.type) {\n case SHOW_LOADER:\n return { ...state, showLoader: true };\n case HIDE_LOADER:\n return { ...state, showLoader: false };\n default:\n return state;\n }\n};\n","/* eslint-disable function-paren-newline */\nimport { capitaliseString } from '../../../utils/helperMethods';\n\nfunction MerchantStaticInfo(data) {\n this.relationshipManagers = this.createRelationshipManagers(data);\n this.categoryMap = this.createCategoryMap(data);\n}\n\nMerchantStaticInfo.prototype = Object.assign(MerchantStaticInfo.prototype, {\n createRelationshipManagers(data) {\n return (\n data &&\n data.relationshipManagerInfoResponse &&\n data.relationshipManagerInfoResponse.map(row =>\n this.createManagerRow(row)\n )\n );\n },\n\n createCategoryMap(data) {\n return (\n data &&\n data.categoryCodeMappingResponse &&\n data.categoryCodeMappingResponse &&\n Object.keys(\n data.categoryCodeMappingResponse.categoryCodeMap\n ).map(row =>\n this.createCategoryRow(\n row,\n data.categoryCodeMappingResponse.categoryCodeMap\n )\n )\n );\n },\n createManagerRow(row) {\n const { email, name } = row;\n return {\n email,\n name,\n value: email,\n };\n },\n\n createCategoryRow(keys, originalData) {\n return {\n name: keys && capitaliseString(keys),\n value: keys,\n options: originalData[keys],\n };\n },\n});\n\nexport default MerchantStaticInfo;\n","import MerchantStaticInfo from '../models/MerchantStaticInfo';\n\nimport {\n GET_STATIC_DATA_SUCCESS,\n GET_STATIC_DATA_ERROR,\n FETCH_UNDERLYING_MERCHANT_STATIC_SUCCESS,\n FETCH_UNDERLYING_MERCHANT_STATIC_ERROR,\n FETCH_STATIC_INFO_SUCCESS,\n FETCH_STATIC_INFO_ERROR,\n FETCH_AUDIT_TRAIL_STATIC_SUCCESS,\n FETCH_AUDIT_TRAIL_STATIC_ERROR,\n FETCH_CHARGEBACK_STATIC_DATA_SUCCESS,\n FETCH_CHARGEBACK_STATIC_DATA_ERROR,\n} from './staticData.constants';\n\nexport const initialState = {\n payValues: {},\n underlyingMerchant: [],\n error: {},\n staticInfo: {},\n staticEvents: {},\n chargebackStaticInfo: {},\n};\nexport const staticDataReducer = (state = initialState, action) => {\n switch (action.type) {\n // Get Static Data\n case GET_STATIC_DATA_SUCCESS:\n return {\n ...state,\n payValues: { ...action.payload },\n error: {},\n };\n case GET_STATIC_DATA_ERROR:\n return {\n ...state,\n payValues: {},\n ...action.payload,\n };\n case FETCH_UNDERLYING_MERCHANT_STATIC_SUCCESS: {\n return {\n ...state,\n error: {},\n underlyingMerchant: [...action.payload],\n };\n }\n case FETCH_UNDERLYING_MERCHANT_STATIC_ERROR:\n return {\n ...state,\n ...action.payload,\n underlyingMerchant: [],\n };\n case FETCH_STATIC_INFO_SUCCESS:\n const staticData = new MerchantStaticInfo(action.payload);\n return { ...state, staticInfo: { ...staticData } };\n\n case FETCH_STATIC_INFO_ERROR:\n return { ...state, staticInfo: { ...action.payload } };\n\n case FETCH_AUDIT_TRAIL_STATIC_SUCCESS:\n return {\n ...state,\n staticEvents: { ...action.payload },\n };\n case FETCH_AUDIT_TRAIL_STATIC_ERROR:\n return { ...state, staticEvents: { ...action.payload } };\n\n case FETCH_CHARGEBACK_STATIC_DATA_SUCCESS:\n return { ...state, chargebackStaticInfo: { ...action.payload } };\n\n case FETCH_CHARGEBACK_STATIC_DATA_ERROR:\n return { ...state, chargebackStaticInfo: { ...action.payload } };\n\n default:\n return state;\n }\n};\n","import moment from 'moment';\n\nfunction Entity(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nEntity.prototype = Object.assign(Entity.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.data &&\n tableData.data.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data && data.paging) {\n const {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n sortingCriteria,\n totalNumberOfPages,\n totalNumberOfRecords,\n } = data.paging;\n return {\n hasNextPage,\n hasPreviousPage,\n pageNumber,\n pageSize,\n sortingCriteria,\n totalNumberOfPages,\n totalNumberOfRecords,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n entityType,\n entityCode,\n email,\n mobile,\n relationshipManagerId,\n axisAcquiredMerchantId,\n mcc,\n status,\n createdDate,\n name,\n mode,\n isEditMode,\n verificationStatus,\n entityStatus,\n parentEntityName,\n } = row;\n return {\n entityType: entityType || '-',\n entityCode: entityCode || '-',\n email: email || '-',\n mobile: mobile || '-',\n relationshipManagerId: relationshipManagerId || '-',\n axisAcquiredMerchantId: axisAcquiredMerchantId || '-',\n mcc: mcc || '-',\n status: this.formatStatus(status) || '',\n createdDate: this.formatData(createdDate) || '-',\n name: name || '-',\n mode: mode || '-',\n isEditMode,\n entityStatus,\n parentEntityName,\n };\n },\n formatData(date) {\n return moment(date).format('DD/MM/YYYY');\n },\n formatStatus(entityStatus) {\n if (entityStatus === 1) {\n return 'Active';\n } else if (entityStatus === 5) {\n return 'Inactive with settlement';\n }\n return 'Inactive';\n },\n});\n\nexport default Entity;\n","/* eslint-disable complexity */\n// Models\nimport Entity from '../models/entity';\n\nimport {\n FETCH_TID_SUCCESS,\n FETCH_TID_ERROR,\n GET_MERCHANT_INFO_SUCCESS,\n GET_TERMINAL_INFO_ERROR,\n GET_TERMINAL_INFO_SUCCESS,\n FETCH_ENTITY_HIERARCHY_ERROR,\n FETCH_ENTITY_HIERARCHY_SUCCESS,\n RESET_TERMINAL_DATA,\n FETCH_STATIC_URL_SUCCESS,\n FETCH_STATIC_URL_ERROR,\n RESET_MERCHANT_DATA,\n RESET_H_LIST,\n FETCH_ENTITY_LIST_MERCHANT_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS,\n SHOW_ENTITY_HIERARCHY_LOADER,\n HIDE_ENTITY_HIERARCHY_LOADER,\n GET_MERCHANT_INFO_ERROR,\n FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST,\n} from './TIDOnBoard.constants';\n\nexport const initialState = {\n terminalsData: {\n pagination: {},\n merchant: {},\n },\n hList: {},\n hierarchyLoader: 0,\n entityList: {},\n listExecuting: 0,\n tidEditData: {},\n pagination: {},\n};\n\n// eslint-disable-next-line max-lines-per-function\nexport const TIDReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_TID_SUCCESS: {\n const createEntity = new Entity(action.payload);\n return { ...state, ...createEntity, error: {} };\n }\n case FETCH_TID_ERROR:\n return {\n ...state,\n error: action.payload,\n tableData: [],\n pagination: {},\n };\n case GET_MERCHANT_INFO_SUCCESS:\n return { ...state, merchant: action.payload };\n case GET_MERCHANT_INFO_ERROR: {\n return { ...state, error: action.payload };\n }\n case GET_TERMINAL_INFO_SUCCESS:\n return { ...state, tidEditData: action.payload, tidError: {} };\n case GET_TERMINAL_INFO_ERROR:\n return { ...state, tidEditData: null, tidError: action.payload };\n case FETCH_ENTITY_HIERARCHY_SUCCESS: {\n return { ...state, hList: action.payload };\n }\n case FETCH_ENTITY_HIERARCHY_ERROR: {\n return { ...state, hListError: action.payload };\n }\n case RESET_H_LIST: {\n return { ...state, hList: {} };\n }\n case RESET_TERMINAL_DATA: {\n return {\n ...state,\n tidEditData: null,\n tidError: {},\n staticQr: null,\n };\n }\n case FETCH_STATIC_URL_SUCCESS: {\n return { ...state, staticQr: action.payload };\n }\n case FETCH_STATIC_URL_ERROR: {\n return { ...state, staticQr: null, staticQrError: action.payload };\n }\n case RESET_MERCHANT_DATA: {\n return { ...state, merchant: null };\n }\n case SHOW_ENTITY_HIERARCHY_LOADER:\n return { ...state, hierarchyLoader: state.hierarchyLoader + 1 };\n case HIDE_ENTITY_HIERARCHY_LOADER:\n return { ...state, hierarchyLoader: state.hierarchyLoader - 1 };\n case FETCH_ENTITY_LIST_MERCHANT_SUCCESS: {\n const entities = { ...state.entityList, ...action.payload };\n return { ...state, entityList: entities };\n }\n case FETCH_ENTITY_LIST_MERCHANT_ERROR: {\n return { ...state, entityList: { ...action.payload } };\n }\n case FETCH_ENTITY_LIST_MERCHANT_SUCCESS_ADD_LIST: {\n const updatedEntities = [\n ...action.payload[action.entityType],\n ...state.entityList[action.entityType],\n ].reduce((acc, item) => {\n if (\n !acc.some(\n existing => existing.entityCode === item.entityCode\n )\n ) {\n acc.push(item);\n }\n return acc;\n }, []);\n\n const entities = {\n ...state.entityList,\n [action.entityType]: updatedEntities,\n };\n\n return {\n ...state,\n entityList: entities,\n listExecuting: state.listExecuting - 1,\n };\n }\n default:\n return state;\n }\n};\n","import {\n validityOptions,\n STATUS_TYPE\n} from '../../../utils/constants/commonValues';\nimport moment from 'moment';\n\nfunction PaymentPageList(data) {\n this.tableData = this.createTableData(data);\n this.pagination = this.createPaginationData(data);\n}\n\nPaymentPageList.prototype = Object.assign(PaymentPageList.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.linkDataList &&\n tableData.linkDataList.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements, pageNo } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: pageNo || 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n amount,\n createdBy,\n createdDate,\n numberOfTransactions,\n maxAmount,\n linkId,\n sumTxns,\n entityName,\n status,\n validityPeriod,\n successCount,\n numTxns,\n linkUrl,\n validTill,\n dataId,\n template,\n minAmount,\n amountType\n } = row;\n return {\n minAmount,\n amountType,\n amount,\n createdBy,\n pageId: dataId,\n sumTxns,\n createdOn: this.convertDateTime(createdDate),\n numberOfTransactions,\n maxAmount,\n entityName,\n status,\n validityPeriod,\n successCount,\n numTxns,\n linkUrl,\n validTill: validTill ? this.convertDateTime(validTill) : '-',\n linkId,\n template,\n };\n },\n getTransactionStatus(status) {\n if (!status) {\n return '-';\n }\n return STATUS_TYPE[status];\n },\n getValidity(validityPeriod) {\n if (!validityPeriod) {\n return '-';\n }\n const values = validityOptions.filter(\n item => item.value === validityPeriod\n );\n return (values && values.length && values[0].name) || '-';\n },\n convertDate(date) {\n const dateString = moment(parseInt(date)).format('DD/MM/YYYY');\n return dateString;\n },\n convertDateTime(date) {\n \n if (!date) return \"N/A\";\n \n let timestamp = parseInt(date);\n if (timestamp.toString().length === 10) {\n timestamp *= 1000; // Convert seconds to milliseconds\n }\n \n return new Date(timestamp).toLocaleString(\"en-IN\", { \n timeZone: \"UTC\", \n day: \"2-digit\", \n month: \"2-digit\", \n year: \"numeric\", \n hour: \"2-digit\", \n minute: \"2-digit\", \n hourCycle: \"h23\" // Ensures 24-hour format\n });\n }\n \n});\n\nexport default PaymentPageList;\n","import moment from 'moment';\nimport { PAY_TRANSACTION_STATUS } from '../../../utils/constants/commonValues';\n\nfunction PaymentTrxnList(data) {\n this.tableDataTxn = this.createTableData(data);\n this.paginationTxn = this.createPaginationData(data);\n}\n\nPaymentTrxnList.prototype = Object.assign(PaymentTrxnList.prototype, {\n createTableData(tableData) {\n return (\n tableData &&\n tableData.linkTransactionsList &&\n tableData.linkTransactionsList.map(row => this.createRow(row))\n );\n },\n createPaginationData(data) {\n if (data) {\n const { totalElements, pageNo } = data;\n return {\n hasNextPage: false,\n hasPreviousPage: false,\n pageNumber: pageNo || 0,\n pageSize: 10,\n sortingCriteria: '',\n totalNumberOfPages: 0,\n totalNumberOfRecords: totalElements,\n };\n }\n return {};\n },\n createRow(row) {\n const {\n merchantTxnId,\n linkId,\n date,\n transactionStatus,\n transactionId,\n transactionDate,\n paymentMode,\n amount,\n txnMode,\n status,\n } = row;\n return {\n merchantTxnId: merchantTxnId || '-',\n linkId: linkId || '',\n date: this.convertDateTime(date),\n transactionId: transactionId || '-',\n transactionDate: this.convertDate(transactionDate),\n paymentMode: paymentMode || '-',\n transactionStatus,\n amount,\n txnMode,\n status: status,//this.getTransactionStatus(status)\n };\n },\n getTransactionStatus(status) {\n if (!status) {\n return '-';\n }\n return PAY_TRANSACTION_STATUS[status];\n },\n convertDate(date) {\n if (!date) {\n return '-';\n }\n const dateFormat = parseInt(date, 10);\n const dateString = moment(dateFormat).format('DD/MM/YYYY');\n return dateString;\n },\n convertDateTime(date) {\n if (!date) {\n return '-';\n }\n const dateFormat = parseInt(date, 10);\n // Use .utc() to convert the time to UTC and then format\n const dateString = moment.utc(dateFormat).format('DD/MM/YYYY HH:mm');\n return dateString;\n }\n});\n\nexport default PaymentTrxnList;\n","import Pagination from 'components/Table/Pagination';\nimport PaymentPageList from '../models/paymentPageEntity';\nimport PaymentTrxnList from '../models/paymentTransaction';\n\nimport {\n HIDE_PAYMENT_PAGE_LOADER,\n SHOW_PAYMENT_PAGE_LOADER,\n GET_PAYMENT_PAGE_DETAILS_ERROR,\n GET_PAYMENT_PAGE_DETAILS_SUCCESS,\n UPDATE_PAYMENT_PAGE_DETAILS_SUCCESS,\n UPDATE_PAYMENT_PAGE_DETAILS_ERROR,\n FETCH_PAYMENT_PAGE_SUCCESS,\n FETCH_PAYMENT_PAGE_ERROR,\n FETCH_TRANSACTION_PAYMENT_ERROR,\n FETCH_TRANSACTION_PAYMENT_SUCCESS,\n RE_SHARE_PAY_PAGE_SUCCESS,\n RE_SHARE_PAY_PAGE_ERROR,\n VIEW_PAY_LINK_SUCCESS,\n VIEW_PAY_LINK_ERROR,\n} from './paymentPage.constants';\n\nexport const initialState = {\n paymentPageData: [],\n pagination: {},\n error: {},\n paginationTxn: {},\n isLoading: false,\n tableData: [],\n tableDataTxn: [],\n viewPay: {},\n createPay: {\n isSuccess: false,\n },\n updatePayLink: {\n isSuccess: false,\n },\n sharePay: {\n isSuccess: false,\n },\n reSharePay: {\n isSuccess: false,\n },\n templateDetails: {\n isSuccess: false,\n },\n generatedFile: {\n isSuccess: false,\n error: {},\n },\n activeReports: {\n reports: null,\n },\n paymentPageEditData: null,\n formLinkData: {},\n};\n\nexport const paymentPageReducer = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_PAYMENT_PAGE_SUCCESS: {\n const payPageData = new PaymentPageList(action.payload);\n return {\n ...state,\n ...payPageData,\n paymentPageEditData:{},\n error: {},\n };\n }\n case FETCH_PAYMENT_PAGE_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case FETCH_TRANSACTION_PAYMENT_SUCCESS: {\n const txnPayData = new PaymentTrxnList(action.payload);\n return {\n ...state,\n ...txnPayData,\n error: {},\n };\n }\n case FETCH_TRANSACTION_PAYMENT_ERROR:\n return {\n ...state,\n ...action.payload,\n };\n case RE_SHARE_PAY_PAGE_SUCCESS: {\n return {\n ...state,\n paymentPageData: {},\n formLinkData: action.payload,\n error: {},\n };\n }\n case RE_SHARE_PAY_PAGE_ERROR: {\n return {\n ...state,\n reSharePay: { isSuccess: false, ...action.payload },\n error: {},\n };\n }\n case VIEW_PAY_LINK_SUCCESS: {\n return {\n ...state,\n viewPay: { ...action.payload },\n error: {},\n };\n }\n case GET_PAYMENT_PAGE_DETAILS_SUCCESS: {\n return {\n ...state,\n paymentPageEditData: action.payload,\n paymentPageData :{},\n error: {},\n };\n }\n case GET_PAYMENT_PAGE_DETAILS_ERROR:\n return {\n ...state,\n error: action.payload,\n };\n case UPDATE_PAYMENT_PAGE_DETAILS_SUCCESS:\n return {\n ...state,\n paymentPageData :action.payload,\n error: {},\n };\n case UPDATE_PAYMENT_PAGE_DETAILS_ERROR:\n return {\n ...state,\n error: action.payload,\n };\n case VIEW_PAY_LINK_ERROR: {\n return {\n ...state,\n viewPay: { ...action.payload },\n error: {},\n };\n }\n case SHOW_PAYMENT_PAGE_LOADER:\n return { ...state, isLoading: true };\n case HIDE_PAYMENT_PAGE_LOADER:\n return { ...state, isLoading: false };\n default:\n return state;\n }\n};\n","/**\n * Combine all reducers in this file and export the combined reducers.\n */\n// Library Methods\n\n// Reducers\nimport { bulkPaymentLinkReducer } from 'containers/BulkPaymentLink/redux/BulkPaymentLink.reducers';\nimport { merchantReducer } from '../containers/MerchantOnboard/redux/merchantOnBoard.reducer';\nimport { editMerchantReducer } from '../containers/MerchantOnboard/redux/editMerchant/editMerchant.reducer';\nimport { pgConfigReducer } from '../containers/MerchantOnboard/redux/pgConfig/pgConfig.reducer';\nimport { userManagementReducer } from '../containers/UserManagement/redux/userManagement.reducer';\nimport { roleManagementReducer } from '../containers/RoleManagement/redux/roleManagement.reducer';\nimport { transactionsReducer } from '../containers/Transactions/redux/transactions.reducer';\nimport { adjustmentsReducer } from '../containers/MerchantAdjustments/redux/adjustments.reducer';\nimport { refundReducer } from '../containers/Refund/redux/refund.reducer';\nimport { userVerificationReducer } from '../containers/UserVerification/redux/userVerification.reducer';\nimport { roleVerificationReducer } from '../containers/RoleVerification/redux/roleVerification.reducer';\nimport { commProfileReducer } from '../containers/CommProfile/redux/commProfile.reducer';\nimport { manageBinReducer } from '../containers/ManageBin/redux/manageBin.reducer';\nimport { profileReducer } from '../containers/Profile/redux/profile.reducer';\nimport { settlementReducer } from '../containers/Settlement/redux/settlement.reducer';\nimport { paymentLinkReducer } from '../containers/PaymentLink/redux/paymentLink.reducer';\nimport { auditTrailReducer } from '../containers/AuditTrail/redux/auditTrail.reducer';\nimport { dashBoardReducer } from '../containers/Dashboard/redux/dashboard.reducer';\nimport { checkoutReducer } from '../containers/checkoutCustom/redux/checkout.reducer';\nimport { bulRefundReducer } from '../containers/BulkRefund/redux/bulkRefund.reducer';\nimport { merchantOnboardStatusReducer } from '../containers/MerchantOnboardStatus/redux/MerchantOnboardStatus.reducer';\nimport { makerReducer } from '../containers/Maker/redux/maker.reducer';\nimport { checkerReducer } from '../containers/Checker/redux/checker.reducer';\nimport { mandatesReducer } from '../containers/Mandate/redux/mandates.reducers';\nimport { chargebackReducer } from '../containers/Chargeback/redux/chargeback.reducer';\nimport { merchantLegalEntityReducer } from '../containers/MerchantLegalEntity/redux/merchantLegalEntity.reducer';\nimport { paymentGatewayCredentialsReducer } from '../containers/PaymentGatewayCredentials/redux/paymentGatewayCredentials.reducer';\nimport { invoiceReducer } from '../containers/Invoice/redux/invoice.reducer';\nimport { authReducer } from './common/auth/auth.reducer';\nimport { loaderReducer } from './common/loader/loader.reducer';\nimport { staticDataReducer } from './common/staticData/staticData.reducer';\nimport { TIDReducer } from '../containers/TerminalOnboard/redux/TIDOnBoard.reducer';\nimport { paymentPageReducer } from '../containers/PaymentPage/redux/paymentPage.reducer';\nimport { reducer as formReducer } from 'redux-form';\nimport { combineReducers } from 'redux';\n\n// Merges all the reducers to a root reducer\nfunction createRootReducer(injectedReducers = {}) {\n return combineReducers({\n auth: authReducer,\n form: formReducer,\n loader: loaderReducer,\n staticData: staticDataReducer,\n merchantData: merchantReducer,\n userManagementData: userManagementReducer,\n roleManagementData: roleManagementReducer,\n userVerificationData: userVerificationReducer,\n roleVerificationData: roleVerificationReducer,\n pgData: pgConfigReducer,\n editData: editMerchantReducer,\n transactionData: transactionsReducer,\n adjustmentsData: adjustmentsReducer,\n refundData: refundReducer,\n manageBin: manageBinReducer,\n commData: commProfileReducer,\n profileData: profileReducer,\n paymentLinkData: paymentLinkReducer,\n auditTrailData: auditTrailReducer,\n settlementData: settlementReducer,\n dashboard: dashBoardReducer,\n checkoutData: checkoutReducer,\n bulkRefundData: bulRefundReducer,\n merchantOnBoardStatusData: merchantOnboardStatusReducer,\n invoiceData: invoiceReducer,\n bulkPaymentLinkData: bulkPaymentLinkReducer,\n makerData: makerReducer,\n checkerData: checkerReducer,\n mandateData: mandatesReducer,\n chargebackData: chargebackReducer,\n merchantLegalEntityData: merchantLegalEntityReducer,\n paymentGatewayCredentialsData: paymentGatewayCredentialsReducer,\n terminalsData: TIDReducer,\n paymentPageData : paymentPageReducer,\n ...injectedReducers,\n });\n}\n\nexport default createRootReducer;\n","// Redux Actions\nimport { POST } from 'utils/fetchWrappers';\nimport {\n API_DOWNLOAD_BULK_PAYMENT_LINK_FILE,\n API_DOWNLOAD_BULK_PAYMENT_LINK_PRE_FILLED_FILE,\n API_FETCH_RECENT_BULK_PAYMENT_LINK,\n API_UPLOAD_BULK_PAYMENT_LINK_FILE,\n} from 'utils/API/apiUrls';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport {\n downloadBulkPaymentLinkPreFilledFileCSV,\n downloadFile,\n} from '../../../utils/helperMethods';\nimport * as bulkPaymentLinkActions from './BulkPaymentLink.actions';\n\n// constants\nimport {\n DOWNLOAD_BULK_PAYMENT_LINK_REQUEST,\n GET_LINK_ID_FOR_PRE_FILLED_FILE_REQUEST,\n GET_RECENT_BULK_PAYMENT_LINK_REQUEST,\n UPLOAD_BULK_PAYMENT_LINK_REQUEST,\n} from './BulkPaymentLink.constants';\n\n// Library\nimport { toast } from 'react-toastify';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nexport function* downloadBulkPaymentLinkPreFilledFile(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n\n let { data } = yield call(\n POST,\n API_DOWNLOAD_BULK_PAYMENT_LINK_PRE_FILLED_FILE,\n payload\n );\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n data = {\n linkDataId: data.linkDataId,\n linkName: payload.linkName,\n };\n\n downloadBulkPaymentLinkPreFilledFileCSV(\n data.linkDataId,\n data.linkName\n );\n } else if (data && data.errorMessage) {\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data.errorMessage\n ? data.errorMessage\n : 'Something went wrong. Please try again after sometime.';\n toast.error(errorMessage);\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchRecentBulkPaymentLink(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n\n const requestPayload = {\n fileProcessEnum: 'BULK_PAYLINK_FILE_UPLOAD',\n ...payload,\n };\n\n const { data } = yield call(\n POST,\n API_FETCH_RECENT_BULK_PAYMENT_LINK,\n requestPayload\n );\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n bulkPaymentLinkActions.fetchRecentBulkPaymentLinkSuccess(data)\n );\n } else if (data && data.errorMessage) {\n yield put(\n bulkPaymentLinkActions.fetchRecentBulkPaymentLinkFailed({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n\n const errorMessage = data.errorMessage\n ? data.errorMessage\n : 'Something went wrong. Please try again after sometime.';\n\n bulkPaymentLinkActions.fetchRecentBulkPaymentLinkFailed({\n error: errorMessage,\n });\n\n toast.error(errorMessage);\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* uploadBulkPaymentLinkFile(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n\n const { data } = yield call(\n POST,\n API_UPLOAD_BULK_PAYMENT_LINK_FILE,\n payload,\n {\n 'Content-Type': 'multipart/form-data;',\n },\n true\n );\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n toast.info('File Uploaded Successfully');\n } else if (data && data.errorMessage) {\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data.errorMessage\n ? data.errorMessage\n : 'Something went wrong. Please try again after sometime.';\n toast.error(errorMessage);\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* downloadBulkPaymentLinkFile(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n\n const { data } = yield call(\n POST,\n API_DOWNLOAD_BULK_PAYMENT_LINK_FILE,\n payload\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n downloadFile(data.fileUrl);\n } else if (data && data.errorMessage) {\n toast.error(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data.errorMessage\n ? data.errorMessage\n : 'Something went wrong. Please try again after sometime.';\n toast.error(errorMessage);\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* bulkPaymentLinkSaga(actions) {\n yield takeLatest(\n GET_LINK_ID_FOR_PRE_FILLED_FILE_REQUEST,\n downloadBulkPaymentLinkPreFilledFile\n );\n yield takeLatest(\n GET_RECENT_BULK_PAYMENT_LINK_REQUEST,\n fetchRecentBulkPaymentLink\n );\n yield takeLatest(\n UPLOAD_BULK_PAYMENT_LINK_REQUEST,\n uploadBulkPaymentLinkFile\n );\n yield takeLatest(\n DOWNLOAD_BULK_PAYMENT_LINK_REQUEST,\n downloadBulkPaymentLinkFile\n );\n}\n","/* eslint-disable max-lines */\n// Library methods\n\n// Utils\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_FETCH_ENTITY,\n API_FETCH_ENTITY_V2,\n API_FORM_DETAILS,\n API_FORM_IN_PROCESS,\n API_ENTITY_LIST,\n API_ENTITY_LIST1,\n API_HIERARCHY_LIST,\n API_SAVE_CONTINUE,\n API_SUBMIT_FORM,\n API_ENTITY_CREATE,\n API_GET_PAYMENT_MODES,\n API_GET_DEFAULT_ROUTING,\n API_GET_SURCHARGE_SLABS,\n API_RETRY_FAILED_MERCHANT_FORM_BY_ID,\n API_FETCH_BASIC_DATA,\n API_SUBMIT_STEP_DETAILS,\n API_FETCH_BD_INPROGRESS_MERCHANT,\n API_ADD_BD_ONBOARDING_MAKER,\n} from '../../../utils/API/apiUrls';\n\n// Common Constants\nimport {\n FORM_TYPE,\n SECTION_TYPE_TO_STEP_MAP,\n} from '../../../utils/constants/commonValues';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as merchantAction from './merchantOnBoard.actions';\n\n// Constants\nimport {\n FETCH_ENTITY_REQUEST,\n FETCH_FORM_DETAILS_REQUEST,\n FETCH_FORM_IN_PROCESS_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_REQUEST,\n FETCH_ENTITY_HIERARCHY_REQUEST,\n SAVE_AND_CONTINUE_REQUEST,\n CREATE_ENTITY_REQUEST,\n FETCH_PAYMENT_MODES_REQUEST,\n FETCH_SURCHARGE_SLABS_REQUEST,\n FETCH_DEFAULT_ROUTING_REQUEST,\n SET_UNIQUE_IDENTIFIER_REQUEST,\n FETCH_ENTITY_HIERARCHY_MLE_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_MLE_REQUEST,\n SUBMIT_FORM_REQUEST,\n RETRY_FAILED_MERCHANT_FORM_REQUEST,\n SUBMIT_STEP_FORM_REQUEST,\n FETCH_BD_INPROGRESS_MERCHANT_REQUEST,\n} from './merchantOnBoard.constants';\nimport { toast } from 'react-toastify';\nimport moment from 'moment';\nimport { takeLatest, takeEvery, put, call } from 'redux-saga/effects';\nimport { fetchEntityListSuccessAddList } from './merchantOnBoard.actions';\n\nconst getRequestData = payload => {\n const request = {\n pageNumber: 1,\n pageSize: 10,\n sort: 'createdOn',\n status: \"ACTIVE\",\n entityType: 'MERCHANT',\n enterpriseMerchant: true,\n };\n\n if (payload.pageIndex) {\n request.pageNumber = payload.pageIndex;\n }\n if (payload.pageSize) {\n request.pageSize = payload.pageSize;\n }\n if (payload.axisMid) {\n request.axisMid = payload.axisMid;\n }\n if (payload.createdBy) {\n request.createdBy = payload.createdBy;\n }\n if (payload.createdOn) {\n const { startDate, endDate } = payload.createdOn;\n request.createdOn = `btn:${moment(startDate).format(\n 'YYYY-MM-DD'\n )},${moment(endDate).format('YYYY-MM-DD')}`;\n }\n if (payload.mode) {\n request.mode = payload.mode;\n }\n if (payload.status || payload.status === 0) {\n request.status = payload.status;\n }\n if (payload.merchantId) {\n request.merchantId = payload.merchantId;\n delete request.status;\n }\n return request;\n};\n\nexport function* fetchEntity(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestData(payload);\n const { data } = yield call(POST, API_FETCH_ENTITY_V2, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantAction.fetchEntitySuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchEntityError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(merchantAction.fetchEntityError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchFormDetails() {\n yield put(loaderActions.showLoader());\n try {\n const request = {\n formType: FORM_TYPE.MERCHANT_ON_BOARD,\n };\n const { data } = yield call(POST, API_FORM_DETAILS, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantAction.fetchFormDetailsSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchFormDetailsError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(merchantAction.fetchFormDetailsError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchFormInProcessDetails() {\n yield put(loaderActions.showLoader());\n try {\n const request = {\n formType: FORM_TYPE.MERCHANT_ON_BOARD,\n };\n const { data } = yield call(POST, API_FORM_IN_PROCESS, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantAction.fetchFormInProcessSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchFormInProcessError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(merchantAction.fetchFormInProcessError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchEntityListDetails(actions) {\n yield put(merchantAction.showHierarchyLoader());\n try {\n const { payload, entityData } = actions;\n console.log(entityData, \"entityData\");\n const request = {\n entityType: payload && payload.toUpperCase(),\n entityName: entityData ? entityData.entityName : '',\n entityCode: entityData ? entityData.entityCode : '',\n paging: {\n pageNumber: 1,\n pageSize: 500,\n },\n };\n const { data } = yield call(POST, API_ENTITY_LIST1, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS2) {\n const values = {};\n values[payload.toLowerCase()] = data && data.entities;\n\n if(entityData){\n yield put(merchantAction.fetchEntityListSuccessAddList(values, payload.toLowerCase()));\n }else {\n yield put(merchantAction.fetchEntityListSuccess(values));\n }\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchEntityListError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(merchantAction.fetchEntityListError({ error: data }));\n }\n yield put(merchantAction.hideHierarchyLoader());\n}\n\nexport function* fetchHierarchyDetails(actions) {\n yield put(merchantAction.showHierarchyLoader());\n try {\n const { payload, level, entityType, onSuccess } = actions;\n const request = {\n entityCode: payload,\n entityLevel: level,\n };\n const { data } = yield call(POST, API_HIERARCHY_LIST, request);\n\n console.log(data, \"DATA_DATA\");\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n merchantAction.fetchEntityHierarchySuccess(data, entityType)\n );\n if (onSuccess) {\n onSuccess();\n }\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchEntityHierarchyError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(merchantAction.fetchEntityHierarchyError({ error: data }));\n }\n yield put(merchantAction.hideHierarchyLoader());\n}\n\nexport function* saveAndContinueDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType, makerDetails ,customisedReports} = actions;\n const modifiedPayload = {...payload,data:{...payload.data, customisedReports}}\n const request = {\n ...modifiedPayload,\n formType: FORM_TYPE.MERCHANT_ON_BOARD,\n };\n const { data } = yield call(POST, API_SAVE_CONTINUE, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n if (sectionType === 'notificationSection') {\n const makerRequest = {\n ...makerDetails,\n request: JSON.stringify(data),\n };\n\n try {\n const { data: makerRequestResponse } = yield call(\n POST,\n API_ADD_BD_ONBOARDING_MAKER('merchant'),\n makerRequest\n );\n\n if (\n makerRequestResponse &&\n makerRequestResponse.statusCode ===\n apiStatusCodes.SUCCESS\n ) {\n yield put(\n merchantAction.saveAndContinueSuccess(\n data,\n sectionType,\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.saveAndContinueError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(\n merchantAction.saveAndContinueError({ error: data })\n );\n }\n } else {\n yield put(\n merchantAction.saveAndContinueSuccess(data, sectionType, customisedReports)\n );\n }\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.saveAndContinueError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(merchantAction.saveAndContinueError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* createEntityDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_ENTITY_CREATE, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantAction.createEntitySuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.createEntityError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(merchantAction.createEntityError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* getPaymentModes() {\n yield put(loaderActions.showLoader());\n try {\n const request = {};\n const { data } = yield call(POST, API_GET_PAYMENT_MODES, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantAction.fetchPaymentModesSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchPaymentModesError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(merchantAction.fetchPaymentModesError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* getSurchargeSlabs(action) {\n yield put(loaderActions.showLoader());\n try {\n if (!action.payload) {\n const { data } = yield call(POST, API_GET_SURCHARGE_SLABS, {});\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantAction.fetchSurchargeSlabsSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchSurchargeSlabsError({\n error: data,\n })\n );\n }\n } else {\n const request = action.payload;\n const { data } = yield call(POST, API_FETCH_BASIC_DATA, request);\n const { data: nbOptions } = yield call(\n POST,\n API_GET_SURCHARGE_SLABS,\n {}\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS2) {\n data.paymentOptionList = nbOptions?.paymentOptionList;\n yield put(merchantAction.fetchSurchargeSlabsSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchSurchargeSlabsError({\n error: data,\n })\n );\n }\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(merchantAction.fetchSurchargeSlabsError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* getDefaultRouting(action) {\n yield put(loaderActions.showLoader());\n try {\n const request = action.payload;\n const { data } = yield call(POST, API_GET_DEFAULT_ROUTING, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantAction.fetchDefaultRoutingSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchDefaultRoutingError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(merchantAction.fetchDefaultRoutingError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* setUniqueIdentifer(actions) {\n try {\n const { payload, isEditMode } = actions;\n yield put(\n merchantAction.setUniqueIdentifierSuccess(payload, isEditMode)\n );\n } catch (exception) {\n yield put(\n merchantAction.setUniqueIdentifierError({\n error: 'Unable to set unique identifier',\n })\n );\n }\n}\n\nexport function* fetchHierarchyMLEDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, entityType } = actions;\n const request = {\n entityCode: payload,\n entityLevel: 'LOWER_COMPLETE',\n };\n const { data } = yield call(POST, API_HIERARCHY_LIST, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n merchantAction.fetchEntityHierarchyMLESuccess(data, entityType)\n );\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchEntityHierarchyMLEError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(merchantAction.fetchEntityHierarchyMLEError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchEntityListMLEDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n entityType: payload && payload.toUpperCase(),\n };\n const { data } = yield call(POST, API_ENTITY_LIST, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n const values = {};\n values[payload.toLowerCase()] = data && data.entities;\n yield put(merchantAction.fetchEntityListMLESuccess(values));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchEntityListMLEError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(merchantAction.fetchEntityListMLEError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* submitDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = payload;\n request.formType = FORM_TYPE.MERCHANT_ON_BOARD;\n const { data } = yield call(POST, API_SUBMIT_FORM, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantAction.submitFormSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.submitFormError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n const errorMessage =\n data.errorMessage ||\n 'Unable to process the request. Please Try Again';\n toast.info(errorMessage);\n // yield put(merchantAction.submitFormError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* retryFailedMerchantForm(actions) {\n yield put(merchantAction.showLoader());\n try {\n const { payload } = actions;\n const request = payload;\n const { data } = yield call(\n POST,\n API_RETRY_FAILED_MERCHANT_FORM_BY_ID,\n request\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantAction.retryFailedMerchantFormSuccess(data));\n\n toast.info('Form resubmitted successfully');\n } else if (data && data.errorMessage) {\n // yield put(\n // merchantAction.retryFailedMerchantFormError({\n // error: data,\n // })\n // );\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(merchantAction.retryFailedMerchantFormError({ error: data }));\n toast.info(\n data.errorMessage ||\n 'Unable to process request. Please try again later'\n );\n }\n yield put(merchantAction.hideLoader());\n}\n\nexport function* submitStepFormDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType } = actions;\n const request = payload;\n request.formType = FORM_TYPE.MERCHANT_ON_BOARD;\n\n const { data } = yield call(\n POST,\n API_SUBMIT_STEP_DETAILS(\n SECTION_TYPE_TO_STEP_MAP[payload.sectionType]\n ),\n request\n );\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n merchantAction.submitStepFormSuccess(data, payload.sectionType)\n );\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.submitStepFormError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(merchantAction.submitStepFormError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchBDInProgressMerchants(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestData(payload);\n const { data } = yield call(\n POST,\n API_FETCH_BD_INPROGRESS_MERCHANT,\n request\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantAction.fetchBDInprogressMerchantSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantAction.fetchBDInprogressMerchantError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n merchantAction.fetchBDInprogressMerchantError({ error: data })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* merchantSagas() {\n yield takeLatest(FETCH_ENTITY_REQUEST, fetchEntity);\n yield takeLatest(FETCH_FORM_DETAILS_REQUEST, fetchFormDetails);\n yield takeLatest(FETCH_FORM_IN_PROCESS_REQUEST, fetchFormInProcessDetails);\n yield takeEvery(FETCH_ENTITY_LIST_MERCHANT_REQUEST, fetchEntityListDetails);\n yield takeEvery(FETCH_ENTITY_HIERARCHY_REQUEST, fetchHierarchyDetails);\n yield takeLatest(SAVE_AND_CONTINUE_REQUEST, saveAndContinueDetails);\n yield takeLatest(CREATE_ENTITY_REQUEST, createEntityDetails);\n yield takeLatest(FETCH_PAYMENT_MODES_REQUEST, getPaymentModes);\n yield takeLatest(FETCH_SURCHARGE_SLABS_REQUEST, getSurchargeSlabs);\n yield takeLatest(FETCH_DEFAULT_ROUTING_REQUEST, getDefaultRouting);\n yield takeLatest(SET_UNIQUE_IDENTIFIER_REQUEST, setUniqueIdentifer);\n yield takeLatest(\n FETCH_ENTITY_HIERARCHY_MLE_REQUEST,\n fetchHierarchyMLEDetails\n );\n yield takeLatest(\n FETCH_ENTITY_LIST_MERCHANT_MLE_REQUEST,\n fetchEntityListMLEDetails\n );\n yield takeLatest(SUBMIT_FORM_REQUEST, submitDetails);\n yield takeLatest(\n RETRY_FAILED_MERCHANT_FORM_REQUEST,\n retryFailedMerchantForm\n );\n yield takeLatest(SUBMIT_STEP_FORM_REQUEST, submitStepFormDetails);\n yield takeLatest(\n FETCH_BD_INPROGRESS_MERCHANT_REQUEST,\n fetchBDInProgressMerchants\n );\n}\n","// Library methods\n\n// Utils\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_GET_ALL_USERS,\n API_CREATE_USER,\n API_GET_ALL_ROLES,\n API_ENTITY_LIST,\n API_UPDATE_USER,\n API_CREATE_ADMIN_USER,\n API_GET_ALL_USER_MAKERS,\n API_UPDATE_ADMIN_USER,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as userManagementActions from './userManagement.actions';\n\n// Constants\nimport {\n FETCH_USER_REQUEST,\n CREATE_USER_REQUEST,\n GET_USER_ROLES_REQUEST,\n FETCH_ENTITY_LIST_REQUEST,\n UPDATE_USER_REQUEST,\n CREATE_ADMIN_USER_REQUEST,\n UPDATE_ADMIN_USER_REQUEST,\n FETCH_USER_MAKER_REQUEST,\n FETCH_SYSTEM_USERS_REQUEST,\n} from './userManagement.constants';\nimport moment from 'moment';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nconst getRequestData = payload => {\n const request = {\n page: payload.pageIndex || 1,\n resultPerPage: payload.pageSize || 10,\n userFilter: {},\n };\n if (payload.createdOn) {\n request.userFilter.createdStartDate = moment(\n payload.createdOn.startDate\n ).startOf('day');\n request.userFilter.createdEndDate = moment(\n payload.createdOn.endDate\n ).endOf('day');\n }\n if (payload.role) {\n request.userFilter.roleName = payload.role;\n }\n if (payload.createdBy) {\n request.userFilter.userCreatedByName = payload.createdBy;\n }\n if (payload.userLevel) {\n request.userFilter.userEntityType = payload.userLevel;\n }\n if (payload.status) {\n request.userFilter.userStatus = payload.status;\n }\n return request;\n};\n\nexport function* createUserDetails(actions) {\n try {\n const { payload } = actions;\n const request = { ...payload };\n const { data } = yield call(POST, API_CREATE_USER, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n userManagementActions.createUserSuccess({\n isLoading: false,\n data,\n message: '',\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n userManagementActions.createUserError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n\n if (status !== 401) {\n yield put(\n userManagementActions.createUserError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n }\n}\n\nexport function* fetchUserDetails(actions) {\n yield put(userManagementActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestData(payload);\n const { data } = yield call(POST, API_GET_ALL_USERS, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(userManagementActions.fetchUserSuccess(data));\n } else if (data.statusCode === apiStatusCodes.NORECORD) {\n yield put(\n userManagementActions.fetchUserError({\n error: {},\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n userManagementActions.fetchUserError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(userManagementActions.fetchUserError({ error: data }));\n }\n yield put(userManagementActions.hideLoader());\n}\n\nexport function* fetchSystemUsersDetails(actions) {\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_GET_ALL_USERS, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(userManagementActions.fetchSystemUsersSuccess(data));\n } else if (data.statusCode === apiStatusCodes.NORECORD) {\n yield put(\n userManagementActions.fetchSystemUsersError({\n error: {},\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n userManagementActions.fetchSystemUsersRequest({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(userManagementActions.fetchUserError({ error: data }));\n }\n}\n\nexport function* getAllRolesDetails() {\n try {\n const request = {\n page: 1,\n resultPerPage: 100,\n };\n const { data } = yield call(POST, API_GET_ALL_ROLES, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(userManagementActions.getAllRolesSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n userManagementActions.getAllRolesError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data && data.errorMessage ? data.errorMessage : '';\n yield put(\n userManagementActions.getAllRolesError({ error: errorMessage })\n );\n }\n}\n\nexport function* fetchUserMakerDetails(actions) {\n yield put(userManagementActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_GET_ALL_USER_MAKERS, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(userManagementActions.getUserMakersDetailsSuccess(data));\n } else if (data.statusCode === apiStatusCodes.NORECORD) {\n yield put(\n userManagementActions.getUserMakersDetailsError({\n error: {},\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n userManagementActions.getUserMakersDetailsError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data && data.errorMessage ? data.errorMessage : '';\n yield put(\n userManagementActions.getUserMakersDetailsError({\n error: errorMessage,\n })\n );\n }\n yield put(userManagementActions.hideLoader());\n}\n\nexport function* getEntityDetails(actions) {\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_ENTITY_LIST, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(userManagementActions.fetchEntitySuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n userManagementActions.fetchEntityError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data && data.errorMessage ? data.errorMessage : '';\n yield put(\n userManagementActions.fetchEntityError({ error: errorMessage })\n );\n }\n}\n\nconst getUserDataRequest = payload => {\n const updateEnumList = [\n 'NAME_UPDATE',\n 'ENTITY_UPDATE',\n 'ROLE_UPDATE',\n 'USER_STATUS_UPDATE',\n ];\n const request = {\n comment: payload.remarks || '',\n entityId: payload.entityId || '',\n entityName: payload.entityName || '',\n entityType: payload.userLevel || '',\n name: payload.name || '',\n roleId: payload.userRole,\n updateEnumList:\n payload.userLevel === 'RM'\n ? updateEnumList.filter(item => item !== 'ENTITY_UPDATE')\n : updateEnumList,\n userId: payload.userId,\n userStatus: payload.userStatus || '',\n level: payload.uLevel || null,\n parentUserId: payload.supervisor || '',\n };\n return request;\n};\n\nconst getAdminUserDataRequest = payload => {\n const updateEnumList = ['NAME_UPDATE', 'ROLE_UPDATE', 'USER_STATUS_UPDATE'];\n const request = {\n comment: payload.remarks || '',\n name: payload.name || '',\n roleId: payload.userRole,\n updateEnumList,\n userId: payload.userId,\n userStatus: payload.userStatus || '',\n level: payload.uLevel || null,\n parentUserId: payload.supervisor || '',\n };\n return request;\n};\n\nexport function* updateUserDetails(actions) {\n try {\n const { payload } = actions;\n const request = getUserDataRequest(payload);\n const { data } = yield call(POST, API_UPDATE_USER, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n userManagementActions.updateUserSuccess({\n isLoading: false,\n data,\n message: '',\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n userManagementActions.updateUserError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n\n if (status !== 401) {\n yield put(\n userManagementActions.updateUserError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n }\n}\n\nexport function* createAdminUserDetails(actions) {\n try {\n const { payload } = actions;\n const request = { ...payload };\n const { data } = yield call(POST, API_CREATE_ADMIN_USER, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n userManagementActions.createAdminUserSuccess({\n isLoading: false,\n data,\n message: '',\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n userManagementActions.createAdminUserError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n\n if (status !== 401) {\n yield put(\n userManagementActions.createAdminUserError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n }\n}\n\nexport function* updateAdminUserDetails(actions) {\n try {\n const { payload } = actions;\n const request = getAdminUserDataRequest(payload);\n const { data } = yield call(POST, API_UPDATE_ADMIN_USER, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n userManagementActions.updateAdminUserSuccess({\n isLoading: false,\n data,\n message: '',\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n userManagementActions.updateAdminUserError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n\n if (status !== 401) {\n yield put(\n userManagementActions.updateAdminUserError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n }\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* userManagementSaga() {\n yield takeLatest(FETCH_USER_REQUEST, fetchUserDetails);\n yield takeLatest(CREATE_USER_REQUEST, createUserDetails);\n yield takeLatest(GET_USER_ROLES_REQUEST, getAllRolesDetails);\n yield takeLatest(FETCH_ENTITY_LIST_REQUEST, getEntityDetails);\n yield takeLatest(UPDATE_USER_REQUEST, updateUserDetails);\n yield takeLatest(CREATE_ADMIN_USER_REQUEST, createAdminUserDetails);\n yield takeLatest(UPDATE_ADMIN_USER_REQUEST, updateAdminUserDetails);\n yield takeLatest(FETCH_USER_MAKER_REQUEST, fetchUserMakerDetails);\n yield takeLatest(FETCH_SYSTEM_USERS_REQUEST, fetchSystemUsersDetails);\n}\n","// Library methods\n\n// Utils\nimport { toast } from 'react-toastify';\nimport moment from 'moment';\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport { POST, GET } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_FETCH_TRANSACTION,\n API_GENERATE_REPORT,\n API_DOWNLOAD_REPORT,\n API_GET_ACTIVE_REPORT,\n API_TRANSACTION_STATUS,\n API_FETCH_REFUND_TXN,\n API_GET_ACTIVE_REPORT_CUSTOM,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport transactionMockData from '../mockData/transactions.json';\nimport * as transactionsActions from './transactions.actions';\n\n// Constants\nimport {\n FETCH_TRANSACTIONS_REQUEST,\n GENERATE_REPORT_REQUEST,\n GET_ACTIVE_REPORT_REQUEST,\n DOWNLOAD_REPORT_REQUEST,\n FETCH_TRANSACTIONS_STATUS_REQUEST,\n GET_REFUND_TXN_REQUEST,\n} from './transactions.constants';\n\nconst TID_MOCK = false;\n\nconst getRequestData = payload => {\n const request = {\n pageNo: payload.pageIndex || 1,\n pageSize: payload.pageSize || 10,\n transactionView: 'TXN',\n };\n if (payload.createdOn) {\n request.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n\n if (payload.merchantIds && payload.merchantIds.length) {\n request.merchantIds = payload.merchantIds;\n }\n\n if (payload.searchKey) {\n request.searchKey = payload.searchKey;\n }\n\n if (payload.searchValue) {\n request.searchValue = payload.searchValue;\n }\n\n if (payload.orderId) {\n request.orderId = payload.orderId;\n }\n\n if (payload.terminalId) {\n request.terminalId = payload.terminalId;\n }\n\n if (payload.transactionReferenceNumber) {\n request.transactionReferenceNumber = payload.transactionReferenceNumber;\n }\n if (payload.merchantOrderId) {\n request.merchantOrderId = payload.merchantOrderId;\n }\n\n if (payload.minAmt) {\n request.minAmt = payload.minAmt;\n }\n if (payload.isLive !== undefined) {\n request.isLive = payload.isLive;\n }\n if (payload.transactionModes) {\n request.transactionModes = [payload.transactionModes];\n }\n if (payload.maxAmt) {\n request.maxAmt = payload.maxAmt;\n }\n if (payload.transactionTypes && payload.transactionTypes.length) {\n const { transactionTypes } = payload;\n request.transactionTypes = transactionTypes;\n }\n if (payload.transactionStates && payload.transactionStates.length) {\n const { transactionStates } = payload;\n request.transactionStates = transactionStates;\n }\n return request;\n};\n\nconst getRequestDataFile = payload => {\n const request = {};\n if (payload.createdOn) {\n request.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n if (payload.merchantIds && payload.merchantIds.length) {\n request.merchantIds = payload.merchantIds;\n }\n if (payload.reportFileName) {\n request.reportFileName = payload.reportFileName;\n }\n if (payload.orderId) {\n request.orderId = payload.orderId;\n }\n if (payload.minAmt) {\n request.minAmt = payload.minAmt;\n }\n if (payload.maxAmt) {\n request.maxAmt = payload.maxAmt;\n }\n if (payload.transactionTypes && payload.transactionTypes.length) {\n const { transactionTypes } = payload;\n request.transactionTypes = transactionTypes;\n }\n if (payload.transactionStates && payload.transactionStates.length) {\n const { transactionStates } = payload;\n request.transactionStates = transactionStates;\n }\n return request;\n};\n\nexport function* fetchTransactionsDetails(actions) {\n yield put(transactionsActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestData(payload);\n let data = {};\n\n if (TID_MOCK) {\n data = transactionMockData;\n } else {\n const res = yield call(POST, API_FETCH_TRANSACTION, request);\n data = res.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(transactionsActions.fetchTransactionsSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n transactionsActions.fetchTransactionsError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n transactionsActions.fetchTransactionsError({\n error: data,\n })\n );\n }\n yield put(transactionsActions.hideLoader());\n}\n\nexport function* getActiveReportDetails(actions) {\n const { hideLoader } = actions;\n if (!hideLoader) {\n yield put(loaderActions.showLoader());\n }\n try {\n const { data } = yield call(\n GET,\n actions?.payload?.reportType\n ? API_GET_ACTIVE_REPORT_CUSTOM(actions.payload.reportType)\n : API_GET_ACTIVE_REPORT\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(transactionsActions.getActiveReportSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n transactionsActions.getActiveReportError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n transactionsActions.getActiveReportError({\n error: data,\n })\n );\n }\n if (!hideLoader) {\n yield put(loaderActions.hideLoader());\n }\n}\n\nexport function* generateTransactionReport(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n\n let request = {};\n // for settlement tab\n if (payload.reportType === 'MSR') {\n request = payload;\n } else if (payload.reportType === 'UNIFIED_MSR' || payload.reportType === 'EDI_REPORT') {\n request = payload;\n } else {\n // for txn tab\n request = getRequestDataFile(payload);\n request.reportType = 'TRANSACTIONS';\n }\n\n const { data } = yield call(POST, API_GENERATE_REPORT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(transactionsActions.generateReportSuccess(data));\n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage || '';\n yield put(\n transactionsActions.generateReportError({\n error: errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data.errorMessage || '';\n yield put(\n transactionsActions.generateReportError({\n error: errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* downloadReportRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n requestId: payload.requestId,\n };\n const { data } = yield call(POST, API_DOWNLOAD_REPORT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(transactionsActions.downloadReportSuccess(data.fileUrl));\n if (data.fileUrl) {\n const link = document.createElement('a');\n link.href = data.fileUrl;\n link.target = '_blank';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n } else if (data && data.errorMessage) {\n yield put(\n transactionsActions.downloadReportError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n transactionsActions.downloadReportError({\n error: data,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchTransactionsStatusDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_TRANSACTION_STATUS, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(transactionsActions.fetchTransactionsStatusSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n transactionsActions.fetchTransactionsStatusError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n transactionsActions.fetchTransactionsStatusError({\n error: data,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchRefundTxnDetails(actions) {\n // yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_FETCH_REFUND_TXN, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(transactionsActions.getRefundTxnSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n transactionsActions.getRefundTxnError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n transactionsActions.getRefundTxnError({\n error: data,\n })\n );\n }\n // yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* transactionsSaga() {\n yield takeLatest(FETCH_TRANSACTIONS_REQUEST, fetchTransactionsDetails);\n yield takeLatest(GET_REFUND_TXN_REQUEST, fetchRefundTxnDetails);\n yield takeLatest(GENERATE_REPORT_REQUEST, generateTransactionReport);\n yield takeLatest(GET_ACTIVE_REPORT_REQUEST, getActiveReportDetails);\n yield takeLatest(DOWNLOAD_REPORT_REQUEST, downloadReportRequest);\n yield takeLatest(\n FETCH_TRANSACTIONS_STATUS_REQUEST,\n fetchTransactionsStatusDetails\n );\n}\n","// Library methods\n\n// Utils\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_FETCH_TRANSACTION,\n API_INITIATE_REFUND,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as refundActions from './refund.actions';\n\n// Constants\nimport {\n FETCH_REFUND_REQUEST,\n INITIATE_REFUND_REQUEST,\n} from './refund.constants';\nimport moment from 'moment';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nconst getRequestData = payload => {\n const request = {\n pageNo: payload.pageIndex || 1,\n pageSize: payload.pageSize || 10,\n transactionStates: ['SUCCESS'],\n transactionView: 'REFUND',\n };\n if (payload.createdOn) {\n request.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n if (payload.isLive !== undefined) {\n request.isLive = payload.isLive;\n }\n if (payload.merchantId) {\n request.merchantIds = [payload.merchantId];\n }\n if (payload.orderId) {\n request.orderId = payload.orderId;\n }\n if (payload.searchKey) {\n request.searchKey = payload.searchKey;\n }\n if (payload.searchValue) {\n request.searchValue = payload.searchValue;\n }\n return request;\n};\n\nexport function* fetchRefundDetails(actions) {\n yield put(refundActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestData(payload);\n const { data } = yield call(POST, API_FETCH_TRANSACTION, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(refundActions.fetchRefundSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n refundActions.fetchRefundError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(refundActions.fetchRefundError({ error: data }));\n }\n yield put(refundActions.hideLoader());\n}\n\nexport function* initiateRefundDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_INITIATE_REFUND, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(refundActions.initiateRefundSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n refundActions.initiateRefundError({\n message: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n refundActions.initiateRefundError({ message: data.errorMessage })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* refundSaga() {\n yield takeLatest(FETCH_REFUND_REQUEST, fetchRefundDetails);\n yield takeLatest(INITIATE_REFUND_REQUEST, initiateRefundDetails);\n}\n","// Library methods\n\n// Utils\nimport { GET, POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_FETCH_PAY_DATA,\n API_CREATE_PAY_LINK,\n API_UPDATE_PAY_LINK,\n API_SHARE_PAY_LINK,\n API_LIST_PAY_TRANSACTIONS,\n API_PAY_LINK_SUMMARY,\n API_RESHARE_PAY_LINK,\n API_MERCHANT_TEMPLATE_DETAILS, API_GENERATE_REPORT,\n} from '../../../utils/API/apiUrls';\n\n// Constant\nimport { SUCCESS_MESSAGES } from '../../../utils/constants/toastMessages';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as paymentLinkActions from './paymentLink.actions';\n\n// Constants\nimport {\n FETCH_PAYMENT_LINK_REQUEST,\n FETCH_TRANSACTION_PAYMENT_REQUEST,\n CREATE_PAY_LINK_REQUEST,\n UPDATE_PAY_LINK_REQUEST,\n SHARE_PAY_LINK_REQUEST,\n RE_SHARE_PAY_LINK_REQUEST,\n VIEW_PAY_LINK_REQUEST,\n FETCH_MERCHANT_TEMPLATE_REQUEST,\n GENERATE_REPORT_REQUEST,\n} from './paymentLink.constants';\nimport { isEmpty } from 'lodash';\nimport moment from 'moment';\nimport { toast } from 'react-toastify';\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport * as transactionsActions from '../../Transactions/redux/transactions.actions';\n\n// Format Payment link table filter and Request params.\nconst getRequestData = payload => {\n const filter = {};\n const request = {\n paginationDetails: {\n pageNo: payload.pageIndex || 1,\n pageSize: payload.pageSize || 10,\n },\n };\n if (payload.createdOn) {\n filter.startDate = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n filter.endDate = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n if (payload.linkName) {\n filter.linkName = payload.linkName;\n }\n if (payload.linkId) {\n const { linkId } = payload;\n filter.linkId = linkId;\n }\n if (payload.status) {\n const { status } = payload;\n filter.linkDataStatus = status;\n }\n if (filter && !isEmpty(filter)) {\n request.filter = filter;\n }\n\n return request;\n};\n\n// Format Transaction View Payment link filter and Request params.\nconst getRequestDataTrxn = payload => {\n const filter = {};\n const request = {\n paginationDetails: {\n pageNo: payload.pageIndex || 1,\n pageSize: payload.pageSize || 10,\n },\n };\n if (payload.linkDataId) {\n request.linkDataId = payload.linkDataId;\n }\n if (payload.createdOn) {\n filter.startDate = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n filter.endDate = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n if (payload.communicationModeValue) {\n filter.communicationModeValue = payload.communicationModeValue;\n }\n if (payload.transactionId) {\n filter.transactionId = payload.transactionId;\n }\n if (payload.transactionStatus) {\n const { transactionStatus } = payload;\n filter.transactionStatus = transactionStatus;\n }\n if (filter && !isEmpty(filter)) {\n request.filter = filter;\n }\n return request;\n};\n\n// Get details for the Payment link list for table.\nexport function* fetchPaymentLinkDetails(actions) {\n yield put(paymentLinkActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestData(payload);\n const { data } = yield call(POST, API_FETCH_PAY_DATA, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentLinkActions.fetchPaymentLinkSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n paymentLinkActions.fetchPaymentLinkError({\n error: data,\n })\n );\n }\n } catch (error) {\n const data = error.response;\n yield put(\n paymentLinkActions.fetchPaymentLinkError({\n error: data,\n })\n );\n }\n yield put(paymentLinkActions.hideLoader());\n}\n\n// Get Details for the payment link transaction view.\nexport function* fetchPaymentsDetails(actions) {\n yield put(paymentLinkActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestDataTrxn(payload);\n const { data } = yield call(POST, API_LIST_PAY_TRANSACTIONS, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentLinkActions.fetchPaymentsSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n paymentLinkActions.fetchPaymentsError({\n error: data,\n })\n );\n }\n } catch (error) {\n const { data } = error.response;\n yield put(\n paymentLinkActions.fetchPaymentsError({\n error: data,\n })\n );\n }\n yield put(paymentLinkActions.hideLoader());\n}\n\n// Create new payment link Saga function\nexport function* createPayLinkDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_CREATE_PAY_LINK, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentLinkActions.createPayLinksSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n paymentLinkActions.createPayLinksError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n paymentLinkActions.createPayLinksError({\n error: data,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n// Update the payment link Saga function\nexport function* updatePayLinkDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_UPDATE_PAY_LINK, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentLinkActions.updatePayLinksSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n paymentLinkActions.updatePayLinksError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n paymentLinkActions.updatePayLinksError({\n error: data,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n// Share the payment link Saga function\nexport function* sharePayLinkDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_SHARE_PAY_LINK, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentLinkActions.sharePayLinksSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n paymentLinkActions.sharePayLinksError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n paymentLinkActions.sharePayLinksError({\n error: data,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n// View the payment link summary Saga function\nexport function* viewPayLinkDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_PAY_LINK_SUMMARY, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentLinkActions.viewPayLinksSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n paymentLinkActions.viewPayLinksError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n paymentLinkActions.viewPayLinksError({\n error: data,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n// Re Share the payment link Saga function\nexport function* reSharePayLinkDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_RESHARE_PAY_LINK, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentLinkActions.reSharePayLinksSuccess(data));\n toast.info(SUCCESS_MESSAGES.SHARED_DATA('Payment Link'));\n } else if (data && data.errorMessage) {\n yield put(\n paymentLinkActions.reSharePayLinksError({\n error: data,\n })\n );\n if (data && data.errorMessage) {\n toast.info(data.errorMessage);\n }\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n paymentLinkActions.reSharePayLinksError({\n error: data,\n })\n );\n if (data && data.errorMessage) {\n toast.info(data.errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\n// fetch mandate template Request\nexport function* fetchMandateTemplateRequest(actions) {\n yield put(loaderActions.showLoader());\n\n try {\n const { data } = yield call(GET, API_MERCHANT_TEMPLATE_DETAILS);\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n let successData = {\n template: { ...data },\n };\n\n yield put(\n paymentLinkActions.fetchMerchantTemplateSuccess({\n ...successData,\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n paymentLinkActions.fetchMerchantTemplateError({\n error: data,\n })\n );\n if (data && data.errorMessage) {\n toast.info(data.errorMessage);\n }\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n paymentLinkActions.fetchMerchantTemplateError({\n error: data,\n })\n );\n if (data && data.errorMessage) {\n toast.info(data.errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nconst getRequestDataFile = payload => {\n const request = {};\n if (payload.createdOn) {\n request.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n if (payload.reportFileName) {\n request.reportFileName = payload.reportFileName;\n }\n if(payload.linkName){\n request.linkName = payload.linkName;\n }\n if(payload.linkId){\n request.linkId = payload.linkId;\n }\n if(payload.status){\n request.status = payload.status;\n }\n if(payload.status){\n request.status = payload.status;\n }\n\n request.reportType = 'PAYMENT_LINK';\n\n return request;\n};\n\n\nexport function* generateTransactionReport(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n\n const handleViewDownloads = payload.handleViewDownloads;\n delete payload.handleViewDownloads;\n\n let request = getRequestDataFile(payload);\n\n const { data } = yield call(POST, API_GENERATE_REPORT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(transactionsActions.generateReportSuccess(data));\n handleViewDownloads();\n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage || '';\n yield put(\n transactionsActions.generateReportError({\n error: errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data.errorMessage || '';\n yield put(\n transactionsActions.generateReportError({\n error: errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\n\n/**\n * WATCHER SAGA\n */\nexport function* paymentLinkSaga() {\n yield takeLatest(FETCH_PAYMENT_LINK_REQUEST, fetchPaymentLinkDetails);\n yield takeLatest(FETCH_TRANSACTION_PAYMENT_REQUEST, fetchPaymentsDetails);\n yield takeLatest(CREATE_PAY_LINK_REQUEST, createPayLinkDetails);\n yield takeLatest(UPDATE_PAY_LINK_REQUEST, updatePayLinkDetails);\n yield takeLatest(SHARE_PAY_LINK_REQUEST, sharePayLinkDetails);\n yield takeLatest(VIEW_PAY_LINK_REQUEST, viewPayLinkDetails);\n yield takeLatest(RE_SHARE_PAY_LINK_REQUEST, reSharePayLinkDetails);\n yield takeLatest(GENERATE_REPORT_REQUEST, generateTransactionReport);\n yield takeLatest(\n FETCH_MERCHANT_TEMPLATE_REQUEST,\n fetchMandateTemplateRequest\n );\n}\n","// Library methods\n\n// Utils\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_GET_ALL_ROLES,\n API_CREATE_ROLE,\n API_UPDATE_ROLE,\n API_GET_ALL_RESOURCE_PERMISSION_DETAILS,\n API_GET_ALL_ROLE_MAKERS,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport { SUCCESS_MESSAGES } from '../../../utils/constants/toastMessages';\nimport * as roleManagementActions from './roleManagement.actions';\n\n// Constants\nimport {\n FETCH_ROLES_REQUEST,\n CREATE_ROLE_REQUEST,\n UPDATE_ROLE_REQUEST,\n FETCH_ALL_RESOURCE_PERMISSIONS_REQUEST,\n FETCH_ROLE_MAKERS_REQUEST,\n} from './roleManagement.constants';\nimport { toast } from 'react-toastify';\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport moment from 'moment';\n\n// Toast Messages\n\nconst getRequestData = payload => {\n const request = {\n page: payload.pageIndex || 1,\n resultPerPage: payload.pageSize || 10,\n roleFilter: {},\n };\n if (payload.createdOn) {\n request.roleFilter.createdStartDate = moment(\n payload.createdOn.startDate\n ).startOf('day');\n request.roleFilter.createdEndDate = moment(\n payload.createdOn.endDate\n ).endOf('day');\n }\n if (payload.createdBy) {\n request.roleFilter.roleCreatedBy = payload.createdBy;\n }\n if (payload.status) {\n request.roleFilter.roleStatus = payload.status;\n }\n return request;\n};\n\nexport function* fetchAllRoles(actions) {\n yield put(roleManagementActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestData(payload);\n const { data } = yield call(POST, API_GET_ALL_ROLES, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(roleManagementActions.fetchRolesSuccess(data));\n } else if (data.statusCode === apiStatusCodes.NORECORD) {\n yield put(\n roleManagementActions.fetchRolesError({\n error: {},\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n roleManagementActions.fetchRolesError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(roleManagementActions.fetchRolesError({ error: data }));\n }\n yield put(roleManagementActions.hideLoader());\n}\n\nexport function* fetchRolesMakers(actions) {\n yield put(roleManagementActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_GET_ALL_ROLE_MAKERS, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(roleManagementActions.getMakersDetailsSuccess(data));\n } else if (data.statusCode === apiStatusCodes.NORECORD) {\n yield put(\n roleManagementActions.getMakersDetailsError({\n error: {},\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n roleManagementActions.getMakersDetailsError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(roleManagementActions.getMakersDetailsError({ error: data }));\n }\n yield put(roleManagementActions.hideLoader());\n}\n\nexport function* createRole(actions) {\n try {\n const { payload } = actions;\n const request = { ...payload };\n const { data } = yield call(POST, API_CREATE_ROLE, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n roleManagementActions.createRoleSuccess({\n isLoading: false,\n data,\n message: '',\n })\n );\n toast.info(SUCCESS_MESSAGES.CREATE_ROLE);\n } else if (data && data.errorMessage) {\n yield put(\n roleManagementActions.createRoleError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n\n if (status !== 401) {\n yield put(\n roleManagementActions.createRoleError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n }\n}\n\nexport function* updateRole(actions) {\n try {\n const { payload } = actions;\n const request = { ...payload };\n const { data } = yield call(POST, API_UPDATE_ROLE, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n roleManagementActions.updateRoleSuccess({\n isLoading: false,\n data,\n message: '',\n })\n );\n toast.info(SUCCESS_MESSAGES.UPDATE_ROLE);\n } else if (data && data.errorMessage) {\n yield put(\n roleManagementActions.updateRoleError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n\n if (status !== 401) {\n yield put(\n roleManagementActions.updateRoleError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n }\n}\n\nexport function* getAllResoursePermissions() {\n try {\n const request = {};\n const { data } = yield call(\n POST,\n API_GET_ALL_RESOURCE_PERMISSION_DETAILS,\n request\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n roleManagementActions.getAllResourcePermissionsSuccess(data)\n );\n } else if (data && data.errorMessage) {\n yield put(\n roleManagementActions.getAllResourcePermissionsError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data && data.errorMessage ? data.errorMessage : '';\n yield put(\n roleManagementActions.getAllResourcePermissionsError({\n error: errorMessage,\n })\n );\n }\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* roleManagementSaga() {\n yield takeLatest(FETCH_ROLES_REQUEST, fetchAllRoles);\n yield takeLatest(CREATE_ROLE_REQUEST, createRole);\n yield takeLatest(UPDATE_ROLE_REQUEST, updateRole);\n yield takeLatest(\n FETCH_ALL_RESOURCE_PERMISSIONS_REQUEST,\n getAllResoursePermissions\n );\n yield takeLatest(FETCH_ROLE_MAKERS_REQUEST, fetchRolesMakers);\n}\n","// Library methods\n\n// Utils\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport { API_GET_ALL_USER_CHECKERS } from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as userVerificationActions from './userVerification.actions';\n\n// Constants\nimport { FETCH_VERIFIED_USER_REQUEST } from './userVerification.constants';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nexport function* fetchVerificationUserDetails(actions) {\n yield put(userVerificationActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_GET_ALL_USER_CHECKERS, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(userVerificationActions.fetchVerifiedUserSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n userVerificationActions.fetchVerifiedUserError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n userVerificationActions.fetchVerifiedUserError({ error: data })\n );\n }\n yield put(userVerificationActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* userVerificationSaga() {\n yield takeLatest(FETCH_VERIFIED_USER_REQUEST, fetchVerificationUserDetails);\n}\n","// Library methods\n\n// Utils\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_GET_ALL_ROLE_CHECKERS,\n API_UPDATE_INTENT,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as roleVerificationActions from './roleVerification.actions';\n\n// Constants\nimport {\n FETCH_ROLE_CHECKER_REQUEST,\n UPDATE_INTENT_REQUEST,\n} from './roleVerification.constants';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nexport function* fetchRoleCheckerDetails(actions) {\n yield put(roleVerificationActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_GET_ALL_ROLE_CHECKERS, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(roleVerificationActions.fetchRoleCheckerSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n roleVerificationActions.fetchRoleCheckerError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n roleVerificationActions.fetchRoleCheckerError({ error: data })\n );\n }\n yield put(roleVerificationActions.hideLoader());\n}\n\nexport function* updateIntentDetails(actions) {\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_UPDATE_INTENT, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(roleVerificationActions.updateIntentSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n roleVerificationActions.updateIntentError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n\n if (status !== 401) {\n yield put(\n roleVerificationActions.updateIntentError({\n error: data,\n })\n );\n }\n }\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* roleVerificationSaga() {\n yield takeLatest(FETCH_ROLE_CHECKER_REQUEST, fetchRoleCheckerDetails);\n yield takeLatest(UPDATE_INTENT_REQUEST, updateIntentDetails);\n}\n","// Library methods\n\n// Data\nimport DummyData from '../../../../components/PGConfigTab/DummyData';\n\n// Redux Actions\nimport * as loaderActions from '../../../../redux/common/loader/loader.actions';\nimport * as pgActions from './pgConfig.actions';\n\n// Constants\nimport {\n FETCH_PG_CONFIG_REQUEST,\n SAVE_PG_DETAIL_REQUEST,\n UPDATE_PG_REQUEST,\n UPDATE_PG_STATUS_REQUEST,\n} from './pgConfig.constants';\nimport { takeLatest, put } from 'redux-saga/effects';\n\nexport function* fetchPgConfigDetails() {\n yield put(loaderActions.showLoader());\n try {\n yield put(pgActions.fetchPgConfigSuccess(DummyData));\n } catch ({ response }) {\n const { data } = response;\n yield put(pgActions.fetchPgConfigError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* savePgsDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n yield put(pgActions.savePgDetailsSuccess(payload));\n } catch (exception) {\n yield put(\n pgActions.savePgDetailsError({\n error: { errorMessage: 'Pg data does not saved' },\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updatePgsDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, initialValues } = actions;\n yield put(pgActions.updatePgsSuccess(payload, initialValues));\n } catch (exception) {\n yield put(\n pgActions.updatePgsError({\n error: { errorMessage: 'Pg data does not updated' },\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updatePgStatusDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n yield put(pgActions.updatePgStatusSuccess(payload));\n } catch (exception) {\n yield put(\n pgActions.updatePgStatusError({\n error: { errorMessage: 'Pg status does not updated' },\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* pgConfigDataSagas() {\n yield takeLatest(FETCH_PG_CONFIG_REQUEST, fetchPgConfigDetails);\n yield takeLatest(SAVE_PG_DETAIL_REQUEST, savePgsDetails);\n yield takeLatest(UPDATE_PG_REQUEST, updatePgsDetails);\n yield takeLatest(UPDATE_PG_STATUS_REQUEST, updatePgStatusDetails);\n}\n","// Library methods\n\n// Utils\nimport { POST } from '../../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_GET_MERCHANT_INFO,\n API_FETCH_PG_CONFIG,\n API_FETCH_ROUTER_DETAILS,\n API_FETCH_SURCHARGE_DETAILS,\n API_UPDATE_MERCHANT,\n API_UPDATE_PG_CONFIG,\n API_UPDATE_ROUTING,\n API_UPDATE_SURCHARGE,\n API_UPDATE_SECTIONS,\n API_FETCH_SECTIONS,\n API_HIERARCHY_LIST,\n API_UPDATE_SETTLEMENT,\n API_FETCH_BASIC_DATA,\n API_ADD_BD_ONBOARDING_MAKER,\n} from '../../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../../utils/API/apiStatusCodes';\n\n// Helpers\nimport {\n getFormattedSectionData,\n getFlatSelectedData,\n getFormattedPGConfigOldData,\n shortFormatedData\n} from '../../../../utils/helperMethods';\nimport { SECTION_LIST } from '../../../../utils/constants/commonValues';\n\n// Redux Actions\nimport * as loaderActions from '../../../../redux/common/loader/loader.actions';\nimport * as editMerchantActions from './editMerchant.actions';\n\n// Constants\nimport {\n GET_MERCHANT_INFO_REQUEST,\n FETCH_PG_CONFIG_EDIT_REQUEST,\n FETCH_ROUTER_DETAILS_REQUEST,\n FETCH_SURCHARGE_DETAILS_REQUEST,\n UPDATE_MERCHANT_DATA_REQUEST,\n UPDATE_PG_CONFIG_DATA_REQUEST,\n UPDATE_ROUTING_DATA_REQUEST,\n UPDATE_SURCHARGE_DATA_REQUEST,\n UPDATE_SECTION_DETAILS_REQUEST,\n GET_MERCHANT_SECTION_INFO_REQUEST,\n SET_SELECTED_ENTITY_REQUEST,\n UPDATE_SETTLEMENT_DATA_REQUEST,\n FETCH_BASIC_FORM_DATA,\n ADD_MERCHANT_STEP_UPDATE_MAKER_ERROR,\n ADD_MERCHANT_STEP_UPDATE_MAKER_REQUEST,\n} from './editMerchant.constants';\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport { toast } from 'react-toastify';\n\nexport function* fetchMerchantInfoDetails(actions) {\n yield put(loaderActions.showLoader());\n const {history , toast } = actions;\n try {\n const { payload, fields } = actions;\n const request = {\n entityCode: payload,\n entityStatus: true,\n };\n const { data } = yield call(POST, API_GET_MERCHANT_INFO, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n const formattedData = getFormattedSectionData(data, fields);\n yield put(\n editMerchantActions.getMerchantInfoSuccess(formattedData)\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.getMerchantInfoError({\n error: data,\n })\n );\n history.push('/mob');\n toast.error(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(editMerchantActions.getMerchantInfoError({ error: data }));\n history.push('/mob');\n toast.error(\"Merchant ID could not be found.\");\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchPGInfoDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, fields } = actions;\n const request = {\n entityCode: payload,\n };\n const { data } = yield call(POST, API_FETCH_PG_CONFIG, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n const pgConfigurationDataResponse = getFormattedPGConfigOldData(\n data\n );\n\n const oldFormatData = {\n ...data,\n pgConfigurationDataResponse,\n };\n\n const formattedData = getFormattedSectionData(\n oldFormatData,\n fields,\n 'pgConfigurationSection'\n );\n\n yield put(\n editMerchantActions.fetchPgConfigDetailsSuccess(formattedData)\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.fetchPgConfigDetailsError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n yield put(\n editMerchantActions.fetchPgConfigDetailsError({\n error: response && response.data && response.data.errorMessage,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchRouterDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, fields } = actions;\n const request = {\n entityCode: payload,\n };\n const { data } = yield call(POST, API_FETCH_ROUTER_DETAILS, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n const formattedData = getFormattedSectionData(\n data,\n fields,\n 'dynamicRoutingSection'\n );\n yield put(\n editMerchantActions.fetchRouterDetailsSuccess(formattedData)\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.fetchRouterDetailsError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n yield put(\n editMerchantActions.fetchRouterDetailsError({\n error: response && response.data && response.data.errorMessage,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchSurchargeDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, fields } = actions;\n const request = {\n ...payload,\n };\n const { data } = yield call(POST, API_FETCH_SURCHARGE_DETAILS, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS2) {\n const formattedData = getFormattedSectionData(\n data,\n fields,\n 'surchargeSection'\n );\n\n const shortedData = shortFormatedData(formattedData);\n\n yield put(\n editMerchantActions.fetchSurchargeDetailsSuccess(shortedData)\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.fetchSurchargeDetailsError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n yield put(\n editMerchantActions.fetchSurchargeDetailsError({\n error: response && response.data && response.data.errorMessage,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchBasicFormData(actions) {\n // console.log(actions,\"consoling actionsssssss\")\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n ...payload,\n };\n //console.log(\"calling formData.....\");\n const { data } = yield call(POST, API_FETCH_BASIC_DATA, request);\n // console.log(data,\"consoling revised api data\");\n if (data && data.statusCode === apiStatusCodes.SUCCESS2) {\n yield put(editMerchantActions.fetchBasicFormSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.fetchBasicFormError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n yield put(\n editMerchantActions.fetchBasicFormError({\n error: response && response.data && response.data.errorMessage,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updateMerchantDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType } = actions;\n const request = payload;\n const { data } = yield call(POST, API_UPDATE_MERCHANT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n editMerchantActions.updateMerchantDataSuccess(data, sectionType)\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.updateMerchantDataError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(editMerchantActions.updateMerchantDataError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updatePGInfoDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType } = actions;\n const request = payload;\n\n const { data } = yield call(POST, API_UPDATE_PG_CONFIG, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n editMerchantActions.updatePgConfigDataSuccess(data, sectionType)\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.updatePgConfigDataError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(editMerchantActions.updatePgConfigDataError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updateSettlementDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType} = actions;\n // console.log(\"payloadddddd\" , payload);\n const request = payload;\n //console.log(\"request of updateSellementdata \" ,request);\n const { data } = yield call(POST, API_UPDATE_SETTLEMENT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS2) {\n yield put(\n editMerchantActions.updateSettlementDataSuccess(\n data,\n sectionType\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.updateSettlementDataError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(\n editMerchantActions.updateSettlementDataError({ error: data })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updateRoutingDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType } = actions;\n const request = payload;\n const { data } = yield call(POST, API_UPDATE_ROUTING, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n editMerchantActions.updateRoutingDataSuccess(data, sectionType)\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.updateRoutingDataError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(editMerchantActions.updateRoutingDataError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updateSurchargeDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType } = actions;\n const request = payload;\n const { data } = yield call(POST, API_UPDATE_SURCHARGE, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS2) {\n yield put(\n editMerchantActions.updateSurchargeDataSuccess(\n data,\n sectionType\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.updateSurchargeDataError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(\n editMerchantActions.updateSurchargeDataError({ error: data })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updateSectionsDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType } = actions;\n const { data } = yield call(POST, API_UPDATE_SECTIONS, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n editMerchantActions.updateSectionDataSuccess(data, sectionType)\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.updateSectionDataError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(editMerchantActions.updateSectionDataError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchSectionDetails(actions) {\n\n yield put(loaderActions.showLoader());\n const { payload, fields, sectionType, history } = actions;\n try {\n const request = {\n entityCode: payload,\n configurationType: SECTION_LIST[sectionType],\n };\n const { data } = yield call(POST, API_FETCH_SECTIONS, request);\n //console.log(data ,\"consoling data\");\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n const formattedData = getFormattedSectionData(\n data,\n fields,\n sectionType,\n );\n //console.log(formattedData,\"consoling formatted data\");\n yield put(\n editMerchantActions.getMerchantSectionInfoSuccess(formattedData)\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.getMerchantSectionInfoError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n console.log(\"🚀 ~ function*fetchSectionDetails ~ response:\", response.data)\n const { data } = response;\n yield put(\n editMerchantActions.getMerchantSectionInfoError({ error: data })\n );\n if(response.data.statusCode == 'SPGM-0002' || response.data.statusCode == \"ER-7100\"){\n toast.error(\"Merchant ID could not be found.\");\n if(!!history){\n history.push('/mob');\n }\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nconst getEntityLevel = entityType => {\n return 'UPPER_COMPLETE';\n};\n\nexport function* setSelectedEntityDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, entityType } = actions;\n const request = {\n entityCode: payload,\n entityLevel: getEntityLevel(entityType),\n };\n\n const { data } = yield call(POST, API_HIERARCHY_LIST, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n const formattedData = getFlatSelectedData(\n data,\n entityType,\n payload\n );\n yield put(editMerchantActions.setEntityDataSuccess(formattedData));\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.setEntityDataError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(editMerchantActions.setEntityDataError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* addSectionMakerRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType, makerDetails ,customisedReports } = actions;\n //console.log(\"consoling actionssss\" ,actions);\n //console.log('customisedReports',customisedReports);\n const modifiedPayload = {...payload,customisedReports};\n\n const makerRequest = {\n ...makerDetails,\n request: JSON.stringify(modifiedPayload),\n };\n console.log(\"makerRequest\", makerRequest);\n const { data } = yield call(\n POST,\n API_ADD_BD_ONBOARDING_MAKER('merchant'),\n makerRequest\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n editMerchantActions.addMerchantStepUpdateMakerSuccess(\n data,\n sectionType\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n editMerchantActions.addMerchantStepUpdateMakerError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(\n editMerchantActions.addMerchantStepUpdateMakerError({ error: data })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* editMerchantSagas() {\n yield takeLatest(GET_MERCHANT_INFO_REQUEST,fetchMerchantInfoDetails);\n yield takeLatest(FETCH_PG_CONFIG_EDIT_REQUEST, fetchPGInfoDetails);\n yield takeLatest(FETCH_ROUTER_DETAILS_REQUEST, fetchRouterDetails);\n yield takeLatest(FETCH_SURCHARGE_DETAILS_REQUEST, fetchSurchargeDetails);\n yield takeLatest(FETCH_BASIC_FORM_DATA, fetchBasicFormData);\n yield takeLatest(UPDATE_MERCHANT_DATA_REQUEST, updateMerchantDetails);\n yield takeLatest(UPDATE_PG_CONFIG_DATA_REQUEST, updatePGInfoDetails);\n yield takeLatest(UPDATE_ROUTING_DATA_REQUEST, updateRoutingDetails);\n yield takeLatest(UPDATE_SURCHARGE_DATA_REQUEST, updateSurchargeDetails);\n yield takeLatest(UPDATE_SECTION_DETAILS_REQUEST, updateSectionsDetails);\n yield takeLatest(GET_MERCHANT_SECTION_INFO_REQUEST, fetchSectionDetails);\n yield takeLatest(SET_SELECTED_ENTITY_REQUEST, setSelectedEntityDetails);\n yield takeLatest(UPDATE_SETTLEMENT_DATA_REQUEST, updateSettlementDetails);\n yield takeLatest(\n ADD_MERCHANT_STEP_UPDATE_MAKER_REQUEST,\n addSectionMakerRequest\n );\n}\n","// Library methods\n\n// Utils\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_FETCH_MIXED_GRAPH,\n API_FETCH_MULTI_GRAPH,\n API_FETCH_SINGLE_GRAPH,\n API_FETCH_SUMMARY_GRAPH,\n API_HIERARCHY_LIST_MULTI,\n} from '../../../utils/API/apiUrls';\n\n// Toast Messages\nimport { ERROR_MESSAGES } from '../../../utils/constants/toastMessages';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as dashboardActions from './dashboard.actions';\n\n// Constants\nimport {\n FETCH_MIXED_GRAPH_REQUEST,\n FETCH_MULTI_GRAPH_REQUEST,\n FETCH_SINGLE_REQUEST,\n FETCH_DASHBOARD_SUMMARY_REQUEST,\n FETCH_MULTI_ENTITY_HIERARCHY_REQUEST,\n} from './dashboard.constants';\nimport { takeLatest, takeEvery, put, call } from 'redux-saga/effects';\n\nexport function* fetchMixedGraph(actions) {\n // yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n dashboardFilter: {\n createdEndDate: payload.endDate,\n createdStartDate: payload.startDate,\n merchantIds: payload.merchantIds,\n // merchantIds: ['MERMERf62f649', 'MERMER69c617e'],\n },\n graphIdentifier: 'OVER_ALL_FAILURES',\n };\n const { data } = yield call(POST, API_FETCH_MIXED_GRAPH, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(dashboardActions.fetchMixedGraphSuccess(data.values));\n } else if (data && data.errorMessage) {\n yield put(\n dashboardActions.fetchMixedGraphError({\n errorMsg: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMsg = (data && data.errorMessage) || ERROR_MESSAGES.LOGOUT;\n yield put(dashboardActions.fetchMixedGraphError({ errorMsg }));\n }\n // yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchMultiGraph(actions) {\n // yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n dashboardFilter: {\n createdEndDate: payload.endDate,\n createdStartDate: payload.startDate,\n merchantIds: payload.merchantIds,\n },\n graphIdentifier: 'PAYMENT_MODE_WISE_SUCCESS_RATE',\n };\n const { data } = yield call(POST, API_FETCH_MULTI_GRAPH, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(dashboardActions.fetchMultiGraphSuccess(data.values));\n } else if (data && data.errorMessage) {\n yield put(\n dashboardActions.fetchMultiGraphError({\n errorMsg: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMsg = (data && data.errorMessage) || ERROR_MESSAGES.LOGOUT;\n yield put(dashboardActions.fetchMultiGraphError({ errorMsg }));\n }\n // yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchSingleGraph(actions) {\n // yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n dashboardFilter: {\n createdEndDate: payload.endDate,\n createdStartDate: payload.startDate,\n merchantIds: payload.merchantIds,\n },\n graphIdentifierList: [payload.graphIdentifier],\n // graphIdentifierList: [\n // 'GMV',\n // 'STATUS_TREND',\n // 'SUCCESS_RATE',\n // 'TRANSACTIONS_COUNT',\n // ],\n };\n const { data } = yield call(POST, API_FETCH_SINGLE_GRAPH, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n dashboardActions.fetchSingleGraphSuccess({\n data,\n graphIdentifier: payload.graphIdentifier,\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n dashboardActions.fetchSingleGraphError({\n errorMsg: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMsg = (data && data.errorMessage) || ERROR_MESSAGES.LOGOUT;\n yield put(dashboardActions.fetchSingleGraphError({ errorMsg }));\n }\n // yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchDashboardSummary(actions) {\n // yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n dashboardFilter: {\n createdEndDate: payload.endDate,\n createdStartDate: payload.startDate,\n merchantIds: payload.merchantIds,\n },\n };\n const { data } = yield call(POST, API_FETCH_SUMMARY_GRAPH, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n dashboardActions.fetchDashboardSummarySuccess(\n data.summaryMetrics\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n dashboardActions.fetchDashboardSummaryError({\n errorMsg: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMsg = (data && data.errorMessage) || ERROR_MESSAGES.LOGOUT;\n yield put(dashboardActions.fetchDashboardSummaryError({ errorMsg }));\n }\n // yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchHierarchyDetails(actions) {\n // yield put(merchantAction.showHierarchyLoader());\n try {\n const { payload, level, entityType, onSuccess } = actions;\n const request = {\n entityCode: payload,\n entityLevel: level,\n };\n const { data } = yield call(POST, API_HIERARCHY_LIST_MULTI, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n dashboardActions.fetchMultiEntityHierarchySuccess(\n data,\n entityType\n )\n );\n if (onSuccess) {\n onSuccess();\n }\n } else if (data && data.errorMessage) {\n yield put(\n dashboardActions.fetchMultiEntityHierarchyError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(\n dashboardActions.fetchMultiEntityHierarchyError({ error: data })\n );\n }\n // yield put(merchantAction.hideHierarchyLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* dashBoardSaga() {\n yield takeLatest(FETCH_MIXED_GRAPH_REQUEST, fetchMixedGraph);\n yield takeLatest(FETCH_MULTI_GRAPH_REQUEST, fetchMultiGraph);\n yield takeEvery(FETCH_SINGLE_REQUEST, fetchSingleGraph);\n yield takeLatest(FETCH_DASHBOARD_SUMMARY_REQUEST, fetchDashboardSummary);\n yield takeEvery(\n FETCH_MULTI_ENTITY_HIERARCHY_REQUEST,\n fetchHierarchyDetails\n );\n}\n","// Library methods\n\n// Utils\nimport { POST, GET } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_FETCH_NOTIFICATION_EVENTS,\n API_FETCH_COMM_PROFILE,\n API_ADD_COMM_PROFILE,\n API_UPDATE_COMM_PROFILE,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as commProfileActions from './commProfile.actions';\n\n// Constants\nimport {\n FETCH_NOTIFICATION_EVENT_REQUEST,\n FETCH_COMM_PROFILE_REQUEST,\n ADD_COMM_PROFILE_REQUEST,\n UPDATE_COMM_PROFILE_REQUEST,\n} from './commProfile.constants';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nexport function* fetchNotificationEvents() {\n yield put(loaderActions.showLoader());\n try {\n const { data } = yield call(GET, API_FETCH_NOTIFICATION_EVENTS);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n commProfileActions.fetchNotificationEventSuccess(\n data.eventsList\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n commProfileActions.fetchNotificationEventError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n commProfileActions.fetchNotificationEventError({ error: data })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchCommProfile() {\n yield put(commProfileActions.showLoader());\n try {\n const { data } = yield call(GET, API_FETCH_COMM_PROFILE);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(commProfileActions.fetchCommProfileSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n commProfileActions.fetchCommProfileError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(commProfileActions.fetchCommProfileError({ error: data }));\n }\n yield put(commProfileActions.hideLoader());\n}\n\nexport function* addCommProfile(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_ADD_COMM_PROFILE, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(commProfileActions.addCommProfileSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n commProfileActions.addCommProfileError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(commProfileActions.addCommProfileError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updateCommProfile(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_UPDATE_COMM_PROFILE, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(commProfileActions.updateCommProfileSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n commProfileActions.updateCommProfileError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(commProfileActions.updateCommProfileError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* commProfileSaga() {\n yield takeLatest(FETCH_NOTIFICATION_EVENT_REQUEST, fetchNotificationEvents);\n yield takeLatest(FETCH_COMM_PROFILE_REQUEST, fetchCommProfile);\n yield takeLatest(ADD_COMM_PROFILE_REQUEST, addCommProfile);\n yield takeLatest(UPDATE_COMM_PROFILE_REQUEST, updateCommProfile);\n}\n","// Library methods\n\n// Utils\nimport { POST, GET } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_FETCH_BIN_RECENT,\n API_BIN_UPLOAD_FILE,\n API_DOWNLOAD_BY_REQUEST,\n API_SEARCH_BIN_DETAIL,\n API_BIN_UPDATE_DETAIL,\n API_RECENT_SEARCH,\n API_NETWORK_BIN_UPLOAD_FILE,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as binActions from './manageBin.actions';\n\n// Constants\nimport {\n FETCH_BIN_REQUEST,\n UPLOAD_BIN_FILE_REQUEST,\n SEARCH_BIN_DETAIL_REQUEST,\n UPDATE_BIN_DETAIL_REQUEST,\n DOWNLOAD_BY_ID_REQUEST,\n GET_SEARCH_RECENT_BIN_REQUEST,\n UPLOAD_NETWORK_BIN_FILE_REQUEST,\n} from './manageBin.constants';\nimport { toast } from 'react-toastify';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nconst downloadFile = url => {\n const link = document.createElement('a');\n link.href = url;\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n};\n\nexport function* fetchBinRecentDetails(actions) {\n yield put(binActions.showLoader());\n try {\n const request = {\n fileProcessEnum: 'ISSUER_BIN_FILE_UPLOAD',\n };\n const { data } = yield call(POST, API_FETCH_BIN_RECENT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(binActions.fetchBinDataSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n binActions.fetchBinDataError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(binActions.fetchBinDataError({ error: data }));\n }\n yield put(binActions.hideLoader());\n}\n\nexport function* uploadBinFileDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(\n POST,\n API_BIN_UPLOAD_FILE,\n payload,\n {\n 'Content-Type': 'multipart/form-data',\n },\n true\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(binActions.uploadBinFileSuccess(data));\n toast.info('File upload successful');\n } else if (data && data.errorMessage) {\n yield put(\n binActions.uploadBinFileError({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(binActions.uploadBinFileError({ error: data }));\n if (data.errorMessage) {\n toast.info(data.errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* downloadByIdDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_DOWNLOAD_BY_REQUEST, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n downloadFile(data.fileUrl);\n } else if (data && data.errorMessage) {\n yield put(\n binActions.downloadByIdError({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(binActions.downloadByIdError({ error: data }));\n if (data.errorMessage) {\n toast.info(data.errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* searchBinDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_SEARCH_BIN_DETAIL, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(binActions.searchBinDetailSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n binActions.searchBinDetailError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(binActions.searchBinDetailError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updateBinDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_BIN_UPDATE_DETAIL, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(binActions.updateBinDetailSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n binActions.updateBinDetailError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(binActions.updateBinDetailError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* getRecentSearch() {\n yield put(binActions.showLoader());\n try {\n const { data } = yield call(GET, API_RECENT_SEARCH);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(binActions.getSearchRecentSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n binActions.getSearchRecentError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(binActions.getSearchRecentError({ error: data }));\n }\n yield put(binActions.hideLoader());\n}\n\nexport function* uploadNetworkBinFileDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(\n POST,\n API_NETWORK_BIN_UPLOAD_FILE,\n payload,\n {\n 'Content-Type': 'multipart/form-data',\n },\n true\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(binActions.uploadNetworkBinFileSuccess(data));\n toast.info('File upload successful');\n } else if (data && data.errorMessage) {\n yield put(\n binActions.uploadNetworkBinFileError({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(binActions.uploadNetworkBinFileError({ error: data }));\n if (data.errorMessage) {\n toast.info(data.errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* manageBinSaga() {\n yield takeLatest(FETCH_BIN_REQUEST, fetchBinRecentDetails);\n yield takeLatest(UPLOAD_BIN_FILE_REQUEST, uploadBinFileDetails);\n yield takeLatest(\n UPLOAD_NETWORK_BIN_FILE_REQUEST,\n uploadNetworkBinFileDetails\n );\n yield takeLatest(SEARCH_BIN_DETAIL_REQUEST, searchBinDetails);\n yield takeLatest(UPDATE_BIN_DETAIL_REQUEST, updateBinDetails);\n yield takeLatest(DOWNLOAD_BY_ID_REQUEST, downloadByIdDetails);\n yield takeLatest(GET_SEARCH_RECENT_BIN_REQUEST, getRecentSearch);\n}\n","/* eslint-disable indent */\n// Utils\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// API URLs\nimport {\n API_FETCH_BULK_UPLOAD_RECENT,\n API_BULK_UPLOAD_FILE,\n API_FETCH_BULK_UPLOAD_PREFILLED_FILE,\n API_BULK_UPLOAD_FILE_TRANSACTION_VIEW,\n API_BULK_UPLOAD_DOWNLOAD_FILE,\n} from '../../../utils/API/apiUrls';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport { downloadFile } from '../../../utils/helperMethods';\nimport * as bulkRefundActions from './bulkRefund.actions';\n\n// Constants\nimport {\n FETCH_BULK_REFUND_BY_ID_REQUEST,\n FETCH_BULK_REFUND_REQUEST,\n UPLOAD_BULK_REFUND_FILE_REQUEST,\n DOWNLOAD_BULK_REFUND_FILE_BY_ID_REQUEST,\n DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_REQUEST,\n} from './bulkRefund.constants';\n\n// Library\nimport { toast } from 'react-toastify';\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport moment from 'moment';\n\nexport function* fetchBulkUploadRecentDetails(actions) {\n yield put(bulkRefundActions.showLoader());\n try {\n const request = {\n fileProcessEnum: 'BULK_REFUND_FILE_UPLOAD',\n };\n const { data } = yield call(\n POST,\n API_FETCH_BULK_UPLOAD_RECENT,\n request\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(bulkRefundActions.fetchBulkRefundDataSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n bulkRefundActions.fetchBulkRefundDataError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n // const { data } = response;\n // yield put(bulkRefundActions.fetchBulkRefundDataError({ error: data }));\n }\n yield put(bulkRefundActions.hideLoader());\n}\n\nexport function* uploadBulkUploadFileRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(\n POST,\n API_BULK_UPLOAD_FILE,\n payload,\n {\n 'Content-Type': 'multipart/form-data;',\n },\n true\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(bulkRefundActions.uploadBulkUploadFileSuccess(data));\n toast.info('File upload successful');\n } else if (data && data.errorMessage) {\n yield put(\n bulkRefundActions.uploadBulkUploadFileError({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(bulkRefundActions.uploadBulkUploadFileError({ error: data }));\n if (data.errorMessage) {\n toast.info(data.errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchBulkRefundFileTableDataByIdDetails(actions) {\n yield put(bulkRefundActions.showLoader());\n try {\n const request = {\n fileProcessEnum: 'BULK_REFUND_FILE_UPLOAD',\n ...actions.payload,\n };\n const { data } = yield call(\n POST,\n API_BULK_UPLOAD_FILE_TRANSACTION_VIEW,\n request\n );\n if (data && data.refundReqResLst) {\n yield put(\n bulkRefundActions.fetchBulkRefundFileTableDataByIdSuccess({\n response: data,\n request,\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n bulkRefundActions.fetchBulkRefundFileTableDataByIdError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n bulkRefundActions.fetchBulkRefundFileTableDataByIdError({\n error: data,\n })\n );\n }\n yield put(bulkRefundActions.hideLoader());\n}\n\nexport function* downloadBulkRefundFileByIdDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const request = {\n ...actions.payload,\n };\n\n const { data } = yield call(\n POST,\n API_BULK_UPLOAD_DOWNLOAD_FILE,\n request\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n downloadFile(data.fileUrl);\n } else if (data && data.errorMessage) {\n yield put(\n bulkRefundActions.downloadBulkRefundFileByIdSuccess({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n bulkRefundActions.downloadBulkRefundFileByIdError({ error: data })\n );\n if (data.errorMessage) {\n toast.info(data.errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* downloadBulkRefundPreFilledFile(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n\n const requestPayload = { ...payload };\n requestPayload.startDateTime = requestPayload.createdOn.startDate\n ? moment(requestPayload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss')\n : '';\n requestPayload.endDateTime = requestPayload.createdOn.endDate\n ? moment(requestPayload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss')\n : '';\n\n delete requestPayload.createdOn;\n\n const { data } = yield call(\n POST,\n API_FETCH_BULK_UPLOAD_PREFILLED_FILE,\n requestPayload\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n downloadFile(data.fileUrl);\n } else if (data && data.errorMessage) {\n yield put(\n bulkRefundActions.downloadBulkRefundPreFilledFileError({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n bulkRefundActions.downloadBulkRefundFileByIdError({ error: data })\n );\n if (data.errorMessage) {\n toast.info(data.errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* bulkRefundSaga(actions) {\n yield takeLatest(FETCH_BULK_REFUND_REQUEST, fetchBulkUploadRecentDetails);\n yield takeLatest(\n UPLOAD_BULK_REFUND_FILE_REQUEST,\n uploadBulkUploadFileRequest\n );\n yield takeLatest(\n FETCH_BULK_REFUND_BY_ID_REQUEST,\n fetchBulkRefundFileTableDataByIdDetails\n );\n yield takeLatest(\n DOWNLOAD_BULK_REFUND_FILE_BY_ID_REQUEST,\n downloadBulkRefundFileByIdDetails\n );\n\n yield takeLatest(\n DOWNLOAD_BULK_REFUND_PRE_FILLED_FILE_REQUEST,\n downloadBulkRefundPreFilledFile\n );\n}\n","// Library methods\n\n// Utils\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport { API_AUDIT_TRAIL_FETCH } from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as auditTrailActions from './auditTrail.actions';\n\n// Constants\nimport { FETCH_AUDIT_TRAIL_REQUEST } from './auditTrail.constants';\nimport moment from 'moment';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nconst getRequestData = payload => {\n const request = {\n pageNo: payload.pageNo || 1,\n pageSize: payload.pageSize || 10,\n };\n if (payload.createdOn) {\n request.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n if (payload.time) {\n const dateStrStart = moment(payload.createdOn.startDate);\n const dateStrEnd = moment(payload.createdOn.endDate);\n const timeStart = moment(payload.time.startTime, 'HH:mm');\n const timeEnd = moment(payload.time.endTime, 'HH:mm');\n\n dateStrStart.set({\n hour: timeStart.get('hour'),\n minute: timeStart.get('minute'),\n second: timeStart.get('second'),\n });\n\n dateStrEnd.set({\n hour: timeEnd.get('hour'),\n minute: timeEnd.get('minute'),\n second: timeEnd.get('second'),\n });\n\n request.startDateTime = dateStrStart.format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = dateStrEnd.format('YYYY-MM-DD HH:mm:ss');\n }\n if (payload.userId) {\n request.userId = payload.userId;\n }\n if (payload.action) {\n const { action } = payload;\n request.action = action;\n }\n if (payload.resource && payload.resource) {\n const { resource } = payload;\n request.resource = resource;\n }\n return request;\n};\n\nexport function* fetchAuditTrailDetails(actions) {\n yield put(auditTrailActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(\n POST,\n API_AUDIT_TRAIL_FETCH,\n getRequestData(payload)\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(auditTrailActions.fetchAuditTrailSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n auditTrailActions.fetchAuditTrailError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(auditTrailActions.fetchAuditTrailError({ error: data }));\n }\n yield put(auditTrailActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* auditTrailSaga() {\n yield takeLatest(FETCH_AUDIT_TRAIL_REQUEST, fetchAuditTrailDetails);\n}\n","// Library methods\n\n// Utils\nimport { POST, GET } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_UPDATE_PROFILE,\n API_FETCH_MERCHANT_PROFILE,\n API_DELETE_PROFILE,\n API_SDK_JSON,\n API_CREATE_STATIC_QR,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as profileActions from './profile.actions';\n\n// Constants\nimport {\n FETCH_PROFILE_REQUEST,\n UPDATE_IMAGE_REQUEST,\n DELETE_IMAGE_REQUEST,\n FETCH_PROFILE_JSON_REQUEST,\n CREATE_STATIC_QR_REQUEST,\n} from './profile.constants';\nimport { toast } from 'react-toastify';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nexport function* fetchUserProfile(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_FETCH_MERCHANT_PROFILE, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(profileActions.fetchProfileDetailsSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n profileActions.fetchProfileDetailsError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n if (data && data.errorMessage) {\n yield put(\n profileActions.fetchProfileDetailsError({\n error: data.errorMessage,\n })\n );\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updateUserImage(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(\n POST,\n API_UPDATE_PROFILE,\n payload,\n {\n 'Content-Type': 'multipart/form-data',\n },\n true\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(profileActions.updateImageSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n profileActions.updateImageError({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } catch (error) {\n if (error.response) {\n const { data } = error.response;\n if (data && data.errorMessage) {\n yield put(\n profileActions.updateImageError({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } else {\n yield put(profileActions.resetImageRequest());\n toast.info('Something went wrong. Please try again.');\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* deleteUserImage(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { data } = yield call(POST, API_DELETE_PROFILE);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(profileActions.deleteImageSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n profileActions.deleteImageError({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n if (data && data.errorMessage) {\n yield put(\n profileActions.deleteImageError({ error: data.errorMessage })\n );\n toast.info(data.errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* getProfileJsonDetails() {\n yield put(loaderActions.showLoader());\n try {\n const { data } = yield call(GET, API_SDK_JSON);\n if (data) {\n yield put(profileActions.fetchProfileJSONSuccess(data));\n }\n } catch (response) {\n yield put(profileActions.fetchProfileJSONError());\n toast.info('Something went wrong with sdk data.');\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* createStaticQR(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_CREATE_STATIC_QR, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(profileActions.createStaticQrSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n profileActions.createStaticQrError({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } catch (error) {\n if (error.response) {\n const { data } = error.response;\n if (data && data.errorMessage) {\n yield put(\n profileActions.createStaticQrError({\n error: data.errorMessage,\n })\n );\n toast.info(data.errorMessage);\n }\n } else {\n toast.info('Something went wrong. Please try again.');\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* profileSaga() {\n yield takeLatest(FETCH_PROFILE_REQUEST, fetchUserProfile);\n yield takeLatest(UPDATE_IMAGE_REQUEST, updateUserImage);\n yield takeLatest(DELETE_IMAGE_REQUEST, deleteUserImage);\n yield takeLatest(FETCH_PROFILE_JSON_REQUEST, getProfileJsonDetails);\n yield takeLatest(CREATE_STATIC_QR_REQUEST, createStaticQR);\n}\n","// Library methods\n\n// Utils\nimport { ERROR_MESSAGES } from 'utils/constants/toastMessages';\nimport moment from 'moment';\nimport { takeLatest, put, call, delay } from 'redux-saga/effects';\nimport { toast } from 'react-toastify';\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_RETRIGGER_SETTLEMENT,\n API_RETRY_SETTLEMENT,\n API_SETTLEMENT_LISTING,\n API_FETCH_AVAILABLE_BALANCE,\n API_FETCH_ODS_FEE_DETAILS,\n API_PROCESS_ODS,\n API_FETCH_SECTIONS,\n API_GET_MERCHANT_INFO,\n API_FETCH_NET_SETTLEMENT,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\n\n// Redux Actions\n\n// Constants\nimport { SECTION_LIST } from '../../../utils/constants/commonValues';\nimport { getFormattedSectionData } from '../../../utils/helperMethods';\nimport * as editMerchantActions from '../../MerchantOnboard/redux/editMerchant/editMerchant.actions';\nimport {\n FETCH_SETTLEMENT_METRICS_REQUEST,\n FETCH_SETTLEMENT_REQUEST,\n RETRIGGER_SETTLEMENT_REQUEST,\n RETRY_SETTLEMENT_REQUEST,\n FETCH_AVAILABLE_BALANCE_REQUEST,\n FETCH_ODS_FEE_DETAILS_REQUEST,\n PROCESS_ODS_REQUEST,\n GET_MERCHANT_SECTION_INFO_REQUEST,\n FETCH_NET_SETTLEMENT_REQUEST,\n FETCH_NET_SETTLEMENT_SUCCESS,\n FETCH_NET_SETTLEMENT_ERROR,\n} from './settlement.constants';\nimport * as settlementActions from './settlement.actions';\n\nconst availableBalanceMock = {\n entityId: '986771234HGT45',\n availableBalance: 105.09,\n statusCode: 'SPG-0000',\n errorMessage: 'errorMessage_8e1009c01ab2',\n};\n\nconst odsDetailsMock = {\n entityId: '986771234HGT45',\n availableBalance: 105.09,\n odsFee: 1.7,\n tax: 0.5,\n accountNumber: '043285094507504375',\n IfscCode: 'HHG34324434',\n amountTobeSettled: 103.05,\n statusCode: 'SPG-0000',\n errorMessage: 'errorMessage_1f80d8fa2447',\n};\n\nconst processedOdsMock = {\n entityId: '986771234HGT45',\n settledAmount: 103.05,\n accountNumber: '043285094507504375',\n statusCode: 'SPG-0000',\n errorMessage: 'errorMessage_b93d71b6a307',\n};\n\nconst netSettlementMockData = {\n statusCode: 'SPG-0000',\n errorMessage: null,\n stats: {\n SETTLED: {\n amount: '85.84',\n count: '4',\n },\n },\n startTime: null,\n endTime: null,\n totalSettlementAmount: 85.84,\n};\nconst getRequestData = payload => {\n const request = {\n pageNo: payload.pageNo || 1,\n pageSize: payload.pageSize || 10,\n };\n if (payload.startDate) {\n request.startDateTime = moment(payload.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n if (payload.settlementMetric) {\n request.settlementMetric = payload.settlementMetric;\n }\n if (payload.entityIds && payload.entityIds.length) {\n request.entityIds = payload.entityIds;\n }\n if (payload.orderId) {\n request.orderId = payload.orderId;\n }\n if (payload.settlementMode) {\n request.settlementMode = payload.settlementMode;\n }\n if (payload.settlementStates) {\n request.settlementStates = payload.settlementStates;\n }\n\n if (payload.searchValue) {\n request.searchValue = payload.searchValue;\n }\n\n if (payload.searchKey) {\n request.searchKey = payload.searchKey;\n }\n if (payload.minAmt) {\n request.minAmt = payload.minAmt;\n }\n if (payload.maxAmt) {\n request.maxAmt = payload.maxAmt;\n }\n return request;\n};\n\nexport function* fetchSettlementDetails(actions) {\n yield put(settlementActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(\n POST,\n API_SETTLEMENT_LISTING,\n getRequestData(payload)\n );\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(settlementActions.fetchSettlementSuccess(data));\n } else if (data && data.errorMessage) {\n if (!payload.settlementMetric) {\n yield put(\n settlementActions.fetchSettlementError({\n error: data.errorMessage,\n })\n );\n }\n }\n } catch ({ response }) {\n const { data } = response;\n // yield put(settlementActions.fetchSettlementError({ error: data }));\n }\n yield put(settlementActions.hideLoader());\n}\n\nexport function* fetchSettlementMetrics(actions) {\n try {\n const { payload } = actions;\n const { data } = yield call(\n POST,\n API_SETTLEMENT_LISTING,\n getRequestData(payload)\n );\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(settlementActions.fetchSettlementMetricsSuccess(data));\n } else if (data && data.errorMessage) {\n if (!payload.settlementMetric) {\n yield put(\n settlementActions.fetchSettlementMetricsError({\n error: data.errorMessage,\n })\n );\n }\n }\n } catch ({ response }) {\n const { data } = response;\n\n // yield put(\n // settlementActions.fetchSettlementMetricsError({ error: data })\n // );\n }\n}\n\nexport function* retrySettlementRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_RETRY_SETTLEMENT, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(settlementActions.retrySettlementSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n settlementActions.retrySettlementError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(settlementActions.retrySettlementError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* retriggerSettlementRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_RETRIGGER_SETTLEMENT, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(settlementActions.retriggerSettlementSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n settlementActions.retriggerSettlementError({\n error: data.errorMessage,\n })\n );\n toast.error(\n data.errorMessage\n ? data.errorMessage\n : ERROR_MESSAGES.FALLBACK_ERROR\n );\n }\n } catch ({ response }) {\n const { data } = response;\n\n yield put(settlementActions.retriggerSettlementError({ error: data }));\n toast.error(\n data.errorMessage\n ? data.errorMessage\n : ERROR_MESSAGES.FALLBACK_ERROR\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchAvailableBalanceRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n let data = {};\n\n if (process.env.REACT_APP_IS_ODS_MOCK === 'true') {\n yield delay(2000);\n data = availableBalanceMock;\n } else {\n const res = yield call(POST, API_FETCH_AVAILABLE_BALANCE, payload);\n data = res.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(settlementActions.fetchAvailableBalanceSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n settlementActions.fetchAvailableBalanceError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n settlementActions.fetchAvailableBalanceError({ error: data })\n );\n } finally {\n yield put(loaderActions.hideLoader());\n }\n}\n\nexport function* fetchNetSettlementRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n let data = {};\n\n if (process.env.REACT_APP_IS_ODS_MOCK === 'true') {\n yield delay(2000);\n data = netSettlementMockData;\n } else {\n const res = yield call(POST, API_FETCH_NET_SETTLEMENT, payload);\n data = res.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(settlementActions.fetchNetSettlementSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n settlementActions.fetchNetSettlementError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n settlementActions.fetchAvailableBalanceError({ error: data })\n );\n } finally {\n yield put(loaderActions.hideLoader());\n }\n}\n\nexport function* fetchOdsDetailsRequest(actions) {\n // yield put(loaderActions.showLoader());\n try {\n const { payload, handleSuccess } = actions;\n let data = {};\n\n if (process.env.REACT_APP_IS_ODS_MOCK === 'true') {\n yield delay(2000);\n data = odsDetailsMock;\n } else {\n const res = yield call(POST, API_FETCH_ODS_FEE_DETAILS, payload);\n data = res.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(settlementActions.fetchOdsDetailsSuccess(data));\n handleSuccess();\n } else if (data && data.errorMessage) {\n yield put(\n settlementActions.fetchOdsDetailsError({\n error: data.errorMessage,\n })\n );\n toast.error(\n data.errorMessage\n ? data.errorMessage\n : ERROR_MESSAGES.FALLBACK_ERROR\n );\n }\n } catch ({ response }) {\n const { data } = response;\n\n yield put(settlementActions.fetchOdsDetailsError({ error: data }));\n toast.error(\n data.errorMessage\n ? data.errorMessage\n : ERROR_MESSAGES.FALLBACK_ERROR\n );\n } finally {\n // yield put(loaderActions.hideLoader());\n }\n}\n\nexport function* fetchProcessOdsRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, handleSuccess } = actions;\n let data = {};\n\n if (process.env.REACT_APP_IS_ODS_MOCK === 'true') {\n yield delay(2000);\n data = processedOdsMock;\n } else {\n const res = yield call(POST, API_PROCESS_ODS, payload);\n data = res.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(settlementActions.fetchProcessOdsSuccess(data));\n handleSuccess();\n } else if (data && data.errorMessage) {\n yield put(\n settlementActions.fetchProcessOdsError({\n error: data.errorMessage,\n })\n );\n toast.error(\n data.errorMessage\n ? data.errorMessage\n : ERROR_MESSAGES.FALLBACK_ERROR\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(settlementActions.fetchProcessOdsError({ error: data }));\n toast.error(\n data.errorMessage\n ? data.errorMessage\n : ERROR_MESSAGES.FALLBACK_ERROR\n );\n } finally {\n yield put(loaderActions.hideLoader());\n }\n}\n\nexport function* fetchSectionDetails(actions) {\n yield put(loaderActions.showLoader());\n const { payload } = actions;\n try {\n const request = {\n entityCode: payload,\n };\n const { data } = yield call(POST, API_GET_MERCHANT_INFO, request);\n\n console.log(data, 'DATADATA');\n // if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n // const formattedData = getFormattedSectionData(\n // data,\n // fields,\n // sectionType,\n // );\n //\n // yield put(\n // editMerchantActions.getMerchantSectionInfoSuccess(formattedData)\n // );\n // } else if (data && data.errorMessage) {\n // yield put(\n // editMerchantActions.getMerchantSectionInfoError({\n // error: data,\n // })\n // );\n // }\n } catch ({ response }) {\n console.log('ERROR', response);\n // const { data } = response;\n // yield put(\n // editMerchantActions.getMerchantSectionInfoError({ error: data })\n // );\n }\n yield put(loaderActions.hideLoader());\n}\n/**\n * WATCHER SAGA\n */\nexport function* settlementSaga() {\n yield takeLatest(FETCH_SETTLEMENT_REQUEST, fetchSettlementDetails);\n yield takeLatest(FETCH_SETTLEMENT_METRICS_REQUEST, fetchSettlementMetrics);\n yield takeLatest(RETRY_SETTLEMENT_REQUEST, retrySettlementRequest);\n yield takeLatest(RETRIGGER_SETTLEMENT_REQUEST, retriggerSettlementRequest);\n yield takeLatest(\n FETCH_AVAILABLE_BALANCE_REQUEST,\n fetchAvailableBalanceRequest\n );\n yield takeLatest(FETCH_NET_SETTLEMENT_REQUEST, fetchNetSettlementRequest);\n yield takeLatest(FETCH_ODS_FEE_DETAILS_REQUEST, fetchOdsDetailsRequest);\n yield takeLatest(PROCESS_ODS_REQUEST, fetchProcessOdsRequest);\n yield takeLatest(GET_MERCHANT_SECTION_INFO_REQUEST, fetchSectionDetails);\n}\n","// Library methods\n\n// Utils\nimport { POST, GET } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_ADD_CHECKOUT_CUSTOMIZATION,\n API_ADD_CHECKOUT_CUSTOMIZATION_CUSTOM_DETAILS,\n API_GET_CHECKOUT_CUSTOMIZATION,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as checkoutAction from './checkout.actions';\n\n// Constants\nimport {\n ADD_CHECKOUT_REQUEST,\n FETCH_CHECKOUT_REQUEST,\n} from './checkout.constants';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nexport function* getEntityInfo(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n merchantCode: payload,\n };\n const { data } = yield call(\n POST,\n API_GET_CHECKOUT_CUSTOMIZATION,\n request\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(checkoutAction.fetchCheckoutDetailsSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n checkoutAction.fetchCheckoutDetailsError(data.errorMessage)\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(checkoutAction.fetchCheckoutDetailsError(data.errorMessage));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* addCheckoutCustomization(actions) {\n try {\n const { payload } = actions;\n const themeRequest = { theme: payload.theme };\n\n const customizationRequestFormData = new FormData();\n\n customizationRequestFormData.append(\n 'loader',\n payload.loader && payload.loader.length > 0\n ? payload.loader[0]\n : null\n );\n\n customizationRequestFormData.append(\n 'headerLogo',\n payload.headerLogo && payload.headerLogo.length > 0\n ? payload.headerLogo[0]\n : null\n );\n\n customizationRequestFormData.append(\n 'primaryColor',\n payload.primaryColor\n );\n\n const { data: otherDetailsResponseData } = yield call(\n POST,\n API_ADD_CHECKOUT_CUSTOMIZATION_CUSTOM_DETAILS,\n customizationRequestFormData,\n {\n 'Content-Type': 'multipart/form-data',\n },\n true\n );\n\n const { data: themeUpdateResponseData } = yield call(\n POST,\n API_ADD_CHECKOUT_CUSTOMIZATION,\n themeRequest\n );\n\n if (\n themeUpdateResponseData &&\n themeUpdateResponseData.statusCode === apiStatusCodes.SUCCESS2 &&\n otherDetailsResponseData &&\n otherDetailsResponseData.statusCode === apiStatusCodes.SUCCESS\n ) {\n yield put(\n checkoutAction.addCheckoutDetailsSuccess({\n isLoading: false,\n themeUpdateResponseData,\n message: '',\n })\n );\n } else if (\n (themeUpdateResponseData && themeUpdateResponseData.errorMessage) ||\n (otherDetailsResponseData && otherDetailsResponseData.errorMessage)\n ) {\n yield put(\n checkoutAction.addCheckoutDetailsError(\n themeUpdateResponseData.errorMessage\n ? themeUpdateResponseData.errorMessage\n : otherDetailsResponseData.errorMessage\n )\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n\n if (status !== 401) {\n yield put(\n checkoutAction.addCheckoutDetailsError(data.errorMessage)\n );\n }\n }\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* checkoutSaga() {\n yield takeLatest(FETCH_CHECKOUT_REQUEST, getEntityInfo);\n yield takeLatest(ADD_CHECKOUT_REQUEST, addCheckoutCustomization);\n}\n","// Library methods\n\n// Utils\nimport { POST, GET } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_CREATE_MERCHANT_ADJUSTMENTS,\n API_FETCH_MERCHANT_ADJUSTMENTS,\n API_GENERATE_ADJUSTMENT_REPORT,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as adjustmentsActions from './adjustments.actions';\n\n// Constants\nimport {\n FETCH_ADJUSTMENTS_REQUEST,\n GENERATE_ADJUSTMENT_REPORT_REQUEST,\n CREATE_ADJUSTMENT_REQUEST,\n} from './adjustments.constants';\nimport { toast } from 'react-toastify';\nimport moment from 'moment';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\nconst getRequestData = payload => {\n const request = {\n pageNo: payload.pageIndex || 1,\n pageSize: payload.pageSize || 10,\n // adjustmentCategory: ['INCORRECT_MDR'],\n };\n if (payload.createdOn) {\n request.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n\n if (payload.merchantIds && payload.merchantIds.length) {\n request.merchantIds = payload.merchantIds;\n }\n if (payload.adjustmentCategory && payload.adjustmentCategory.length) {\n request.adjustmentCategory = [payload.adjustmentCategory];\n }\n if (payload.adjustmentType && payload.adjustmentType.length) {\n request.adjustmentType = payload.adjustmentType;\n }\n if (payload.merchantCode) {\n if (request.merchantIds) {\n request.merchantIds.push(payload.merchantCode);\n } else {\n request.merchantIds = [payload.merchantCode];\n }\n }\n\n return request;\n};\n\nconst getRequestDataFile = payload => {\n const request = {};\n if (payload.createdOn) {\n request.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n\n if (payload.reportFileName) {\n request.reportFileName = payload.reportFileName;\n }\n if (payload.merchantIds && payload.merchantIds.length) {\n request.merchantIds = payload.merchantIds;\n }\n if (payload.adjustmentCategory && payload.adjustmentCategory.length) {\n request.adjustmentCategory = [payload.adjustmentCategory];\n }\n if (payload.adjustmentType && payload.adjustmentType.length) {\n request.adjustmentType = payload.adjustmentType;\n }\n if (payload.merchantCode) {\n request.merchantCode = payload.merchantCode;\n }\n\n return request;\n};\n\nexport function* fetchAdjustmentsDetails(actions) {\n yield put(adjustmentsActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestData(payload);\n const { data } = yield call(\n POST,\n API_FETCH_MERCHANT_ADJUSTMENTS,\n request\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(adjustmentsActions.fetchAdjustmentsSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n adjustmentsActions.fetchAdjustmentsError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n adjustmentsActions.fetchAdjustmentsError({\n error: data,\n })\n );\n }\n yield put(adjustmentsActions.hideLoader());\n}\n\nexport function* generateAdjustmentReport(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n\n const request = getRequestDataFile(payload);\n const { data } = yield call(\n POST,\n API_GENERATE_ADJUSTMENT_REPORT,\n request\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(adjustmentsActions.generateReportSuccess(data));\n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage || '';\n yield put(\n adjustmentsActions.generateReportError({\n error: errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data.errorMessage || '';\n yield put(\n adjustmentsActions.generateReportError({\n error: errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* createAdjustment(actions) {\n try {\n const { payload } = actions;\n const request = { ...payload };\n const { data } = yield call(\n POST,\n API_CREATE_MERCHANT_ADJUSTMENTS,\n request\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n adjustmentsActions.createAdjustmentSuccess({\n isLoading: false,\n data,\n message: '',\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n adjustmentsActions.createAdjustmentError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n\n if (status !== 401) {\n yield put(\n adjustmentsActions.createAdjustmentError({\n isLoading: false,\n message: data.errorMessage,\n })\n );\n }\n }\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* adjustmentsSaga() {\n yield takeLatest(FETCH_ADJUSTMENTS_REQUEST, fetchAdjustmentsDetails);\n yield takeLatest(CREATE_ADJUSTMENT_REQUEST, createAdjustment);\n yield takeLatest(\n GENERATE_ADJUSTMENT_REPORT_REQUEST,\n generateAdjustmentReport\n );\n}\n","// Library methods\n\n// Utils\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport { API_MERCHANT_UPDATE_STATUS } from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as merchantOnboardStatusActions from './MerchantOnboardStatus.actions';\n\n// Constants\nimport { FETCH_UPDATING_MERCHANT_REQUEST } from './MerchantOnboardStatus.constants';\n\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport moment from 'moment';\n\nexport function* fetchUpdatingMerchantsDetails(actions) {\n yield put(merchantOnboardStatusActions.showLoader());\n try {\n const { payload } = actions;\n \n\n const request = {\n paging: {\n pageNumber: payload.pageIndex || 1,\n pageSize: payload.pageSize || 10,\n },\n };\n\n if (payload.sectionType) {\n request.category = payload.sectionType;\n }\n\n if (payload.entityCode) {\n request.entityCode = payload.entityCode;\n }\n\n if (payload.state) {\n request.state = payload.state;\n }\n\n if (payload.updatedBy && payload.updatedBy.length > 0) {\n request.userId = payload.userEmailId;\n }\n\n if (payload.createdOn) {\n request.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n\n const { data } = yield call(POST, API_MERCHANT_UPDATE_STATUS, request);\n\n if (\n data &&\n (data.statusCode === apiStatusCodes.SUCCESS ||\n data.statusCode === apiStatusCodes.SUCCESS2)\n ) {\n yield put(\n merchantOnboardStatusActions.fetchUpdatingMerchantSuccess(data)\n );\n } else if (data && data.errorMessage) {\n yield put(\n merchantOnboardStatusActions.fetchUpdatingMerchantError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n\n yield put(\n merchantOnboardStatusActions.fetchUpdatingMerchantError({\n error: data,\n })\n );\n }\n yield put(merchantOnboardStatusActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* merchantOnboardStatusSaga() {\n yield takeLatest(\n FETCH_UPDATING_MERCHANT_REQUEST,\n fetchUpdatingMerchantsDetails\n );\n}\n","// Utils\nimport {\n API_INVOICE_LIST_DETAILS,\n API_INVOICE_GENERATE_REPORT,\n API_INVOICE_GENERATE_INVOICE,\n API_UPDATE_INVOICE_PAYMENT_STATUS,\n} from '../../../utils/API/apiUrls';\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport { downloadFile } from '../../../utils/helperMethods';\nimport * as invoiceActions from './invoice.actions';\n\n// Constants\nimport {\n DOWNLOAD_INVOICE_FILE_REQUEST,\n FETCH_INVOICE_LIST_REQUEST,\n GENERATE_REPORT_INVOICE_REQUEST,\n UPDATE_INVOICE_PAYMENT_STATUS_REQUEST,\n} from './invoice.constants';\n\n// Libs\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport moment from 'moment';\n\nexport function* fetchInvoiceDetails(actions) {\n yield put(invoiceActions.showLoader());\n try {\n const { payload } = actions;\n const res = {\n pageNo: payload.pageIndex,\n pageSize: payload.pageSize,\n };\n\n if (payload.merchantId) {\n res.merchantIds = [payload.merchantId];\n }\n\n if (payload.monthRange) {\n res.endDateTime = moment(payload.monthRange.upperDate, 'MM/YYYY')\n .endOf('month')\n .format('YYYY-MM-DD');\n\n res.startDateTime = moment(payload.monthRange.lowerDate, 'MM/YYYY')\n .startOf('month')\n .format('YYYY-MM-DD');\n }\n\n if (payload.paymentStatus) {\n res.paymentStatus = payload.paymentStatus;\n }\n\n if (payload.settlementType) {\n res.settlementType = payload.settlementType;\n }\n\n const { data } = yield call(POST, API_INVOICE_LIST_DETAILS, res);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(invoiceActions.fetchInvoiceDataSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n invoiceActions.fetchInvoiceDataError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(invoiceActions.fetchInvoiceDataError({ error: data }));\n }\n yield put(invoiceActions.hideLoader());\n}\n\nexport function* generateInvoiceReportRequest(actions) {\n yield put(invoiceActions.showLoader());\n try {\n const payload = {\n ...actions.payload,\n };\n\n const request = {\n reportFileName: payload.reportFileName,\n };\n\n if (payload.monthRange) {\n request.endDateTime = moment(\n payload.monthRange.upperDate,\n 'MM/YYYY'\n )\n .endOf('month')\n .format('YYYY-MM-DD');\n\n request.startDateTime = moment(\n payload.monthRange.lowerDate,\n 'MM/YYYY'\n )\n .startOf('month')\n .format('YYYY-MM-DD');\n }\n\n if (payload.merchantId) {\n request.merchantIds = [payload.merchantId];\n }\n\n const { data } = yield call(POST, API_INVOICE_GENERATE_REPORT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n invoiceActions.generateInvoiceReportSuccess({\n data,\n })\n );\n } else if (data && data.errorMessage) {\n yield put(\n invoiceActions.generateInvoiceReportError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(invoiceActions.generateInvoiceReportError({ error: data }));\n }\n yield put(invoiceActions.hideLoader());\n}\n\nexport function* generateInvoice(actions) {\n yield put(invoiceActions.showLoader());\n try {\n const payload = {\n ...actions.payload,\n };\n\n const { data } = yield call(\n POST,\n API_INVOICE_GENERATE_INVOICE,\n payload\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(invoiceActions.generateInvoiceReportSuccess({ data }));\n } else if (data && data.errorMessage) {\n yield put(\n invoiceActions.generateInvoiceError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(invoiceActions.generateInvoiceError({ error: data }));\n }\n yield put(invoiceActions.hideLoader());\n}\n\nexport function* updateInvoicePaymentStatus(actions) {\n try {\n const payload = {\n ...actions.payload,\n };\n\n const { data } = yield call(\n POST,\n API_UPDATE_INVOICE_PAYMENT_STATUS,\n payload\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n invoiceActions.updateInvoicePaymentStatusSuccess({ data })\n );\n } else if (data && data.errorMessage) {\n yield put(\n invoiceActions.updateInvoicePaymentStatusError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n invoiceActions.updateInvoicePaymentStatusError({ error: data })\n );\n }\n}\n\nexport function* InvoiceSaga() {\n yield takeLatest(FETCH_INVOICE_LIST_REQUEST, fetchInvoiceDetails);\n yield takeLatest(\n DOWNLOAD_INVOICE_FILE_REQUEST,\n generateInvoiceReportRequest\n );\n yield takeLatest(GENERATE_REPORT_INVOICE_REQUEST, generateInvoice);\n yield takeLatest(\n UPDATE_INVOICE_PAYMENT_STATUS_REQUEST,\n updateInvoicePaymentStatus\n );\n}\n","// Utils\nimport { API_FETCH_MAKER_LIST } from '../../../utils/API/apiUrls';\n\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as makerActions from './maker.actions';\n\n// constants\nimport { FETCH_MAKER_LIST_REQUEST } from './maker.constants';\n\n// Libs\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport moment from 'moment';\nimport { MOCK_API_VALUE } from 'utils/constants/commonValues';\nimport { makergetres } from 'mockApiWiseReqRes';\n\nexport function* fetchMakerDataList(actions) {\n yield put(makerActions.showLoader());\n try {\n const { payload } = actions;\n const res = {\n paging: {\n pageNumber: payload.pageIndex,\n pageSize: payload.pageSize,\n },\n };\n\n if (payload.createdOn) {\n res.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n res.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n delete res.createdOn;\n }\n\n let data;\n if (MOCK_API_VALUE) {\n data = makergetres();\n } else {\n const resp = yield call(POST, API_FETCH_MAKER_LIST, res);\n data = resp.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(makerActions.fetchMakerSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n makerActions.fetchMakerError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(makerActions.fetchMakerError({ error: data }));\n }\n yield put(makerActions.hideLoader());\n}\n\nexport function* MakerSaga() {\n yield takeLatest(FETCH_MAKER_LIST_REQUEST, fetchMakerDataList);\n}\n","// Utils\nimport {\n API_FETCH_BASIC_DATA,\n API_FORM_IN_PROCESS,\n API_SAVE_CONTINUE,\n API_SUBMIT_FORM,\n APT_CREATE_MLE,\n APT_FETCH_MLE_DETAILS,\n APT_FETCH_MLE_DETAILS_PINCODE,\n APT_FETCH_MLE_LIST,\n APT_UPDATE_MLE,\n} from '../../../utils/API/apiUrls';\n\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as merchantLegalEntityActions from './merchantLegalEntity.actions';\n\n// constants\nimport {\n CREATE_MERCHANT_LEGAL_ENTITY_REQUEST,\n EDIT_MERCHANT_LEGAL_ENTITY_REQUEST,\n FETCH_BASIC_FORM_DATA_PROCESS_V1,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_REQUEST,\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_REQUEST,\n FETCH_MERCHANT_LEGAL_ENTITY_REQUEST,\n FETCH_MLE_FORM_IN_PROCESS_REQUEST,\n SAVE_AND_CONTINUE_REQUEST_V1,\n SUBMIT_REQUEST_DATA_MLE,\n} from './merchantLegalEntity.constants';\n\n// Libs\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport moment from 'moment';\nimport { basicFormDataRes, mleDetailsres, saveAndContinueDetails, verifyBasicFormDataReq } from 'mockApiWiseReqRes';\nimport { FORM_TYPE, MOCK_API_VALUE } from 'utils/constants/commonValues';\nimport { BUSINESS_DETAILS_SAVE, FETCH_BASIC_FORMDATA_SUCCESS, OWNERSHIP_DETAILS_SAVE, VERIFY_BASIC_REQUEST } from 'mockApiWiseReqRes/mockApiWise.constants';\nimport * as loaderActions from 'redux/common/loader/loader.actions';\nimport { UBO_SECTION_TYPE } from 'components/Onboarding/Mle/UobTab/constant';\nimport { toast } from 'react-toastify';\nimport { ERROR_MESSAGES, SUCCESS_MESSAGES } from 'utils/constants/toastMessages';\nimport { FETCH_FORM_IN_PROCESS_REQUEST } from 'containers/MerchantOnboard/redux/merchantOnBoard.constants';\n\nexport function* fetchMerchantLegalEntityList(actions) {\n try {\n const { payload } = actions;\n const res = {\n pageNumber: payload.pageIndex,\n pageSize: payload.pageSize,\n entityType: 'MLE',\n sort: 'createdOn',\n merchantId: payload.merchantId,\n name: payload.name\n };\n if(payload?.enterprise_merchant){\n res.enterpriseMerchant = (payload?.enterprise_merchant == 'yes') ? true : false;\n }else{\n res.enterpriseMerchant = true;\n }\n if (payload.createdOn) {\n let startDateTime = moment(payload.createdOn.startDate)\n .format('YYYY-MM-DD');\n let endDateTime = moment(payload.createdOn.endDate)\n .format('YYYY-MM-DD');\n delete res.createdOn;\n\n res.createdOn = `btn:${startDateTime},${endDateTime}`;\n }\n\n const { data } = yield call(POST, APT_FETCH_MLE_LIST, res);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n merchantLegalEntityActions.fetchMerchantLegalEntitySuccess(data)\n );\n } else if (data && data.errorMessage) {\n console.log(data, \"datadata\")\n yield put(\n merchantLegalEntityActions.fetchMerchantLegalEntityFailure({\n error: data,\n })\n );\n }\n } catch (e) {\n const errorMessage = e?.response?.data?.errorMessage || \"\";\n yield put(\n merchantLegalEntityActions.fetchMerchantLegalEntityFailure({\n error: {errorMessage},\n })\n );\n }\n}\n\nexport function* createMerchantLegalEntity(actions) {\n try {\n const { payload } = actions;\n\n // console.log(\"i'm inside my saga and here are my details\", payload);\n\n const { data } = yield call(POST, APT_CREATE_MLE, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n merchantLegalEntityActions.createMerchantLegalEntitySuccess(\n data\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n merchantLegalEntityActions.createMerchantLegalEntityFailure({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n merchantLegalEntityActions.createMerchantLegalEntityFailure({\n error: data,\n })\n );\n }\n}\n\nexport function* fetchMerchantLegalEntityDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n// console.log(\"paylaod/////\", payload);\n const { data } = yield call(POST, APT_FETCH_MLE_DETAILS, payload);\n // console.log(\"data/////\", data);\n if (data && data.statusCode === apiStatusCodes.SUCCESS2) {\n // console.log(\"herere\", {...data, ...payload});\n yield put(\n merchantLegalEntityActions.fetchMerchantLegalEntityDetailsSuccess(\n {...data, ...payload}\n )\n );\n // console.log(\"sadfsafa\");\n } else if (data && data.errorMessage) {\n yield put(\n merchantLegalEntityActions.fetchMerchantLegalEntityDetailsFailure(\n {\n error: data,\n }\n )\n );\n }\n } catch (e) {\n const errorMessage = e?.message || \"\";\n yield put(\n merchantLegalEntityActions.fetchMerchantLegalEntityDetailsFailure({\n error: {errorMessage},\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n\n\nexport function* fetchMerchantLegalEntityDetailsPinCode(actions) {\n try {\n const { payload } = actions;\n\n const { data } = yield call(POST, APT_FETCH_MLE_DETAILS_PINCODE, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS2) {\n yield put(\n merchantLegalEntityActions.fetchMerchantLegalEntityDetailsPincodeSuccess(\n data\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n merchantLegalEntityActions.fetchMerchantLegalEntityDetailsPincodeFailure(\n {\n error: data,\n }\n )\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n merchantLegalEntityActions.fetchMerchantLegalEntityDetailsPincodeFailure({\n error: data,\n })\n );\n }\n}\n\n\nexport function* editMerchantLegalEntity(actions) {\n try {\n const { payload } = actions;\n let data = {};\n if (MOCK_API_VALUE) {\n data = mleDetailsres();\n } else {\n data = yield call(POST, APT_UPDATE_MLE, payload).data;\n }\n \n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n merchantLegalEntityActions.editMerchantLegalEntitySuccess(data)\n );\n } else if (data && data.errorMessage) {\n yield put(\n merchantLegalEntityActions.editMerchantLegalEntityFailure({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n\n yield put(\n merchantLegalEntityActions.editMerchantLegalEntityFailure({\n error: data,\n })\n );\n }\n}\n\nexport function* fetchBasicFormData(payload) {\n console.log(\"called fetch basic data...\", payload);\n let data = {};\n try {\n if (MOCK_API_VALUE) {\n // console.log(\"fetch api called\");\n\n // let payloadError = verifyBasicFormDataReq(VERIFY_BASIC_REQUEST, payload.payload);\n // console.log(\"payload errors\", payloadError);\n data = basicFormDataRes(FETCH_BASIC_FORMDATA_SUCCESS);\n \n } else {\n // console.log(\"I am here....\");\n // console.log(\"whhhhaaatt\");\n const resp = yield call(POST, API_FETCH_BASIC_DATA, payload?.payload);\n // console.log(\"respppp\", resp);\n data = resp.data;\n }\n // console.log(\"data..!!!!.\", data);\n if (data?.statusCode == apiStatusCodes.SUCCESS2 || data?.statusCode == apiStatusCodes.SUCCESS) {\n // console.log(\"called success\");\n yield put(merchantLegalEntityActions.fetchBasicFormDataSuccess(data));\n } else {\n yield put(merchantLegalEntityActions.fetchBasicFormDataFailure({errorMessage: data?.errorMessage}));\n }\n } catch(e) {\n console.log(\"error message\", e?.message);\n data = {errorMessage: e?.message || \"\"};\n yield put (merchantLegalEntityActions.fetchBasicFormDataFailure(data));\n }\n}\n\nfunction* saveAndContinueRequestV1({payload}) {\n yield put(loaderActions.showLoader());\n let data = {};\n try {\n console.log(\"saveAndContinueRequestV1 check payload\", payload);\n if (MOCK_API_VALUE) {\n let type = BUSINESS_DETAILS_SAVE;\n \n if (payload?.sectionType === UBO_SECTION_TYPE) {\n type = OWNERSHIP_DETAILS_SAVE;\n }\n console.log(\"fetch api called\");\n data = saveAndContinueDetails(type);\n \n } else {\n const resp = yield call(POST, API_SAVE_CONTINUE, payload);\n data = resp.data;\n }\n console.log(\"data...\", data);\n if (data?.statusCode == apiStatusCodes.SUCCESS) {\n toast.success(SUCCESS_MESSAGES.MLE_UPDATED)\n yield put(merchantLegalEntityActions.saveAndContinueSuccessV1({...data, isSubmit: false}, payload?.sectionType));\n } else {\n toast.error(data.errorMessage);\n yield put(merchantLegalEntityActions.saveAndContinueFailedV1({errorMessage: data?.errorMessage}));\n }\n } catch(e) {\n console.log(\"eeeee\", e);\n data = {errorMessage: e?.message || \"\"};\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n yield put (merchantLegalEntityActions.saveAndContinueFailedV1(data));\n }\n yield put(loaderActions.hideLoader());\n}\n\nfunction* submitRequestV1({payload}) {\n yield put(loaderActions.showLoader());\n let data = {};\n try {\n let uniqueIdentifier = payload?.uniqueIdentifier;\n let formType = payload?.formType;\n let finalSubmitPayload = {\n uniqueIdentifier,\n formType\n };\n const resp1 = yield call(POST, API_SUBMIT_FORM, finalSubmitPayload);\n let data1 = resp1.data;\n if (data1?.statusCode == apiStatusCodes.SUCCESS) {\n // toast.success(SUCCESS_MESSAGES.MLE_SUCCESS)\n console.log(\"called submit\");\n yield put(merchantLegalEntityActions.submitSuccessMLE({ isSubmit: true }, payload?.sectionType));\n } else {\n toast.error(data1.errorMessage);\n yield put(merchantLegalEntityActions.submitFailureMle({ isSubmit: false }, payload?.sectionType));\n }\n } catch(e) {\n data = {errorMessage: e?.message || \"\"};\n toast.error(ERROR_MESSAGES.FALLBACK_ERROR);\n yield put (merchantLegalEntityActions.submitFailureMle(data));\n }\n yield put(loaderActions.hideLoader());\n}\n\n\nexport function* fetchFormInProcessDetails() {\n // console.log(\"fetchFormInProcessDetails\")\n yield put(loaderActions.showLoader());\n try {\n const request = {\n formType: FORM_TYPE.MLE_ON_BOARD,\n };\n const { data } = yield call(POST, API_FORM_IN_PROCESS, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(merchantLegalEntityActions.fetchMLEFormInProcessSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n merchantLegalEntityActions.fetchMLEFormInProcessError({\n error: data,\n })\n );\n }\n } catch (e) {\n const data = {errorMessage: e?.message, statusCode: '400'};\n yield put(merchantLegalEntityActions.fetchMLEFormInProcessError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* merchantLegalEntitySaga() {\n yield takeLatest(\n FETCH_MERCHANT_LEGAL_ENTITY_REQUEST,\n fetchMerchantLegalEntityList\n );\n yield takeLatest(\n CREATE_MERCHANT_LEGAL_ENTITY_REQUEST,\n createMerchantLegalEntity\n );\n yield takeLatest(\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_REQUEST,\n fetchMerchantLegalEntityDetails\n );\n\n yield takeLatest(\n FETCH_MERCHANT_LEGAL_ENTITY_DETAILS_PINCODE_REQUEST,\n fetchMerchantLegalEntityDetailsPinCode\n );\n\n yield takeLatest(\n EDIT_MERCHANT_LEGAL_ENTITY_REQUEST,\n editMerchantLegalEntity\n );\n\n yield takeLatest(\n FETCH_BASIC_FORM_DATA_PROCESS_V1,\n fetchBasicFormData\n );\n\n yield takeLatest(SAVE_AND_CONTINUE_REQUEST_V1, saveAndContinueRequestV1);\n\n yield takeLatest(FETCH_MLE_FORM_IN_PROCESS_REQUEST, fetchFormInProcessDetails);\n\n yield takeLatest(SUBMIT_REQUEST_DATA_MLE, submitRequestV1);\n}\n","// Utils\nimport { API_FETCH_CHECKER_LIST } from '../../../utils/API/apiUrls';\n\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as checkerActions from './checker.actions';\n\n// constants\nimport { FETCH_CHECKER_LIST_REQUEST } from './checker.constants';\n\n// Libs\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport moment from 'moment';\n\nexport function* fetchCheckerDataList(actions) {\n yield put(checkerActions.showLoader());\n try {\n const { payload } = actions;\n const res = {\n paging: {\n pageNumber: payload.pageIndex,\n pageSize: payload.pageSize,\n },\n };\n\n if (payload.createdOn) {\n res.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n res.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n delete res.createdOn;\n }\n\n if (payload.eventType) {\n res.eventType = payload.eventType;\n }\n\n if (payload.idempotencyId) {\n res.idempotencyId = payload.idempotencyId;\n }\n\n const { data } = yield call(POST, API_FETCH_CHECKER_LIST, res);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(checkerActions.fetchCheckerSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n checkerActions.fetchCheckerError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(checkerActions.fetchCheckerError({ error: data }));\n }\n yield put(checkerActions.hideLoader());\n}\n\nexport function* CheckerSaga() {\n yield takeLatest(FETCH_CHECKER_LIST_REQUEST, fetchCheckerDataList);\n}\n","// helpers\nimport { getRequestData } from 'utils/helperMethods';\nimport {\n API_DOWNLOAD_REPORT,\n API_FETCH_MANDATES,\n API_FETCH_MANDATE_TRANSACTIONS,\n API_GENERATE_REPORT,\n API_GET_ACTIVE_REPORT_MANDATE,\n API_UPDATE_MANDATE,\n} from 'utils/API/apiUrls';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { GET, POST } from 'utils/fetchWrappers';\n\n// Actions\nimport { SUCCESS_MESSAGES } from 'utils/constants/toastMessages';\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as mandateActions from './mandates.actions';\n\n// Constant\nimport {\n DOWNLOAD_MANDATE_REPORT_REQUEST,\n FETCH_MANDATES_LIST_REQUEST,\n FETCH_MANDATE_TRANSACTION_LIST_REQUEST,\n GENERATE_MANDATE_REPORT_REQUEST,\n GET_ACTIVE_MANDATE_REPORT_REQUEST,\n UPDATE_MANDATE_STATUS_REQUEST,\n} from './mandates.constant';\n\n// Libs\nimport { call, put, takeLatest } from 'redux-saga/effects';\nimport { toast } from 'react-toastify';\n\nexport function* fetchMandateList(actions) {\n yield put(mandateActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestData(payload);\n const { data } = yield call(POST, API_FETCH_MANDATES, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(mandateActions.fetchMandatesSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n mandateActions.fetchMandatesError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n mandateActions.fetchMandatesError({\n error: data,\n })\n );\n }\n yield put(mandateActions.hideLoader());\n}\n\nexport function* fetchMandateTransactionList(actions) {\n // yield put(mandateActions.showLoader());\n try {\n const { payload } = actions;\n\n const request = {\n subscriptionId: payload.referenceId,\n paginationDetails: {\n pageNo: payload.pageNo,\n pageSize: payload.pageSize,\n },\n };\n const { data } = yield call(\n POST,\n API_FETCH_MANDATE_TRANSACTIONS,\n request\n );\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(mandateActions.fetchMandatesTransactionListSuccess(data));\n } else if (data && data.errorMessage) {\n if (payload.pageNo <= 1) {\n yield put(\n mandateActions.fetchMandatesTransactionListError({\n error: data,\n })\n );\n }\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n mandateActions.fetchMandatesTransactionListError({\n error: data,\n })\n );\n }\n // yield put(mandateActions.hideLoader());\n}\n\nexport function* updateMandateStatus(actions) {\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_UPDATE_MANDATE, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n toast.success(SUCCESS_MESSAGES.MANDATE_STATUS_UPDATE_SUCCESS);\n yield put(mandateActions.updateMandateStatusSuccess(data));\n } else if (data && data.errorMessage) {\n if (data.errorMessage) {\n toast.error(data.errorMessage);\n }\n yield put(\n mandateActions.fetchMandatesTransactionListError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n if (data.errorMessage) {\n toast.error(data.errorMessage);\n }\n yield put(\n mandateActions.fetchMandatesTransactionListError({\n error: data,\n })\n );\n }\n}\n\nexport function* generateMandateReport(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n let request = {};\n\n request = getRequestData(payload, true);\n\n request.reportType = 'MANDATES';\n\n if (request.merchantCodes) {\n request.merchantIds = request.merchantCodes;\n delete request.merchantCodes;\n }\n\n const { data } = yield call(POST, API_GENERATE_REPORT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(mandateActions.generateMandateReportSuccess(data));\n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage || '';\n yield put(\n mandateActions.generateMandateReportError({\n error: errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data.errorMessage || '';\n yield put(\n mandateActions.generateMandateReportError({\n error: errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* getActiveMandateReportDetails(actions) {\n const { hideLoader } = actions;\n if (!hideLoader) {\n yield put(loaderActions.showLoader());\n }\n try {\n const { data } = yield call(POST, API_GET_ACTIVE_REPORT_MANDATE, {\n reportType: 'MANDATES',\n });\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(mandateActions.getActiveMandateReportSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n mandateActions.getActiveMandateReportError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n\n yield put(\n mandateActions.getActiveMandateReportError({\n error: data,\n })\n );\n }\n if (!hideLoader) {\n yield put(loaderActions.hideLoader());\n }\n}\n\nexport function* downloadMandateReportRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n requestId: payload.requestId,\n reportType: 'MANDATES',\n };\n const { data } = yield call(POST, API_DOWNLOAD_REPORT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n mandateActions.downloadMandateReportSuccess(data.fileUrl)\n );\n if (data.fileUrl) {\n const link = document.createElement('a');\n link.href = data.fileUrl;\n link.target = '_blank';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n } else if (data && data.errorMessage) {\n yield put(\n mandateActions.downloadMandateReportError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n mandateActions.downloadMandateReportError({\n error: data,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* mandateSaga() {\n yield takeLatest(FETCH_MANDATES_LIST_REQUEST, fetchMandateList);\n yield takeLatest(\n FETCH_MANDATE_TRANSACTION_LIST_REQUEST,\n fetchMandateTransactionList\n );\n yield takeLatest(UPDATE_MANDATE_STATUS_REQUEST, updateMandateStatus);\n yield takeLatest(GENERATE_MANDATE_REPORT_REQUEST, generateMandateReport);\n yield takeLatest(\n GET_ACTIVE_MANDATE_REPORT_REQUEST,\n getActiveMandateReportDetails\n );\n yield takeLatest(\n DOWNLOAD_MANDATE_REPORT_REQUEST,\n downloadMandateReportRequest\n );\n}\n","// libs\n// Utils\nimport {\n API_FETCH_CHAREGEBACK_DETAILS,\n API_FETCH_CHARGEBACK_DATA,\n API_VALIDATE_CHARGEBACK,\n API_RAISE_CHARGEBACK,\n API_CHARGEBACK_AGENT_ACTION,\n API_CHARGEBACK_MERCHANT_ACTION,\n API_GENERATE_REPORT,\n API_GET_ACTIVE_REPORT_CHARGEBACK,\n API_DOWNLOAD_REPORT,\n API_REFUND_DISPUTE,\n API_CHECK_DISPUTE_STATUS\n} from 'utils/API/apiUrls';\n\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { POST, GET } from '../../../utils/fetchWrappers';\n\n\n\n// actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport * as chargebackActions from './chargeback.actions';\n\n// constants\nimport {\n CHARGEBACK_AGENT_ACTION_REQUEST,\n FETCH_CHARGEBACK_DATA_REQUEST,\n FETCH_CHARGEBACK_DETAILS_REQUEST,\n RAISE_CHARGEBACK_REQUEST,\n VALIDATE_CHARGEBACK_REQUEST,\n CHARGEBACK_MERCHANT_ACTION_REQUEST,\n GENERATE_CHARGEBACK_REPORT_REQUEST,\n GET_ACTIVE_CHARGEBACK_REPORT_REQUEST,\n DOWNLOAD_CHARGEBACK_REPORT_REQUEST,\n REFUND_DISPUTE_REQUEST,\n CHECK_DISPUTE_STATUS_REQUEST\n} from './chargeback.constants';\nimport moment from 'moment';\n\n// Libs\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport { toast } from 'react-toastify';\n\nexport function* fetchChargeBackList(actions) {\n //console.log(\"🚀 ~ function*fetchChargeBackList ~ actions:\", actions)\n try {\n const { payload } = actions;\n let request = {\n paginationDetails: {\n pageNo: payload.pageNumber,\n pageSize: payload.pageSize,\n },\n };\n\n if (payload.filterData) {\n request = { ...request, ...payload.filterData };\n request.startDate = moment(request.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDate = moment(request.endDate)\n .startOf('day')\n .format('YYYY-MM-DD 23:59:59');\n\n if (payload.filterData.search) {\n request.criteria = {};\n if (payload.filterData.search.startsWith('CB')) {\n request.criteria = {\n type: 'CHARGEBACK_ID',\n identifier: payload.filterData.search,\n };\n } else {\n request.criteria = {\n identifier: payload.filterData.search,\n };\n }\n }\n }\n\n const { data } = yield call(POST, API_FETCH_CHARGEBACK_DATA, request);\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n //console.log(\"data\",data,data.statusCode,apiStatusCodes.SUCCESS);\n yield put(chargebackActions.fetchChargeBackDataSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n chargebackActions.fetchChargeBackDataFailure({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n chargebackActions.fetchChargeBackDataFailure({\n error: data,\n })\n );\n }\n}\n\nexport function* fetchChargeBackDetails(actions) {\n try {\n const { type, payload } = actions;\n //console.log(\"🚀 ~ function*fetchChargeBackDetails ~ payload:\", payload)\n const { data } = yield call(\n POST,\n API_FETCH_CHAREGEBACK_DETAILS,\n payload\n );\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(chargebackActions.fetchChargeBackDetailsSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n chargebackActions.fetchChargeBackDetailsFailure({\n error: data,\n })\n );\n }\n } catch (response) {\n const { data } = response;\n yield put(\n chargebackActions.fetchChargeBackDetailsFailure({\n error: data,\n })\n );\n }\n}\n\n\nexport function* validateChargeBack(actions) {\n try {\n const { payload } = actions;\n\n const { data } = yield call(POST, API_VALIDATE_CHARGEBACK, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(chargebackActions.validateChargeBackSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n chargebackActions.validateChargeBackFailure({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n chargebackActions.validateChargeBackFailure({\n error: data,\n })\n );\n }\n}\n\nexport function* raiseChargeBack(actions) {\n try {\n const { payload } = actions;\n\n const requestData = { ...payload };\n\n requestData.reportedDate = moment(payload.reportedDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n\n const formdata = new FormData();\n\n const files = requestData.files || [];\n delete requestData.files;\n\n const dtoObject = new Blob(\n [\n JSON.stringify({\n ...requestData,\n }),\n ],\n {\n type: 'application/json',\n }\n );\n\n formdata.append('data', dtoObject, '');\n\n files.forEach(file => {\n formdata.append('file', file);\n });\n\n const { data } = yield call(\n POST,\n API_RAISE_CHARGEBACK,\n formdata,\n {\n 'Content-Type': 'multipart/form-data',\n },\n true\n );\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n toast.success(\n `Chargeback Rasied Successfully! ${files.length} files uploaded!`\n );\n yield put(chargebackActions.raiseChargeBackSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n chargebackActions.raiseChargeBackFailure({\n error: data,\n })\n );\n }\n } catch (response) {\n const { data } = response;\n yield put(\n chargebackActions.raiseChargeBackFailure({\n error: data,\n })\n );\n }\n}\n\nexport function* chargebackAgentAction(actions) {\n try {\n const { payload } = actions;\n\n const formdata = new FormData();\n\n const dtoObject = new Blob(\n [\n JSON.stringify({\n ...payload.details,\n }),\n ],\n {\n type: 'application/json',\n }\n );\n\n formdata.append('data', dtoObject, '');\n\n if (payload.files && payload.files.length > 0) {\n payload.files.forEach(file => {\n formdata.append('file', file);\n });\n }\n\n const { data } = yield call(\n POST,\n API_CHARGEBACK_AGENT_ACTION,\n formdata,\n {\n 'Content-Type': 'multipart/form-data',\n },\n true\n );\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(chargebackActions.chargeBackAgentActionSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n chargebackActions.chargeBackAgentActionFailure({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n chargebackActions.chargeBackAgentActionFailure({\n error: data,\n })\n );\n }\n}\n\nexport function* chargebackMerchantAction(actions) {\n try {\n const { payload } = actions;\n\n const formdata = new FormData();\n\n const dtoObject = new Blob(\n [\n JSON.stringify({\n ...payload.details,\n }),\n ],\n {\n type: 'application/json',\n }\n );\n\n formdata.append('data', dtoObject, '');\n\n if (payload.files && payload.files.length > 0) {\n payload.files.forEach(file => {\n formdata.append('file', file);\n });\n }\n\n const { data } = yield call(\n POST,\n API_CHARGEBACK_MERCHANT_ACTION,\n formdata,\n {\n 'Content-Type': 'multipart/form-data',\n },\n true\n );\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(chargebackActions.chargeBackMerchantActionSuccess(data));\n } else if (data && data.errorMessage) {\n toast.error(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n toast.error(data.errorMessage);\n yield put(\n chargebackActions.chargeBackMerchantActionFailure({\n error: data,\n })\n );\n }\n}\n\nexport function* generateChargebackReport(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = { ...payload };\n\n if (payload.startDate && payload.endDate) {\n request.startDateTime = moment(request.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(request.endDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n\n delete request.startDate;\n delete request.endDate;\n }\n\n request.reportType = 'CB_REPORT';\n\n if (payload.search) {\n request.criteria = {};\n if (payload.search.startsWith('CB')) {\n request.referenceId = payload.search;\n request.cbIdentifierType = 'CHARGEBACK_ID';\n } else {\n request.referenceId = payload.search;\n }\n\n delete request.search;\n delete request.criteria;\n }\n\n if (payload.paymentType) {\n request.transactionModes = payload.paymentType;\n delete payload.paymentType;\n delete request.paymentType;\n }\n\n const { data } = yield call(POST, API_GENERATE_REPORT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n toast.success(\n `${payload.reportFileName} is in process, please check status after some time`\n );\n yield put(chargebackActions.generateChargebackReportSuccess(data));\n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage || '';\n yield put(\n chargebackActions.generateChargebackReportError({\n error: errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n } catch (response) {\n const { data } = response;\n const errorMessage = data.errorMessage || '';\n yield put(\n chargebackActions.generateChargebackReportError({\n error: errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* getActiveChargebackReportDetails(actions) {\n const { hideLoader } = actions;\n if (!hideLoader) {\n yield put(loaderActions.showLoader());\n }\n try {\n const { data } = yield call(POST, API_GET_ACTIVE_REPORT_CHARGEBACK, {\n reportType: 'CB_REPORT',\n });\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(chargebackActions.getActiveChargebackReportSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n chargebackActions.getActiveChargebackReportError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n\n yield put(\n chargebackActions.getActiveChargebackReportError({\n error: data,\n })\n );\n }\n if (!hideLoader) {\n yield put(loaderActions.hideLoader());\n }\n}\n\nexport function* downloadChargebackReportRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n requestId: payload.requestId,\n reportType: 'CB_REPORT',\n };\n const { data } = yield call(POST, API_DOWNLOAD_REPORT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n chargebackActions.downloadChargebackReportSuccess(data.fileUrl)\n );\n if (data.fileUrl) {\n const link = document.createElement('a');\n link.href = data.fileUrl;\n link.target = '_blank';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n } else if (data && data.errorMessage) {\n yield put(\n chargebackActions.downloadChargebackReportError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n chargebackActions.downloadChargebackReportError({\n error: data,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* checkDisputeStatus(actions) {\n try {\n const { payload } = actions;\n\n // let data = {\n // statusCode: 'SPG-0000',\n // status: 'CLOSED',\n // errorMessage: '',\n // };\n\n const { data } = yield call(POST, API_CHECK_DISPUTE_STATUS, payload);\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(chargebackActions.fetchDisputeStatusSuccess(data));\n toast.success('Dispute status updated successfully!!');\n } else if (data && data.errorMessage) {\n yield put(\n chargebackActions.fetchDisputeStatusFailure({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n\n toast.error(\n data.errorMessage ? data.errorMessage : 'Something went wrong!!'\n );\n\n yield put(\n chargebackActions.fetchDisputeStatusFailure({\n error: data,\n })\n );\n }\n}\n\nexport function* refundDispute(actions) {\n try {\n const { payload } = actions;\n\n //console.log(payload, \"consoling payload\");\n\n const { data } = yield call(POST, API_REFUND_DISPUTE, payload);\n\n if (data) {\n if (data.statusCode === apiStatusCodes.SUCCESS) {\n //console.log(data, \"consoling inside success if\");\n yield put(chargebackActions.fetchRefundDisputeSuccess(data));\n toast.success('Dispute update was successful!!');\n } else if (data.errorMessage || data.statusMessage) {\n // Consider using both `errorMessage` and `statusMessage`\n //console.log(data, \"consoling inside error if\");\n yield put(\n chargebackActions.fetchRefundDisputeFailure({\n error: data.errorMessage || data.statusMessage || 'Unknown error occurred',\n })\n );\n toast.error(data.errorMessage || data.statusMessage || 'Something went wrong!!');\n } \n }\n } \n catch (error) {\n // Use error.response if available, otherwise fall back to error.message\n const errorMessage = error.response?.data?.errorMessage || error.message || 'Something went wrong!!';\n toast.error(errorMessage);\n yield put(\n chargebackActions.fetchRefundDisputeFailure({\n error: error.response?.data || error.message,\n })\n );\n }\n}\n\n\n\n\n// Update dispute \n// export function* refundDispute(actions) {\n// try {\n// const { payload } = actions;\n\n// console.log(payload ,\" consoling payload\");\n\n// const { data } = yield call(POST, API_REFUND_DISPUTE, payload);\n\n// if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n// console.log(data, \"consoling inside if\");\n// yield put(chargebackActions.fetchRefundDisputeSuccess(data));\n// toast.success('Dispute update was successfull!!');\n// } else if (data && data.errorMessage) {\n// console.log(data, \"consoling inside else if\");\n// yield put(\n// chargebackActions.fetchRefundDisputeFailure({\n// error: data.errorMessage,\n// })\n// );\n// }\n// } \n// catch ({ response }) {\n// const { data } = response;\n// toast.error(\n// data.errorMessage ? data.errorMessage : 'Something went wrong!!'\n// );\n// yield put(\n// chargebackActions.fetchRefundDisputeFailure({\n// error: data,\n// })\n// );\n// }\n// }\n\n/**\n * WATCHER SAGA\n */\nexport function* chargeBackSaga() {\n yield takeLatest(FETCH_CHARGEBACK_DATA_REQUEST, fetchChargeBackList);\n yield takeLatest(FETCH_CHARGEBACK_DETAILS_REQUEST, fetchChargeBackDetails);\n yield takeLatest(VALIDATE_CHARGEBACK_REQUEST, validateChargeBack);\n yield takeLatest(RAISE_CHARGEBACK_REQUEST, raiseChargeBack);\n yield takeLatest(CHARGEBACK_AGENT_ACTION_REQUEST, chargebackAgentAction);\n yield takeLatest(\n CHARGEBACK_MERCHANT_ACTION_REQUEST,\n chargebackMerchantAction\n );\n yield takeLatest(\n GENERATE_CHARGEBACK_REPORT_REQUEST,\n generateChargebackReport\n );\n yield takeLatest(\n GET_ACTIVE_CHARGEBACK_REPORT_REQUEST,\n getActiveChargebackReportDetails\n );\n yield takeLatest(\n DOWNLOAD_CHARGEBACK_REPORT_REQUEST,\n downloadChargebackReportRequest\n );\n yield takeLatest(CHECK_DISPUTE_STATUS_REQUEST, checkDisputeStatus);\n yield takeLatest(REFUND_DISPUTE_REQUEST, refundDispute);\n}\n","import { call, put, takeLatest } from 'redux-saga/effects';\nimport moment from 'moment';\n\nimport {\n API_CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP,\n API_DOWNLOAD_REPORT,\n API_FETCH_BASIC_DATA,\n API_FETCH_PAYMENT_GATEWAY_CREDENTIAL,\n API_FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA,\n API_GENERATE_REPORT,\n API_GET_ACTIVE_REPORTS,\n API_UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP,\n} from 'utils/API/apiUrls';\n\nimport * as paymentGatewayCredentialActions from './paymentGatewayCredentials.actions';\nimport { POST } from 'utils/fetchWrappers';\n\nimport {\n CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST,\n DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n FETCH_FORM_DATA_PRICING_SECTION_REQUEST,\n FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_REQUEST,\n FETCH_PAYMENT_GATEWAY_CREDENTIALS_REQUEST,\n GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST,\n} from './paymentGatewayCredentials.constants';\nimport { apiStatusCodes } from 'utils/API/apiStatusCodes';\nimport { toast } from 'react-toastify';\nimport { REPORT_TYPE_ENUM } from 'utils/constants/commonValues';\nimport { SECTION_TYPE_TO_URL_MAP } from '../constants';\nimport * as loaderActions from 'redux/common/loader/loader.actions';\n// import { hideLoader } from 'redux/common/loader/loader.actions';\n\nconst getRequestData = (payload, isListFetchData) => {\n let request = {};\n if (isListFetchData) {\n request = {\n pageNo: payload.pageIndex || 1,\n pageLimit: payload.pageSize || 10,\n };\n }\n if (payload.createdOn) {\n request.startDateTime = moment(payload.createdOn.startDate)\n .startOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n request.endDateTime = moment(payload.createdOn.endDate)\n .endOf('day')\n .format('YYYY-MM-DD HH:mm:ss');\n }\n if (payload.pgName) {\n request.pgName = [payload.pgName];\n }\n if (payload.paymentMode) {\n request.paymentMode = [payload.paymentMode];\n }\n if (payload.category) {\n request.category = [payload.category];\n }\n if (payload.mcc) {\n request.mcc = [payload.mcc];\n }\n if (payload.credentialId) {\n request.credentialId = payload.credentialId;\n }\n if (payload.reportFileName) {\n request.reportFileName = payload.reportFileName;\n }\n if (payload.reportType) {\n request.reportType = payload.reportType;\n }\n return request;\n};\n\nexport function* fetchPaymentGatewayCredentials(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n\n const request = getRequestData(payload, true);\n\n const { data } = yield call(\n POST,\n API_FETCH_PAYMENT_GATEWAY_CREDENTIAL,\n request\n );\n\n if (data) {\n yield put(\n paymentGatewayCredentialActions.fetchPayementGatewayCredentialsSuccess(\n data\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n paymentGatewayCredentialActions.fetchPayementGatewayCredentialsFailure(\n {\n error: data,\n }\n )\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n paymentGatewayCredentialActions.fetchPayementGatewayCredentialsFailure(\n { error: data }\n )\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* generatePaymentGatewayCredentialReport(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n let request = {};\n request = getRequestData(payload);\n const { data } = yield call(POST, API_GENERATE_REPORT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n paymentGatewayCredentialActions.generatePaymentGatewayCredentialReportSuccess(\n data\n )\n );\n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage || '';\n yield put(\n paymentGatewayCredentialActions.generatePaymentGatewayCredentialReportError(\n {\n error: errorMessage || '',\n }\n )\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data.errorMessage || '';\n yield put(\n paymentGatewayCredentialActions.generatePaymentGatewayCredentialReportError(\n {\n error: errorMessage || '',\n }\n )\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* getActivePaymentGatewayCredentialReportDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { data } = yield call(POST, API_GET_ACTIVE_REPORTS, {\n reportType: REPORT_TYPE_ENUM.PG_MID_REPORT,\n });\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n paymentGatewayCredentialActions.getActivePaymentGatewayCredentialReportSuccess(\n data\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n paymentGatewayCredentialActions.getActivePaymentGatewayCredentialReportError(\n {\n error: data,\n }\n )\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n paymentGatewayCredentialActions.getActivePaymentGatewayCredentialReportError(\n {\n error: data,\n }\n )\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* downloadPaymentGatewayCredentialReportRequest(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n requestId: payload.requestId,\n reportType: REPORT_TYPE_ENUM.PG_MID_REPORT,\n };\n const { data } = yield call(POST, API_DOWNLOAD_REPORT, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n paymentGatewayCredentialActions.downloadPaymentGatewayCredentialReportSuccess(\n data.fileUrl\n )\n );\n if (data.fileUrl) {\n const link = document.createElement('a');\n link.href = data.fileUrl;\n link.target = '_blank';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n } else if (data && data.errorMessage) {\n yield put(\n paymentGatewayCredentialActions.downloadPaymentGatewayCredentialReportError(\n {\n error: data.errorMessage,\n }\n )\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n paymentGatewayCredentialActions.downloadPaymentGatewayCredentialReportError(\n {\n error: data,\n }\n )\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* createPaymentGatewayCredentialStep(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType, formSectionData } = actions;\n console.log(formSectionData, payload, \"payloadpayload\");\n\n // console.log(\"createPaymentGatewayCredentialStep\", payload, sectionType, formSectionData);\n const resp = yield call(\n POST,\n API_CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP(\n SECTION_TYPE_TO_URL_MAP[sectionType]\n ),\n payload\n );\n const {data} =resp;\n // console.log(\"API_CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP data\", resp);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n paymentGatewayCredentialActions.createPaymentGatewayCredentialStepSuccess(\n data,\n sectionType,\n payload,\n formSectionData\n )\n );\n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage ;\n yield put(\n paymentGatewayCredentialActions.createPaymentGatewayCredentialStepError(\n {\n error: data.errorMessage || '',\n },\n sectionType\n )\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n } catch (response) {\n const errorMessage = response.message || '';\n yield put(\n paymentGatewayCredentialActions.createPaymentGatewayCredentialStepError(\n {\n error: errorMessage || '',\n },\n actions.sectionType\n )\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchPaymentGatewayCredentialData(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(\n POST,\n API_FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA,\n payload\n );\n // TODO: add apiStatus check as well\n if (data) {\n yield put(\n paymentGatewayCredentialActions.fetchPaymentGatewayCredentialDataSuccess(\n data\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n paymentGatewayCredentialActions.fetchPaymentGatewayCredentialDataError(\n {\n error: data,\n }\n )\n );\n }\n } catch (response) {\n const { data } = response;\n yield put(\n paymentGatewayCredentialActions.fetchPaymentGatewayCredentialDataError(\n { error: data }\n )\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updatePaymentGatewayCredentialStep(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, sectionType, formSectionData } = actions;\n // console.log(\"123\");\n // console.log(\"payload\", payload);\n // console.log(\"formSectionData\", formSectionData);\n let actionType = '';\n if (formSectionData?.actionType) {\n actionType = formSectionData.actionType;\n delete formSectionData.actionType;\n }\n\n const resp = yield call(\n POST,\n //API_CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP(\n API_UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP(\n SECTION_TYPE_TO_URL_MAP[sectionType]\n ),\n payload\n );\n const {data} = resp;\n // console.log(\"data\",resp);\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n if (actionType === 'create') {\n yield put(\n paymentGatewayCredentialActions.createPaymentGatewayCredentialStepSuccess(\n data,\n sectionType,\n payload,\n formSectionData\n )\n );\n } else {\n yield put(\n paymentGatewayCredentialActions.updatePaymentGatewayCredentialStepSuccess(\n data,\n sectionType,\n formSectionData\n )\n );\n }\n\n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage ;\n yield put(\n paymentGatewayCredentialActions.updatePaymentGatewayCredentialStepError(\n {\n error: data.errorMessage || '',\n }\n )\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n\n }\n }\n\n catch (response) {\n\n const errorMessage = response.message || '';\n yield put(\n paymentGatewayCredentialActions.updatePaymentGatewayCredentialStepError(\n {\n error: errorMessage || '',\n }\n )\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n\n }\n yield put(loaderActions.hideLoader());\n}\n\nfunction* fetchFormDataPricingSectionRequest(payload) {\n yield put(loaderActions.showLoader());\n try {\n const resp = yield call(\n POST,\n API_FETCH_BASIC_DATA,\n payload\n );\n const {data} = resp;\n console.log(\"data\",resp);\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n\n yield put(\n paymentGatewayCredentialActions.fetchFormDataPricingSectionSuccess(\n data\n )\n );\n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage ;\n yield put(\n paymentGatewayCredentialActions.fetchFormDataPricingSectionFailed(\n {\n error: data.errorMessage || '',\n }\n )\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n\n }\n } catch(e) {\n const errorMessage = e.message || '';\n yield put(\n paymentGatewayCredentialActions.updatePaymentGatewayCredentialStepError(\n {\n error: errorMessage || '',\n }\n )\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n\n yield put(loaderActions.hideLoader());\n}\n\nexport function* paymentGatewayCredentialsSaga() {\n yield takeLatest(\n FETCH_PAYMENT_GATEWAY_CREDENTIALS_REQUEST,\n fetchPaymentGatewayCredentials\n );\n yield takeLatest(\n GENERATE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n generatePaymentGatewayCredentialReport\n );\n yield takeLatest(\n GET_ACTIVE_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n getActivePaymentGatewayCredentialReportDetails\n );\n yield takeLatest(\n DOWNLOAD_PAYMENT_GATEWAY_CREDENTIAL_REPORT_REQUEST,\n downloadPaymentGatewayCredentialReportRequest\n );\n yield takeLatest(\n CREATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST,\n createPaymentGatewayCredentialStep\n );\n yield takeLatest(\n FETCH_PAYMENT_GATEWAY_CREDENTIAL_DATA_REQUEST,\n fetchPaymentGatewayCredentialData\n );\n yield takeLatest(\n UPDATE_PAYMENT_GATEWAY_CREDENTIAL_STEP_REQUEST,\n updatePaymentGatewayCredentialStep\n );\n yield takeLatest(\n FETCH_FORM_DATA_PRICING_SECTION_REQUEST,\n fetchFormDataPricingSectionRequest\n );\n}\n","import { toast } from 'react-toastify';\nimport moment from 'moment';\nimport { takeLatest, put, call, takeEvery } from 'redux-saga/effects';\nimport { POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_HIERARCHY_LIST,\n APT_FETCH_MLE_LIST,\n API_GET_MERCHANT_INFO,\n API_CREATE_TID_REQUEST,\n API_GET_TERMINAL_INFO,\n API_FETCH_STATIC_URL,\n API_ENTITY_LIST1,\n API_BULK_UPLOAD_TERMINAL_ID,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\n\n// Constants\nimport {\n FETCH_TID_REQUEST,\n FETCH_TID_SUCCESS,\n FETCH_TID_ERROR,\n CREATE_TID_REQUEST,\n GET_TERMINAL_INFO_REQUEST,\n FETCH_ENTITY_HIERARCHY_REQUEST,\n FETCH_STATIC_URL,\n GET_MERCHANT_INFO_REQUEST,\n FETCH_ENTITY_LIST_MERCHANT_REQUEST,\n TERMINAL_ID_BULK_UPLOAD_REQUEST,\n} from './TIDOnBoard.constants';\nimport * as TIDActions from './TIDOnBoard.actions';\n\nconst TID_MOCK = false;\n\nexport function* fetchTIDList(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n pageNumber: payload.pageIndex,\n pageSize: payload.pageSize,\n entityType: 'TERMINAL',\n sort: 'createdOn',\n merchantId: payload.terminalId,\n name: payload.name,\n status: payload.status,\n parentEntityCode: payload.merchantId,\n };\n if (payload?.enterprise_merchant) {\n request.enterpriseMerchant =\n payload?.enterprise_merchant === 'yes' ? true : false;\n } else {\n request.enterpriseMerchant = true;\n }\n if (payload.createdOn) {\n const startDateTime = moment(payload.createdOn.startDate).format(\n 'YYYY-MM-DD 00:00:00'\n );\n const endDateTime = moment(payload.createdOn.endDate).format(\n 'YYYY-MM-DD 23:59:59'\n );\n delete request.createdOn;\n request.startDate = startDateTime;\n request.endDate = endDateTime;\n }\n\n const { data } = yield call(POST, APT_FETCH_MLE_LIST, request);\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(TIDActions.fetchTIDSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n TIDActions.fetchTIDError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n TIDActions.fetchTIDError({\n error: data,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchMerchantInfoDetails(actions) {\n yield put(loaderActions.showLoader());\n\n const { toast } = actions;\n try {\n const { payload } = actions;\n const request = {\n entityCode: payload,\n entityStatus: true,\n };\n\n const { data } = yield call(POST, API_GET_MERCHANT_INFO, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(TIDActions.getMerchantInfoSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n TIDActions.getMerchantInfoError({\n error: data,\n })\n );\n toast.error(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(TIDActions.getMerchantInfoError({ error: data }));\n toast.error(data.errorMessage);\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchTerminalInfoDetails(actions) {\n yield put(loaderActions.showLoader());\n const { history, toast } = actions;\n try {\n const { payload } = actions;\n const request = {\n entityCode: payload,\n entityStatus: true,\n };\n const { data } = yield call(POST, API_GET_TERMINAL_INFO, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(TIDActions.getTerminalInfoSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n TIDActions.getTerminalInfoError({\n error: data,\n })\n );\n history.push('/tid-onboarding');\n toast.error(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(TIDActions.getTerminalInfoError({ error: data }));\n history.push('/tid-onboarding');\n toast.error(data.errorMessage);\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* createTIDRequest(actions) {\n yield put(loaderActions.showLoader());\n const { history, toast, makerId } = actions;\n try {\n const { payload } = actions;\n const eventType = payload.eventType;\n const idempotencyId = payload.idempotencyId;\n delete payload.eventType;\n delete payload.idempotencyId;\n\n const request = {\n makerId,\n eventType,\n idempotencyId,\n request: JSON.stringify(payload),\n };\n\n const { data } = yield call(POST, API_CREATE_TID_REQUEST, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n history.push('/tid-onboarding');\n toast.success('Request Initiated successfully.');\n } else if (data && data.errorMessage) {\n toast.error(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n toast.error(data.errorMessage);\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchHierarchyDetails(actions) {\n yield put(TIDActions.showHierarchyLoader());\n try {\n const { payload, level, entityType, onSuccess } = actions;\n console.log(actions, 'actions');\n\n const fetchHierarchyData = function*(entityCode, entityLevel) {\n return yield call(POST, API_HIERARCHY_LIST, {\n entityCode,\n entityLevel,\n });\n };\n\n const fetchParentEntityCode = data => data?.parent?.entityCode;\n\n const initialValue = {\n midList: [],\n mleList: [],\n fraList: [],\n mid: null,\n mle: null,\n fra: null,\n agr: null,\n };\n\n switch (entityType) {\n case 'MERCHANT': {\n let agr,\n agrLowerData,\n fra,\n fraLowerData,\n fraUpperData,\n midUpperData,\n mle,\n mleLowerData,\n mleUpperData;\n midUpperData = yield fetchHierarchyData(\n payload,\n 'UPPER_COMPLETE'\n );\n let midList = [];\n let mleList = [];\n let fraList = [];\n\n mle = fetchParentEntityCode(midUpperData.data);\n if (mle) {\n mleUpperData = yield fetchHierarchyData(\n mle,\n 'UPPER_COMPLETE'\n );\n mleLowerData = yield fetchHierarchyData(\n mle,\n 'LOWER_COMPLETE'\n );\n midList = mleLowerData.data.merchants;\n\n fra = fetchParentEntityCode(mleUpperData.data);\n\n if (fra) {\n fraUpperData = yield fetchHierarchyData(\n fra,\n 'UPPER_COMPLETE'\n );\n fraLowerData = yield fetchHierarchyData(\n fra,\n 'LOWER_COMPLETE'\n );\n mleList = fraLowerData.data.mle;\n agr = fetchParentEntityCode(fraUpperData.data);\n\n if (agr) {\n agrLowerData = yield fetchHierarchyData(\n agr,\n 'LOWER_COMPLETE'\n );\n fraList = agrLowerData.data.franchise;\n }\n }\n }\n\n const newValue = {\n ...initialValue,\n midList,\n mleList,\n fraList,\n mle,\n fra,\n agr,\n mid: payload,\n };\n\n yield put(TIDActions.fetchEntityHierarchySuccess(newValue));\n break;\n }\n\n case 'MLE': {\n let agr,\n agrLowerData,\n fra,\n fraLowerData,\n fraUpperData,\n midList,\n mleLowerData,\n mleUpperData;\n let mleList = [];\n let fraList = [];\n mleUpperData = yield fetchHierarchyData(\n payload,\n 'UPPER_COMPLETE'\n );\n mleLowerData = yield fetchHierarchyData(\n payload,\n 'LOWER_COMPLETE'\n );\n midList = mleLowerData.data.merchants;\n\n fra = fetchParentEntityCode(mleUpperData.data);\n\n if (fra) {\n fraUpperData = yield fetchHierarchyData(\n fra,\n 'UPPER_COMPLETE'\n );\n fraLowerData = yield fetchHierarchyData(\n fra,\n 'LOWER_COMPLETE'\n );\n mleList = fraLowerData.data.mle;\n agr = fetchParentEntityCode(fraUpperData.data);\n\n if (agr) {\n agrLowerData = yield fetchHierarchyData(\n agr,\n 'LOWER_COMPLETE'\n );\n fraList = agrLowerData.data.franchise;\n }\n }\n\n const newValue = {\n ...initialValue,\n mleList,\n fraList,\n midList,\n fra,\n agr,\n mle: payload,\n };\n yield put(TIDActions.fetchEntityHierarchySuccess(newValue));\n break;\n }\n\n case 'FRANCHISE': {\n let agr, agrLowerData, fraLowerData, fraUpperData, mleList;\n let fraList = [];\n fraUpperData = yield fetchHierarchyData(\n payload,\n 'UPPER_COMPLETE'\n );\n fraLowerData = yield fetchHierarchyData(\n payload,\n 'LOWER_COMPLETE'\n );\n mleList = fraLowerData.data.mle;\n\n agr = fetchParentEntityCode(fraUpperData.data);\n\n if (agr) {\n agrLowerData = yield fetchHierarchyData(\n agr,\n 'LOWER_COMPLETE'\n );\n fraList = agrLowerData.data.franchise;\n }\n const newValue = {\n ...initialValue,\n fraList,\n mleList,\n agr,\n fra: payload,\n };\n yield put(TIDActions.fetchEntityHierarchySuccess(newValue));\n break;\n }\n case 'AGGREGATOR': {\n let agrLowerData,\n fraList = [];\n agrLowerData = yield fetchHierarchyData(\n payload,\n 'LOWER_COMPLETE'\n );\n fraList = agrLowerData.data.franchise;\n\n const newValue = { ...initialValue, fraList, agr: payload };\n yield put(TIDActions.fetchEntityHierarchySuccess(newValue));\n break;\n }\n default:\n break;\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(TIDActions.fetchEntityHierarchyError({ error: data }));\n }\n yield put(TIDActions.hideHierarchyLoader());\n}\n\nexport function* fetchStaticURL(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n merchantId: payload,\n };\n const { data } = yield call(POST, API_FETCH_STATIC_URL, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(TIDActions.fetchStaticUrlSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n TIDActions.fetchStaticUrlError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(TIDActions.fetchStaticUrlError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchEntityListDetails(actions) {\n yield put(TIDActions.showHierarchyLoader());\n\n try {\n const { payload, entityData } = actions;\n\n const request = {\n entityType: payload && payload.toUpperCase(),\n entityName: entityData ? entityData.entityName : '',\n entityCode: entityData ? entityData.entityCode : '',\n paging: {\n pageNumber: 1,\n pageSize: 500,\n },\n };\n\n const { data } = yield call(POST, API_ENTITY_LIST1, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS2) {\n const values = {};\n values[payload.toLowerCase()] = data && data.entities;\n\n if (entityData) {\n yield put(\n TIDActions.fetchEntityListSuccessAddList(\n values,\n payload.toLowerCase()\n )\n );\n } else {\n yield put(TIDActions.fetchEntityListSuccess(values));\n }\n } else if (data && data.errorMessage) {\n yield put(\n TIDActions.fetchEntityListError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n console.log(response, 'request catch');\n const data = response && response.data;\n yield put(TIDActions.fetchEntityListError({ error: data }));\n }\n yield put(TIDActions.hideHierarchyLoader());\n}\n\nconst bulkUploadResponse = {\n success: {\n statusCode: '200',\n errorMessage: 'Upload Success',\n requestId: 'abc123xyz',\n },\n error: {\n statusCode: '400',\n errorMessage: 'Invalid request parameters',\n requestId: '',\n },\n};\n\nexport function* terminalIDBulkUpload(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, handleSuccess, handleError } = actions;\n\n let data = {};\n if (TID_MOCK) {\n data = bulkUploadResponse.success;\n } else {\n const response = yield call(\n POST,\n API_BULK_UPLOAD_TERMINAL_ID,\n payload,\n {\n 'Content-Type': 'multipart/form-data;',\n },\n true\n );\n data = response.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n handleSuccess(data);\n } else if (data && data.errorMessage) {\n handleError(data);\n }\n } catch ({ response }) {\n toast.error(response.errorMessage);\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* tidSagas() {\n yield takeLatest(FETCH_TID_REQUEST, fetchTIDList);\n yield takeLatest(GET_MERCHANT_INFO_REQUEST, fetchMerchantInfoDetails);\n yield takeLatest(CREATE_TID_REQUEST, createTIDRequest);\n yield takeLatest(GET_TERMINAL_INFO_REQUEST, fetchTerminalInfoDetails);\n yield takeLatest(FETCH_ENTITY_HIERARCHY_REQUEST, fetchHierarchyDetails);\n yield takeLatest(FETCH_STATIC_URL, fetchStaticURL);\n yield takeEvery(FETCH_ENTITY_LIST_MERCHANT_REQUEST, fetchEntityListDetails);\n yield takeLatest(TERMINAL_ID_BULK_UPLOAD_REQUEST, terminalIDBulkUpload);\n}\n","// Library methods\n\n// Utils\nimport { toast } from 'react-toastify';\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport moment from 'moment/moment';\nimport { isEmpty } from 'lodash';\nimport { GET, POST } from '../../../utils/fetchWrappers';\nimport { getDetails } from '../getDetails.utils';\n\n// API URLs\nimport {\n API_CREATE_PAYMENT_PAGE,\n API_GET_PAYMENT_PAGE_DETAILS,\n API_UPDATE_PAYMENT_PAGE_DETAILS,\n API_LIST_PAY_TRANSACTIONS_PAYMENT_PAGE,\n API_PAY_LINK_SUMMARY,\n FETCH_PAYMENT_PAGE_DATA,\n} from '../../../utils/API/apiUrls';\n\n// Constants\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../../../redux/common/loader/loader.actions';\nimport mainTableData from '../mock/mainTableData.json';\nimport transactionTableMock from '../mock/transaction_table_mock.json';\nimport viewPaymentLink from '../mock/viewPaymentLink.json';\nimport {\n CREATE_PAYMENT_PAGE_REQUEST,\n GET_PAYMENT_PAGE_DETAILS_REQUEST,\n UPDATE_PAYMENT_PAGE_DETAILS_REQUEST,\n FETCH_PAYMENT_PAGE_REQUEST,\n FETCH_TRANSACTION_PAYMENT_REQUEST,\n VIEW_PAY_LINK_REQUEST,\n} from './paymentPage.constants';\n\nimport * as paymentPageActions from './paymentPage.actions';\n\nconst IS_MOCK = false;\n\n// Format Payment link table filter and Request params.\nconst getRequestData = payload => {\n const filter = {};\n const request = {\n paginationDetails: {\n pageNo: payload.pageIndex || 1,\n pageSize: payload.pageSize || 10,\n },\n };\n if (payload.createdOn) {\n filter.startDateTime = String(\n moment(payload.createdOn.startDate)\n .startOf('day')\n .valueOf()\n );\n filter.endDateTime = String(\n moment(payload.createdOn.endDate)\n .endOf('day')\n .valueOf()\n );\n }\n if (payload.pageId) {\n const { pageId } = payload;\n filter.dataId = pageId;\n }\n if (payload.status) {\n const { status } = payload;\n filter.formDataStatus = status;\n }\n // filter.dataId = 'PF5002';\n if (filter && !isEmpty(filter)) {\n request.filter = filter;\n }\n\n return request;\n};\n\n// Format Transaction View Payment link filter and Request params.\nconst getRequestDataTrxn = payload => {\n const filter = {};\n const request = {\n paginationDetails: {\n pageNo: payload.pageIndex || 1,\n pageSize: payload.pageSize || 10,\n },\n };\n\n if (payload.createdOn) {\n filter.startDateTime = String(\n moment(payload.createdOn.startDate)\n .startOf('day')\n .valueOf()\n );\n filter.endDateTime = String(\n moment(payload.createdOn.endDate)\n .endOf('day')\n .valueOf()\n );\n }\n if (payload.transactionId) {\n filter.transactionId = payload.transactionId;\n }\n if (payload.transactionStatus) {\n const { transactionStatus } = payload;\n filter.transactionStates = [transactionStatus];\n }\n if (payload.linkDataId) {\n filter.linkId = payload.linkDataId;\n }\n\n if (filter && !isEmpty(filter)) {\n request.filter = filter;\n request.filter.entityId = \"MERMER6073e83\";\n }\n return request;\n};\n\n// Get details for the Payment link list for table.\nexport function* fetchPaymentPageDetails(actions) {\n yield put(paymentPageActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestData(payload);\n let data = null;\n\n if (IS_MOCK) {\n data = mainTableData;\n } else {\n const res = yield call(POST, FETCH_PAYMENT_PAGE_DATA, request);\n data = res.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentPageActions.fetchPaymentPageSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n paymentPageActions.fetchPaymentPageError({\n error: data,\n })\n );\n }\n } catch ({response}) {\n const { data } = response;\n const errorMessage = data.errorMessage;\n yield put(\n paymentPageActions.fetchPaymentPageError({\n error: data.errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(paymentPageActions.hideLoader());\n}\n\n// Create new payment page Saga function\nexport function* createPaymentPageDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, handleSuccessClick, status, history } = actions;\n const response = yield call(POST, API_CREATE_PAYMENT_PAGE, payload);\n const data = response.data;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentPageActions.createPaymentPageSuccess(data));\n toast.success('Request Initiated successfully.');\n if (status === 'ACTIVE') {\n handleSuccessClick(data);\n } else {\n history.push('/payment-page');\n }\n } \n else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage;\n yield put(\n paymentPageActions.createPaymentPageError({\n error: data.errorMessage || ' ',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n } catch ({ response }) {\n const { data }= response\n const errorMessage = data.errorMessage || data.error;\n yield put(\n paymentPageActions.createPaymentPageError({\n error: (data.errorMessage || data.error) || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchPaymentPageEditDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const response = yield call(\n POST,\n API_GET_PAYMENT_PAGE_DETAILS,\n payload\n );\n const data = response.data;\n // const data = getDetails;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentPageActions.getPaymentPageDetailsSuccess(data));\n //toast.success('Data fetched successfully!');\n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage;\n yield put(\n paymentPageActions.getPaymentPageDetailsError({\n error: data.errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data.errorMessage;\n yield put(\n paymentPageActions.createPaymentPageError({\n error: data.errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* updatePaymentPageDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload, handleSuccessClick, status, history } = actions;\n const response = yield call(\n POST,\n API_UPDATE_PAYMENT_PAGE_DETAILS,\n payload\n );\n const data = response.data;\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentPageActions.updatePaymentPageDetailsSuccess(data));\n toast.success('Request Updated successfully.');\n if (status === 'ACTIVE') {\n actions.handleSuccessClick(data);\n } else {\n history.push('/payment-page');\n }\n \n } else if (data && data.errorMessage) {\n const errorMessage = data.errorMessage;\n yield put(\n paymentPageActions.updatePaymentPageDetailsError({\n error: data.errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }else{\n }\n } catch ({response}) {\n const { data } = response;\n const errorMessage = data.errorMessage;\n yield put(\n paymentPageActions.updatePaymentPageDetailsError({\n error: data.errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n// Get Details for the payment link transaction view.\nexport function* fetchPaymentsDetails(actions) {\n yield put(paymentPageActions.showLoader());\n try {\n const { payload } = actions;\n const request = getRequestDataTrxn(payload);\n let data = {};\n\n if (IS_MOCK) {\n data = transactionTableMock;\n } else {\n const res = yield call(\n POST,\n API_LIST_PAY_TRANSACTIONS_PAYMENT_PAGE,\n request\n );\n\n data = res.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentPageActions.fetchPaymentsSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n paymentPageActions.fetchPaymentsError({\n error: data,\n })\n );\n }\n } catch ({response}) {\n const { data } = response;\n const errorMessage = data.errorMessage;\n yield put(\n paymentPageActions.fetchPaymentsError({\n error: data.errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(paymentPageActions.hideLoader());\n}\n\n// View the payment link summary Saga function\nexport function* viewPayLinkDetails(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const request = {\n filter: {\n linkId: payload.linkDataId,\n },\n paginationDetails: {\n pageNo: 1,\n pageSize: 10,\n },\n };\n let data = {};\n\n if (IS_MOCK) {\n data = mainTableData;\n } else {\n const res = yield call(POST, FETCH_PAYMENT_PAGE_DATA, request);\n data = res.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(paymentPageActions.viewPayLinksSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n paymentPageActions.viewPayLinksError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n const errorMessage = data.errorMessage;\n yield put(\n paymentPageActions.viewPayLinksError({\n error: data.errorMessage || '',\n })\n );\n if (errorMessage) {\n toast.error(errorMessage);\n }\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* paymentPageSagas() {\n yield takeLatest(FETCH_PAYMENT_PAGE_REQUEST, fetchPaymentPageDetails);\n yield takeLatest(CREATE_PAYMENT_PAGE_REQUEST, createPaymentPageDetails);\n yield takeLatest(\n GET_PAYMENT_PAGE_DETAILS_REQUEST,\n fetchPaymentPageEditDetails\n );\n yield takeLatest(\n UPDATE_PAYMENT_PAGE_DETAILS_REQUEST,\n updatePaymentPageDetails\n );\n yield takeLatest(FETCH_TRANSACTION_PAYMENT_REQUEST, fetchPaymentsDetails);\n yield takeLatest(VIEW_PAY_LINK_REQUEST, viewPayLinkDetails);\n}\n","/* eslint-disable max-lines */\n// Library methods\n\n// Utils\nimport { GET, POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_CREATE_SESSION,\n API_LOGIN,\n API_LOGOUT,\n API_FORGOT_PASSWORD,\n API_RESET_PASSWORD,\n API_IS_LOGGED_IN,\n API_GET_USER_PROFILE,\n API_MARK_USER_ACTIVE,\n API_GET_ACCESSIBLE_ITEMS_FOR_USER,\n API_OTP_VALIDATE,\n API_OTP_RESEND,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Helper Methods\nimport {\n setToLocalStorage,\n getFromLocalStorage,\n} from '../../../utils/helperMethods';\n\n// Toast Messages\nimport {\n ERROR_MESSAGES,\n SUCCESS_MESSAGES,\n} from '../../../utils/constants/toastMessages';\n\n// Browser Storage Field Names\nimport { LOCAL_STORAGE_FIELD_NAMES } from '../../../utils/constants/browserStorageFieldNames';\n\n// Redux Actions\nimport * as loaderActions from '../loader/loader.actions';\nimport * as authActions from './auth.actions';\n\n// Action Constants\nimport {\n CREATE_SESSION_REQUEST,\n LOGIN_REQUEST,\n IS_LOGGED_IN_REQUEST,\n USER_PROFILE_REQUEST,\n LOGOUT_REQUEST,\n FORGOT_PASSWORD_REQUEST,\n RESET_PASSWORD_REQUEST,\n MARK_USER_ACTIVE_REQUEST,\n GET_USER_ACCESSIBLE_ITEMS_REQUEST,\n OTP_RESEND_REQUEST,\n OTP_VALIDATE_REQUEST,\n} from './auth.constants';\nimport { toast } from 'react-toastify';\nimport { takeLatest, put, call } from 'redux-saga/effects';\nimport { MOCK_API_VALUE } from 'utils/constants/commonValues';\nimport sessionRes from 'mockApiWiseReqRes/mockapis/session.res';\nimport isLoggedIn from 'mockApiWiseReqRes/mockapis/isloggedin.res';\n\n// Create user session\nexport function* createSession(actions) {\n const { history } = actions;\n try {\n let data;\n if (MOCK_API_VALUE) {\n data = sessionRes();\n } else {\n const response = yield call(GET, API_CREATE_SESSION);\n data = response?.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n const storedcsrfIdentifier = getFromLocalStorage(\n LOCAL_STORAGE_FIELD_NAMES.CSRF_IDENTIFIER\n );\n\n yield put(\n authActions.createSessionSuccess({\n csrfIdentifier: storedcsrfIdentifier,\n })\n );\n }\n } catch ({ err }) {\n const errorMessage = ERROR_MESSAGES.CREATE_SESSION;\n history.replace('/error');\n toast.error(errorMessage);\n }\n}\n\n// Login User\nexport function* loginUser({ payload }) {\n yield put(loaderActions.showLoader());\n\n try {\n const response = yield call(POST, API_LOGIN, { ...payload });\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(authActions.loginSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n authActions.loginError({ loginError: data.errorMessage })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n\n const errorMessage =\n (data && data.errorMessage) || ERROR_MESSAGES.LOGIN;\n yield put(authActions.loginError({ loginError: errorMessage }));\n }\n\n yield put(loaderActions.hideLoader());\n}\n\n// Check is logged in\nexport function* checkIsLoggedIn() {\n yield put(loaderActions.showLoader());\n\n try {\n let data;\n if (MOCK_API_VALUE) {\n data = isLoggedIn();\n } else {\n const response = yield call(GET, API_IS_LOGGED_IN);\n data = response.data;\n }\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n authActions.isLoggedInSuccess({ isLoggedIn: data.loggedIn })\n );\n setToLocalStorage(\n LOCAL_STORAGE_FIELD_NAMES.IS_LOGGED_IN,\n data.loggedIn\n );\n }\n } catch ({ err }) {\n console.error('error', err);\n }\n\n yield put(loaderActions.hideLoader());\n}\n\n// Get User Profile\nexport function* getUserProfile() {\n yield put(loaderActions.showLoader());\n\n try {\n const response = yield call(GET, API_GET_USER_PROFILE);\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(authActions.userProfileSuccess(data.userDetails));\n }\n } catch ({ err }) {\n console.error('error', err);\n }\n\n yield put(loaderActions.hideLoader());\n}\n\n// Logout User\nexport function* logoutUser() {\n yield put(loaderActions.showLoader());\n\n try {\n const response = yield call(POST, API_LOGOUT, {});\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(authActions.logoutSuccess());\n setToLocalStorage(LOCAL_STORAGE_FIELD_NAMES.IS_LOGGED_IN, false);\n\n toast.info(SUCCESS_MESSAGES.LOGOUT_SUCCESS);\n }\n } catch ({ response }) {\n const { data } = response;\n\n const errorMessage =\n (data && data.errorMessage) || ERROR_MESSAGES.LOGOUT;\n toast.error(errorMessage);\n }\n\n yield put(loaderActions.hideLoader());\n}\n\n// Forgot Password\nexport function* forgotPassword({ payload }) {\n yield put(loaderActions.showLoader());\n\n try {\n const response = yield call(POST, API_FORGOT_PASSWORD, { ...payload });\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(authActions.forgotPasswordSuccess());\n\n toast.info(SUCCESS_MESSAGES.FORGOT_PASSWORD);\n } else if (data && data.errorMessage) {\n yield put(\n authActions.forgotPasswordError({\n forgotPasswordError: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n\n const errorMessage =\n (data && data.errorMessage) || ERROR_MESSAGES.FORGOT_PASSWORD;\n yield put(\n authActions.forgotPasswordError({\n forgotPasswordError: errorMessage,\n })\n );\n }\n\n yield put(loaderActions.hideLoader());\n}\n\n// Reset Password\nexport function* resetPassword({ payload }) {\n yield put(loaderActions.showLoader());\n\n try {\n const { pageType, ...reqPayload } = payload;\n const response = yield call(POST, API_RESET_PASSWORD, {\n ...reqPayload,\n });\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(authActions.resetPasswordSuccess());\n\n if (pageType === 'reset') {\n toast.info(SUCCESS_MESSAGES.RESET_PASSWORD);\n } else {\n toast.info(SUCCESS_MESSAGES.SET_PASSWORD);\n }\n window.location.replace('/login');\n } else if (data && data.errorMessage) {\n yield put(\n authActions.resetPasswordError({\n resetPasswordError: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n\n const errorMessage =\n (data && data.errorMessage) || ERROR_MESSAGES.RESET_PASSWORD;\n yield put(\n authActions.resetPasswordError({\n resetPasswordError: errorMessage,\n })\n );\n }\n\n yield put(loaderActions.hideLoader());\n}\n\n// Mark User Active\nexport function* markUserActive({ payload }) {\n yield put(loaderActions.showLoader());\n\n try {\n const response = yield call(POST, API_MARK_USER_ACTIVE, { ...payload });\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(authActions.markUserActiveSuccess());\n } else if (data && data.errorMessage) {\n toast.info(data.errorMessage);\n }\n } catch ({ response }) {\n const { data } = response;\n\n const errorMessage =\n (data && data.errorMessage) || ERROR_MESSAGES.MARK_USER_ACTIVE;\n toast.info(errorMessage);\n }\n\n yield put(loaderActions.hideLoader());\n}\n\n// Get User Accessible Items\nexport function* getAccessibleItems() {\n yield put(loaderActions.showLoader());\n\n try {\n const request = {};\n const response = yield call(\n POST,\n API_GET_ACCESSIBLE_ITEMS_FOR_USER,\n request\n );\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n authActions.getUserAccessibleItemsSuccess({\n resourceDetails: data.resourceDetail,\n })\n );\n }\n } catch (err) {\n const errorMessage = ERROR_MESSAGES.CREATE_SESSION;\n toast.error(errorMessage);\n }\n\n yield put(loaderActions.hideLoader());\n}\n\n// Resend Otp\nexport function* getResendOtp({ payload }) {\n yield put(loaderActions.showLoader());\n\n try {\n const response = yield call(POST, API_OTP_RESEND, payload);\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(authActions.resendOtpSuccess(data));\n } else if (data && data.errorMessage) {\n toast.info(data.errorMessage);\n yield put(\n authActions.resetPasswordError({ error: data.errorMessage })\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n const errorMessage = data && data.errorMessage;\n if (status === 401) {\n yield put(authActions.resetOtpFlag());\n yield put(authActions.resetPasswordError({ error: '' }));\n toast.info(errorMessage);\n } else {\n yield put(authActions.resetPasswordError({ error: errorMessage }));\n toast.info(errorMessage);\n }\n }\n\n yield put(loaderActions.hideLoader());\n}\n\n// Validate Api\nexport function* getValidateOtp({ payload }) {\n yield put(loaderActions.showLoader());\n\n try {\n const response = yield call(POST, API_OTP_VALIDATE, payload);\n const { data } = response;\n\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(authActions.validateOtpSuccess(data));\n setToLocalStorage(LOCAL_STORAGE_FIELD_NAMES.IS_LOGGED_IN, true);\n toast.info(SUCCESS_MESSAGES.LOGIN_SUCCESS_WELCOME(data.name));\n } else if (data && data.errorMessage) {\n yield put(\n authActions.validateOtpError({ error: data.errorMessage })\n );\n }\n } catch ({ response }) {\n const { data, status } = response;\n const errorMessage = data && data.errorMessage;\n if (status === 401) {\n yield put(authActions.resetOtpFlag());\n yield put(authActions.validateOtpError({ error: '' }));\n toast.info(errorMessage);\n } else if (errorMessage) {\n yield put(authActions.validateOtpError({ error: errorMessage }));\n }\n }\n\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* authSagas() {\n yield takeLatest(CREATE_SESSION_REQUEST, createSession);\n yield takeLatest(LOGIN_REQUEST, loginUser);\n yield takeLatest(IS_LOGGED_IN_REQUEST, checkIsLoggedIn);\n yield takeLatest(USER_PROFILE_REQUEST, getUserProfile);\n yield takeLatest(LOGOUT_REQUEST, logoutUser);\n yield takeLatest(FORGOT_PASSWORD_REQUEST, forgotPassword);\n yield takeLatest(RESET_PASSWORD_REQUEST, resetPassword);\n yield takeLatest(MARK_USER_ACTIVE_REQUEST, markUserActive);\n yield takeLatest(GET_USER_ACCESSIBLE_ITEMS_REQUEST, getAccessibleItems);\n yield takeLatest(OTP_RESEND_REQUEST, getResendOtp);\n yield takeLatest(OTP_VALIDATE_REQUEST, getValidateOtp);\n}\n","// Library methods\n\n// Utils\nimport { GET, POST } from '../../../utils/fetchWrappers';\n\n// API URLs\nimport {\n API_STATIC_DATA,\n API_FETCH_UNDERLYING_MERCHANTS,\n API_GET_STATIC_INFO,\n API_AUDIT_TRAIL_STATIC,\n API_CHARGEBACK_STATIC_DATA,\n} from '../../../utils/API/apiUrls';\n\n// API Status Codes\nimport { apiStatusCodes } from '../../../utils/API/apiStatusCodes';\n\n// Redux Actions\nimport * as loaderActions from '../loader/loader.actions';\nimport * as staticDataActions from './staticData.actions';\nimport * as merchantLegalEntityActions from '../../../containers/MerchantLegalEntity/redux/merchantLegalEntity.actions';\n\n// Action Constants\nimport {\n GET_STATIC_DATA_REQUEST,\n FETCH_UNDERLYING_MERCHANT_STATIC_REQUEST,\n FETCH_STATIC_INFO_REQUEST,\n FETCH_AUDIT_TRAIL_STATIC_REQUEST,\n FETCH_CHARGEBACK_STATIC_DATA_REQUEST,\n} from './staticData.constants';\nimport { takeLatest, put, call } from 'redux-saga/effects';\n\n// Get Static Data\nexport function* getStaticDetails() {\n yield put(loaderActions.showLoader());\n try {\n const { data } = yield call(GET, API_STATIC_DATA);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n staticDataActions.getStaticDataSuccess(data.staticDataInfo)\n );\n } else if (data && data.errorMessage) {\n yield put(\n staticDataActions.getStaticDataError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n staticDataActions.getStaticDataError({\n error: data && data.errorMessage,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchUnderlyingMerchantDetails() {\n yield put(loaderActions.showLoader());\n try {\n const { data } = yield call(GET, API_FETCH_UNDERLYING_MERCHANTS);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(\n staticDataActions.fetchUnderlyingMerchantStaticSuccess(\n data.merchants\n )\n );\n } else if (data && data.errorMessage) {\n yield put(\n staticDataActions.fetchUnderlyingMerchantStaticError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n staticDataActions.fetchUnderlyingMerchantStaticError({\n error: data,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* getStaticInfoDetails() {\n yield put(loaderActions.showLoader());\n try {\n const request = {};\n const { data } = yield call(POST, API_GET_STATIC_INFO, request);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(staticDataActions.fetStaticInfoSuccess(data));\n yield put(merchantLegalEntityActions.setStaticMerchantLegalEntity(data))\n } else if (data && data.errorMessage) {\n yield put(\n staticDataActions.fetStaticInfoError({\n error: data,\n })\n );\n }\n } catch ({ response }) {\n const data = response && response.data;\n yield put(staticDataActions.fetStaticInfoError({ error: data }));\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* fetchStaticDataAuditTrail(actions) {\n yield put(loaderActions.showLoader());\n try {\n const { payload } = actions;\n const { data } = yield call(POST, API_AUDIT_TRAIL_STATIC, payload);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(staticDataActions.fetchAuditTrailStaticSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n staticDataActions.fetchAuditTrailStaticSuccess({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n staticDataActions.fetchAuditTrailStaticError({ error: data })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\nexport function* getChargebackStaticDetails() {\n yield put(loaderActions.showLoader());\n try {\n const { data } = yield call(GET, API_CHARGEBACK_STATIC_DATA);\n if (data && data.statusCode === apiStatusCodes.SUCCESS) {\n yield put(staticDataActions.fetchChargebackStaticSuccess(data));\n } else if (data && data.errorMessage) {\n yield put(\n staticDataActions.fetchChargebackStaticError({\n error: data.errorMessage,\n })\n );\n }\n } catch ({ response }) {\n const { data } = response;\n yield put(\n staticDataActions.fetchChargebackStaticError({\n error: data && data.errorMessage,\n })\n );\n }\n yield put(loaderActions.hideLoader());\n}\n\n/**\n * WATCHER SAGA\n */\nexport function* staticDataSagas() {\n yield takeLatest(GET_STATIC_DATA_REQUEST, getStaticDetails);\n yield takeLatest(\n FETCH_UNDERLYING_MERCHANT_STATIC_REQUEST,\n fetchUnderlyingMerchantDetails\n );\n yield takeLatest(FETCH_STATIC_INFO_REQUEST, getStaticInfoDetails);\n yield takeLatest(\n FETCH_AUDIT_TRAIL_STATIC_REQUEST,\n fetchStaticDataAuditTrail\n );\n yield takeLatest(\n FETCH_CHARGEBACK_STATIC_DATA_REQUEST,\n getChargebackStaticDetails\n );\n}\n","/**\n * Create root saga for the store by combining all watcher sagas\n */\n// Library Methods\n// sagsa\n\n// Common Sagas\nimport { bulkPaymentLinkSaga } from 'containers/BulkPaymentLink/redux/BulkPaymentLink.sagas';\nimport { all } from 'redux-saga/effects';\nimport { merchantSagas } from '../containers/MerchantOnboard/redux/merchantOnBoard.sagas';\nimport { userManagementSaga } from '../containers/UserManagement/redux/userManagement.sagas';\nimport { transactionsSaga } from '../containers/Transactions/redux/transactions.sagas';\nimport { refundSaga } from '../containers/Refund/redux/refund.sagas';\nimport { paymentLinkSaga } from '../containers/PaymentLink/redux/paymentLink.sagas';\nimport { roleManagementSaga } from '../containers/RoleManagement/redux/roleManagement.sagas';\nimport { userVerificationSaga } from '../containers/UserVerification/redux/userVerification.sagas';\nimport { roleVerificationSaga } from '../containers/RoleVerification/redux/roleVerification.sagas';\nimport { pgConfigDataSagas } from '../containers/MerchantOnboard/redux/pgConfig/pgConfig.sagas';\nimport { editMerchantSagas } from '../containers/MerchantOnboard/redux/editMerchant/editMerchant.sagas';\nimport { dashBoardSaga } from '../containers/Dashboard/redux/dashboard.sagas';\nimport { commProfileSaga } from '../containers/CommProfile/redux/commProfile.sagas';\nimport { manageBinSaga } from '../containers/ManageBin/redux/manageBin.sagas';\nimport { bulkRefundSaga } from '../containers/BulkRefund/redux/bulkRefund.sagas';\nimport { auditTrailSaga } from '../containers/AuditTrail/redux/auditTrail.sagas';\nimport { profileSaga } from '../containers/Profile/redux/profile.sagas';\nimport { settlementSaga } from '../containers/Settlement/redux/settlement.sagas';\nimport { checkoutSaga } from '../containers/checkoutCustom/redux/checkout.sagas';\nimport { adjustmentsSaga } from '../containers/MerchantAdjustments/redux/adjustments.sagas';\nimport { merchantOnboardStatusSaga } from '../containers/MerchantOnboardStatus/redux/MerchantOnboardStatus.sagas';\nimport { InvoiceSaga } from '../containers/Invoice/redux/invoice.sagas';\nimport { MakerSaga } from '../containers/Maker/redux/maker.sagas';\nimport { merchantLegalEntitySaga } from '../containers/MerchantLegalEntity/redux/merchantLegalEntity.sagas';\nimport { CheckerSaga } from '../containers/Checker/redux/checker.sagas';\nimport { mandateSaga } from '../containers/Mandate/redux/mandates.sagas';\nimport { chargeBackSaga } from '../containers/Chargeback/redux/chargeback.sagas';\nimport { paymentGatewayCredentialsSaga } from '../containers/PaymentGatewayCredentials/redux/paymentGatewayCredentials.sagas';\nimport { tidSagas } from '../containers/TerminalOnboard/redux/TIDOnBoard.sagas';\nimport { paymentPageSagas } from '../containers/PaymentPage/redux/paymentPage.sagas';\nimport { authSagas } from './common/auth/auth.sagas';\nimport { staticDataSagas } from './common/staticData/staticData.sagas';\n\nfunction* rootSaga() {\n try {\n yield all([\n // Append all watcher sagas here\n authSagas(),\n merchantSagas(),\n userManagementSaga(),\n roleManagementSaga(),\n userVerificationSaga(),\n pgConfigDataSagas(),\n editMerchantSagas(),\n transactionsSaga(),\n refundSaga(),\n commProfileSaga(),\n manageBinSaga(),\n staticDataSagas(),\n roleVerificationSaga(),\n profileSaga(),\n paymentLinkSaga(),\n auditTrailSaga(),\n dashBoardSaga(),\n settlementSaga(),\n checkoutSaga(),\n adjustmentsSaga(),\n bulkRefundSaga(),\n merchantOnboardStatusSaga(),\n InvoiceSaga(),\n bulkPaymentLinkSaga(),\n MakerSaga(),\n CheckerSaga(),\n mandateSaga(),\n chargeBackSaga(),\n merchantLegalEntitySaga(),\n paymentGatewayCredentialsSaga(),\n tidSagas(),\n paymentPageSagas(),\n ]);\n } catch (error) {\n console.error('saga error: ', error);\n }\n}\n\nexport default rootSaga;\n","/**\n * Create the store with dynamic reducers\n */\n\nimport createRootReducer from './rootReduer';\nimport rootSaga from './rootSaga';\nimport { createStore, applyMiddleware, compose } from 'redux';\nimport createSagaMiddleware from 'redux-saga';\n\nexport function configureStore(initialState = {}) {\n const sagaMiddleware = createSagaMiddleware();\n\n // Create the store with middlewares\n // 1. sagaMiddleware: Makes redux-sagas work\n const middlewares = [sagaMiddleware];\n\n const enhancers = [applyMiddleware(...middlewares)];\n\n // Add redux devtools enhancer for non prod env\n const isChrome =\n /Chrome/.test(navigator.userAgent) &&\n /Google Inc/.test(navigator.vendor);\n if (\n process.env.NODE_ENV !== 'production' &&\n typeof window === 'object' &&\n window.__REDUX_DEVTOOLS_EXTENSION__ &&\n isChrome\n ) {\n const devToolsExtension =\n window.__REDUX_DEVTOOLS_EXTENSION__ &&\n window.__REDUX_DEVTOOLS_EXTENSION__();\n\n enhancers.push(devToolsExtension);\n }\n\n // Create store\n const store = createStore(\n createRootReducer(),\n initialState,\n compose(...enhancers)\n );\n\n // run sagaMiddleware\n sagaMiddleware.run(rootSaga);\n\n return store;\n}\n\nexport default configureStore;\n","import 'react-app-polyfill/ie9';\nimport 'react-app-polyfill/stable';\nimport App from './App';\n// eslint-disable-next-line import/no-named-as-default\nimport configureStore from './redux/configureStore';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Provider } from 'react-redux';\nimport { BrowserRouter as Router } from 'react-router-dom';\n\n// Create redux store\nconst initialState = {};\nexport const store = configureStore(initialState);\n\nReactDOM.render(\n \n \n \n \n ,\n document.getElementById('root')\n);\n\nif (module.hot) {\n module.hot.accept();\n}"],"sourceRoot":""}