mcp-cisco-support
Version:
MCP server for Cisco Support APIs including Bug Search and future tools
105 lines • 3.05 kB
TypeScript
import { ToolArgs } from './validation.js';
export interface ApiResponse {
[key: string]: any;
}
export interface BugApiResponse extends ApiResponse {
bugs?: Array<{
bug_id: string;
headline: string;
status: string;
severity: string;
last_modified_date: string;
[key: string]: any;
}>;
total_results?: number;
}
export interface CaseApiResponse extends ApiResponse {
cases?: Array<{
case_id: string;
title: string;
status: string;
severity: string;
created_date: string;
last_modified_date: string;
[key: string]: any;
}>;
total_results?: number;
}
export interface EoxApiResponse extends ApiResponse {
EOXRecord?: Array<{
EOLProductID?: any;
ProductIDDescription?: any;
ProductBulletinNumber?: any;
LinkToProductBulletinURL?: any;
EOXExternalAnnouncementDate?: any;
EndOfSaleDate?: any;
EndOfSWMaintenanceReleases?: any;
EndOfRoutineFailureAnalysisDate?: any;
EndOfServiceContractRenewal?: any;
LastDateOfSupport?: any;
EndOfSvcAttachDate?: any;
UpdatedTimeStamp?: any;
EOXError?: {
ErrorID: string;
ErrorDescription: string;
ErrorDataType?: string;
ErrorDataValue?: string;
};
EOXMigrationDetails?: any;
EOXInputType?: string;
EOXInputValue?: string;
[key: string]: any;
}>;
PaginationResponseRecord?: {
PageIndex: number;
LastIndex: number;
TotalRecords: number;
PageRecords: number;
};
}
export declare function formatBugResults(data: BugApiResponse, searchContext?: {
toolName: string;
args: ToolArgs;
}): string;
export declare function formatCaseResults(data: CaseApiResponse, searchContext?: {
toolName: string;
args: ToolArgs;
}): string;
export declare function formatEoxResults(data: EoxApiResponse, searchContext?: {
toolName: string;
args: ToolArgs;
}): string;
export interface SmartBondingTicket {
SDCallID?: string;
CustCallID?: string;
ShortDescription?: string;
DetailedDescription?: string;
CallerInfo?: any;
ComponentInfo?: any;
Status?: string;
Priority?: string;
Severity?: string;
CreatedDate?: string;
ModifiedDate?: string;
[key: string]: any;
}
export interface SmartBondingApiResponse extends ApiResponse {
tickets?: SmartBondingTicket[];
total_results?: number;
status?: string;
message?: string;
SDCallID?: string;
CustCallID?: string;
correlation_id?: string;
_experimental_warning?: string;
_environment?: string;
}
/**
* ⚠️ EXPERIMENTAL: Format Smart Bonding API results
* UNTESTED - Requires Smart Bonding credentials to validate
*/
export declare function formatSmartBondingResults(data: SmartBondingApiResponse, searchContext?: {
toolName: string;
args: ToolArgs;
}): string;
//# sourceMappingURL=formatting.d.ts.map