import { createRoleNotificationSchema } from "../../data/validators.js";
import { createBulkNotificationRoute, createBulkNotificationOpenApi } from "../../lib/routeHelpers.js";
const metadata = {
  POST: { requireAuth: true, requireFeatures: ["notifications.create"] }
};
const POST = createBulkNotificationRoute(createRoleNotificationSchema, "createForRole");
const openApi = createBulkNotificationOpenApi(
  createRoleNotificationSchema,
  "Create notifications for all users in a role",
  "Send the same notification to all users who have the specified role within the organization"
);
export {
  POST,
  metadata,
  openApi
};
//# sourceMappingURL=route.js.map
