/** Mirrors backend app/permissions/definitions.py */
export const COMMUNICATION_PERMISSIONS = [
  "communication.view",
  "communication.manage",
  "communication.providers.view",
  "communication.providers.manage",
  "communication.senders.view",
  "communication.senders.manage",
  "communication.templates.view",
  "communication.templates.manage",
  "communication.templates.approve",
  "communication.contacts.view",
  "communication.contacts.manage",
  "communication.sources.view",
  "communication.sources.manage",
  "communication.messages.view",
  "communication.messages.send",
  "communication.messages.cancel",
  "communication.queue.view",
  "communication.queue.manage",
  "communication.otp.request",
  "communication.otp.verify",
  "communication.webhooks.manage",
  "communication.monitoring.view",
] as const;

export type CommunicationPermission = (typeof COMMUNICATION_PERMISSIONS)[number];
