UNPKG

@chinchillaenterprises/mcp-upwork

Version:

Modular Upwork MCP server for job search and proposal management via Upwork API

77 lines 2.65 kB
import * as listContracts from "./list-contracts.js"; import * as getContractDetails from "./get-contract-details.js"; export declare const contractToolDefinitions: { [x: string]: unknown; name: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | undefined; required?: string[] | undefined; }; description?: string | undefined; title?: string | undefined; outputSchema?: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | undefined; required?: string[] | undefined; } | undefined; annotations?: { [x: string]: unknown; title?: string | undefined; readOnlyHint?: boolean | undefined; destructiveHint?: boolean | undefined; idempotentHint?: boolean | undefined; openWorldHint?: boolean | undefined; } | undefined; _meta?: { [x: string]: unknown; } | undefined; }[]; export declare const contractToolHandlers: { upwork_list_contracts: (args: import("zod").TypeOf<typeof listContracts.schema>) => Promise<{ success: boolean; contracts: any; totalContracts: any; pagination: { limit: number; hasMore: boolean; }; }>; upwork_get_contract_details: (args: import("zod").TypeOf<typeof getContractDetails.schema>) => Promise<{ success: boolean; contract: any; contractId: string; }>; }; export declare const contractSchemas: { upwork_list_contracts: import("zod").ZodObject<{ status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "ended", "cancelled"]>>; type: import("zod").ZodOptional<import("zod").ZodEnum<["hourly", "fixed-price"]>>; page: import("zod").ZodDefault<import("zod").ZodNumber>; limit: import("zod").ZodDefault<import("zod").ZodNumber>; }, "strip", import("zod").ZodTypeAny, { page: number; limit: number; type?: "hourly" | "fixed-price" | undefined; status?: "active" | "ended" | "cancelled" | undefined; }, { type?: "hourly" | "fixed-price" | undefined; status?: "active" | "ended" | "cancelled" | undefined; page?: number | undefined; limit?: number | undefined; }>; upwork_get_contract_details: import("zod").ZodObject<{ contract_id: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { contract_id: string; }, { contract_id: string; }>; }; //# sourceMappingURL=index.d.ts.map