@chinchillaenterprises/mcp-upwork
Version:
Modular Upwork MCP server for job search and proposal management via Upwork API
59 lines • 2.26 kB
TypeScript
import { Tool } from "@modelcontextprotocol/sdk/types.js";
import { UpworkClient } from "../../services/upwork-client.js";
export declare const getEarningsToolDefinition: Tool;
export declare function getEarningsHandler(args: unknown, upworkClient: UpworkClient): Promise<{
content: {
type: string;
text: string;
}[];
}>;
export declare const getEarningsTool: {
definition: {
[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;
};
handler: typeof getEarningsHandler;
schema: import("zod").ZodObject<{
period: import("zod").ZodEnum<["this_week", "last_week", "this_month", "last_month", "this_year", "last_year", "custom"]>;
start_date: import("zod").ZodOptional<import("zod").ZodString>;
end_date: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
period: "this_week" | "last_week" | "this_month" | "last_month" | "this_year" | "last_year" | "custom";
start_date?: string | undefined;
end_date?: string | undefined;
}, {
period: "this_week" | "last_week" | "this_month" | "last_month" | "this_year" | "last_year" | "custom";
start_date?: string | undefined;
end_date?: string | undefined;
}>;
};
//# sourceMappingURL=get-earnings.d.ts.map