All files / src/modals acquirer_portal_modals.ts

0% Statements 0/55
100% Branches 0/0
100% Functions 0/0
0% Lines 0/55

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201                                                                                                                                                                                                                                                                                                                                                                                                                 
import NiceModal from "@ebay/nice-modal-react";
// components
import EnterpriseNotAvailableModal from "@components/AcquirerMerchants/Banner/EnterpriseNotAvailableModal";
import ApproveMerchantModal from "@components/Merchants/MerchantPreview/modals/ApproveMerchantPopup";
import DeclineMerchantModal from "@components/Merchants/MerchantPreview/modals/DeclineMerchantPopup";
 
// names
import {
  ENTERPRISE_NOT_AVAILABLE_MODAL,
  APPROVE_MERCHANT_MODAL,
  DECLINE_MERCHANT_MODAL,
  EDIT_MERCHANT_INFO_MODAL,
  EDIT_BUSINESS_OWNER_MODAL,
  CREATE_BUSINESS_PROFILE_MODAL,
  EDIT_ENTERPRISE_MCC_MODAL,
  ENTERPRISE_CREATED,
  TEAM_MEMBER_PANEL_MODAL,
  GIVE_CREATE_MERCHANT_AGREEMENT_MODAL,
  SUSPEND_MERCHANT_MODAL,
  BUSINESS_PROFILE_MISSING_FIELDS_MODAL,
  MERCHANT_AGREEMENT_PANEL,
  NOTIFY_MERCHANT_MODAL,
  CONFIRMATION_POP_UP,
  CHANGE_PROFILE_STATUS_MODAL,
  NOTIFY_MERCHANT_V2,
  ENTERPRISE_CONFIGURATION_MODAL,
  UPDATE_PRIMARY_ACCOUNT_HOLDER_EMAIL,
  DELETE_CONFIRMATION_MODAL,
  EXPEDITE_TRANSFER_MODAL,
  SPONSOR_DECLINE_MERCHANT_MODAL,
  MARK_MERCHANT_AS_PENDING_MODAL,
  MERCHANT_INITIAL_APPROVAL_MODAL,
  FILTER_PROVIDER_PANEL,
  APPROVE_MERCHANT_MODAL_REBRAND,
  EDIT_MERCHANT_INFO_MODAL_V2,
  GIVE_MERCHANT_AGREEMENT_MODAL,
  INVITE_PAH_MODAL,
  CHANGE_PAH_MODAL,
  DECLINE_MERCHANT_MODAL_REBRAND,
  MEMBER_MOBILE,
  GIVE_CONFIRMATION_POP_UP,
  EDD_CHALLENGE_MODAL,
  GIVE_CREATE_MERCHANT_PANEL_MODAL,
  DELETE_MERCHANT_MODAL,
  SAVE_CHANGES_MODAL,
  UNDERWRITING_TASK_MODAL,
  UPDATE_MERCHANT_STATUS_MODAL,
  DROP_MEDIA_LIBRARY_FILE,
  GIVE_UPDATE_BUSINESS_PROFILE_MODAL,
  PRE_CHARCHBACK_REFUND_MODAL,
  EDIT_PROVIDER_INFO_MODAL,
  MOVE_FUNDS_MODAL,
  EDIT_PRIMARY_ACCOUNT_HOLDER_V2,
  GIVE_EDIT_BANK_ACCOUNT_MODAL,
  GIVE_EDIT_FEE_MODAL,
  GIVE_DISPUTE_PANEL,
  GIVE_RESPOND_TO_DISPUTE_MODAL,
  PUBLISH_MODAL,
  GIVE_SETTLMENT_MERCHANT_PANEL,
  EDIT_RESERVE_MODAL,
  EVIDENCE_PROVIDED_MODAL,
  CLOSE_ACCOUNT_MODAL,
  TRANSFER_FUNDS_TO_ACQUIRER_MODAL,
} from "./modal_names";
import EditMerchantInfoModal from "@components/Merchants/MerchantPreview/modals/EditMerchantInfoModal";
import EditMerchantInfoModalV2 from "features/Merchants/MerchantSidePanel/Modals/EditMerchantInfoModalV2";
import BusinessOwnerModal from "@components/Merchants/MerchantPreview/modals/BusinessOwnerModal";
import CreateBusinessProfileModal from "@components/Merchants/CreateMerchantPanel/modals/CreateBusinessProfileModal";
import EnterpiseCreated from "@components/AcquirerEnterprises/CreateEnterprise/modals/EnterpiseCreated";
import TeamMemberPanel from "features/Permissions/ModalV2/TeamMemberPanel";
import SuspendMerchantModal from "@components/Merchants/MerchantPreview/modals/SuspendMerchantPopup";
import BusinessProfileMissingFieldsPopup from "@components/Merchants/MerchantPreview/modals/BusinessProfileMissingFieldsPopup";
import MerchantAgreementPanel from "@components/Merchants/MerchantPreview/MerchantAgreement/MerchantAgreementModal";
import NotifyMerchantModal from "@components/Merchants/MerchantPreview/modals/NotifyMerchantModal";
import ConfirmationPopUp from "@components/Settings/BusinessDetails/components/BusinessProfile/Modals/ConfirmationPopUp";
import ChangeProfileStatusModal from "@components/Settings/BusinessDetails/components/BusinessProfile/Modals/ChangeProfileStatusModal";
import NotifyMerchantV2 from "@components/Merchants/modals/NotifyMerchant/NotifyMerchantV2";
import UpdatePrimaryAcccountHolderEmail from "@components/Merchants/MerchantPreview/modals/UpdatePrimaryAccountHolderEmail";
import DeleteConfirmationModal from "@common/Modal/DeleteModal/DeleteConfirmationModal";
import ExpediteTransferModal from "@components/ManageMoney/TransactionTable/TableActions/ExpediteTransferModal";
import SponsorDeclineMerchantModal from "@components/Merchants/MerchantPreview/sections/SponsorApproval/SponsorDeclineMerchantModal";
import MarkMerchantAsPendingModal from "@components/Merchants/MerchantPreview/sections/SponsorApproval/MarkMerchantAsPendingModal";
import MerchantInitialApprovalModal from "@components/Merchants/MerchantPreview/modals/MerchantInitialApprovalModal";
import ProviderFilterModal from "@pages/AcquirerPortal/Enterprises/Modal/ProviderFilterModal";
import ApproveMerchantModalRebrand from "features/Merchants/MerchantSidePanel/Modals/ApproveMerchantModal";
import MerchantAgreementModal from "features/Merchants/MerchantSidePanel/Modals/MerchantAgreementModal";
import InvitePAHModal from "../features/Merchants/MerchantSidePanel/Modals/InvitePAHModal";
import ChangePAHModal from "../features/Merchants/MerchantSidePanel/Modals/ChangePAHModal";
import DeclineMerchantModalRebrand from "features/Merchants/MerchantSidePanel/Modals/DeclineMerchantModal";
import { TeamMemberModal } from "@components/Settings/ManageTeam/Actions";
import GiveConfirmationPopUp from "features/Merchants/MerchantSidePanel/Modals/GiveConfirmationPopUp";
import EDDChallengeModal from "features/Merchants/MerchantSidePanel/WithRepository/Challenges/Modals/EDDChallengeModal";
import GiveCreateMerchantPanel from "features/Merchants/GiveCreateMerchantPanel/GiveCreateMerchantPanel";
import EditEnterpriseMCCNew from "@components/AcquirerEnterprises/EnterprisePreview/modals/EditEnterpriseMCCNew";
import DeleteMerchantModal from "features/Merchants/MerchantSidePanel/Modals/DeleteMerchantModal";
import SaveChangesModal from "features/Merchants/MerchantSidePanel/Modals/SaveChangesModal";
import GiveTaskModal from "features/Merchants/MerchantSidePanel/UnderwritingTasks/components/GiveTaskModal";
import UpdateMerchantStatusModal from "@features/Merchants/MerchantSidePanel/Modals/UpdateMerchantStatusModal";
import DroppableModal from "@components/Settings/MediaLibrary/modals/DroppableModal";
import BusinessProfileUpdateModal from "@features/Merchants/MerchantSidePanel/Modals/BusinessProfileUpdateModal";
import PrechargebackRefundModal from "@features/TransactionPanel/modals/PrechargebackRefundModal";
import EditProviderInfoModal from "@features/Merchants/MerchantSidePanel/Modals/EditProviderInfo";
import MoveFundsModal from "@features/Merchants/MerchantSidePanel/MoveFunds/MoveFundsModal";
import GiveProviderConfigurationModal from "@features/Merchants/MerchantSidePanel/Modals/ProviderConfigurationModal/GiveProviderConfigurationModal";
import GiveEditPAHModal from "@components/Merchants/MerchantPreview/modals/GiveEditPAHModal";
import GiveEditBankAccountModal from "@components/Merchants/MerchantPreview/modals/GiveEditBankAccountModal";
import GiveEditFeesModal from "@components/Merchants/MerchantPreview/modals/GiveEditFeesModal";
import GiveDisputePanel from "@components/Disputes/GiveDisputePanel/GiveDisputePanel";
import GiveRespondToDisputeModal from "@components/Disputes/GiveDisputePanel/modals/GiveRespondToDisputeModal";
import GiveCreateMerchantAgreementModal from "@components/Merchants/MerchantPreview/modals/GiveCreateMerchantAgreementModal";
import PublishModal from "@pages/AcquirerPortal/LegalDocuments/modals/PublishModal";
import GiveSettlementMerchantsPanel from "@features/Settlements/Modals/GiveSettlementMerchantsPanel";
import EvidenceProvidedModal from "@components/Disputes/GiveDisputePanel/modals/EvidenceProvidedModal/EvidenceProvidedModal";
import CloseAccountModal from "@features/Merchants/MerchantSidePanel/Modals/CloseAccountModal";
import EditReserveModal from "@features/Merchants/MerchantSidePanel/Modals/EditReserveModal";
import TransferFundsToAcquirerModal from "@features/Merchants/MerchantSidePanel/Modals/TransferFundsToAqcuirer/TransferFundsToAqcuirerModal";
 
