// @generated — do not edit
import { definePermissions } from "@tailor-platform/erp-kit/core";

export const { permissions } = definePermissions("notification", {
  auditConfig: [
    "anonymizeNotificationsForUser",
    "runNotificationAuditRetentionSweep",
  ],
  auditLogWrite: [
    "recordDeliveryEvent",
  ],
  channelRegistry: [
    "activateNotificationChannel",
    "createNotificationChannel",
    "deactivateNotificationChannel",
    "updateNotificationChannel",
  ],
  inbox: [
    "archiveNotification",
    "markAllNotificationsAsRead",
    "markNotificationAsRead",
    "markNotificationsAsSeen",
  ],
  ingest: [
    "logNotificationEvent",
  ],
  preferenceSelf: [
    "bulkUpdateNotificationPreferences",
    "resetNotificationPreferences",
    "updateNotificationPreference",
  ],
  slackWorkspaceIntegration: [
    "beginSlackWorkspaceInstall",
    "completeSlackWorkspaceInstall",
    "handleSlackAppUninstalled",
  ],
  subscriptionSelf: [
    "createNotificationSubscription",
    "deleteNotificationSubscription",
  ],
  template: [
    "createNotificationTemplate",
    "deleteNotificationTemplate",
    "updateNotificationTemplate",
  ],
} as const);
