This PR adds a new toolkit for integrating with Zendesk Help Center and ticketing system. Features - Search Articles: Search Help Center knowledge base with filters for text, categories, labels, and dates - List Tickets: Retrieve all open support tickets - Get Comments: Retrieve all comments for a specific ticket to understand the context - Add Comments: Add public or internal comments to existing tickets - Solve Tickets: Mark tickets as solved with optional internal resolution comments Testing & Quality - Comprehensive test suite - Evaluation scripts for real-world testing - All tests passing (make test) - Code quality checks passing (make check) - All evals passing --------- Co-authored-by: “lgesuellip” <“lgesuellipinto@uade.edu.ar”> Co-authored-by: lgesuellip <102637283+lgesuellip@users.noreply.github.com> Co-authored-by: “lgesuellip” <lgesuellipinto@uade.edu.ar>
27 lines
454 B
Python
27 lines
454 B
Python
"""Enums for the Zendesk toolkit."""
|
|
|
|
from enum import Enum
|
|
|
|
|
|
class ArticleSortBy(Enum):
|
|
"""Sort fields for article search results."""
|
|
|
|
CREATED_AT = "created_at"
|
|
RELEVANCE = "relevance"
|
|
|
|
|
|
class SortOrder(Enum):
|
|
"""Sort order direction."""
|
|
|
|
ASC = "asc"
|
|
DESC = "desc"
|
|
|
|
|
|
class TicketStatus(Enum):
|
|
"""Valid ticket statuses."""
|
|
|
|
NEW = "new"
|
|
OPEN = "open"
|
|
PENDING = "pending"
|
|
SOLVED = "solved"
|
|
CLOSED = "closed"
|