"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const express_1 = require("express");
const list_1 = require("./list");
const bulk_1 = require("./bulk");
const single_1 = require("./single");
const resolve_1 = require("./resolve");
const router = (0, express_1.Router)();
// Registration order matters: literal paths before parameterized /:id routes.
// GET /, /available, /types, /stats
(0, list_1.registerListRoutes)(router);
// POST /release-expired, PATCH /priority, POST /bulk-claim,
// POST /bulk-assign, PATCH /bulk-escalate, POST /bulk-triage
(0, bulk_1.registerBulkRoutes)(router);
// PATCH /:id/escalate, GET /by-workflow/:workflowId,
// GET /:id, POST /:id/claim, POST /:id/release
(0, single_1.registerSingleRoutes)(router);
// POST /:id/resolve
(0, resolve_1.registerResolveRoutes)(router);
exports.default = router;