NiceModal.register(DROP_MEDIA_LIBRARY_FILE, DroppableModal);
NiceModal.register(GIVE_CONFIRMATION_POP_UP, GiveConfirmationPopUp);
NiceModal.register(ENTERPRISE_NOT_AVAILABLE_MODAL, EnterpriseNotAvailableModal);
NiceModal.register(APPROVE_MERCHANT_MODAL, ApproveMerchantModal);
NiceModal.register(GIVE_MERCHANT_AGREEMENT_MODAL, MerchantAgreementModal);
NiceModal.register(APPROVE_MERCHANT_MODAL_REBRAND, ApproveMerchantModalRebrand);
NiceModal.register(
  MERCHANT_INITIAL_APPROVAL_MODAL,
  MerchantInitialApprovalModal,
);
NiceModal.register(DECLINE_MERCHANT_MODAL, DeclineMerchantModal);
NiceModal.register(DECLINE_MERCHANT_MODAL_REBRAND, DeclineMerchantModalRebrand);
NiceModal.register(UPDATE_MERCHANT_STATUS_MODAL, UpdateMerchantStatusModal);
NiceModal.register(SPONSOR_DECLINE_MERCHANT_MODAL, SponsorDeclineMerchantModal);
NiceModal.register(MARK_MERCHANT_AS_PENDING_MODAL, MarkMerchantAsPendingModal);
NiceModal.register(SUSPEND_MERCHANT_MODAL, SuspendMerchantModal);
NiceModal.register(EDIT_MERCHANT_INFO_MODAL, EditMerchantInfoModal);
NiceModal.register(EDIT_MERCHANT_INFO_MODAL_V2, EditMerchantInfoModalV2);
NiceModal.register(EDIT_PROVIDER_INFO_MODAL, EditProviderInfoModal);
NiceModal.register(EDIT_PRIMARY_ACCOUNT_HOLDER_V2, GiveEditPAHModal);
NiceModal.register(
  UPDATE_PRIMARY_ACCOUNT_HOLDER_EMAIL,
  UpdatePrimaryAcccountHolderEmail,
);
NiceModal.register(GIVE_EDIT_BANK_ACCOUNT_MODAL, GiveEditBankAccountModal);
NiceModal.register(EDIT_BUSINESS_OWNER_MODAL, BusinessOwnerModal);
NiceModal.register(
  BUSINESS_PROFILE_MISSING_FIELDS_MODAL,
  BusinessProfileMissingFieldsPopup,
);
NiceModal.register(DELETE_MERCHANT_MODAL, DeleteMerchantModal);
 
