@aot-tech/clockify-mcp-server
Version:
MCP Server for Clockify time tracking integration with AI tools
41 lines (40 loc) • 1.33 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DetailedReportSchema = void 0;
const zod_1 = require("zod");
exports.DetailedReportSchema = zod_1.z.object({
workspaceId: zod_1.z
.string()
.describe('The ID of the workspace to generate the report for'),
dateRangeStart: zod_1.z
.coerce
.date()
.optional()
.describe('Start date for the report period (ISO format)'),
dateRangeEnd: zod_1.z
.coerce
.date()
.optional()
.describe('End date for the report period (ISO format)'),
users: zod_1.z
.array(zod_1.z.string())
.optional()
.describe('Array of user IDs to include in the report'),
projects: zod_1.z
.array(zod_1.z.string())
.optional()
.describe('Array of project IDs to include in the report'),
clients: zod_1.z
.array(zod_1.z.string())
.optional()
.describe('Array of client IDs to include in the report'),
tags: zod_1.z
.array(zod_1.z.string())
.optional()
.describe('Array of tag IDs to include in the report'),
includeTimeEntries: zod_1.z
.boolean()
.optional()
.default(true)
.describe('Whether to include detailed time entries in the report'),
});