All files / src/features/Merchants/MerchantSidePanel/Modals/ProviderConfigurationModal/constants EnterpriseConfiguration.constants.ts

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

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 12871x                                                                                                                                                                                                                                               71x   71x          
export const EnterpriseConfigurationList = [
  {
    name: "modify_merchant",
    displayName: "Enable to Modify Merchants and access API",
    description:
      "If enabled, the Provider can edit all merchant fields and control API access.",
    group: "Permissions Management",
    isActive: false,
    defaultValue: true,
    configurationID: 1,
  },
  {
    name: "merchant_underwriting",
    displayName: "Enable Merchant Underwriting",
    description:
      "If enabled, Providers have full underwriting access, including approvals, notifications, document management, and PEP/OFAC checks.",
    group: "Permissions Management",
    isActive: false,
    restrictedOnCreate: true,
    configurationID: 2,
  },
  {
    name: "merchant_underwriting_statuses",
    displayName: "Permit Underwriting Approvals",
    description: "If enabled, the Provider can approve Merchants.",
    group: "Permissions Management",
    isActive: false,
    restrictedOnCreate: true,
    configurationID: 3,
  },
  {
    name: "agreement_signing",
    displayName: "Enable Merchant Agreement Signing",
    description: "If enabled, the Provider can sign a Merchant Agreement.",
    group: "Permissions Management",
    isActive: false,
    configurationID: 4,
    defaultValue: true,
  },
  {
    name: "control_mode",
    displayName: "Permit Control Mode of a Merchant",
    description: "If enabled, the Provider can view and go into control mode.",
    group: "Permissions Management",
    isActive: false,
    configurationID: 5,
    defaultValue: true,
  },
  {
    name: "b_profile_linking",
    displayName:
      "Authorize Merchants to Associate with a Provider Business Profile",
    description:
      "If enabled, the Provider can link their Business Profile to a Merchant.",
    group: "Merchant Integration",
    isActive: false,
    configurationID: 6,
    defaultValue: true,
  },
  {
    name: "bank_account_linking",
    displayName: "Authorize Merchants to Connect to a Provider Bank Account",
    description:
      "If enabled, the Provider can link their Bank Account to a Merchant.",
    group: "Merchant Integration",
    isActive: false,
    configurationID: 7,
    defaultValue: true,
  },
  {
    name: "manage_bank_account",
    displayName: "Prohibit Merchants from Creating Bank Accounts",
    description:
      "If enabled, the Provider can prohibit the merchants from creating or editing Bank Accounts.",
    group: "Merchant Integration",
    isActive: false,
    configurationID: 8,
  },
  {
    name: "money_transfers",
    displayName: "Prohibit Merchants from Conducting Money Transfers",
    description:
      "If enabled, the provider can prohibit the merchants to make money transfers.",
    group: "Merchant Integration",
    isActive: false,
    configurationID: 9,
  },
  {
    name: "risk_monitoring",
    displayName: "Enable Merchant and Transaction Risk Monitoring",
    description:
      "If enabled, the Provider can view Merchant and transaction risk monitoring.",
    group: "Risk Management",
    isActive: false,
    restrictedOnCreate: true,
    configurationID: 10,
  },
  {
    name: "merchant_triggers",
    displayName: "Permit Disabling Merchant Triggers",
    description:
      "If enabled, the Provider can disable Merchant specific risk triggers.",
    group: "Risk Management",
    isActive: false,
    restrictedOnCreate: true,
    configurationID: 11,
  },
  {
    name: "risk_activity",
    displayName: "Permit Managing Risk Activity",
    description:
      "If enabled, the provider can mark the merchant’s risk activity as OK and block transactions. The provider can also configure ‘Able to Process’ and ‘Able to Transfer’ settings for the merchant.",
    group: "Risk Management",
    isActive: false,
    restrictedOnCreate: true,
    configurationID: 12,
  },
];
 
export const RESTRICTED_ON_CREATE_TOOLTIP =
  "This permission can only be enabled after the provider is created.";
 
export const EnterpriseConfigurationGroups = [
  "Permissions Management",
  "Merchant Integration",
  "Risk Management",
];