NiceModal.register(GIVE_CREATE_MERCHANT_PANEL_MODAL, GiveCreateMerchantPanel);
NiceModal.register(INVITE_PAH_MODAL, InvitePAHModal);
NiceModal.register(CHANGE_PAH_MODAL, ChangePAHModal);
NiceModal.register(CREATE_BUSINESS_PROFILE_MODAL, CreateBusinessProfileModal);
NiceModal.register(
  GIVE_CREATE_MERCHANT_AGREEMENT_MODAL,
  GiveCreateMerchantAgreementModal,
);
NiceModal.register(EDIT_ENTERPRISE_MCC_MODAL, EditEnterpriseMCCNew);
NiceModal.register(ENTERPRISE_CREATED, EnterpiseCreated);
 
NiceModal.register(TEAM_MEMBER_PANEL_MODAL, TeamMemberPanel);
 
NiceModal.register(MERCHANT_AGREEMENT_PANEL, MerchantAgreementPanel);
 
NiceModal.register(NOTIFY_MERCHANT_MODAL, NotifyMerchantModal);
NiceModal.register(CONFIRMATION_POP_UP, ConfirmationPopUp);
NiceModal.register(CHANGE_PROFILE_STATUS_MODAL, ChangeProfileStatusModal);
NiceModal.register(NOTIFY_MERCHANT_V2, NotifyMerchantV2);
 
