UNPKG

@aashari/mcp-server-atlassian-jira

Version:

Node.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracki

1,675 lines 578 kB
/** * Types for Atlassian Jira Issues API */ import { z } from 'zod'; /** * Issue comment schema */ declare const IssueCommentSchema: z.ZodObject<{ id: z.ZodString; self: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; body: z.ZodUnion<[z.ZodString, z.ZodAny]>; created: z.ZodString; updated: z.ZodString; updateAuthor: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; visibility: z.ZodOptional<z.ZodObject<{ identifier: z.ZodString; type: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; identifier: string; }, { value: string; type: string; identifier: string; }>>; }, "strip", z.ZodTypeAny, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }>; /** * Comments pagination response schema - used when retrieving comments for an issue */ declare const PageOfCommentsSchema: z.ZodObject<{ comments: z.ZodArray<z.ZodObject<{ id: z.ZodString; self: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; body: z.ZodUnion<[z.ZodString, z.ZodAny]>; created: z.ZodString; updated: z.ZodString; updateAuthor: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; visibility: z.ZodOptional<z.ZodObject<{ identifier: z.ZodString; type: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; identifier: string; }, { value: string; type: string; identifier: string; }>>; }, "strip", z.ZodTypeAny, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }>, "many">; maxResults: z.ZodNumber; total: z.ZodNumber; startAt: z.ZodNumber; }, "strip", z.ZodTypeAny, { total: number; startAt: number; maxResults: number; comments: { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }[]; }, { total: number; startAt: number; maxResults: number; comments: { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }[]; }>; export type PageOfComments = z.infer<typeof PageOfCommentsSchema>; /** * Atlassian Document Format (ADF) document schema * Simplified version of the full ADF schema focusing on the minimal required structure */ declare const AdfDocumentSchema: z.ZodObject<{ version: z.ZodNumber; type: z.ZodLiteral<"doc">; content: z.ZodArray<z.ZodObject<{ type: z.ZodString; content: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>; text: z.ZodOptional<z.ZodString>; attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }, { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "doc"; content: { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }[]; version: number; }, { type: "doc"; content: { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }[]; version: number; }>; export type AdfDocument = z.infer<typeof AdfDocumentSchema>; /** * Comment body for creating/updating comments * Can be either ADF document object or a simple string (converted to ADF) */ declare const CommentBodySchema: z.ZodUnion<[z.ZodObject<{ version: z.ZodNumber; type: z.ZodLiteral<"doc">; content: z.ZodArray<z.ZodObject<{ type: z.ZodString; content: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>; text: z.ZodOptional<z.ZodString>; attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }, { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "doc"; content: { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }[]; version: number; }, { type: "doc"; content: { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }[]; version: number; }>, z.ZodObject<{ body: z.ZodUnion<[z.ZodString, z.ZodObject<{ version: z.ZodNumber; type: z.ZodLiteral<"doc">; content: z.ZodArray<z.ZodObject<{ type: z.ZodString; content: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>; text: z.ZodOptional<z.ZodString>; attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; }, "strip", z.ZodTypeAny, { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }, { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "doc"; content: { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }[]; version: number; }, { type: "doc"; content: { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }[]; version: number; }>]>; }, "strip", z.ZodTypeAny, { body: string | { type: "doc"; content: { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }[]; version: number; }; }, { body: string | { type: "doc"; content: { type: string; text?: string | undefined; content?: any[] | undefined; attrs?: Record<string, any> | undefined; }[]; version: number; }; }>]>; export type CommentBody = z.infer<typeof CommentBodySchema>; /** * Parameters for listing comments */ export interface ListCommentsParams { startAt?: number; maxResults?: number; orderBy?: string; expand?: string[]; } /** * Parameters for adding a comment */ export interface AddCommentParams { body: CommentBody; visibility?: { type: string; value: string; }; expand?: string[]; } /** * Issue fields schema */ declare const IssueFieldsSchema: z.ZodObject<{ watcher: z.ZodOptional<z.ZodObject<{ isWatching: z.ZodBoolean; self: z.ZodString; watchCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { self: string; isWatching: boolean; watchCount: number; }, { self: string; isWatching: boolean; watchCount: number; }>>; attachment: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; self: z.ZodString; filename: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; accountType: z.ZodOptional<z.ZodString>; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; avatarUrls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; avatarUrls?: Record<string, string> | undefined; accountType?: string | undefined; }, { self: string; displayName: string; active: boolean; accountId: string; avatarUrls?: Record<string, string> | undefined; accountType?: string | undefined; }>; created: z.ZodString; size: z.ZodNumber; mimeType: z.ZodString; content: z.ZodString; thumbnail: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; self: string; content: string; filename: string; author: { self: string; displayName: string; active: boolean; accountId: string; avatarUrls?: Record<string, string> | undefined; accountType?: string | undefined; }; created: string; size: number; mimeType: string; thumbnail?: string | undefined; }, { id: string; self: string; content: string; filename: string; author: { self: string; displayName: string; active: boolean; accountId: string; avatarUrls?: Record<string, string> | undefined; accountType?: string | undefined; }; created: string; size: number; mimeType: string; thumbnail?: string | undefined; }>, "many">>; description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodAny]>>; project: z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; self: z.ZodString; avatarUrls: z.ZodRecord<z.ZodString, z.ZodString>; simplified: z.ZodBoolean; insight: z.ZodOptional<z.ZodObject<{ lastIssueUpdateTime: z.ZodString; totalIssueCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { lastIssueUpdateTime: string; totalIssueCount: number; }, { lastIssueUpdateTime: string; totalIssueCount: number; }>>; projectCategory: z.ZodOptional<z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional<z.ZodString>; self: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; self: string; description?: string | undefined; }, { name: string; id: string; self: string; description?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { key: string; name: string; id: string; self: string; simplified: boolean; avatarUrls: Record<string, string>; insight?: { lastIssueUpdateTime: string; totalIssueCount: number; } | undefined; projectCategory?: { name: string; id: string; self: string; description?: string | undefined; } | undefined; }, { key: string; name: string; id: string; self: string; simplified: boolean; avatarUrls: Record<string, string>; insight?: { lastIssueUpdateTime: string; totalIssueCount: number; } | undefined; projectCategory?: { name: string; id: string; self: string; description?: string | undefined; } | undefined; }>; comment: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{ id: z.ZodString; self: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; body: z.ZodUnion<[z.ZodString, z.ZodAny]>; created: z.ZodString; updated: z.ZodString; updateAuthor: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; visibility: z.ZodOptional<z.ZodObject<{ identifier: z.ZodString; type: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; identifier: string; }, { value: string; type: string; identifier: string; }>>; }, "strip", z.ZodTypeAny, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }>, "many">, z.ZodObject<{ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; self: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; body: z.ZodUnion<[z.ZodString, z.ZodAny]>; created: z.ZodString; updated: z.ZodString; updateAuthor: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; visibility: z.ZodOptional<z.ZodObject<{ identifier: z.ZodString; type: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; identifier: string; }, { value: string; type: string; identifier: string; }>>; }, "strip", z.ZodTypeAny, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }>, "many">>; maxResults: z.ZodOptional<z.ZodNumber>; total: z.ZodOptional<z.ZodNumber>; startAt: z.ZodOptional<z.ZodNumber>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; self: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; body: z.ZodUnion<[z.ZodString, z.ZodAny]>; created: z.ZodString; updated: z.ZodString; updateAuthor: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; visibility: z.ZodOptional<z.ZodObject<{ identifier: z.ZodString; type: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; identifier: string; }, { value: string; type: string; identifier: string; }>>; }, "strip", z.ZodTypeAny, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }>, "many">>; maxResults: z.ZodOptional<z.ZodNumber>; total: z.ZodOptional<z.ZodNumber>; startAt: z.ZodOptional<z.ZodNumber>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; self: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; body: z.ZodUnion<[z.ZodString, z.ZodAny]>; created: z.ZodString; updated: z.ZodString; updateAuthor: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; visibility: z.ZodOptional<z.ZodObject<{ identifier: z.ZodString; type: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; identifier: string; }, { value: string; type: string; identifier: string; }>>; }, "strip", z.ZodTypeAny, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; body?: any; visibility?: { value: string; type: string; identifier: string; } | undefined; }>, "many">>; maxResults: z.ZodOptional<z.ZodNumber>; total: z.ZodOptional<z.ZodNumber>; startAt: z.ZodOptional<z.ZodNumber>; }, z.ZodTypeAny, "passthrough">>]>>; issuelinks: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; type: z.ZodObject<{ id: z.ZodString; inward: z.ZodString; name: z.ZodString; outward: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; inward: string; outward: string; }, { name: string; id: string; inward: string; outward: string; }>; inwardIssue: z.ZodOptional<z.ZodObject<{ id: z.ZodString; key: z.ZodString; self: z.ZodString; fields: z.ZodObject<{ summary: z.ZodOptional<z.ZodString>; status: z.ZodObject<{ iconUrl: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; iconUrl: string; }, { name: string; iconUrl: string; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional<z.ZodString>; status: z.ZodObject<{ iconUrl: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; iconUrl: string; }, { name: string; iconUrl: string; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional<z.ZodString>; status: z.ZodObject<{ iconUrl: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; iconUrl: string; }, { name: string; iconUrl: string; }>; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { key: string; id: string; self: string; fields: { status: { name: string; iconUrl: string; }; summary?: string | undefined; } & { [k: string]: unknown; }; }, { key: string; id: string; self: string; fields: { status: { name: string; iconUrl: string; }; summary?: string | undefined; } & { [k: string]: unknown; }; }>>; outwardIssue: z.ZodOptional<z.ZodObject<{ id: z.ZodString; key: z.ZodString; self: z.ZodString; fields: z.ZodObject<{ summary: z.ZodOptional<z.ZodString>; status: z.ZodObject<{ iconUrl: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; iconUrl: string; }, { name: string; iconUrl: string; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional<z.ZodString>; status: z.ZodObject<{ iconUrl: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; iconUrl: string; }, { name: string; iconUrl: string; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional<z.ZodString>; status: z.ZodObject<{ iconUrl: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; iconUrl: string; }, { name: string; iconUrl: string; }>; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { key: string; id: string; self: string; fields: { status: { name: string; iconUrl: string; }; summary?: string | undefined; } & { [k: string]: unknown; }; }, { key: string; id: string; self: string; fields: { status: { name: string; iconUrl: string; }; summary?: string | undefined; } & { [k: string]: unknown; }; }>>; }, "strip", z.ZodTypeAny, { type: { name: string; id: string; inward: string; outward: string; }; id: string; inwardIssue?: { key: string; id: string; self: string; fields: { status: { name: string; iconUrl: string; }; summary?: string | undefined; } & { [k: string]: unknown; }; } | undefined; outwardIssue?: { key: string; id: string; self: string; fields: { status: { name: string; iconUrl: string; }; summary?: string | undefined; } & { [k: string]: unknown; }; } | undefined; }, { type: { name: string; id: string; inward: string; outward: string; }; id: string; inwardIssue?: { key: string; id: string; self: string; fields: { status: { name: string; iconUrl: string; }; summary?: string | undefined; } & { [k: string]: unknown; }; } | undefined; outwardIssue?: { key: string; id: string; self: string; fields: { status: { name: string; iconUrl: string; }; summary?: string | undefined; } & { [k: string]: unknown; }; } | undefined; }>, "many">>; worklog: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{ id: z.ZodString; self: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; comment: z.ZodUnion<[z.ZodString, z.ZodAny]>; created: z.ZodString; updated: z.ZodString; issueId: z.ZodString; started: z.ZodString; timeSpent: z.ZodString; timeSpentSeconds: z.ZodNumber; updateAuthor: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; visibility: z.ZodOptional<z.ZodObject<{ identifier: z.ZodString; type: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; identifier: string; }, { value: string; type: string; identifier: string; }>>; }, "strip", z.ZodTypeAny, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; issueId: string; started: string; timeSpent: string; timeSpentSeconds: number; visibility?: { value: string; type: string; identifier: string; } | undefined; comment?: any; }, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; issueId: string; started: string; timeSpent: string; timeSpentSeconds: number; visibility?: { value: string; type: string; identifier: string; } | undefined; comment?: any; }>, "many">, z.ZodObject<{ worklogs: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; self: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; comment: z.ZodUnion<[z.ZodString, z.ZodAny]>; created: z.ZodString; updated: z.ZodString; issueId: z.ZodString; started: z.ZodString; timeSpent: z.ZodString; timeSpentSeconds: z.ZodNumber; updateAuthor: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; visibility: z.ZodOptional<z.ZodObject<{ identifier: z.ZodString; type: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; identifier: string; }, { value: string; type: string; identifier: string; }>>; }, "strip", z.ZodTypeAny, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; issueId: string; started: string; timeSpent: string; timeSpentSeconds: number; visibility?: { value: string; type: string; identifier: string; } | undefined; comment?: any; }, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; issueId: string; started: string; timeSpent: string; timeSpentSeconds: number; visibility?: { value: string; type: string; identifier: string; } | undefined; comment?: any; }>, "many">>; maxResults: z.ZodOptional<z.ZodNumber>; total: z.ZodOptional<z.ZodNumber>; startAt: z.ZodOptional<z.ZodNumber>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ worklogs: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; self: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; comment: z.ZodUnion<[z.ZodString, z.ZodAny]>; created: z.ZodString; updated: z.ZodString; issueId: z.ZodString; started: z.ZodString; timeSpent: z.ZodString; timeSpentSeconds: z.ZodNumber; updateAuthor: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; visibility: z.ZodOptional<z.ZodObject<{ identifier: z.ZodString; type: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; identifier: string; }, { value: string; type: string; identifier: string; }>>; }, "strip", z.ZodTypeAny, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; issueId: string; started: string; timeSpent: string; timeSpentSeconds: number; visibility?: { value: string; type: string; identifier: string; } | undefined; comment?: any; }, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; issueId: string; started: string; timeSpent: string; timeSpentSeconds: number; visibility?: { value: string; type: string; identifier: string; } | undefined; comment?: any; }>, "many">>; maxResults: z.ZodOptional<z.ZodNumber>; total: z.ZodOptional<z.ZodNumber>; startAt: z.ZodOptional<z.ZodNumber>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ worklogs: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; self: z.ZodString; author: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; comment: z.ZodUnion<[z.ZodString, z.ZodAny]>; created: z.ZodString; updated: z.ZodString; issueId: z.ZodString; started: z.ZodString; timeSpent: z.ZodString; timeSpentSeconds: z.ZodNumber; updateAuthor: z.ZodObject<{ accountId: z.ZodString; active: z.ZodBoolean; displayName: z.ZodString; self: z.ZodString; }, "strip", z.ZodTypeAny, { self: string; displayName: string; active: boolean; accountId: string; }, { self: string; displayName: string; active: boolean; accountId: string; }>; visibility: z.ZodOptional<z.ZodObject<{ identifier: z.ZodString; type: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; identifier: string; }, { value: string; type: string; identifier: string; }>>; }, "strip", z.ZodTypeAny, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; issueId: string; started: string; timeSpent: string; timeSpentSeconds: number; visibility?: { value: string; type: string; identifier: string; } | undefined; comment?: any; }, { id: string; self: string; author: { self: string; displayName: string; active: boolean; accountId: string; }; created: string; updated: string; updateAuthor: { self: string; displayName: string; active: boolean; accountId: string; }; issueId: string; started: string; timeSpent: string; timeSpentSeconds: number; visibility?: { value: string; type: string; identifier: string; } | undefined; comment?: any; }>, "many">>; maxResults: z.ZodOptional<z.ZodNumber>; total: z.ZodOptional<z.ZodNumber>; startAt: z.ZodOptional<z.ZodNumber>; }, z.ZodTypeAny, "passthrough">>]>>; updated: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; timetracking: z.ZodOptional<z.ZodObject<{ originalEstimate: z.ZodOptional<z.ZodString>; originalEstimateSeconds: z.ZodOptional<z.ZodNumber>; remainingEstimate: z.ZodOptional<z.ZodString