diff --git a/package.json b/package.json index 3dff205d..6358c897 100644 --- a/package.json +++ b/package.json @@ -17,23 +17,23 @@ "graphql": "16.6.0" }, "devDependencies": { - "@graphql-codegen/cli": "2.16.5", + "@graphql-codegen/cli": "4.0.1", "@graphql-codegen/import-types-preset": "2.2.6", - "@graphql-codegen/typescript": "2.8.8", - "@graphql-codegen/typescript-operations": "2.5.13", - "@octokit/graphql-schema": "13.6.0", - "@tsconfig/node16": "1.0.3", - "@types/jest": "29.4.0", - "@types/node": "16.18.16", - "@typescript-eslint/eslint-plugin": "5.55.0", - "@typescript-eslint/parser": "5.55.0", + "@graphql-codegen/typescript": "4.0.0", + "@graphql-codegen/typescript-operations": "4.0.0", + "@octokit/graphql-schema": "14.9.1", + "@tsconfig/node16": "1.0.4", + "@types/jest": "29.5.2", + "@types/node": "16.18.34", + "@typescript-eslint/eslint-plugin": "5.59.9", + "@typescript-eslint/parser": "5.59.9", "@vercel/ncc": "0.36.1", - "eslint": "8.36.0", + "eslint": "8.42.0", "eslint-plugin-jest": "27.2.1", - "jest": "29.4.1", + "jest": "29.5.0", "js-yaml": "4.1.0", - "prettier": "2.8.4", - "ts-jest": "29.0.5", - "typescript": "4.9.5" + "prettier": "2.8.8", + "ts-jest": "29.1.0", + "typescript": "5.1.3" } } diff --git a/src/generated/graphql-types.ts b/src/generated/graphql-types.ts index f5962188..90e76200 100644 --- a/src/generated/graphql-types.ts +++ b/src/generated/graphql-types.ts @@ -3,76 +3,79 @@ 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 }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; - Base64String: any; - Date: any; - DateTime: any; - GitObjectID: any; - GitSSHRemote: any; - GitTimestamp: any; - HTML: any; - PreciseDateTime: any; - URI: string; - X509Certificate: any; + ID: { input: string | number; output: string; } + String: { input: string; output: string; } + Boolean: { input: boolean; output: boolean; } + Int: { input: number; output: number; } + Float: { input: number; output: number; } + Base64String: { input: any; output: any; } + BigInt: { input: any; output: any; } + Date: { input: any; output: any; } + DateTime: { input: any; output: any; } + GitObjectID: { input: any; output: any; } + GitSSHRemote: { input: any; output: any; } + GitTimestamp: { input: any; output: any; } + HTML: { input: any; output: any; } + PreciseDateTime: { input: any; output: any; } + URI: { input: string; output: string; } + X509Certificate: { input: any; output: any; } }; /** Autogenerated input type of AbortQueuedMigrations */ export type AbortQueuedMigrationsInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the organization that is running the migrations. */ - ownerId: Scalars['ID']; + ownerId: Scalars['ID']['input']; }; /** Autogenerated return type of AbortQueuedMigrations */ export type AbortQueuedMigrationsPayload = { __typename?: 'AbortQueuedMigrationsPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** Did the operation succeed? */ - success?: Maybe; + success?: Maybe; }; /** Autogenerated input type of AcceptEnterpriseAdministratorInvitation */ export type AcceptEnterpriseAdministratorInvitationInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The id of the invitation being accepted */ - invitationId: Scalars['ID']; + invitationId: Scalars['ID']['input']; }; /** Autogenerated return type of AcceptEnterpriseAdministratorInvitation */ export type AcceptEnterpriseAdministratorInvitationPayload = { __typename?: 'AcceptEnterpriseAdministratorInvitationPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The invitation that was accepted. */ invitation?: Maybe; /** A message confirming the result of accepting an administrator invitation. */ - message?: Maybe; + message?: Maybe; }; /** Autogenerated input type of AcceptTopicSuggestion */ export type AcceptTopicSuggestionInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The name of the suggested topic. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The Node ID of the repository. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of AcceptTopicSuggestion */ export type AcceptTopicSuggestionPayload = { __typename?: 'AcceptTopicSuggestionPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The accepted topic. */ topic?: Maybe; }; @@ -80,34 +83,34 @@ export type AcceptTopicSuggestionPayload = { /** Represents an object which can take actions on GitHub. Typically a User or Bot. */ export type Actor = { /** A URL pointing to the actor's public avatar. */ - avatarUrl: Scalars['URI']; + avatarUrl: Scalars['URI']['output']; /** The username of the actor. */ - login: Scalars['String']; + login: Scalars['String']['output']; /** The HTTP path for this actor. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The HTTP URL for this actor. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; }; /** Represents an object which can take actions on GitHub. Typically a User or Bot. */ export type ActorAvatarUrlArgs = { - size?: InputMaybe; + size?: InputMaybe; }; /** Location information for an actor */ export type ActorLocation = { __typename?: 'ActorLocation'; /** City */ - city?: Maybe; + city?: Maybe; /** Country name */ - country?: Maybe; + country?: Maybe; /** Country code */ - countryCode?: Maybe; + countryCode?: Maybe; /** Region name */ - region?: Maybe; + region?: Maybe; /** Region or state code */ - regionCode?: Maybe; + regionCode?: Maybe; }; /** The actor's type. */ @@ -121,11 +124,11 @@ export enum ActorType { /** Autogenerated input type of AddAssigneesToAssignable */ export type AddAssigneesToAssignableInput = { /** The id of the assignable object to add assignees to. */ - assignableId: Scalars['ID']; + assignableId: Scalars['ID']['input']; /** The id of users to add as assignees. */ - assigneeIds: Array; + assigneeIds: Array; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; }; /** Autogenerated return type of AddAssigneesToAssignable */ @@ -134,24 +137,24 @@ export type AddAssigneesToAssignablePayload = { /** The item that was assigned. */ assignable?: Maybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; }; /** Autogenerated input type of AddComment */ export type AddCommentInput = { /** The contents of the comment. */ - body: Scalars['String']; + body: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node ID of the subject to modify. */ - subjectId: Scalars['ID']; + subjectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddComment */ export type AddCommentPayload = { __typename?: 'AddCommentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The edge from the subject's comment connection. */ commentEdge?: Maybe; /** The subject */ @@ -163,20 +166,20 @@ export type AddCommentPayload = { /** Autogenerated input type of AddDiscussionComment */ export type AddDiscussionCommentInput = { /** The contents of the comment. */ - body: Scalars['String']; + body: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node ID of the discussion to comment on. */ - discussionId: Scalars['ID']; + discussionId: Scalars['ID']['input']; /** The Node ID of the discussion comment within this discussion to reply to. */ - replyToId?: InputMaybe; + replyToId?: InputMaybe; }; /** Autogenerated return type of AddDiscussionComment */ export type AddDiscussionCommentPayload = { __typename?: 'AddDiscussionCommentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The newly created discussion comment. */ comment?: Maybe; }; @@ -184,16 +187,16 @@ export type AddDiscussionCommentPayload = { /** Autogenerated input type of AddDiscussionPollVote */ export type AddDiscussionPollVoteInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node ID of the discussion poll option to vote for. */ - pollOptionId: Scalars['ID']; + pollOptionId: Scalars['ID']['input']; }; /** Autogenerated return type of AddDiscussionPollVote */ export type AddDiscussionPollVotePayload = { __typename?: 'AddDiscussionPollVotePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The poll option that a vote was added to. */ pollOption?: Maybe; }; @@ -201,22 +204,22 @@ export type AddDiscussionPollVotePayload = { /** Autogenerated input type of AddEnterpriseOrganizationMember */ export type AddEnterpriseOrganizationMemberInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the enterprise which owns the organization. */ - enterpriseId: Scalars['ID']; + enterpriseId: Scalars['ID']['input']; /** The ID of the organization the users will be added to. */ - organizationId: Scalars['ID']; + organizationId: Scalars['ID']['input']; /** The role to assign the users in the organization */ role?: InputMaybe; /** The IDs of the enterprise members to add. */ - userIds: Array; + userIds: Array; }; /** Autogenerated return type of AddEnterpriseOrganizationMember */ export type AddEnterpriseOrganizationMemberPayload = { __typename?: 'AddEnterpriseOrganizationMemberPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The users who were added to the organization. */ users?: Maybe>; }; @@ -224,37 +227,37 @@ export type AddEnterpriseOrganizationMemberPayload = { /** Autogenerated input type of AddEnterpriseSupportEntitlement */ export type AddEnterpriseSupportEntitlementInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the Enterprise which the admin belongs to. */ - enterpriseId: Scalars['ID']; + enterpriseId: Scalars['ID']['input']; /** The login of a member who will receive the support entitlement. */ - login: Scalars['String']; + login: Scalars['String']['input']; }; /** Autogenerated return type of AddEnterpriseSupportEntitlement */ export type AddEnterpriseSupportEntitlementPayload = { __typename?: 'AddEnterpriseSupportEntitlementPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** A message confirming the result of adding the support entitlement. */ - message?: Maybe; + message?: Maybe; }; /** Autogenerated input type of AddLabelsToLabelable */ export type AddLabelsToLabelableInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ids of the labels to add. */ - labelIds: Array; + labelIds: Array; /** The id of the labelable object to add labels to. */ - labelableId: Scalars['ID']; + labelableId: Scalars['ID']['input']; }; /** Autogenerated return type of AddLabelsToLabelable */ export type AddLabelsToLabelablePayload = { __typename?: 'AddLabelsToLabelablePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The item that was labeled. */ labelable?: Maybe; }; @@ -262,13 +265,13 @@ export type AddLabelsToLabelablePayload = { /** Autogenerated input type of AddProjectCard */ export type AddProjectCardInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The content of the card. Must be a member of the ProjectCardItem union */ - contentId?: InputMaybe; + contentId?: InputMaybe; /** The note on the card. */ - note?: InputMaybe; + note?: InputMaybe; /** The Node ID of the ProjectColumn. */ - projectColumnId: Scalars['ID']; + projectColumnId: Scalars['ID']['input']; }; /** Autogenerated return type of AddProjectCard */ @@ -277,7 +280,7 @@ export type AddProjectCardPayload = { /** The edge from the ProjectColumn's card connection. */ cardEdge?: Maybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The ProjectColumn */ projectColumn?: Maybe; }; @@ -285,18 +288,18 @@ export type AddProjectCardPayload = { /** Autogenerated input type of AddProjectColumn */ export type AddProjectColumnInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The name of the column. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The Node ID of the project. */ - projectId: Scalars['ID']; + projectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddProjectColumn */ export type AddProjectColumnPayload = { __typename?: 'AddProjectColumnPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The edge from the project's column connection. */ columnEdge?: Maybe; /** The project */ @@ -306,22 +309,22 @@ export type AddProjectColumnPayload = { /** Autogenerated input type of AddProjectV2DraftIssue */ export type AddProjectV2DraftIssueInput = { /** The IDs of the assignees of the draft issue. */ - assigneeIds?: InputMaybe>; + assigneeIds?: InputMaybe>; /** The body of the draft issue. */ - body?: InputMaybe; + body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the Project to add the draft issue to. */ - projectId: Scalars['ID']; + projectId: Scalars['ID']['input']; /** The title of the draft issue. A project item can also be created by providing the URL of an Issue or Pull Request if you have access. */ - title: Scalars['String']; + title: Scalars['String']['input']; }; /** Autogenerated return type of AddProjectV2DraftIssue */ export type AddProjectV2DraftIssuePayload = { __typename?: 'AddProjectV2DraftIssuePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The draft issue added to the project. */ projectItem?: Maybe; }; @@ -329,47 +332,96 @@ export type AddProjectV2DraftIssuePayload = { /** Autogenerated input type of AddProjectV2ItemById */ export type AddProjectV2ItemByIdInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The id of the Issue or Pull Request to add. */ - contentId: Scalars['ID']; + contentId: Scalars['ID']['input']; /** The ID of the Project to add the item to. */ - projectId: Scalars['ID']; + projectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddProjectV2ItemById */ export type AddProjectV2ItemByIdPayload = { __typename?: 'AddProjectV2ItemByIdPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The item added to the project. */ item?: Maybe; }; /** Autogenerated input type of AddPullRequestReviewComment */ export type AddPullRequestReviewCommentInput = { - /** The text of the comment. */ - body: Scalars['String']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The SHA of the commit to comment on. */ - commitOID?: InputMaybe; - /** The comment id to reply to. */ - inReplyTo?: InputMaybe; - /** The relative path of the file to comment on. */ - path?: InputMaybe; - /** The line index in the diff to comment on. */ - position?: InputMaybe; - /** The node ID of the pull request reviewing */ - pullRequestId?: InputMaybe; - /** The Node ID of the review to modify. */ - pullRequestReviewId?: InputMaybe; + /** + * The text of the comment. This field is required + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `body` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + * + */ + body?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** + * The SHA of the commit to comment on. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `commitOID` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + * + */ + commitOID?: InputMaybe; + /** + * The comment id to reply to. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `inReplyTo` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + * + */ + inReplyTo?: InputMaybe; + /** + * The relative path of the file to comment on. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `path` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + * + */ + path?: InputMaybe; + /** + * The line index in the diff to comment on. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `position` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + * + */ + position?: InputMaybe; + /** + * The node ID of the pull request reviewing + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `pullRequestId` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + * + */ + pullRequestId?: InputMaybe; + /** + * The Node ID of the review to modify. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `pullRequestReviewId` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + * + */ + pullRequestReviewId?: InputMaybe; }; /** Autogenerated return type of AddPullRequestReviewComment */ export type AddPullRequestReviewCommentPayload = { __typename?: 'AddPullRequestReviewCommentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The newly created comment. */ comment?: Maybe; /** The edge from the review's comment connection. */ @@ -379,17 +431,24 @@ export type AddPullRequestReviewCommentPayload = { /** Autogenerated input type of AddPullRequestReview */ export type AddPullRequestReviewInput = { /** The contents of the review body comment. */ - body?: InputMaybe; + body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The review line comments. */ + clientMutationId?: InputMaybe; + /** + * The review line comments. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `comments` will be removed. use the `threads` argument instead + * **Reason:** We are deprecating comment fields that use diff-relative positioning + * + */ comments?: InputMaybe>>; /** The commit OID the review pertains to. */ - commitOID?: InputMaybe; + commitOID?: InputMaybe; /** The event to perform on the pull request review. */ event?: InputMaybe; /** The Node ID of the pull request to modify. */ - pullRequestId: Scalars['ID']; + pullRequestId: Scalars['ID']['input']; /** The review line comment threads. */ threads?: InputMaybe>>; }; @@ -398,7 +457,7 @@ export type AddPullRequestReviewInput = { export type AddPullRequestReviewPayload = { __typename?: 'AddPullRequestReviewPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The newly created pull request review. */ pullRequestReview?: Maybe; /** The edge from the pull request's review connection. */ @@ -408,30 +467,32 @@ export type AddPullRequestReviewPayload = { /** Autogenerated input type of AddPullRequestReviewThread */ export type AddPullRequestReviewThreadInput = { /** Body of the thread's first comment. */ - body: Scalars['String']; + body: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The line of the blob to which the thread refers. The end of the line range for multi-line comments. */ - line: Scalars['Int']; + clientMutationId?: InputMaybe; + /** The line of the blob to which the thread refers, required for line-level threads. The end of the line range for multi-line comments. */ + line?: InputMaybe; /** Path to the file being commented on. */ - path: Scalars['String']; + path: Scalars['String']['input']; /** The node ID of the pull request reviewing */ - pullRequestId?: InputMaybe; + pullRequestId?: InputMaybe; /** The Node ID of the review to modify. */ - pullRequestReviewId?: InputMaybe; + pullRequestReviewId?: InputMaybe; /** The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. */ side?: InputMaybe; /** The first line of the range to which the comment refers. */ - startLine?: InputMaybe; + startLine?: InputMaybe; /** The side of the diff on which the start line resides. */ startSide?: InputMaybe; + /** The level at which the comments in the corresponding thread are targeted, can be a diff line or a file */ + subjectType?: InputMaybe; }; /** Autogenerated return type of AddPullRequestReviewThread */ export type AddPullRequestReviewThreadPayload = { __typename?: 'AddPullRequestReviewThreadPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The newly created thread. */ thread?: Maybe; }; @@ -439,18 +500,18 @@ export type AddPullRequestReviewThreadPayload = { /** Autogenerated input type of AddReaction */ export type AddReactionInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The name of the emoji to react with. */ content: ReactionContent; /** The Node ID of the subject to modify. */ - subjectId: Scalars['ID']; + subjectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddReaction */ export type AddReactionPayload = { __typename?: 'AddReactionPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The reaction object. */ reaction?: Maybe; /** The reaction groups for the subject. */ @@ -462,16 +523,16 @@ export type AddReactionPayload = { /** Autogenerated input type of AddStar */ export type AddStarInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Starrable ID to star. */ - starrableId: Scalars['ID']; + starrableId: Scalars['ID']['input']; }; /** Autogenerated return type of AddStar */ export type AddStarPayload = { __typename?: 'AddStarPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The starrable. */ starrable?: Maybe; }; @@ -479,16 +540,16 @@ export type AddStarPayload = { /** Autogenerated input type of AddUpvote */ export type AddUpvoteInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node ID of the discussion or comment to upvote. */ - subjectId: Scalars['ID']; + subjectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddUpvote */ export type AddUpvotePayload = { __typename?: 'AddUpvotePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The votable subject. */ subject?: Maybe; }; @@ -496,103 +557,119 @@ export type AddUpvotePayload = { /** Autogenerated input type of AddVerifiableDomain */ export type AddVerifiableDomainInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The URL of the domain */ - domain: Scalars['URI']; + domain: Scalars['URI']['input']; /** The ID of the owner to add the domain to */ - ownerId: Scalars['ID']; + ownerId: Scalars['ID']['input']; }; /** Autogenerated return type of AddVerifiableDomain */ export type AddVerifiableDomainPayload = { __typename?: 'AddVerifiableDomainPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The verifiable domain that was added. */ domain?: Maybe; }; +/** Represents an 'added_to_merge_queue' event on a given pull request. */ +export type AddedToMergeQueueEvent = Node & { + __typename?: 'AddedToMergeQueueEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The user who added this Pull Request to the merge queue */ + enqueuer?: Maybe; + id: Scalars['ID']['output']; + /** The merge queue where this pull request was added to. */ + mergeQueue?: Maybe; + /** PullRequest referenced by event. */ + pullRequest?: Maybe; +}; + /** Represents a 'added_to_project' event on a given issue or pull request. */ export type AddedToProjectEvent = Node & { __typename?: 'AddedToProjectEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; - id: Scalars['ID']; + databaseId?: Maybe; + id: Scalars['ID']['output']; }; /** Represents an announcement banner. */ export type AnnouncementBanner = { /** The text of the announcement */ - announcement?: Maybe; + announcement?: Maybe; /** The expiration date of the announcement, if any */ - announcementExpiresAt?: Maybe; + announcementExpiresAt?: Maybe; /** Whether the announcement can be dismissed by the user */ - announcementUserDismissible?: Maybe; + announcementUserDismissible?: Maybe; }; /** A GitHub App. */ export type App = Node & { __typename?: 'App'; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The description of the app. */ - description?: Maybe; - id: Scalars['ID']; + description?: Maybe; + id: Scalars['ID']['output']; /** The IP addresses of the app. */ ipAllowListEntries: IpAllowListEntryConnection; /** The hex color code, without the leading '#', for the logo background. */ - logoBackgroundColor: Scalars['String']; + logoBackgroundColor: Scalars['String']['output']; /** A URL pointing to the app's logo. */ - logoUrl: Scalars['URI']; + logoUrl: Scalars['URI']['output']; /** The name of the app. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** A slug based on the name of the app for use in URLs. */ - slug: Scalars['String']; + slug: Scalars['String']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** The URL to the app's homepage. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; }; /** A GitHub App. */ export type AppIpAllowListEntriesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** A GitHub App. */ export type AppLogoUrlArgs = { - size?: InputMaybe; + size?: InputMaybe; }; /** Autogenerated input type of ApproveDeployments */ export type ApproveDeploymentsInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** Optional comment for approving deployments */ - comment?: InputMaybe; + comment?: InputMaybe; /** The ids of environments to reject deployments */ - environmentIds: Array; + environmentIds: Array; /** The node ID of the workflow run containing the pending deployments. */ - workflowRunId: Scalars['ID']; + workflowRunId: Scalars['ID']['input']; }; /** Autogenerated return type of ApproveDeployments */ export type ApproveDeploymentsPayload = { __typename?: 'ApproveDeploymentsPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The affected deployments. */ deployments?: Maybe>; }; @@ -600,16 +677,16 @@ export type ApproveDeploymentsPayload = { /** Autogenerated input type of ApproveVerifiableDomain */ export type ApproveVerifiableDomainInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the verifiable domain to approve. */ - id: Scalars['ID']; + id: Scalars['ID']['input']; }; /** Autogenerated return type of ApproveVerifiableDomain */ export type ApproveVerifiableDomainPayload = { __typename?: 'ApproveVerifiableDomainPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The verifiable domain that was approved. */ domain?: Maybe; }; @@ -617,18 +694,18 @@ export type ApproveVerifiableDomainPayload = { /** Autogenerated input type of ArchiveProjectV2Item */ export type ArchiveProjectV2ItemInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the ProjectV2Item to archive. */ - itemId: Scalars['ID']; + itemId: Scalars['ID']['input']; /** The ID of the Project to archive the item from. */ - projectId: Scalars['ID']; + projectId: Scalars['ID']['input']; }; /** Autogenerated return type of ArchiveProjectV2Item */ export type ArchiveProjectV2ItemPayload = { __typename?: 'ArchiveProjectV2ItemPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The item archived from the project. */ item?: Maybe; }; @@ -636,16 +713,16 @@ export type ArchiveProjectV2ItemPayload = { /** Autogenerated input type of ArchiveRepository */ export type ArchiveRepositoryInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the repository to mark as archived. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of ArchiveRepository */ export type ArchiveRepositoryPayload = { __typename?: 'ArchiveRepositoryPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The repository that was marked as archived. */ repository?: Maybe; }; @@ -659,10 +736,10 @@ export type Assignable = { /** An object that can have users assigned to it. */ export type AssignableAssigneesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** Represents an 'assigned' event on any assignable object. */ @@ -675,8 +752,8 @@ export type AssignedEvent = Node & { /** Identifies the user or mannequin that was assigned. */ assignee?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** * Identifies the user who was assigned. * @deprecated Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC. @@ -690,31 +767,31 @@ export type Assignee = Bot | Mannequin | Organization | User; /** An entry in the audit log. */ export type AuditEntry = { /** The action name */ - action: Scalars['String']; + action: Scalars['String']['output']; /** The user who initiated the action */ actor?: Maybe; /** The IP address of the actor */ - actorIp?: Maybe; + actorIp?: Maybe; /** A readable representation of the actor's location */ actorLocation?: Maybe; /** The username of the user who initiated the action */ - actorLogin?: Maybe; + actorLogin?: Maybe; /** The HTTP path for the actor. */ - actorResourcePath?: Maybe; + actorResourcePath?: Maybe; /** The HTTP URL for the actor. */ - actorUrl?: Maybe; + actorUrl?: Maybe; /** The time the action was initiated */ - createdAt: Scalars['PreciseDateTime']; + createdAt: Scalars['PreciseDateTime']['output']; /** The corresponding operation type for the action */ operationType?: Maybe; /** The user affected by the action */ user?: Maybe; /** For actions involving two users, the actor is the initiator and the user is the affected user. */ - userLogin?: Maybe; + userLogin?: Maybe; /** The HTTP path for the user. */ - userResourcePath?: Maybe; + userResourcePath?: Maybe; /** The HTTP URL for the user. */ - userUrl?: Maybe; + userUrl?: Maybe; }; /** Types that can initiate an audit log event. */ @@ -740,16 +817,16 @@ export type AutoMergeDisabledEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The user who disabled auto-merge for this Pull Request */ disabler?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** PullRequest referenced by event */ pullRequest?: Maybe; /** The reason auto-merge was disabled */ - reason?: Maybe; + reason?: Maybe; /** The reason_code relating to why auto-merge was disabled */ - reasonCode?: Maybe; + reasonCode?: Maybe; }; /** Represents a 'auto_merge_enabled' event on a given pull request. */ @@ -758,10 +835,10 @@ export type AutoMergeEnabledEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The user who enabled auto-merge for this Pull Request */ enabler?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest?: Maybe; }; @@ -770,13 +847,13 @@ export type AutoMergeEnabledEvent = Node & { export type AutoMergeRequest = { __typename?: 'AutoMergeRequest'; /** The email address of the author of this auto-merge request. */ - authorEmail?: Maybe; + authorEmail?: Maybe; /** The commit message of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging. */ - commitBody?: Maybe; + commitBody?: Maybe; /** The commit title of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging */ - commitHeadline?: Maybe; + commitHeadline?: Maybe; /** When was this auto-merge request was enabled. */ - enabledAt?: Maybe; + enabledAt?: Maybe; /** The actor who created the auto-merge request. */ enabledBy?: Maybe; /** The merge method of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging. */ @@ -791,10 +868,10 @@ export type AutoRebaseEnabledEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The user who enabled auto-merge (rebase) for this Pull Request */ enabler?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest?: Maybe; }; @@ -805,10 +882,10 @@ export type AutoSquashEnabledEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The user who enabled auto-merge (squash) for this Pull Request */ enabler?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest?: Maybe; }; @@ -819,12 +896,12 @@ export type AutomaticBaseChangeFailedEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** The new base for this PR */ - newBase: Scalars['String']; + newBase: Scalars['String']['output']; /** The old base for this PR */ - oldBase: Scalars['String']; + oldBase: Scalars['String']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; }; @@ -835,12 +912,12 @@ export type AutomaticBaseChangeSucceededEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** The new base for this PR */ - newBase: Scalars['String']; + newBase: Scalars['String']['output']; /** The old base for this PR */ - oldBase: Scalars['String']; + oldBase: Scalars['String']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; }; @@ -851,14 +928,14 @@ export type BaseRefChangedEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the name of the base ref for the pull request after it was changed. */ - currentRefName: Scalars['String']; + currentRefName: Scalars['String']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; - id: Scalars['ID']; + databaseId?: Maybe; + id: Scalars['ID']['output']; /** Identifies the name of the base ref for the pull request before it was changed. */ - previousRefName: Scalars['String']; + previousRefName: Scalars['String']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; }; @@ -869,10 +946,10 @@ export type BaseRefDeletedEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the name of the Ref associated with the `base_ref_deleted` event. */ - baseRefName?: Maybe; + baseRefName?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest?: Maybe; }; @@ -887,8 +964,8 @@ export type BaseRefForcePushedEvent = Node & { /** Identifies the before commit SHA for the 'base_ref_force_pushed' event. */ beforeCommit?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; /** Identifies the fully qualified ref name for the 'base_ref_force_pushed' event. */ @@ -906,77 +983,102 @@ export type Blame = { export type BlameRange = { __typename?: 'BlameRange'; /** Identifies the recency of the change, from 1 (new) to 10 (old). This is calculated as a 2-quantile and determines the length of distance between the median age of all the changes in the file and the recency of the current range's change. */ - age: Scalars['Int']; + age: Scalars['Int']['output']; /** Identifies the line author */ commit: Commit; /** The ending line for the range */ - endingLine: Scalars['Int']; + endingLine: Scalars['Int']['output']; /** The starting line for the range */ - startingLine: Scalars['Int']; + startingLine: Scalars['Int']['output']; }; /** Represents a Git blob. */ export type Blob = GitObject & Node & { __typename?: 'Blob'; /** An abbreviated version of the Git object ID */ - abbreviatedOid: Scalars['String']; + abbreviatedOid: Scalars['String']['output']; /** Byte size of Blob object */ - byteSize: Scalars['Int']; + byteSize: Scalars['Int']['output']; /** The HTTP path for this Git object */ - commitResourcePath: Scalars['URI']; + commitResourcePath: Scalars['URI']['output']; /** The HTTP URL for this Git object */ - commitUrl: Scalars['URI']; - id: Scalars['ID']; + commitUrl: Scalars['URI']['output']; + id: Scalars['ID']['output']; /** Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding. */ - isBinary?: Maybe; + isBinary?: Maybe; /** Indicates whether the contents is truncated */ - isTruncated: Scalars['Boolean']; + isTruncated: Scalars['Boolean']['output']; /** The Git object ID */ - oid: Scalars['GitObjectID']; + oid: Scalars['GitObjectID']['output']; /** The Repository the Git object belongs to */ repository: Repository; /** UTF8 text data or null if the Blob is binary */ - text?: Maybe; + text?: Maybe; }; /** A special type of user which takes actions on behalf of GitHub Apps. */ export type Bot = Actor & Node & UniformResourceLocatable & { __typename?: 'Bot'; /** A URL pointing to the GitHub App's public avatar. */ - avatarUrl: Scalars['URI']; + avatarUrl: Scalars['URI']['output']; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; - id: Scalars['ID']; + databaseId?: Maybe; + id: Scalars['ID']['output']; /** The username of the actor. */ - login: Scalars['String']; + login: Scalars['String']['output']; /** The HTTP path for this bot */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** The HTTP URL for this bot */ - url: Scalars['URI']; + url: Scalars['URI']['output']; }; /** A special type of user which takes actions on behalf of GitHub Apps. */ export type BotAvatarUrlArgs = { - size?: InputMaybe; + size?: InputMaybe; }; /** Types which can be actors for `BranchActorAllowance` objects. */ export type BranchActorAllowanceActor = App | Team | User; +/** Parameters to be used for the branch_name_pattern rule */ +export type BranchNamePatternParameters = { + __typename?: 'BranchNamePatternParameters'; + /** How this rule will appear to users. */ + name?: Maybe; + /** If true, the rule will fail if the pattern matches. */ + negate: Scalars['Boolean']['output']; + /** The operator to use for matching. */ + operator: Scalars['String']['output']; + /** The pattern to match with. */ + pattern: Scalars['String']['output']; +}; + +/** Parameters to be used for the branch_name_pattern rule */ +export type BranchNamePatternParametersInput = { + /** How this rule will appear to users. */ + name?: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + negate?: InputMaybe; + /** The operator to use for matching. */ + operator: Scalars['String']['input']; + /** The pattern to match with. */ + pattern: Scalars['String']['input']; +}; + /** A branch protection rule. */ export type BranchProtectionRule = Node & { __typename?: 'BranchProtectionRule'; /** Can this branch be deleted. */ - allowsDeletions: Scalars['Boolean']; + allowsDeletions: Scalars['Boolean']['output']; /** Are force pushes allowed on this branch. */ - allowsForcePushes: Scalars['Boolean']; + allowsForcePushes: Scalars['Boolean']['output']; /** Is branch creation a protected operation. */ - blocksCreations: Scalars['Boolean']; + blocksCreations: Scalars['Boolean']['output']; /** A list of conflicts matching branches protection rule and other branch protection rules */ branchProtectionRuleConflicts: BranchProtectionRuleConflictConnection; /** A list of actors able to force push for this branch protection rule. */ @@ -986,54 +1088,54 @@ export type BranchProtectionRule = Node & { /** The actor who created this branch protection rule. */ creator?: Maybe; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** Will new commits pushed to matching branches dismiss pull request review approvals. */ - dismissesStaleReviews: Scalars['Boolean']; - id: Scalars['ID']; + dismissesStaleReviews: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; /** Can admins overwrite branch protection. */ - isAdminEnforced: Scalars['Boolean']; + isAdminEnforced: Scalars['Boolean']['output']; /** Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. */ - lockAllowsFetchAndMerge: Scalars['Boolean']; + lockAllowsFetchAndMerge: Scalars['Boolean']['output']; /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ - lockBranch: Scalars['Boolean']; + lockBranch: Scalars['Boolean']['output']; /** Repository refs that are protected by this rule */ matchingRefs: RefConnection; /** Identifies the protection rule pattern. */ - pattern: Scalars['String']; + pattern: Scalars['String']['output']; /** A list push allowances for this branch protection rule. */ pushAllowances: PushAllowanceConnection; /** The repository associated with this branch protection rule. */ repository?: Maybe; /** Whether the most recent push must be approved by someone other than the person who pushed it */ - requireLastPushApproval: Scalars['Boolean']; + requireLastPushApproval: Scalars['Boolean']['output']; /** Number of approving reviews required to update matching branches. */ - requiredApprovingReviewCount?: Maybe; + requiredApprovingReviewCount?: Maybe; /** List of required deployment environments that must be deployed successfully to update matching branches */ - requiredDeploymentEnvironments?: Maybe>>; + requiredDeploymentEnvironments?: Maybe>>; /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ - requiredStatusCheckContexts?: Maybe>>; + requiredStatusCheckContexts?: Maybe>>; /** List of required status checks that must pass for commits to be accepted to matching branches. */ requiredStatusChecks?: Maybe>; /** Are approving reviews required to update matching branches. */ - requiresApprovingReviews: Scalars['Boolean']; + requiresApprovingReviews: Scalars['Boolean']['output']; /** Are reviews from code owners required to update matching branches. */ - requiresCodeOwnerReviews: Scalars['Boolean']; + requiresCodeOwnerReviews: Scalars['Boolean']['output']; /** Are commits required to be signed. */ - requiresCommitSignatures: Scalars['Boolean']; + requiresCommitSignatures: Scalars['Boolean']['output']; /** Are conversations required to be resolved before merging. */ - requiresConversationResolution: Scalars['Boolean']; + requiresConversationResolution: Scalars['Boolean']['output']; /** Does this branch require deployment to specific environments before merging */ - requiresDeployments: Scalars['Boolean']; + requiresDeployments: Scalars['Boolean']['output']; /** Are merge commits prohibited from being pushed to this branch. */ - requiresLinearHistory: Scalars['Boolean']; + requiresLinearHistory: Scalars['Boolean']['output']; /** Are status checks required to update matching branches. */ - requiresStatusChecks: Scalars['Boolean']; + requiresStatusChecks: Scalars['Boolean']['output']; /** Are branches required to be up to date before merging. */ - requiresStrictStatusChecks: Scalars['Boolean']; + requiresStrictStatusChecks: Scalars['Boolean']['output']; /** Is pushing to matching branches restricted. */ - restrictsPushes: Scalars['Boolean']; + restrictsPushes: Scalars['Boolean']['output']; /** Is dismissal of pull request reviews restricted. */ - restrictsReviewDismissals: Scalars['Boolean']; + restrictsReviewDismissals: Scalars['Boolean']['output']; /** A list review dismissal allowances for this branch protection rule. */ reviewDismissalAllowances: ReviewDismissalAllowanceConnection; }; @@ -1041,56 +1143,56 @@ export type BranchProtectionRule = Node & { /** A branch protection rule. */ export type BranchProtectionRuleBranchProtectionRuleConflictsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A branch protection rule. */ export type BranchProtectionRuleBypassForcePushAllowancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A branch protection rule. */ export type BranchProtectionRuleBypassPullRequestAllowancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A branch protection rule. */ export type BranchProtectionRuleMatchingRefsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - query?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; }; /** A branch protection rule. */ export type BranchProtectionRulePushAllowancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A branch protection rule. */ export type BranchProtectionRuleReviewDismissalAllowancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A conflict between two branch protection rules. */ @@ -1114,14 +1216,14 @@ export type BranchProtectionRuleConflictConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type BranchProtectionRuleConflictEdge = { __typename?: 'BranchProtectionRuleConflictEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -1136,18 +1238,31 @@ export type BranchProtectionRuleConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type BranchProtectionRuleEdge = { __typename?: 'BranchProtectionRuleEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; +/** Information about a sponsorship to make for a user or organization with a GitHub Sponsors profile, as part of sponsoring many users or organizations at once. */ +export type BulkSponsorship = { + /** The amount to pay to the sponsorable in US dollars. Valid values: 1-12000. */ + amount: Scalars['Int']['input']; + /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ + sponsorableId?: InputMaybe; + /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ + sponsorableLogin?: InputMaybe; +}; + +/** Types that can represent a repository ruleset bypass actor. */ +export type BypassActor = App | Team; + /** A user, team, or app who has the ability to bypass a force push requirement on a protected branch. */ export type BypassForcePushAllowance = Node & { __typename?: 'BypassForcePushAllowance'; @@ -1155,7 +1270,7 @@ export type BypassForcePushAllowance = Node & { actor?: Maybe; /** Identifies the branch protection rule associated with the allowed user, team, or app. */ branchProtectionRule?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; }; /** The connection type for BypassForcePushAllowance. */ @@ -1168,14 +1283,14 @@ export type BypassForcePushAllowanceConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type BypassForcePushAllowanceEdge = { __typename?: 'BypassForcePushAllowanceEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -1187,7 +1302,7 @@ export type BypassPullRequestAllowance = Node & { actor?: Maybe; /** Identifies the branch protection rule associated with the allowed user, team, or app. */ branchProtectionRule?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; }; /** The connection type for BypassPullRequestAllowance. */ @@ -1200,14 +1315,14 @@ export type BypassPullRequestAllowanceConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type BypassPullRequestAllowanceEdge = { __typename?: 'BypassPullRequestAllowanceEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -1216,21 +1331,21 @@ export type BypassPullRequestAllowanceEdge = { export type Cvss = { __typename?: 'CVSS'; /** The CVSS score associated with this advisory */ - score: Scalars['Float']; + score: Scalars['Float']['output']; /** The CVSS vector string associated with this advisory */ - vectorString?: Maybe; + vectorString?: Maybe; }; /** A common weakness enumeration */ export type Cwe = Node & { __typename?: 'CWE'; /** The id of the CWE */ - cweId: Scalars['String']; + cweId: Scalars['String']['output']; /** A detailed description of this CWE */ - description: Scalars['String']; - id: Scalars['ID']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; /** The name of this CWE */ - name: Scalars['String']; + name: Scalars['String']['output']; }; /** The connection type for CWE. */ @@ -1243,14 +1358,14 @@ export type CweConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CweEdge = { __typename?: 'CWEEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -1258,41 +1373,41 @@ export type CweEdge = { /** Autogenerated input type of CancelEnterpriseAdminInvitation */ export type CancelEnterpriseAdminInvitationInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node ID of the pending enterprise administrator invitation. */ - invitationId: Scalars['ID']; + invitationId: Scalars['ID']['input']; }; /** Autogenerated return type of CancelEnterpriseAdminInvitation */ export type CancelEnterpriseAdminInvitationPayload = { __typename?: 'CancelEnterpriseAdminInvitationPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The invitation that was canceled. */ invitation?: Maybe; /** A message confirming the result of canceling an administrator invitation. */ - message?: Maybe; + message?: Maybe; }; /** Autogenerated input type of CancelSponsorship */ export type CancelSponsorshipInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. */ - sponsorId?: InputMaybe; + sponsorId?: InputMaybe; /** The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. */ - sponsorLogin?: InputMaybe; + sponsorLogin?: InputMaybe; /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ - sponsorableId?: InputMaybe; + sponsorableId?: InputMaybe; /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ - sponsorableLogin?: InputMaybe; + sponsorableLogin?: InputMaybe; }; /** Autogenerated return type of CancelSponsorship */ export type CancelSponsorshipPayload = { __typename?: 'CancelSponsorshipPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The tier that was being used at the time of cancellation. */ sponsorsTier?: Maybe; }; @@ -1300,24 +1415,24 @@ export type CancelSponsorshipPayload = { /** Autogenerated input type of ChangeUserStatus */ export type ChangeUserStatusInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. */ - emoji?: InputMaybe; + emoji?: InputMaybe; /** If set, the user status will not be shown after this date. */ - expiresAt?: InputMaybe; + expiresAt?: InputMaybe; /** Whether this status should indicate you are not fully available on GitHub, e.g., you are away. */ - limitedAvailability?: InputMaybe; + limitedAvailability?: InputMaybe; /** A short description of your current status. */ - message?: InputMaybe; + message?: InputMaybe; /** The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. */ - organizationId?: InputMaybe; + organizationId?: InputMaybe; }; /** Autogenerated return type of ChangeUserStatus */ export type ChangeUserStatusPayload = { __typename?: 'ChangeUserStatusPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** Your updated status. */ status?: Maybe; }; @@ -1328,19 +1443,19 @@ export type CheckAnnotation = { /** The annotation's severity level. */ annotationLevel?: Maybe; /** The path to the file that this annotation was made on. */ - blobUrl: Scalars['URI']; + blobUrl: Scalars['URI']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The position of this annotation. */ location: CheckAnnotationSpan; /** The annotation's message. */ - message: Scalars['String']; + message: Scalars['String']['output']; /** The path that this annotation was made on. */ - path: Scalars['String']; + path: Scalars['String']['output']; /** Additional information about the annotation. */ - rawDetails?: Maybe; + rawDetails?: Maybe; /** The annotation's title */ - title?: Maybe; + title?: Maybe; }; /** The connection type for CheckAnnotation. */ @@ -1353,7 +1468,7 @@ export type CheckAnnotationConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** Information from a check run analysis to specific lines of code. */ @@ -1363,20 +1478,20 @@ export type CheckAnnotationData = { /** The location of the annotation */ location: CheckAnnotationRange; /** A short description of the feedback for these lines of code. */ - message: Scalars['String']; + message: Scalars['String']['input']; /** The path of the file to add an annotation to. */ - path: Scalars['String']; + path: Scalars['String']['input']; /** Details about this annotation. */ - rawDetails?: InputMaybe; + rawDetails?: InputMaybe; /** The title that represents the annotation. */ - title?: InputMaybe; + title?: InputMaybe; }; /** An edge in a connection. */ export type CheckAnnotationEdge = { __typename?: 'CheckAnnotationEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -1395,21 +1510,21 @@ export enum CheckAnnotationLevel { export type CheckAnnotationPosition = { __typename?: 'CheckAnnotationPosition'; /** Column number (1 indexed). */ - column?: Maybe; + column?: Maybe; /** Line number (1 indexed). */ - line: Scalars['Int']; + line: Scalars['Int']['output']; }; /** Information from a check run analysis to specific lines of code. */ export type CheckAnnotationRange = { /** The ending column of the range. */ - endColumn?: InputMaybe; + endColumn?: InputMaybe; /** The ending line of the range. */ - endLine: Scalars['Int']; + endLine: Scalars['Int']['input']; /** The starting column of the range. */ - startColumn?: InputMaybe; + startColumn?: InputMaybe; /** The starting line of the range. */ - startLine: Scalars['Int']; + startLine: Scalars['Int']['input']; }; /** An inclusive pair of positions for a check annotation. */ @@ -1451,80 +1566,80 @@ export type CheckRun = Node & RequirableByPullRequest & UniformResourceLocatable /** The check suite that this run is a part of. */ checkSuite: CheckSuite; /** Identifies the date and time when the check run was completed. */ - completedAt?: Maybe; + completedAt?: Maybe; /** The conclusion of the check run. */ conclusion?: Maybe; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The corresponding deployment for this job, if any */ deployment?: Maybe; /** The URL from which to find full details of the check run on the integrator's site. */ - detailsUrl?: Maybe; + detailsUrl?: Maybe; /** A reference for the check run on the integrator's system. */ - externalId?: Maybe; - id: Scalars['ID']; + externalId?: Maybe; + id: Scalars['ID']['output']; /** Whether this is required to pass before merging for a specific pull request. */ - isRequired: Scalars['Boolean']; + isRequired: Scalars['Boolean']['output']; /** The name of the check for this check run. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** Information about a pending deployment, if any, in this check run */ pendingDeploymentRequest?: Maybe; /** The permalink to the check run summary. */ - permalink: Scalars['URI']; + permalink: Scalars['URI']['output']; /** The repository associated with this check run. */ repository: Repository; /** The HTTP path for this check run. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** Identifies the date and time when the check run was started. */ - startedAt?: Maybe; + startedAt?: Maybe; /** The current status of the check run. */ status: CheckStatusState; /** The check run's steps */ steps?: Maybe; /** A string representing the check run's summary */ - summary?: Maybe; + summary?: Maybe; /** A string representing the check run's text */ - text?: Maybe; + text?: Maybe; /** A string representing the check run */ - title?: Maybe; + title?: Maybe; /** The HTTP URL for this check run. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; }; /** A check run. */ export type CheckRunAnnotationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A check run. */ export type CheckRunIsRequiredArgs = { - pullRequestId?: InputMaybe; - pullRequestNumber?: InputMaybe; + pullRequestId?: InputMaybe; + pullRequestNumber?: InputMaybe; }; /** A check run. */ export type CheckRunStepsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - number?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + number?: InputMaybe; }; /** Possible further actions the integrator can perform. */ export type CheckRunAction = { /** A short explanation of what this action would do. */ - description: Scalars['String']; + description: Scalars['String']['input']; /** A reference for the action on the integrator's system. */ - identifier: Scalars['String']; + identifier: Scalars['String']['input']; /** The text to be displayed on a button in the web UI. */ - label: Scalars['String']; + label: Scalars['String']['input']; }; /** The connection type for CheckRun. */ @@ -1537,14 +1652,14 @@ export type CheckRunConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CheckRunEdge = { __typename?: 'CheckRunEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -1552,9 +1667,9 @@ export type CheckRunEdge = { /** The filters that are available when fetching check runs. */ export type CheckRunFilter = { /** Filters the check runs created by this application ID. */ - appId?: InputMaybe; + appId?: InputMaybe; /** Filters the check runs by this name. */ - checkName?: InputMaybe; + checkName?: InputMaybe; /** Filters the check runs by this type. */ checkType?: InputMaybe; /** Filters the check runs by these conclusions. */ @@ -1572,21 +1687,21 @@ export type CheckRunOutput = { /** Images attached to the check run output displayed in the GitHub pull request UI. */ images?: InputMaybe>; /** The summary of the check run (supports Commonmark). */ - summary: Scalars['String']; + summary: Scalars['String']['input']; /** The details of the check run (supports Commonmark). */ - text?: InputMaybe; + text?: InputMaybe; /** A title to provide for this check run. */ - title: Scalars['String']; + title: Scalars['String']['input']; }; /** Images attached to the check run output displayed in the GitHub pull request UI. */ export type CheckRunOutputImage = { /** The alternative text for the image. */ - alt: Scalars['String']; + alt: Scalars['String']['input']; /** A short image description. */ - caption?: InputMaybe; + caption?: InputMaybe; /** The full URL of the image. */ - imageUrl: Scalars['URI']; + imageUrl: Scalars['URI']['input']; }; /** The possible states of a check run in a status rollup. */ @@ -1625,7 +1740,7 @@ export enum CheckRunState { export type CheckRunStateCount = { __typename?: 'CheckRunStateCount'; /** The number of check runs with this state. */ - count: Scalars['Int']; + count: Scalars['Int']['output']; /** The state of a check run. */ state: CheckRunState; }; @@ -1658,19 +1773,19 @@ export enum CheckStatusState { export type CheckStep = { __typename?: 'CheckStep'; /** Identifies the date and time when the check step was completed. */ - completedAt?: Maybe; + completedAt?: Maybe; /** The conclusion of the check step. */ conclusion?: Maybe; /** A reference for the check step on the integrator's system. */ - externalId?: Maybe; + externalId?: Maybe; /** The step's name. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** The index of the step in the list of steps of the parent check run. */ - number: Scalars['Int']; + number: Scalars['Int']['output']; /** Number of seconds to completion. */ - secondsToCompletion?: Maybe; + secondsToCompletion?: Maybe; /** Identifies the date and time when the check step was started. */ - startedAt?: Maybe; + startedAt?: Maybe; /** The current status of the check step. */ status: CheckStatusState; }; @@ -1685,14 +1800,14 @@ export type CheckStepConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CheckStepEdge = { __typename?: 'CheckStepEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -1711,12 +1826,12 @@ export type CheckSuite = Node & { /** The conclusion of this check suite. */ conclusion?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The user who triggered the check suite. */ creator?: Maybe; /** Identifies the primary key from the database. */ - databaseId?: Maybe; - id: Scalars['ID']; + databaseId?: Maybe; + id: Scalars['ID']['output']; /** A list of open pull requests matching the check suite. */ matchingPullRequests?: Maybe; /** The push that triggered this check suite. */ @@ -1724,13 +1839,13 @@ export type CheckSuite = Node & { /** The repository associated with this check suite. */ repository: Repository; /** The HTTP path for this check suite */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The status of this check suite. */ status: CheckStatusState; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** The HTTP URL for this check suite */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** The workflow run associated with this check suite. */ workflowRun?: Maybe; }; @@ -1738,23 +1853,23 @@ export type CheckSuite = Node & { /** A check suite. */ export type CheckSuiteCheckRunsArgs = { - after?: InputMaybe; - before?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; filterBy?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A check suite. */ export type CheckSuiteMatchingPullRequestsArgs = { - after?: InputMaybe; - baseRefName?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - headRefName?: InputMaybe; - labels?: InputMaybe>; - last?: InputMaybe; + after?: InputMaybe; + baseRefName?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + headRefName?: InputMaybe; + labels?: InputMaybe>; + last?: InputMaybe; orderBy?: InputMaybe; states?: InputMaybe>; }; @@ -1762,9 +1877,9 @@ export type CheckSuiteMatchingPullRequestsArgs = { /** The auto-trigger preferences that are available for check suites. */ export type CheckSuiteAutoTriggerPreference = { /** The node ID of the application that owns the check suite. */ - appId: Scalars['ID']; + appId: Scalars['ID']['input']; /** Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository. */ - setting: Scalars['Boolean']; + setting: Scalars['Boolean']['input']; }; /** The connection type for CheckSuite. */ @@ -1777,14 +1892,14 @@ export type CheckSuiteConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CheckSuiteEdge = { __typename?: 'CheckSuiteEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -1792,9 +1907,9 @@ export type CheckSuiteEdge = { /** The filters that are available when fetching check suites. */ export type CheckSuiteFilter = { /** Filters the check suites created by this application ID. */ - appId?: InputMaybe; + appId?: InputMaybe; /** Filters the check suites by this name. */ - checkName?: InputMaybe; + checkName?: InputMaybe; }; /** An object which can have its data claimed or claim data from another. */ @@ -1803,16 +1918,16 @@ export type Claimable = Mannequin | User; /** Autogenerated input type of ClearLabelsFromLabelable */ export type ClearLabelsFromLabelableInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The id of the labelable object to clear the labels from. */ - labelableId: Scalars['ID']; + labelableId: Scalars['ID']['input']; }; /** Autogenerated return type of ClearLabelsFromLabelable */ export type ClearLabelsFromLabelablePayload = { __typename?: 'ClearLabelsFromLabelablePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The item that was unlabeled. */ labelable?: Maybe; }; @@ -1820,20 +1935,20 @@ export type ClearLabelsFromLabelablePayload = { /** Autogenerated input type of ClearProjectV2ItemFieldValue */ export type ClearProjectV2ItemFieldValueInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the field to be cleared. */ - fieldId: Scalars['ID']; + fieldId: Scalars['ID']['input']; /** The ID of the item to be cleared. */ - itemId: Scalars['ID']; + itemId: Scalars['ID']['input']; /** The ID of the Project. */ - projectId: Scalars['ID']; + projectId: Scalars['ID']['input']; }; /** Autogenerated return type of ClearProjectV2ItemFieldValue */ export type ClearProjectV2ItemFieldValuePayload = { __typename?: 'ClearProjectV2ItemFieldValuePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The updated item. */ projectV2Item?: Maybe; }; @@ -1841,28 +1956,28 @@ export type ClearProjectV2ItemFieldValuePayload = { /** Autogenerated input type of CloneProject */ export type CloneProjectInput = { /** The description of the project. */ - body?: InputMaybe; + body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** Whether or not to clone the source project's workflows. */ - includeWorkflows: Scalars['Boolean']; + includeWorkflows: Scalars['Boolean']['input']; /** The name of the project. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The visibility of the project, defaults to false (private). */ - public?: InputMaybe; + public?: InputMaybe; /** The source project to clone. */ - sourceId: Scalars['ID']; + sourceId: Scalars['ID']['input']; /** The owner ID to create the project under. */ - targetOwnerId: Scalars['ID']; + targetOwnerId: Scalars['ID']['input']; }; /** Autogenerated return type of CloneProject */ export type CloneProjectPayload = { __typename?: 'CloneProjectPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The id of the JobStatus for populating cloned fields. */ - jobStatusId?: Maybe; + jobStatusId?: Maybe; /** The new cloned project. */ project?: Maybe; }; @@ -1870,17 +1985,17 @@ export type CloneProjectPayload = { /** Autogenerated input type of CloneTemplateRepository */ export type CloneTemplateRepositoryInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** A short description of the new repository. */ - description?: InputMaybe; + description?: InputMaybe; /** Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template. */ - includeAllBranches?: InputMaybe; + includeAllBranches?: InputMaybe; /** The name of the new repository. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The ID of the owner for the new repository. */ - ownerId: Scalars['ID']; + ownerId: Scalars['ID']['input']; /** The Node ID of the template repository. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; /** Indicates the repository's visibility level. */ visibility: RepositoryVisibility; }; @@ -1889,7 +2004,7 @@ export type CloneTemplateRepositoryInput = { export type CloneTemplateRepositoryPayload = { __typename?: 'CloneTemplateRepositoryPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new repository. */ repository?: Maybe; }; @@ -1897,17 +2012,40 @@ export type CloneTemplateRepositoryPayload = { /** An object that can be closed */ export type Closable = { /** Indicates if the object is closed (definition of closed may depend on type) */ - closed: Scalars['Boolean']; + closed: Scalars['Boolean']['output']; /** Identifies the date and time when the object was closed. */ - closedAt?: Maybe; + closedAt?: Maybe; + /** Indicates if the object can be closed by the viewer. */ + viewerCanClose: Scalars['Boolean']['output']; + /** Indicates if the object can be reopened by the viewer. */ + viewerCanReopen: Scalars['Boolean']['output']; +}; + +/** Autogenerated input type of CloseDiscussion */ +export type CloseDiscussionInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** ID of the discussion to be closed. */ + discussionId: Scalars['ID']['input']; + /** The reason why the discussion is being closed. */ + reason?: InputMaybe; +}; + +/** Autogenerated return type of CloseDiscussion */ +export type CloseDiscussionPayload = { + __typename?: 'CloseDiscussionPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The discussion that was closed. */ + discussion?: Maybe; }; /** Autogenerated input type of CloseIssue */ export type CloseIssueInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** ID of the issue to be closed. */ - issueId: Scalars['ID']; + issueId: Scalars['ID']['input']; /** The reason the issue is to be closed. */ stateReason?: InputMaybe; }; @@ -1916,7 +2054,7 @@ export type CloseIssueInput = { export type CloseIssuePayload = { __typename?: 'CloseIssuePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The issue that was closed. */ issue?: Maybe; }; @@ -1924,16 +2062,16 @@ export type CloseIssuePayload = { /** Autogenerated input type of ClosePullRequest */ export type ClosePullRequestInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** ID of the pull request to be closed. */ - pullRequestId: Scalars['ID']; + pullRequestId: Scalars['ID']['input']; }; /** Autogenerated return type of ClosePullRequest */ export type ClosePullRequestPayload = { __typename?: 'ClosePullRequestPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The pull request that was closed. */ pullRequest?: Maybe; }; @@ -1948,14 +2086,14 @@ export type ClosedEvent = Node & UniformResourceLocatable & { /** Object which triggered the creation of this event. */ closer?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** The HTTP path for this closed event. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The reason the issue state was changed to closed. */ stateReason?: Maybe; /** The HTTP URL for this closed event. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; }; /** The object which triggered a `ClosedEvent`. */ @@ -1965,16 +2103,16 @@ export type Closer = Commit | PullRequest; export type CodeOfConduct = Node & { __typename?: 'CodeOfConduct'; /** The body of the Code of Conduct */ - body?: Maybe; - id: Scalars['ID']; + body?: Maybe; + id: Scalars['ID']['output']; /** The key for the Code of Conduct */ - key: Scalars['String']; + key: Scalars['String']['output']; /** The formal name of the Code of Conduct */ - name: Scalars['String']; + name: Scalars['String']['output']; /** The HTTP path for this Code of Conduct */ - resourcePath?: Maybe; + resourcePath?: Maybe; /** The HTTP URL for this Code of Conduct */ - url?: Maybe; + url?: Maybe; }; /** Collaborators affiliation level with a subject. */ @@ -1994,39 +2132,39 @@ export type Comment = { /** Author's association with the subject of the comment. */ authorAssociation: CommentAuthorAssociation; /** The body as Markdown. */ - body: Scalars['String']; + body: Scalars['String']['output']; /** The body rendered to HTML. */ - bodyHTML: Scalars['HTML']; + bodyHTML: Scalars['HTML']['output']; /** The body rendered to text. */ - bodyText: Scalars['String']; + bodyText: Scalars['String']['output']; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Check if this comment was created via an email reply. */ - createdViaEmail: Scalars['Boolean']; + createdViaEmail: Scalars['Boolean']['output']; /** The actor who edited the comment. */ editor?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** Check if this comment was edited and includes an edit with the creation data */ - includesCreatedEdit: Scalars['Boolean']; + includesCreatedEdit: Scalars['Boolean']['output']; /** The moment the editor made the last edit */ - lastEditedAt?: Maybe; + lastEditedAt?: Maybe; /** Identifies when the comment was published at. */ - publishedAt?: Maybe; + publishedAt?: Maybe; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** A list of edits to this content. */ userContentEdits?: Maybe; /** Did the viewer author this comment. */ - viewerDidAuthor: Scalars['Boolean']; + viewerDidAuthor: Scalars['Boolean']['output']; }; /** Represents a comment. */ export type CommentUserContentEditsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A comment author association with repository. */ @@ -2073,29 +2211,29 @@ export type CommentDeletedEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The user who authored the deleted comment. */ deletedCommentAuthor?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; }; /** Represents a Git commit. */ export type Commit = GitObject & Node & Subscribable & UniformResourceLocatable & { __typename?: 'Commit'; /** An abbreviated version of the Git object ID */ - abbreviatedOid: Scalars['String']; + abbreviatedOid: Scalars['String']['output']; /** The number of additions in this commit. */ - additions: Scalars['Int']; + additions: Scalars['Int']['output']; /** The merged Pull Request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open Pull Requests associated with the commit */ associatedPullRequests?: Maybe; /** Authorship details of the commit. */ author?: Maybe; /** Check if the committer and the author match. */ - authoredByCommitter: Scalars['Boolean']; + authoredByCommitter: Scalars['Boolean']['output']; /** The datetime when this commit was authored. */ - authoredDate: Scalars['DateTime']; + authoredDate: Scalars['DateTime']['output']; /** * The list of authors for this commit based on the git author and the Co-authored-by * message trailer. The git author will always be first. @@ -2108,54 +2246,57 @@ export type Commit = GitObject & Node & Subscribable & UniformResourceLocatable * We recommend using the `changedFielsIfAvailable` field instead of `changedFiles`, as `changedFiles` will cause your request to return an error if GitHub is unable to calculate the number of changed files. * @deprecated `changedFiles` will be removed. Use `changedFilesIfAvailable` instead. Removal on 2023-01-01 UTC. */ - changedFiles: Scalars['Int']; + changedFiles: Scalars['Int']['output']; /** The number of changed files in this commit. If GitHub is unable to calculate the number of changed files (for example due to a timeout), this will return `null`. We recommend using this field instead of `changedFiles`. */ - changedFilesIfAvailable?: Maybe; + changedFilesIfAvailable?: Maybe; /** The check suites associated with a commit. */ checkSuites?: Maybe; /** Comments made on the commit. */ comments: CommitCommentConnection; /** The HTTP path for this Git object */ - commitResourcePath: Scalars['URI']; + commitResourcePath: Scalars['URI']['output']; /** The HTTP URL for this Git object */ - commitUrl: Scalars['URI']; + commitUrl: Scalars['URI']['output']; /** The datetime when this commit was committed. */ - committedDate: Scalars['DateTime']; + committedDate: Scalars['DateTime']['output']; /** Check if committed via GitHub web UI. */ - committedViaWeb: Scalars['Boolean']; + committedViaWeb: Scalars['Boolean']['output']; /** Committer details of the commit. */ committer?: Maybe; /** The number of deletions in this commit. */ - deletions: Scalars['Int']; + deletions: Scalars['Int']['output']; /** The deployments associated with a commit. */ deployments?: Maybe; /** The tree entry representing the file located at the given path. */ file?: Maybe; /** The linear commit history starting from (and including) this commit, in the same order as `git log`. */ history: CommitHistoryConnection; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** The Git commit message */ - message: Scalars['String']; + message: Scalars['String']['output']; /** The Git commit message body */ - messageBody: Scalars['String']; + messageBody: Scalars['String']['output']; /** The commit message body rendered to HTML. */ - messageBodyHTML: Scalars['HTML']; + messageBodyHTML: Scalars['HTML']['output']; /** The Git commit message headline */ - messageHeadline: Scalars['String']; + messageHeadline: Scalars['String']['output']; /** The commit message headline rendered to HTML. */ - messageHeadlineHTML: Scalars['HTML']; + messageHeadlineHTML: Scalars['HTML']['output']; /** The Git object ID */ - oid: Scalars['GitObjectID']; + oid: Scalars['GitObjectID']['output']; /** The organization this commit was made on behalf of. */ onBehalfOf?: Maybe; /** The parents of a commit. */ parents: CommitConnection; - /** The datetime when this commit was pushed. */ - pushedDate?: Maybe; + /** + * The datetime when this commit was pushed. + * @deprecated `pushedDate` is no longer supported. Removal on 2023-07-01 UTC. + */ + pushedDate?: Maybe; /** The Repository this commit belongs to */ repository: Repository; /** The HTTP path for this commit */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** Commit signing information, if present. */ signature?: Maybe; /** Status information for this commit */ @@ -2168,124 +2309,149 @@ export type Commit = GitObject & Node & Subscribable & UniformResourceLocatable * Returns a URL to download a tarball archive for a repository. * Note: For private repositories, these links are temporary and expire after five minutes. */ - tarballUrl: Scalars['URI']; + tarballUrl: Scalars['URI']['output']; /** Commit's root Tree */ tree: Tree; /** The HTTP path for the tree of this commit */ - treeResourcePath: Scalars['URI']; + treeResourcePath: Scalars['URI']['output']; /** The HTTP URL for the tree of this commit */ - treeUrl: Scalars['URI']; + treeUrl: Scalars['URI']['output']; /** The HTTP URL for this commit */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** Check if the viewer is able to change their subscription status for the repository. */ - viewerCanSubscribe: Scalars['Boolean']; + viewerCanSubscribe: Scalars['Boolean']['output']; /** Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. */ viewerSubscription?: Maybe; /** * Returns a URL to download a zipball archive for a repository. * Note: For private repositories, these links are temporary and expire after five minutes. */ - zipballUrl: Scalars['URI']; + zipballUrl: Scalars['URI']['output']; }; /** Represents a Git commit. */ export type CommitAssociatedPullRequestsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** Represents a Git commit. */ export type CommitAuthorsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** Represents a Git commit. */ export type CommitBlameArgs = { - path: Scalars['String']; + path: Scalars['String']['input']; }; /** Represents a Git commit. */ export type CommitCheckSuitesArgs = { - after?: InputMaybe; - before?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; filterBy?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** Represents a Git commit. */ export type CommitCommentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** Represents a Git commit. */ export type CommitDeploymentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - environments?: InputMaybe>; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + environments?: InputMaybe>; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** Represents a Git commit. */ export type CommitFileArgs = { - path: Scalars['String']; + path: Scalars['String']['input']; }; /** Represents a Git commit. */ export type CommitHistoryArgs = { - after?: InputMaybe; + after?: InputMaybe; author?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - path?: InputMaybe; - since?: InputMaybe; - until?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + path?: InputMaybe; + since?: InputMaybe; + until?: InputMaybe; }; /** Represents a Git commit. */ export type CommitParentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** Represents a Git commit. */ export type CommitSubmodulesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** Specifies an author for filtering Git commits. */ export type CommitAuthor = { /** Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. */ - emails?: InputMaybe>; + emails?: InputMaybe>; /** ID of a User to filter by. If non-null, only commits authored by this user will be returned. This field takes precedence over emails. */ - id?: InputMaybe; + id?: InputMaybe; +}; + +/** Parameters to be used for the commit_author_email_pattern rule */ +export type CommitAuthorEmailPatternParameters = { + __typename?: 'CommitAuthorEmailPatternParameters'; + /** How this rule will appear to users. */ + name?: Maybe; + /** If true, the rule will fail if the pattern matches. */ + negate: Scalars['Boolean']['output']; + /** The operator to use for matching. */ + operator: Scalars['String']['output']; + /** The pattern to match with. */ + pattern: Scalars['String']['output']; +}; + +/** Parameters to be used for the commit_author_email_pattern rule */ +export type CommitAuthorEmailPatternParametersInput = { + /** How this rule will appear to users. */ + name?: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + negate?: InputMaybe; + /** The operator to use for matching. */ + operator: Scalars['String']['input']; + /** The pattern to match with. */ + pattern: Scalars['String']['input']; }; /** Represents a comment on a given Commit. */ @@ -2296,36 +2462,36 @@ export type CommitComment = Comment & Deletable & Minimizable & Node & Reactable /** Author's association with the subject of the comment. */ authorAssociation: CommentAuthorAssociation; /** Identifies the comment body. */ - body: Scalars['String']; + body: Scalars['String']['output']; /** The body rendered to HTML. */ - bodyHTML: Scalars['HTML']; + bodyHTML: Scalars['HTML']['output']; /** The body rendered to text. */ - bodyText: Scalars['String']; + bodyText: Scalars['String']['output']; /** Identifies the commit associated with the comment, if the commit exists. */ commit?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Check if this comment was created via an email reply. */ - createdViaEmail: Scalars['Boolean']; + createdViaEmail: Scalars['Boolean']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The actor who edited the comment. */ editor?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** Check if this comment was edited and includes an edit with the creation data */ - includesCreatedEdit: Scalars['Boolean']; + includesCreatedEdit: Scalars['Boolean']['output']; /** Returns whether or not a comment has been minimized. */ - isMinimized: Scalars['Boolean']; + isMinimized: Scalars['Boolean']['output']; /** The moment the editor made the last edit */ - lastEditedAt?: Maybe; + lastEditedAt?: Maybe; /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ - minimizedReason?: Maybe; + minimizedReason?: Maybe; /** Identifies the file path associated with the comment. */ - path?: Maybe; + path?: Maybe; /** Identifies the line position associated with the comment. */ - position?: Maybe; + position?: Maybe; /** Identifies when the comment was published at. */ - publishedAt?: Maybe; + publishedAt?: Maybe; /** A list of reactions grouped by content left on the subject. */ reactionGroups?: Maybe>; /** A list of Reactions left on the Issue. */ @@ -2333,45 +2499,45 @@ export type CommitComment = Comment & Deletable & Minimizable & Node & Reactable /** The repository associated with this node. */ repository: Repository; /** The HTTP path permalink for this commit comment. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** The HTTP URL permalink for this commit comment. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** A list of edits to this content. */ userContentEdits?: Maybe; /** Check if the current viewer can delete this object. */ - viewerCanDelete: Scalars['Boolean']; + viewerCanDelete: Scalars['Boolean']['output']; /** Check if the current viewer can minimize this object. */ - viewerCanMinimize: Scalars['Boolean']; + viewerCanMinimize: Scalars['Boolean']['output']; /** Can user react to this subject */ - viewerCanReact: Scalars['Boolean']; + viewerCanReact: Scalars['Boolean']['output']; /** Check if the current viewer can update this object. */ - viewerCanUpdate: Scalars['Boolean']; + viewerCanUpdate: Scalars['Boolean']['output']; /** Reasons why the current viewer can not update this comment. */ viewerCannotUpdateReasons: Array; /** Did the viewer author this comment. */ - viewerDidAuthor: Scalars['Boolean']; + viewerDidAuthor: Scalars['Boolean']['output']; }; /** Represents a comment on a given Commit. */ export type CommitCommentReactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; content?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** Represents a comment on a given Commit. */ export type CommitCommentUserContentEditsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for CommitComment. */ @@ -2384,14 +2550,14 @@ export type CommitCommentConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CommitCommentEdge = { __typename?: 'CommitCommentEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -2403,11 +2569,11 @@ export type CommitCommentThread = Node & RepositoryNode & { comments: CommitCommentConnection; /** The commit the comments were made on. */ commit?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** The file the comments were made on. */ - path?: Maybe; + path?: Maybe; /** The position in the diff for the commit that the comment was made on. */ - position?: Maybe; + position?: Maybe; /** The repository associated with this node. */ repository: Repository; }; @@ -2415,10 +2581,10 @@ export type CommitCommentThread = Node & RepositoryNode & { /** A thread of comments on a commit. */ export type CommitCommentThreadCommentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for Commit. */ @@ -2431,7 +2597,7 @@ export type CommitConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** Ordering options for commit contribution connections. */ @@ -2458,18 +2624,18 @@ export type CommitContributionsByRepository = { /** The repository in which the commits were made. */ repository: Repository; /** The HTTP path for the user's commits to the repository in this time range. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The HTTP URL for the user's commits to the repository in this time range. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; }; /** This aggregates commits made by a user within one repository. */ export type CommitContributionsByRepositoryContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; @@ -2477,7 +2643,7 @@ export type CommitContributionsByRepositoryContributionsArgs = { export type CommitEdge = { __typename?: 'CommitEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -2492,15 +2658,40 @@ export type CommitHistoryConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** A message to include with a new commit */ export type CommitMessage = { /** The body of the message. */ - body?: InputMaybe; + body?: InputMaybe; /** The headline of the message. */ - headline: Scalars['String']; + headline: Scalars['String']['input']; +}; + +/** Parameters to be used for the commit_message_pattern rule */ +export type CommitMessagePatternParameters = { + __typename?: 'CommitMessagePatternParameters'; + /** How this rule will appear to users. */ + name?: Maybe; + /** If true, the rule will fail if the pattern matches. */ + negate: Scalars['Boolean']['output']; + /** The operator to use for matching. */ + operator: Scalars['String']['output']; + /** The pattern to match with. */ + pattern: Scalars['String']['output']; +}; + +/** Parameters to be used for the commit_message_pattern rule */ +export type CommitMessagePatternParametersInput = { + /** How this rule will appear to users. */ + name?: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + negate?: InputMaybe; + /** The operator to use for matching. */ + operator: Scalars['String']['input']; + /** The pattern to match with. */ + pattern: Scalars['String']['input']; }; /** @@ -2530,27 +2721,52 @@ export type CommitMessage = { */ export type CommittableBranch = { /** The unqualified name of the branch to append the commit to. */ - branchName?: InputMaybe; + branchName?: InputMaybe; /** The Node ID of the Ref to be updated. */ - id?: InputMaybe; + id?: InputMaybe; /** The nameWithOwner of the repository to commit to. */ - repositoryNameWithOwner?: InputMaybe; + repositoryNameWithOwner?: InputMaybe; +}; + +/** Parameters to be used for the committer_email_pattern rule */ +export type CommitterEmailPatternParameters = { + __typename?: 'CommitterEmailPatternParameters'; + /** How this rule will appear to users. */ + name?: Maybe; + /** If true, the rule will fail if the pattern matches. */ + negate: Scalars['Boolean']['output']; + /** The operator to use for matching. */ + operator: Scalars['String']['output']; + /** The pattern to match with. */ + pattern: Scalars['String']['output']; +}; + +/** Parameters to be used for the committer_email_pattern rule */ +export type CommitterEmailPatternParametersInput = { + /** How this rule will appear to users. */ + name?: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + negate?: InputMaybe; + /** The operator to use for matching. */ + operator: Scalars['String']['input']; + /** The pattern to match with. */ + pattern: Scalars['String']['input']; }; /** Represents a comparison between two commit revisions. */ export type Comparison = Node & { __typename?: 'Comparison'; /** The number of commits ahead of the base branch. */ - aheadBy: Scalars['Int']; + aheadBy: Scalars['Int']['output']; /** The base revision of this comparison. */ baseTarget: GitObject; /** The number of commits behind the base branch. */ - behindBy: Scalars['Int']; + behindBy: Scalars['Int']['output']; /** The commits which compose this comparison. */ commits: ComparisonCommitConnection; /** The head revision of this comparison. */ headTarget: GitObject; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** The status of this comparison. */ status: ComparisonStatus; }; @@ -2558,17 +2774,17 @@ export type Comparison = Node & { /** Represents a comparison between two commit revisions. */ export type ComparisonCommitsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for Commit. */ export type ComparisonCommitConnection = { __typename?: 'ComparisonCommitConnection'; /** The total count of authors and co-authors across all commits. */ - authorCount: Scalars['Int']; + authorCount: Scalars['Int']['output']; /** A list of edges. */ edges?: Maybe>>; /** A list of nodes. */ @@ -2576,7 +2792,7 @@ export type ComparisonCommitConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** The status of a git comparison between two refs. */ @@ -2597,10 +2813,10 @@ export type ConnectedEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** Reference originated in a different repository. */ - isCrossRepository: Scalars['Boolean']; + isCrossRepository: Scalars['Boolean']['output']; /** Issue or pull request that made the reference. */ source: ReferencedSubject; /** Issue or pull request which was connected. */ @@ -2615,13 +2831,13 @@ export type Contribution = { * longer access. * */ - isRestricted: Scalars['Boolean']; + isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ - occurredAt: Scalars['DateTime']; + occurredAt: Scalars['DateTime']['output']; /** The HTTP path for this contribution. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** * The user who made this contribution. * @@ -2633,13 +2849,13 @@ export type Contribution = { export type ContributionCalendar = { __typename?: 'ContributionCalendar'; /** A list of hex color codes used in this calendar. The darker the color, the more contributions it represents. */ - colors: Array; + colors: Array; /** Determine if the color set was chosen because it's currently Halloween. */ - isHalloween: Scalars['Boolean']; + isHalloween: Scalars['Boolean']['output']; /** A list of the months of contributions in this calendar. */ months: Array; /** The count of total contributions in the calendar. */ - totalContributions: Scalars['Int']; + totalContributions: Scalars['Int']['output']; /** A list of the weeks of contributions in this calendar. */ weeks: Array; }; @@ -2648,28 +2864,28 @@ export type ContributionCalendar = { export type ContributionCalendarDay = { __typename?: 'ContributionCalendarDay'; /** The hex color code that represents how many contributions were made on this day compared to others in the calendar. */ - color: Scalars['String']; + color: Scalars['String']['output']; /** How many contributions were made by the user on this day. */ - contributionCount: Scalars['Int']; + contributionCount: Scalars['Int']['output']; /** Indication of contributions, relative to other days. Can be used to indicate which color to represent this day on a calendar. */ contributionLevel: ContributionLevel; /** The day this square represents. */ - date: Scalars['Date']; + date: Scalars['Date']['output']; /** A number representing which day of the week this square represents, e.g., 1 is Monday. */ - weekday: Scalars['Int']; + weekday: Scalars['Int']['output']; }; /** A month of contributions in a user's contribution graph. */ export type ContributionCalendarMonth = { __typename?: 'ContributionCalendarMonth'; /** The date of the first day of this month. */ - firstDay: Scalars['Date']; + firstDay: Scalars['Date']['output']; /** The name of the month. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** How many weeks started in this month. */ - totalWeeks: Scalars['Int']; + totalWeeks: Scalars['Int']['output']; /** The year the month occurred in. */ - year: Scalars['Int']; + year: Scalars['Int']['output']; }; /** A week of contributions in a user's contribution graph. */ @@ -2678,7 +2894,7 @@ export type ContributionCalendarWeek = { /** The days of contributions in this week. */ contributionDays: Array; /** The date of the earliest square in this week. */ - firstDay: Scalars['Date']; + firstDay: Scalars['Date']['output']; }; /** Varying levels of contributions from none to many. */ @@ -2709,16 +2925,16 @@ export type ContributionsCollection = { /** A calendar of this user's contributions on GitHub. */ contributionCalendar: ContributionCalendar; /** The years the user has been making contributions with the most recent year first. */ - contributionYears: Array; + contributionYears: Array; /** * Determine if this collection's time span ends in the current month. * */ - doesEndInCurrentMonth: Scalars['Boolean']; + doesEndInCurrentMonth: Scalars['Boolean']['output']; /** The date of the first restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts. */ - earliestRestrictedContributionDate?: Maybe; + earliestRestrictedContributionDate?: Maybe; /** The ending date and time of this collection. */ - endedAt: Scalars['DateTime']; + endedAt: Scalars['DateTime']['output']; /** The first issue the user opened on GitHub. This will be null if that issue was opened outside the collection's time range and ignoreTimeRange is false. If the issue is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned. */ firstIssueContribution?: Maybe; /** The first pull request the user opened on GitHub. This will be null if that pull request was opened outside the collection's time range and ignoreTimeRange is not true. If the pull request is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned. */ @@ -2726,13 +2942,13 @@ export type ContributionsCollection = { /** The first repository the user created on GitHub. This will be null if that first repository was created outside the collection's time range and ignoreTimeRange is false. If the repository is not visible, then a RestrictedContribution is returned. */ firstRepositoryContribution?: Maybe; /** Does the user have any more activity in the timeline that occurred prior to the collection's time range? */ - hasActivityInThePast: Scalars['Boolean']; + hasActivityInThePast: Scalars['Boolean']['output']; /** Determine if there are any contributions in this collection. */ - hasAnyContributions: Scalars['Boolean']; + hasAnyContributions: Scalars['Boolean']['output']; /** Determine if the user made any contributions in this time frame whose details are not visible because they were made in a private repository. Can only be true if the user enabled private contribution counts. */ - hasAnyRestrictedContributions: Scalars['Boolean']; + hasAnyRestrictedContributions: Scalars['Boolean']['output']; /** Whether or not the collector's time span is all within the same day. */ - isSingleDay: Scalars['Boolean']; + isSingleDay: Scalars['Boolean']['output']; /** A list of issues the user opened. */ issueContributions: CreatedIssueContributionConnection; /** Issue contributions made by the user, grouped by repository. */ @@ -2740,7 +2956,7 @@ export type ContributionsCollection = { /** When the user signed up for GitHub. This will be null if that sign up date falls outside the collection's time range and ignoreTimeRange is false. */ joinedGitHubContribution?: Maybe; /** The date of the most recent restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts. */ - latestRestrictedContributionDate?: Maybe; + latestRestrictedContributionDate?: Maybe; /** * When this collection's time range does not include any activity from the user, use this * to get a different collection from an earlier time range that does have activity. @@ -2780,27 +2996,27 @@ export type ContributionsCollection = { /** A list of repositories owned by the user that the user created in this time range. */ repositoryContributions: CreatedRepositoryContributionConnection; /** A count of contributions made by the user that the viewer cannot access. Only non-zero when the user has chosen to share their private contribution counts. */ - restrictedContributionsCount: Scalars['Int']; + restrictedContributionsCount: Scalars['Int']['output']; /** The beginning date and time of this collection. */ - startedAt: Scalars['DateTime']; + startedAt: Scalars['DateTime']['output']; /** How many commits were made by the user in this time span. */ - totalCommitContributions: Scalars['Int']; + totalCommitContributions: Scalars['Int']['output']; /** How many issues the user opened. */ - totalIssueContributions: Scalars['Int']; + totalIssueContributions: Scalars['Int']['output']; /** How many pull requests the user opened. */ - totalPullRequestContributions: Scalars['Int']; + totalPullRequestContributions: Scalars['Int']['output']; /** How many pull request reviews the user left. */ - totalPullRequestReviewContributions: Scalars['Int']; + totalPullRequestReviewContributions: Scalars['Int']['output']; /** How many different repositories the user committed to. */ - totalRepositoriesWithContributedCommits: Scalars['Int']; + totalRepositoriesWithContributedCommits: Scalars['Int']['output']; /** How many different repositories the user opened issues in. */ - totalRepositoriesWithContributedIssues: Scalars['Int']; + totalRepositoriesWithContributedIssues: Scalars['Int']['output']; /** How many different repositories the user left pull request reviews in. */ - totalRepositoriesWithContributedPullRequestReviews: Scalars['Int']; + totalRepositoriesWithContributedPullRequestReviews: Scalars['Int']['output']; /** How many different repositories the user opened pull requests in. */ - totalRepositoriesWithContributedPullRequests: Scalars['Int']; + totalRepositoriesWithContributedPullRequests: Scalars['Int']['output']; /** How many repositories the user created. */ - totalRepositoryContributions: Scalars['Int']; + totalRepositoryContributions: Scalars['Int']['output']; /** The user who made the contributions in this collection. */ user: User; }; @@ -2808,129 +3024,129 @@ export type ContributionsCollection = { /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionCommitContributionsByRepositoryArgs = { - maxRepositories?: InputMaybe; + maxRepositories?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionIssueContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionIssueContributionsByRepositoryArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; - maxRepositories?: InputMaybe; + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; + maxRepositories?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionPullRequestContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionPullRequestContributionsByRepositoryArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; - maxRepositories?: InputMaybe; + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; + maxRepositories?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionPullRequestReviewContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionPullRequestReviewContributionsByRepositoryArgs = { - maxRepositories?: InputMaybe; + maxRepositories?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionRepositoryContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - excludeFirst?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + excludeFirst?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionTotalIssueContributionsArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionTotalPullRequestContributionsArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionTotalRepositoriesWithContributedIssuesArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionTotalRepositoriesWithContributedPullRequestsArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; }; /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ export type ContributionsCollectionTotalRepositoryContributionsArgs = { - excludeFirst?: InputMaybe; + excludeFirst?: InputMaybe; }; /** Autogenerated input type of ConvertProjectCardNoteToIssue */ export type ConvertProjectCardNoteToIssueInput = { /** The body of the newly created issue. */ - body?: InputMaybe; + body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ProjectCard ID to convert. */ - projectCardId: Scalars['ID']; + projectCardId: Scalars['ID']['input']; /** The ID of the repository to create the issue in. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; /** The title of the newly created issue. Defaults to the card's note text. */ - title?: InputMaybe; + title?: InputMaybe; }; /** Autogenerated return type of ConvertProjectCardNoteToIssue */ export type ConvertProjectCardNoteToIssuePayload = { __typename?: 'ConvertProjectCardNoteToIssuePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The updated ProjectCard. */ projectCard?: Maybe; }; @@ -2938,16 +3154,16 @@ export type ConvertProjectCardNoteToIssuePayload = { /** Autogenerated input type of ConvertPullRequestToDraft */ export type ConvertPullRequestToDraftInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** ID of the pull request to convert to draft */ - pullRequestId: Scalars['ID']; + pullRequestId: Scalars['ID']['input']; }; /** Autogenerated return type of ConvertPullRequestToDraft */ export type ConvertPullRequestToDraftPayload = { __typename?: 'ConvertPullRequestToDraftPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The pull request that is now a draft. */ pullRequest?: Maybe; }; @@ -2958,14 +3174,14 @@ export type ConvertToDraftEvent = Node & UniformResourceLocatable & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; /** The HTTP path for this convert to draft event. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The HTTP URL for this convert to draft event. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; }; /** Represents a 'converted_note_to_issue' event on a given issue or pull request. */ @@ -2974,10 +3190,10 @@ export type ConvertedNoteToIssueEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; - id: Scalars['ID']; + databaseId?: Maybe; + id: Scalars['ID']['output']; }; /** Represents a 'converted_to_discussion' event on a given issue. */ @@ -2986,31 +3202,31 @@ export type ConvertedToDiscussionEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The discussion that the issue was converted into. */ discussion?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; }; /** Autogenerated input type of CopyProjectV2 */ export type CopyProjectV2Input = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** Include draft issues in the new project */ - includeDraftIssues?: InputMaybe; + includeDraftIssues?: InputMaybe; /** The owner ID of the new project. */ - ownerId: Scalars['ID']; + ownerId: Scalars['ID']['input']; /** The ID of the source Project to copy. */ - projectId: Scalars['ID']; + projectId: Scalars['ID']['input']; /** The title of the project. */ - title: Scalars['String']; + title: Scalars['String']['input']; }; /** Autogenerated return type of CopyProjectV2 */ export type CopyProjectV2Payload = { __typename?: 'CopyProjectV2Payload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The copied project. */ projectV2?: Maybe; }; @@ -3018,20 +3234,20 @@ export type CopyProjectV2Payload = { /** Autogenerated input type of CreateAttributionInvitation */ export type CreateAttributionInvitationInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node ID of the owner scoping the reattributable data. */ - ownerId: Scalars['ID']; + ownerId: Scalars['ID']['input']; /** The Node ID of the account owning the data to reattribute. */ - sourceId: Scalars['ID']; + sourceId: Scalars['ID']['input']; /** The Node ID of the account which may claim the data. */ - targetId: Scalars['ID']; + targetId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateAttributionInvitation */ export type CreateAttributionInvitationPayload = { __typename?: 'CreateAttributionInvitationPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The owner scoping the reattributable data. */ owner?: Maybe; /** The account owning the data to reattribute. */ @@ -3043,63 +3259,63 @@ export type CreateAttributionInvitationPayload = { /** Autogenerated input type of CreateBranchProtectionRule */ export type CreateBranchProtectionRuleInput = { /** Can this branch be deleted. */ - allowsDeletions?: InputMaybe; + allowsDeletions?: InputMaybe; /** Are force pushes allowed on this branch. */ - allowsForcePushes?: InputMaybe; + allowsForcePushes?: InputMaybe; /** Is branch creation a protected operation. */ - blocksCreations?: InputMaybe; + blocksCreations?: InputMaybe; /** A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. */ - bypassForcePushActorIds?: InputMaybe>; + bypassForcePushActorIds?: InputMaybe>; /** A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. */ - bypassPullRequestActorIds?: InputMaybe>; + bypassPullRequestActorIds?: InputMaybe>; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** Will new commits pushed to matching branches dismiss pull request review approvals. */ - dismissesStaleReviews?: InputMaybe; + dismissesStaleReviews?: InputMaybe; /** Can admins overwrite branch protection. */ - isAdminEnforced?: InputMaybe; + isAdminEnforced?: InputMaybe; /** Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. */ - lockAllowsFetchAndMerge?: InputMaybe; + lockAllowsFetchAndMerge?: InputMaybe; /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ - lockBranch?: InputMaybe; + lockBranch?: InputMaybe; /** The glob-like pattern used to determine matching branches. */ - pattern: Scalars['String']; + pattern: Scalars['String']['input']; /** A list of User, Team, or App IDs allowed to push to matching branches. */ - pushActorIds?: InputMaybe>; + pushActorIds?: InputMaybe>; /** The global relay id of the repository in which a new branch protection rule should be created in. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; /** Whether the most recent push must be approved by someone other than the person who pushed it */ - requireLastPushApproval?: InputMaybe; + requireLastPushApproval?: InputMaybe; /** Number of approving reviews required to update matching branches. */ - requiredApprovingReviewCount?: InputMaybe; + requiredApprovingReviewCount?: InputMaybe; /** The list of required deployment environments */ - requiredDeploymentEnvironments?: InputMaybe>; + requiredDeploymentEnvironments?: InputMaybe>; /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ - requiredStatusCheckContexts?: InputMaybe>; + requiredStatusCheckContexts?: InputMaybe>; /** The list of required status checks */ requiredStatusChecks?: InputMaybe>; /** Are approving reviews required to update matching branches. */ - requiresApprovingReviews?: InputMaybe; + requiresApprovingReviews?: InputMaybe; /** Are reviews from code owners required to update matching branches. */ - requiresCodeOwnerReviews?: InputMaybe; + requiresCodeOwnerReviews?: InputMaybe; /** Are commits required to be signed. */ - requiresCommitSignatures?: InputMaybe; + requiresCommitSignatures?: InputMaybe; /** Are conversations required to be resolved before merging. */ - requiresConversationResolution?: InputMaybe; + requiresConversationResolution?: InputMaybe; /** Are successful deployments required before merging. */ - requiresDeployments?: InputMaybe; + requiresDeployments?: InputMaybe; /** Are merge commits prohibited from being pushed to this branch. */ - requiresLinearHistory?: InputMaybe; + requiresLinearHistory?: InputMaybe; /** Are status checks required to update matching branches. */ - requiresStatusChecks?: InputMaybe; + requiresStatusChecks?: InputMaybe; /** Are branches required to be up to date before merging. */ - requiresStrictStatusChecks?: InputMaybe; + requiresStrictStatusChecks?: InputMaybe; /** Is pushing to matching branches restricted. */ - restrictsPushes?: InputMaybe; + restrictsPushes?: InputMaybe; /** Is dismissal of pull request reviews restricted. */ - restrictsReviewDismissals?: InputMaybe; + restrictsReviewDismissals?: InputMaybe; /** A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. */ - reviewDismissalActorIds?: InputMaybe>; + reviewDismissalActorIds?: InputMaybe>; }; /** Autogenerated return type of CreateBranchProtectionRule */ @@ -3108,7 +3324,7 @@ export type CreateBranchProtectionRulePayload = { /** The newly created BranchProtectionRule. */ branchProtectionRule?: Maybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; }; /** Autogenerated input type of CreateCheckRun */ @@ -3116,25 +3332,25 @@ export type CreateCheckRunInput = { /** Possible further actions the integrator can perform, which a user may trigger. */ actions?: InputMaybe>; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The time that the check run finished. */ - completedAt?: InputMaybe; + completedAt?: InputMaybe; /** The final conclusion of the check. */ conclusion?: InputMaybe; /** The URL of the integrator's site that has the full details of the check. */ - detailsUrl?: InputMaybe; + detailsUrl?: InputMaybe; /** A reference for the run on the integrator's system. */ - externalId?: InputMaybe; + externalId?: InputMaybe; /** The SHA of the head commit. */ - headSha: Scalars['GitObjectID']; + headSha: Scalars['GitObjectID']['input']; /** The name of the check. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** Descriptive details about the run. */ output?: InputMaybe; /** The node ID of the repository. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; /** The time that the check run began. */ - startedAt?: InputMaybe; + startedAt?: InputMaybe; /** The current status. */ status?: InputMaybe; }; @@ -3145,17 +3361,17 @@ export type CreateCheckRunPayload = { /** The newly created check run. */ checkRun?: Maybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; }; /** Autogenerated input type of CreateCheckSuite */ export type CreateCheckSuiteInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The SHA of the head commit. */ - headSha: Scalars['GitObjectID']; + headSha: Scalars['GitObjectID']['input']; /** The Node ID of the repository. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateCheckSuite */ @@ -3164,7 +3380,7 @@ export type CreateCheckSuitePayload = { /** The newly created check suite. */ checkSuite?: Maybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; }; /** Autogenerated input type of CreateCommitOnBranch */ @@ -3172,9 +3388,9 @@ export type CreateCommitOnBranchInput = { /** The Ref to be updated. Must be a branch. */ branch: CommittableBranch; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The git commit oid expected at the head of the branch prior to the commit */ - expectedHeadOid: Scalars['GitObjectID']; + expectedHeadOid: Scalars['GitObjectID']['input']; /** A description of changes to files in this commit. */ fileChanges?: InputMaybe; /** The commit message the be included with the commit. */ @@ -3185,7 +3401,7 @@ export type CreateCommitOnBranchInput = { export type CreateCommitOnBranchPayload = { __typename?: 'CreateCommitOnBranchPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new commit. */ commit?: Maybe; /** The ref which has been updated to point to the new commit. */ @@ -3195,22 +3411,22 @@ export type CreateCommitOnBranchPayload = { /** Autogenerated input type of CreateDiscussion */ export type CreateDiscussionInput = { /** The body of the discussion. */ - body: Scalars['String']; + body: Scalars['String']['input']; /** The id of the discussion category to associate with this discussion. */ - categoryId: Scalars['ID']; + categoryId: Scalars['ID']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The id of the repository on which to create the discussion. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; /** The title of the discussion. */ - title: Scalars['String']; + title: Scalars['String']['input']; }; /** Autogenerated return type of CreateDiscussion */ export type CreateDiscussionPayload = { __typename?: 'CreateDiscussionPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The discussion that was just created. */ discussion?: Maybe; }; @@ -3218,24 +3434,24 @@ export type CreateDiscussionPayload = { /** Autogenerated input type of CreateEnterpriseOrganization */ export type CreateEnterpriseOrganizationInput = { /** The logins for the administrators of the new organization. */ - adminLogins: Array; + adminLogins: Array; /** The email used for sending billing receipts. */ - billingEmail: Scalars['String']; + billingEmail: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the enterprise owning the new organization. */ - enterpriseId: Scalars['ID']; + enterpriseId: Scalars['ID']['input']; /** The login of the new organization. */ - login: Scalars['String']; + login: Scalars['String']['input']; /** The profile name of the new organization. */ - profileName: Scalars['String']; + profileName: Scalars['String']['input']; }; /** Autogenerated return type of CreateEnterpriseOrganization */ export type CreateEnterpriseOrganizationPayload = { __typename?: 'CreateEnterpriseOrganizationPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The enterprise that owns the created organization. */ enterprise?: Maybe; /** The organization that was created. */ @@ -3245,18 +3461,18 @@ export type CreateEnterpriseOrganizationPayload = { /** Autogenerated input type of CreateEnvironment */ export type CreateEnvironmentInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The name of the environment. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The node ID of the repository. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateEnvironment */ export type CreateEnvironmentPayload = { __typename?: 'CreateEnvironmentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new or existing environment. */ environment?: Maybe; }; @@ -3264,22 +3480,22 @@ export type CreateEnvironmentPayload = { /** Autogenerated input type of CreateIpAllowListEntry */ export type CreateIpAllowListEntryInput = { /** An IP address or range of addresses in CIDR notation. */ - allowListValue: Scalars['String']; + allowListValue: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** Whether the IP allow list entry is active when an IP allow list is enabled. */ - isActive: Scalars['Boolean']; + isActive: Scalars['Boolean']['input']; /** An optional name for the IP allow list entry. */ - name?: InputMaybe; + name?: InputMaybe; /** The ID of the owner for which to create the new IP allow list entry. */ - ownerId: Scalars['ID']; + ownerId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateIpAllowListEntry */ export type CreateIpAllowListEntryPayload = { __typename?: 'CreateIpAllowListEntryPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The IP allow list entry that was created. */ ipAllowListEntry?: Maybe; }; @@ -3287,30 +3503,30 @@ export type CreateIpAllowListEntryPayload = { /** Autogenerated input type of CreateIssue */ export type CreateIssueInput = { /** The Node ID for the user assignee for this issue. */ - assigneeIds?: InputMaybe>; + assigneeIds?: InputMaybe>; /** The body for the issue description. */ - body?: InputMaybe; + body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The name of an issue template in the repository, assigns labels and assignees from the template to the issue */ - issueTemplate?: InputMaybe; + issueTemplate?: InputMaybe; /** An array of Node IDs of labels for this issue. */ - labelIds?: InputMaybe>; + labelIds?: InputMaybe>; /** The Node ID of the milestone for this issue. */ - milestoneId?: InputMaybe; + milestoneId?: InputMaybe; /** An array of Node IDs for projects associated with this issue. */ - projectIds?: InputMaybe>; + projectIds?: InputMaybe>; /** The Node ID of the repository. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; /** The title for the issue. */ - title: Scalars['String']; + title: Scalars['String']['input']; }; /** Autogenerated return type of CreateIssue */ export type CreateIssuePayload = { __typename?: 'CreateIssuePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new issue. */ issue?: Maybe; }; @@ -3318,22 +3534,22 @@ export type CreateIssuePayload = { /** Autogenerated input type of CreateLinkedBranch */ export type CreateLinkedBranchInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** ID of the issue to link to. */ - issueId: Scalars['ID']; + issueId: Scalars['ID']['input']; /** The name of the new branch. Defaults to issue number and title. */ - name?: InputMaybe; + name?: InputMaybe; /** The commit SHA to base the new branch on. */ - oid: Scalars['GitObjectID']; + oid: Scalars['GitObjectID']['input']; /** ID of the repository to create the branch in. Defaults to the issue repository. */ - repositoryId?: InputMaybe; + repositoryId?: InputMaybe; }; /** Autogenerated return type of CreateLinkedBranch */ export type CreateLinkedBranchPayload = { __typename?: 'CreateLinkedBranchPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new branch issue reference. */ linkedBranch?: Maybe; }; @@ -3341,26 +3557,26 @@ export type CreateLinkedBranchPayload = { /** Autogenerated input type of CreateMigrationSource */ export type CreateMigrationSourceInput = { /** The migration source access token. */ - accessToken?: InputMaybe; + accessToken?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The GitHub personal access token of the user importing to the target repository. */ - githubPat?: InputMaybe; + githubPat?: InputMaybe; /** The migration source name. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The ID of the organization that will own the migration source. */ - ownerId: Scalars['ID']; + ownerId: Scalars['ID']['input']; /** The migration source type. */ type: MigrationSourceType; /** The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. */ - url: Scalars['String']; + url?: InputMaybe; }; /** Autogenerated return type of CreateMigrationSource */ export type CreateMigrationSourcePayload = { __typename?: 'CreateMigrationSourcePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The created migration source. */ migrationSource?: Maybe; }; @@ -3368,15 +3584,15 @@ export type CreateMigrationSourcePayload = { /** Autogenerated input type of CreateProject */ export type CreateProjectInput = { /** The description of project. */ - body?: InputMaybe; + body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The name of project. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The owner ID to create the project under. */ - ownerId: Scalars['ID']; + ownerId: Scalars['ID']['input']; /** A list of repository IDs to create as linked repositories for the project */ - repositoryIds?: InputMaybe>; + repositoryIds?: InputMaybe>; /** The name of the GitHub-provided template. */ template?: InputMaybe; }; @@ -3385,7 +3601,7 @@ export type CreateProjectInput = { export type CreateProjectPayload = { __typename?: 'CreateProjectPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new project. */ project?: Maybe; }; @@ -3393,13 +3609,13 @@ export type CreateProjectPayload = { /** Autogenerated input type of CreateProjectV2Field */ export type CreateProjectV2FieldInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The data type of the field. */ dataType: ProjectV2CustomFieldType; /** The name of the field. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The ID of the Project to create the field in. */ - projectId: Scalars['ID']; + projectId: Scalars['ID']['input']; /** Options for a single select field. At least one value is required if data_type is SINGLE_SELECT */ singleSelectOptions?: InputMaybe>; }; @@ -3408,7 +3624,7 @@ export type CreateProjectV2FieldInput = { export type CreateProjectV2FieldPayload = { __typename?: 'CreateProjectV2FieldPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new field. */ projectV2Field?: Maybe; }; @@ -3416,22 +3632,22 @@ export type CreateProjectV2FieldPayload = { /** Autogenerated input type of CreateProjectV2 */ export type CreateProjectV2Input = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The owner ID to create the project under. */ - ownerId: Scalars['ID']; + ownerId: Scalars['ID']['input']; /** The repository to link the project to. */ - repositoryId?: InputMaybe; + repositoryId?: InputMaybe; /** The team to link the project to. The team will be granted read permissions. */ - teamId?: InputMaybe; + teamId?: InputMaybe; /** The title of the project. */ - title: Scalars['String']; + title: Scalars['String']['input']; }; /** Autogenerated return type of CreateProjectV2 */ export type CreateProjectV2Payload = { __typename?: 'CreateProjectV2Payload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new project. */ projectV2?: Maybe; }; @@ -3444,34 +3660,34 @@ export type CreatePullRequestInput = { * to another repository. * */ - baseRefName: Scalars['String']; + baseRefName: Scalars['String']['input']; /** The contents of the pull request. */ - body?: InputMaybe; + body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** Indicates whether this pull request should be a draft. */ - draft?: InputMaybe; + draft?: InputMaybe; /** * The name of the branch where your changes are implemented. For cross-repository pull requests * in the same network, namespace `head_ref_name` with a user like this: `username:branch`. * */ - headRefName: Scalars['String']; + headRefName: Scalars['String']['input']; /** The Node ID of the head repository. */ - headRepositoryId?: InputMaybe; + headRepositoryId?: InputMaybe; /** Indicates whether maintainers can modify the pull request. */ - maintainerCanModify?: InputMaybe; + maintainerCanModify?: InputMaybe; /** The Node ID of the repository. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; /** The title of the pull request. */ - title: Scalars['String']; + title: Scalars['String']['input']; }; /** Autogenerated return type of CreatePullRequest */ export type CreatePullRequestPayload = { __typename?: 'CreatePullRequestPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new pull request. */ pullRequest?: Maybe; }; @@ -3479,20 +3695,20 @@ export type CreatePullRequestPayload = { /** Autogenerated input type of CreateRef */ export type CreateRefInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The fully qualified name of the new Ref (ie: `refs/heads/my_new_branch`). */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The GitObjectID that the new Ref shall target. Must point to a commit. */ - oid: Scalars['GitObjectID']; + oid: Scalars['GitObjectID']['input']; /** The Node ID of the Repository to create the Ref in. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateRef */ export type CreateRefPayload = { __typename?: 'CreateRefPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The newly created ref. */ ref?: Maybe; }; @@ -3500,23 +3716,23 @@ export type CreateRefPayload = { /** Autogenerated input type of CreateRepository */ export type CreateRepositoryInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** A short description of the new repository. */ - description?: InputMaybe; + description?: InputMaybe; /** Indicates if the repository should have the issues feature enabled. */ - hasIssuesEnabled?: InputMaybe; + hasIssuesEnabled?: InputMaybe; /** Indicates if the repository should have the wiki feature enabled. */ - hasWikiEnabled?: InputMaybe; + hasWikiEnabled?: InputMaybe; /** The URL for a web page about this repository. */ - homepageUrl?: InputMaybe; + homepageUrl?: InputMaybe; /** The name of the new repository. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The ID of the owner for the new repository. */ - ownerId?: InputMaybe; + ownerId?: InputMaybe; /** When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository. */ - teamId?: InputMaybe; + teamId?: InputMaybe; /** Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure. */ - template?: InputMaybe; + template?: InputMaybe; /** Indicates the repository's visibility level. */ visibility: RepositoryVisibility; }; @@ -3525,36 +3741,67 @@ export type CreateRepositoryInput = { export type CreateRepositoryPayload = { __typename?: 'CreateRepositoryPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new repository. */ repository?: Maybe; }; +/** Autogenerated input type of CreateRepositoryRuleset */ +export type CreateRepositoryRulesetInput = { + /** A list of Team or App IDs allowed to bypass rules in this ruleset. */ + bypassActorIds?: InputMaybe>; + /** The bypass mode for this ruleset */ + bypassMode?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The set of conditions for this ruleset */ + conditions: RepositoryRuleConditionsInput; + /** The enforcement level for this ruleset */ + enforcement: RuleEnforcement; + /** The name of the ruleset. */ + name: Scalars['String']['input']; + /** The list of rules for this ruleset */ + rules?: InputMaybe>; + /** The global relay id of the source in which a new ruleset should be created in. */ + sourceId: Scalars['ID']['input']; + /** The target of the ruleset. */ + target?: InputMaybe; +}; + +/** Autogenerated return type of CreateRepositoryRuleset */ +export type CreateRepositoryRulesetPayload = { + __typename?: 'CreateRepositoryRulesetPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The newly created Ruleset. */ + ruleset?: Maybe; +}; + /** Autogenerated input type of CreateSponsorsListing */ export type CreateSponsorsListingInput = { /** The country or region where the sponsorable's bank account is located. Required if fiscalHostLogin is not specified, ignored when fiscalHostLogin is specified. */ billingCountryOrRegionCode?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The email address we should use to contact you about the GitHub Sponsors profile being created. This will not be shared publicly. Must be a verified email address already on your GitHub account. Only relevant when the sponsorable is yourself. Defaults to your primary email address on file if omitted. */ - contactEmail?: InputMaybe; + contactEmail?: InputMaybe; /** The username of the supported fiscal host's GitHub organization, if you want to receive sponsorship payouts through a fiscal host rather than directly to a bank account. For example, 'Open-Source-Collective' for Open Source Collective or 'numfocus' for numFOCUS. Case insensitive. See https://docs.github.com/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts for more information. */ - fiscalHostLogin?: InputMaybe; + fiscalHostLogin?: InputMaybe; /** The URL for your profile page on the fiscal host's website, e.g., https://opencollective.com/babel or https://numfocus.org/project/bokeh. Required if fiscalHostLogin is specified. */ - fiscallyHostedProjectProfileUrl?: InputMaybe; + fiscallyHostedProjectProfileUrl?: InputMaybe; /** Provide an introduction to serve as the main focus that appears on your GitHub Sponsors profile. It's a great opportunity to help potential sponsors learn more about you, your work, and why their sponsorship is important to you. GitHub-flavored Markdown is supported. */ - fullDescription?: InputMaybe; + fullDescription?: InputMaybe; /** The country or region where the sponsorable resides. This is for tax purposes. Required if the sponsorable is yourself, ignored when sponsorableLogin specifies an organization. */ residenceCountryOrRegionCode?: InputMaybe; /** The username of the organization to create a GitHub Sponsors profile for, if desired. Defaults to creating a GitHub Sponsors profile for the authenticated user if omitted. */ - sponsorableLogin?: InputMaybe; + sponsorableLogin?: InputMaybe; }; /** Autogenerated return type of CreateSponsorsListing */ export type CreateSponsorsListingPayload = { __typename?: 'CreateSponsorsListingPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new GitHub Sponsors profile. */ sponsorsListing?: Maybe; }; @@ -3562,34 +3809,34 @@ export type CreateSponsorsListingPayload = { /** Autogenerated input type of CreateSponsorsTier */ export type CreateSponsorsTierInput = { /** The value of the new tier in US dollars. Valid values: 1-12000. */ - amount: Scalars['Int']; + amount: Scalars['Int']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** A description of what this tier is, what perks sponsors might receive, what a sponsorship at this tier means for you, etc. */ - description: Scalars['String']; + description: Scalars['String']['input']; /** Whether sponsorships using this tier should happen monthly/yearly or just once. */ - isRecurring?: InputMaybe; + isRecurring?: InputMaybe; /** Whether to make the tier available immediately for sponsors to choose. Defaults to creating a draft tier that will not be publicly visible. */ - publish?: InputMaybe; + publish?: InputMaybe; /** Optional ID of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. */ - repositoryId?: InputMaybe; + repositoryId?: InputMaybe; /** Optional name of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. Necessary if repositoryOwnerLogin is given. Will be ignored if repositoryId is given. */ - repositoryName?: InputMaybe; + repositoryName?: InputMaybe; /** Optional login of the organization owner of the private repository that sponsors at this tier should gain read-only access to. Necessary if repositoryName is given. Will be ignored if repositoryId is given. */ - repositoryOwnerLogin?: InputMaybe; + repositoryOwnerLogin?: InputMaybe; /** The ID of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableLogin is not given. */ - sponsorableId?: InputMaybe; + sponsorableId?: InputMaybe; /** The username of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableId is not given. */ - sponsorableLogin?: InputMaybe; + sponsorableLogin?: InputMaybe; /** Optional message new sponsors at this tier will receive. */ - welcomeMessage?: InputMaybe; + welcomeMessage?: InputMaybe; }; /** Autogenerated return type of CreateSponsorsTier */ export type CreateSponsorsTierPayload = { __typename?: 'CreateSponsorsTierPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new tier. */ sponsorsTier?: Maybe; }; @@ -3597,51 +3844,74 @@ export type CreateSponsorsTierPayload = { /** Autogenerated input type of CreateSponsorship */ export type CreateSponsorshipInput = { /** The amount to pay to the sponsorable in US dollars. Required if a tierId is not specified. Valid values: 1-12000. */ - amount?: InputMaybe; + amount?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** Whether the sponsorship should happen monthly/yearly or just this one time. Required if a tierId is not specified. */ - isRecurring?: InputMaybe; + isRecurring?: InputMaybe; /** Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used. */ privacyLevel?: InputMaybe; /** Whether the sponsor should receive email updates from the sponsorable. */ - receiveEmails?: InputMaybe; + receiveEmails?: InputMaybe; /** The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. */ - sponsorId?: InputMaybe; + sponsorId?: InputMaybe; /** The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. */ - sponsorLogin?: InputMaybe; + sponsorLogin?: InputMaybe; /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ - sponsorableId?: InputMaybe; + sponsorableId?: InputMaybe; /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ - sponsorableLogin?: InputMaybe; + sponsorableLogin?: InputMaybe; /** The ID of one of sponsorable's existing tiers to sponsor at. Required if amount is not specified. */ - tierId?: InputMaybe; + tierId?: InputMaybe; }; /** Autogenerated return type of CreateSponsorship */ export type CreateSponsorshipPayload = { __typename?: 'CreateSponsorshipPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The sponsorship that was started. */ sponsorship?: Maybe; }; +/** Autogenerated input type of CreateSponsorships */ +export type CreateSponsorshipsInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** Specify whether others should be able to see that the sponsor is sponsoring the sponsorables. Public visibility still does not reveal the dollar value of the sponsorship. */ + privacyLevel?: InputMaybe; + /** Whether the sponsor should receive email updates from the sponsorables. */ + receiveEmails?: InputMaybe; + /** The username of the user or organization who is acting as the sponsor, paying for the sponsorships. */ + sponsorLogin: Scalars['String']['input']; + /** The list of maintainers to sponsor and for how much apiece. */ + sponsorships: Array; +}; + +/** Autogenerated return type of CreateSponsorships */ +export type CreateSponsorshipsPayload = { + __typename?: 'CreateSponsorshipsPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The users and organizations who received a sponsorship. */ + sponsorables?: Maybe>; +}; + /** Autogenerated input type of CreateTeamDiscussionComment */ export type CreateTeamDiscussionCommentInput = { /** The content of the comment. */ - body: Scalars['String']; + body: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the discussion to which the comment belongs. */ - discussionId: Scalars['ID']; + discussionId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateTeamDiscussionComment */ export type CreateTeamDiscussionCommentPayload = { __typename?: 'CreateTeamDiscussionCommentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new comment. */ teamDiscussionComment?: Maybe; }; @@ -3649,22 +3919,22 @@ export type CreateTeamDiscussionCommentPayload = { /** Autogenerated input type of CreateTeamDiscussion */ export type CreateTeamDiscussionInput = { /** The content of the discussion. */ - body: Scalars['String']; + body: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** If true, restricts the visibility of this discussion to team members and organization admins. If false or not specified, allows any organization member to view this discussion. */ - private?: InputMaybe; + private?: InputMaybe; /** The ID of the team to which the discussion belongs. */ - teamId: Scalars['ID']; + teamId: Scalars['ID']['input']; /** The title of the discussion. */ - title: Scalars['String']; + title: Scalars['String']['input']; }; /** Autogenerated return type of CreateTeamDiscussion */ export type CreateTeamDiscussionPayload = { __typename?: 'CreateTeamDiscussionPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The new discussion. */ teamDiscussion?: Maybe; }; @@ -3673,22 +3943,22 @@ export type CreateTeamDiscussionPayload = { export type CreatedCommitContribution = Contribution & { __typename?: 'CreatedCommitContribution'; /** How many commits were made on this day to this repository by the user. */ - commitCount: Scalars['Int']; + commitCount: Scalars['Int']['output']; /** * Whether this contribution is associated with a record you do not have access to. For * example, your own 'first issue' contribution may have been made on a repository you can no * longer access. * */ - isRestricted: Scalars['Boolean']; + isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ - occurredAt: Scalars['DateTime']; + occurredAt: Scalars['DateTime']['output']; /** The repository the user made a commit in. */ repository: Repository; /** The HTTP path for this contribution. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** * The user who made this contribution. * @@ -3709,14 +3979,14 @@ export type CreatedCommitContributionConnection = { * Identifies the total count of commits across days and repositories in the connection. * */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CreatedCommitContributionEdge = { __typename?: 'CreatedCommitContributionEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -3730,15 +4000,15 @@ export type CreatedIssueContribution = Contribution & { * longer access. * */ - isRestricted: Scalars['Boolean']; + isRestricted: Scalars['Boolean']['output']; /** The issue that was opened. */ issue: Issue; /** When this contribution was made. */ - occurredAt: Scalars['DateTime']; + occurredAt: Scalars['DateTime']['output']; /** The HTTP path for this contribution. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** * The user who made this contribution. * @@ -3756,14 +4026,14 @@ export type CreatedIssueContributionConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CreatedIssueContributionEdge = { __typename?: 'CreatedIssueContributionEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -3780,15 +4050,15 @@ export type CreatedPullRequestContribution = Contribution & { * longer access. * */ - isRestricted: Scalars['Boolean']; + isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ - occurredAt: Scalars['DateTime']; + occurredAt: Scalars['DateTime']['output']; /** The pull request that was opened. */ pullRequest: PullRequest; /** The HTTP path for this contribution. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** * The user who made this contribution. * @@ -3806,14 +4076,14 @@ export type CreatedPullRequestContributionConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CreatedPullRequestContributionEdge = { __typename?: 'CreatedPullRequestContributionEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -3830,9 +4100,9 @@ export type CreatedPullRequestReviewContribution = Contribution & { * longer access. * */ - isRestricted: Scalars['Boolean']; + isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ - occurredAt: Scalars['DateTime']; + occurredAt: Scalars['DateTime']['output']; /** The pull request the user reviewed. */ pullRequest: PullRequest; /** The review the user left on the pull request. */ @@ -3840,9 +4110,9 @@ export type CreatedPullRequestReviewContribution = Contribution & { /** The repository containing the pull request that the user reviewed. */ repository: Repository; /** The HTTP path for this contribution. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** * The user who made this contribution. * @@ -3860,14 +4130,14 @@ export type CreatedPullRequestReviewContributionConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CreatedPullRequestReviewContributionEdge = { __typename?: 'CreatedPullRequestReviewContributionEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -3881,15 +4151,15 @@ export type CreatedRepositoryContribution = Contribution & { * longer access. * */ - isRestricted: Scalars['Boolean']; + isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ - occurredAt: Scalars['DateTime']; + occurredAt: Scalars['DateTime']['output']; /** The repository that was created. */ repository: Repository; /** The HTTP path for this contribution. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** * The user who made this contribution. * @@ -3907,14 +4177,14 @@ export type CreatedRepositoryContributionConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CreatedRepositoryContributionEdge = { __typename?: 'CreatedRepositoryContributionEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -3928,41 +4198,41 @@ export type CrossReferencedEvent = Node & UniformResourceLocatable & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** Reference originated in a different repository. */ - isCrossRepository: Scalars['Boolean']; + isCrossRepository: Scalars['Boolean']['output']; /** Identifies when the reference was made. */ - referencedAt: Scalars['DateTime']; + referencedAt: Scalars['DateTime']['output']; /** The HTTP path for this pull request. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** Issue or pull request that made the reference. */ source: ReferencedSubject; /** Issue or pull request to which the reference was made. */ target: ReferencedSubject; /** The HTTP URL for this pull request. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** Checks if the target will be closed when the source is merged. */ - willCloseTarget: Scalars['Boolean']; + willCloseTarget: Scalars['Boolean']['output']; }; /** Autogenerated input type of DeclineTopicSuggestion */ export type DeclineTopicSuggestionInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The name of the suggested topic. */ - name: Scalars['String']; + name: Scalars['String']['input']; /** The reason why the suggested topic is declined. */ reason: TopicSuggestionDeclineReason; /** The Node ID of the repository. */ - repositoryId: Scalars['ID']; + repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of DeclineTopicSuggestion */ export type DeclineTopicSuggestionPayload = { __typename?: 'DeclineTopicSuggestionPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The declined topic. */ topic?: Maybe; }; @@ -3982,52 +4252,52 @@ export enum DefaultRepositoryPermissionField { /** Entities that can be deleted. */ export type Deletable = { /** Check if the current viewer can delete this object. */ - viewerCanDelete: Scalars['Boolean']; + viewerCanDelete: Scalars['Boolean']['output']; }; /** Autogenerated input type of DeleteBranchProtectionRule */ export type DeleteBranchProtectionRuleInput = { /** The global relay id of the branch protection rule to be deleted. */ - branchProtectionRuleId: Scalars['ID']; + branchProtectionRuleId: Scalars['ID']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; }; /** Autogenerated return type of DeleteBranchProtectionRule */ export type DeleteBranchProtectionRulePayload = { __typename?: 'DeleteBranchProtectionRulePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; }; /** Autogenerated input type of DeleteDeployment */ export type DeleteDeploymentInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node ID of the deployment to be deleted. */ - id: Scalars['ID']; + id: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteDeployment */ export type DeleteDeploymentPayload = { __typename?: 'DeleteDeploymentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; }; /** Autogenerated input type of DeleteDiscussionComment */ export type DeleteDiscussionCommentInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node id of the discussion comment to delete. */ - id: Scalars['ID']; + id: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteDiscussionComment */ export type DeleteDiscussionCommentPayload = { __typename?: 'DeleteDiscussionCommentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The discussion comment that was just deleted. */ comment?: Maybe; }; @@ -4035,16 +4305,16 @@ export type DeleteDiscussionCommentPayload = { /** Autogenerated input type of DeleteDiscussion */ export type DeleteDiscussionInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The id of the discussion to delete. */ - id: Scalars['ID']; + id: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteDiscussion */ export type DeleteDiscussionPayload = { __typename?: 'DeleteDiscussionPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The discussion that was just deleted. */ discussion?: Maybe; }; @@ -4052,31 +4322,31 @@ export type DeleteDiscussionPayload = { /** Autogenerated input type of DeleteEnvironment */ export type DeleteEnvironmentInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node ID of the environment to be deleted. */ - id: Scalars['ID']; + id: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteEnvironment */ export type DeleteEnvironmentPayload = { __typename?: 'DeleteEnvironmentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; }; /** Autogenerated input type of DeleteIpAllowListEntry */ export type DeleteIpAllowListEntryInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the IP allow list entry to delete. */ - ipAllowListEntryId: Scalars['ID']; + ipAllowListEntryId: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteIpAllowListEntry */ export type DeleteIpAllowListEntryPayload = { __typename?: 'DeleteIpAllowListEntryPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The IP allow list entry that was deleted. */ ipAllowListEntry?: Maybe; }; @@ -4084,31 +4354,31 @@ export type DeleteIpAllowListEntryPayload = { /** Autogenerated input type of DeleteIssueComment */ export type DeleteIssueCommentInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the comment to delete. */ - id: Scalars['ID']; + id: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteIssueComment */ export type DeleteIssueCommentPayload = { __typename?: 'DeleteIssueCommentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; }; /** Autogenerated input type of DeleteIssue */ export type DeleteIssueInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the issue to delete. */ - issueId: Scalars['ID']; + issueId: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteIssue */ export type DeleteIssuePayload = { __typename?: 'DeleteIssuePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The repository the issue belonged to */ repository?: Maybe; }; @@ -4116,16 +4386,16 @@ export type DeleteIssuePayload = { /** Autogenerated input type of DeleteLinkedBranch */ export type DeleteLinkedBranchInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the linked branch */ - linkedBranchId: Scalars['ID']; + linkedBranchId: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteLinkedBranch */ export type DeleteLinkedBranchPayload = { __typename?: 'DeleteLinkedBranchPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The issue the linked branch was unlinked from. */ issue?: Maybe; }; @@ -4133,37 +4403,37 @@ export type DeleteLinkedBranchPayload = { /** Autogenerated input type of DeleteProjectCard */ export type DeleteProjectCardInput = { /** The id of the card to delete. */ - cardId: Scalars['ID']; + cardId: Scalars['ID']['input']; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; }; /** Autogenerated return type of DeleteProjectCard */ export type DeleteProjectCardPayload = { __typename?: 'DeleteProjectCardPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The column the deleted card was in. */ column?: Maybe; /** The deleted card ID. */ - deletedCardId?: Maybe; + deletedCardId?: Maybe; }; /** Autogenerated input type of DeleteProjectColumn */ export type DeleteProjectColumnInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The id of the column to delete. */ - columnId: Scalars['ID']; + columnId: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteProjectColumn */ export type DeleteProjectColumnPayload = { __typename?: 'DeleteProjectColumnPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The deleted column ID. */ - deletedColumnId?: Maybe; + deletedColumnId?: Maybe; /** The project the deleted column was in. */ project?: Maybe; }; @@ -4171,16 +4441,16 @@ export type DeleteProjectColumnPayload = { /** Autogenerated input type of DeleteProject */ export type DeleteProjectInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Project ID to update. */ - projectId: Scalars['ID']; + projectId: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteProject */ export type DeleteProjectPayload = { __typename?: 'DeleteProjectPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The repository or organization the project was removed from. */ owner?: Maybe; }; @@ -4188,16 +4458,16 @@ export type DeleteProjectPayload = { /** Autogenerated input type of DeleteProjectV2Field */ export type DeleteProjectV2FieldInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the field to delete. */ - fieldId: Scalars['ID']; + fieldId: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteProjectV2Field */ export type DeleteProjectV2FieldPayload = { __typename?: 'DeleteProjectV2FieldPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The deleted field. */ projectV2Field?: Maybe; }; @@ -4205,52 +4475,71 @@ export type DeleteProjectV2FieldPayload = { /** Autogenerated input type of DeleteProjectV2 */ export type DeleteProjectV2Input = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the Project to delete. */ - projectId: Scalars['ID']; + projectId: Scalars['ID']['input']; }; /** Autogenerated input type of DeleteProjectV2Item */ export type DeleteProjectV2ItemInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the item to be removed. */ - itemId: Scalars['ID']; + itemId: Scalars['ID']['input']; /** The ID of the Project from which the item should be removed. */ - projectId: Scalars['ID']; + projectId: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteProjectV2Item */ export type DeleteProjectV2ItemPayload = { __typename?: 'DeleteProjectV2ItemPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The ID of the deleted item. */ - deletedItemId?: Maybe; + deletedItemId?: Maybe; }; /** Autogenerated return type of DeleteProjectV2 */ export type DeleteProjectV2Payload = { __typename?: 'DeleteProjectV2Payload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The deleted Project. */ projectV2?: Maybe; }; +/** Autogenerated input type of DeleteProjectV2Workflow */ +export type DeleteProjectV2WorkflowInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the workflow to be removed. */ + workflowId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of DeleteProjectV2Workflow */ +export type DeleteProjectV2WorkflowPayload = { + __typename?: 'DeleteProjectV2WorkflowPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The ID of the deleted workflow. */ + deletedWorkflowId?: Maybe; + /** The project the deleted workflow was in. */ + projectV2?: Maybe; +}; + /** Autogenerated input type of DeletePullRequestReviewComment */ export type DeletePullRequestReviewCommentInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the comment to delete. */ - id: Scalars['ID']; + id: Scalars['ID']['input']; }; /** Autogenerated return type of DeletePullRequestReviewComment */ export type DeletePullRequestReviewCommentPayload = { __typename?: 'DeletePullRequestReviewCommentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The pull request review the deleted comment belonged to. */ pullRequestReview?: Maybe; /** The deleted pull request review comment. */ @@ -4260,16 +4549,16 @@ export type DeletePullRequestReviewCommentPayload = { /** Autogenerated input type of DeletePullRequestReview */ export type DeletePullRequestReviewInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node ID of the pull request review to delete. */ - pullRequestReviewId: Scalars['ID']; + pullRequestReviewId: Scalars['ID']['input']; }; /** Autogenerated return type of DeletePullRequestReview */ export type DeletePullRequestReviewPayload = { __typename?: 'DeletePullRequestReviewPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The deleted pull request review. */ pullRequestReview?: Maybe; }; @@ -4277,61 +4566,76 @@ export type DeletePullRequestReviewPayload = { /** Autogenerated input type of DeleteRef */ export type DeleteRefInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The Node ID of the Ref to be deleted. */ - refId: Scalars['ID']; + refId: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteRef */ export type DeleteRefPayload = { __typename?: 'DeleteRefPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; +}; + +/** Autogenerated input type of DeleteRepositoryRuleset */ +export type DeleteRepositoryRulesetInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The global relay id of the repository ruleset to be deleted. */ + repositoryRulesetId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of DeleteRepositoryRuleset */ +export type DeleteRepositoryRulesetPayload = { + __typename?: 'DeleteRepositoryRulesetPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; }; /** Autogenerated input type of DeleteTeamDiscussionComment */ export type DeleteTeamDiscussionCommentInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the comment to delete. */ - id: Scalars['ID']; + id: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteTeamDiscussionComment */ export type DeleteTeamDiscussionCommentPayload = { __typename?: 'DeleteTeamDiscussionCommentPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; }; /** Autogenerated input type of DeleteTeamDiscussion */ export type DeleteTeamDiscussionInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The discussion ID to delete. */ - id: Scalars['ID']; + id: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteTeamDiscussion */ export type DeleteTeamDiscussionPayload = { __typename?: 'DeleteTeamDiscussionPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; }; /** Autogenerated input type of DeleteVerifiableDomain */ export type DeleteVerifiableDomainInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the verifiable domain to delete. */ - id: Scalars['ID']; + id: Scalars['ID']['input']; }; /** Autogenerated return type of DeleteVerifiableDomain */ export type DeleteVerifiableDomainPayload = { __typename?: 'DeleteVerifiableDomainPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The owning account from which the domain was deleted. */ owner?: Maybe; }; @@ -4342,10 +4646,10 @@ export type DemilestonedEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** Identifies the milestone title associated with the 'demilestoned' event. */ - milestoneTitle: Scalars['String']; + milestoneTitle: Scalars['String']['output']; /** Object referenced by event. */ subject: MilestoneItem; }; @@ -4365,11 +4669,11 @@ export type DependabotUpdate = RepositoryNode & { export type DependabotUpdateError = { __typename?: 'DependabotUpdateError'; /** The body of the error */ - body: Scalars['String']; + body: Scalars['String']['output']; /** The error code */ - errorType: Scalars['String']; + errorType: Scalars['String']['output']; /** The title of the error */ - title: Scalars['String']; + title: Scalars['String']['output']; }; /** The possible ecosystems of a dependency graph package. */ @@ -4400,16 +4704,16 @@ export enum DependencyGraphEcosystem { export type DeployKey = Node & { __typename?: 'DeployKey'; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** The deploy key. */ - key: Scalars['String']; + key: Scalars['String']['output']; /** Whether or not the deploy key is read only. */ - readOnly: Scalars['Boolean']; + readOnly: Scalars['Boolean']['output']; /** The deploy key title. */ - title: Scalars['String']; + title: Scalars['String']['output']; /** Whether or not the deploy key has been verified. */ - verified: Scalars['Boolean']; + verified: Scalars['Boolean']['output']; }; /** The connection type for DeployKey. */ @@ -4422,14 +4726,14 @@ export type DeployKeyConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DeployKeyEdge = { __typename?: 'DeployKeyEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -4440,12 +4744,12 @@ export type DeployedEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The deployment associated with the 'deployed' event. */ deployment: Deployment; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; /** The ref associated with the 'deployed' event. */ @@ -4458,26 +4762,26 @@ export type Deployment = Node & { /** Identifies the commit sha of the deployment. */ commit?: Maybe; /** Identifies the oid of the deployment commit, even if the commit has been deleted. */ - commitOid: Scalars['String']; + commitOid: Scalars['String']['output']; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the actor who triggered the deployment. */ creator: Actor; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The deployment description. */ - description?: Maybe; + description?: Maybe; /** The latest environment to which this deployment was made. */ - environment?: Maybe; - id: Scalars['ID']; + environment?: Maybe; + id: Scalars['ID']['output']; /** The latest environment to which this deployment was made. */ - latestEnvironment?: Maybe; + latestEnvironment?: Maybe; /** The latest status of this deployment. */ latestStatus?: Maybe; /** The original environment to which this deployment was made. */ - originalEnvironment?: Maybe; + originalEnvironment?: Maybe; /** Extra information that a deployment system might need. */ - payload?: Maybe; + payload?: Maybe; /** Identifies the Ref of the deployment, if the deployment was created by ref. */ ref?: Maybe; /** Identifies the repository associated with the deployment. */ @@ -4487,18 +4791,18 @@ export type Deployment = Node & { /** A list of statuses associated with the deployment. */ statuses?: Maybe; /** The deployment task. */ - task?: Maybe; + task?: Maybe; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; }; /** Represents triggered deployment instance. */ export type DeploymentStatusesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for Deployment. */ @@ -4511,14 +4815,14 @@ export type DeploymentConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DeploymentEdge = { __typename?: 'DeploymentEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -4529,10 +4833,10 @@ export type DeploymentEnvironmentChangedEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The deployment status that updated the deployment environment. */ deploymentStatus: DeploymentStatus; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; }; @@ -4555,11 +4859,11 @@ export enum DeploymentOrderField { export type DeploymentProtectionRule = { __typename?: 'DeploymentProtectionRule'; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The teams or users that can review the deployment */ reviewers: DeploymentReviewerConnection; /** The timeout in minutes for this protection rule. */ - timeout: Scalars['Int']; + timeout: Scalars['Int']['output']; /** The type of protection rule. */ type: DeploymentProtectionRuleType; }; @@ -4567,10 +4871,10 @@ export type DeploymentProtectionRule = { /** A protection rule. */ export type DeploymentProtectionRuleReviewersArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for DeploymentProtectionRule. */ @@ -4583,14 +4887,14 @@ export type DeploymentProtectionRuleConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DeploymentProtectionRuleEdge = { __typename?: 'DeploymentProtectionRuleEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -4607,24 +4911,24 @@ export enum DeploymentProtectionRuleType { export type DeploymentRequest = { __typename?: 'DeploymentRequest'; /** Whether or not the current user can approve the deployment */ - currentUserCanApprove: Scalars['Boolean']; + currentUserCanApprove: Scalars['Boolean']['output']; /** The target environment of the deployment */ environment: Environment; /** The teams or users that can review the deployment */ reviewers: DeploymentReviewerConnection; /** The wait timer in minutes configured in the environment */ - waitTimer: Scalars['Int']; + waitTimer: Scalars['Int']['output']; /** The wait timer in minutes configured in the environment */ - waitTimerStartedAt?: Maybe; + waitTimerStartedAt?: Maybe; }; /** A request to deploy a workflow run to an environment. */ export type DeploymentRequestReviewersArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for DeploymentRequest. */ @@ -4637,14 +4941,14 @@ export type DeploymentRequestConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DeploymentRequestEdge = { __typename?: 'DeploymentRequestEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -4653,12 +4957,12 @@ export type DeploymentRequestEdge = { export type DeploymentReview = Node & { __typename?: 'DeploymentReview'; /** The comment the user left. */ - comment: Scalars['String']; + comment: Scalars['String']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The environments approved or rejected */ environments: EnvironmentConnection; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** The decision of the user. */ state: DeploymentReviewState; /** The user that reviewed the deployment. */ @@ -4668,10 +4972,10 @@ export type DeploymentReview = Node & { /** A deployment review. */ export type DeploymentReviewEnvironmentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for DeploymentReview. */ @@ -4684,14 +4988,14 @@ export type DeploymentReviewConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DeploymentReviewEdge = { __typename?: 'DeploymentReviewEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -4717,14 +5021,14 @@ export type DeploymentReviewerConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DeploymentReviewerEdge = { __typename?: 'DeploymentReviewerEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -4749,6 +5053,8 @@ export enum DeploymentState { Pending = 'PENDING', /** The deployment has queued */ Queued = 'QUEUED', + /** The deployment was successful. */ + Success = 'SUCCESS', /** The deployment is waiting. */ Waiting = 'WAITING' } @@ -4757,22 +5063,22 @@ export enum DeploymentState { export type DeploymentStatus = Node & { __typename?: 'DeploymentStatus'; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the actor who triggered the deployment. */ creator: Actor; /** Identifies the deployment associated with status. */ deployment: Deployment; /** Identifies the description of the deployment. */ - description?: Maybe; + description?: Maybe; /** Identifies the environment URL of the deployment. */ - environmentUrl?: Maybe; - id: Scalars['ID']; + environmentUrl?: Maybe; + id: Scalars['ID']['output']; /** Identifies the log URL of the deployment. */ - logUrl?: Maybe; + logUrl?: Maybe; /** Identifies the current state of the deployment. */ state: DeploymentStatusState; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; }; /** The connection type for DeploymentStatus. */ @@ -4785,14 +5091,14 @@ export type DeploymentStatusConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DeploymentStatusEdge = { __typename?: 'DeploymentStatusEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -4817,6 +5123,23 @@ export enum DeploymentStatusState { Waiting = 'WAITING' } +/** Autogenerated input type of DequeuePullRequest */ +export type DequeuePullRequestInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the pull request to be dequeued. */ + id: Scalars['ID']['input']; +}; + +/** Autogenerated return type of DequeuePullRequest */ +export type DequeuePullRequestPayload = { + __typename?: 'DequeuePullRequestPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The merge queue entry of the dequeued pull request. */ + mergeQueueEntry?: Maybe; +}; + /** The possible sides of a diff. */ export enum DiffSide { /** The left side of the diff. */ @@ -4828,9 +5151,9 @@ export enum DiffSide { /** Autogenerated input type of DisablePullRequestAutoMerge */ export type DisablePullRequestAutoMergeInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** ID of the pull request to disable auto merge on. */ - pullRequestId: Scalars['ID']; + pullRequestId: Scalars['ID']['input']; }; /** Autogenerated return type of DisablePullRequestAutoMerge */ @@ -4839,7 +5162,7 @@ export type DisablePullRequestAutoMergePayload = { /** Identifies the actor who performed the event. */ actor?: Maybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The pull request auto merge was disabled on. */ pullRequest?: Maybe; }; @@ -4850,10 +5173,10 @@ export type DisconnectedEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** Reference originated in a different repository. */ - isCrossRepository: Scalars['Boolean']; + isCrossRepository: Scalars['Boolean']['output']; /** Issue or pull request from which the issue was disconnected. */ source: ReferencedSubject; /** Issue or pull request which was disconnected. */ @@ -4868,7 +5191,7 @@ export type Discussion = Closable & Comment & Deletable & Labelable & Lockable & /** The comment chosen as this discussion's answer, if any. */ answer?: Maybe; /** The time when a user chose this discussion's answer, if answered. */ - answerChosenAt?: Maybe; + answerChosenAt?: Maybe; /** The user who chose this discussion's answer, if answered. */ answerChosenBy?: Maybe; /** The actor who authored the comment. */ @@ -4876,42 +5199,42 @@ export type Discussion = Closable & Comment & Deletable & Labelable & Lockable & /** Author's association with the subject of the comment. */ authorAssociation: CommentAuthorAssociation; /** The main text of the discussion post. */ - body: Scalars['String']; + body: Scalars['String']['output']; /** The body rendered to HTML. */ - bodyHTML: Scalars['HTML']; + bodyHTML: Scalars['HTML']['output']; /** The body rendered to text. */ - bodyText: Scalars['String']; + bodyText: Scalars['String']['output']; /** The category for this discussion. */ category: DiscussionCategory; /** Indicates if the object is closed (definition of closed may depend on type) */ - closed: Scalars['Boolean']; + closed: Scalars['Boolean']['output']; /** Identifies the date and time when the object was closed. */ - closedAt?: Maybe; + closedAt?: Maybe; /** The replies to the discussion. */ comments: DiscussionCommentConnection; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Check if this comment was created via an email reply. */ - createdViaEmail: Scalars['Boolean']; + createdViaEmail: Scalars['Boolean']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The actor who edited the comment. */ editor?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** Check if this comment was edited and includes an edit with the creation data */ - includesCreatedEdit: Scalars['Boolean']; + includesCreatedEdit: Scalars['Boolean']['output']; /** A list of labels associated with the object. */ labels?: Maybe; /** The moment the editor made the last edit */ - lastEditedAt?: Maybe; + lastEditedAt?: Maybe; /** `true` if the object is locked */ - locked: Scalars['Boolean']; + locked: Scalars['Boolean']['output']; /** The number identifying this discussion within the repository. */ - number: Scalars['Int']; + number: Scalars['Int']['output']; /** The poll associated with this discussion, if one exists. */ poll?: Maybe; /** Identifies when the comment was published at. */ - publishedAt?: Maybe; + publishedAt?: Maybe; /** A list of reactions grouped by content left on the subject. */ reactionGroups?: Maybe>; /** A list of Reactions left on the Issue. */ @@ -4919,31 +5242,37 @@ export type Discussion = Closable & Comment & Deletable & Labelable & Lockable & /** The repository associated with this node. */ repository: Repository; /** The path for this discussion. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; + /** Identifies the reason for the discussion's state. */ + stateReason?: Maybe; /** The title of this discussion. */ - title: Scalars['String']; + title: Scalars['String']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** Number of upvotes that this subject has received. */ - upvoteCount: Scalars['Int']; + upvoteCount: Scalars['Int']['output']; /** The URL for this discussion. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** A list of edits to this content. */ userContentEdits?: Maybe; + /** Indicates if the object can be closed by the viewer. */ + viewerCanClose: Scalars['Boolean']['output']; /** Check if the current viewer can delete this object. */ - viewerCanDelete: Scalars['Boolean']; + viewerCanDelete: Scalars['Boolean']['output']; /** Can user react to this subject */ - viewerCanReact: Scalars['Boolean']; + viewerCanReact: Scalars['Boolean']['output']; + /** Indicates if the object can be reopened by the viewer. */ + viewerCanReopen: Scalars['Boolean']['output']; /** Check if the viewer is able to change their subscription status for the repository. */ - viewerCanSubscribe: Scalars['Boolean']; + viewerCanSubscribe: Scalars['Boolean']['output']; /** Check if the current viewer can update this object. */ - viewerCanUpdate: Scalars['Boolean']; + viewerCanUpdate: Scalars['Boolean']['output']; /** Whether or not the current user can add or remove an upvote on this subject. */ - viewerCanUpvote: Scalars['Boolean']; + viewerCanUpvote: Scalars['Boolean']['output']; /** Did the viewer author this comment. */ - viewerDidAuthor: Scalars['Boolean']; + viewerDidAuthor: Scalars['Boolean']['output']; /** Whether or not the current user has already upvoted this subject. */ - viewerHasUpvoted: Scalars['Boolean']; + viewerHasUpvoted: Scalars['Boolean']['output']; /** Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. */ viewerSubscription?: Maybe; }; @@ -4951,64 +5280,64 @@ export type Discussion = Closable & Comment & Deletable & Labelable & Lockable & /** A discussion in a repository. */ export type DiscussionCommentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A discussion in a repository. */ export type DiscussionLabelsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** A discussion in a repository. */ export type DiscussionReactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; content?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** A discussion in a repository. */ export type DiscussionUserContentEditsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A category for discussions in a repository. */ export type DiscussionCategory = Node & RepositoryNode & { __typename?: 'DiscussionCategory'; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** A description of this category. */ - description?: Maybe; + description?: Maybe; /** An emoji representing this category. */ - emoji: Scalars['String']; + emoji: Scalars['String']['output']; /** This category's emoji rendered as HTML. */ - emojiHTML: Scalars['HTML']; - id: Scalars['ID']; + emojiHTML: Scalars['HTML']['output']; + id: Scalars['ID']['output']; /** Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation. */ - isAnswerable: Scalars['Boolean']; + isAnswerable: Scalars['Boolean']['output']; /** The name of this category. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** The repository associated with this node. */ repository: Repository; /** The slug of this category. */ - slug: Scalars['String']; + slug: Scalars['String']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; }; /** The connection type for DiscussionCategory. */ @@ -5021,18 +5350,28 @@ export type DiscussionCategoryConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DiscussionCategoryEdge = { __typename?: 'DiscussionCategoryEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; +/** The possible reasons for closing a discussion. */ +export enum DiscussionCloseReason { + /** The discussion is a duplicate of another */ + Duplicate = 'DUPLICATE', + /** The discussion is no longer relevant */ + Outdated = 'OUTDATED', + /** The discussion has been resolved */ + Resolved = 'RESOLVED' +} + /** A comment on a discussion. */ export type DiscussionComment = Comment & Deletable & Minimizable & Node & Reactable & Updatable & UpdatableComment & Votable & { __typename?: 'DiscussionComment'; @@ -5041,36 +5380,36 @@ export type DiscussionComment = Comment & Deletable & Minimizable & Node & React /** Author's association with the subject of the comment. */ authorAssociation: CommentAuthorAssociation; /** The body as Markdown. */ - body: Scalars['String']; + body: Scalars['String']['output']; /** The body rendered to HTML. */ - bodyHTML: Scalars['HTML']; + bodyHTML: Scalars['HTML']['output']; /** The body rendered to text. */ - bodyText: Scalars['String']; + bodyText: Scalars['String']['output']; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Check if this comment was created via an email reply. */ - createdViaEmail: Scalars['Boolean']; + createdViaEmail: Scalars['Boolean']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The time when this replied-to comment was deleted */ - deletedAt?: Maybe; + deletedAt?: Maybe; /** The discussion this comment was created in */ discussion?: Maybe; /** The actor who edited the comment. */ editor?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** Check if this comment was edited and includes an edit with the creation data */ - includesCreatedEdit: Scalars['Boolean']; + includesCreatedEdit: Scalars['Boolean']['output']; /** Has this comment been chosen as the answer of its discussion? */ - isAnswer: Scalars['Boolean']; + isAnswer: Scalars['Boolean']['output']; /** Returns whether or not a comment has been minimized. */ - isMinimized: Scalars['Boolean']; + isMinimized: Scalars['Boolean']['output']; /** The moment the editor made the last edit */ - lastEditedAt?: Maybe; + lastEditedAt?: Maybe; /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ - minimizedReason?: Maybe; + minimizedReason?: Maybe; /** Identifies when the comment was published at. */ - publishedAt?: Maybe; + publishedAt?: Maybe; /** A list of reactions grouped by content left on the subject. */ reactionGroups?: Maybe>; /** A list of Reactions left on the Issue. */ @@ -5080,64 +5419,64 @@ export type DiscussionComment = Comment & Deletable & Minimizable & Node & React /** The discussion comment this comment is a reply to */ replyTo?: Maybe; /** The path for this discussion comment. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** Number of upvotes that this subject has received. */ - upvoteCount: Scalars['Int']; + upvoteCount: Scalars['Int']['output']; /** The URL for this discussion comment. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** A list of edits to this content. */ userContentEdits?: Maybe; /** Check if the current viewer can delete this object. */ - viewerCanDelete: Scalars['Boolean']; + viewerCanDelete: Scalars['Boolean']['output']; /** Can the current user mark this comment as an answer? */ - viewerCanMarkAsAnswer: Scalars['Boolean']; + viewerCanMarkAsAnswer: Scalars['Boolean']['output']; /** Check if the current viewer can minimize this object. */ - viewerCanMinimize: Scalars['Boolean']; + viewerCanMinimize: Scalars['Boolean']['output']; /** Can user react to this subject */ - viewerCanReact: Scalars['Boolean']; + viewerCanReact: Scalars['Boolean']['output']; /** Can the current user unmark this comment as an answer? */ - viewerCanUnmarkAsAnswer: Scalars['Boolean']; + viewerCanUnmarkAsAnswer: Scalars['Boolean']['output']; /** Check if the current viewer can update this object. */ - viewerCanUpdate: Scalars['Boolean']; + viewerCanUpdate: Scalars['Boolean']['output']; /** Whether or not the current user can add or remove an upvote on this subject. */ - viewerCanUpvote: Scalars['Boolean']; + viewerCanUpvote: Scalars['Boolean']['output']; /** Reasons why the current viewer can not update this comment. */ viewerCannotUpdateReasons: Array; /** Did the viewer author this comment. */ - viewerDidAuthor: Scalars['Boolean']; + viewerDidAuthor: Scalars['Boolean']['output']; /** Whether or not the current user has already upvoted this subject. */ - viewerHasUpvoted: Scalars['Boolean']; + viewerHasUpvoted: Scalars['Boolean']['output']; }; /** A comment on a discussion. */ export type DiscussionCommentReactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; content?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** A comment on a discussion. */ export type DiscussionCommentRepliesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A comment on a discussion. */ export type DiscussionCommentUserContentEditsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for DiscussionComment. */ @@ -5150,14 +5489,14 @@ export type DiscussionCommentConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DiscussionCommentEdge = { __typename?: 'DiscussionCommentEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -5172,14 +5511,14 @@ export type DiscussionConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DiscussionEdge = { __typename?: 'DiscussionEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -5205,41 +5544,41 @@ export type DiscussionPoll = Node & { __typename?: 'DiscussionPoll'; /** The discussion that this poll belongs to. */ discussion?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** The options for this poll. */ options?: Maybe; /** The question that is being asked by this poll. */ - question: Scalars['String']; + question: Scalars['String']['output']; /** The total number of votes that have been cast for this poll. */ - totalVoteCount: Scalars['Int']; + totalVoteCount: Scalars['Int']['output']; /** Indicates if the viewer has permission to vote in this poll. */ - viewerCanVote: Scalars['Boolean']; + viewerCanVote: Scalars['Boolean']['output']; /** Indicates if the viewer has voted for any option in this poll. */ - viewerHasVoted: Scalars['Boolean']; + viewerHasVoted: Scalars['Boolean']['output']; }; /** A poll for a discussion. */ export type DiscussionPollOptionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** An option for a discussion poll. */ export type DiscussionPollOption = Node & { __typename?: 'DiscussionPollOption'; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** The text for this option. */ - option: Scalars['String']; + option: Scalars['String']['output']; /** The discussion poll that this option belongs to. */ poll?: Maybe; /** The total number of votes that have been cast for this option. */ - totalVoteCount: Scalars['Int']; + totalVoteCount: Scalars['Int']['output']; /** Indicates if the viewer has voted for this option in the poll. */ - viewerHasVoted: Scalars['Boolean']; + viewerHasVoted: Scalars['Boolean']['output']; }; /** The connection type for DiscussionPollOption. */ @@ -5252,14 +5591,14 @@ export type DiscussionPollOptionConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type DiscussionPollOptionEdge = { __typename?: 'DiscussionPollOptionEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -5280,21 +5619,41 @@ export enum DiscussionPollOptionOrderField { VoteCount = 'VOTE_COUNT' } +/** The possible states of a discussion. */ +export enum DiscussionState { + /** A discussion that has been closed */ + Closed = 'CLOSED', + /** A discussion that is open */ + Open = 'OPEN' +} + +/** The possible state reasons of a discussion. */ +export enum DiscussionStateReason { + /** The discussion is a duplicate of another */ + Duplicate = 'DUPLICATE', + /** The discussion is no longer relevant */ + Outdated = 'OUTDATED', + /** The discussion was reopened */ + Reopened = 'REOPENED', + /** The discussion has been resolved */ + Resolved = 'RESOLVED' +} + /** Autogenerated input type of DismissPullRequestReview */ export type DismissPullRequestReviewInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The contents of the pull request review dismissal message. */ - message: Scalars['String']; + message: Scalars['String']['input']; /** The Node ID of the pull request review to modify. */ - pullRequestReviewId: Scalars['ID']; + pullRequestReviewId: Scalars['ID']['input']; }; /** Autogenerated return type of DismissPullRequestReview */ export type DismissPullRequestReviewPayload = { __typename?: 'DismissPullRequestReviewPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The dismissed pull request review. */ pullRequestReview?: Maybe; }; @@ -5316,18 +5675,18 @@ export enum DismissReason { /** Autogenerated input type of DismissRepositoryVulnerabilityAlert */ export type DismissRepositoryVulnerabilityAlertInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The reason the Dependabot alert is being dismissed. */ dismissReason: DismissReason; /** The Dependabot alert ID to dismiss. */ - repositoryVulnerabilityAlertId: Scalars['ID']; + repositoryVulnerabilityAlertId: Scalars['ID']['input']; }; /** Autogenerated return type of DismissRepositoryVulnerabilityAlert */ export type DismissRepositoryVulnerabilityAlertPayload = { __typename?: 'DismissRepositoryVulnerabilityAlertPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The Dependabot alert that was dismissed */ repositoryVulnerabilityAlert?: Maybe; }; @@ -5338,75 +5697,75 @@ export type DraftIssue = Node & { /** A list of users to assigned to this draft issue. */ assignees: UserConnection; /** The body of the draft issue. */ - body: Scalars['String']; + body: Scalars['String']['output']; /** The body of the draft issue rendered to HTML. */ - bodyHTML: Scalars['HTML']; + bodyHTML: Scalars['HTML']['output']; /** The body of the draft issue rendered to text. */ - bodyText: Scalars['String']; + bodyText: Scalars['String']['output']; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The actor who created this draft issue. */ creator?: Maybe; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** List of items linked with the draft issue (currently draft issue can be linked to only one item). */ projectV2Items: ProjectV2ItemConnection; /** Projects that link to this draft issue (currently draft issue can be linked to only one project). */ projectsV2: ProjectV2Connection; /** The title of the draft issue */ - title: Scalars['String']; + title: Scalars['String']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; }; /** A draft issue within a project. */ export type DraftIssueAssigneesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A draft issue within a project. */ export type DraftIssueProjectV2ItemsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A draft issue within a project. */ export type DraftIssueProjectsV2Args = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** Specifies a review comment to be left with a Pull Request Review. */ export type DraftPullRequestReviewComment = { /** Body of the comment to leave. */ - body: Scalars['String']; + body: Scalars['String']['input']; /** Path to the file being commented on. */ - path: Scalars['String']; + path: Scalars['String']['input']; /** Position in the file to leave a comment on. */ - position: Scalars['Int']; + position: Scalars['Int']['input']; }; /** Specifies a review comment thread to be left with a Pull Request Review. */ export type DraftPullRequestReviewThread = { /** Body of the comment to leave. */ - body: Scalars['String']; + body: Scalars['String']['input']; /** The line of the blob to which the thread refers. The end of the line range for multi-line comments. */ - line: Scalars['Int']; + line: Scalars['Int']['input']; /** Path to the file being commented on. */ - path: Scalars['String']; + path: Scalars['String']['input']; /** The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. */ side?: InputMaybe; /** The first line of the range to which the comment refers. */ - startLine?: InputMaybe; + startLine?: InputMaybe; /** The side of the diff on which the start line resides. */ startSide?: InputMaybe; }; @@ -5414,19 +5773,19 @@ export type DraftPullRequestReviewThread = { /** Autogenerated input type of EnablePullRequestAutoMerge */ export type EnablePullRequestAutoMergeInput = { /** The email address to associate with this merge. */ - authorEmail?: InputMaybe; + authorEmail?: InputMaybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit message is ignored. */ - commitBody?: InputMaybe; + commitBody?: InputMaybe; /** Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit headline is ignored. */ - commitHeadline?: InputMaybe; + commitHeadline?: InputMaybe; /** The expected head OID of the pull request. */ - expectedHeadOid?: InputMaybe; + expectedHeadOid?: InputMaybe; /** The merge method to use. If omitted, defaults to `MERGE`. NOTE: when merging with a merge queue any input value for merge method is ignored. */ mergeMethod?: InputMaybe; /** ID of the pull request to enable auto-merge on. */ - pullRequestId: Scalars['ID']; + pullRequestId: Scalars['ID']['input']; }; /** Autogenerated return type of EnablePullRequestAutoMerge */ @@ -5435,85 +5794,106 @@ export type EnablePullRequestAutoMergePayload = { /** Identifies the actor who performed the event. */ actor?: Maybe; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The pull request auto-merge was enabled on. */ pullRequest?: Maybe; }; +/** Autogenerated input type of EnqueuePullRequest */ +export type EnqueuePullRequestInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The expected head OID of the pull request. */ + expectedHeadOid?: InputMaybe; + /** Add the pull request to the front of the queue. */ + jump?: InputMaybe; + /** The ID of the pull request to enqueue. */ + pullRequestId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of EnqueuePullRequest */ +export type EnqueuePullRequestPayload = { + __typename?: 'EnqueuePullRequestPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The merge queue entry for the enqueued pull request. */ + mergeQueueEntry?: Maybe; +}; + /** An account to manage multiple organizations with consolidated policy and billing. */ export type Enterprise = AnnouncementBanner & Node & { __typename?: 'Enterprise'; /** The text of the announcement */ - announcement?: Maybe; + announcement?: Maybe; /** The expiration date of the announcement, if any */ - announcementExpiresAt?: Maybe; + announcementExpiresAt?: Maybe; /** Whether the announcement can be dismissed by the user */ - announcementUserDismissible?: Maybe; + announcementUserDismissible?: Maybe; /** A URL pointing to the enterprise's public avatar. */ - avatarUrl: Scalars['URI']; + avatarUrl: Scalars['URI']['output']; /** Enterprise billing information visible to enterprise billing managers. */ billingInfo?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The description of the enterprise. */ - description?: Maybe; + description?: Maybe; /** The description of the enterprise as HTML. */ - descriptionHTML: Scalars['HTML']; - id: Scalars['ID']; + descriptionHTML: Scalars['HTML']['output']; + id: Scalars['ID']['output']; /** The location of the enterprise. */ - location?: Maybe; + location?: Maybe; /** A list of users who are members of this enterprise. */ members: EnterpriseMemberConnection; /** The name of the enterprise. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** A list of organizations that belong to this enterprise. */ organizations: OrganizationConnection; - /** Enterprise information only visible to enterprise owners. */ + /** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ ownerInfo?: Maybe; /** The HTTP path for this enterprise. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The URL-friendly identifier for the enterprise. */ - slug: Scalars['String']; + slug: Scalars['String']['output']; /** The HTTP URL for this enterprise. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** Is the current viewer an admin of this enterprise? */ - viewerIsAdmin: Scalars['Boolean']; + viewerIsAdmin: Scalars['Boolean']['output']; /** The URL of the enterprise website. */ - websiteUrl?: Maybe; + websiteUrl?: Maybe; }; /** An account to manage multiple organizations with consolidated policy and billing. */ export type EnterpriseAvatarUrlArgs = { - size?: InputMaybe; + size?: InputMaybe; }; /** An account to manage multiple organizations with consolidated policy and billing. */ export type EnterpriseMembersArgs = { - after?: InputMaybe; - before?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; deployment?: InputMaybe; - first?: InputMaybe; - hasTwoFactorEnabled?: InputMaybe; - last?: InputMaybe; + first?: InputMaybe; + hasTwoFactorEnabled?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - organizationLogins?: InputMaybe>; - query?: InputMaybe; + organizationLogins?: InputMaybe>; + query?: InputMaybe; role?: InputMaybe; }; /** An account to manage multiple organizations with consolidated policy and billing. */ export type EnterpriseOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - query?: InputMaybe; + query?: InputMaybe; viewerOrganizationRole?: InputMaybe; }; @@ -5527,14 +5907,14 @@ export type EnterpriseAdministratorConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** A User who is an administrator of an enterprise. */ export type EnterpriseAdministratorEdge = { __typename?: 'EnterpriseAdministratorEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; /** The role of the administrator. */ @@ -5545,12 +5925,12 @@ export type EnterpriseAdministratorEdge = { export type EnterpriseAdministratorInvitation = Node & { __typename?: 'EnterpriseAdministratorInvitation'; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The email of the person who was invited to the enterprise. */ - email?: Maybe; + email?: Maybe; /** The enterprise the invitation is for. */ enterprise: Enterprise; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** The user who was invited to the enterprise. */ invitee?: Maybe; /** The user who created the invitation. */ @@ -5569,14 +5949,14 @@ export type EnterpriseAdministratorInvitationConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type EnterpriseAdministratorInvitationEdge = { __typename?: 'EnterpriseAdministratorInvitationEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -5622,36 +6002,36 @@ export enum EnterpriseAllowPrivateRepositoryForkingPolicyValue { /** Metadata for an audit entry containing enterprise account information. */ export type EnterpriseAuditEntryData = { /** The HTTP path for this enterprise. */ - enterpriseResourcePath?: Maybe; + enterpriseResourcePath?: Maybe; /** The slug of the enterprise. */ - enterpriseSlug?: Maybe; + enterpriseSlug?: Maybe; /** The HTTP URL for this enterprise. */ - enterpriseUrl?: Maybe; + enterpriseUrl?: Maybe; }; /** Enterprise billing information visible to enterprise billing managers and owners. */ export type EnterpriseBillingInfo = { __typename?: 'EnterpriseBillingInfo'; /** The number of licenseable users/emails across the enterprise. */ - allLicensableUsersCount: Scalars['Int']; + allLicensableUsersCount: Scalars['Int']['output']; /** The number of data packs used by all organizations owned by the enterprise. */ - assetPacks: Scalars['Int']; + assetPacks: Scalars['Int']['output']; /** The bandwidth quota in GB for all organizations owned by the enterprise. */ - bandwidthQuota: Scalars['Float']; + bandwidthQuota: Scalars['Float']['output']; /** The bandwidth usage in GB for all organizations owned by the enterprise. */ - bandwidthUsage: Scalars['Float']; + bandwidthUsage: Scalars['Float']['output']; /** The bandwidth usage as a percentage of the bandwidth quota. */ - bandwidthUsagePercentage: Scalars['Int']; + bandwidthUsagePercentage: Scalars['Int']['output']; /** The storage quota in GB for all organizations owned by the enterprise. */ - storageQuota: Scalars['Float']; + storageQuota: Scalars['Float']['output']; /** The storage usage in GB for all organizations owned by the enterprise. */ - storageUsage: Scalars['Float']; + storageUsage: Scalars['Float']['output']; /** The storage usage as a percentage of the storage quota. */ - storageUsagePercentage: Scalars['Int']; + storageUsagePercentage: Scalars['Int']['output']; /** The number of available licenses across all owned organizations based on the unique number of billable users. */ - totalAvailableLicenses: Scalars['Int']; + totalAvailableLicenses: Scalars['Int']['output']; /** The total number of licenses allocated. */ - totalLicenses: Scalars['Int']; + totalLicenses: Scalars['Int']['output']; }; /** The possible values for the enterprise base repository permission setting. */ @@ -5696,21 +6076,21 @@ export type EnterpriseFailedInvitationConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; /** Identifies the total count of unique users in the connection. */ - totalUniqueUserCount: Scalars['Int']; + totalUniqueUserCount: Scalars['Int']['output']; }; /** A failed invitation to be a member in an enterprise organization. */ export type EnterpriseFailedInvitationEdge = { __typename?: 'EnterpriseFailedInvitationEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; -/** An identity provider configured to provision identities for an enterprise. */ +/** An identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseIdentityProvider = Node & { __typename?: 'EnterpriseIdentityProvider'; /** The digest algorithm used to sign SAML requests for the identity provider. */ @@ -5719,29 +6099,29 @@ export type EnterpriseIdentityProvider = Node & { enterprise?: Maybe; /** ExternalIdentities provisioned by this identity provider. */ externalIdentities: ExternalIdentityConnection; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** The x509 certificate used by the identity provider to sign assertions and responses. */ - idpCertificate?: Maybe; + idpCertificate?: Maybe; /** The Issuer Entity ID for the SAML identity provider. */ - issuer?: Maybe; + issuer?: Maybe; /** Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable. */ - recoveryCodes?: Maybe>; + recoveryCodes?: Maybe>; /** The signature algorithm used to sign SAML requests for the identity provider. */ signatureMethod?: Maybe; /** The URL endpoint for the identity provider's SAML SSO. */ - ssoUrl?: Maybe; + ssoUrl?: Maybe; }; -/** An identity provider configured to provision identities for an enterprise. */ +/** An identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseIdentityProviderExternalIdentitiesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - login?: InputMaybe; - membersOnly?: InputMaybe; - userName?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + login?: InputMaybe; + membersOnly?: InputMaybe; + userName?: InputMaybe; }; /** An object that is a member of an enterprise. */ @@ -5757,14 +6137,14 @@ export type EnterpriseMemberConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** A User who is a member of an enterprise through one or more organizations. */ export type EnterpriseMemberEdge = { __typename?: 'EnterpriseMemberEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -5817,14 +6197,14 @@ export type EnterpriseOrganizationMembershipConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An enterprise organization that a user is a member of. */ export type EnterpriseOrganizationMembershipEdge = { __typename?: 'EnterpriseOrganizationMembershipEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; /** The role of the user in the enterprise membership. */ @@ -5841,14 +6221,14 @@ export type EnterpriseOutsideCollaboratorConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** A User who is an outside collaborator of an enterprise through one or more organizations. */ export type EnterpriseOutsideCollaboratorEdge = { __typename?: 'EnterpriseOutsideCollaboratorEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; /** The enterprise organization repositories this user is a member of. */ @@ -5858,14 +6238,14 @@ export type EnterpriseOutsideCollaboratorEdge = { /** A User who is an outside collaborator of an enterprise through one or more organizations. */ export type EnterpriseOutsideCollaboratorEdgeRepositoriesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfo = { __typename?: 'EnterpriseOwnerInfo'; /** A list of all of the administrators for this enterprise. */ @@ -5873,7 +6253,7 @@ export type EnterpriseOwnerInfo = { /** A list of users in the enterprise who currently have two-factor authentication disabled. */ affiliatedUsersWithTwoFactorDisabled: UserConnection; /** Whether or not affiliated users with two-factor authentication disabled exist in the enterprise. */ - affiliatedUsersWithTwoFactorDisabledExist: Scalars['Boolean']; + affiliatedUsersWithTwoFactorDisabledExist: Scalars['Boolean']['output']; /** The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise. */ allowPrivateRepositoryForkingSetting: EnterpriseEnabledDisabledSettingValue; /** A list of enterprise organizations configured with the provided private repository forking setting value. */ @@ -5884,7 +6264,7 @@ export type EnterpriseOwnerInfo = { defaultRepositoryPermissionSetting: EnterpriseDefaultRepositoryPermissionSettingValue; /** A list of enterprise organizations configured with the provided base repository permission. */ defaultRepositoryPermissionSettingOrganizations: OrganizationConnection; - /** A list of domains owned by the enterprise. */ + /** A list of domains owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope. */ domains: VerifiableDomainConnection; /** Enterprise Server installations owned by the enterprise. */ enterpriseServerInstallations: EnterpriseServerInstallationConnection; @@ -5892,24 +6272,24 @@ export type EnterpriseOwnerInfo = { failedInvitations: EnterpriseFailedInvitationConnection; /** The setting value for whether the enterprise has an IP allow list enabled. */ ipAllowListEnabledSetting: IpAllowListEnabledSettingValue; - /** The IP addresses that are allowed to access resources owned by the enterprise. */ + /** The IP addresses that are allowed to access resources owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope. */ ipAllowListEntries: IpAllowListEntryConnection; /** The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled. */ ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue; /** Whether or not the base repository permission is currently being updated. */ - isUpdatingDefaultRepositoryPermission: Scalars['Boolean']; + isUpdatingDefaultRepositoryPermission: Scalars['Boolean']['output']; /** Whether the two-factor authentication requirement is currently being enforced. */ - isUpdatingTwoFactorRequirement: Scalars['Boolean']; + isUpdatingTwoFactorRequirement: Scalars['Boolean']['output']; /** The setting value for whether organization members with admin permissions on a repository can change repository visibility. */ membersCanChangeRepositoryVisibilitySetting: EnterpriseEnabledDisabledSettingValue; /** A list of enterprise organizations configured with the provided can change repository visibility setting value. */ membersCanChangeRepositoryVisibilitySettingOrganizations: OrganizationConnection; /** The setting value for whether members of organizations in the enterprise can create internal repositories. */ - membersCanCreateInternalRepositoriesSetting?: Maybe; + membersCanCreateInternalRepositoriesSetting?: Maybe; /** The setting value for whether members of organizations in the enterprise can create private repositories. */ - membersCanCreatePrivateRepositoriesSetting?: Maybe; + membersCanCreatePrivateRepositoriesSetting?: Maybe; /** The setting value for whether members of organizations in the enterprise can create public repositories. */ - membersCanCreatePublicRepositoriesSetting?: Maybe; + membersCanCreatePublicRepositoriesSetting?: Maybe; /** The setting value for whether members of organizations in the enterprise can create repositories. */ membersCanCreateRepositoriesSetting?: Maybe; /** A list of enterprise organizations configured with the provided repository creation setting value. */ @@ -5956,7 +6336,7 @@ export type EnterpriseOwnerInfo = { repositoryProjectsSetting: EnterpriseEnabledDisabledSettingValue; /** A list of enterprise organizations configured with the provided repository projects setting value. */ repositoryProjectsSettingOrganizations: OrganizationConnection; - /** The SAML Identity Provider for the enterprise. When used by a GitHub App, requires an installation token with read and write access to members. */ + /** The SAML Identity Provider for the enterprise. */ samlIdentityProvider?: Maybe; /** A list of enterprise organizations configured with the SAML single sign-on setting value. */ samlIdentityProviderSettingOrganizations: OrganizationConnection; @@ -5973,283 +6353,283 @@ export type EnterpriseOwnerInfo = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoAdminsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - hasTwoFactorEnabled?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + hasTwoFactorEnabled?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - organizationLogins?: InputMaybe>; - query?: InputMaybe; + organizationLogins?: InputMaybe>; + query?: InputMaybe; role?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoAffiliatedUsersWithTwoFactorDisabledArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoAllowPrivateRepositoryForkingSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoDefaultRepositoryPermissionSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; value: DefaultRepositoryPermissionField; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoDomainsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - isApproved?: InputMaybe; - isVerified?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + isApproved?: InputMaybe; + isVerified?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoEnterpriseServerInstallationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - connectedOnly?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + connectedOnly?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoFailedInvitationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - query?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoIpAllowListEntriesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanChangeRepositoryVisibilitySettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanCreateRepositoriesSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; value: OrganizationMembersCanCreateRepositoriesSettingValue; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanDeleteIssuesSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanDeleteRepositoriesSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanInviteCollaboratorsSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanUpdateProtectedBranchesSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanViewDependencyInsightsSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoOrganizationProjectsSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoOutsideCollaboratorsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - hasTwoFactorEnabled?: InputMaybe; - last?: InputMaybe; - login?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + hasTwoFactorEnabled?: InputMaybe; + last?: InputMaybe; + login?: InputMaybe; orderBy?: InputMaybe; - organizationLogins?: InputMaybe>; - query?: InputMaybe; + organizationLogins?: InputMaybe>; + query?: InputMaybe; visibility?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoPendingAdminInvitationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - query?: InputMaybe; + query?: InputMaybe; role?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoPendingCollaboratorInvitationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - query?: InputMaybe; + query?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoPendingMemberInvitationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; invitationSource?: InputMaybe; - last?: InputMaybe; - organizationLogins?: InputMaybe>; - query?: InputMaybe; + last?: InputMaybe; + organizationLogins?: InputMaybe>; + query?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoRepositoryProjectsSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoSamlIdentityProviderSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; value: IdentityProviderConfigurationState; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoSupportEntitlementsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoTeamDiscussionsSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoTwoFactorRequiredSettingOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - value: Scalars['Boolean']; + value: Scalars['Boolean']['input']; }; /** The connection type for OrganizationInvitation. */ @@ -6262,16 +6642,16 @@ export type EnterprisePendingMemberInvitationConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; /** Identifies the total count of unique users in the connection. */ - totalUniqueUserCount: Scalars['Int']; + totalUniqueUserCount: Scalars['Int']['output']; }; /** An invitation to be a member in an enterprise organization. */ export type EnterprisePendingMemberInvitationEdge = { __typename?: 'EnterprisePendingMemberInvitationEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -6279,13 +6659,13 @@ export type EnterprisePendingMemberInvitationEdge = { /** A subset of repository information queryable from an enterprise. */ export type EnterpriseRepositoryInfo = Node & { __typename?: 'EnterpriseRepositoryInfo'; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** Identifies if the repository is private or internal. */ - isPrivate: Scalars['Boolean']; + isPrivate: Scalars['Boolean']['output']; /** The repository's name. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** The repository's name with owner. */ - nameWithOwner: Scalars['String']; + nameWithOwner: Scalars['String']['output']; }; /** The connection type for EnterpriseRepositoryInfo. */ @@ -6298,14 +6678,14 @@ export type EnterpriseRepositoryInfoConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type EnterpriseRepositoryInfoEdge = { __typename?: 'EnterpriseRepositoryInfoEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -6314,16 +6694,16 @@ export type EnterpriseRepositoryInfoEdge = { export type EnterpriseServerInstallation = Node & { __typename?: 'EnterpriseServerInstallation'; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The customer name to which the Enterprise Server installation belongs. */ - customerName: Scalars['String']; + customerName: Scalars['String']['output']; /** The host name of the Enterprise Server installation. */ - hostName: Scalars['String']; - id: Scalars['ID']; + hostName: Scalars['String']['output']; + id: Scalars['ID']['output']; /** Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect. */ - isConnected: Scalars['Boolean']; + isConnected: Scalars['Boolean']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** User accounts on this Enterprise Server installation. */ userAccounts: EnterpriseServerUserAccountConnection; /** User accounts uploads for the Enterprise Server installation. */ @@ -6333,20 +6713,20 @@ export type EnterpriseServerInstallation = Node & { /** An Enterprise Server installation. */ export type EnterpriseServerInstallationUserAccountsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** An Enterprise Server installation. */ export type EnterpriseServerInstallationUserAccountsUploadsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; @@ -6360,16 +6740,40 @@ export type EnterpriseServerInstallationConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type EnterpriseServerInstallationEdge = { __typename?: 'EnterpriseServerInstallationEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** The connection type for EnterpriseServerInstallation. */ +export type EnterpriseServerInstallationMembershipConnection = { + __typename?: 'EnterpriseServerInstallationMembershipConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An Enterprise Server installation that a user is a member of. */ +export type EnterpriseServerInstallationMembershipEdge = { + __typename?: 'EnterpriseServerInstallationMembershipEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; + /** The role of the user in the enterprise membership. */ + role: EnterpriseUserAccountMembershipRole; }; /** Ordering options for Enterprise Server installation connections. */ @@ -6394,33 +6798,33 @@ export enum EnterpriseServerInstallationOrderField { export type EnterpriseServerUserAccount = Node & { __typename?: 'EnterpriseServerUserAccount'; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** User emails belonging to this user account. */ emails: EnterpriseServerUserAccountEmailConnection; /** The Enterprise Server installation on which this user account exists. */ enterpriseServerInstallation: EnterpriseServerInstallation; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** Whether the user account is a site administrator on the Enterprise Server installation. */ - isSiteAdmin: Scalars['Boolean']; + isSiteAdmin: Scalars['Boolean']['output']; /** The login of the user account on the Enterprise Server installation. */ - login: Scalars['String']; + login: Scalars['String']['output']; /** The profile name of the user account on the Enterprise Server installation. */ - profileName?: Maybe; + profileName?: Maybe; /** The date and time when the user account was created on the Enterprise Server installation. */ - remoteCreatedAt: Scalars['DateTime']; + remoteCreatedAt: Scalars['DateTime']['output']; /** The ID of the user account on the Enterprise Server installation. */ - remoteUserId: Scalars['Int']; + remoteUserId: Scalars['Int']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; }; /** A user account on an Enterprise Server installation. */ export type EnterpriseServerUserAccountEmailsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; @@ -6434,14 +6838,14 @@ export type EnterpriseServerUserAccountConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type EnterpriseServerUserAccountEdge = { __typename?: 'EnterpriseServerUserAccountEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -6450,14 +6854,14 @@ export type EnterpriseServerUserAccountEdge = { export type EnterpriseServerUserAccountEmail = Node & { __typename?: 'EnterpriseServerUserAccountEmail'; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The email address. */ - email: Scalars['String']; - id: Scalars['ID']; + email: Scalars['String']['output']; + id: Scalars['ID']['output']; /** Indicates whether this is the primary email of the associated user account. */ - isPrimary: Scalars['Boolean']; + isPrimary: Scalars['Boolean']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** The user account to which the email belongs. */ userAccount: EnterpriseServerUserAccount; }; @@ -6472,14 +6876,14 @@ export type EnterpriseServerUserAccountEmailConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type EnterpriseServerUserAccountEmailEdge = { __typename?: 'EnterpriseServerUserAccountEmailEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -6518,18 +6922,18 @@ export enum EnterpriseServerUserAccountOrderField { export type EnterpriseServerUserAccountsUpload = Node & { __typename?: 'EnterpriseServerUserAccountsUpload'; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The enterprise to which this upload belongs. */ enterprise: Enterprise; /** The Enterprise Server installation for which this upload was generated. */ enterpriseServerInstallation: EnterpriseServerInstallation; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** The name of the file uploaded. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** The synchronization state of the upload */ syncState: EnterpriseServerUserAccountsUploadSyncState; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; }; /** The connection type for EnterpriseServerUserAccountsUpload. */ @@ -6542,14 +6946,14 @@ export type EnterpriseServerUserAccountsUploadConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type EnterpriseServerUserAccountsUploadEdge = { __typename?: 'EnterpriseServerUserAccountsUploadEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -6582,24 +6986,26 @@ export enum EnterpriseServerUserAccountsUploadSyncState { export type EnterpriseUserAccount = Actor & Node & { __typename?: 'EnterpriseUserAccount'; /** A URL pointing to the enterprise user account's public avatar. */ - avatarUrl: Scalars['URI']; + avatarUrl: Scalars['URI']['output']; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The enterprise in which this user account exists. */ enterprise: Enterprise; - id: Scalars['ID']; + /** A list of Enterprise Server installations this user is a member of. */ + enterpriseInstallations: EnterpriseServerInstallationMembershipConnection; + id: Scalars['ID']['output']; /** An identifier for the enterprise user account, a login or email address */ - login: Scalars['String']; + login: Scalars['String']['output']; /** The name of the enterprise user account */ - name?: Maybe; + name?: Maybe; /** A list of enterprise organizations this user is a member of. */ organizations: EnterpriseOrganizationMembershipConnection; /** The HTTP path for this user. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** The HTTP URL for this user. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** The user within the enterprise. */ user?: Maybe; }; @@ -6607,18 +7013,30 @@ export type EnterpriseUserAccount = Actor & Node & { /** An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations. */ export type EnterpriseUserAccountAvatarUrlArgs = { - size?: InputMaybe; + size?: InputMaybe; +}; + + +/** An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations. */ +export type EnterpriseUserAccountEnterpriseInstallationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; + query?: InputMaybe; + role?: InputMaybe; }; /** An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations. */ export type EnterpriseUserAccountOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - query?: InputMaybe; + query?: InputMaybe; role?: InputMaybe; }; @@ -6644,10 +7062,10 @@ export enum EnterpriseUserDeployment { export type Environment = Node & { __typename?: 'Environment'; /** Identifies the primary key from the database. */ - databaseId?: Maybe; - id: Scalars['ID']; + databaseId?: Maybe; + id: Scalars['ID']['output']; /** The name of the environment */ - name: Scalars['String']; + name: Scalars['String']['output']; /** The protection rules defined for this environment */ protectionRules: DeploymentProtectionRuleConnection; }; @@ -6655,10 +7073,10 @@ export type Environment = Node & { /** An environment. */ export type EnvironmentProtectionRulesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for Environment. */ @@ -6671,24 +7089,24 @@ export type EnvironmentConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type EnvironmentEdge = { __typename?: 'EnvironmentEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; -/** An external identity provisioned by SAML SSO or SCIM. */ +/** An external identity provisioned by SAML SSO or SCIM. If SAML is configured on the organization, the external identity is visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. If SAML is configured on the enterprise, the external identity is visible to (1) enterprise owners, (2) enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type ExternalIdentity = Node & { __typename?: 'ExternalIdentity'; /** The GUID for this identity */ - guid: Scalars['String']; - id: Scalars['ID']; + guid: Scalars['String']['output']; + id: Scalars['ID']['output']; /** Organization invitation for this SCIM-provisioned external identity */ organizationInvitation?: Maybe; /** SAML Identity attributes */ @@ -6703,11 +7121,11 @@ export type ExternalIdentity = Node & { export type ExternalIdentityAttribute = { __typename?: 'ExternalIdentityAttribute'; /** The attribute metadata as JSON */ - metadata?: Maybe; + metadata?: Maybe; /** The attribute name */ - name: Scalars['String']; + name: Scalars['String']['output']; /** The attribute value */ - value: Scalars['String']; + value: Scalars['String']['output']; }; /** The connection type for ExternalIdentity. */ @@ -6720,14 +7138,14 @@ export type ExternalIdentityConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type ExternalIdentityEdge = { __typename?: 'ExternalIdentityEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -6740,15 +7158,15 @@ export type ExternalIdentitySamlAttributes = { /** The emails associated with the SAML identity */ emails?: Maybe>; /** Family name of the SAML identity */ - familyName?: Maybe; + familyName?: Maybe; /** Given name of the SAML identity */ - givenName?: Maybe; + givenName?: Maybe; /** The groups linked to this identity in IDP */ - groups?: Maybe>; + groups?: Maybe>; /** The NameID of the SAML identity */ - nameId?: Maybe; + nameId?: Maybe; /** The userName of the SAML identity */ - username?: Maybe; + username?: Maybe; }; /** SCIM attributes for the External Identity */ @@ -6757,21 +7175,21 @@ export type ExternalIdentityScimAttributes = { /** The emails associated with the SCIM identity */ emails?: Maybe>; /** Family name of the SCIM identity */ - familyName?: Maybe; + familyName?: Maybe; /** Given name of the SCIM identity */ - givenName?: Maybe; + givenName?: Maybe; /** The groups linked to this identity in IDP */ - groups?: Maybe>; + groups?: Maybe>; /** The userName of the SCIM identity */ - username?: Maybe; + username?: Maybe; }; /** A command to add a file at the given path with the given contents as part of a commit. Any existing file at that that path will be replaced. */ export type FileAddition = { /** The base64 encoded contents of the file */ - contents: Scalars['Base64String']; + contents: Scalars['Base64String']['input']; /** The path in the repository where the file will be located */ - path: Scalars['String']; + path: Scalars['String']['input']; }; /** @@ -6900,7 +7318,7 @@ export type FileChanges = { /** A command to delete the file at the given path as part of a commit. */ export type FileDeletion = { /** The path to delete */ - path: Scalars['String']; + path: Scalars['String']['input']; }; /** The possible viewed states of a file . */ @@ -6916,16 +7334,16 @@ export enum FileViewedState { /** Autogenerated input type of FollowOrganization */ export type FollowOrganizationInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** ID of the organization to follow. */ - organizationId: Scalars['ID']; + organizationId: Scalars['ID']['input']; }; /** Autogenerated return type of FollowOrganization */ export type FollowOrganizationPayload = { __typename?: 'FollowOrganizationPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The organization that was followed. */ organization?: Maybe; }; @@ -6933,16 +7351,16 @@ export type FollowOrganizationPayload = { /** Autogenerated input type of FollowUser */ export type FollowUserInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** ID of the user to follow. */ - userId: Scalars['ID']; + userId: Scalars['ID']['input']; }; /** Autogenerated return type of FollowUser */ export type FollowUserPayload = { __typename?: 'FollowUserPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The user that was followed. */ user?: Maybe; }; @@ -6957,7 +7375,7 @@ export type FollowerConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** The connection type for User. */ @@ -6970,7 +7388,7 @@ export type FollowingConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** A funding platform link for a repository. */ @@ -6979,7 +7397,7 @@ export type FundingLink = { /** The funding platform this link is for. */ platform: FundingPlatform; /** The configured URL for this funding link. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; }; /** The possible funding platforms for repository funding links. */ @@ -7012,9 +7430,9 @@ export enum FundingPlatform { export type GenericHovercardContext = HovercardContext & { __typename?: 'GenericHovercardContext'; /** A string describing this context */ - message: Scalars['String']; + message: Scalars['String']['output']; /** An octicon to accompany this context */ - octicon: Scalars['String']; + octicon: Scalars['String']['output']; }; /** A Gist. */ @@ -7023,74 +7441,74 @@ export type Gist = Node & Starrable & UniformResourceLocatable & { /** A list of comments associated with the gist */ comments: GistCommentConnection; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** The gist description. */ - description?: Maybe; + description?: Maybe; /** The files in this gist. */ files?: Maybe>>; /** A list of forks associated with the gist */ forks: GistConnection; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** Identifies if the gist is a fork. */ - isFork: Scalars['Boolean']; + isFork: Scalars['Boolean']['output']; /** Whether the gist is public or not. */ - isPublic: Scalars['Boolean']; + isPublic: Scalars['Boolean']['output']; /** The gist name. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** The gist owner. */ owner?: Maybe; /** Identifies when the gist was last pushed to. */ - pushedAt?: Maybe; + pushedAt?: Maybe; /** The HTML path to this resource. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** * Returns a count of how many stargazers there are on this object * */ - stargazerCount: Scalars['Int']; + stargazerCount: Scalars['Int']['output']; /** A list of users who have starred this starrable. */ stargazers: StargazerConnection; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** The HTTP URL for this Gist. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** Returns a boolean indicating whether the viewing user has starred this starrable. */ - viewerHasStarred: Scalars['Boolean']; + viewerHasStarred: Scalars['Boolean']['output']; }; /** A Gist. */ export type GistCommentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A Gist. */ export type GistFilesArgs = { - limit?: InputMaybe; - oid?: InputMaybe; + limit?: InputMaybe; + oid?: InputMaybe; }; /** A Gist. */ export type GistForksArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** A Gist. */ export type GistStargazersArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; @@ -7102,55 +7520,55 @@ export type GistComment = Comment & Deletable & Minimizable & Node & Updatable & /** Author's association with the gist. */ authorAssociation: CommentAuthorAssociation; /** Identifies the comment body. */ - body: Scalars['String']; + body: Scalars['String']['output']; /** The body rendered to HTML. */ - bodyHTML: Scalars['HTML']; + bodyHTML: Scalars['HTML']['output']; /** The body rendered to text. */ - bodyText: Scalars['String']; + bodyText: Scalars['String']['output']; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Check if this comment was created via an email reply. */ - createdViaEmail: Scalars['Boolean']; + createdViaEmail: Scalars['Boolean']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The actor who edited the comment. */ editor?: Maybe; /** The associated gist. */ gist: Gist; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** Check if this comment was edited and includes an edit with the creation data */ - includesCreatedEdit: Scalars['Boolean']; + includesCreatedEdit: Scalars['Boolean']['output']; /** Returns whether or not a comment has been minimized. */ - isMinimized: Scalars['Boolean']; + isMinimized: Scalars['Boolean']['output']; /** The moment the editor made the last edit */ - lastEditedAt?: Maybe; + lastEditedAt?: Maybe; /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ - minimizedReason?: Maybe; + minimizedReason?: Maybe; /** Identifies when the comment was published at. */ - publishedAt?: Maybe; + publishedAt?: Maybe; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** A list of edits to this content. */ userContentEdits?: Maybe; /** Check if the current viewer can delete this object. */ - viewerCanDelete: Scalars['Boolean']; + viewerCanDelete: Scalars['Boolean']['output']; /** Check if the current viewer can minimize this object. */ - viewerCanMinimize: Scalars['Boolean']; + viewerCanMinimize: Scalars['Boolean']['output']; /** Check if the current viewer can update this object. */ - viewerCanUpdate: Scalars['Boolean']; + viewerCanUpdate: Scalars['Boolean']['output']; /** Reasons why the current viewer can not update this comment. */ viewerCannotUpdateReasons: Array; /** Did the viewer author this comment. */ - viewerDidAuthor: Scalars['Boolean']; + viewerDidAuthor: Scalars['Boolean']['output']; }; /** Represents a comment on an Gist. */ export type GistCommentUserContentEditsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for GistComment. */ @@ -7163,14 +7581,14 @@ export type GistCommentConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type GistCommentEdge = { __typename?: 'GistCommentEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -7185,14 +7603,14 @@ export type GistConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type GistEdge = { __typename?: 'GistEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -7201,29 +7619,29 @@ export type GistEdge = { export type GistFile = { __typename?: 'GistFile'; /** The file name encoded to remove characters that are invalid in URL paths. */ - encodedName?: Maybe; + encodedName?: Maybe; /** The gist file encoding. */ - encoding?: Maybe; + encoding?: Maybe; /** The file extension from the file name. */ - extension?: Maybe; + extension?: Maybe; /** Indicates if this file is an image. */ - isImage: Scalars['Boolean']; + isImage: Scalars['Boolean']['output']; /** Whether the file's contents were truncated. */ - isTruncated: Scalars['Boolean']; + isTruncated: Scalars['Boolean']['output']; /** The programming language this file is written in. */ language?: Maybe; /** The gist file name. */ - name?: Maybe; + name?: Maybe; /** The gist file size in bytes. */ - size?: Maybe; + size?: Maybe; /** UTF8 text data or null if the file is binary */ - text?: Maybe; + text?: Maybe; }; /** A file in a gist. */ export type GistFileTextArgs = { - truncate?: InputMaybe; + truncate?: InputMaybe; }; /** Ordering options for gist connections */ @@ -7258,13 +7676,13 @@ export enum GistPrivacy { export type GitActor = { __typename?: 'GitActor'; /** A URL pointing to the author's public avatar. */ - avatarUrl: Scalars['URI']; + avatarUrl: Scalars['URI']['output']; /** The timestamp of the Git action (authoring or committing). */ - date?: Maybe; + date?: Maybe; /** The email in the Git commit. */ - email?: Maybe; + email?: Maybe; /** The name in the Git commit. */ - name?: Maybe; + name?: Maybe; /** The GitHub user corresponding to the email field. Null if no such user exists. */ user?: Maybe; }; @@ -7272,7 +7690,7 @@ export type GitActor = { /** Represents an actor in a Git commit (ie. an author or committer). */ export type GitActorAvatarUrlArgs = { - size?: InputMaybe; + size?: InputMaybe; }; /** The connection type for GitActor. */ @@ -7285,14 +7703,14 @@ export type GitActorConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type GitActorEdge = { __typename?: 'GitActorEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -7301,30 +7719,30 @@ export type GitActorEdge = { export type GitHubMetadata = { __typename?: 'GitHubMetadata'; /** Returns a String that's a SHA of `github-services` */ - gitHubServicesSha: Scalars['GitObjectID']; + gitHubServicesSha: Scalars['GitObjectID']['output']; /** IP addresses that users connect to for git operations */ - gitIpAddresses?: Maybe>; + gitIpAddresses?: Maybe>; /** IP addresses that service hooks are sent from */ - hookIpAddresses?: Maybe>; + hookIpAddresses?: Maybe>; /** IP addresses that the importer connects from */ - importerIpAddresses?: Maybe>; + importerIpAddresses?: Maybe>; /** Whether or not users are verified */ - isPasswordAuthenticationVerifiable: Scalars['Boolean']; + isPasswordAuthenticationVerifiable: Scalars['Boolean']['output']; /** IP addresses for GitHub Pages' A records */ - pagesIpAddresses?: Maybe>; + pagesIpAddresses?: Maybe>; }; /** Represents a Git object. */ export type GitObject = { /** An abbreviated version of the Git object ID */ - abbreviatedOid: Scalars['String']; + abbreviatedOid: Scalars['String']['output']; /** The HTTP path for this Git object */ - commitResourcePath: Scalars['URI']; + commitResourcePath: Scalars['URI']['output']; /** The HTTP URL for this Git object */ - commitUrl: Scalars['URI']; - id: Scalars['ID']; + commitUrl: Scalars['URI']['output']; + id: Scalars['ID']['output']; /** The Git object ID */ - oid: Scalars['GitObjectID']; + oid: Scalars['GitObjectID']['output']; /** The Repository the Git object belongs to */ repository: Repository; }; @@ -7332,19 +7750,19 @@ export type GitObject = { /** Information about a signature (GPG or S/MIME) on a Commit or Tag. */ export type GitSignature = { /** Email used to sign this object. */ - email: Scalars['String']; + email: Scalars['String']['output']; /** True if the signature is valid and verified by GitHub. */ - isValid: Scalars['Boolean']; + isValid: Scalars['Boolean']['output']; /** Payload for GPG signing object. Raw ODB object without the signature header. */ - payload: Scalars['String']; + payload: Scalars['String']['output']; /** ASCII-armored signature header from object. */ - signature: Scalars['String']; + signature: Scalars['String']['output']; /** GitHub user corresponding to the email signing this commit. */ signer?: Maybe; /** The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. */ state: GitSignatureState; /** True if the signature was made with GitHub's signing key. */ - wasSignedByGitHub: Scalars['Boolean']; + wasSignedByGitHub: Scalars['Boolean']['output']; }; /** The state of a Git signature. */ @@ -7389,38 +7807,38 @@ export enum GitSignatureState { export type GpgSignature = GitSignature & { __typename?: 'GpgSignature'; /** Email used to sign this object. */ - email: Scalars['String']; + email: Scalars['String']['output']; /** True if the signature is valid and verified by GitHub. */ - isValid: Scalars['Boolean']; + isValid: Scalars['Boolean']['output']; /** Hex-encoded ID of the key that signed this object. */ - keyId?: Maybe; + keyId?: Maybe; /** Payload for GPG signing object. Raw ODB object without the signature header. */ - payload: Scalars['String']; + payload: Scalars['String']['output']; /** ASCII-armored signature header from object. */ - signature: Scalars['String']; + signature: Scalars['String']['output']; /** GitHub user corresponding to the email signing this commit. */ signer?: Maybe; /** The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. */ state: GitSignatureState; /** True if the signature was made with GitHub's signing key. */ - wasSignedByGitHub: Scalars['Boolean']; + wasSignedByGitHub: Scalars['Boolean']['output']; }; /** Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole */ export type GrantEnterpriseOrganizationsMigratorRoleInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the enterprise to which all organizations managed by it will be granted the migrator role. */ - enterpriseId: Scalars['ID']; + enterpriseId: Scalars['ID']['input']; /** The login of the user to grant the migrator role */ - login: Scalars['String']; + login: Scalars['String']['input']; }; /** Autogenerated return type of GrantEnterpriseOrganizationsMigratorRole */ export type GrantEnterpriseOrganizationsMigratorRolePayload = { __typename?: 'GrantEnterpriseOrganizationsMigratorRolePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The organizations that had the migrator role applied to for the given user. */ organizations?: Maybe; }; @@ -7428,31 +7846,31 @@ export type GrantEnterpriseOrganizationsMigratorRolePayload = { /** Autogenerated return type of GrantEnterpriseOrganizationsMigratorRole */ export type GrantEnterpriseOrganizationsMigratorRolePayloadOrganizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** Autogenerated input type of GrantMigratorRole */ export type GrantMigratorRoleInput = { /** The user login or Team slug to grant the migrator role. */ - actor: Scalars['String']; + actor: Scalars['String']['input']; /** Specifies the type of the actor, can be either USER or TEAM. */ actorType: ActorType; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The ID of the organization that the user/team belongs to. */ - organizationId: Scalars['ID']; + organizationId: Scalars['ID']['input']; }; /** Autogenerated return type of GrantMigratorRole */ export type GrantMigratorRolePayload = { __typename?: 'GrantMigratorRolePayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** Did the operation succeed? */ - success?: Maybe; + success?: Maybe; }; /** Represents a 'head_ref_deleted' event on a given pull request. */ @@ -7461,12 +7879,12 @@ export type HeadRefDeletedEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Identifies the Ref associated with the `head_ref_deleted` event. */ headRef?: Maybe; /** Identifies the name of the Ref associated with the `head_ref_deleted` event. */ - headRefName: Scalars['String']; - id: Scalars['ID']; + headRefName: Scalars['String']['output']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; }; @@ -7481,8 +7899,8 @@ export type HeadRefForcePushedEvent = Node & { /** Identifies the before commit SHA for the 'head_ref_force_pushed' event. */ beforeCommit?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; /** Identifies the fully qualified ref name for the 'head_ref_force_pushed' event. */ @@ -7495,8 +7913,8 @@ export type HeadRefRestoredEvent = Node & { /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; }; @@ -7511,9 +7929,9 @@ export type Hovercard = { /** An individual line of a hovercard */ export type HovercardContext = { /** A string describing this context */ - message: Scalars['String']; + message: Scalars['String']['output']; /** An octicon to accompany this context */ - octicon: Scalars['String']; + octicon: Scalars['String']['output']; }; /** The possible states in which authentication can be configured with an identity provider. */ @@ -7529,13 +7947,13 @@ export enum IdentityProviderConfigurationState { /** Autogenerated input type of InviteEnterpriseAdmin */ export type InviteEnterpriseAdminInput = { /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; + clientMutationId?: InputMaybe; /** The email of the person to invite as an administrator. */ - email?: InputMaybe; + email?: InputMaybe; /** The ID of the enterprise to which you want to invite an administrator. */ - enterpriseId: Scalars['ID']; + enterpriseId: Scalars['ID']['input']; /** The login of a user to invite as an administrator. */ - invitee?: InputMaybe; + invitee?: InputMaybe; /** The role of the administrator. */ role?: InputMaybe; }; @@ -7544,7 +7962,7 @@ export type InviteEnterpriseAdminInput = { export type InviteEnterpriseAdminPayload = { __typename?: 'InviteEnterpriseAdminPayload'; /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; + clientMutationId?: Maybe; /** The created enterprise administrator invitation. */ invitation?: Maybe; }; @@ -7561,18 +7979,18 @@ export enum IpAllowListEnabledSettingValue { export type IpAllowListEntry = Node & { __typename?: 'IpAllowListEntry'; /** A single IP address or range of IP addresses in CIDR notation. */ - allowListValue: Scalars['String']; + allowListValue: Scalars['String']['output']; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; - id: Scalars['ID']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; /** Whether the entry is currently active. */ - isActive: Scalars['Boolean']; + isActive: Scalars['Boolean']['output']; /** The name of the IP allow list entry. */ - name?: Maybe; + name?: Maybe; /** The owner of the IP allow list entry. */ owner: IpAllowListOwner; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; }; /** The connection type for IpAllowListEntry. */ @@ -7585,14 +8003,14 @@ export type IpAllowListEntryConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type IpAllowListEntryEdge = { __typename?: 'IpAllowListEntryEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -7625,7 +8043,7 @@ export enum IpAllowListForInstalledAppsEnabledSettingValue { export type IpAllowListOwner = App | Enterprise | Organization; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ -export type Issue = Assignable & Closable & Comment & Labelable & Lockable & Node & ProjectV2Owner & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment & { +export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lockable & Node & ProjectV2Owner & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment & { __typename?: 'Issue'; /** Reason that the conversation was locked. */ activeLockReason?: Maybe; @@ -7636,50 +8054,52 @@ export type Issue = Assignable & Closable & Comment & Labelable & Lockable & Nod /** Author's association with the subject of the comment. */ authorAssociation: CommentAuthorAssociation; /** Identifies the body of the issue. */ - body: Scalars['String']; + body: Scalars['String']['output']; /** The body rendered to HTML. */ - bodyHTML: Scalars['HTML']; + bodyHTML: Scalars['HTML']['output']; /** The http path for this issue body */ - bodyResourcePath: Scalars['URI']; + bodyResourcePath: Scalars['URI']['output']; /** Identifies the body of the issue rendered to text. */ - bodyText: Scalars['String']; + bodyText: Scalars['String']['output']; /** The http URL for this issue body */ - bodyUrl: Scalars['URI']; + bodyUrl: Scalars['URI']['output']; /** Indicates if the object is closed (definition of closed may depend on type) */ - closed: Scalars['Boolean']; + closed: Scalars['Boolean']['output']; /** Identifies the date and time when the object was closed. */ - closedAt?: Maybe; + closedAt?: Maybe; /** A list of comments associated with the Issue. */ comments: IssueCommentConnection; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Check if this comment was created via an email reply. */ - createdViaEmail: Scalars['Boolean']; + createdViaEmail: Scalars['Boolean']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The actor who edited the comment. */ editor?: Maybe; + /** Identifies the primary key from the database as a BigInt. */ + fullDatabaseId?: Maybe; /** The hovercard information for this issue */ hovercard: Hovercard; - id: Scalars['ID']; + id: Scalars['ID']['output']; /** Check if this comment was edited and includes an edit with the creation data */ - includesCreatedEdit: Scalars['Boolean']; + includesCreatedEdit: Scalars['Boolean']['output']; /** Indicates whether or not this issue is currently pinned to the repository issues list */ - isPinned?: Maybe; + isPinned?: Maybe; /** Is this issue read by the viewer */ - isReadByViewer?: Maybe; + isReadByViewer?: Maybe; /** A list of labels associated with the object. */ labels?: Maybe; /** The moment the editor made the last edit */ - lastEditedAt?: Maybe; + lastEditedAt?: Maybe; /** Branches linked to this issue. */ linkedBranches: LinkedBranchConnection; /** `true` if the object is locked */ - locked: Scalars['Boolean']; + locked: Scalars['Boolean']['output']; /** Identifies the milestone associated with the issue. */ milestone?: Maybe; /** Identifies the issue number. */ - number: Scalars['Int']; + number: Scalars['Int']['output']; /** A list of Users that are participating in the Issue conversation. */ participants: UserConnection; /** List of project cards associated with this issue. */ @@ -7691,7 +8111,7 @@ export type Issue = Assignable & Closable & Comment & Labelable & Lockable & Nod /** A list of projects under the owner. */ projectsV2: ProjectV2Connection; /** Identifies when the comment was published at. */ - publishedAt?: Maybe; + publishedAt?: Maybe; /** A list of reactions grouped by content left on the subject. */ reactionGroups?: Maybe>; /** A list of Reactions left on the Issue. */ @@ -7699,7 +8119,7 @@ export type Issue = Assignable & Closable & Comment & Labelable & Lockable & Nod /** The repository associated with this node. */ repository: Repository; /** The HTTP path for this issue */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** Identifies the state of the issue. */ state: IssueState; /** Identifies the reason for the issue state. */ @@ -7712,31 +8132,37 @@ export type Issue = Assignable & Closable & Comment & Labelable & Lockable & Nod /** A list of events, comments, commits, etc. associated with the issue. */ timelineItems: IssueTimelineItemsConnection; /** Identifies the issue title. */ - title: Scalars['String']; + title: Scalars['String']['output']; /** Identifies the issue title rendered to HTML. */ - titleHTML: Scalars['String']; + titleHTML: Scalars['String']['output']; /** A list of issues that track this issue */ trackedInIssues: IssueConnection; /** A list of issues tracked inside the current issue */ trackedIssues: IssueConnection; /** The number of tracked issues for this issue */ - trackedIssuesCount: Scalars['Int']; + trackedIssuesCount: Scalars['Int']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** The HTTP URL for this issue */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** A list of edits to this content. */ userContentEdits?: Maybe; + /** Indicates if the object can be closed by the viewer. */ + viewerCanClose: Scalars['Boolean']['output']; + /** Check if the current viewer can delete this object. */ + viewerCanDelete: Scalars['Boolean']['output']; /** Can user react to this subject */ - viewerCanReact: Scalars['Boolean']; + viewerCanReact: Scalars['Boolean']['output']; + /** Indicates if the object can be reopened by the viewer. */ + viewerCanReopen: Scalars['Boolean']['output']; /** Check if the viewer is able to change their subscription status for the repository. */ - viewerCanSubscribe: Scalars['Boolean']; + viewerCanSubscribe: Scalars['Boolean']['output']; /** Check if the current viewer can update this object. */ - viewerCanUpdate: Scalars['Boolean']; + viewerCanUpdate: Scalars['Boolean']['output']; /** Reasons why the current viewer can not update this comment. */ viewerCannotUpdateReasons: Array; /** Did the viewer author this comment. */ - viewerDidAuthor: Scalars['Boolean']; + viewerDidAuthor: Scalars['Boolean']['output']; /** Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. */ viewerSubscription?: Maybe; }; @@ -7744,142 +8170,142 @@ export type Issue = Assignable & Closable & Comment & Labelable & Lockable & Nod /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueAssigneesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueCommentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueHovercardArgs = { - includeNotificationContexts?: InputMaybe; + includeNotificationContexts?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueLabelsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueLinkedBranchesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueParticipantsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueProjectCardsArgs = { - after?: InputMaybe; + after?: InputMaybe; archivedStates?: InputMaybe>>; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueProjectItemsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - includeArchived?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + includeArchived?: InputMaybe; + last?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueProjectV2Args = { - number: Scalars['Int']; + number: Scalars['Int']['input']; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueProjectsV2Args = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; - query?: InputMaybe; + query?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueReactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; content?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueTimelineArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - since?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + since?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueTimelineItemsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; itemTypes?: InputMaybe>; - last?: InputMaybe; - since?: InputMaybe; - skip?: InputMaybe; + last?: InputMaybe; + since?: InputMaybe; + skip?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueTrackedInIssuesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueTrackedIssuesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; @@ -7891,10 +8317,10 @@ export type IssueTrackedIssuesCountArgs = { /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueUserContentEditsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The possible state reasons of a closed issue. */ @@ -7913,32 +8339,34 @@ export type IssueComment = Comment & Deletable & Minimizable & Node & Reactable /** Author's association with the subject of the comment. */ authorAssociation: CommentAuthorAssociation; /** The body as Markdown. */ - body: Scalars['String']; + body: Scalars['String']['output']; /** The body rendered to HTML. */ - bodyHTML: Scalars['HTML']; + bodyHTML: Scalars['HTML']['output']; /** The body rendered to text. */ - bodyText: Scalars['String']; + bodyText: Scalars['String']['output']; /** Identifies the date and time when the object was created. */ - createdAt: Scalars['DateTime']; + createdAt: Scalars['DateTime']['output']; /** Check if this comment was created via an email reply. */ - createdViaEmail: Scalars['Boolean']; + createdViaEmail: Scalars['Boolean']['output']; /** Identifies the primary key from the database. */ - databaseId?: Maybe; + databaseId?: Maybe; /** The actor who edited the comment. */ editor?: Maybe; - id: Scalars['ID']; + /** Identifies the primary key from the database as a BigInt. */ + fullDatabaseId?: Maybe; + id: Scalars['ID']['output']; /** Check if this comment was edited and includes an edit with the creation data */ - includesCreatedEdit: Scalars['Boolean']; + includesCreatedEdit: Scalars['Boolean']['output']; /** Returns whether or not a comment has been minimized. */ - isMinimized: Scalars['Boolean']; + isMinimized: Scalars['Boolean']['output']; /** Identifies the issue associated with the comment. */ issue: Issue; /** The moment the editor made the last edit */ - lastEditedAt?: Maybe; + lastEditedAt?: Maybe; /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ - minimizedReason?: Maybe; + minimizedReason?: Maybe; /** Identifies when the comment was published at. */ - publishedAt?: Maybe; + publishedAt?: Maybe; /** * Returns the pull request associated with the comment, if this comment was made on a * pull request. @@ -7952,45 +8380,45 @@ export type IssueComment = Comment & Deletable & Minimizable & Node & Reactable /** The repository associated with this node. */ repository: Repository; /** The HTTP path for this issue comment */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** Identifies the date and time when the object was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; /** The HTTP URL for this issue comment */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** A list of edits to this content. */ userContentEdits?: Maybe; /** Check if the current viewer can delete this object. */ - viewerCanDelete: Scalars['Boolean']; + viewerCanDelete: Scalars['Boolean']['output']; /** Check if the current viewer can minimize this object. */ - viewerCanMinimize: Scalars['Boolean']; + viewerCanMinimize: Scalars['Boolean']['output']; /** Can user react to this subject */ - viewerCanReact: Scalars['Boolean']; + viewerCanReact: Scalars['Boolean']['output']; /** Check if the current viewer can update this object. */ - viewerCanUpdate: Scalars['Boolean']; + viewerCanUpdate: Scalars['Boolean']['output']; /** Reasons why the current viewer can not update this comment. */ viewerCannotUpdateReasons: Array; /** Did the viewer author this comment. */ - viewerDidAuthor: Scalars['Boolean']; + viewerDidAuthor: Scalars['Boolean']['output']; }; /** Represents a comment on an Issue. */ export type IssueCommentReactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; content?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; /** Represents a comment on an Issue. */ export type IssueCommentUserContentEditsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** The connection type for IssueComment. */ @@ -8003,14 +8431,14 @@ export type IssueCommentConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type IssueCommentEdge = { __typename?: 'IssueCommentEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -8039,7 +8467,7 @@ export type IssueConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** This aggregates issues opened by a user within one repository. */ @@ -8054,10 +8482,10 @@ export type IssueContributionsByRepository = { /** This aggregates issues opened by a user within one repository. */ export type IssueContributionsByRepositoryContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; }; @@ -8065,7 +8493,7 @@ export type IssueContributionsByRepositoryContributionsArgs = { export type IssueEdge = { __typename?: 'IssueEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -8073,23 +8501,23 @@ export type IssueEdge = { /** Ways in which to filter lists of issues. */ export type IssueFilters = { /** List issues assigned to given name. Pass in `null` for issues with no assigned user, and `*` for issues assigned to any user. */ - assignee?: InputMaybe; + assignee?: InputMaybe; /** List issues created by given name. */ - createdBy?: InputMaybe; + createdBy?: InputMaybe; /** List issues where the list of label names exist on the issue. */ - labels?: InputMaybe>; + labels?: InputMaybe>; /** List issues where the given name is mentioned in the issue. */ - mentioned?: InputMaybe; + mentioned?: InputMaybe; /** List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its database ID. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. */ - milestone?: InputMaybe; + milestone?: InputMaybe; /** List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its number field. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. */ - milestoneNumber?: InputMaybe; + milestoneNumber?: InputMaybe; /** List issues that have been updated at or after the given date. */ - since?: InputMaybe; + since?: InputMaybe; /** List issues filtered by the list of states given. */ states?: InputMaybe>; /** List issues subscribed to by viewer. */ - viewerSubscribed?: InputMaybe; + viewerSubscribed?: InputMaybe; }; /** Used for return value of Repository.issueOrPullRequest. */ @@ -8135,15 +8563,38 @@ export enum IssueStateReason { export type IssueTemplate = { __typename?: 'IssueTemplate'; /** The template purpose. */ - about?: Maybe; + about?: Maybe; + /** The suggested assignees. */ + assignees: UserConnection; /** The suggested issue body. */ - body?: Maybe; + body?: Maybe; /** The template filename. */ - filename: Scalars['String']; + filename: Scalars['String']['output']; + /** The suggested issue labels */ + labels?: Maybe; /** The template name. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** The suggested issue title. */ - title?: Maybe; + title?: Maybe; +}; + + +/** A repository issue template. */ +export type IssueTemplateAssigneesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** A repository issue template. */ +export type IssueTemplateLabelsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; }; /** The connection type for IssueTimelineItem. */ @@ -8156,7 +8607,7 @@ export type IssueTimelineConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An item in an issue timeline */ @@ -8166,7 +8617,7 @@ export type IssueTimelineItem = AssignedEvent | ClosedEvent | Commit | CrossRefe export type IssueTimelineItemEdge = { __typename?: 'IssueTimelineItemEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -8180,24 +8631,24 @@ export type IssueTimelineItemsConnection = { /** A list of edges. */ edges?: Maybe>>; /** Identifies the count of items after applying `before` and `after` filters. */ - filteredCount: Scalars['Int']; + filteredCount: Scalars['Int']['output']; /** A list of nodes. */ nodes?: Maybe>>; /** Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. */ - pageCount: Scalars['Int']; + pageCount: Scalars['Int']['output']; /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; /** Identifies the date and time when the timeline was last updated. */ - updatedAt: Scalars['DateTime']; + updatedAt: Scalars['DateTime']['output']; }; /** An edge in a connection. */ export type IssueTimelineItemsEdge = { __typename?: 'IssueTimelineItemsEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; @@ -8277,13 +8728,13 @@ export type JoinedGitHubContribution = Contribution & { * longer access. * */ - isRestricted: Scalars['Boolean']; + isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ - occurredAt: Scalars['DateTime']; + occurredAt: Scalars['DateTime']['output']; /** The HTTP path for this contribution. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; /** * The user who made this contribution. * @@ -8295,39 +8746,39 @@ export type JoinedGitHubContribution = Contribution & { export type Label = Node & { __typename?: 'Label'; /** Identifies the label color. */ - color: Scalars['String']; + color: Scalars['String']['output']; /** Identifies the date and time when the label was created. */ - createdAt?: Maybe; + createdAt?: Maybe; /** A brief description of this label. */ - description?: Maybe; - id: Scalars['ID']; + description?: Maybe; + id: Scalars['ID']['output']; /** Indicates whether or not this is a default label. */ - isDefault: Scalars['Boolean']; + isDefault: Scalars['Boolean']['output']; /** A list of issues associated with this label. */ issues: IssueConnection; /** Identifies the label name. */ - name: Scalars['String']; + name: Scalars['String']['output']; /** A list of pull requests associated with this label. */ pullRequests: PullRequestConnection; /** The repository associated with this label. */ repository: Repository; /** The HTTP path for this label. */ - resourcePath: Scalars['URI']; + resourcePath: Scalars['URI']['output']; /** Identifies the date and time when the label was last updated. */ - updatedAt?: Maybe; + updatedAt?: Maybe; /** The HTTP URL for this label. */ - url: Scalars['URI']; + url: Scalars['URI']['output']; }; /** A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository. */ export type LabelIssuesArgs = { - after?: InputMaybe; - before?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; filterBy?: InputMaybe; - first?: InputMaybe; - labels?: InputMaybe>; - last?: InputMaybe; + first?: InputMaybe; + labels?: InputMaybe>; + last?: InputMaybe; orderBy?: InputMaybe; states?: InputMaybe>; }; @@ -8335,13 +8786,13 @@ export type LabelIssuesArgs = { /** A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository. */ export type LabelPullRequestsArgs = { - after?: InputMaybe; - baseRefName?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - headRefName?: InputMaybe; - labels?: InputMaybe>; - last?: InputMaybe; + after?: InputMaybe; + baseRefName?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + headRefName?: InputMaybe; + labels?: InputMaybe>; + last?: InputMaybe; orderBy?: InputMaybe; states?: InputMaybe>; }; @@ -8356,14 +8807,14 @@ export type LabelConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type LabelEdge = { __typename?: 'LabelEdge'; /** A cursor for use in pagination. */ - cursor: Scalars['String']; + cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe