Skip to main content
Glama

MCP Pedidos

by reyesbho
models.ts1.27 kB
// Enum único para todos los estatus export enum STATUS { DONE = "DONE", BACKLOG = "BACKLOG", CANCELED = "CANCELED", INCOMPLETE = "INCOMPLETE", DELETE = "DELETE", ALL = "ALL", } // Marca de tiempo tipo Firestore export interface FirestoreTimestamp { seconds: number; nanoseconds: number; } export interface Producto { imagen:string | undefined, descripcion: string; id: string; tag: string; estatus:boolean } export interface Size { id: string; descripcion: string; tags: string[]; } export interface ProductoPedido { id?: string; size: Size; cantidad: number; producto: Producto; caracteristicas: string[]; precio: number; } export interface Pedido { id: string | undefined; total?: number; cliente: string; lugarEntrega: string; fechaCreacion?: FirestoreTimestamp; estatusPago?: 'PENDIENTE' | 'PAGADO'; registradoPor?: string; productos?: ProductoPedido[]; estatus?: STATUS.BACKLOG | STATUS.CANCELED | STATUS.DELETE | STATUS.DONE | STATUS.INCOMPLETE; fechaEntrega: FirestoreTimestamp; } export interface PedidosResponse { pedidos:Pedido[], nextCursor: string, hasMore: boolean, total: number } export interface Pagination{ pageSize: number; page: number; totalItems:number; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/reyesbho/mcp-moments'

If you have feedback or need assistance with the MCP directory API, please join our Discord server