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 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x 550x | export const fiveMB = 5 * 1024 * 1024;
export const tenMB = 10 * 1024 * 1024;
export const twentyMB = 20 * 1024 * 1024;
export const fiftyMB = 50 * 1024 * 1024;
export const MAX_UPLOAD_SIZE = { label: "50MB", value: fiftyMB };
export const AcceptAllowedImagesTypes = {
"image/jpeg": [".jpg", ".jpeg"],
"image/jpg": [".jpg"],
"image/png": [".png"],
"image/webp": [".webp"],
"image/heic": [".heic"],
"image/heif": [".heif"],
};
export const SINGLE_KB = 1024;
export const IMAGE_UPLOAD_SIZE_LIMIT = SINGLE_KB * SINGLE_KB * 5; // 5 mb
export const APP_BAR_HEIGHT = 50;
export const DRAWER_STATE_KEY = "side-drawer-opened";
export const PRE_MASQUERADE_DRAWER_STATE = "pre_masquerade_drawer_state";
export const userVerificationSteps = {
toBeVerified: "TO_BE_VERIFIED",
methodSelection: "METHOD_SELECTION",
codeInput: "CODE_INPUT",
verified: "VERIFIED",
idle: "IDLE",
moneyTransferDetails: "MONEY_TRANSFER_DETAILS",
moneyTransferSuccess: "MONEY_TRANSFER_SUCCESS",
} as const;
export const DESCRIPTOR_PREFIX = "GIV";
export const MINIMUM_REQUIRED_AGE = 18;
export const MAXIMUM_REQUIRED_AGE = 100;
export const PASSWORD_MIN_CHARS = 12;
export const SLUG_MAX_CHARACTER_LENGTH = 128;
export const BANK_ACCOUNT_NOTES_MAX_LENGTH = 200;
export const BILLING_DESCRIPTOR_MAX_LENGTH = 21;
export const ACCEPTED_IMAGE_FORMATS =
"image/png, image/jpeg, image/jpg, image/webp, image/pdf";
export const ACCEPTED_IMAGE_PNG_FORMATS = "image/png";
export const MAX_TEXT_LENGTH = 1600;
export const REFUND_POLICY_MAX_TEXT_LENGTH = 1600;
export const ORANGE_TEXT_THRESHOLD = 50;
export const MERCHANT_PROVIDER_MAX_CHARS = 128;
export const SLUG_MAX_PREFIX_LENGTH_DESKTOP = 50;
export const SLUG_MAX_PREFIX_LENGTH_MOBILE = 25;
export const FILES_UPLOAD_GENERAL_LABEL = `Up to ${MAX_UPLOAD_SIZE.label} each (.pdf, .png, .jpg, .jpeg, .webp, .heic)`;
export const durations: Record<string, any> = {
"One-Time": ["Lifetime"],
Monthly: ["3 months", "6 months", "12 months", "24 months", "Every Month"],
Quarterly: [
"3 months",
"6 months",
"12 months",
"24 months",
"Every Quarter",
],
Yearly: ["3 years", "5 years", "10 years", "Every Year"],
};
export const ANY_AMOUNT_MIN = 1;
export const ANY_AMOUNT_MAX = 25000;
export const ANY_AMOUNT_MIN_STR = "1.00";
export const ANY_AMOUNT_MAX_STR = "25000.00";
export const VIDEO_BASE_URL = `${process.env.VITE_ASSETS_CDN_HOST}`;
export const BACKGROUND_VIDEO_PRIMARY = `${VIDEO_BASE_URL}/background.mp4`;
export const MANAGE_MONEY_PROCESSING_VIDEO = `${VIDEO_BASE_URL}/-4476-4d78-89a2-85cc2d1d3bd0.mp4`;
export const TERMS_OF_SERVICE_URL = "/terms_of_service";
export const PRIVACY_POLICY_URL = "https://www.givecorporation.com/privacy/";
export const SELF_ASSESSMENT_ATTESTATION_OF_COMPLIANCE_URL =
"https://listings.pcisecuritystandards.org/documents/SAQ_A_v3.pdf";
export const MCC_LABEL = "Merchant Category Code (MCC)";
export const navigationKeys = [
"ArrowDown",
"ArrowUp",
"ArrowLeft",
"ArrowRight",
"Enter",
"Escape",
"Backspace",
"Delete",
"Tab",
];
export const COMPANY_SIGNATURE = "GivePayments";
export const AMOUNTS_REGION = "en-US";
export const DOMAIN_NAME = "givepayments.com";
export const shouldBeHidden = {
merchantAgreement: false,
conversations: false,
hideForPresentation: true,
riskProfile: false,
refund: false,
transferMoney: false,
welcomePage: true,
customersLocations: true,
customPermission: false,
enterpriseConfiguration: false,
deescalationLevel: true,
pushNotificationSettings: false,
changeLog: false,
settlement: false,
HIDE_CODE_ICON_FF: true,
};
export const SIDE_PANEL_BUTTON_OFFSET = 12;
export const MAX_ALLOWED_AMOUNT = 1000000;
export const MAX_ALLOWED_FORMATTED = MAX_ALLOWED_AMOUNT.toLocaleString("en-US");
export const MAX_AMOUNT_TARGET = 1e12; // 1 Trillion
export const rebrandedPages = [
"/acquirer/merchants",
"/provider/merchants",
"/acquirer/providers",
"/acquirer/disputes",
"/acquirer/manage-money",
"/provider/manage-money",
"/acquirer/transactions",
"/provider/transactions",
"/merchant/payment-forms",
"/merchant/fundraisers",
"/merchant/products",
"/merchant/invoices",
"/merchant/events",
"/merchant/memberships",
"/merchant/sweepstakes",
"/merchant/manage-money",
"/merchant/developer",
"/merchant/customers",
"/provider/developer",
"/acquirer/transfers",
"/provider/transfers",
"/acquirer/settlements",
];
export const detailsReportPages = [
"/merchant/payment-forms/",
"/merchant/fundraisers/",
"/merchant/standard/",
"/merchant/invoices/",
"/merchant/events/",
"/merchant/memberships/",
"/merchant/sweepstakes/",
"/merchant/products/",
];
export const isTestEnvironment = process.env.NODE_ENV === "test";
export const WEBSITE_URL_FIELD = "Website, Social Media or Marketplace URL";
export const BUSINESS_PURPOSE_FIELD = "Goods and/or Services Description";
export const FILE_MAX_SIZE = MAX_UPLOAD_SIZE.value;
export const MERCHANT_PERMALINK_FIELD = "GivePayments URL";
export const PROVIDER_PERMALINK_FIELD = "Provider URL";
export const BA_DOCUMENTS = {
cta: "Step 1) Add Bank Account Details",
name_input: "Name on account",
step_2: {
title: "Step 2) Add Bank Account Statement",
title_v1: "Step 1) Add Bank Account Statement",
list: [
"Bank Name",
"Recent Statement Date",
"Last 4 Digits on the Account",
"Business or Individual Name associated to the business TIN#",
],
info: "Important: The bank statement must include the following details",
},
step_3: {
title: "Step 3) Confirm Access to Bank Account",
title_v1: "Step 2) Confirm Access to Bank Account",
list: [
"Bank Account Name",
"Last 4 Digits on the Account",
"Website URL Visible in the browser",
],
info: "Important: To confirm access to the bank account, please use your handheld device to take a clear photo of your online banking portal showing the following details",
},
};
export const DECLINED_SUSPENDED_BP_ERROR =
"This business profile cannot be added due to its status. Contact support for help.";
export const AVAILABLE_TAX_ID_ERROR =
"This Tax ID belongs to an active business. Use “Link to an existing profile” feature in order to link Business profile.";
export enum OFAC_STATUS {
POSSIBLE_MATCH = "possible_match",
CONFIRMED_MATCH = "confirmed_match",
}
export const PAY_CARD_FEES_TEXT =
"I wish to cover the cost of the transaction fees.";
export const SELFIE_STEP_LABEL = "Picture with ID";
export const TAKE_SELFIE_INSTRUCTION = "Take Picture Holding ID";
export const CARD_FEES_LABEL = "Card Processing Fees";
export const CURRENCY = "USD";
export const DEFAULT_MERCHANT_AMOUNTS = {
averageTicketAmount: "200",
highTicketAmount: "1000",
estimatedAnnualRevenue: "500000",
};
export const DEFAULT_PROVIDER_AMOUNTS = {
averageTicketAmount: "200",
highTicketAmount: "5000",
estimatedAnnualRevenue: "500000",
};
export const MINIMUM_TRANSFER_BALANCE_USD = 10;
export const SUSPENDED_PROFILE_PROD_KEY_TOOLTIP_MESSAGE =
"Your profile is suspended. Production API key generation is restricted at the moment.";
export const SUSPENDED_PROFILE_SANDBOX_KEY_TOOLTIP_MESSAGE =
"Your profile is suspended. Sandbox key generation is restricted at the moment.";
export const GENERAL_NOT_ALLOWED =
"Key generation is not allowed at the moment.";
export const PROVIDER_PROD_KEY_TOOLTIP_MESSAGE =
"Your profile is not approved yet. Production API key generation is restricted at the moment.";
export const MERCHANT_PROD_KEY_TOOLTIP_MESSAGE =
"You are not authorized to process or transfer money. Production API key generation is temporarily restricted.";
export const giveCorpAddress = {
line1: "3200 E Camelback Rd",
line2: "Phoenix, AZ 85018",
};
export const CHARGEBACK_FEE = 35.0;
export const CHARGEBACK_REFUND_FEE = 35.0;
export const AUTOMATED_CHARGEBACK_DISPUTE_FEE = 0;
export const CHARGEBACK_REFUND = "chargeback refund";
export const MANAGE_MONEY_TABLE_TYPES = {
ACQUIRER_PROVIDER: "acquirer-provider-manage-money",
MERCHANT: "manage-money",
} as const;
export const TRANSACTIONS_TABLE_TYPES = {
TRANSFERS: "transfers",
} as const;
export const SIDEMENU_WIDTH = 92;
export const MAX_LENGTH_ZIP_CODE_DIGITS = {
US: "10", // allows XXXXX-XXXX or XXXXX XXXX format
NON_US: "10",
} as const;
export const APP_BAR_HEIGHT_64 = 64;
export const MAX_PRODUCT_TYPES_DISPLAY = 6;
|