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 | 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x 233x | import { SkeletonOwnProps } from "@mui/material";
import { EXPORT_PANEL_WIDTH } from "@shared/GiveExportModal/const";
import { TMerchantDoublePanelNew } from "./hooks/useMerchantSidePanel";
import { FILTER_PANEL_WIDTH } from "@shared/GiveFilter/constants";
export const GENERAL_STALE_TIME = 60000;
export const GENERAL_STALE_TIME_15 = 300000;
export const PANEL_COOLDOWN = 3500;
export const MERCHANT_SIDE_PANEL_PREVIEW_API_KEYS = {
GET: "get-merchant-preview",
GET_RISK_CATEGORY: "get-merchant-risk-category",
GET_BANK_FILES: "get-bank-files",
GET_PAH_FILES: "get-pah-files",
GET_LEGAL_ENTITY: "get-legal-entity",
GET_PARENT: "get-parent-merchant",
GET_ASSIGNEES: "get-merchant-assignees",
GET_STATS: "get-merchant-stats",
GET_ACQUIRER: "get_acquirer",
GET_FILES: "merchant-files",
GET_BANK_ACCOUNTS: "merchant-bank-accounts",
GET_CHANGELOG: "get-changelog",
GET_MATCH: "list-match-reports",
RISK_PROFILE: "get-merchant-risk-profile",
GET_OFAC: "list-ofac-checks",
RISK_ACTIVITIES: "risk-activities",
PENDING_TASKS_LIST: "pending-tasks-list",
};
export const PROVIDER_PANEL_KEYS = {
GET: "get-enterprise",
CHALLENGE_STATS: "get-challenge-stats", //TODO: once we integrate tasks for provider, this should change
GET_CHALLENGES: "get-challenges", //TODO: once we integrate tasks for provider, this should change
};
export const UNDERWRITING_API_KEY_BASE = "underwriting_items";
export const UNDERWRITING_CHALLENGE_API_KEYS = {
GET_STATS: [UNDERWRITING_API_KEY_BASE, "challenges_stats"],
GET_CATEGORIES: [UNDERWRITING_API_KEY_BASE, "challenges_categories"],
GET_CHALLENGES: [UNDERWRITING_API_KEY_BASE, "all_challenges"],
GET_TASKS: [UNDERWRITING_API_KEY_BASE, "underwriting_tasks"],
GET_ALL: UNDERWRITING_API_KEY_BASE,
GET_SINGLE_TASK: [UNDERWRITING_API_KEY_BASE, "single"],
};
export const BANK_DETAILS = [
{
name: "RS2 Software INC",
addr1: "4643 S Ulster St Ste 1285 Denver,",
addr2: "CO, 80237-3090 United States",
},
{
name: "Chesapeake Bank",
addr1: "97 N. Main Street",
addr2: "Kilmarnock, VA 22482",
},
];
export const WORLDPAY_BANK_DETAILS = [
{
name: "WORLDPAY INC",
addr1: "8500 Governors Hill Drive, Symmes Township,",
addr2: "OH 45249-1384, United States",
},
{
name: "Fifth Third Bank",
addr1: "38 Fountain Square Plaza, Cincinnati,",
addr2: "OH 45263, United States",
},
];
export const MERCHANT_BUSINESS_TYPES = {
governmentAgency: "government_agency",
taxExemptOrganization: "tax_exempt_organization",
soleProprietorship: "individual_sole_proprietorship",
corporation: "corporation",
llc: "limited_liability_company",
partnership: "partnership",
};
export const LastUpdatedOn_global_agreement = "July 15, 2026";
export const LastUpdatedOn_merchant_agreement = "January 13, 2026";
export const LastUpdatedOn_provider_agreement = "January 13, 2026";
export const skeletonDefaultProps: SkeletonOwnProps = {
sx: { borderRadius: "16px" },
variant: "rectangular",
};
export const BPVAA_DISABLED_TEXT =
"Approval of the Business Owner Verification and Business Address is required before approving this challenge";
export const APR_TABS = ["-underwriting", "-sponsor", "-kyb"];
export const SUMMARY_TEXT =
"The Member Alert to Control High-risk Merchants (MATCH) report compiles comprehensive results obtained from the screening of a merchant's business and ownership details.";
// MCI: hide risk input// better const then FF bc we will not switch between
// but BE side we dont remove the logic, that is why we only hide and dont remove yet
export const SHOW_RISK_CATEGORY = false;
export const processorMap = {
worldpay: "Worldpay",
rs2_ches: "Chesapeake RS2",
rs2_test: "Chesapeake RS2",
rs2_crb: "Chesapeake RS2",
};
export const CUSTOM_SECOND_PANEL_WIDTH: Partial<
Record<TMerchantDoublePanelNew, number>
> = {
riskExport: EXPORT_PANEL_WIDTH,
riskFilter: FILTER_PANEL_WIDTH,
};
export const MINIMUM_RESERVE_DESCRIPTION = `Percentage (in basis points) of each transfer that must be held in reserve. If the current reserve is below this amount, the transfer will be split to top up the reserve. 1 BPS = 0.01%.`;
export const ROLLING_RESERVE_DESCRIPTION = `Specify the number of basis points (BPS) to allocate from each transaction to the reserve balance. 1 BPS = 0.01%.`;
|