/** Internal type. DO NOT USE DIRECTLY. */ type Exact = { [K in keyof T]: T[K] }; /** Internal type. DO NOT USE DIRECTLY. */ export type Incremental = | T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; }; import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; export type AddChecklistItemInput = { issueId: string; text: string; }; export type AreaOptionInput = { archived?: boolean; id: string; name: string; }; export type ChangeIssueStatusInput = { issueId: string; /** Required by statuses with requiresReason */ reason?: string | null | undefined; /** A status id */ status: string; }; export type CreateIssueInput = { /** An area id */ area?: string | null | undefined; assigneeId?: string | null | undefined; description?: string | null | undefined; dueDate?: string | null | undefined; /** Figma frame for UI changes */ figmaUrl?: string | null | undefined; labels?: Array | null | undefined; /** Epic or ticket of the same project the new one breaks down */ parentId?: string | null | undefined; priority?: IssuePriority | null | undefined; projectId: string; releaseId?: string | null | undefined; /** When work should start (roadmap), YYYY-MM-DD */ startDate?: string | null | undefined; storyPoints?: number | null | undefined; title: string; /** A ticket type id */ type: string; }; export type CreateProjectInput = { description?: string | null | undefined; /** Readable by anyone, also without signing in */ isPublic?: boolean | null | undefined; /** 2-10 chars, e.g. "TS" → tickets TS-1, TS-2... */ key: string; name: string; }; export type CreateReleaseInput = { description?: string | null | undefined; /** e.g. v1.4.0 */ name: string; projectId: string; targetDate?: string | null | undefined; }; export type CreateSprintInput = { /** YYYY-MM-DD, included */ endDate: string; goal?: string | null | undefined; name: string; projectId: string; /** YYYY-MM-DD */ startDate: string; }; export type IssueFilterInput = { areas?: Array | null | undefined; assigneeId?: string | null | undefined; categories?: Array | null | undefined; labels?: Array | null | undefined; /** Only tickets in no sprint */ noSprint?: boolean | null | undefined; /** Only the tickets hanging from this one */ parentId?: string | null | undefined; priorities?: Array | null | undefined; projectId: string; releaseId?: string | null | undefined; /** Matches key, title or description */ search?: string | null | undefined; sort?: IssueSort | null | undefined; sprintId?: string | null | undefined; statuses?: Array | null | undefined; types?: Array | null | undefined; unassigned?: boolean | null | undefined; }; export type IssueLinkType = | 'BLOCKS' | 'DEPENDS_ON' | 'DUPLICATES' | 'RELATES_TO' | 'TESTS'; export type IssuePriority = 'CRITICAL' | 'HIGH' | 'LOW' | 'LOWEST' | 'MEDIUM'; /** RECENT: last updated first. RANK: backlog order. */ export type IssueSort = 'RANK' | 'RECENT'; export type IssueTypeOptionInput = { archived?: boolean; color: string; icon: string; id: string; name: string; }; export type LinkDirection = 'INWARD' | 'OUTWARD'; export type LinkIssuesInput = { issueId: string; targetIssueId: string; type: IssueLinkType; }; /** Why someone is told */ export type NotificationKind = | 'ADDED_TO_PROJECT' | 'ASSIGNED' | 'COMMENTED' | 'MENTIONED' | 'QA_FAILED' | 'REMINDER' | 'STATUS_CHANGED' | 'WATCHED'; export type ProjectMemberInput = { projectId: string; role?: ProjectRole; /** Pireon user id */ userId: string; }; export type ProjectRole = 'ADMIN' | 'MEMBER' | 'OWNER' | 'VIEWER'; /** The whole configuration (replaces the previous one). Statuses go in board order. */ export type ProjectSettingsInput = { areas: Array; issueTypes: Array; statuses: Array; transitions: Array; }; export type RankIssueInput = { /** The ticket that ends up right above (null: the top) */ aboveIssueId?: string | null | undefined; /** The ticket that ends up right below (null: the bottom) */ belowIssueId?: string | null | undefined; issueId: string; }; export type ReleaseStatus = 'ARCHIVED' | 'PLANNED' | 'RELEASED'; export type SaveFilterInput = { criteria: SavedFilterCriteriaInput; name: string; projectId: string; /** Visible to the whole project (members, not viewers, share) */ shared?: boolean; }; export type SavedFilterCriteriaInput = { areas?: Array | null | undefined; assigneeId?: string | null | undefined; labels?: Array | null | undefined; priorities?: Array | null | undefined; releaseId?: string | null | undefined; search?: string | null | undefined; types?: Array | null | undefined; unassigned?: boolean | null | undefined; }; /** PLANNED, ACTIVE (one per project at a time) or CLOSED */ export type SprintStatus = 'ACTIVE' | 'CLOSED' | 'PLANNED'; /** What a status means, whatever each project calls it. DONE and CANCELLED are finished. */ export type StatusCategory = | 'CANCELLED' | 'DONE' | 'IN_PROGRESS' | 'QA' | 'TODO'; export type StatusTransitionsInput = { from: string; to: Array; }; export type UpdateChecklistItemInput = { done?: boolean | null | undefined; issueId: string; itemId: string; text?: string | null | undefined; }; export type UpdateIssueInput = { /** An area id */ area?: string | null | undefined; description?: string | null | undefined; dueDate?: string | null | undefined; /** Figma frame for UI changes */ figmaUrl?: string | null | undefined; issueId: string; labels?: Array | null | undefined; priority?: IssuePriority | null | undefined; /** When work should start (roadmap), YYYY-MM-DD */ startDate?: string | null | undefined; storyPoints?: number | null | undefined; title?: string | null | undefined; type?: string | null | undefined; }; export type UpdateProjectInput = { description?: string | null | undefined; isPublic?: boolean | null | undefined; name?: string | null | undefined; projectId: string; }; export type UpdateSprintInput = { endDate?: string | null | undefined; goal?: string | null | undefined; name?: string | null | undefined; sprintId: string; startDate?: string | null | undefined; }; export type WorkflowStatusInput = { archived?: boolean; category: StatusCategory; color: string; id: string; name: string; requiresReason?: boolean; /** Work-in-progress limit (null: none) */ wipLimit?: number | null | undefined; }; export type UserRefFieldsFragment = { id: string; name: string }; export type ProjectFieldsFragment = { id: string; key: string; name: string; description: string | null; isPublic: boolean; updatedAt: string; version: number; owner: { id: string; name: string }; members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; settings: { statuses: Array<{ id: string; name: string; category: StatusCategory; color: string; requiresReason: boolean; archived: boolean; wipLimit: number | null; }>; transitions: Array<{ from: string; to: Array }>; issueTypes: Array<{ id: string; name: string; icon: string; color: string; archived: boolean; }>; areas: Array<{ id: string; name: string; archived: boolean }>; }; }; export type IssueSummaryFieldsFragment = { id: string; projectId: string; key: string; type: string; area: string | null; title: string; status: string; statusCategory: StatusCategory; priority: IssuePriority; labels: Array; commentCount: number; updatedAt: string; version: number; rank: string; storyPoints: number | null; startDate: string | null; dueDate: string | null; assignee: { id: string; name: string } | null; release: { id: string; name: string } | null; sprint: { id: string; name: string } | null; parent: { id: string; key: string; title: string } | null; }; export type IssueFieldsFragment = { description: string | null; figmaUrl: string | null; createdAt: string; allowedTransitions: Array; id: string; projectId: string; key: string; type: string; area: string | null; title: string; status: string; statusCategory: StatusCategory; priority: IssuePriority; labels: Array; commentCount: number; updatedAt: string; version: number; rank: string; storyPoints: number | null; startDate: string | null; dueDate: string | null; reporter: { id: string; name: string }; links: Array<{ type: IssueLinkType; direction: LinkDirection; issueId: string; issueKey: string; }>; watchers: Array<{ id: string; name: string }>; checklist: Array<{ id: string; text: string; done: boolean }>; attachments: Array<{ id: string; fileName: string; mimeType: string; size: number; uploadedAt: string; commentId: string | null; uploadedBy: { id: string; name: string }; }>; assignee: { id: string; name: string } | null; release: { id: string; name: string } | null; sprint: { id: string; name: string } | null; parent: { id: string; key: string; title: string } | null; }; export type CommentFieldsFragment = { id: string; issueId: string; body: string; createdAt: string; editedAt: string | null; author: { id: string; name: string }; }; export type ReleaseFieldsFragment = { id: string; projectId: string; name: string; description: string | null; targetDate: string | null; status: ReleaseStatus; releasedAt: string | null; }; export type ActivityFieldsFragment = { id: string; type: string; issueId: string | null; issueKey: string | null; summary: string; occurredAt: string; actor: { id: string; name: string }; }; export type CommandResultFieldsFragment = { id: string; key: string | null; version: number; }; export type BoardQueryVariables = Exact<{ idOrKey: string; releaseId?: string | null | undefined; assigneeId?: string | null | undefined; area?: string | null | undefined; types?: Array | string | null | undefined; priorities?: Array | IssuePriority | null | undefined; labels?: Array | string | null | undefined; search?: string | null | undefined; unassigned?: boolean | null | undefined; sprintId?: string | null | undefined; }>; export type BoardQuery = { project: { id: string; board: Array<{ status: string; total: number; issues: Array<{ id: string; projectId: string; key: string; type: string; area: string | null; title: string; status: string; statusCategory: StatusCategory; priority: IssuePriority; labels: Array; commentCount: number; updatedAt: string; version: number; rank: string; storyPoints: number | null; startDate: string | null; dueDate: string | null; assignee: { id: string; name: string } | null; release: { id: string; name: string } | null; sprint: { id: string; name: string } | null; parent: { id: string; key: string; title: string } | null; }>; }>; }; }; export type IssueQueryVariables = Exact<{ idOrKey: string; }>; export type IssueQuery = { issue: { description: string | null; figmaUrl: string | null; createdAt: string; allowedTransitions: Array; id: string; projectId: string; key: string; type: string; area: string | null; title: string; status: string; statusCategory: StatusCategory; priority: IssuePriority; labels: Array; commentCount: number; updatedAt: string; version: number; rank: string; storyPoints: number | null; startDate: string | null; dueDate: string | null; reporter: { id: string; name: string }; links: Array<{ type: IssueLinkType; direction: LinkDirection; issueId: string; issueKey: string; }>; watchers: Array<{ id: string; name: string }>; checklist: Array<{ id: string; text: string; done: boolean }>; attachments: Array<{ id: string; fileName: string; mimeType: string; size: number; uploadedAt: string; commentId: string | null; uploadedBy: { id: string; name: string }; }>; assignee: { id: string; name: string } | null; release: { id: string; name: string } | null; sprint: { id: string; name: string } | null; parent: { id: string; key: string; title: string } | null; }; }; export type SearchIssuesQueryVariables = Exact<{ filter: IssueFilterInput; }>; export type SearchIssuesQuery = { issues: { items: Array<{ id: string; projectId: string; key: string; type: string; area: string | null; title: string; status: string; statusCategory: StatusCategory; priority: IssuePriority; labels: Array; commentCount: number; updatedAt: string; version: number; rank: string; storyPoints: number | null; startDate: string | null; dueDate: string | null; assignee: { id: string; name: string } | null; release: { id: string; name: string } | null; sprint: { id: string; name: string } | null; parent: { id: string; key: string; title: string } | null; }>; }; }; export type CreateIssueMutationVariables = Exact<{ input: CreateIssueInput; }>; export type CreateIssueMutation = { createIssue: { id: string; key: string | null; version: number }; }; export type UpdateIssueMutationVariables = Exact<{ input: UpdateIssueInput; }>; export type UpdateIssueMutation = { updateIssue: { id: string; key: string | null; version: number }; }; export type ChangeIssueStatusMutationVariables = Exact<{ input: ChangeIssueStatusInput; }>; export type ChangeIssueStatusMutation = { changeIssueStatus: { id: string; key: string | null; version: number }; }; export type AssignIssueMutationVariables = Exact<{ issueId: string; assigneeId?: string | null | undefined; }>; export type AssignIssueMutation = { assignIssue: { id: string; key: string | null; version: number }; }; export type LinkIssuesMutationVariables = Exact<{ input: LinkIssuesInput; }>; export type LinkIssuesMutation = { linkIssues: { id: string; key: string | null; version: number }; }; export type UnlinkIssuesMutationVariables = Exact<{ input: LinkIssuesInput; }>; export type UnlinkIssuesMutation = { unlinkIssues: { id: string; key: string | null; version: number }; }; export type WatchIssueMutationVariables = Exact<{ issueId: string; }>; export type WatchIssueMutation = { watchIssue: { id: string; key: string | null; version: number }; }; export type UnwatchIssueMutationVariables = Exact<{ issueId: string; }>; export type UnwatchIssueMutation = { unwatchIssue: { id: string; key: string | null; version: number }; }; export type SetIssueReleaseMutationVariables = Exact<{ issueId: string; releaseId?: string | null | undefined; }>; export type SetIssueReleaseMutation = { setIssueRelease: { id: string; key: string | null; version: number }; }; export type IssueCommentsQueryVariables = Exact<{ idOrKey: string; }>; export type IssueCommentsQuery = { issue: { id: string; comments: { items: Array<{ id: string; issueId: string; body: string; createdAt: string; editedAt: string | null; author: { id: string; name: string }; }>; }; }; }; export type AddCommentMutationVariables = Exact<{ issueId: string; body: string; }>; export type AddCommentMutation = { addComment: { id: string; key: string | null; version: number }; }; export type EditCommentMutationVariables = Exact<{ commentId: string; body: string; }>; export type EditCommentMutation = { editComment: { id: string; key: string | null; version: number }; }; export type DeleteCommentMutationVariables = Exact<{ commentId: string; }>; export type DeleteCommentMutation = { deleteComment: { id: string; key: string | null; version: number }; }; export type MyIssuesQueryVariables = Exact<{ assignedToMe: boolean; categories?: Array | StatusCategory | null | undefined; limit: number; }>; export type MyIssuesQuery = { myIssues: { total: number; items: Array<{ id: string; projectId: string; key: string; type: string; area: string | null; title: string; status: string; statusCategory: StatusCategory; priority: IssuePriority; labels: Array; commentCount: number; updatedAt: string; version: number; rank: string; storyPoints: number | null; startDate: string | null; dueDate: string | null; assignee: { id: string; name: string } | null; release: { id: string; name: string } | null; sprint: { id: string; name: string } | null; parent: { id: string; key: string; title: string } | null; }>; }; }; export type IssueChildrenQueryVariables = Exact<{ filter: IssueFilterInput; }>; export type IssueChildrenQuery = { issues: { items: Array<{ id: string; projectId: string; key: string; type: string; area: string | null; title: string; status: string; statusCategory: StatusCategory; priority: IssuePriority; labels: Array; commentCount: number; updatedAt: string; version: number; rank: string; storyPoints: number | null; startDate: string | null; dueDate: string | null; assignee: { id: string; name: string } | null; release: { id: string; name: string } | null; sprint: { id: string; name: string } | null; parent: { id: string; key: string; title: string } | null; }>; }; }; export type EpicsQueryVariables = Exact<{ projectId: string; }>; export type EpicsQuery = { epics: Array<{ issue: { id: string; projectId: string; key: string; type: string; area: string | null; title: string; status: string; statusCategory: StatusCategory; priority: IssuePriority; labels: Array; commentCount: number; updatedAt: string; version: number; rank: string; storyPoints: number | null; startDate: string | null; dueDate: string | null; assignee: { id: string; name: string } | null; release: { id: string; name: string } | null; sprint: { id: string; name: string } | null; parent: { id: string; key: string; title: string } | null; }; progress: { total: number; finished: number; percent: number; storyPoints: number; finishedStoryPoints: number; }; }>; }; export type SetIssueParentMutationVariables = Exact<{ issueId: string; parentId?: string | null | undefined; }>; export type SetIssueParentMutation = { setIssueParent: { id: string; key: string | null; version: number }; }; export type AddChecklistItemMutationVariables = Exact<{ input: AddChecklistItemInput; }>; export type AddChecklistItemMutation = { addChecklistItem: { id: string; key: string | null; version: number }; }; export type UpdateChecklistItemMutationVariables = Exact<{ input: UpdateChecklistItemInput; }>; export type UpdateChecklistItemMutation = { updateChecklistItem: { id: string; key: string | null; version: number }; }; export type RemoveChecklistItemMutationVariables = Exact<{ issueId: string; itemId: string; }>; export type RemoveChecklistItemMutation = { removeChecklistItem: { id: string; key: string | null; version: number }; }; export type BacklogQueryVariables = Exact<{ filter: IssueFilterInput; }>; export type BacklogQuery = { issues: { total: number; items: Array<{ id: string; projectId: string; key: string; type: string; area: string | null; title: string; status: string; statusCategory: StatusCategory; priority: IssuePriority; labels: Array; commentCount: number; updatedAt: string; version: number; rank: string; storyPoints: number | null; startDate: string | null; dueDate: string | null; assignee: { id: string; name: string } | null; release: { id: string; name: string } | null; sprint: { id: string; name: string } | null; parent: { id: string; key: string; title: string } | null; }>; }; }; export type RankIssueMutationVariables = Exact<{ input: RankIssueInput; }>; export type RankIssueMutation = { rankIssue: { id: string; key: string | null; version: number }; }; export type NotificationFieldsFragment = { id: string; kind: NotificationKind; projectId: string; projectKey: string; issueId: string | null; issueKey: string | null; summary: string; readAt: string | null; createdAt: string; actor: { id: string; name: string }; }; export type MyNotificationsQueryVariables = Exact<{ unreadOnly: boolean; limit: number; }>; export type MyNotificationsQuery = { myNotifications: { unread: number; items: Array<{ id: string; kind: NotificationKind; projectId: string; projectKey: string; issueId: string | null; issueKey: string | null; summary: string; readAt: string | null; createdAt: string; actor: { id: string; name: string }; }>; }; }; export type NotificationSettingsQueryVariables = Exact<{ [key: string]: never; }>; export type NotificationSettingsQuery = { notificationSettings: { email: boolean; emailAvailable: boolean }; }; export type MarkNotificationsReadMutationVariables = Exact<{ ids?: Array | string | null | undefined; }>; export type MarkNotificationsReadMutation = { markNotificationsRead: boolean }; export type UpdateNotificationSettingsMutationVariables = Exact<{ email: boolean; }>; export type UpdateNotificationSettingsMutation = { updateNotificationSettings: { email: boolean; emailAvailable: boolean }; }; export type NotificationAddedSubscriptionVariables = Exact<{ [key: string]: never; }>; export type NotificationAddedSubscription = { notificationAdded: { id: string; kind: NotificationKind; projectId: string; projectKey: string; issueId: string | null; issueKey: string | null; summary: string; readAt: string | null; createdAt: string; actor: { id: string; name: string }; }; }; export type MyProjectsQueryVariables = Exact<{ [key: string]: never }>; export type MyProjectsQuery = { myProjects: Array<{ id: string; key: string; name: string; description: string | null; isPublic: boolean; updatedAt: string; version: number; owner: { id: string; name: string }; members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; settings: { statuses: Array<{ id: string; name: string; category: StatusCategory; color: string; requiresReason: boolean; archived: boolean; wipLimit: number | null; }>; transitions: Array<{ from: string; to: Array }>; issueTypes: Array<{ id: string; name: string; icon: string; color: string; archived: boolean; }>; areas: Array<{ id: string; name: string; archived: boolean }>; }; }>; }; export type ProjectQueryVariables = Exact<{ idOrKey: string; }>; export type ProjectQuery = { project: { id: string; key: string; name: string; description: string | null; isPublic: boolean; updatedAt: string; version: number; owner: { id: string; name: string }; members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; settings: { statuses: Array<{ id: string; name: string; category: StatusCategory; color: string; requiresReason: boolean; archived: boolean; wipLimit: number | null; }>; transitions: Array<{ from: string; to: Array }>; issueTypes: Array<{ id: string; name: string; icon: string; color: string; archived: boolean; }>; areas: Array<{ id: string; name: string; archived: boolean }>; }; }; }; export type ProjectStatsQueryVariables = Exact<{ idOrKey: string; }>; export type ProjectStatsQuery = { project: { id: string; stats: { total: number; open: number; byStatus: Array<{ key: string; count: number }>; byType: Array<{ key: string; count: number }>; byPriority: Array<{ key: string; count: number }>; byArea: Array<{ key: string; count: number }>; byAssignee: Array<{ count: number; user: { id: string; name: string } | null; }>; }; }; }; export type CreateProjectMutationVariables = Exact<{ input: CreateProjectInput; }>; export type CreateProjectMutation = { createProject: { id: string; key: string | null; version: number }; }; export type AddProjectMemberMutationVariables = Exact<{ input: ProjectMemberInput; }>; export type AddProjectMemberMutation = { addProjectMember: { id: string; key: string | null; version: number }; }; export type ChangeProjectMemberRoleMutationVariables = Exact<{ input: ProjectMemberInput; }>; export type ChangeProjectMemberRoleMutation = { changeProjectMemberRole: { id: string; key: string | null; version: number }; }; export type RemoveProjectMemberMutationVariables = Exact<{ projectId: string; userId: string; }>; export type RemoveProjectMemberMutation = { removeProjectMember: { id: string; key: string | null; version: number }; }; export type SearchUsersQueryVariables = Exact<{ search: string; }>; export type SearchUsersQuery = { users: Array<{ id: string; name: string; email: string }>; }; export type UpdateProjectSettingsMutationVariables = Exact<{ projectId: string; settings: ProjectSettingsInput; }>; export type UpdateProjectSettingsMutation = { updateProjectSettings: { id: string; key: string | null; version: number }; }; export type ProjectAnalyticsQueryVariables = Exact<{ idOrKey: string; days: number; }>; export type ProjectAnalyticsQuery = { project: { id: string; analytics: { from: string; to: string; createdVsResolved: Array<{ week: string; created: number; resolved: number; }>; cumulativeFlow: { dates: Array; series: Array<{ status: string; counts: Array }>; }; cycleTime: { count: number; averageDays: number | null; p85Days: number | null; }; leadTime: { count: number; averageDays: number | null; p85Days: number | null; }; throughput: Array<{ week: string; count: number; user: { id: string; name: string } | null; }>; qa: { passed: number; failed: number; failureRate: number | null }; }; }; }; export type PublicProjectsQueryVariables = Exact<{ [key: string]: never }>; export type PublicProjectsQuery = { publicProjects: Array<{ id: string; key: string; name: string; description: string | null; isPublic: boolean; updatedAt: string; version: number; owner: { id: string; name: string }; members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; settings: { statuses: Array<{ id: string; name: string; category: StatusCategory; color: string; requiresReason: boolean; archived: boolean; wipLimit: number | null; }>; transitions: Array<{ from: string; to: Array }>; issueTypes: Array<{ id: string; name: string; icon: string; color: string; archived: boolean; }>; areas: Array<{ id: string; name: string; archived: boolean }>; }; }>; }; export type UpdateProjectMutationVariables = Exact<{ input: UpdateProjectInput; }>; export type UpdateProjectMutation = { updateProject: { id: string; key: string | null; version: number }; }; export type DeleteProjectMutationVariables = Exact<{ projectId: string; confirmKey: string; }>; export type DeleteProjectMutation = { deleteProject: { id: string; key: string | null; version: number }; }; export type ReleasesQueryVariables = Exact<{ idOrKey: string; }>; export type ReleasesQuery = { project: { id: string; releases: Array<{ id: string; projectId: string; name: string; description: string | null; targetDate: string | null; status: ReleaseStatus; releasedAt: string | null; progress: { total: number; finished: number; percent: number }; }>; }; }; export type CreateReleaseMutationVariables = Exact<{ input: CreateReleaseInput; }>; export type CreateReleaseMutation = { createRelease: { id: string; key: string | null; version: number }; }; export type PublishReleaseMutationVariables = Exact<{ releaseId: string; force: boolean; }>; export type PublishReleaseMutation = { publishRelease: { id: string; key: string | null; version: number }; }; export type ArchiveReleaseMutationVariables = Exact<{ releaseId: string; }>; export type ArchiveReleaseMutation = { archiveRelease: { id: string; key: string | null; version: number }; }; export type ActivityQueryVariables = Exact<{ projectId: string; issueId?: string | null | undefined; }>; export type ActivityQuery = { activity: Array<{ id: string; type: string; issueId: string | null; issueKey: string | null; summary: string; occurredAt: string; actor: { id: string; name: string }; }>; }; export type UpcomingReleasesQueryVariables = Exact<{ limit: number; }>; export type UpcomingReleasesQuery = { upcomingReleases: Array<{ id: string; projectId: string; name: string; description: string | null; targetDate: string | null; status: ReleaseStatus; releasedAt: string | null; progress: { total: number; finished: number; percent: number }; }>; }; export type ReleaseBurnupQueryVariables = Exact<{ id: string; }>; export type ReleaseBurnupQuery = { release: { id: string; burnup: { releaseId: string; targetDate: string | null; dates: Array; scope: Array; done: Array; }; }; }; export type SavedFilterFieldsFragment = { id: string; projectId: string; name: string; shared: boolean; createdAt: string; owner: { id: string; name: string }; criteria: { types: Array | null; areas: Array | null; priorities: Array | null; assigneeId: string | null; unassigned: boolean | null; releaseId: string | null; labels: Array | null; search: string | null; }; }; export type SavedFiltersQueryVariables = Exact<{ projectId: string; }>; export type SavedFiltersQuery = { savedFilters: Array<{ id: string; projectId: string; name: string; shared: boolean; createdAt: string; owner: { id: string; name: string }; criteria: { types: Array | null; areas: Array | null; priorities: Array | null; assigneeId: string | null; unassigned: boolean | null; releaseId: string | null; labels: Array | null; search: string | null; }; }>; }; export type SaveFilterMutationVariables = Exact<{ input: SaveFilterInput; }>; export type SaveFilterMutation = { saveFilter: string }; export type DeleteSavedFilterMutationVariables = Exact<{ id: string; }>; export type DeleteSavedFilterMutation = { deleteSavedFilter: boolean }; export type SprintFieldsFragment = { id: string; projectId: string; name: string; goal: string | null; startDate: string; endDate: string; status: SprintStatus; startedAt: string | null; closedAt: string | null; progress: { total: number; finished: number; percent: number; storyPoints: number; finishedStoryPoints: number; }; }; export type SprintsQueryVariables = Exact<{ projectId: string; }>; export type SprintsQuery = { sprints: Array<{ id: string; projectId: string; name: string; goal: string | null; startDate: string; endDate: string; status: SprintStatus; startedAt: string | null; closedAt: string | null; progress: { total: number; finished: number; percent: number; storyPoints: number; finishedStoryPoints: number; }; }>; }; export type SprintBurndownQueryVariables = Exact<{ id: string; }>; export type SprintBurndownQuery = { sprint: { id: string; burndown: { sprintId: string; dates: Array; scope: Array; remaining: Array; remainingPoints: Array; ideal: Array; }; }; }; export type CreateSprintMutationVariables = Exact<{ input: CreateSprintInput; }>; export type CreateSprintMutation = { createSprint: { id: string; key: string | null; version: number }; }; export type UpdateSprintMutationVariables = Exact<{ input: UpdateSprintInput; }>; export type UpdateSprintMutation = { updateSprint: { id: string; key: string | null; version: number }; }; export type StartSprintMutationVariables = Exact<{ sprintId: string; }>; export type StartSprintMutation = { startSprint: { id: string; key: string | null; version: number }; }; export type CloseSprintMutationVariables = Exact<{ sprintId: string; carryOverToSprintId?: string | null | undefined; }>; export type CloseSprintMutation = { closeSprint: { id: string; key: string | null; version: number }; }; export type DeleteSprintMutationVariables = Exact<{ sprintId: string; }>; export type DeleteSprintMutation = { deleteSprint: { id: string; key: string | null; version: number }; }; export type SetIssueSprintMutationVariables = Exact<{ issueId: string; sprintId?: string | null | undefined; }>; export type SetIssueSprintMutation = { setIssueSprint: { id: string; key: string | null; version: number }; }; export type SprintChangedSubscriptionVariables = Exact<{ projectId: string; }>; export type SprintChangedSubscription = { sprintChanged: { action: string; sprintId: string }; }; export type IssueChangedSubscriptionVariables = Exact<{ projectId: string; }>; export type IssueChangedSubscription = { issueChanged: { action: string; version: number; actorId: string; issue: { id: string; projectId: string; key: string; type: string; area: string | null; title: string; status: string; statusCategory: StatusCategory; priority: IssuePriority; labels: Array; commentCount: number; updatedAt: string; version: number; rank: string; storyPoints: number | null; startDate: string | null; dueDate: string | null; assignee: { id: string; name: string } | null; release: { id: string; name: string } | null; sprint: { id: string; name: string } | null; parent: { id: string; key: string; title: string } | null; }; }; }; export type CommentChangedSubscriptionVariables = Exact<{ issueId: string; }>; export type CommentChangedSubscription = { commentChanged: { action: string; commentId: string; comment: { id: string; issueId: string; body: string; createdAt: string; editedAt: string | null; author: { id: string; name: string }; } | null; }; }; export type ActivityAddedSubscriptionVariables = Exact<{ projectId: string; }>; export type ActivityAddedSubscription = { activityAdded: { id: string; type: string; issueId: string | null; issueKey: string | null; summary: string; occurredAt: string; actor: { id: string; name: string }; }; }; export type ReleaseChangedSubscriptionVariables = Exact<{ projectId: string; }>; export type ReleaseChangedSubscription = { releaseChanged: { release: { id: string; projectId: string; name: string; description: string | null; targetDate: string | null; status: ReleaseStatus; releasedAt: string | null; }; }; }; export type ProjectChangedSubscriptionVariables = Exact<{ projectId: string; }>; export type ProjectChangedSubscription = { projectChanged: { action: string; project: { id: string; key: string; name: string; description: string | null; isPublic: boolean; updatedAt: string; version: number; owner: { id: string; name: string }; members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; settings: { statuses: Array<{ id: string; name: string; category: StatusCategory; color: string; requiresReason: boolean; archived: boolean; wipLimit: number | null; }>; transitions: Array<{ from: string; to: Array }>; issueTypes: Array<{ id: string; name: string; icon: string; color: string; archived: boolean; }>; areas: Array<{ id: string; name: string; archived: boolean }>; }; }; }; }; export type MyProjectsChangedSubscriptionVariables = Exact<{ [key: string]: never; }>; export type MyProjectsChangedSubscription = { myProjectsChanged: { action: string; project: { id: string; key: string; name: string; description: string | null; isPublic: boolean; updatedAt: string; version: number; owner: { id: string; name: string }; members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; settings: { statuses: Array<{ id: string; name: string; category: StatusCategory; color: string; requiresReason: boolean; archived: boolean; wipLimit: number | null; }>; transitions: Array<{ from: string; to: Array }>; issueTypes: Array<{ id: string; name: string; icon: string; color: string; archived: boolean; }>; areas: Array<{ id: string; name: string; archived: boolean }>; }; }; }; }; export const UserRefFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, ], } as unknown as DocumentNode; export const ProjectFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ProjectFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'owner' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'members' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'role' } }, { kind: 'Field', name: { kind: 'Name', value: 'user' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'settings' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'statuses' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'category' }, }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'requiresReason' }, }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, { kind: 'Field', name: { kind: 'Name', value: 'wipLimit' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'transitions' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'from' } }, { kind: 'Field', name: { kind: 'Name', value: 'to' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'issueTypes' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'areas' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, ], } as unknown as DocumentNode; export const IssueSummaryFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueSummaryFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'area' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'assignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'parent' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, ], } as unknown as DocumentNode; export const IssueFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IssueSummaryFields' }, }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'figmaUrl' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'allowedTransitions' }, }, { kind: 'Field', name: { kind: 'Name', value: 'reporter' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'links' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'direction' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'watchers' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'checklist' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'text' } }, { kind: 'Field', name: { kind: 'Name', value: 'done' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'attachments' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'fileName' } }, { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, { kind: 'Field', name: { kind: 'Name', value: 'size' } }, { kind: 'Field', name: { kind: 'Name', value: 'uploadedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentId' } }, { kind: 'Field', name: { kind: 'Name', value: 'uploadedBy' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueSummaryFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'area' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'assignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'parent' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, ], }, }, ], } as unknown as DocumentNode; export const CommentFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommentFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Comment' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'body' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'editedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'author' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, ], } as unknown as DocumentNode; export const ReleaseFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ReleaseFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Release' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'targetDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'releasedAt' } }, ], }, }, ], } as unknown as DocumentNode; export const ActivityFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ActivityFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Activity' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, { kind: 'Field', name: { kind: 'Name', value: 'occurredAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'actor' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, ], } as unknown as DocumentNode; export const CommandResultFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const NotificationFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'NotificationFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Notification' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectKey' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, { kind: 'Field', name: { kind: 'Name', value: 'readAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'actor' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, ], } as unknown as DocumentNode; export const SavedFilterFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'SavedFilterFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'SavedFilter' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'shared' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'owner' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'criteria' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'types' } }, { kind: 'Field', name: { kind: 'Name', value: 'areas' } }, { kind: 'Field', name: { kind: 'Name', value: 'priorities' } }, { kind: 'Field', name: { kind: 'Name', value: 'assigneeId' } }, { kind: 'Field', name: { kind: 'Name', value: 'unassigned' } }, { kind: 'Field', name: { kind: 'Name', value: 'releaseId' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'search' } }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, ], } as unknown as DocumentNode; export const SprintFieldsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'SprintFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Sprint' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'goal' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'endDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'startedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'closedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'progress' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'total' } }, { kind: 'Field', name: { kind: 'Name', value: 'finished' } }, { kind: 'Field', name: { kind: 'Name', value: 'percent' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'finishedStoryPoints' }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const BoardDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'Board' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'releaseId' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'assigneeId' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'area' } }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'types' }, }, type: { kind: 'ListType', type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'priorities' }, }, type: { kind: 'ListType', type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'IssuePriority' }, }, }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'labels' }, }, type: { kind: 'ListType', type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'search' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'unassigned' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'sprintId' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'project' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'idOrKey' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'board' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'releaseId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'releaseId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'assigneeId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'assigneeId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'area' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'area' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'types' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'types' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'priorities' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'priorities' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'labels' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'labels' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'search' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'search' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'unassigned' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'unassigned' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'sprintId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'sprintId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'perColumn' }, value: { kind: 'IntValue', value: '100' }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'status' }, }, { kind: 'Field', name: { kind: 'Name', value: 'total' } }, { kind: 'Field', name: { kind: 'Name', value: 'issues' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IssueSummaryFields', }, }, ], }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueSummaryFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'area' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'assignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'parent' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, ], }, }, ], } as unknown as DocumentNode; export const IssueDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'Issue' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'issue' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'idOrKey' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IssueFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueSummaryFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'area' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'assignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'parent' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IssueSummaryFields' }, }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'figmaUrl' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'allowedTransitions' }, }, { kind: 'Field', name: { kind: 'Name', value: 'reporter' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'links' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'direction' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'watchers' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'checklist' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'text' } }, { kind: 'Field', name: { kind: 'Name', value: 'done' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'attachments' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'fileName' } }, { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, { kind: 'Field', name: { kind: 'Name', value: 'size' } }, { kind: 'Field', name: { kind: 'Name', value: 'uploadedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentId' } }, { kind: 'Field', name: { kind: 'Name', value: 'uploadedBy' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const SearchIssuesDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'SearchIssues' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'filter' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'IssueFilterInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'issues' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'filter' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'filter' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'limit' }, value: { kind: 'IntValue', value: '20' }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'items' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IssueSummaryFields' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueSummaryFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'area' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'assignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'parent' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, ], }, }, ], } as unknown as DocumentNode; export const CreateIssueDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'CreateIssue' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateIssueInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'createIssue' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const UpdateIssueDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'UpdateIssue' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateIssueInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'updateIssue' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const ChangeIssueStatusDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'ChangeIssueStatus' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ChangeIssueStatusInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'changeIssueStatus' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< ChangeIssueStatusMutation, ChangeIssueStatusMutationVariables >; export const AssignIssueDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'AssignIssue' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'assigneeId' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'assignIssue' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'issueId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'assigneeId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'assigneeId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const LinkIssuesDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'LinkIssues' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'LinkIssuesInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'linkIssues' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const UnlinkIssuesDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'UnlinkIssues' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'LinkIssuesInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'unlinkIssues' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< UnlinkIssuesMutation, UnlinkIssuesMutationVariables >; export const WatchIssueDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'WatchIssue' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'watchIssue' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'issueId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const UnwatchIssueDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'UnwatchIssue' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'unwatchIssue' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'issueId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< UnwatchIssueMutation, UnwatchIssueMutationVariables >; export const SetIssueReleaseDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'SetIssueRelease' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'releaseId' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'setIssueRelease' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'issueId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'releaseId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'releaseId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< SetIssueReleaseMutation, SetIssueReleaseMutationVariables >; export const IssueCommentsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'IssueComments' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'issue' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'idOrKey' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'comments' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'limit' }, value: { kind: 'IntValue', value: '200' }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'items' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommentFields' }, }, ], }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommentFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Comment' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'body' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'editedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'author' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const AddCommentDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'AddComment' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'body' } }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'addComment' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'issueId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'body' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'body' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const EditCommentDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'EditComment' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'commentId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'body' } }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'editComment' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'commentId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'commentId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'body' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'body' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const DeleteCommentDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'DeleteComment' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'commentId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'deleteComment' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'commentId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'commentId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< DeleteCommentMutation, DeleteCommentMutationVariables >; export const MyIssuesDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'MyIssues' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'assignedToMe' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' }, }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'categories' }, }, type: { kind: 'ListType', type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'StatusCategory' }, }, }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'myIssues' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'assignedToMe' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'assignedToMe' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'categories' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'categories' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'limit' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'total' } }, { kind: 'Field', name: { kind: 'Name', value: 'items' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IssueSummaryFields' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueSummaryFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'area' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'assignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'parent' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, ], }, }, ], } as unknown as DocumentNode; export const IssueChildrenDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'IssueChildren' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'filter' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'IssueFilterInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'issues' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'filter' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'filter' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'limit' }, value: { kind: 'IntValue', value: '200' }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'items' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IssueSummaryFields' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueSummaryFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'area' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'assignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'parent' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, ], }, }, ], } as unknown as DocumentNode; export const EpicsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'Epics' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'epics' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'issue' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IssueSummaryFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'progress' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'total' } }, { kind: 'Field', name: { kind: 'Name', value: 'finished' }, }, { kind: 'Field', name: { kind: 'Name', value: 'percent' }, }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' }, }, { kind: 'Field', name: { kind: 'Name', value: 'finishedStoryPoints' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueSummaryFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'area' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'assignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'parent' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, ], }, }, ], } as unknown as DocumentNode; export const SetIssueParentDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'SetIssueParent' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'parentId' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'setIssueParent' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'issueId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'parentId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'parentId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< SetIssueParentMutation, SetIssueParentMutationVariables >; export const AddChecklistItemDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'AddChecklistItem' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'AddChecklistItemInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'addChecklistItem' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< AddChecklistItemMutation, AddChecklistItemMutationVariables >; export const UpdateChecklistItemDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'UpdateChecklistItem' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateChecklistItemInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'updateChecklistItem' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< UpdateChecklistItemMutation, UpdateChecklistItemMutationVariables >; export const RemoveChecklistItemDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'RemoveChecklistItem' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'itemId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'removeChecklistItem' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'issueId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'itemId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'itemId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< RemoveChecklistItemMutation, RemoveChecklistItemMutationVariables >; export const BacklogDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'Backlog' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'filter' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'IssueFilterInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'issues' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'filter' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'filter' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'limit' }, value: { kind: 'IntValue', value: '200' }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'items' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IssueSummaryFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'total' } }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueSummaryFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'area' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'assignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'parent' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, ], }, }, ], } as unknown as DocumentNode; export const RankIssueDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'RankIssue' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'RankIssueInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'rankIssue' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const MyNotificationsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'MyNotifications' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'unreadOnly' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' }, }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'myNotifications' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'unreadOnly' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'unreadOnly' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'limit' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'unread' } }, { kind: 'Field', name: { kind: 'Name', value: 'items' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'NotificationFields' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'NotificationFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Notification' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectKey' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, { kind: 'Field', name: { kind: 'Name', value: 'readAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'actor' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode< MyNotificationsQuery, MyNotificationsQueryVariables >; export const NotificationSettingsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'NotificationSettings' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'notificationSettings' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'email' } }, { kind: 'Field', name: { kind: 'Name', value: 'emailAvailable' }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode< NotificationSettingsQuery, NotificationSettingsQueryVariables >; export const MarkNotificationsReadDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'MarkNotificationsRead' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, type: { kind: 'ListType', type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'markNotificationsRead' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'ids' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' }, }, }, ], }, ], }, }, ], } as unknown as DocumentNode< MarkNotificationsReadMutation, MarkNotificationsReadMutationVariables >; export const UpdateNotificationSettingsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'UpdateNotificationSettings' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'email' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'updateNotificationSettings' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'email' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'email' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'email' } }, { kind: 'Field', name: { kind: 'Name', value: 'emailAvailable' }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode< UpdateNotificationSettingsMutation, UpdateNotificationSettingsMutationVariables >; export const NotificationAddedDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'subscription', name: { kind: 'Name', value: 'NotificationAdded' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'notificationAdded' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'NotificationFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'NotificationFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Notification' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectKey' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, { kind: 'Field', name: { kind: 'Name', value: 'readAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'actor' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode< NotificationAddedSubscription, NotificationAddedSubscriptionVariables >; export const MyProjectsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'MyProjects' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'myProjects' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProjectFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ProjectFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'owner' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'members' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'role' } }, { kind: 'Field', name: { kind: 'Name', value: 'user' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'settings' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'statuses' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'category' }, }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'requiresReason' }, }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, { kind: 'Field', name: { kind: 'Name', value: 'wipLimit' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'transitions' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'from' } }, { kind: 'Field', name: { kind: 'Name', value: 'to' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'issueTypes' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'areas' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const ProjectDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'Project' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'project' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'idOrKey' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProjectFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ProjectFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'owner' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'members' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'role' } }, { kind: 'Field', name: { kind: 'Name', value: 'user' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'settings' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'statuses' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'category' }, }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'requiresReason' }, }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, { kind: 'Field', name: { kind: 'Name', value: 'wipLimit' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'transitions' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'from' } }, { kind: 'Field', name: { kind: 'Name', value: 'to' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'issueTypes' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'areas' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const ProjectStatsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'ProjectStats' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'project' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'idOrKey' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'stats' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'total' } }, { kind: 'Field', name: { kind: 'Name', value: 'open' } }, { kind: 'Field', name: { kind: 'Name', value: 'byStatus' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'key' }, }, { kind: 'Field', name: { kind: 'Name', value: 'count' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'byType' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'key' }, }, { kind: 'Field', name: { kind: 'Name', value: 'count' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'byPriority' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'key' }, }, { kind: 'Field', name: { kind: 'Name', value: 'count' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'byArea' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'key' }, }, { kind: 'Field', name: { kind: 'Name', value: 'count' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'byAssignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'count' }, }, { kind: 'Field', name: { kind: 'Name', value: 'user' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields', }, }, ], }, }, ], }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, ], } as unknown as DocumentNode; export const CreateProjectDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'CreateProject' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateProjectInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'createProject' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< CreateProjectMutation, CreateProjectMutationVariables >; export const AddProjectMemberDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'AddProjectMember' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProjectMemberInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'addProjectMember' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< AddProjectMemberMutation, AddProjectMemberMutationVariables >; export const ChangeProjectMemberRoleDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'ChangeProjectMemberRole' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProjectMemberInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'changeProjectMemberRole' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< ChangeProjectMemberRoleMutation, ChangeProjectMemberRoleMutationVariables >; export const RemoveProjectMemberDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'RemoveProjectMember' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'userId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'removeProjectMember' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'userId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'userId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< RemoveProjectMemberMutation, RemoveProjectMemberMutationVariables >; export const SearchUsersDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'SearchUsers' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'search' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'users' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'search' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'search' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'limit' }, value: { kind: 'IntValue', value: '20' }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'email' } }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const UpdateProjectSettingsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'UpdateProjectSettings' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'settings' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProjectSettingsInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'updateProjectSettings' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'settings' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'settings' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< UpdateProjectSettingsMutation, UpdateProjectSettingsMutationVariables >; export const ProjectAnalyticsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'ProjectAnalytics' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'days' } }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'project' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'idOrKey' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'analytics' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'days' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'days' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'from' } }, { kind: 'Field', name: { kind: 'Name', value: 'to' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdVsResolved' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'week' }, }, { kind: 'Field', name: { kind: 'Name', value: 'created' }, }, { kind: 'Field', name: { kind: 'Name', value: 'resolved' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'cumulativeFlow' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'dates' }, }, { kind: 'Field', name: { kind: 'Name', value: 'series' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'status' }, }, { kind: 'Field', name: { kind: 'Name', value: 'counts' }, }, ], }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'cycleTime' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'count' }, }, { kind: 'Field', name: { kind: 'Name', value: 'averageDays' }, }, { kind: 'Field', name: { kind: 'Name', value: 'p85Days' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'leadTime' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'count' }, }, { kind: 'Field', name: { kind: 'Name', value: 'averageDays' }, }, { kind: 'Field', name: { kind: 'Name', value: 'p85Days' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'throughput' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'week' }, }, { kind: 'Field', name: { kind: 'Name', value: 'count' }, }, { kind: 'Field', name: { kind: 'Name', value: 'user' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields', }, }, ], }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'qa' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'passed' }, }, { kind: 'Field', name: { kind: 'Name', value: 'failed' }, }, { kind: 'Field', name: { kind: 'Name', value: 'failureRate' }, }, ], }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, ], } as unknown as DocumentNode< ProjectAnalyticsQuery, ProjectAnalyticsQueryVariables >; export const PublicProjectsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'PublicProjects' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'publicProjects' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProjectFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ProjectFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'owner' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'members' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'role' } }, { kind: 'Field', name: { kind: 'Name', value: 'user' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'settings' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'statuses' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'category' }, }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'requiresReason' }, }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, { kind: 'Field', name: { kind: 'Name', value: 'wipLimit' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'transitions' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'from' } }, { kind: 'Field', name: { kind: 'Name', value: 'to' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'issueTypes' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'areas' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const UpdateProjectDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'UpdateProject' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateProjectInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'updateProject' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< UpdateProjectMutation, UpdateProjectMutationVariables >; export const DeleteProjectDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'DeleteProject' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'confirmKey' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'deleteProject' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'confirmKey' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'confirmKey' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< DeleteProjectMutation, DeleteProjectMutationVariables >; export const ReleasesDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'Releases' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'project' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'idOrKey' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'idOrKey' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'releases' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ReleaseFields' }, }, { kind: 'Field', name: { kind: 'Name', value: 'progress' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'total' }, }, { kind: 'Field', name: { kind: 'Name', value: 'finished' }, }, { kind: 'Field', name: { kind: 'Name', value: 'percent' }, }, ], }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ReleaseFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Release' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'targetDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'releasedAt' } }, ], }, }, ], } as unknown as DocumentNode; export const CreateReleaseDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'CreateRelease' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateReleaseInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'createRelease' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< CreateReleaseMutation, CreateReleaseMutationVariables >; export const PublishReleaseDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'PublishRelease' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'releaseId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'force' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'publishRelease' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'releaseId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'releaseId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'force' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'force' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< PublishReleaseMutation, PublishReleaseMutationVariables >; export const ArchiveReleaseDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'ArchiveRelease' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'releaseId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'archiveRelease' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'releaseId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'releaseId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< ArchiveReleaseMutation, ArchiveReleaseMutationVariables >; export const ActivityDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'Activity' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'activity' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'issueId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'limit' }, value: { kind: 'IntValue', value: '100' }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ActivityFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ActivityFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Activity' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, { kind: 'Field', name: { kind: 'Name', value: 'occurredAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'actor' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const UpcomingReleasesDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'UpcomingReleases' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'upcomingReleases' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'limit' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ReleaseFields' }, }, { kind: 'Field', name: { kind: 'Name', value: 'progress' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'total' } }, { kind: 'Field', name: { kind: 'Name', value: 'finished' }, }, { kind: 'Field', name: { kind: 'Name', value: 'percent' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ReleaseFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Release' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'targetDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'releasedAt' } }, ], }, }, ], } as unknown as DocumentNode< UpcomingReleasesQuery, UpcomingReleasesQueryVariables >; export const ReleaseBurnupDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'ReleaseBurnup' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'release' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'id' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'id' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'burnup' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'releaseId' }, }, { kind: 'Field', name: { kind: 'Name', value: 'targetDate' }, }, { kind: 'Field', name: { kind: 'Name', value: 'dates' } }, { kind: 'Field', name: { kind: 'Name', value: 'scope' } }, { kind: 'Field', name: { kind: 'Name', value: 'done' } }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const SavedFiltersDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'SavedFilters' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'savedFilters' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'SavedFilterFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'SavedFilterFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'SavedFilter' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'shared' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'owner' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'criteria' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'types' } }, { kind: 'Field', name: { kind: 'Name', value: 'areas' } }, { kind: 'Field', name: { kind: 'Name', value: 'priorities' } }, { kind: 'Field', name: { kind: 'Name', value: 'assigneeId' } }, { kind: 'Field', name: { kind: 'Name', value: 'unassigned' } }, { kind: 'Field', name: { kind: 'Name', value: 'releaseId' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'search' } }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const SaveFilterDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'SaveFilter' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'SaveFilterInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'saveFilter' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], }, ], }, }, ], } as unknown as DocumentNode; export const DeleteSavedFilterDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'DeleteSavedFilter' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'deleteSavedFilter' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'id' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'id' }, }, }, ], }, ], }, }, ], } as unknown as DocumentNode< DeleteSavedFilterMutation, DeleteSavedFilterMutationVariables >; export const SprintsDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'Sprints' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'sprints' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'SprintFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'SprintFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Sprint' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'goal' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'endDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'startedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'closedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'progress' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'total' } }, { kind: 'Field', name: { kind: 'Name', value: 'finished' } }, { kind: 'Field', name: { kind: 'Name', value: 'percent' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'finishedStoryPoints' }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const SprintBurndownDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'query', name: { kind: 'Name', value: 'SprintBurndown' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'id' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'id' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'burndown' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'sprintId' }, }, { kind: 'Field', name: { kind: 'Name', value: 'dates' } }, { kind: 'Field', name: { kind: 'Name', value: 'scope' } }, { kind: 'Field', name: { kind: 'Name', value: 'remaining' }, }, { kind: 'Field', name: { kind: 'Name', value: 'remainingPoints' }, }, { kind: 'Field', name: { kind: 'Name', value: 'ideal' } }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const CreateSprintDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'CreateSprint' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateSprintInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'createSprint' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< CreateSprintMutation, CreateSprintMutationVariables >; export const UpdateSprintDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'UpdateSprint' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateSprintInput' }, }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'updateSprint' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< UpdateSprintMutation, UpdateSprintMutationVariables >; export const StartSprintDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'StartSprint' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'sprintId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'startSprint' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'sprintId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'sprintId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const CloseSprintDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'CloseSprint' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'sprintId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'carryOverToSprintId' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'closeSprint' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'sprintId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'sprintId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'carryOverToSprintId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'carryOverToSprintId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode; export const DeleteSprintDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'DeleteSprint' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'sprintId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'deleteSprint' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'sprintId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'sprintId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< DeleteSprintMutation, DeleteSprintMutationVariables >; export const SetIssueSprintDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'mutation', name: { kind: 'Name', value: 'SetIssueSprint' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'sprintId' }, }, type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'setIssueSprint' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'issueId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, }, { kind: 'Argument', name: { kind: 'Name', value: 'sprintId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'sprintId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommandResultFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommandResultFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CommandResult' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, ], }, }, ], } as unknown as DocumentNode< SetIssueSprintMutation, SetIssueSprintMutationVariables >; export const SprintChangedDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'subscription', name: { kind: 'Name', value: 'SprintChanged' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'sprintChanged' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'action' } }, { kind: 'Field', name: { kind: 'Name', value: 'sprintId' } }, ], }, }, ], }, }, ], } as unknown as DocumentNode< SprintChangedSubscription, SprintChangedSubscriptionVariables >; export const IssueChangedDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'subscription', name: { kind: 'Name', value: 'IssueChanged' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'issueChanged' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'action' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'actorId' } }, { kind: 'Field', name: { kind: 'Name', value: 'issue' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IssueSummaryFields' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'IssueSummaryFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Issue' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'area' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'assignee' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'sprint' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'parent' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'title' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, ], }, }, ], } as unknown as DocumentNode< IssueChangedSubscription, IssueChangedSubscriptionVariables >; export const CommentChangedDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'subscription', name: { kind: 'Name', value: 'CommentChanged' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'commentChanged' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'issueId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'issueId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'action' } }, { kind: 'Field', name: { kind: 'Name', value: 'commentId' } }, { kind: 'Field', name: { kind: 'Name', value: 'comment' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommentFields' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'CommentFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Comment' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'body' } }, { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'editedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'author' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode< CommentChangedSubscription, CommentChangedSubscriptionVariables >; export const ActivityAddedDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'subscription', name: { kind: 'Name', value: 'ActivityAdded' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'activityAdded' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ActivityFields' }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ActivityFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Activity' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'type' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, { kind: 'Field', name: { kind: 'Name', value: 'occurredAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'actor' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode< ActivityAddedSubscription, ActivityAddedSubscriptionVariables >; export const ReleaseChangedDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'subscription', name: { kind: 'Name', value: 'ReleaseChanged' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'releaseChanged' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'release' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ReleaseFields' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ReleaseFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Release' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'targetDate' } }, { kind: 'Field', name: { kind: 'Name', value: 'status' } }, { kind: 'Field', name: { kind: 'Name', value: 'releasedAt' } }, ], }, }, ], } as unknown as DocumentNode< ReleaseChangedSubscription, ReleaseChangedSubscriptionVariables >; export const ProjectChangedDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'subscription', name: { kind: 'Name', value: 'ProjectChanged' }, variableDefinitions: [ { kind: 'VariableDefinition', variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'projectChanged' }, arguments: [ { kind: 'Argument', name: { kind: 'Name', value: 'projectId' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' }, }, }, ], selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'action' } }, { kind: 'Field', name: { kind: 'Name', value: 'project' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProjectFields' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ProjectFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'owner' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'members' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'role' } }, { kind: 'Field', name: { kind: 'Name', value: 'user' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'settings' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'statuses' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'category' }, }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'requiresReason' }, }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, { kind: 'Field', name: { kind: 'Name', value: 'wipLimit' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'transitions' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'from' } }, { kind: 'Field', name: { kind: 'Name', value: 'to' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'issueTypes' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'areas' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode< ProjectChangedSubscription, ProjectChangedSubscriptionVariables >; export const MyProjectsChangedDocument = { kind: 'Document', definitions: [ { kind: 'OperationDefinition', operation: 'subscription', name: { kind: 'Name', value: 'MyProjectsChanged' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'myProjectsChanged' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'action' } }, { kind: 'Field', name: { kind: 'Name', value: 'project' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProjectFields' }, }, ], }, }, ], }, }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'UserRefFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserRef' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, ], }, }, { kind: 'FragmentDefinition', name: { kind: 'Name', value: 'ProjectFields' }, typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' }, }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'key' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'description' } }, { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, { kind: 'Field', name: { kind: 'Name', value: 'version' } }, { kind: 'Field', name: { kind: 'Name', value: 'owner' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'members' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'role' } }, { kind: 'Field', name: { kind: 'Name', value: 'user' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserRefFields' }, }, ], }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'settings' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'statuses' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'category' }, }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'requiresReason' }, }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, { kind: 'Field', name: { kind: 'Name', value: 'wipLimit' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'transitions' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'from' } }, { kind: 'Field', name: { kind: 'Name', value: 'to' } }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'issueTypes' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, { kind: 'Field', name: { kind: 'Name', value: 'color' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, { kind: 'Field', name: { kind: 'Name', value: 'areas' }, selectionSet: { kind: 'SelectionSet', selections: [ { kind: 'Field', name: { kind: 'Name', value: 'id' } }, { kind: 'Field', name: { kind: 'Name', value: 'name' } }, { kind: 'Field', name: { kind: 'Name', value: 'archived' }, }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode< MyProjectsChangedSubscription, MyProjectsChangedSubscriptionVariables >;