import { GraphQLClient, RequestOptions } from 'graphql-request'; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K]; }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe; }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe; }; export type MakeEmpty = { [_ in K]?: never; }; export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; }; type GraphQLClientRequestHeaders = RequestOptions['requestHeaders']; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string; }; String: { input: string; output: string; }; Boolean: { input: boolean; output: boolean; }; Int: { input: number; output: number; }; Float: { input: number; output: number; }; BigInt: { input: number; output: number; }; ISO8601Date: { input: string; output: string; }; ISO8601DateTime: { input: string; output: string; }; JSON: { input: any; output: any; }; }; /** Autogenerated input type of AcceptZenhubOrganizationInvite */ export type AcceptZenhubOrganizationInviteInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; /** A token issued for ZenhubOrganizationInvite */ readonly token: Scalars['String']['input']; }; /** Autogenerated return type of AcceptZenhubOrganizationInvite. */ export type AcceptZenhubOrganizationInvitePayload = { readonly __typename?: 'AcceptZenhubOrganizationInvitePayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly zenhubOrganization: ZenhubOrganization; }; export type ActivityFeed = Comment | TimelineItem; /** The connection type for ActivityFeed. */ export type ActivityFeedConnection = { readonly __typename?: 'ActivityFeedConnection'; /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of nodes. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; readonly totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type ActivityFeedEdge = { readonly __typename?: 'ActivityFeedEdge'; /** A cursor for use in pagination. */ readonly cursor: Scalars['String']['output']; /** The item at the end of the edge. */ readonly node?: Maybe; }; export type ActivityFeedField = { readonly activityFeed?: Maybe; }; export type ActivityFeedFieldActivityFeedArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; skipTimelineItems?: InputMaybe; }; /** Autogenerated input type of AddAssigneesToIssues */ export type AddAssigneesToIssuesInput = { readonly assigneeIds: ReadonlyArray; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; readonly issueIds: ReadonlyArray; }; /** Autogenerated return type of AddAssigneesToIssues. */ export type AddAssigneesToIssuesPayload = { readonly __typename?: 'AddAssigneesToIssuesPayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly failedIssues: ReadonlyArray; readonly githubErrors: Scalars['JSON']['output']; readonly successCount: Scalars['Int']['output']; readonly unassignable: ReadonlyArray; }; /** Autogenerated input type of AddAssigneesToZenhubEpics */ export type AddAssigneesToZenhubEpicsInput = { /** Ids of ZenhubUsers */ readonly assigneeIds: ReadonlyArray; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; readonly zenhubEpicIds: ReadonlyArray; }; /** Autogenerated return type of AddAssigneesToZenhubEpics. */ export type AddAssigneesToZenhubEpicsPayload = { readonly __typename?: 'AddAssigneesToZenhubEpicsPayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly zenhubEpics: ReadonlyArray; }; /** Autogenerated input type of AddEpicsToProject */ export type AddEpicsToProjectInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; readonly epicIds: ReadonlyArray; readonly projectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddEpicsToProject. */ export type AddEpicsToProjectPayload = { readonly __typename?: 'AddEpicsToProjectPayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly epics: ReadonlyArray; readonly previousProjects: ReadonlyArray>; readonly project: Project; }; /** Autogenerated input type of AddEpicsToRoadmap */ export type AddEpicsToRoadmapInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; readonly epicIds: ReadonlyArray; /** Roadmap id can be retrieved from the workspace object */ readonly roadmapId: Scalars['ID']['input']; }; /** Autogenerated return type of AddEpicsToRoadmap. */ export type AddEpicsToRoadmapPayload = { readonly __typename?: 'AddEpicsToRoadmapPayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly epics: ReadonlyArray; readonly roadmap: Roadmap; }; /** Autogenerated input type of AddEstimateSetValue */ export type AddEstimateSetValueInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; readonly repositoryId?: InputMaybe; readonly value: Scalars['Float']['input']; }; /** Autogenerated return type of AddEstimateSetValue. */ export type AddEstimateSetValuePayload = { readonly __typename?: 'AddEstimateSetValuePayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly estimateSet: EstimateSet; }; /** Autogenerated input type of AddIssuesToEpics */ export type AddIssuesToEpicsInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; readonly epicIds: ReadonlyArray; readonly issueIds: ReadonlyArray; }; /** Autogenerated return type of AddIssuesToEpics. */ export type AddIssuesToEpicsPayload = { readonly __typename?: 'AddIssuesToEpicsPayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly epics: ReadonlyArray; }; /** Autogenerated input type of AddIssuesToReleases */ export type AddIssuesToReleasesInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; readonly issueIds: ReadonlyArray; readonly releaseIds: ReadonlyArray; }; /** Autogenerated return type of AddIssuesToReleases. */ export type AddIssuesToReleasesPayload = { readonly __typename?: 'AddIssuesToReleasesPayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly releases: ReadonlyArray; }; /** Autogenerated input type of AddIssuesToSprints */ export type AddIssuesToSprintsInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; readonly issueIds: ReadonlyArray; readonly sprintIds: ReadonlyArray; }; /** Autogenerated return type of AddIssuesToSprints. */ export type AddIssuesToSprintsPayload = { readonly __typename?: 'AddIssuesToSprintsPayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly sprintIssues: ReadonlyArray; }; /** Autogenerated input type of AddIssuesToZenhubEpics */ export type AddIssuesToZenhubEpicsInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; readonly issueIds: ReadonlyArray; readonly zenhubEpicIds: ReadonlyArray; }; /** Autogenerated return type of AddIssuesToZenhubEpics. */ export type AddIssuesToZenhubEpicsPayload = { readonly __typename?: 'AddIssuesToZenhubEpicsPayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly zenhubEpics: ReadonlyArray; }; /** Autogenerated input type of AddLabelsToIssues */ export type AddLabelsToIssuesInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: InputMaybe; readonly issueIds: ReadonlyArray; /** One of two label arguments is required */ readonly labelIds?: InputMaybe>; /** One of two label arguments is required */ readonly labelInfos?: InputMaybe>; }; /** Autogenerated return type of AddLabelsToIssues. */ export type AddLabelsToIssuesPayload = { readonly __typename?: 'AddLabelsToIssuesPayload'; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId?: Maybe; readonly failedIssues: ReadonlyArray; readonly githubErrors: Scalars['JSON']['output']; readonly labels: ReadonlyArray