UNPKG

@hongkongkiwi/clockify-master-mcp

Version:

Clockify Master MCP - The most comprehensive Model Context Protocol server for Clockify time tracking with full API integration, advanced filtering, and enterprise features

361 lines 11.4 kB
import { z } from 'zod'; export declare const objectIdSchema: z.ZodString; export declare const workspaceIdSchema: z.ZodObject<{ workspaceId: z.ZodString; }, "strip", z.ZodTypeAny, { workspaceId: string; }, { workspaceId: string; }>; export declare const userIdSchema: z.ZodObject<{ userId: z.ZodString; }, "strip", z.ZodTypeAny, { userId: string; }, { userId: string; }>; export declare const projectIdSchema: z.ZodObject<{ projectId: z.ZodString; }, "strip", z.ZodTypeAny, { projectId: string; }, { projectId: string; }>; export declare const clientIdSchema: z.ZodObject<{ clientId: z.ZodString; }, "strip", z.ZodTypeAny, { clientId: string; }, { clientId: string; }>; export declare const tagIdSchema: z.ZodObject<{ tagId: z.ZodString; }, "strip", z.ZodTypeAny, { tagId: string; }, { tagId: string; }>; export declare const taskIdSchema: z.ZodObject<{ taskId: z.ZodString; }, "strip", z.ZodTypeAny, { taskId: string; }, { taskId: string; }>; export declare const timeEntryIdSchema: z.ZodObject<{ timeEntryId: z.ZodString; }, "strip", z.ZodTypeAny, { timeEntryId: string; }, { timeEntryId: string; }>; export declare const dateRangeSchema: z.ZodObject<{ start: z.ZodString; end: z.ZodString; }, "strip", z.ZodTypeAny, { start: string; end: string; }, { start: string; end: string; }>; export declare const paginationSchema: z.ZodObject<{ page: z.ZodOptional<z.ZodNumber>; pageSize: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { page?: number | undefined; pageSize?: number | undefined; }, { page?: number | undefined; pageSize?: number | undefined; }>; export declare const createTimeEntrySchema: z.ZodObject<{ workspaceId: z.ZodString; description: z.ZodString; start: z.ZodString; end: z.ZodOptional<z.ZodString>; projectId: z.ZodOptional<z.ZodString>; taskId: z.ZodOptional<z.ZodString>; tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; billable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { workspaceId: string; start: string; description: string; billable: boolean; projectId?: string | undefined; taskId?: string | undefined; end?: string | undefined; tagIds?: string[] | undefined; }, { workspaceId: string; start: string; description: string; projectId?: string | undefined; taskId?: string | undefined; end?: string | undefined; tagIds?: string[] | undefined; billable?: boolean | undefined; }>; export declare const updateTimeEntrySchema: z.ZodObject<{ workspaceId: z.ZodString; timeEntryId: z.ZodString; description: z.ZodOptional<z.ZodString>; start: z.ZodOptional<z.ZodString>; end: z.ZodOptional<z.ZodString>; projectId: z.ZodOptional<z.ZodString>; taskId: z.ZodOptional<z.ZodString>; tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; billable: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { workspaceId: string; timeEntryId: string; projectId?: string | undefined; taskId?: string | undefined; start?: string | undefined; end?: string | undefined; description?: string | undefined; tagIds?: string[] | undefined; billable?: boolean | undefined; }, { workspaceId: string; timeEntryId: string; projectId?: string | undefined; taskId?: string | undefined; start?: string | undefined; end?: string | undefined; description?: string | undefined; tagIds?: string[] | undefined; billable?: boolean | undefined; }>; export declare const createProjectSchema: z.ZodObject<{ workspaceId: z.ZodString; name: z.ZodString; clientId: z.ZodOptional<z.ZodString>; color: z.ZodDefault<z.ZodOptional<z.ZodString>>; billable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; isPublic: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name: string; workspaceId: string; billable: boolean; color: string; isPublic: boolean; clientId?: string | undefined; note?: string | undefined; }, { name: string; workspaceId: string; clientId?: string | undefined; billable?: boolean | undefined; color?: string | undefined; isPublic?: boolean | undefined; note?: string | undefined; }>; export declare const updateProjectSchema: z.ZodObject<{ workspaceId: z.ZodString; projectId: z.ZodString; name: z.ZodOptional<z.ZodString>; clientId: z.ZodOptional<z.ZodString>; color: z.ZodOptional<z.ZodString>; billable: z.ZodOptional<z.ZodBoolean>; isPublic: z.ZodOptional<z.ZodBoolean>; archived: z.ZodOptional<z.ZodBoolean>; note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { workspaceId: string; projectId: string; name?: string | undefined; archived?: boolean | undefined; clientId?: string | undefined; billable?: boolean | undefined; color?: string | undefined; isPublic?: boolean | undefined; note?: string | undefined; }, { workspaceId: string; projectId: string; name?: string | undefined; archived?: boolean | undefined; clientId?: string | undefined; billable?: boolean | undefined; color?: string | undefined; isPublic?: boolean | undefined; note?: string | undefined; }>; export declare const createClientSchema: z.ZodObject<{ workspaceId: z.ZodString; name: z.ZodString; email: z.ZodOptional<z.ZodString>; address: z.ZodOptional<z.ZodString>; note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name: string; workspaceId: string; email?: string | undefined; note?: string | undefined; address?: string | undefined; }, { name: string; workspaceId: string; email?: string | undefined; note?: string | undefined; address?: string | undefined; }>; export declare const createTagSchema: z.ZodObject<{ workspaceId: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; workspaceId: string; }, { name: string; workspaceId: string; }>; export declare const createTaskSchema: z.ZodObject<{ workspaceId: z.ZodString; projectId: z.ZodString; name: z.ZodString; assigneeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; estimate: z.ZodOptional<z.ZodString>; status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ACTIVE", "DONE"]>>>; billable: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; workspaceId: string; status: "ACTIVE" | "DONE"; projectId: string; billable?: boolean | undefined; assigneeIds?: string[] | undefined; estimate?: string | undefined; }, { name: string; workspaceId: string; projectId: string; status?: "ACTIVE" | "DONE" | undefined; billable?: boolean | undefined; assigneeIds?: string[] | undefined; estimate?: string | undefined; }>; export declare const reportRequestSchema: z.ZodObject<{ workspaceId: z.ZodString; dateRangeStart: z.ZodString; dateRangeEnd: z.ZodString; userIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; clientIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; billable: z.ZodOptional<z.ZodEnum<["BILLABLE", "NON_BILLABLE", "BOTH"]>>; groupBy: z.ZodOptional<z.ZodArray<z.ZodEnum<["USER", "PROJECT", "CLIENT", "TAG", "DATE", "TASK"]>, "many">>; }, "strip", z.ZodTypeAny, { workspaceId: string; dateRangeStart: string; dateRangeEnd: string; tagIds?: string[] | undefined; billable?: "BILLABLE" | "NON_BILLABLE" | "BOTH" | undefined; userIds?: string[] | undefined; projectIds?: string[] | undefined; clientIds?: string[] | undefined; groupBy?: ("PROJECT" | "USER" | "DATE" | "TASK" | "CLIENT" | "TAG")[] | undefined; }, { workspaceId: string; dateRangeStart: string; dateRangeEnd: string; tagIds?: string[] | undefined; billable?: "BILLABLE" | "NON_BILLABLE" | "BOTH" | undefined; userIds?: string[] | undefined; projectIds?: string[] | undefined; clientIds?: string[] | undefined; groupBy?: ("PROJECT" | "USER" | "DATE" | "TASK" | "CLIENT" | "TAG")[] | undefined; }>; export declare const stopTimerSchema: z.ZodObject<{ workspaceId: z.ZodString; userId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { workspaceId: string; userId?: string | undefined; }, { workspaceId: string; userId?: string | undefined; }>; export declare const searchProjectsSchema: z.ZodObject<{ workspaceId: z.ZodString; name: z.ZodOptional<z.ZodString>; clientId: z.ZodOptional<z.ZodString>; archived: z.ZodOptional<z.ZodBoolean>; page: z.ZodOptional<z.ZodNumber>; pageSize: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { workspaceId: string; name?: string | undefined; archived?: boolean | undefined; clientId?: string | undefined; page?: number | undefined; pageSize?: number | undefined; }, { workspaceId: string; name?: string | undefined; archived?: boolean | undefined; clientId?: string | undefined; page?: number | undefined; pageSize?: number | undefined; }>; export declare const searchUsersSchema: z.ZodObject<{ workspaceId: z.ZodString; name: z.ZodOptional<z.ZodString>; email: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_EMAIL_VERIFICATION"]>>; }, "strip", z.ZodTypeAny, { workspaceId: string; email?: string | undefined; name?: string | undefined; status?: "ACTIVE" | "INACTIVE" | "PENDING_EMAIL_VERIFICATION" | undefined; }, { workspaceId: string; email?: string | undefined; name?: string | undefined; status?: "ACTIVE" | "INACTIVE" | "PENDING_EMAIL_VERIFICATION" | undefined; }>; export declare const bulkTimeEntriesSchema: z.ZodObject<{ workspaceId: z.ZodString; timeEntryIds: z.ZodArray<z.ZodString, "many">; action: z.ZodEnum<["DELETE", "UPDATE"]>; updates: z.ZodOptional<z.ZodObject<{ projectId: z.ZodOptional<z.ZodString>; taskId: z.ZodOptional<z.ZodString>; tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; billable: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { projectId?: string | undefined; taskId?: string | undefined; tagIds?: string[] | undefined; billable?: boolean | undefined; }, { projectId?: string | undefined; taskId?: string | undefined; tagIds?: string[] | undefined; billable?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { workspaceId: string; timeEntryIds: string[]; action: "DELETE" | "UPDATE"; updates?: { projectId?: string | undefined; taskId?: string | undefined; tagIds?: string[] | undefined; billable?: boolean | undefined; } | undefined; }, { workspaceId: string; timeEntryIds: string[]; action: "DELETE" | "UPDATE"; updates?: { projectId?: string | undefined; taskId?: string | undefined; tagIds?: string[] | undefined; billable?: boolean | undefined; } | undefined; }>; //# sourceMappingURL=schemas.d.ts.map