NiceModal.register(
  ENTERPRISE_CONFIGURATION_MODAL,
  GiveProviderConfigurationModal,
);
NiceModal.register(DELETE_CONFIRMATION_MODAL, DeleteConfirmationModal);
NiceModal.register(EXPEDITE_TRANSFER_MODAL, ExpediteTransferModal);
 
NiceModal.register(GIVE_DISPUTE_PANEL, GiveDisputePanel);
NiceModal.register(GIVE_RESPOND_TO_DISPUTE_MODAL, GiveRespondToDisputeModal);
NiceModal.register(FILTER_PROVIDER_PANEL, ProviderFilterModal);
NiceModal.register(UNDERWRITING_TASK_MODAL, GiveTaskModal);
NiceModal.register(EDD_CHALLENGE_MODAL, EDDChallengeModal);
 
NiceModal.register(MEMBER_MOBILE, TeamMemberModal);
NiceModal.register(EVIDENCE_PROVIDED_MODAL, EvidenceProvidedModal);
NiceModal.register(SAVE_CHANGES_MODAL, SaveChangesModal);
NiceModal.register(
  GIVE_UPDATE_BUSINESS_PROFILE_MODAL,
  BusinessProfileUpdateModal,
);
NiceModal.register(PRE_CHARCHBACK_REFUND_MODAL, PrechargebackRefundModal);
NiceModal.register(MOVE_FUNDS_MODAL, MoveFundsModal);
NiceModal.register(
  TRANSFER_FUNDS_TO_ACQUIRER_MODAL,
  TransferFundsToAcquirerModal,
);
NiceModal.register(GIVE_EDIT_FEE_MODAL, GiveEditFeesModal);
NiceModal.register(PUBLISH_MODAL, PublishModal);
NiceModal.register(GIVE_SETTLMENT_MERCHANT_PANEL, GiveSettlementMerchantsPanel);
NiceModal.register(CLOSE_ACCOUNT_MODAL, CloseAccountModal);
NiceModal.register(EDIT_RESERVE_MODAL, EditReserveModal);