Closed IkkiOcean closed 2 days ago
Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project.
Hello @IkkiOcean! Your issue #974 has been closed. Thank you for your contribution!
Description:
We need to create a system to manage agents who will solve tickets in our ticketing application. The agent will be responsible for handling, updating, and solving tickets. This will involve creating the following components:
Agent Schema:
name
(string)email
(string)assigned_tickets
(array of ticket IDs)status
(active/inactive)role
(admin, support, etc.)created_at
(timestamp)Agent Controller:
Agent Middleware:
Agent Routes:
GET /agents
: List all agents.POST /agents
: Create a new agent.PUT /agents/:id
: Update agent details.DELETE /agents/:id
: Delete an agent.PATCH /agents/:id/assign-ticket
: Assign a ticket to an agent.Steps to Reproduce/Implementation Plan:
Create Agent Schema:
email
andstatus
.Create Controller Functions:
Create Middleware:
Create Routes:
Acceptance Criteria: