import express from 'express';
const router = express.Router();
import * as fddController from './fdd.controller.js';
import { authenticate } from '../../common/middleware/auth.js';

router.use(authenticate as any);

router.get('/:applicationId', fddController.getAssignment);
router.post('/assign', fddController.assignAgency);
router.post('/report', fddController.uploadReport);
router.post('/flag', fddController.flagNonResponsive);

export default router;
