import { buildEntityRolesOpenApi, createEntityRolesHandlers } from "../../../../api/entity-roles-factory.js";
const metadata = {
  GET: { requireAuth: true, requireFeatures: ["customers.roles.view"] },
  POST: { requireAuth: true, requireFeatures: ["customers.roles.manage"] },
  PUT: { requireAuth: true, requireFeatures: ["customers.roles.manage"] },
  DELETE: { requireAuth: true, requireFeatures: ["customers.roles.manage"] }
};
const openApi = buildEntityRolesOpenApi("person");
const handlers = createEntityRolesHandlers("person");
const GET = handlers.GET;
const POST = handlers.POST;
const PUT = handlers.PUT;
const DELETE = handlers.DELETE;
export {
  DELETE,
  GET,
  POST,
  PUT,
  metadata,
  openApi
};
//# sourceMappingURL=route.js.map
