From d42cc53d1684143b0958a4c4d02cdc3afaac707b Mon Sep 17 00:00:00 2001 From: John Goodliff Date: Wed, 17 Jan 2024 16:48:16 -0700 Subject: [PATCH] Update Typescript types for Gatsby --- src/common/gatsby-types.d.ts | 5956 ++++++++++++++++++++++++++-------- 1 file changed, 4669 insertions(+), 1287 deletions(-) diff --git a/src/common/gatsby-types.d.ts b/src/common/gatsby-types.d.ts index 0f08a8a..cf51d02 100644 --- a/src/common/gatsby-types.d.ts +++ b/src/common/gatsby-types.d.ts @@ -25,6 +25,8 @@ type Scalars = { Date: string; /** A (potentially binary) string encoded using base64. */ GITHUB_Base64String: any; + /** Represents non-fractional signed whole numeric values. Since the value may exceed the size of a 32-bit integer, it's encoded as a string. */ + GITHUB_BigInt: any; /** An ISO-8601 encoded date string. */ GITHUB_Date: any; /** An ISO-8601 encoded UTC date string. */ @@ -975,7 +977,7 @@ type GITHUB = { readonly organization: Maybe; /** The client's rate limit information. */ readonly rateLimit: Maybe; - /** Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object */ + /** Workaround for re-exposing the root query object. (Refer to https://github.com/facebook/relay/issues/112 for more information.) */ readonly relay: Query; /** Lookup a given repository by the owner and repository name. */ readonly repository: Maybe; @@ -983,7 +985,7 @@ type GITHUB = { readonly repositoryOwner: Maybe; /** Lookup resource by a URL. */ readonly resource: Maybe; - /** Perform a search across resources. */ + /** Perform a search across resources, returning a maximum of 1,000 results. */ readonly search: GITHUB_SearchResultItemConnection; /** GitHub Security Advisories */ readonly securityAdvisories: GITHUB_SecurityAdvisoryConnection; @@ -1204,6 +1206,22 @@ type GITHUB_AbortQueuedMigrationsPayload = { readonly success: Maybe; }; +/** Autogenerated input type of AbortRepositoryMigration */ +type GITHUB_AbortRepositoryMigrationInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the migration to be aborted. */ + readonly migrationId: Scalars['ID']; +}; + +/** Autogenerated return type of AbortRepositoryMigration */ +type GITHUB_AbortRepositoryMigrationPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** Did the operation succeed? */ + readonly success: Maybe; +}; + /** Autogenerated input type of AcceptEnterpriseAdministratorInvitation */ type GITHUB_AcceptEnterpriseAdministratorInvitationInput = { /** A unique identifier for the client performing the mutation. */ @@ -1226,17 +1244,34 @@ type GITHUB_AcceptEnterpriseAdministratorInvitationPayload = { type GITHUB_AcceptTopicSuggestionInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** The name of the suggested topic. */ - readonly name: Scalars['String']; - /** The Node ID of the repository. */ - readonly repositoryId: Scalars['ID']; + /** + * The name of the suggested topic. + * + * **Upcoming Change on 2024-04-01 UTC** + * **Description:** `name` will be removed. + * **Reason:** Suggested topics are no longer supported + * + */ + readonly name: InputMaybe; + /** + * The Node ID of the repository. + * + * **Upcoming Change on 2024-04-01 UTC** + * **Description:** `repositoryId` will be removed. + * **Reason:** Suggested topics are no longer supported + * + */ + readonly repositoryId: InputMaybe; }; /** Autogenerated return type of AcceptTopicSuggestion */ type GITHUB_AcceptTopicSuggestionPayload = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: Maybe; - /** The accepted topic. */ + /** + * The accepted topic. + * @deprecated Suggested topics are no longer supported Removal on 2024-04-01 UTC. + */ readonly topic: Maybe; }; @@ -1355,6 +1390,28 @@ type GITHUB_AddDiscussionPollVotePayload = { readonly pollOption: Maybe; }; +/** Autogenerated input type of AddEnterpriseOrganizationMember */ +type GITHUB_AddEnterpriseOrganizationMemberInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the enterprise which owns the organization. */ + readonly enterpriseId: Scalars['ID']; + /** The ID of the organization the users will be added to. */ + readonly organizationId: Scalars['ID']; + /** The role to assign the users in the organization */ + readonly role: InputMaybe; + /** The IDs of the enterprise members to add. */ + readonly userIds: ReadonlyArray; +}; + +/** Autogenerated return type of AddEnterpriseOrganizationMember */ +type GITHUB_AddEnterpriseOrganizationMemberPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The users who were added to the organization. */ + readonly users: Maybe>; +}; + /** Autogenerated input type of AddEnterpriseSupportEntitlement */ type GITHUB_AddEnterpriseSupportEntitlementInput = { /** A unique identifier for the client performing the mutation. */ @@ -1433,94 +1490,6 @@ type GITHUB_AddProjectColumnPayload = { readonly project: Maybe; }; -/** Autogenerated input type of AddProjectDraftIssue */ -type GITHUB_AddProjectDraftIssueInput = { - /** - * The IDs of the assignees of the draft issue. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `assigneeIds` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly assigneeIds: InputMaybe>; - /** - * The body of the draft issue. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `body` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly body: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId: InputMaybe; - /** - * The ID of the Project to add the draft issue to. This field is required. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `projectId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly projectId: InputMaybe; - /** - * The title of the draft issue. This field is required. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `title` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly title: InputMaybe; -}; - -/** Autogenerated return type of AddProjectDraftIssue */ -type GITHUB_AddProjectDraftIssuePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId: Maybe; - /** - * The draft issue added to the project. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNextItem: Maybe; -}; - -/** Autogenerated input type of AddProjectNextItem */ -type GITHUB_AddProjectNextItemInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId: InputMaybe; - /** - * The content id of the item (Issue or PullRequest). This field is required. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `contentId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly contentId: InputMaybe; - /** - * The ID of the Project to add the item to. This field is required. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `projectId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly projectId: InputMaybe; -}; - -/** Autogenerated return type of AddProjectNextItem */ -type GITHUB_AddProjectNextItemPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId: Maybe; - /** - * The item added to the project. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNextItem: Maybe; -}; - /** Autogenerated input type of AddProjectV2DraftIssue */ type GITHUB_AddProjectV2DraftIssueInput = { /** The IDs of the assignees of the draft issue. */ @@ -1531,7 +1500,7 @@ type GITHUB_AddProjectV2DraftIssueInput = { readonly clientMutationId: InputMaybe; /** The ID of the Project to add the draft issue to. */ readonly projectId: Scalars['ID']; - /** The title of the draft issue. */ + /** 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. */ readonly title: Scalars['String']; }; @@ -1563,21 +1532,70 @@ type GITHUB_AddProjectV2ItemByIdPayload = { /** Autogenerated input type of AddPullRequestReviewComment */ type GITHUB_AddPullRequestReviewCommentInput = { - /** The text of the comment. */ - readonly body: Scalars['String']; + /** + * 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 + * + */ + readonly body: InputMaybe; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** The SHA of the commit to comment on. */ + /** + * 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 + * + */ readonly commitOID: InputMaybe; - /** The comment id to reply to. */ + /** + * 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 + * + */ readonly inReplyTo: InputMaybe; - /** The relative path of the file to comment on. */ + /** + * 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 + * + */ readonly path: InputMaybe; - /** The line index in the diff to comment on. */ + /** + * 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 + * + */ readonly position: InputMaybe; - /** The node ID of the pull request reviewing */ + /** + * 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 + * + */ readonly pullRequestId: InputMaybe; - /** The Node ID of the review to modify. */ + /** + * 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 + * + */ readonly pullRequestReviewId: InputMaybe; }; @@ -1597,7 +1615,14 @@ type GITHUB_AddPullRequestReviewInput = { readonly body: InputMaybe; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** The review line comments. */ + /** + * 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 + * + */ readonly comments: InputMaybe>>; /** The commit OID the review pertains to. */ readonly commitOID: InputMaybe; @@ -1625,8 +1650,8 @@ type GITHUB_AddPullRequestReviewThreadInput = { readonly body: Scalars['String']; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** The line of the blob to which the thread refers. The end of the line range for multi-line comments. */ - readonly line: Scalars['Int']; + /** 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. */ + readonly line: InputMaybe; /** Path to the file being commented on. */ readonly path: Scalars['String']; /** The node ID of the pull request reviewing */ @@ -1639,6 +1664,8 @@ type GITHUB_AddPullRequestReviewThreadInput = { readonly startLine: InputMaybe; /** The side of the diff on which the start line resides. */ readonly startSide: InputMaybe; + /** The level at which the comments in the corresponding thread are targeted, can be a diff line or a file */ + readonly subjectType: InputMaybe; }; /** Autogenerated return type of AddPullRequestReviewThread */ @@ -1649,6 +1676,26 @@ type GITHUB_AddPullRequestReviewThreadPayload = { readonly thread: Maybe; }; +/** Autogenerated input type of AddPullRequestReviewThreadReply */ +type GITHUB_AddPullRequestReviewThreadReplyInput = { + /** The text of the reply. */ + readonly body: Scalars['String']; + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The Node ID of the pending review to which the reply will belong. */ + readonly pullRequestReviewId: InputMaybe; + /** The Node ID of the thread to which this reply is being written. */ + readonly pullRequestReviewThreadId: Scalars['ID']; +}; + +/** Autogenerated return type of AddPullRequestReviewThreadReply */ +type GITHUB_AddPullRequestReviewThreadReplyPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The newly created reply. */ + readonly comment: Maybe; +}; + /** Autogenerated input type of AddReaction */ type GITHUB_AddReactionInput = { /** A unique identifier for the client performing the mutation. */ @@ -1665,6 +1712,8 @@ type GITHUB_AddReactionPayload = { readonly clientMutationId: Maybe; /** The reaction object. */ readonly reaction: Maybe; + /** The reaction groups for the subject. */ + readonly reactionGroups: Maybe>; /** The reactable subject. */ readonly subject: Maybe; }; @@ -1719,6 +1768,22 @@ type GITHUB_AddVerifiableDomainPayload = { readonly domain: Maybe; }; +/** Represents an 'added_to_merge_queue' event on a given pull request. */ +type GITHUB_AddedToMergeQueueEvent = GITHUB_Node & { + /** Identifies the actor who performed the event. */ + readonly actor: Maybe; + /** Identifies the date and time when the object was created. */ + readonly createdAt: Scalars['GITHUB_DateTime']; + /** The user who added this Pull Request to the merge queue */ + readonly enqueuer: Maybe; + /** The Node ID of the AddedToMergeQueueEvent object */ + readonly id: Scalars['ID']; + /** The merge queue where this pull request was added to. */ + readonly mergeQueue: Maybe; + /** PullRequest referenced by event. */ + readonly pullRequest: Maybe; +}; + /** Represents a 'added_to_project' event on a given issue or pull request. */ type GITHUB_AddedToProjectEvent = GITHUB_Node & { /** Identifies the actor who performed the event. */ @@ -1727,9 +1792,20 @@ type GITHUB_AddedToProjectEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the AddedToProjectEvent object */ readonly id: Scalars['ID']; }; +/** Represents an announcement banner. */ +type GITHUB_AnnouncementBanner = { + /** The text of the announcement */ + readonly announcement: Maybe; + /** The expiration date of the announcement, if any */ + readonly announcementExpiresAt: Maybe; + /** Whether the announcement can be dismissed by the user */ + readonly announcementUserDismissible: Maybe; +}; + /** A GitHub App. */ type GITHUB_App = GITHUB_Node & { /** Identifies the date and time when the object was created. */ @@ -1738,6 +1814,7 @@ type GITHUB_App = GITHUB_Node & { readonly databaseId: Maybe; /** The description of the app. */ readonly description: Maybe; + /** The Node ID of the App object */ readonly id: Scalars['ID']; /** The IP addresses of the app. */ readonly ipAllowListEntries: GITHUB_IpAllowListEntryConnection; @@ -1807,6 +1884,24 @@ type GITHUB_ApproveVerifiableDomainPayload = { readonly domain: Maybe; }; +/** Autogenerated input type of ArchiveProjectV2Item */ +type GITHUB_ArchiveProjectV2ItemInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the ProjectV2Item to archive. */ + readonly itemId: Scalars['ID']; + /** The ID of the Project to archive the item from. */ + readonly projectId: Scalars['ID']; +}; + +/** Autogenerated return type of ArchiveProjectV2Item */ +type GITHUB_ArchiveProjectV2ItemPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The item archived from the project. */ + readonly item: Maybe; +}; + /** Autogenerated input type of ArchiveRepository */ type GITHUB_ArchiveRepositoryInput = { /** A unique identifier for the client performing the mutation. */ @@ -1848,6 +1943,7 @@ type GITHUB_AssignedEvent = GITHUB_Node & { readonly assignee: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the AssignedEvent object */ readonly id: Scalars['ID']; /** * Identifies the user who was assigned. @@ -1913,6 +2009,7 @@ type GITHUB_AutoMergeDisabledEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The user who disabled auto-merge for this Pull Request */ readonly disabler: Maybe; + /** The Node ID of the AutoMergeDisabledEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event */ readonly pullRequest: Maybe; @@ -1930,6 +2027,7 @@ type GITHUB_AutoMergeEnabledEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The user who enabled auto-merge for this Pull Request */ readonly enabler: Maybe; + /** The Node ID of the AutoMergeEnabledEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: Maybe; @@ -1961,6 +2059,7 @@ type GITHUB_AutoRebaseEnabledEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The user who enabled auto-merge (rebase) for this Pull Request */ readonly enabler: Maybe; + /** The Node ID of the AutoRebaseEnabledEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: Maybe; @@ -1974,6 +2073,7 @@ type GITHUB_AutoSquashEnabledEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The user who enabled auto-merge (squash) for this Pull Request */ readonly enabler: Maybe; + /** The Node ID of the AutoSquashEnabledEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: Maybe; @@ -1985,6 +2085,7 @@ type GITHUB_AutomaticBaseChangeFailedEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the AutomaticBaseChangeFailedEvent object */ readonly id: Scalars['ID']; /** The new base for this PR */ readonly newBase: Scalars['String']; @@ -2000,6 +2101,7 @@ type GITHUB_AutomaticBaseChangeSucceededEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the AutomaticBaseChangeSucceededEvent object */ readonly id: Scalars['ID']; /** The new base for this PR */ readonly newBase: Scalars['String']; @@ -2019,6 +2121,7 @@ type GITHUB_BaseRefChangedEvent = GITHUB_Node & { readonly currentRefName: Scalars['String']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the BaseRefChangedEvent object */ readonly id: Scalars['ID']; /** Identifies the name of the base ref for the pull request before it was changed. */ readonly previousRefName: Scalars['String']; @@ -2034,6 +2137,7 @@ type GITHUB_BaseRefDeletedEvent = GITHUB_Node & { readonly baseRefName: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the BaseRefDeletedEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: Maybe; @@ -2049,6 +2153,7 @@ type GITHUB_BaseRefForcePushedEvent = GITHUB_Node & { readonly beforeCommit: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the BaseRefForcePushedEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: GITHUB_PullRequest; @@ -2084,6 +2189,7 @@ type GITHUB_Blob = GITHUB_GitObject & GITHUB_Node & { readonly commitResourcePath: Scalars['GITHUB_URI']; /** The HTTP URL for this Git object */ readonly commitUrl: Scalars['GITHUB_URI']; + /** The Node ID of the Blob object */ readonly id: Scalars['ID']; /** Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding. */ readonly isBinary: Maybe; @@ -2105,6 +2211,7 @@ type GITHUB_Bot = GITHUB_Actor & GITHUB_Node & GITHUB_UniformResourceLocatable & readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the Bot object */ readonly id: Scalars['ID']; /** The username of the actor. */ readonly login: Scalars['String']; @@ -2125,6 +2232,30 @@ type GITHUB_Bot_avatarUrlArgs = { /** Types which can be actors for `BranchActorAllowance` objects. */ type GITHUB_BranchActorAllowanceActor = GITHUB_App | GITHUB_Team | GITHUB_User; +/** Parameters to be used for the branch_name_pattern rule */ +type GITHUB_BranchNamePatternParameters = { + /** How this rule will appear to users. */ + readonly name: Maybe; + /** If true, the rule will fail if the pattern matches. */ + readonly negate: Scalars['Boolean']; + /** The operator to use for matching. */ + readonly operator: Scalars['String']; + /** The pattern to match with. */ + readonly pattern: Scalars['String']; +}; + +/** Parameters to be used for the branch_name_pattern rule */ +type GITHUB_BranchNamePatternParametersInput = { + /** How this rule will appear to users. */ + readonly name: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + readonly negate: InputMaybe; + /** The operator to use for matching. */ + readonly operator: Scalars['String']; + /** The pattern to match with. */ + readonly pattern: Scalars['String']; +}; + /** A branch protection rule. */ type GITHUB_BranchProtectionRule = GITHUB_Node & { /** Can this branch be deleted. */ @@ -2145,9 +2276,14 @@ type GITHUB_BranchProtectionRule = GITHUB_Node & { readonly databaseId: Maybe; /** Will new commits pushed to matching branches dismiss pull request review approvals. */ readonly dismissesStaleReviews: Scalars['Boolean']; + /** The Node ID of the BranchProtectionRule object */ readonly id: Scalars['ID']; - /** Can admins overwrite branch protection. */ + /** Can admins override branch protection. */ readonly isAdminEnforced: Scalars['Boolean']; + /** 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. */ + readonly lockAllowsFetchAndMerge: Scalars['Boolean']; + /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ + readonly lockBranch: Scalars['Boolean']; /** Repository refs that are protected by this rule */ readonly matchingRefs: GITHUB_RefConnection; /** Identifies the protection rule pattern. */ @@ -2156,8 +2292,12 @@ type GITHUB_BranchProtectionRule = GITHUB_Node & { readonly pushAllowances: GITHUB_PushAllowanceConnection; /** The repository associated with this branch protection rule. */ readonly repository: Maybe; + /** Whether the most recent push must be approved by someone other than the person who pushed it */ + readonly requireLastPushApproval: Scalars['Boolean']; /** Number of approving reviews required to update matching branches. */ readonly requiredApprovingReviewCount: Maybe; + /** List of required deployment environments that must be deployed successfully to update matching branches */ + readonly requiredDeploymentEnvironments: Maybe>>; /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ readonly requiredStatusCheckContexts: Maybe>>; /** List of required status checks that must pass for commits to be accepted to matching branches. */ @@ -2170,6 +2310,8 @@ type GITHUB_BranchProtectionRule = GITHUB_Node & { readonly requiresCommitSignatures: Scalars['Boolean']; /** Are conversations required to be resolved before merging. */ readonly requiresConversationResolution: Scalars['Boolean']; + /** Does this branch require deployment to specific environments before merging */ + readonly requiresDeployments: Scalars['Boolean']; /** Are merge commits prohibited from being pushed to this branch. */ readonly requiresLinearHistory: Scalars['Boolean']; /** Are status checks required to update matching branches. */ @@ -2289,12 +2431,26 @@ type GITHUB_BranchProtectionRuleEdge = { readonly 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. */ +type GITHUB_BulkSponsorship = { + /** The amount to pay to the sponsorable in US dollars. Valid values: 1-12000. */ + readonly amount: Scalars['Int']; + /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ + readonly sponsorableId: InputMaybe; + /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ + readonly sponsorableLogin: InputMaybe; +}; + +/** Types that can represent a repository ruleset bypass actor. */ +type GITHUB_BypassActor = GITHUB_App | GITHUB_Team; + /** A user, team, or app who has the ability to bypass a force push requirement on a protected branch. */ type GITHUB_BypassForcePushAllowance = GITHUB_Node & { /** The actor that can force push. */ readonly actor: Maybe; /** Identifies the branch protection rule associated with the allowed user, team, or app. */ readonly branchProtectionRule: Maybe; + /** The Node ID of the BypassForcePushAllowance object */ readonly id: Scalars['ID']; }; @@ -2324,6 +2480,7 @@ type GITHUB_BypassPullRequestAllowance = GITHUB_Node & { readonly actor: Maybe; /** Identifies the branch protection rule associated with the allowed user, team, or app. */ readonly branchProtectionRule: Maybe; + /** The Node ID of the BypassPullRequestAllowance object */ readonly id: Scalars['ID']; }; @@ -2361,6 +2518,7 @@ type GITHUB_CWE = GITHUB_Node & { readonly cweId: Scalars['String']; /** A detailed description of this CWE */ readonly description: Scalars['String']; + /** The Node ID of the CWE object */ readonly id: Scalars['ID']; /** The name of this CWE */ readonly name: Scalars['String']; @@ -2582,6 +2740,7 @@ type GITHUB_CheckRun = GITHUB_Node & GITHUB_RequirableByPullRequest & GITHUB_Uni readonly detailsUrl: Maybe; /** A reference for the check run on the integrator's system. */ readonly externalId: Maybe; + /** The Node ID of the CheckRun object */ readonly id: Scalars['ID']; /** Whether this is required to pass before merging for a specific pull request. */ readonly isRequired: Scalars['Boolean']; @@ -2675,8 +2834,12 @@ type GITHUB_CheckRunFilter = { readonly checkName: InputMaybe; /** Filters the check runs by this type. */ readonly checkType: InputMaybe; - /** Filters the check runs by this status. */ + /** Filters the check runs by these conclusions. */ + readonly conclusions: InputMaybe>; + /** Filters the check runs by this status. Superceded by statuses. */ readonly status: InputMaybe; + /** Filters the check runs by this status. Overrides status. */ + readonly statuses: InputMaybe>; }; /** Descriptive details about the check run. */ @@ -2703,6 +2866,45 @@ type GITHUB_CheckRunOutputImage = { readonly imageUrl: Scalars['GITHUB_URI']; }; +/** The possible states of a check run in a status rollup. */ +type GITHUB_CheckRunState = + /** The check run requires action. */ + | 'ACTION_REQUIRED' + /** The check run has been cancelled. */ + | 'CANCELLED' + /** The check run has been completed. */ + | 'COMPLETED' + /** The check run has failed. */ + | 'FAILURE' + /** The check run is in progress. */ + | 'IN_PROGRESS' + /** The check run was neutral. */ + | 'NEUTRAL' + /** The check run is in pending state. */ + | 'PENDING' + /** The check run has been queued. */ + | 'QUEUED' + /** The check run was skipped. */ + | 'SKIPPED' + /** The check run was marked stale by GitHub. Only GitHub can use this conclusion. */ + | 'STALE' + /** The check run has failed at startup. */ + | 'STARTUP_FAILURE' + /** The check run has succeeded. */ + | 'SUCCESS' + /** The check run has timed out. */ + | 'TIMED_OUT' + /** The check run is in waiting state. */ + | 'WAITING'; + +/** Represents a count of the state of a check run. */ +type GITHUB_CheckRunStateCount = { + /** The number of check runs with this state. */ + readonly count: Scalars['Int']; + /** The state of a check run. */ + readonly state: GITHUB_CheckRunState; +}; + /** The possible types of check runs. */ type GITHUB_CheckRunType = /** Every check run available. */ @@ -2783,6 +2985,7 @@ type GITHUB_CheckSuite = GITHUB_Node & { readonly creator: Maybe; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the CheckSuite object */ readonly id: Scalars['ID']; /** A list of open pull requests matching the check suite. */ readonly matchingPullRequests: Maybe; @@ -2862,6 +3065,9 @@ type GITHUB_CheckSuiteFilter = { readonly checkName: InputMaybe; }; +/** An object which can have its data claimed or claim data from another. */ +type GITHUB_Claimable = GITHUB_Mannequin | GITHUB_User; + /** Autogenerated input type of ClearLabelsFromLabelable */ type GITHUB_ClearLabelsFromLabelableInput = { /** A unique identifier for the client performing the mutation. */ @@ -2878,6 +3084,26 @@ type GITHUB_ClearLabelsFromLabelablePayload = { readonly labelable: Maybe; }; +/** Autogenerated input type of ClearProjectV2ItemFieldValue */ +type GITHUB_ClearProjectV2ItemFieldValueInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the field to be cleared. */ + readonly fieldId: Scalars['ID']; + /** The ID of the item to be cleared. */ + readonly itemId: Scalars['ID']; + /** The ID of the Project. */ + readonly projectId: Scalars['ID']; +}; + +/** Autogenerated return type of ClearProjectV2ItemFieldValue */ +type GITHUB_ClearProjectV2ItemFieldValuePayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The updated item. */ + readonly projectV2Item: Maybe; +}; + /** Autogenerated input type of CloneProject */ type GITHUB_CloneProjectInput = { /** The description of the project. */ @@ -2934,10 +3160,32 @@ type GITHUB_CloneTemplateRepositoryPayload = { /** An object that can be closed */ type GITHUB_Closable = { - /** `true` if the object is closed (definition of closed may depend on type) */ + /** Indicates if the object is closed (definition of closed may depend on type) */ readonly closed: Scalars['Boolean']; /** Identifies the date and time when the object was closed. */ readonly closedAt: Maybe; + /** Indicates if the object can be closed by the viewer. */ + readonly viewerCanClose: Scalars['Boolean']; + /** Indicates if the object can be reopened by the viewer. */ + readonly viewerCanReopen: Scalars['Boolean']; +}; + +/** Autogenerated input type of CloseDiscussion */ +type GITHUB_CloseDiscussionInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** ID of the discussion to be closed. */ + readonly discussionId: Scalars['ID']; + /** The reason why the discussion is being closed. */ + readonly reason: InputMaybe; +}; + +/** Autogenerated return type of CloseDiscussion */ +type GITHUB_CloseDiscussionPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The discussion that was closed. */ + readonly discussion: Maybe; }; /** Autogenerated input type of CloseIssue */ @@ -2984,6 +3232,7 @@ type GITHUB_ClosedEvent = GITHUB_Node & GITHUB_UniformResourceLocatable & { readonly closer: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the ClosedEvent object */ readonly id: Scalars['ID']; /** The HTTP path for this closed event. */ readonly resourcePath: Scalars['GITHUB_URI']; @@ -3000,6 +3249,7 @@ type GITHUB_Closer = GITHUB_Commit | GITHUB_PullRequest; type GITHUB_CodeOfConduct = GITHUB_Node & { /** The body of the Code of Conduct */ readonly body: Maybe; + /** The Node ID of the CodeOfConduct object */ readonly id: Scalars['ID']; /** The key for the Code of Conduct */ readonly key: Scalars['String']; @@ -3038,6 +3288,7 @@ type GITHUB_Comment = { readonly createdViaEmail: Scalars['Boolean']; /** The actor who edited the comment. */ readonly editor: Maybe; + /** The Node ID of the Comment object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; @@ -3108,6 +3359,7 @@ type GITHUB_CommentDeletedEvent = GITHUB_Node & { readonly databaseId: Maybe; /** The user who authored the deleted comment. */ readonly deletedCommentAuthor: Maybe; + /** The Node ID of the CommentDeletedEvent object */ readonly id: Scalars['ID']; }; @@ -3133,8 +3385,13 @@ type GITHUB_Commit = GITHUB_GitObject & GITHUB_Node & GITHUB_Subscribable & GITH readonly authors: GITHUB_GitActorConnection; /** Fetches `git blame` information. */ readonly blame: GITHUB_Blame; - /** The number of changed files in this commit. */ + /** + * We recommend using the `changedFilesIfAvailable` 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. + */ readonly changedFiles: Scalars['Int']; + /** 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`. */ + readonly changedFilesIfAvailable: Maybe; /** The check suites associated with a commit. */ readonly checkSuites: Maybe; /** Comments made on the commit. */ @@ -3157,6 +3414,7 @@ type GITHUB_Commit = GITHUB_GitObject & GITHUB_Node & GITHUB_Subscribable & GITH readonly file: Maybe; /** The linear commit history starting from (and including) this commit, in the same order as `git log`. */ readonly history: GITHUB_CommitHistoryConnection; + /** The Node ID of the Commit object */ readonly id: Scalars['ID']; /** The Git commit message */ readonly message: Scalars['String']; @@ -3174,7 +3432,10 @@ type GITHUB_Commit = GITHUB_GitObject & GITHUB_Node & GITHUB_Subscribable & GITH readonly onBehalfOf: Maybe; /** The parents of a commit. */ readonly parents: GITHUB_CommitConnection; - /** The datetime when this commit was pushed. */ + /** + * The datetime when this commit was pushed. + * @deprecated `pushedDate` is no longer supported. Removal on 2023-07-01 UTC. + */ readonly pushedDate: Maybe; /** The Repository this commit belongs to */ readonly repository: GITHUB_Repository; @@ -3312,6 +3573,30 @@ type GITHUB_CommitAuthor = { readonly id: InputMaybe; }; +/** Parameters to be used for the commit_author_email_pattern rule */ +type GITHUB_CommitAuthorEmailPatternParameters = { + /** How this rule will appear to users. */ + readonly name: Maybe; + /** If true, the rule will fail if the pattern matches. */ + readonly negate: Scalars['Boolean']; + /** The operator to use for matching. */ + readonly operator: Scalars['String']; + /** The pattern to match with. */ + readonly pattern: Scalars['String']; +}; + +/** Parameters to be used for the commit_author_email_pattern rule */ +type GITHUB_CommitAuthorEmailPatternParametersInput = { + /** How this rule will appear to users. */ + readonly name: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + readonly negate: InputMaybe; + /** The operator to use for matching. */ + readonly operator: Scalars['String']; + /** The pattern to match with. */ + readonly pattern: Scalars['String']; +}; + /** Represents a comment on a given Commit. */ type GITHUB_CommitComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minimizable & GITHUB_Node & GITHUB_Reactable & GITHUB_RepositoryNode & GITHUB_Updatable & GITHUB_UpdatableComment & { /** The actor who authored the comment. */ @@ -3334,6 +3619,7 @@ type GITHUB_CommitComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minimizab readonly databaseId: Maybe; /** The actor who edited the comment. */ readonly editor: Maybe; + /** The Node ID of the CommitComment object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; @@ -3341,7 +3627,7 @@ type GITHUB_CommitComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minimizab readonly isMinimized: Scalars['Boolean']; /** The moment the editor made the last edit */ readonly lastEditedAt: Maybe; - /** Returns why the comment was minimized. */ + /** 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. */ readonly minimizedReason: Maybe; /** Identifies the file path associated with the comment. */ readonly path: Maybe; @@ -3423,6 +3709,7 @@ type GITHUB_CommitCommentThread = GITHUB_Node & GITHUB_RepositoryNode & { readonly comments: GITHUB_CommitCommentConnection; /** The commit the comments were made on. */ readonly commit: Maybe; + /** The Node ID of the CommitCommentThread object */ readonly id: Scalars['ID']; /** The file the comments were made on. */ readonly path: Maybe; @@ -3518,6 +3805,30 @@ type GITHUB_CommitMessage = { readonly headline: Scalars['String']; }; +/** Parameters to be used for the commit_message_pattern rule */ +type GITHUB_CommitMessagePatternParameters = { + /** How this rule will appear to users. */ + readonly name: Maybe; + /** If true, the rule will fail if the pattern matches. */ + readonly negate: Scalars['Boolean']; + /** The operator to use for matching. */ + readonly operator: Scalars['String']; + /** The pattern to match with. */ + readonly pattern: Scalars['String']; +}; + +/** Parameters to be used for the commit_message_pattern rule */ +type GITHUB_CommitMessagePatternParametersInput = { + /** How this rule will appear to users. */ + readonly name: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + readonly negate: InputMaybe; + /** The operator to use for matching. */ + readonly operator: Scalars['String']; + /** The pattern to match with. */ + readonly pattern: Scalars['String']; +}; + /** * A git ref for a commit to be appended to. * @@ -3526,7 +3837,7 @@ type GITHUB_CommitMessage = { * qualified). * * The Ref may be specified by its global node ID or by the - * repository nameWithOwner and branch name. + * `repositoryNameWithOwner` and `branchName`. * * ### Examples * @@ -3534,10 +3845,10 @@ type GITHUB_CommitMessage = { * * { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } * - * Specify a branch using nameWithOwner and branch name: + * Specify a branch using `repositoryNameWithOwner` and `branchName`: * * { - * "nameWithOwner": "github/graphql-client", + * "repositoryNameWithOwner": "github/graphql-client", * "branchName": "main" * } * @@ -3552,23 +3863,110 @@ type GITHUB_CommittableBranch = { readonly repositoryNameWithOwner: InputMaybe; }; -/** Represents a 'connected' event on a given issue or pull request. */ -type GITHUB_ConnectedEvent = GITHUB_Node & { - /** Identifies the actor who performed the event. */ - readonly actor: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['GITHUB_DateTime']; +/** Parameters to be used for the committer_email_pattern rule */ +type GITHUB_CommitterEmailPatternParameters = { + /** How this rule will appear to users. */ + readonly name: Maybe; + /** If true, the rule will fail if the pattern matches. */ + readonly negate: Scalars['Boolean']; + /** The operator to use for matching. */ + readonly operator: Scalars['String']; + /** The pattern to match with. */ + readonly pattern: Scalars['String']; +}; + +/** Parameters to be used for the committer_email_pattern rule */ +type GITHUB_CommitterEmailPatternParametersInput = { + /** How this rule will appear to users. */ + readonly name: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + readonly negate: InputMaybe; + /** The operator to use for matching. */ + readonly operator: Scalars['String']; + /** The pattern to match with. */ + readonly pattern: Scalars['String']; +}; + +/** Represents a comparison between two commit revisions. */ +type GITHUB_Comparison = GITHUB_Node & { + /** The number of commits ahead of the base branch. */ + readonly aheadBy: Scalars['Int']; + /** The base revision of this comparison. */ + readonly baseTarget: GITHUB_GitObject; + /** The number of commits behind the base branch. */ + readonly behindBy: Scalars['Int']; + /** The commits which compose this comparison. */ + readonly commits: GITHUB_ComparisonCommitConnection; + /** The head revision of this comparison. */ + readonly headTarget: GITHUB_GitObject; + /** The Node ID of the Comparison object */ readonly id: Scalars['ID']; - /** Reference originated in a different repository. */ - readonly isCrossRepository: Scalars['Boolean']; - /** Issue or pull request that made the reference. */ - readonly source: GITHUB_ReferencedSubject; - /** Issue or pull request which was connected. */ - readonly subject: GITHUB_ReferencedSubject; + /** The status of this comparison. */ + readonly status: GITHUB_ComparisonStatus; }; -/** Represents a contribution a user made on GitHub, such as opening an issue. */ -type GITHUB_Contribution = { + +/** Represents a comparison between two commit revisions. */ +type GITHUB_Comparison_commitsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; +}; + +/** The connection type for Commit. */ +type GITHUB_ComparisonCommitConnection = { + /** The total count of authors and co-authors across all commits. */ + readonly authorCount: Scalars['Int']; + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** The status of a git comparison between two refs. */ +type GITHUB_ComparisonStatus = + /** The head ref is ahead of the base ref. */ + | 'AHEAD' + /** The head ref is behind the base ref. */ + | 'BEHIND' + /** The head ref is both ahead and behind of the base ref, indicating git history has diverged. */ + | 'DIVERGED' + /** The head ref and base ref are identical. */ + | 'IDENTICAL'; + +/** Represents a 'connected' event on a given issue or pull request. */ +type GITHUB_ConnectedEvent = GITHUB_Node & { + /** Identifies the actor who performed the event. */ + readonly actor: Maybe; + /** Identifies the date and time when the object was created. */ + readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the ConnectedEvent object */ + readonly id: Scalars['ID']; + /** Reference originated in a different repository. */ + readonly isCrossRepository: Scalars['Boolean']; + /** Issue or pull request that made the reference. */ + readonly source: GITHUB_ReferencedSubject; + /** Issue or pull request which was connected. */ + readonly subject: GITHUB_ReferencedSubject; +}; + +/** The Contributing Guidelines for a repository. */ +type GITHUB_ContributingGuidelines = { + /** The body of the Contributing Guidelines. */ + readonly body: Maybe; + /** The HTTP path for the Contributing Guidelines. */ + readonly resourcePath: Maybe; + /** The HTTP URL for the Contributing Guidelines. */ + readonly url: Maybe; +}; + +/** Represents a contribution a user made on GitHub, such as opening an issue. */ +type GITHUB_Contribution = { /** * 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 @@ -3910,6 +4308,7 @@ type GITHUB_ConvertToDraftEvent = GITHUB_Node & GITHUB_UniformResourceLocatable readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the ConvertToDraftEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: GITHUB_PullRequest; @@ -3927,6 +4326,7 @@ type GITHUB_ConvertedNoteToIssueEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the ConvertedNoteToIssueEvent object */ readonly id: Scalars['ID']; }; @@ -3938,9 +4338,56 @@ type GITHUB_ConvertedToDiscussionEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The discussion that the issue was converted into. */ readonly discussion: Maybe; + /** The Node ID of the ConvertedToDiscussionEvent object */ readonly id: Scalars['ID']; }; +/** Autogenerated input type of CopyProjectV2 */ +type GITHUB_CopyProjectV2Input = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** Include draft issues in the new project */ + readonly includeDraftIssues: InputMaybe; + /** The owner ID of the new project. */ + readonly ownerId: Scalars['ID']; + /** The ID of the source Project to copy. */ + readonly projectId: Scalars['ID']; + /** The title of the project. */ + readonly title: Scalars['String']; +}; + +/** Autogenerated return type of CopyProjectV2 */ +type GITHUB_CopyProjectV2Payload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The copied project. */ + readonly projectV2: Maybe; +}; + +/** Autogenerated input type of CreateAttributionInvitation */ +type GITHUB_CreateAttributionInvitationInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The Node ID of the owner scoping the reattributable data. */ + readonly ownerId: Scalars['ID']; + /** The Node ID of the account owning the data to reattribute. */ + readonly sourceId: Scalars['ID']; + /** The Node ID of the account which may claim the data. */ + readonly targetId: Scalars['ID']; +}; + +/** Autogenerated return type of CreateAttributionInvitation */ +type GITHUB_CreateAttributionInvitationPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The owner scoping the reattributable data. */ + readonly owner: Maybe; + /** The account owning the data to reattribute. */ + readonly source: Maybe; + /** The account which may claim the data. */ + readonly target: Maybe; +}; + /** Autogenerated input type of CreateBranchProtectionRule */ type GITHUB_CreateBranchProtectionRuleInput = { /** Can this branch be deleted. */ @@ -3957,16 +4404,24 @@ type GITHUB_CreateBranchProtectionRuleInput = { readonly clientMutationId: InputMaybe; /** Will new commits pushed to matching branches dismiss pull request review approvals. */ readonly dismissesStaleReviews: InputMaybe; - /** Can admins overwrite branch protection. */ + /** Can admins override branch protection. */ readonly 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. */ + readonly lockAllowsFetchAndMerge: InputMaybe; + /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ + readonly lockBranch: InputMaybe; /** The glob-like pattern used to determine matching branches. */ readonly pattern: Scalars['String']; /** A list of User, Team, or App IDs allowed to push to matching branches. */ readonly pushActorIds: InputMaybe>; /** The global relay id of the repository in which a new branch protection rule should be created in. */ readonly repositoryId: Scalars['ID']; + /** Whether the most recent push must be approved by someone other than the person who pushed it */ + readonly requireLastPushApproval: InputMaybe; /** Number of approving reviews required to update matching branches. */ readonly requiredApprovingReviewCount: InputMaybe; + /** The list of required deployment environments */ + readonly requiredDeploymentEnvironments: InputMaybe>; /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ readonly requiredStatusCheckContexts: InputMaybe>; /** The list of required status checks */ @@ -3979,6 +4434,8 @@ type GITHUB_CreateBranchProtectionRuleInput = { readonly requiresCommitSignatures: InputMaybe; /** Are conversations required to be resolved before merging. */ readonly requiresConversationResolution: InputMaybe; + /** Are successful deployments required before merging. */ + readonly requiresDeployments: InputMaybe; /** Are merge commits prohibited from being pushed to this branch. */ readonly requiresLinearHistory: InputMaybe; /** Are status checks required to update matching branches. */ @@ -4197,29 +4654,53 @@ type GITHUB_CreateIssuePayload = { readonly issue: Maybe; }; +/** Autogenerated input type of CreateLinkedBranch */ +type GITHUB_CreateLinkedBranchInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** ID of the issue to link to. */ + readonly issueId: Scalars['ID']; + /** The name of the new branch. Defaults to issue number and title. */ + readonly name: InputMaybe; + /** The commit SHA to base the new branch on. */ + readonly oid: Scalars['GITHUB_GitObjectID']; + /** ID of the repository to create the branch in. Defaults to the issue repository. */ + readonly repositoryId: InputMaybe; +}; + +/** Autogenerated return type of CreateLinkedBranch */ +type GITHUB_CreateLinkedBranchPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The issue that was linked to. */ + readonly issue: Maybe; + /** The new branch issue reference. */ + readonly linkedBranch: Maybe; +}; + /** Autogenerated input type of CreateMigrationSource */ type GITHUB_CreateMigrationSourceInput = { - /** The Octoshift migration source access token. */ + /** The migration source access token. */ readonly accessToken: InputMaybe; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; /** The GitHub personal access token of the user importing to the target repository. */ readonly githubPat: InputMaybe; - /** The Octoshift migration source name. */ + /** The migration source name. */ readonly name: Scalars['String']; - /** The ID of the organization that will own the Octoshift migration source. */ + /** The ID of the organization that will own the migration source. */ readonly ownerId: Scalars['ID']; - /** The Octoshift migration source type. */ + /** The migration source type. */ readonly type: GITHUB_MigrationSourceType; - /** The Octoshift migration source URL. */ - readonly url: Scalars['String']; + /** The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. */ + readonly url: InputMaybe; }; /** Autogenerated return type of CreateMigrationSource */ type GITHUB_CreateMigrationSourcePayload = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: Maybe; - /** The created Octoshift migration source. */ + /** The created migration source. */ readonly migrationSource: Maybe; }; @@ -4247,12 +4728,38 @@ type GITHUB_CreateProjectPayload = { readonly project: Maybe; }; +/** Autogenerated input type of CreateProjectV2Field */ +type GITHUB_CreateProjectV2FieldInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The data type of the field. */ + readonly dataType: GITHUB_ProjectV2CustomFieldType; + /** The name of the field. */ + readonly name: Scalars['String']; + /** The ID of the Project to create the field in. */ + readonly projectId: Scalars['ID']; + /** Options for a single select field. At least one value is required if data_type is SINGLE_SELECT */ + readonly singleSelectOptions: InputMaybe>; +}; + +/** Autogenerated return type of CreateProjectV2Field */ +type GITHUB_CreateProjectV2FieldPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The new field. */ + readonly projectV2Field: Maybe; +}; + /** Autogenerated input type of CreateProjectV2 */ type GITHUB_CreateProjectV2Input = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; /** The owner ID to create the project under. */ readonly ownerId: Scalars['ID']; + /** The repository to link the project to. */ + readonly repositoryId: InputMaybe; + /** The team to link the project to. The team will be granted read permissions. */ + readonly teamId: InputMaybe; /** The title of the project. */ readonly title: Scalars['String']; }; @@ -4286,6 +4793,8 @@ type GITHUB_CreatePullRequestInput = { * */ readonly headRefName: Scalars['String']; + /** The Node ID of the head repository. */ + readonly headRepositoryId: InputMaybe; /** Indicates whether maintainers can modify the pull request. */ readonly maintainerCanModify: InputMaybe; /** The Node ID of the repository. */ @@ -4354,6 +4863,62 @@ type GITHUB_CreateRepositoryPayload = { readonly repository: Maybe; }; +/** Autogenerated input type of CreateRepositoryRuleset */ +type GITHUB_CreateRepositoryRulesetInput = { + /** A list of actors that are allowed to bypass rules in this ruleset. */ + readonly bypassActors: InputMaybe>; + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The set of conditions for this ruleset */ + readonly conditions: GITHUB_RepositoryRuleConditionsInput; + /** The enforcement level for this ruleset */ + readonly enforcement: GITHUB_RuleEnforcement; + /** The name of the ruleset. */ + readonly name: Scalars['String']; + /** The list of rules for this ruleset */ + readonly rules: InputMaybe>; + /** The global relay id of the source in which a new ruleset should be created in. */ + readonly sourceId: Scalars['ID']; + /** The target of the ruleset. */ + readonly target: InputMaybe; +}; + +/** Autogenerated return type of CreateRepositoryRuleset */ +type GITHUB_CreateRepositoryRulesetPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The newly created Ruleset. */ + readonly ruleset: Maybe; +}; + +/** Autogenerated input type of CreateSponsorsListing */ +type GITHUB_CreateSponsorsListingInput = { + /** The country or region where the sponsorable's bank account is located. Required if fiscalHostLogin is not specified, ignored when fiscalHostLogin is specified. */ + readonly billingCountryOrRegionCode: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + readonly 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. */ + readonly 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. */ + readonly 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. */ + readonly 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. */ + readonly 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. */ + readonly 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. */ + readonly sponsorableLogin: InputMaybe; +}; + +/** Autogenerated return type of CreateSponsorsListing */ +type GITHUB_CreateSponsorsListingPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The new GitHub Sponsors profile. */ + readonly sponsorsListing: Maybe; +}; + /** Autogenerated input type of CreateSponsorsTier */ type GITHUB_CreateSponsorsTierInput = { /** The value of the new tier in US dollars. Valid values: 1-12000. */ @@ -4420,46 +4985,138 @@ type GITHUB_CreateSponsorshipPayload = { readonly sponsorship: Maybe; }; +/** Autogenerated input type of CreateSponsorships */ +type GITHUB_CreateSponsorshipsInput = { + /** A unique identifier for the client performing the mutation. */ + readonly 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. */ + readonly privacyLevel: InputMaybe; + /** Whether the sponsor should receive email updates from the sponsorables. */ + readonly receiveEmails: InputMaybe; + /** The username of the user or organization who is acting as the sponsor, paying for the sponsorships. */ + readonly sponsorLogin: Scalars['String']; + /** The list of maintainers to sponsor and for how much apiece. */ + readonly sponsorships: ReadonlyArray; +}; + +/** Autogenerated return type of CreateSponsorships */ +type GITHUB_CreateSponsorshipsPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The users and organizations who received a sponsorship. */ + readonly sponsorables: Maybe>; +}; + /** Autogenerated input type of CreateTeamDiscussionComment */ type GITHUB_CreateTeamDiscussionCommentInput = { - /** The content of the comment. */ - readonly body: Scalars['String']; + /** + * The content of the comment. This field is required. + * + * **Upcoming Change on 2024-07-01 UTC** + * **Description:** `body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. + * + */ + readonly body: InputMaybe; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** The ID of the discussion to which the comment belongs. */ - readonly discussionId: Scalars['ID']; + /** + * The ID of the discussion to which the comment belongs. This field is required. + * + * **Upcoming Change on 2024-07-01 UTC** + * **Description:** `discussionId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. + * + */ + readonly discussionId: InputMaybe; }; /** Autogenerated return type of CreateTeamDiscussionComment */ type GITHUB_CreateTeamDiscussionCommentPayload = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: Maybe; - /** The new comment. */ + /** + * The new comment. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly teamDiscussionComment: Maybe; }; /** Autogenerated input type of CreateTeamDiscussion */ type GITHUB_CreateTeamDiscussionInput = { - /** The content of the discussion. */ - readonly body: Scalars['String']; + /** + * The content of the discussion. This field is required. + * + * **Upcoming Change on 2024-07-01 UTC** + * **Description:** `body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. + * + */ + readonly body: InputMaybe; /** A unique identifier for the client performing the mutation. */ readonly 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. */ + /** + * If true, restricts the visibility of this discussion to team members and organization owners. If false or not specified, allows any organization member to view this discussion. + * + * **Upcoming Change on 2024-07-01 UTC** + * **Description:** `private` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. + * + */ readonly private: InputMaybe; - /** The ID of the team to which the discussion belongs. */ - readonly teamId: Scalars['ID']; - /** The title of the discussion. */ - readonly title: Scalars['String']; + /** + * The ID of the team to which the discussion belongs. This field is required. + * + * **Upcoming Change on 2024-07-01 UTC** + * **Description:** `teamId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. + * + */ + readonly teamId: InputMaybe; + /** + * The title of the discussion. This field is required. + * + * **Upcoming Change on 2024-07-01 UTC** + * **Description:** `title` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. + * + */ + readonly title: InputMaybe; }; /** Autogenerated return type of CreateTeamDiscussion */ type GITHUB_CreateTeamDiscussionPayload = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: Maybe; - /** The new discussion. */ + /** + * The new discussion. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly teamDiscussion: Maybe; }; +/** Autogenerated input type of CreateUserList */ +type GITHUB_CreateUserListInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** A description of the list */ + readonly description: InputMaybe; + /** Whether or not the list is private */ + readonly isPrivate: InputMaybe; + /** The name of the new list */ + readonly name: Scalars['String']; +}; + +/** Autogenerated return type of CreateUserList */ +type GITHUB_CreateUserListPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The list that was just created */ + readonly list: Maybe; + /** The user who created the list */ + readonly viewer: Maybe; +}; + /** Represents the contribution a user made by committing to a repository. */ type GITHUB_CreatedCommitContribution = GITHUB_Contribution & { /** How many commits were made on this day to this repository by the user. */ @@ -4704,6 +5361,7 @@ type GITHUB_CrossReferencedEvent = GITHUB_Node & GITHUB_UniformResourceLocatable readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the CrossReferencedEvent object */ readonly id: Scalars['ID']; /** Reference originated in a different repository. */ readonly isCrossRepository: Scalars['Boolean']; @@ -4725,19 +5383,43 @@ type GITHUB_CrossReferencedEvent = GITHUB_Node & GITHUB_UniformResourceLocatable type GITHUB_DeclineTopicSuggestionInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** The name of the suggested topic. */ - readonly name: Scalars['String']; - /** The reason why the suggested topic is declined. */ - readonly reason: GITHUB_TopicSuggestionDeclineReason; - /** The Node ID of the repository. */ - readonly repositoryId: Scalars['ID']; + /** + * The name of the suggested topic. + * + * **Upcoming Change on 2024-04-01 UTC** + * **Description:** `name` will be removed. + * **Reason:** Suggested topics are no longer supported + * + */ + readonly name: InputMaybe; + /** + * The reason why the suggested topic is declined. + * + * **Upcoming Change on 2024-04-01 UTC** + * **Description:** `reason` will be removed. + * **Reason:** Suggested topics are no longer supported + * + */ + readonly reason: InputMaybe; + /** + * The Node ID of the repository. + * + * **Upcoming Change on 2024-04-01 UTC** + * **Description:** `repositoryId` will be removed. + * **Reason:** Suggested topics are no longer supported + * + */ + readonly repositoryId: InputMaybe; }; /** Autogenerated return type of DeclineTopicSuggestion */ type GITHUB_DeclineTopicSuggestionPayload = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: Maybe; - /** The declined topic. */ + /** + * The declined topic. + * @deprecated Suggested topics are no longer supported Removal on 2024-04-01 UTC. + */ readonly topic: Maybe; }; @@ -4878,6 +5560,22 @@ type GITHUB_DeleteIssuePayload = { readonly repository: Maybe; }; +/** Autogenerated input type of DeleteLinkedBranch */ +type GITHUB_DeleteLinkedBranchInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the linked branch */ + readonly linkedBranchId: Scalars['ID']; +}; + +/** Autogenerated return type of DeleteLinkedBranch */ +type GITHUB_DeleteLinkedBranchPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The issue the linked branch was unlinked from. */ + readonly issue: Maybe; +}; + /** Autogenerated input type of DeleteProjectCard */ type GITHUB_DeleteProjectCardInput = { /** The id of the card to delete. */ @@ -4922,47 +5620,36 @@ type GITHUB_DeleteProjectInput = { readonly projectId: Scalars['ID']; }; -/** Autogenerated input type of DeleteProjectNextItem */ -type GITHUB_DeleteProjectNextItemInput = { +/** Autogenerated return type of DeleteProject */ +type GITHUB_DeleteProjectPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The repository or organization the project was removed from. */ + readonly owner: Maybe; +}; + +/** Autogenerated input type of DeleteProjectV2Field */ +type GITHUB_DeleteProjectV2FieldInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** - * The ID of the item to be removed. This field is required. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `itemId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly itemId: InputMaybe; - /** - * The ID of the Project from which the item should be removed. This field is required. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `projectId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly projectId: InputMaybe; + /** The ID of the field to delete. */ + readonly fieldId: Scalars['ID']; }; -/** Autogenerated return type of DeleteProjectNextItem */ -type GITHUB_DeleteProjectNextItemPayload = { +/** Autogenerated return type of DeleteProjectV2Field */ +type GITHUB_DeleteProjectV2FieldPayload = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: Maybe; - /** - * The ID of the deleted item. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly deletedItemId: Maybe; + /** The deleted field. */ + readonly projectV2Field: Maybe; }; -/** Autogenerated return type of DeleteProject */ -type GITHUB_DeleteProjectPayload = { +/** Autogenerated input type of DeleteProjectV2 */ +type GITHUB_DeleteProjectV2Input = { /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId: Maybe; - /** The repository or organization the project was removed from. */ - readonly owner: Maybe; + readonly clientMutationId: InputMaybe; + /** The ID of the Project to delete. */ + readonly projectId: Scalars['ID']; }; /** Autogenerated input type of DeleteProjectV2Item */ @@ -4983,6 +5670,32 @@ type GITHUB_DeleteProjectV2ItemPayload = { readonly deletedItemId: Maybe; }; +/** Autogenerated return type of DeleteProjectV2 */ +type GITHUB_DeleteProjectV2Payload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The deleted Project. */ + readonly projectV2: Maybe; +}; + +/** Autogenerated input type of DeleteProjectV2Workflow */ +type GITHUB_DeleteProjectV2WorkflowInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the workflow to be removed. */ + readonly workflowId: Scalars['ID']; +}; + +/** Autogenerated return type of DeleteProjectV2Workflow */ +type GITHUB_DeleteProjectV2WorkflowPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The ID of the deleted workflow. */ + readonly deletedWorkflowId: Maybe; + /** The project the deleted workflow was in. */ + readonly projectV2: Maybe; +}; + /** Autogenerated input type of DeletePullRequestReviewComment */ type GITHUB_DeletePullRequestReviewCommentInput = { /** A unique identifier for the client performing the mutation. */ @@ -4997,6 +5710,8 @@ type GITHUB_DeletePullRequestReviewCommentPayload = { readonly clientMutationId: Maybe; /** The pull request review the deleted comment belonged to. */ readonly pullRequestReview: Maybe; + /** The deleted pull request review comment. */ + readonly pullRequestReviewComment: Maybe; }; /** Autogenerated input type of DeletePullRequestReview */ @@ -5029,6 +5744,20 @@ type GITHUB_DeleteRefPayload = { readonly clientMutationId: Maybe; }; +/** Autogenerated input type of DeleteRepositoryRuleset */ +type GITHUB_DeleteRepositoryRulesetInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The global relay id of the repository ruleset to be deleted. */ + readonly repositoryRulesetId: Scalars['ID']; +}; + +/** Autogenerated return type of DeleteRepositoryRuleset */ +type GITHUB_DeleteRepositoryRulesetPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; +}; + /** Autogenerated input type of DeleteTeamDiscussionComment */ type GITHUB_DeleteTeamDiscussionCommentInput = { /** A unique identifier for the client performing the mutation. */ @@ -5057,6 +5786,22 @@ type GITHUB_DeleteTeamDiscussionPayload = { readonly clientMutationId: Maybe; }; +/** Autogenerated input type of DeleteUserList */ +type GITHUB_DeleteUserListInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the list to delete. */ + readonly listId: Scalars['ID']; +}; + +/** Autogenerated return type of DeleteUserList */ +type GITHUB_DeleteUserListPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The owner of the list that will be deleted */ + readonly user: Maybe; +}; + /** Autogenerated input type of DeleteVerifiableDomain */ type GITHUB_DeleteVerifiableDomainInput = { /** A unique identifier for the client performing the mutation. */ @@ -5079,6 +5824,7 @@ type GITHUB_DemilestonedEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the DemilestonedEvent object */ readonly id: Scalars['ID']; /** Identifies the milestone title associated with the 'demilestoned' event. */ readonly milestoneTitle: Scalars['String']; @@ -5122,15 +5868,20 @@ type GITHUB_DependencyGraphEcosystem = | 'NUGET' /** Python packages hosted at PyPI.org */ | 'PIP' + /** Dart packages hosted at pub.dev */ + | 'PUB' /** Ruby gems hosted at RubyGems.org */ | 'RUBYGEMS' /** Rust crates */ - | 'RUST'; + | 'RUST' + /** Swift packages */ + | 'SWIFT'; /** A repository deploy key. */ type GITHUB_DeployKey = GITHUB_Node & { /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the DeployKey object */ readonly id: Scalars['ID']; /** The deploy key. */ readonly key: Scalars['String']; @@ -5172,6 +5923,7 @@ type GITHUB_DeployedEvent = GITHUB_Node & { readonly databaseId: Maybe; /** The deployment associated with the 'deployed' event. */ readonly deployment: GITHUB_Deployment; + /** The Node ID of the DeployedEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: GITHUB_PullRequest; @@ -5195,6 +5947,7 @@ type GITHUB_Deployment = GITHUB_Node & { readonly description: Maybe; /** The latest environment to which this deployment was made. */ readonly environment: Maybe; + /** The Node ID of the Deployment object */ readonly id: Scalars['ID']; /** The latest environment to which this deployment was made. */ readonly latestEnvironment: Maybe; @@ -5255,6 +6008,7 @@ type GITHUB_DeploymentEnvironmentChangedEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The deployment status that updated the deployment environment. */ readonly deploymentStatus: GITHUB_DeploymentStatus; + /** The Node ID of the DeploymentEnvironmentChangedEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: GITHUB_PullRequest; @@ -5277,6 +6031,8 @@ type GITHUB_DeploymentOrderField = type GITHUB_DeploymentProtectionRule = { /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** Whether deployments to this environment can be approved by the user who created the deployment. */ + readonly preventSelfReview: Maybe; /** The teams or users that can review the deployment */ readonly reviewers: GITHUB_DeploymentReviewerConnection; /** The timeout in minutes for this protection rule. */ @@ -5372,6 +6128,7 @@ type GITHUB_DeploymentReview = GITHUB_Node & { readonly databaseId: Maybe; /** The environments approved or rejected */ readonly environments: GITHUB_EnvironmentConnection; + /** The Node ID of the DeploymentReview object */ readonly id: Scalars['ID']; /** The decision of the user. */ readonly state: GITHUB_DeploymentReviewState; @@ -5458,7 +6215,9 @@ type GITHUB_DeploymentState = | 'PENDING' /** The deployment has queued */ | 'QUEUED' - /** The deployment is waiting. */ + /** The deployment was successful. */ + | 'SUCCESS' + /** The deployment is waiting. */ | 'WAITING'; /** Describes the status of a given deployment attempt. */ @@ -5473,6 +6232,7 @@ type GITHUB_DeploymentStatus = GITHUB_Node & { readonly description: Maybe; /** Identifies the environment URL of the deployment. */ readonly environmentUrl: Maybe; + /** The Node ID of the DeploymentStatus object */ readonly id: Scalars['ID']; /** Identifies the log URL of the deployment. */ readonly logUrl: Maybe; @@ -5521,6 +6281,22 @@ type GITHUB_DeploymentStatusState = /** The deployment is waiting. */ | 'WAITING'; +/** Autogenerated input type of DequeuePullRequest */ +type GITHUB_DequeuePullRequestInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the pull request to be dequeued. */ + readonly id: Scalars['ID']; +}; + +/** Autogenerated return type of DequeuePullRequest */ +type GITHUB_DequeuePullRequestPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The merge queue entry of the dequeued pull request. */ + readonly mergeQueueEntry: Maybe; +}; + /** The possible sides of a diff. */ type GITHUB_DiffSide = /** The left side of the diff. */ @@ -5552,6 +6328,7 @@ type GITHUB_DisconnectedEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the DisconnectedEvent object */ readonly id: Scalars['ID']; /** Reference originated in a different repository. */ readonly isCrossRepository: Scalars['Boolean']; @@ -5562,7 +6339,7 @@ type GITHUB_DisconnectedEvent = GITHUB_Node & { }; /** A discussion in a repository. */ -type GITHUB_Discussion = GITHUB_Comment & GITHUB_Deletable & GITHUB_Labelable & GITHUB_Lockable & GITHUB_Node & GITHUB_Reactable & GITHUB_RepositoryNode & GITHUB_Subscribable & GITHUB_Updatable & GITHUB_Votable & { +type GITHUB_Discussion = GITHUB_Closable & GITHUB_Comment & GITHUB_Deletable & GITHUB_Labelable & GITHUB_Lockable & GITHUB_Node & GITHUB_Reactable & GITHUB_RepositoryNode & GITHUB_Subscribable & GITHUB_Updatable & GITHUB_Votable & { /** Reason that the conversation was locked. */ readonly activeLockReason: Maybe; /** The comment chosen as this discussion's answer, if any. */ @@ -5583,6 +6360,10 @@ type GITHUB_Discussion = GITHUB_Comment & GITHUB_Deletable & GITHUB_Labelable & readonly bodyText: Scalars['String']; /** The category for this discussion. */ readonly category: GITHUB_DiscussionCategory; + /** Indicates if the object is closed (definition of closed may depend on type) */ + readonly closed: Scalars['Boolean']; + /** Identifies the date and time when the object was closed. */ + readonly closedAt: Maybe; /** The replies to the discussion. */ readonly comments: GITHUB_DiscussionCommentConnection; /** Identifies the date and time when the object was created. */ @@ -5593,9 +6374,12 @@ type GITHUB_Discussion = GITHUB_Comment & GITHUB_Deletable & GITHUB_Labelable & readonly databaseId: Maybe; /** The actor who edited the comment. */ readonly editor: Maybe; + /** The Node ID of the Discussion object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; + /** Only return answered/unanswered discussions */ + readonly isAnswered: Maybe; /** A list of labels associated with the object. */ readonly labels: Maybe; /** The moment the editor made the last edit */ @@ -5616,6 +6400,8 @@ type GITHUB_Discussion = GITHUB_Comment & GITHUB_Deletable & GITHUB_Labelable & readonly repository: GITHUB_Repository; /** The path for this discussion. */ readonly resourcePath: Scalars['GITHUB_URI']; + /** Identifies the reason for the discussion's state. */ + readonly stateReason: Maybe; /** The title of this discussion. */ readonly title: Scalars['String']; /** Identifies the date and time when the object was last updated. */ @@ -5626,10 +6412,14 @@ type GITHUB_Discussion = GITHUB_Comment & GITHUB_Deletable & GITHUB_Labelable & readonly url: Scalars['GITHUB_URI']; /** A list of edits to this content. */ readonly userContentEdits: Maybe; + /** Indicates if the object can be closed by the viewer. */ + readonly viewerCanClose: Scalars['Boolean']; /** Check if the current viewer can delete this object. */ readonly viewerCanDelete: Scalars['Boolean']; /** Can user react to this subject */ readonly viewerCanReact: Scalars['Boolean']; + /** Indicates if the object can be reopened by the viewer. */ + readonly viewerCanReopen: Scalars['Boolean']; /** Check if the viewer is able to change their subscription status for the repository. */ readonly viewerCanSubscribe: Scalars['Boolean']; /** Check if the current viewer can update this object. */ @@ -5693,6 +6483,7 @@ type GITHUB_DiscussionCategory = GITHUB_Node & GITHUB_RepositoryNode & { readonly emoji: Scalars['String']; /** This category's emoji rendered as HTML. */ readonly emojiHTML: Scalars['GITHUB_HTML']; + /** The Node ID of the DiscussionCategory object */ readonly id: Scalars['ID']; /** Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation. */ readonly isAnswerable: Scalars['Boolean']; @@ -5700,6 +6491,8 @@ type GITHUB_DiscussionCategory = GITHUB_Node & GITHUB_RepositoryNode & { readonly name: Scalars['String']; /** The repository associated with this node. */ readonly repository: GITHUB_Repository; + /** The slug of this category. */ + readonly slug: Scalars['String']; /** Identifies the date and time when the object was last updated. */ readonly updatedAt: Scalars['GITHUB_DateTime']; }; @@ -5724,6 +6517,15 @@ type GITHUB_DiscussionCategoryEdge = { readonly node: Maybe; }; +/** The possible reasons for closing a discussion. */ +type GITHUB_DiscussionCloseReason = + /** The discussion is a duplicate of another */ + | 'DUPLICATE' + /** The discussion is no longer relevant */ + | 'OUTDATED' + /** The discussion has been resolved */ + | 'RESOLVED'; + /** A comment on a discussion. */ type GITHUB_DiscussionComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minimizable & GITHUB_Node & GITHUB_Reactable & GITHUB_Updatable & GITHUB_UpdatableComment & GITHUB_Votable & { /** The actor who authored the comment. */ @@ -5748,6 +6550,7 @@ type GITHUB_DiscussionComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minim readonly discussion: Maybe; /** The actor who edited the comment. */ readonly editor: Maybe; + /** The Node ID of the DiscussionComment object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; @@ -5757,7 +6560,7 @@ type GITHUB_DiscussionComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minim readonly isMinimized: Scalars['Boolean']; /** The moment the editor made the last edit */ readonly lastEditedAt: Maybe; - /** Returns why the comment was minimized. */ + /** 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. */ readonly minimizedReason: Maybe; /** Identifies when the comment was published at. */ readonly publishedAt: Maybe; @@ -5889,6 +6692,7 @@ type GITHUB_DiscussionOrderField = type GITHUB_DiscussionPoll = GITHUB_Node & { /** The discussion that this poll belongs to. */ readonly discussion: Maybe; + /** The Node ID of the DiscussionPoll object */ readonly id: Scalars['ID']; /** The options for this poll. */ readonly options: Maybe; @@ -5914,6 +6718,7 @@ type GITHUB_DiscussionPoll_optionsArgs = { /** An option for a discussion poll. */ type GITHUB_DiscussionPollOption = GITHUB_Node & { + /** The Node ID of the DiscussionPollOption object */ readonly id: Scalars['ID']; /** The text for this option. */ readonly option: Scalars['String']; @@ -5960,6 +6765,24 @@ type GITHUB_DiscussionPollOptionOrderField = /** Order poll options by the number of votes it has. */ | 'VOTE_COUNT'; +/** The possible states of a discussion. */ +type GITHUB_DiscussionState = + /** A discussion that has been closed */ + | 'CLOSED' + /** A discussion that is open */ + | 'OPEN'; + +/** The possible state reasons of a discussion. */ +type GITHUB_DiscussionStateReason = + /** The discussion is a duplicate of another */ + | 'DUPLICATE' + /** The discussion is no longer relevant */ + | 'OUTDATED' + /** The discussion was reopened */ + | 'REOPENED' + /** The discussion has been resolved */ + | 'RESOLVED'; + /** Autogenerated input type of DismissPullRequestReview */ type GITHUB_DismissPullRequestReviewInput = { /** A unique identifier for the client performing the mutation. */ @@ -6023,11 +6846,8 @@ type GITHUB_DraftIssue = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The actor who created this draft issue. */ readonly creator: Maybe; + /** The Node ID of the DraftIssue object */ readonly id: Scalars['ID']; - /** The project (beta) that contains this draft issue. */ - readonly project: GITHUB_ProjectNext; - /** The project (beta) item that wraps this draft issue. */ - readonly projectItem: GITHUB_ProjectNextItem; /** List of items linked with the draft issue (currently draft issue can be linked to only one item). */ readonly projectV2Items: GITHUB_ProjectV2ItemConnection; /** Projects that link to this draft issue (currently draft issue can be linked to only one project). */ @@ -6097,11 +6917,13 @@ type GITHUB_EnablePullRequestAutoMergeInput = { readonly authorEmail: InputMaybe; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used. */ + /** 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. */ readonly commitBody: InputMaybe; - /** Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used. */ + /** 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. */ readonly commitHeadline: InputMaybe; - /** The merge method to use. If omitted, defaults to 'MERGE' */ + /** The expected head OID of the pull request. */ + readonly 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. */ readonly mergeMethod: InputMaybe; /** ID of the pull request to enable auto-merge on. */ readonly pullRequestId: Scalars['ID']; @@ -6117,8 +6939,34 @@ type GITHUB_EnablePullRequestAutoMergePayload = { readonly pullRequest: Maybe; }; +/** Autogenerated input type of EnqueuePullRequest */ +type GITHUB_EnqueuePullRequestInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The expected head OID of the pull request. */ + readonly expectedHeadOid: InputMaybe; + /** Add the pull request to the front of the queue. */ + readonly jump: InputMaybe; + /** The ID of the pull request to enqueue. */ + readonly pullRequestId: Scalars['ID']; +}; + +/** Autogenerated return type of EnqueuePullRequest */ +type GITHUB_EnqueuePullRequestPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The merge queue entry for the enqueued pull request. */ + readonly mergeQueueEntry: Maybe; +}; + /** An account to manage multiple organizations with consolidated policy and billing. */ -type GITHUB_Enterprise = GITHUB_Node & { +type GITHUB_Enterprise = GITHUB_AnnouncementBanner & GITHUB_Node & { + /** The text of the announcement */ + readonly announcement: Maybe; + /** The expiration date of the announcement, if any */ + readonly announcementExpiresAt: Maybe; + /** Whether the announcement can be dismissed by the user */ + readonly announcementUserDismissible: Maybe; /** A URL pointing to the enterprise's public avatar. */ readonly avatarUrl: Scalars['GITHUB_URI']; /** Enterprise billing information visible to enterprise billing managers. */ @@ -6131,6 +6979,7 @@ type GITHUB_Enterprise = GITHUB_Node & { readonly description: Maybe; /** The description of the enterprise as HTML. */ readonly descriptionHTML: Scalars['GITHUB_HTML']; + /** The Node ID of the Enterprise object */ readonly id: Scalars['ID']; /** The location of the enterprise. */ readonly location: Maybe; @@ -6140,7 +6989,7 @@ type GITHUB_Enterprise = GITHUB_Node & { readonly name: Scalars['String']; /** A list of organizations that belong to this enterprise. */ readonly organizations: GITHUB_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. */ readonly ownerInfo: Maybe; /** The HTTP path for this enterprise. */ readonly resourcePath: Scalars['GITHUB_URI']; @@ -6167,6 +7016,7 @@ type GITHUB_Enterprise_membersArgs = { before: InputMaybe; deployment: InputMaybe; first: InputMaybe; + hasTwoFactorEnabled?: InputMaybe; last: InputMaybe; orderBy?: InputMaybe; organizationLogins: InputMaybe>; @@ -6216,6 +7066,7 @@ type GITHUB_EnterpriseAdministratorInvitation = GITHUB_Node & { readonly email: Maybe; /** The enterprise the invitation is for. */ readonly enterprise: GITHUB_Enterprise; + /** The Node ID of the EnterpriseAdministratorInvitation object */ readonly id: Scalars['ID']; /** The user who was invited to the enterprise. */ readonly invitee: Maybe; @@ -6265,6 +7116,21 @@ type GITHUB_EnterpriseAdministratorRole = /** Represents an owner of the enterprise account. */ | 'OWNER'; +/** The possible values for the enterprise allow private repository forking policy value. */ +type GITHUB_EnterpriseAllowPrivateRepositoryForkingPolicyValue = + /** Members can fork a repository to an organization within this enterprise. */ + | 'ENTERPRISE_ORGANIZATIONS' + /** Members can fork a repository to their enterprise-managed user account or an organization inside this enterprise. */ + | 'ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS' + /** Members can fork a repository to their user account or an organization, either inside or outside of this enterprise. */ + | 'EVERYWHERE' + /** Members can fork a repository only within the same organization (intra-org). */ + | 'SAME_ORGANIZATION' + /** Members can fork a repository to their user account or within the same organization. */ + | 'SAME_ORGANIZATION_USER_ACCOUNTS' + /** Members can fork a repository to their user account. */ + | 'USER_ACCOUNTS'; + /** Metadata for an audit entry containing enterprise account information. */ type GITHUB_EnterpriseAuditEntryData = { /** The HTTP path for this enterprise. */ @@ -6299,6 +7165,18 @@ type GITHUB_EnterpriseBillingInfo = { readonly totalLicenses: Scalars['Int']; }; +/** The connection type for Enterprise. */ +type GITHUB_EnterpriseConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + /** The possible values for the enterprise base repository permission setting. */ type GITHUB_EnterpriseDefaultRepositoryPermissionSettingValue = /** Organization members will be able to clone, pull, push, and add new collaborators to all organization repositories. */ @@ -6312,6 +7190,14 @@ type GITHUB_EnterpriseDefaultRepositoryPermissionSettingValue = /** Organization members will be able to clone, pull, and push all organization repositories. */ | 'WRITE'; +/** An edge in a connection. */ +type GITHUB_EnterpriseEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + /** The possible values for an enabled/disabled enterprise setting. */ type GITHUB_EnterpriseEnabledDisabledSettingValue = /** The setting is disabled for organizations in the enterprise. */ @@ -6328,7 +7214,29 @@ type GITHUB_EnterpriseEnabledSettingValue = /** There is no policy set for organizations in the enterprise. */ | 'NO_POLICY'; -/** An identity provider configured to provision identities for an enterprise. */ +/** The connection type for OrganizationInvitation. */ +type GITHUB_EnterpriseFailedInvitationConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; + /** Identifies the total count of unique users in the connection. */ + readonly totalUniqueUserCount: Scalars['Int']; +}; + +/** A failed invitation to be a member in an enterprise organization. */ +type GITHUB_EnterpriseFailedInvitationEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** 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. */ type GITHUB_EnterpriseIdentityProvider = GITHUB_Node & { /** The digest algorithm used to sign SAML requests for the identity provider. */ readonly digestMethod: Maybe; @@ -6336,6 +7244,7 @@ type GITHUB_EnterpriseIdentityProvider = GITHUB_Node & { readonly enterprise: Maybe; /** ExternalIdentities provisioned by this identity provider. */ readonly externalIdentities: GITHUB_ExternalIdentityConnection; + /** The Node ID of the EnterpriseIdentityProvider object */ readonly id: Scalars['ID']; /** The x509 certificate used by the identity provider to sign assertions and responses. */ readonly idpCertificate: Maybe; @@ -6350,7 +7259,7 @@ type GITHUB_EnterpriseIdentityProvider = GITHUB_Node & { }; -/** 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. */ type GITHUB_EnterpriseIdentityProvider_externalIdentitiesArgs = { after: InputMaybe; before: InputMaybe; @@ -6405,7 +7314,7 @@ type GITHUB_EnterpriseMembersCanCreateRepositoriesSettingValue = | 'ALL' /** Members will not be able to create public or private repositories. */ | 'DISABLED' - /** Organization administrators choose whether to allow members to create repositories. */ + /** Organization owners choose whether to allow members to create repositories. */ | 'NO_POLICY' /** Members will be able to create only private repositories. */ | 'PRIVATE' @@ -6419,6 +7328,30 @@ type GITHUB_EnterpriseMembersCanMakePurchasesSettingValue = /** The setting is enabled for organizations in the enterprise. */ | 'ENABLED'; +/** The possible values we have for filtering Platform::Objects::User#enterprises. */ +type GITHUB_EnterpriseMembershipType = + /** Returns all enterprises in which the user is an admin. */ + | 'ADMIN' + /** Returns all enterprises in which the user is a member, admin, or billing manager. */ + | 'ALL' + /** Returns all enterprises in which the user is a billing manager. */ + | 'BILLING_MANAGER' + /** Returns all enterprises in which the user is a member of an org that is owned by the enterprise. */ + | 'ORG_MEMBERSHIP'; + +/** Ordering options for enterprises. */ +type GITHUB_EnterpriseOrder = { + /** The ordering direction. */ + readonly direction: GITHUB_OrderDirection; + /** The field to order enterprises by. */ + readonly field: GITHUB_EnterpriseOrderField; +}; + +/** Properties by which enterprise connections can be ordered. */ +type GITHUB_EnterpriseOrderField = + /** Order enterprises by name */ + | 'NAME'; + /** The connection type for Organization. */ type GITHUB_EnterpriseOrganizationMembershipConnection = { /** A list of edges. */ @@ -6473,7 +7406,7 @@ type GITHUB_EnterpriseOutsideCollaboratorEdge_repositoriesArgs = { 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. */ type GITHUB_EnterpriseOwnerInfo = { /** A list of all of the administrators for this enterprise. */ readonly admins: GITHUB_EnterpriseAdministratorConnection; @@ -6485,17 +7418,21 @@ type GITHUB_EnterpriseOwnerInfo = { readonly allowPrivateRepositoryForkingSetting: GITHUB_EnterpriseEnabledDisabledSettingValue; /** A list of enterprise organizations configured with the provided private repository forking setting value. */ readonly allowPrivateRepositoryForkingSettingOrganizations: GITHUB_OrganizationConnection; + /** The value for the allow private repository forking policy on the enterprise. */ + readonly allowPrivateRepositoryForkingSettingPolicyValue: Maybe; /** The setting value for base repository permissions for organizations in this enterprise. */ readonly defaultRepositoryPermissionSetting: GITHUB_EnterpriseDefaultRepositoryPermissionSettingValue; /** A list of enterprise organizations configured with the provided base repository permission. */ readonly defaultRepositoryPermissionSettingOrganizations: GITHUB_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. */ readonly domains: GITHUB_VerifiableDomainConnection; /** Enterprise Server installations owned by the enterprise. */ readonly enterpriseServerInstallations: GITHUB_EnterpriseServerInstallationConnection; + /** A list of failed invitations in the enterprise. */ + readonly failedInvitations: GITHUB_EnterpriseFailedInvitationConnection; /** The setting value for whether the enterprise has an IP allow list enabled. */ readonly ipAllowListEnabledSetting: GITHUB_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. */ readonly ipAllowListEntries: GITHUB_IpAllowListEntryConnection; /** The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled. */ readonly ipAllowListForInstalledAppsEnabledSetting: GITHUB_IpAllowListForInstalledAppsEnabledSettingValue; @@ -6559,7 +7496,7 @@ type GITHUB_EnterpriseOwnerInfo = { readonly repositoryProjectsSetting: GITHUB_EnterpriseEnabledDisabledSettingValue; /** A list of enterprise organizations configured with the provided repository projects setting value. */ readonly repositoryProjectsSettingOrganizations: GITHUB_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. */ readonly samlIdentityProvider: Maybe; /** A list of enterprise organizations configured with the SAML single sign-on setting value. */ readonly samlIdentityProviderSettingOrganizations: GITHUB_OrganizationConnection; @@ -6576,11 +7513,12 @@ type GITHUB_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. */ type GITHUB_EnterpriseOwnerInfo_adminsArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; + hasTwoFactorEnabled?: InputMaybe; last: InputMaybe; orderBy?: InputMaybe; organizationLogins: InputMaybe>; @@ -6589,7 +7527,7 @@ type GITHUB_EnterpriseOwnerInfo_adminsArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_affiliatedUsersWithTwoFactorDisabledArgs = { after: InputMaybe; before: InputMaybe; @@ -6598,7 +7536,7 @@ type GITHUB_EnterpriseOwnerInfo_affiliatedUsersWithTwoFactorDisabledArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_allowPrivateRepositoryForkingSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6609,7 +7547,7 @@ type GITHUB_EnterpriseOwnerInfo_allowPrivateRepositoryForkingSettingOrganization }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_defaultRepositoryPermissionSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6620,7 +7558,7 @@ type GITHUB_EnterpriseOwnerInfo_defaultRepositoryPermissionSettingOrganizationsA }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_domainsArgs = { after: InputMaybe; before: InputMaybe; @@ -6632,7 +7570,7 @@ type GITHUB_EnterpriseOwnerInfo_domainsArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_enterpriseServerInstallationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6643,7 +7581,17 @@ type GITHUB_EnterpriseOwnerInfo_enterpriseServerInstallationsArgs = { }; -/** 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. */ +type GITHUB_EnterpriseOwnerInfo_failedInvitationsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + query: InputMaybe; +}; + + +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ type GITHUB_EnterpriseOwnerInfo_ipAllowListEntriesArgs = { after: InputMaybe; before: InputMaybe; @@ -6653,7 +7601,7 @@ type GITHUB_EnterpriseOwnerInfo_ipAllowListEntriesArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_membersCanChangeRepositoryVisibilitySettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6664,7 +7612,7 @@ type GITHUB_EnterpriseOwnerInfo_membersCanChangeRepositoryVisibilitySettingOrgan }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_membersCanCreateRepositoriesSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6675,7 +7623,7 @@ type GITHUB_EnterpriseOwnerInfo_membersCanCreateRepositoriesSettingOrganizations }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_membersCanDeleteIssuesSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6686,7 +7634,7 @@ type GITHUB_EnterpriseOwnerInfo_membersCanDeleteIssuesSettingOrganizationsArgs = }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_membersCanDeleteRepositoriesSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6697,7 +7645,7 @@ type GITHUB_EnterpriseOwnerInfo_membersCanDeleteRepositoriesSettingOrganizations }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_membersCanInviteCollaboratorsSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6708,7 +7656,7 @@ type GITHUB_EnterpriseOwnerInfo_membersCanInviteCollaboratorsSettingOrganization }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_membersCanUpdateProtectedBranchesSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6719,7 +7667,7 @@ type GITHUB_EnterpriseOwnerInfo_membersCanUpdateProtectedBranchesSettingOrganiza }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_membersCanViewDependencyInsightsSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6730,7 +7678,7 @@ type GITHUB_EnterpriseOwnerInfo_membersCanViewDependencyInsightsSettingOrganizat }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_organizationProjectsSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6741,7 +7689,7 @@ type GITHUB_EnterpriseOwnerInfo_organizationProjectsSettingOrganizationsArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_outsideCollaboratorsArgs = { after: InputMaybe; before: InputMaybe; @@ -6756,7 +7704,7 @@ type GITHUB_EnterpriseOwnerInfo_outsideCollaboratorsArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_pendingAdminInvitationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6768,7 +7716,7 @@ type GITHUB_EnterpriseOwnerInfo_pendingAdminInvitationsArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_pendingCollaboratorInvitationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6779,18 +7727,19 @@ type GITHUB_EnterpriseOwnerInfo_pendingCollaboratorInvitationsArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_pendingMemberInvitationsArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; + invitationSource: 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. */ type GITHUB_EnterpriseOwnerInfo_repositoryProjectsSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6801,7 +7750,7 @@ type GITHUB_EnterpriseOwnerInfo_repositoryProjectsSettingOrganizationsArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_samlIdentityProviderSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6812,7 +7761,7 @@ type GITHUB_EnterpriseOwnerInfo_samlIdentityProviderSettingOrganizationsArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_supportEntitlementsArgs = { after: InputMaybe; before: InputMaybe; @@ -6822,7 +7771,7 @@ type GITHUB_EnterpriseOwnerInfo_supportEntitlementsArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_teamDiscussionsSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6833,7 +7782,7 @@ type GITHUB_EnterpriseOwnerInfo_teamDiscussionsSettingOrganizationsArgs = { }; -/** 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. */ type GITHUB_EnterpriseOwnerInfo_twoFactorRequiredSettingOrganizationsArgs = { after: InputMaybe; before: InputMaybe; @@ -6867,6 +7816,7 @@ type GITHUB_EnterprisePendingMemberInvitationEdge = { /** A subset of repository information queryable from an enterprise. */ type GITHUB_EnterpriseRepositoryInfo = GITHUB_Node & { + /** The Node ID of the EnterpriseRepositoryInfo object */ readonly id: Scalars['ID']; /** Identifies if the repository is private or internal. */ readonly isPrivate: Scalars['Boolean']; @@ -6904,6 +7854,7 @@ type GITHUB_EnterpriseServerInstallation = GITHUB_Node & { readonly customerName: Scalars['String']; /** The host name of the Enterprise Server installation. */ readonly hostName: Scalars['String']; + /** The Node ID of the EnterpriseServerInstallation object */ readonly id: Scalars['ID']; /** Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect. */ readonly isConnected: Scalars['Boolean']; @@ -6955,6 +7906,28 @@ type GITHUB_EnterpriseServerInstallationEdge = { readonly node: Maybe; }; +/** The connection type for EnterpriseServerInstallation. */ +type GITHUB_EnterpriseServerInstallationMembershipConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An Enterprise Server installation that a user is a member of. */ +type GITHUB_EnterpriseServerInstallationMembershipEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; + /** The role of the user in the enterprise membership. */ + readonly role: GITHUB_EnterpriseUserAccountMembershipRole; +}; + /** Ordering options for Enterprise Server installation connections. */ type GITHUB_EnterpriseServerInstallationOrder = { /** The ordering direction. */ @@ -6980,6 +7953,7 @@ type GITHUB_EnterpriseServerUserAccount = GITHUB_Node & { readonly emails: GITHUB_EnterpriseServerUserAccountEmailConnection; /** The Enterprise Server installation on which this user account exists. */ readonly enterpriseServerInstallation: GITHUB_EnterpriseServerInstallation; + /** The Node ID of the EnterpriseServerUserAccount object */ readonly id: Scalars['ID']; /** Whether the user account is a site administrator on the Enterprise Server installation. */ readonly isSiteAdmin: Scalars['Boolean']; @@ -7031,6 +8005,7 @@ type GITHUB_EnterpriseServerUserAccountEmail = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The email address. */ readonly email: Scalars['String']; + /** The Node ID of the EnterpriseServerUserAccountEmail object */ readonly id: Scalars['ID']; /** Indicates whether this is the primary email of the associated user account. */ readonly isPrimary: Scalars['Boolean']; @@ -7096,6 +8071,7 @@ type GITHUB_EnterpriseServerUserAccountsUpload = GITHUB_Node & { readonly enterprise: GITHUB_Enterprise; /** The Enterprise Server installation for which this upload was generated. */ readonly enterpriseServerInstallation: GITHUB_EnterpriseServerInstallation; + /** The Node ID of the EnterpriseServerUserAccountsUpload object */ readonly id: Scalars['ID']; /** The name of the file uploaded. */ readonly name: Scalars['String']; @@ -7155,6 +8131,9 @@ type GITHUB_EnterpriseUserAccount = GITHUB_Actor & GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The enterprise in which this user account exists. */ readonly enterprise: GITHUB_Enterprise; + /** A list of Enterprise Server installations this user is a member of. */ + readonly enterpriseInstallations: GITHUB_EnterpriseServerInstallationMembershipConnection; + /** The Node ID of the EnterpriseUserAccount object */ readonly id: Scalars['ID']; /** An identifier for the enterprise user account, a login or email address */ readonly login: Scalars['String']; @@ -7179,6 +8158,18 @@ type GITHUB_EnterpriseUserAccount_avatarUrlArgs = { }; +/** An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations. */ +type GITHUB_EnterpriseUserAccount_enterpriseInstallationsArgs = { + 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. */ type GITHUB_EnterpriseUserAccount_organizationsArgs = { after: InputMaybe; @@ -7195,7 +8186,9 @@ type GITHUB_EnterpriseUserAccountMembershipRole = /** The user is a member of an organization in the enterprise. */ | 'MEMBER' /** The user is an owner of an organization in the enterprise. */ - | 'OWNER'; + | 'OWNER' + /** The user is not an owner of the enterprise, and not a member or owner of any organizations in the enterprise; only for EMU-enabled enterprises. */ + | 'UNAFFILIATED'; /** The possible GitHub Enterprise deployments where this user can exist. */ type GITHUB_EnterpriseUserDeployment = @@ -7208,6 +8201,7 @@ type GITHUB_EnterpriseUserDeployment = type GITHUB_Environment = GITHUB_Node & { /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the Environment object */ readonly id: Scalars['ID']; /** The name of the environment */ readonly name: Scalars['String']; @@ -7244,10 +8238,24 @@ type GITHUB_EnvironmentEdge = { readonly node: Maybe; }; -/** An external identity provisioned by SAML SSO or SCIM. */ +/** Properties by which environments connections can be ordered */ +type GITHUB_EnvironmentOrderField = + /** Order environments by name. */ + | 'NAME'; + +/** Ordering options for environments */ +type GITHUB_Environments = { + /** The direction in which to order environments by the specified field. */ + readonly direction: GITHUB_OrderDirection; + /** The field to order environments by. */ + readonly field: GITHUB_EnvironmentOrderField; +}; + +/** 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. */ type GITHUB_ExternalIdentity = GITHUB_Node & { /** The GUID for this identity */ readonly guid: Scalars['String']; + /** The Node ID of the ExternalIdentity object */ readonly id: Scalars['ID']; /** Organization invitation for this SCIM-provisioned external identity */ readonly organizationInvitation: Maybe; @@ -7576,6 +8584,7 @@ type GITHUB_Gist = GITHUB_Node & GITHUB_Starrable & GITHUB_UniformResourceLocata readonly files: Maybe>>; /** A list of forks associated with the gist */ readonly forks: GITHUB_GistConnection; + /** The Node ID of the Gist object */ readonly id: Scalars['ID']; /** Identifies if the gist is a fork. */ readonly isFork: Scalars['Boolean']; @@ -7662,6 +8671,7 @@ type GITHUB_GistComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minimizable readonly editor: Maybe; /** The associated gist. */ readonly gist: GITHUB_Gist; + /** The Node ID of the GistComment object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; @@ -7669,7 +8679,7 @@ type GITHUB_GistComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minimizable readonly isMinimized: Scalars['Boolean']; /** The moment the editor made the last edit */ readonly lastEditedAt: Maybe; - /** Returns why the comment was minimized. */ + /** 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. */ readonly minimizedReason: Maybe; /** Identifies when the comment was published at. */ readonly publishedAt: Maybe; @@ -7838,6 +8848,8 @@ type GITHUB_GitHubMetadata = { readonly gitHubServicesSha: Scalars['GITHUB_GitObjectID']; /** IP addresses that users connect to for git operations */ readonly gitIpAddresses: Maybe>; + /** IP addresses that GitHub Enterprise Importer uses for outbound connections */ + readonly githubEnterpriseImporterIpAddresses: Maybe>; /** IP addresses that service hooks are sent from */ readonly hookIpAddresses: Maybe>; /** IP addresses that the importer connects from */ @@ -7856,6 +8868,7 @@ type GITHUB_GitObject = { readonly commitResourcePath: Scalars['GITHUB_URI']; /** The HTTP URL for this Git object */ readonly commitUrl: Scalars['GITHUB_URI']; + /** The Node ID of the GitObject object */ readonly id: Scalars['ID']; /** The Git object ID */ readonly oid: Scalars['GITHUB_GitObjectID']; @@ -7995,6 +9008,7 @@ type GITHUB_HeadRefDeletedEvent = GITHUB_Node & { readonly headRef: Maybe; /** Identifies the name of the Ref associated with the `head_ref_deleted` event. */ readonly headRefName: Scalars['String']; + /** The Node ID of the HeadRefDeletedEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: GITHUB_PullRequest; @@ -8010,6 +9024,7 @@ type GITHUB_HeadRefForcePushedEvent = GITHUB_Node & { readonly beforeCommit: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the HeadRefForcePushedEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: GITHUB_PullRequest; @@ -8023,6 +9038,7 @@ type GITHUB_HeadRefRestoredEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the HeadRefRestoredEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: GITHUB_PullRequest; @@ -8086,6 +9102,7 @@ type GITHUB_IpAllowListEntry = GITHUB_Node & { readonly allowListValue: Scalars['String']; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the IpAllowListEntry object */ readonly id: Scalars['ID']; /** Whether the entry is currently active. */ readonly isActive: Scalars['Boolean']; @@ -8143,7 +9160,7 @@ type GITHUB_IpAllowListForInstalledAppsEnabledSettingValue = type GITHUB_IpAllowListOwner = GITHUB_App | GITHUB_Enterprise | GITHUB_Organization; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ -type GITHUB_Issue = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & GITHUB_Labelable & GITHUB_Lockable & GITHUB_Node & GITHUB_ProjectNextOwner & GITHUB_ProjectV2Owner & GITHUB_Reactable & GITHUB_RepositoryNode & GITHUB_Subscribable & GITHUB_UniformResourceLocatable & GITHUB_Updatable & GITHUB_UpdatableComment & { +type GITHUB_Issue = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & GITHUB_Deletable & GITHUB_Labelable & GITHUB_Lockable & GITHUB_Node & GITHUB_ProjectV2Owner & GITHUB_Reactable & GITHUB_RepositoryNode & GITHUB_Subscribable & GITHUB_SubscribableThread & GITHUB_UniformResourceLocatable & GITHUB_Updatable & GITHUB_UpdatableComment & { /** Reason that the conversation was locked. */ readonly activeLockReason: Maybe; /** A list of Users assigned to this object. */ @@ -8162,7 +9179,7 @@ type GITHUB_Issue = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & GITHU readonly bodyText: Scalars['String']; /** The http URL for this issue body */ readonly bodyUrl: Scalars['GITHUB_URI']; - /** `true` if the object is closed (definition of closed may depend on type) */ + /** Indicates if the object is closed (definition of closed may depend on type) */ readonly closed: Scalars['Boolean']; /** Identifies the date and time when the object was closed. */ readonly closedAt: Maybe; @@ -8176,8 +9193,11 @@ type GITHUB_Issue = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & GITHU readonly databaseId: Maybe; /** The actor who edited the comment. */ readonly editor: Maybe; + /** Identifies the primary key from the database as a BigInt. */ + readonly fullDatabaseId: Maybe; /** The hovercard information for this issue */ readonly hovercard: GITHUB_Hovercard; + /** The Node ID of the Issue object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; @@ -8189,6 +9209,8 @@ type GITHUB_Issue = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & GITHU readonly labels: Maybe; /** The moment the editor made the last edit */ readonly lastEditedAt: Maybe; + /** Branches linked to this issue. */ + readonly linkedBranches: GITHUB_LinkedBranchConnection; /** `true` if the object is locked */ readonly locked: Scalars['Boolean']; /** Identifies the milestone associated with the issue. */ @@ -8201,20 +9223,8 @@ type GITHUB_Issue = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & GITHU readonly projectCards: GITHUB_ProjectCardConnection; /** List of project items associated with this issue. */ readonly projectItems: GITHUB_ProjectV2ItemConnection; - /** - * Find a project by project (beta) number. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNext: Maybe; - /** List of project (beta) items associated with this issue. */ - readonly projectNextItems: GITHUB_ProjectNextItemConnection; /** Find a project by number. */ readonly projectV2: Maybe; - /** - * A list of projects (beta) under the owner. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectsNext: GITHUB_ProjectNextConnection; /** A list of projects under the owner. */ readonly projectsV2: GITHUB_ProjectV2Connection; /** Identifies when the comment was published at. */ @@ -8254,8 +9264,14 @@ type GITHUB_Issue = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & GITHU readonly url: Scalars['GITHUB_URI']; /** A list of edits to this content. */ readonly userContentEdits: Maybe; + /** Indicates if the object can be closed by the viewer. */ + readonly viewerCanClose: Scalars['Boolean']; + /** Check if the current viewer can delete this object. */ + readonly viewerCanDelete: Scalars['Boolean']; /** Can user react to this subject */ readonly viewerCanReact: Scalars['Boolean']; + /** Indicates if the object can be reopened by the viewer. */ + readonly viewerCanReopen: Scalars['Boolean']; /** Check if the viewer is able to change their subscription status for the repository. */ readonly viewerCanSubscribe: Scalars['Boolean']; /** Check if the current viewer can update this object. */ @@ -8266,6 +9282,10 @@ type GITHUB_Issue = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & GITHU readonly viewerDidAuthor: Scalars['Boolean']; /** Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. */ readonly viewerSubscription: Maybe; + /** Identifies the viewer's thread subscription form action. */ + readonly viewerThreadSubscriptionFormAction: Maybe; + /** Identifies the viewer's thread subscription status. */ + readonly viewerThreadSubscriptionStatus: Maybe; }; @@ -8305,7 +9325,7 @@ type GITHUB_Issue_labelsArgs = { /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ -type GITHUB_Issue_participantsArgs = { +type GITHUB_Issue_linkedBranchesArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; @@ -8314,9 +9334,8 @@ type GITHUB_Issue_participantsArgs = { /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ -type GITHUB_Issue_projectCardsArgs = { +type GITHUB_Issue_participantsArgs = { after: InputMaybe; - archivedStates?: InputMaybe>>; before: InputMaybe; first: InputMaybe; last: InputMaybe; @@ -8324,23 +9343,17 @@ type GITHUB_Issue_projectCardsArgs = { /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ -type GITHUB_Issue_projectItemsArgs = { +type GITHUB_Issue_projectCardsArgs = { after: InputMaybe; + archivedStates?: InputMaybe>>; before: InputMaybe; first: InputMaybe; - includeArchived?: InputMaybe; last: InputMaybe; }; /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ -type GITHUB_Issue_projectNextArgs = { - number: Scalars['Int']; -}; - - -/** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ -type GITHUB_Issue_projectNextItemsArgs = { +type GITHUB_Issue_projectItemsArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; @@ -8355,17 +9368,6 @@ type GITHUB_Issue_projectV2Args = { }; -/** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ -type GITHUB_Issue_projectsNextArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; - query: InputMaybe; - sortBy?: InputMaybe; -}; - - /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ type GITHUB_Issue_projectsV2Args = { after: InputMaybe; @@ -8469,6 +9471,9 @@ type GITHUB_IssueComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minimizabl readonly databaseId: Maybe; /** The actor who edited the comment. */ readonly editor: Maybe; + /** Identifies the primary key from the database as a BigInt. */ + readonly fullDatabaseId: Maybe; + /** The Node ID of the IssueComment object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; @@ -8478,7 +9483,7 @@ type GITHUB_IssueComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minimizabl readonly issue: GITHUB_Issue; /** The moment the editor made the last edit */ readonly lastEditedAt: Maybe; - /** Returns why the comment was minimized. */ + /** 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. */ readonly minimizedReason: Maybe; /** Identifies when the comment was published at. */ readonly publishedAt: Maybe; @@ -8669,14 +9674,39 @@ type GITHUB_IssueStateReason = type GITHUB_IssueTemplate = { /** The template purpose. */ readonly about: Maybe; + /** The suggested assignees. */ + readonly assignees: GITHUB_UserConnection; /** The suggested issue body. */ readonly body: Maybe; + /** The template filename. */ + readonly filename: Scalars['String']; + /** The suggested issue labels */ + readonly labels: Maybe; /** The template name. */ readonly name: Scalars['String']; /** The suggested issue title. */ readonly title: Maybe; }; + +/** A repository issue template. */ +type GITHUB_IssueTemplate_assigneesArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; +}; + + +/** A repository issue template. */ +type GITHUB_IssueTemplate_labelsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + orderBy?: InputMaybe; +}; + /** The connection type for IssueTimelineItem. */ type GITHUB_IssueTimelineConnection = { /** A list of edges. */ @@ -8824,6 +9854,7 @@ type GITHUB_Label = GITHUB_Node & { readonly createdAt: Maybe; /** A brief description of this label. */ readonly description: Maybe; + /** The Node ID of the Label object */ readonly id: Scalars['ID']; /** Indicates whether or not this is a default label. */ readonly isDefault: Scalars['Boolean']; @@ -8927,6 +9958,7 @@ type GITHUB_LabeledEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the LabeledEvent object */ readonly id: Scalars['ID']; /** Identifies the label associated with the 'labeled' event. */ readonly label: GITHUB_Label; @@ -8938,6 +9970,7 @@ type GITHUB_LabeledEvent = GITHUB_Node & { type GITHUB_Language = GITHUB_Node & { /** The color defined for the current language. */ readonly color: Maybe; + /** The Node ID of the Language object */ readonly id: Scalars['ID']; /** The name of the current language. */ readonly name: Scalars['String']; @@ -8990,6 +10023,7 @@ type GITHUB_License = GITHUB_Node & { readonly featured: Scalars['Boolean']; /** Whether the license should be displayed in license pickers */ readonly hidden: Scalars['Boolean']; + /** The Node ID of the License object */ readonly id: Scalars['ID']; /** Instructions on how to implement the license */ readonly implementation: Maybe; @@ -9021,6 +10055,42 @@ type GITHUB_LicenseRule = { readonly label: Scalars['String']; }; +/** Autogenerated input type of LinkProjectV2ToRepository */ +type GITHUB_LinkProjectV2ToRepositoryInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the project to link to the repository. */ + readonly projectId: Scalars['ID']; + /** The ID of the repository to link to the project. */ + readonly repositoryId: Scalars['ID']; +}; + +/** Autogenerated return type of LinkProjectV2ToRepository */ +type GITHUB_LinkProjectV2ToRepositoryPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The repository the project is linked to. */ + readonly repository: Maybe; +}; + +/** Autogenerated input type of LinkProjectV2ToTeam */ +type GITHUB_LinkProjectV2ToTeamInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the project to link to the team. */ + readonly projectId: Scalars['ID']; + /** The ID of the team to link to the project. */ + readonly teamId: Scalars['ID']; +}; + +/** Autogenerated return type of LinkProjectV2ToTeam */ +type GITHUB_LinkProjectV2ToTeamPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The team the project is linked to */ + readonly team: Maybe; +}; + /** Autogenerated input type of LinkRepositoryToProject */ type GITHUB_LinkRepositoryToProjectInput = { /** A unique identifier for the client performing the mutation. */ @@ -9041,6 +10111,34 @@ type GITHUB_LinkRepositoryToProjectPayload = { readonly repository: Maybe; }; +/** A branch linked to an issue. */ +type GITHUB_LinkedBranch = GITHUB_Node & { + /** The Node ID of the LinkedBranch object */ + readonly id: Scalars['ID']; + /** The branch's ref. */ + readonly ref: Maybe; +}; + +/** The connection type for LinkedBranch. */ +type GITHUB_LinkedBranchConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +type GITHUB_LinkedBranchEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + /** Autogenerated input type of LockLockable */ type GITHUB_LockLockableInput = { /** A unique identifier for the client performing the mutation. */ @@ -9086,6 +10184,7 @@ type GITHUB_LockedEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the LockedEvent object */ readonly id: Scalars['ID']; /** Reason that the conversation was locked (optional). */ readonly lockReason: Maybe; @@ -9105,6 +10204,7 @@ type GITHUB_Mannequin = GITHUB_Actor & GITHUB_Node & GITHUB_UniformResourceLocat readonly databaseId: Maybe; /** The mannequin's email on the source instance. */ readonly email: Maybe; + /** The Node ID of the Mannequin object */ readonly id: Scalars['ID']; /** The username of the actor. */ readonly login: Scalars['String']; @@ -9122,6 +10222,41 @@ type GITHUB_Mannequin_avatarUrlArgs = { size: InputMaybe; }; +/** The connection type for Mannequin. */ +type GITHUB_MannequinConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** Represents a mannequin. */ +type GITHUB_MannequinEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** Ordering options for mannequins. */ +type GITHUB_MannequinOrder = { + /** The ordering direction. */ + readonly direction: GITHUB_OrderDirection; + /** The field to order mannequins by. */ + readonly field: GITHUB_MannequinOrderField; +}; + +/** Properties by which mannequins can be ordered. */ +type GITHUB_MannequinOrderField = + /** Order mannequins why when they were created. */ + | 'CREATED_AT' + /** Order mannequins alphabetically by their source login. */ + | 'LOGIN'; + /** Autogenerated input type of MarkDiscussionCommentAsAnswer */ type GITHUB_MarkDiscussionCommentAsAnswerInput = { /** A unique identifier for the client performing the mutation. */ @@ -9156,6 +10291,22 @@ type GITHUB_MarkFileAsViewedPayload = { readonly pullRequest: Maybe; }; +/** Autogenerated input type of MarkProjectV2AsTemplate */ +type GITHUB_MarkProjectV2AsTemplateInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the Project to mark as a template. */ + readonly projectId: Scalars['ID']; +}; + +/** Autogenerated return type of MarkProjectV2AsTemplate */ +type GITHUB_MarkProjectV2AsTemplatePayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The project. */ + readonly projectV2: Maybe; +}; + /** Autogenerated input type of MarkPullRequestReadyForReview */ type GITHUB_MarkPullRequestReadyForReviewInput = { /** A unique identifier for the client performing the mutation. */ @@ -9182,6 +10333,7 @@ type GITHUB_MarkedAsDuplicateEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The issue or pull request which has been marked as a duplicate of another. */ readonly duplicate: Maybe; + /** The Node ID of the MarkedAsDuplicateEvent object */ readonly id: Scalars['ID']; /** Canonical and duplicate belong to different repositories. */ readonly isCrossRepository: Scalars['Boolean']; @@ -9193,6 +10345,7 @@ type GITHUB_MarketplaceCategory = GITHUB_Node & { readonly description: Maybe; /** The technical description of how apps listed in this category work with GitHub. */ readonly howItWorks: Maybe; + /** The Node ID of the MarketplaceCategory object */ readonly id: Scalars['ID']; /** The category's name. */ readonly name: Scalars['String']; @@ -9238,6 +10391,7 @@ type GITHUB_MarketplaceListing = GITHUB_Node & { readonly howItWorks: Maybe; /** The listing's technical description rendered to HTML. */ readonly howItWorksHTML: Scalars['GITHUB_HTML']; + /** The Node ID of the MarketplaceListing object */ readonly id: Scalars['ID']; /** URL to install the product to the viewer's account or organization. */ readonly installationUrl: Maybe; @@ -9375,6 +10529,18 @@ type GITHUB_MarketplaceListingEdge = { readonly node: Maybe; }; +/** Represents a member feature request notification */ +type GITHUB_MemberFeatureRequestNotification = GITHUB_Node & { + /** Represents member feature request body containing organization name and the number of feature requests */ + readonly body: Scalars['String']; + /** The Node ID of the MemberFeatureRequestNotification object */ + readonly id: Scalars['ID']; + /** Represents member feature request notification title */ + readonly title: Scalars['String']; + /** Identifies the date and time when the object was last updated. */ + readonly updatedAt: Scalars['GITHUB_DateTime']; +}; + /** Entities that have members who can set status messages. */ type GITHUB_MemberStatusable = { /** Get the status messages members of this entity have set that are either public or visible only to the organization. */ @@ -9415,6 +10581,7 @@ type GITHUB_MembersCanDeleteReposClearAuditEntry = GITHUB_AuditEntry & GITHUB_En readonly enterpriseSlug: Maybe; /** The HTTP URL for this enterprise. */ readonly enterpriseUrl: Maybe; + /** The Node ID of the MembersCanDeleteReposClearAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -9460,6 +10627,7 @@ type GITHUB_MembersCanDeleteReposDisableAuditEntry = GITHUB_AuditEntry & GITHUB_ readonly enterpriseSlug: Maybe; /** The HTTP URL for this enterprise. */ readonly enterpriseUrl: Maybe; + /** The Node ID of the MembersCanDeleteReposDisableAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -9505,6 +10673,7 @@ type GITHUB_MembersCanDeleteReposEnableAuditEntry = GITHUB_AuditEntry & GITHUB_E readonly enterpriseSlug: Maybe; /** The HTTP URL for this enterprise. */ readonly enterpriseUrl: Maybe; + /** The Node ID of the MembersCanDeleteReposEnableAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -9534,6 +10703,7 @@ type GITHUB_MentionedEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the MentionedEvent object */ readonly id: Scalars['ID']; }; @@ -9561,6 +10731,22 @@ type GITHUB_MergeBranchPayload = { readonly mergeCommit: Maybe; }; +/** The possible default commit messages for merges. */ +type GITHUB_MergeCommitMessage = + /** Default to a blank commit message. */ + | 'BLANK' + /** Default to the pull request's body. */ + | 'PR_BODY' + /** Default to the pull request's title. */ + | 'PR_TITLE'; + +/** The possible default commit titles for merges. */ +type GITHUB_MergeCommitTitle = + /** Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ + | 'MERGE_MESSAGE' + /** Default to the pull request's title. */ + | 'PR_TITLE'; + /** Autogenerated input type of MergePullRequest */ type GITHUB_MergePullRequestInput = { /** The email address to associate with this merge. */ @@ -9589,7 +10775,120 @@ type GITHUB_MergePullRequestPayload = { readonly pullRequest: Maybe; }; -/** Whether or not a PullRequest can be merged. */ +/** The queue of pull request entries to be merged into a protected branch in a repository. */ +type GITHUB_MergeQueue = GITHUB_Node & { + /** The configuration for this merge queue */ + readonly configuration: Maybe; + /** The entries in the queue */ + readonly entries: Maybe; + /** The Node ID of the MergeQueue object */ + readonly id: Scalars['ID']; + /** The estimated time in seconds until a newly added entry would be merged */ + readonly nextEntryEstimatedTimeToMerge: Maybe; + /** The repository this merge queue belongs to */ + readonly repository: Maybe; + /** The HTTP path for this merge queue */ + readonly resourcePath: Scalars['GITHUB_URI']; + /** The HTTP URL for this merge queue */ + readonly url: Scalars['GITHUB_URI']; +}; + + +/** The queue of pull request entries to be merged into a protected branch in a repository. */ +type GITHUB_MergeQueue_entriesArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; +}; + +/** Configuration for a MergeQueue */ +type GITHUB_MergeQueueConfiguration = { + /** The amount of time in minutes to wait for a check response before considering it a failure. */ + readonly checkResponseTimeout: Maybe; + /** The maximum number of entries to build at once. */ + readonly maximumEntriesToBuild: Maybe; + /** The maximum number of entries to merge at once. */ + readonly maximumEntriesToMerge: Maybe; + /** The merge method to use for this queue. */ + readonly mergeMethod: Maybe; + /** The strategy to use when merging entries. */ + readonly mergingStrategy: Maybe; + /** The minimum number of entries required to merge at once. */ + readonly minimumEntriesToMerge: Maybe; + /** The amount of time in minutes to wait before ignoring the minumum number of entries in the queue requirement and merging a collection of entries */ + readonly minimumEntriesToMergeWaitTime: Maybe; +}; + +/** Entries in a MergeQueue */ +type GITHUB_MergeQueueEntry = GITHUB_Node & { + /** The base commit for this entry */ + readonly baseCommit: Maybe; + /** The date and time this entry was added to the merge queue */ + readonly enqueuedAt: Scalars['GITHUB_DateTime']; + /** The actor that enqueued this entry */ + readonly enqueuer: GITHUB_Actor; + /** The estimated time in seconds until this entry will be merged */ + readonly estimatedTimeToMerge: Maybe; + /** The head commit for this entry */ + readonly headCommit: Maybe; + /** The Node ID of the MergeQueueEntry object */ + readonly id: Scalars['ID']; + /** Whether this pull request should jump the queue */ + readonly jump: Scalars['Boolean']; + /** The merge queue that this entry belongs to */ + readonly mergeQueue: Maybe; + /** The position of this entry in the queue */ + readonly position: Scalars['Int']; + /** The pull request that will be added to a merge group */ + readonly pullRequest: Maybe; + /** Does this pull request need to be deployed on its own */ + readonly solo: Scalars['Boolean']; + /** The state of this entry in the queue */ + readonly state: GITHUB_MergeQueueEntryState; +}; + +/** The connection type for MergeQueueEntry. */ +type GITHUB_MergeQueueEntryConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +type GITHUB_MergeQueueEntryEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** The possible states for a merge queue entry. */ +type GITHUB_MergeQueueEntryState = + /** The entry is currently waiting for checks to pass. */ + | 'AWAITING_CHECKS' + /** The entry is currently locked. */ + | 'LOCKED' + /** The entry is currently mergeable. */ + | 'MERGEABLE' + /** The entry is currently queued. */ + | 'QUEUED' + /** The entry is currently unmergeable. */ + | 'UNMERGEABLE'; + +/** The possible merging strategies for a merge queue. */ +type GITHUB_MergeQueueMergingStrategy = + /** Entries only allowed to merge if they are passing. */ + | 'ALLGREEN' + /** Failing Entires are allowed to merge if they are with a passing entry. */ + | 'HEADGREEN'; + +/** Whether or not a PullRequest can be merged. */ type GITHUB_MergeableState = /** The pull request cannot be merged due to merge conflicts. */ | 'CONFLICTING' @@ -9606,6 +10905,7 @@ type GITHUB_MergedEvent = GITHUB_Node & GITHUB_UniformResourceLocatable & { readonly commit: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the MergedEvent object */ readonly id: Scalars['ID']; /** Identifies the Ref associated with the `merge` event. */ readonly mergeRef: Maybe; @@ -9619,71 +10919,73 @@ type GITHUB_MergedEvent = GITHUB_Node & GITHUB_UniformResourceLocatable & { readonly url: Scalars['GITHUB_URI']; }; -/** Represents an Octoshift migration. */ +/** Represents a GitHub Enterprise Importer (GEI) migration. */ type GITHUB_Migration = { - /** The Octoshift migration flag to continue on error. */ + /** The migration flag to continue on error. */ readonly continueOnError: Scalars['Boolean']; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** Identifies the primary key from the database. */ + readonly databaseId: Maybe; /** The reason the migration failed. */ readonly failureReason: Maybe; + /** The Node ID of the Migration object */ readonly id: Scalars['ID']; /** The URL for the migration log (expires 1 day after migration completes). */ readonly migrationLogUrl: Maybe; - /** The Octoshift migration source. */ + /** The migration source. */ readonly migrationSource: GITHUB_MigrationSource; /** The target repository name. */ readonly repositoryName: Scalars['String']; - /** The Octoshift migration source URL. */ + /** The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. */ readonly sourceUrl: Scalars['GITHUB_URI']; - /** The Octoshift migration state. */ + /** The migration state. */ readonly state: GITHUB_MigrationState; + /** The number of warnings encountered for this migration. To review the warnings, check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). */ + readonly warningsCount: Scalars['Int']; }; -/** An Octoshift migration source. */ +/** A GitHub Enterprise Importer (GEI) migration source. */ type GITHUB_MigrationSource = GITHUB_Node & { + /** The Node ID of the MigrationSource object */ readonly id: Scalars['ID']; - /** The Octoshift migration source name. */ + /** The migration source name. */ readonly name: Scalars['String']; - /** The Octoshift migration source type. */ + /** The migration source type. */ readonly type: GITHUB_MigrationSourceType; - /** The Octoshift migration source URL. */ + /** The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. */ readonly url: Scalars['GITHUB_URI']; }; -/** Represents the different Octoshift migration sources. */ +/** Represents the different GitHub Enterprise Importer (GEI) migration sources. */ type GITHUB_MigrationSourceType = /** An Azure DevOps migration source. */ | 'AZURE_DEVOPS' /** A Bitbucket Server migration source. */ | 'BITBUCKET_SERVER' - /** A GitHub migration source. */ - | 'GITHUB' /** A GitHub Migration API source. */ - | 'GITHUB_ARCHIVE' - /** A GitLab migration source. */ - | 'GITLAB'; + | 'GITHUB_ARCHIVE'; -/** The Octoshift migration state. */ +/** The GitHub Enterprise Importer (GEI) migration state. */ type GITHUB_MigrationState = - /** The Octoshift migration has failed. */ + /** The migration has failed. */ | 'FAILED' - /** The Octoshift migration has invalid credentials. */ + /** The migration has invalid credentials. */ | 'FAILED_VALIDATION' - /** The Octoshift migration is in progress. */ + /** The migration is in progress. */ | 'IN_PROGRESS' - /** The Octoshift migration has not started. */ + /** The migration has not started. */ | 'NOT_STARTED' - /** The Octoshift migration needs to have its credentials validated. */ + /** The migration needs to have its credentials validated. */ | 'PENDING_VALIDATION' - /** The Octoshift migration has been queued. */ + /** The migration has been queued. */ | 'QUEUED' - /** The Octoshift migration has succeeded. */ + /** The migration has succeeded. */ | 'SUCCEEDED'; /** Represents a Milestone object on a given repository. */ type GITHUB_Milestone = GITHUB_Closable & GITHUB_Node & GITHUB_UniformResourceLocatable & { - /** `true` if the object is closed (definition of closed may depend on type) */ + /** Indicates if the object is closed (definition of closed may depend on type) */ readonly closed: Scalars['Boolean']; /** Identifies the date and time when the object was closed. */ readonly closedAt: Maybe; @@ -9695,6 +10997,7 @@ type GITHUB_Milestone = GITHUB_Closable & GITHUB_Node & GITHUB_UniformResourceLo readonly description: Maybe; /** Identifies the due date of the milestone. */ readonly dueOn: Maybe; + /** The Node ID of the Milestone object */ readonly id: Scalars['ID']; /** A list of issues associated with the milestone. */ readonly issues: GITHUB_IssueConnection; @@ -9716,6 +11019,10 @@ type GITHUB_Milestone = GITHUB_Closable & GITHUB_Node & GITHUB_UniformResourceLo readonly updatedAt: Scalars['GITHUB_DateTime']; /** The HTTP URL for this milestone */ readonly url: Scalars['GITHUB_URI']; + /** Indicates if the object can be closed by the viewer. */ + readonly viewerCanClose: Scalars['Boolean']; + /** Indicates if the object can be reopened by the viewer. */ + readonly viewerCanReopen: Scalars['Boolean']; }; @@ -9800,6 +11107,7 @@ type GITHUB_MilestonedEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the MilestonedEvent object */ readonly id: Scalars['ID']; /** Identifies the milestone title associated with the 'milestoned' event. */ readonly milestoneTitle: Scalars['String']; @@ -9811,7 +11119,7 @@ type GITHUB_MilestonedEvent = GITHUB_Node & { type GITHUB_Minimizable = { /** Returns whether or not a comment has been minimized. */ readonly isMinimized: Scalars['Boolean']; - /** Returns why the comment was minimized. */ + /** 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. */ readonly minimizedReason: Maybe; /** Check if the current viewer can minimize this object. */ readonly viewerCanMinimize: Scalars['Boolean']; @@ -9881,6 +11189,7 @@ type GITHUB_MovedColumnsInProjectEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the MovedColumnsInProjectEvent object */ readonly id: Scalars['ID']; }; @@ -9897,12 +11206,13 @@ type GITHUB_NotificationRestrictionSettingValue = /** The setting is enabled for the owner. */ | 'ENABLED'; -/** An OIDC identity provider configured to provision identities for an enterprise. */ +/** An OIDC 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. */ type GITHUB_OIDCProvider = GITHUB_Node & { /** The enterprise this identity provider belongs to. */ readonly enterprise: Maybe; /** ExternalIdentities provisioned by this identity provider. */ readonly externalIdentities: GITHUB_ExternalIdentityConnection; + /** The Node ID of the OIDCProvider object */ readonly id: Scalars['ID']; /** The OIDC identity provider type */ readonly providerType: GITHUB_OIDCProviderType; @@ -9911,7 +11221,7 @@ type GITHUB_OIDCProvider = GITHUB_Node & { }; -/** An OIDC identity provider configured to provision identities for an enterprise. */ +/** An OIDC 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. */ type GITHUB_OIDCProvider_externalIdentitiesArgs = { after: InputMaybe; before: InputMaybe; @@ -9929,11 +11239,11 @@ type GITHUB_OIDCProviderType = /** Metadata for an audit entry with action oauth_application.* */ type GITHUB_OauthApplicationAuditEntryData = { - /** The name of the OAuth Application. */ + /** The name of the OAuth application. */ readonly oauthApplicationName: Maybe; - /** The HTTP path for the OAuth Application */ + /** The HTTP path for the OAuth application */ readonly oauthApplicationResourcePath: Maybe; - /** The HTTP URL for the OAuth Application */ + /** The HTTP URL for the OAuth application */ readonly oauthApplicationUrl: Maybe; }; @@ -9953,18 +11263,19 @@ type GITHUB_OauthApplicationCreateAuditEntry = GITHUB_AuditEntry & GITHUB_Node & readonly actorResourcePath: Maybe; /** The HTTP URL for the actor. */ readonly actorUrl: Maybe; - /** The application URL of the OAuth Application. */ + /** The application URL of the OAuth application. */ readonly applicationUrl: Maybe; - /** The callback URL of the OAuth Application. */ + /** The callback URL of the OAuth application. */ readonly callbackUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OauthApplicationCreateAuditEntry object */ readonly id: Scalars['ID']; - /** The name of the OAuth Application. */ + /** The name of the OAuth application. */ readonly oauthApplicationName: Maybe; - /** The HTTP path for the OAuth Application */ + /** The HTTP path for the OAuth application */ readonly oauthApplicationResourcePath: Maybe; - /** The HTTP URL for the OAuth Application */ + /** The HTTP URL for the OAuth application */ readonly oauthApplicationUrl: Maybe; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -9976,9 +11287,9 @@ type GITHUB_OauthApplicationCreateAuditEntry = GITHUB_AuditEntry & GITHUB_Node & readonly organizationResourcePath: Maybe; /** The HTTP URL for the organization */ readonly organizationUrl: Maybe; - /** The rate limit of the OAuth Application. */ + /** The rate limit of the OAuth application. */ readonly rateLimit: Maybe; - /** The state of the OAuth Application. */ + /** The state of the OAuth application. */ readonly state: Maybe; /** The user affected by the action */ readonly user: Maybe; @@ -9990,13 +11301,13 @@ type GITHUB_OauthApplicationCreateAuditEntry = GITHUB_AuditEntry & GITHUB_Node & readonly userUrl: Maybe; }; -/** The state of an OAuth Application when it was created. */ +/** The state of an OAuth application when it was created. */ type GITHUB_OauthApplicationCreateAuditEntryState = - /** The OAuth Application was active and allowed to have OAuth Accesses. */ + /** The OAuth application was active and allowed to have OAuth Accesses. */ | 'ACTIVE' - /** The OAuth Application was in the process of being deleted. */ + /** The OAuth application was in the process of being deleted. */ | 'PENDING_DELETION' - /** The OAuth Application was suspended from generating OAuth Accesses due to abuse or security concerns. */ + /** The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns. */ | 'SUSPENDED'; /** The corresponding operation type for the action */ @@ -10041,6 +11352,7 @@ type GITHUB_OrgAddBillingManagerAuditEntry = GITHUB_AuditEntry & GITHUB_Node & G readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgAddBillingManagerAuditEntry object */ readonly id: Scalars['ID']; /** The email address used to invite a billing manager for the organization. */ readonly invitationEmail: Maybe; @@ -10082,6 +11394,7 @@ type GITHUB_OrgAddMemberAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_Or readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgAddMemberAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10138,6 +11451,7 @@ type GITHUB_OrgBlockUserAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_Or readonly blockedUserUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgBlockUserAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10177,6 +11491,7 @@ type GITHUB_OrgConfigDisableCollaboratorsOnlyAuditEntry = GITHUB_AuditEntry & GI readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgConfigDisableCollaboratorsOnlyAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10216,6 +11531,7 @@ type GITHUB_OrgConfigEnableCollaboratorsOnlyAuditEntry = GITHUB_AuditEntry & GIT readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgConfigEnableCollaboratorsOnlyAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10257,6 +11573,7 @@ type GITHUB_OrgCreateAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_Organ readonly billingPlan: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgCreateAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10309,6 +11626,7 @@ type GITHUB_OrgDisableOauthAppRestrictionsAuditEntry = GITHUB_AuditEntry & GITHU readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgDisableOauthAppRestrictionsAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10350,6 +11668,7 @@ type GITHUB_OrgDisableSamlAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; /** The SAML provider's digest algorithm URL. */ readonly digestMethodUrl: Maybe; + /** The Node ID of the OrgDisableSamlAuditEntry object */ readonly id: Scalars['ID']; /** The SAML provider's issuer URL. */ readonly issuerUrl: Maybe; @@ -10395,6 +11714,7 @@ type GITHUB_OrgDisableTwoFactorRequirementAuditEntry = GITHUB_AuditEntry & GITHU readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgDisableTwoFactorRequirementAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10434,6 +11754,7 @@ type GITHUB_OrgEnableOauthAppRestrictionsAuditEntry = GITHUB_AuditEntry & GITHUB readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgEnableOauthAppRestrictionsAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10475,6 +11796,7 @@ type GITHUB_OrgEnableSamlAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_O readonly createdAt: Scalars['GITHUB_PreciseDateTime']; /** The SAML provider's digest algorithm URL. */ readonly digestMethodUrl: Maybe; + /** The Node ID of the OrgEnableSamlAuditEntry object */ readonly id: Scalars['ID']; /** The SAML provider's issuer URL. */ readonly issuerUrl: Maybe; @@ -10520,6 +11842,7 @@ type GITHUB_OrgEnableTwoFactorRequirementAuditEntry = GITHUB_AuditEntry & GITHUB readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgEnableTwoFactorRequirementAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10574,6 +11897,7 @@ type GITHUB_OrgInviteMemberAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB readonly createdAt: Scalars['GITHUB_PreciseDateTime']; /** The email address of the organization invitation. */ readonly email: Maybe; + /** The Node ID of the OrgInviteMemberAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10621,6 +11945,7 @@ type GITHUB_OrgInviteToBusinessAuditEntry = GITHUB_AuditEntry & GITHUB_Enterpris readonly enterpriseSlug: Maybe; /** The HTTP URL for this enterprise. */ readonly enterpriseUrl: Maybe; + /** The Node ID of the OrgInviteToBusinessAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10660,12 +11985,59 @@ type GITHUB_OrgOauthAppAccessApprovedAuditEntry = GITHUB_AuditEntry & GITHUB_Nod readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgOauthAppAccessApprovedAuditEntry object */ + readonly id: Scalars['ID']; + /** The name of the OAuth application. */ + readonly oauthApplicationName: Maybe; + /** The HTTP path for the OAuth application */ + readonly oauthApplicationResourcePath: Maybe; + /** The HTTP URL for the OAuth application */ + readonly oauthApplicationUrl: Maybe; + /** The corresponding operation type for the action */ + readonly operationType: Maybe; + /** The Organization associated with the Audit Entry. */ + readonly organization: Maybe; + /** The name of the Organization. */ + readonly organizationName: Maybe; + /** The HTTP path for the organization */ + readonly organizationResourcePath: Maybe; + /** The HTTP URL for the organization */ + readonly organizationUrl: Maybe; + /** The user affected by the action */ + readonly user: Maybe; + /** For actions involving two users, the actor is the initiator and the user is the affected user. */ + readonly userLogin: Maybe; + /** The HTTP path for the user. */ + readonly userResourcePath: Maybe; + /** The HTTP URL for the user. */ + readonly userUrl: Maybe; +}; + +/** Audit log entry for a org.oauth_app_access_blocked event. */ +type GITHUB_OrgOauthAppAccessBlockedAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_OauthApplicationAuditEntryData & GITHUB_OrganizationAuditEntryData & { + /** The action name */ + readonly action: Scalars['String']; + /** The user who initiated the action */ + readonly actor: Maybe; + /** The IP address of the actor */ + readonly actorIp: Maybe; + /** A readable representation of the actor's location */ + readonly actorLocation: Maybe; + /** The username of the user who initiated the action */ + readonly actorLogin: Maybe; + /** The HTTP path for the actor. */ + readonly actorResourcePath: Maybe; + /** The HTTP URL for the actor. */ + readonly actorUrl: Maybe; + /** The time the action was initiated */ + readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgOauthAppAccessBlockedAuditEntry object */ readonly id: Scalars['ID']; - /** The name of the OAuth Application. */ + /** The name of the OAuth application. */ readonly oauthApplicationName: Maybe; - /** The HTTP path for the OAuth Application */ + /** The HTTP path for the OAuth application */ readonly oauthApplicationResourcePath: Maybe; - /** The HTTP URL for the OAuth Application */ + /** The HTTP URL for the OAuth application */ readonly oauthApplicationUrl: Maybe; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10705,12 +12077,13 @@ type GITHUB_OrgOauthAppAccessDeniedAuditEntry = GITHUB_AuditEntry & GITHUB_Node readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgOauthAppAccessDeniedAuditEntry object */ readonly id: Scalars['ID']; - /** The name of the OAuth Application. */ + /** The name of the OAuth application. */ readonly oauthApplicationName: Maybe; - /** The HTTP path for the OAuth Application */ + /** The HTTP path for the OAuth application */ readonly oauthApplicationResourcePath: Maybe; - /** The HTTP URL for the OAuth Application */ + /** The HTTP URL for the OAuth application */ readonly oauthApplicationUrl: Maybe; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10750,12 +12123,59 @@ type GITHUB_OrgOauthAppAccessRequestedAuditEntry = GITHUB_AuditEntry & GITHUB_No readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgOauthAppAccessRequestedAuditEntry object */ + readonly id: Scalars['ID']; + /** The name of the OAuth application. */ + readonly oauthApplicationName: Maybe; + /** The HTTP path for the OAuth application */ + readonly oauthApplicationResourcePath: Maybe; + /** The HTTP URL for the OAuth application */ + readonly oauthApplicationUrl: Maybe; + /** The corresponding operation type for the action */ + readonly operationType: Maybe; + /** The Organization associated with the Audit Entry. */ + readonly organization: Maybe; + /** The name of the Organization. */ + readonly organizationName: Maybe; + /** The HTTP path for the organization */ + readonly organizationResourcePath: Maybe; + /** The HTTP URL for the organization */ + readonly organizationUrl: Maybe; + /** The user affected by the action */ + readonly user: Maybe; + /** For actions involving two users, the actor is the initiator and the user is the affected user. */ + readonly userLogin: Maybe; + /** The HTTP path for the user. */ + readonly userResourcePath: Maybe; + /** The HTTP URL for the user. */ + readonly userUrl: Maybe; +}; + +/** Audit log entry for a org.oauth_app_access_unblocked event. */ +type GITHUB_OrgOauthAppAccessUnblockedAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_OauthApplicationAuditEntryData & GITHUB_OrganizationAuditEntryData & { + /** The action name */ + readonly action: Scalars['String']; + /** The user who initiated the action */ + readonly actor: Maybe; + /** The IP address of the actor */ + readonly actorIp: Maybe; + /** A readable representation of the actor's location */ + readonly actorLocation: Maybe; + /** The username of the user who initiated the action */ + readonly actorLogin: Maybe; + /** The HTTP path for the actor. */ + readonly actorResourcePath: Maybe; + /** The HTTP URL for the actor. */ + readonly actorUrl: Maybe; + /** The time the action was initiated */ + readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgOauthAppAccessUnblockedAuditEntry object */ readonly id: Scalars['ID']; - /** The name of the OAuth Application. */ + /** The name of the OAuth application. */ readonly oauthApplicationName: Maybe; - /** The HTTP path for the OAuth Application */ + /** The HTTP path for the OAuth application */ readonly oauthApplicationResourcePath: Maybe; - /** The HTTP URL for the OAuth Application */ + /** The HTTP URL for the OAuth application */ readonly oauthApplicationUrl: Maybe; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10795,6 +12215,7 @@ type GITHUB_OrgRemoveBillingManagerAuditEntry = GITHUB_AuditEntry & GITHUB_Node readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgRemoveBillingManagerAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -10845,6 +12266,7 @@ type GITHUB_OrgRemoveMemberAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgRemoveMemberAuditEntry object */ readonly id: Scalars['ID']; /** The types of membership the member has with the organization. */ readonly membershipTypes: Maybe>; @@ -10872,7 +12294,7 @@ type GITHUB_OrgRemoveMemberAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB /** The type of membership a user has with an Organization. */ type GITHUB_OrgRemoveMemberAuditEntryMembershipType = - /** Organization administrators have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership. In addition, organization admins can delete the organization and all of its repositories. */ + /** Organization owners have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership. In addition, organization owners can delete the organization and all of its repositories. */ | 'ADMIN' /** A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. */ | 'BILLING_MANAGER' @@ -10916,6 +12338,7 @@ type GITHUB_OrgRemoveOutsideCollaboratorAuditEntry = GITHUB_AuditEntry & GITHUB_ readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgRemoveOutsideCollaboratorAuditEntry object */ readonly id: Scalars['ID']; /** The types of membership the outside collaborator has with the organization. */ readonly membershipTypes: Maybe>; @@ -10975,6 +12398,7 @@ type GITHUB_OrgRestoreMemberAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHU readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgRestoreMemberAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -11075,6 +12499,7 @@ type GITHUB_OrgUnblockUserAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_ readonly blockedUserUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgUnblockUserAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -11114,6 +12539,7 @@ type GITHUB_OrgUpdateDefaultRepositoryPermissionAuditEntry = GITHUB_AuditEntry & readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgUpdateDefaultRepositoryPermissionAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -11168,6 +12594,7 @@ type GITHUB_OrgUpdateMemberAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgUpdateMemberAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -11220,6 +12647,7 @@ type GITHUB_OrgUpdateMemberRepositoryCreationPermissionAuditEntry = GITHUB_Audit readonly canCreateRepositories: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgUpdateMemberRepositoryCreationPermissionAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -11282,6 +12710,7 @@ type GITHUB_OrgUpdateMemberRepositoryInvitationPermissionAuditEntry = GITHUB_Aud readonly canInviteOutsideCollaboratorsToRepositories: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the OrgUpdateMemberRepositoryInvitationPermissionAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -11304,9 +12733,17 @@ type GITHUB_OrgUpdateMemberRepositoryInvitationPermissionAuditEntry = GITHUB_Aud }; /** An account on GitHub, with one or more owners, that has repositories, members and teams. */ -type GITHUB_Organization = GITHUB_Actor & GITHUB_MemberStatusable & GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProfileOwner & GITHUB_ProjectNextOwner & GITHUB_ProjectOwner & GITHUB_ProjectV2Owner & GITHUB_ProjectV2Recent & GITHUB_RepositoryDiscussionAuthor & GITHUB_RepositoryDiscussionCommentAuthor & GITHUB_RepositoryOwner & GITHUB_Sponsorable & GITHUB_UniformResourceLocatable & { +type GITHUB_Organization = GITHUB_Actor & GITHUB_AnnouncementBanner & GITHUB_MemberStatusable & GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProfileOwner & GITHUB_ProjectOwner & GITHUB_ProjectV2Owner & GITHUB_ProjectV2Recent & GITHUB_RepositoryDiscussionAuthor & GITHUB_RepositoryDiscussionCommentAuthor & GITHUB_RepositoryOwner & GITHUB_Sponsorable & GITHUB_UniformResourceLocatable & { + /** The text of the announcement */ + readonly announcement: Maybe; + /** The expiration date of the announcement, if any */ + readonly announcementExpiresAt: Maybe; + /** Whether the announcement can be dismissed by the user */ + readonly announcementUserDismissible: Maybe; /** Determine if this repository owner has any items that can be pinned to their profile. */ readonly anyPinnableItems: Scalars['Boolean']; + /** Identifies the date and time when the organization was archived. */ + readonly archivedAt: Maybe; /** Audit log entries of the organization */ readonly auditLog: GITHUB_OrganizationAuditEntryConnection; /** A URL pointing to the organization's public avatar. */ @@ -11329,6 +12766,7 @@ type GITHUB_Organization = GITHUB_Actor & GITHUB_MemberStatusable & GITHUB_Node readonly estimatedNextSponsorsPayoutInCents: Scalars['Int']; /** True if this user/organization has a GitHub Sponsors listing. */ readonly hasSponsorsListing: Scalars['Boolean']; + /** The Node ID of the Organization object */ readonly id: Scalars['ID']; /** The interaction ability settings for this organization. */ readonly interactionAbility: Maybe; @@ -11338,7 +12776,7 @@ type GITHUB_Organization = GITHUB_Actor & GITHUB_MemberStatusable & GITHUB_Node readonly ipAllowListEntries: GITHUB_IpAllowListEntryConnection; /** The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled. */ readonly ipAllowListForInstalledAppsEnabledSetting: GITHUB_IpAllowListForInstalledAppsEnabledSettingValue; - /** Check if the given account is sponsoring this user/organization. */ + /** Whether the given account is sponsoring this user/organization. */ readonly isSponsoredBy: Scalars['Boolean']; /** True if the viewer is sponsored by this user/organization. */ readonly isSponsoringViewer: Scalars['Boolean']; @@ -11350,6 +12788,8 @@ type GITHUB_Organization = GITHUB_Actor & GITHUB_MemberStatusable & GITHUB_Node readonly location: Maybe; /** The organization's login name. */ readonly login: Scalars['String']; + /** A list of all mannequins for this organization. */ + readonly mannequins: GITHUB_MannequinConnection; /** Get the status messages members of this entity have set that are either public or visible only to the organization. */ readonly memberStatuses: GITHUB_UserStatusConnection; /** Members can fork private repositories in this organization */ @@ -11380,20 +12820,10 @@ type GITHUB_Organization = GITHUB_Actor & GITHUB_MemberStatusable & GITHUB_Node readonly pinnedItemsRemaining: Scalars['Int']; /** Find project by number. */ readonly project: Maybe; - /** - * Find a project by project (beta) number. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNext: Maybe; /** Find a project by number. */ readonly projectV2: Maybe; /** A list of projects under the owner. */ readonly projects: GITHUB_ProjectConnection; - /** - * A list of projects (beta) under the owner. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectsNext: GITHUB_ProjectNextConnection; /** The HTTP path listing organization's projects */ readonly projectsResourcePath: Scalars['GITHUB_URI']; /** The HTTP URL listing organization's projects */ @@ -11416,7 +12846,11 @@ type GITHUB_Organization = GITHUB_Actor & GITHUB_MemberStatusable & GITHUB_Node readonly requiresTwoFactorAuthentication: Maybe; /** The HTTP path for this organization. */ readonly resourcePath: Scalars['GITHUB_URI']; - /** The Organization's SAML identity providers */ + /** Returns a single ruleset from the current organization by ID. */ + readonly ruleset: Maybe; + /** A list of rulesets for this organization. */ + readonly rulesets: Maybe; + /** The Organization's SAML identity provider. 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. */ readonly samlIdentityProvider: Maybe; /** List of users and organizations this entity is sponsoring. */ readonly sponsoring: GITHUB_SponsorConnection; @@ -11426,15 +12860,15 @@ type GITHUB_Organization = GITHUB_Actor & GITHUB_MemberStatusable & GITHUB_Node readonly sponsorsActivities: GITHUB_SponsorsActivityConnection; /** The GitHub Sponsors listing for this user or organization. */ readonly sponsorsListing: Maybe; - /** The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. Only returns a sponsorship if it is active. */ + /** The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. */ readonly sponsorshipForViewerAsSponsor: Maybe; - /** The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. Only returns a sponsorship if it is active. */ + /** The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. */ readonly sponsorshipForViewerAsSponsorable: Maybe; /** List of sponsorship updates sent from this sponsorable to sponsors. */ readonly sponsorshipNewsletters: GITHUB_SponsorshipNewsletterConnection; - /** This object's sponsorships as the maintainer. */ + /** The sponsorships where this user or organization is the maintainer receiving the funds. */ readonly sponsorshipsAsMaintainer: GITHUB_SponsorshipConnection; - /** This object's sponsorships as the sponsor. */ + /** The sponsorships where this user or organization is the funder. */ readonly sponsorshipsAsSponsor: GITHUB_SponsorshipConnection; /** Find an organization's team by its slug. */ readonly team: Maybe; @@ -11444,6 +12878,8 @@ type GITHUB_Organization = GITHUB_Actor & GITHUB_MemberStatusable & GITHUB_Node readonly teamsResourcePath: Scalars['GITHUB_URI']; /** The HTTP URL listing organization's teams */ readonly teamsUrl: Scalars['GITHUB_URI']; + /** The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. */ + readonly totalSponsorshipAmountAsSponsorInCents: Maybe; /** The organization's Twitter username. */ readonly twitterUsername: Maybe; /** Identifies the date and time when the object was last updated. */ @@ -11468,6 +12904,8 @@ type GITHUB_Organization = GITHUB_Actor & GITHUB_MemberStatusable & GITHUB_Node readonly viewerIsFollowing: Scalars['Boolean']; /** True if the viewer is sponsoring this user/organization. */ readonly viewerIsSponsoring: Scalars['Boolean']; + /** Whether contributors are required to sign off on web-based commits for repositories in this organization. */ + readonly webCommitSignoffRequired: Scalars['Boolean']; /** The organization's public profile URL. */ readonly websiteUrl: Maybe; }; @@ -11536,6 +12974,17 @@ type GITHUB_Organization_isSponsoredByArgs = { }; +/** An account on GitHub, with one or more owners, that has repositories, members and teams. */ +type GITHUB_Organization_mannequinsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + login: InputMaybe; + orderBy?: InputMaybe; +}; + + /** An account on GitHub, with one or more owners, that has repositories, members and teams. */ type GITHUB_Organization_memberStatusesArgs = { after: InputMaybe; @@ -11603,12 +13052,6 @@ type GITHUB_Organization_projectArgs = { }; -/** An account on GitHub, with one or more owners, that has repositories, members and teams. */ -type GITHUB_Organization_projectNextArgs = { - number: Scalars['Int']; -}; - - /** An account on GitHub, with one or more owners, that has repositories, members and teams. */ type GITHUB_Organization_projectV2Args = { number: Scalars['Int']; @@ -11627,17 +13070,6 @@ type GITHUB_Organization_projectsArgs = { }; -/** An account on GitHub, with one or more owners, that has repositories, members and teams. */ -type GITHUB_Organization_projectsNextArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; - query: InputMaybe; - sortBy?: InputMaybe; -}; - - /** An account on GitHub, with one or more owners, that has repositories, members and teams. */ type GITHUB_Organization_projectsV2Args = { after: InputMaybe; @@ -11664,12 +13096,15 @@ type GITHUB_Organization_repositoriesArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; + hasIssuesEnabled: InputMaybe; + isArchived: InputMaybe; isFork: InputMaybe; isLocked: InputMaybe; last: InputMaybe; orderBy: InputMaybe; ownerAffiliations?: InputMaybe>>; privacy: InputMaybe; + visibility: InputMaybe; }; @@ -11700,6 +13135,7 @@ type GITHUB_Organization_repositoryDiscussionsArgs = { last: InputMaybe; orderBy?: InputMaybe; repositoryId: InputMaybe; + states?: InputMaybe>; }; @@ -11715,6 +13151,22 @@ type GITHUB_Organization_repositoryMigrationsArgs = { }; +/** An account on GitHub, with one or more owners, that has repositories, members and teams. */ +type GITHUB_Organization_rulesetArgs = { + databaseId: Scalars['Int']; +}; + + +/** An account on GitHub, with one or more owners, that has repositories, members and teams. */ +type GITHUB_Organization_rulesetsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + includeParents?: InputMaybe; + last: InputMaybe; +}; + + /** An account on GitHub, with one or more owners, that has repositories, members and teams. */ type GITHUB_Organization_sponsoringArgs = { after: InputMaybe; @@ -11742,9 +13194,25 @@ type GITHUB_Organization_sponsorsActivitiesArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; + includeAsSponsor?: InputMaybe; + includePrivate?: InputMaybe; last: InputMaybe; orderBy?: InputMaybe; period?: InputMaybe; + since: InputMaybe; + until: InputMaybe; +}; + + +/** An account on GitHub, with one or more owners, that has repositories, members and teams. */ +type GITHUB_Organization_sponsorshipForViewerAsSponsorArgs = { + activeOnly?: InputMaybe; +}; + + +/** An account on GitHub, with one or more owners, that has repositories, members and teams. */ +type GITHUB_Organization_sponsorshipForViewerAsSponsorableArgs = { + activeOnly?: InputMaybe; }; @@ -11760,6 +13228,7 @@ type GITHUB_Organization_sponsorshipNewslettersArgs = { /** An account on GitHub, with one or more owners, that has repositories, members and teams. */ type GITHUB_Organization_sponsorshipsAsMaintainerArgs = { + activeOnly?: InputMaybe; after: InputMaybe; before: InputMaybe; first: InputMaybe; @@ -11771,10 +13240,12 @@ type GITHUB_Organization_sponsorshipsAsMaintainerArgs = { /** An account on GitHub, with one or more owners, that has repositories, members and teams. */ type GITHUB_Organization_sponsorshipsAsSponsorArgs = { + activeOnly?: InputMaybe; after: InputMaybe; before: InputMaybe; first: InputMaybe; last: InputMaybe; + maintainerLogins: InputMaybe>; orderBy: InputMaybe; }; @@ -11792,6 +13263,7 @@ type GITHUB_Organization_teamsArgs = { first: InputMaybe; last: InputMaybe; ldapMapped: InputMaybe; + notificationSetting: InputMaybe; orderBy: InputMaybe; privacy: InputMaybe; query: InputMaybe; @@ -11800,8 +13272,16 @@ type GITHUB_Organization_teamsArgs = { userLogins: InputMaybe>; }; + +/** An account on GitHub, with one or more owners, that has repositories, members and teams. */ +type GITHUB_Organization_totalSponsorshipAmountAsSponsorInCentsArgs = { + since: InputMaybe; + sponsorableLogins?: InputMaybe>; + until: InputMaybe; +}; + /** An audit entry in an organization audit log. */ -type GITHUB_OrganizationAuditEntry = GITHUB_MembersCanDeleteReposClearAuditEntry | GITHUB_MembersCanDeleteReposDisableAuditEntry | GITHUB_MembersCanDeleteReposEnableAuditEntry | GITHUB_OauthApplicationCreateAuditEntry | GITHUB_OrgAddBillingManagerAuditEntry | GITHUB_OrgAddMemberAuditEntry | GITHUB_OrgBlockUserAuditEntry | GITHUB_OrgConfigDisableCollaboratorsOnlyAuditEntry | GITHUB_OrgConfigEnableCollaboratorsOnlyAuditEntry | GITHUB_OrgCreateAuditEntry | GITHUB_OrgDisableOauthAppRestrictionsAuditEntry | GITHUB_OrgDisableSamlAuditEntry | GITHUB_OrgDisableTwoFactorRequirementAuditEntry | GITHUB_OrgEnableOauthAppRestrictionsAuditEntry | GITHUB_OrgEnableSamlAuditEntry | GITHUB_OrgEnableTwoFactorRequirementAuditEntry | GITHUB_OrgInviteMemberAuditEntry | GITHUB_OrgInviteToBusinessAuditEntry | GITHUB_OrgOauthAppAccessApprovedAuditEntry | GITHUB_OrgOauthAppAccessDeniedAuditEntry | GITHUB_OrgOauthAppAccessRequestedAuditEntry | GITHUB_OrgRemoveBillingManagerAuditEntry | GITHUB_OrgRemoveMemberAuditEntry | GITHUB_OrgRemoveOutsideCollaboratorAuditEntry | GITHUB_OrgRestoreMemberAuditEntry | GITHUB_OrgUnblockUserAuditEntry | GITHUB_OrgUpdateDefaultRepositoryPermissionAuditEntry | GITHUB_OrgUpdateMemberAuditEntry | GITHUB_OrgUpdateMemberRepositoryCreationPermissionAuditEntry | GITHUB_OrgUpdateMemberRepositoryInvitationPermissionAuditEntry | GITHUB_PrivateRepositoryForkingDisableAuditEntry | GITHUB_PrivateRepositoryForkingEnableAuditEntry | GITHUB_RepoAccessAuditEntry | GITHUB_RepoAddMemberAuditEntry | GITHUB_RepoAddTopicAuditEntry | GITHUB_RepoArchivedAuditEntry | GITHUB_RepoChangeMergeSettingAuditEntry | GITHUB_RepoConfigDisableAnonymousGitAccessAuditEntry | GITHUB_RepoConfigDisableCollaboratorsOnlyAuditEntry | GITHUB_RepoConfigDisableContributorsOnlyAuditEntry | GITHUB_RepoConfigDisableSockpuppetDisallowedAuditEntry | GITHUB_RepoConfigEnableAnonymousGitAccessAuditEntry | GITHUB_RepoConfigEnableCollaboratorsOnlyAuditEntry | GITHUB_RepoConfigEnableContributorsOnlyAuditEntry | GITHUB_RepoConfigEnableSockpuppetDisallowedAuditEntry | GITHUB_RepoConfigLockAnonymousGitAccessAuditEntry | GITHUB_RepoConfigUnlockAnonymousGitAccessAuditEntry | GITHUB_RepoCreateAuditEntry | GITHUB_RepoDestroyAuditEntry | GITHUB_RepoRemoveMemberAuditEntry | GITHUB_RepoRemoveTopicAuditEntry | GITHUB_RepositoryVisibilityChangeDisableAuditEntry | GITHUB_RepositoryVisibilityChangeEnableAuditEntry | GITHUB_TeamAddMemberAuditEntry | GITHUB_TeamAddRepositoryAuditEntry | GITHUB_TeamChangeParentTeamAuditEntry | GITHUB_TeamRemoveMemberAuditEntry | GITHUB_TeamRemoveRepositoryAuditEntry; +type GITHUB_OrganizationAuditEntry = GITHUB_MembersCanDeleteReposClearAuditEntry | GITHUB_MembersCanDeleteReposDisableAuditEntry | GITHUB_MembersCanDeleteReposEnableAuditEntry | GITHUB_OauthApplicationCreateAuditEntry | GITHUB_OrgAddBillingManagerAuditEntry | GITHUB_OrgAddMemberAuditEntry | GITHUB_OrgBlockUserAuditEntry | GITHUB_OrgConfigDisableCollaboratorsOnlyAuditEntry | GITHUB_OrgConfigEnableCollaboratorsOnlyAuditEntry | GITHUB_OrgCreateAuditEntry | GITHUB_OrgDisableOauthAppRestrictionsAuditEntry | GITHUB_OrgDisableSamlAuditEntry | GITHUB_OrgDisableTwoFactorRequirementAuditEntry | GITHUB_OrgEnableOauthAppRestrictionsAuditEntry | GITHUB_OrgEnableSamlAuditEntry | GITHUB_OrgEnableTwoFactorRequirementAuditEntry | GITHUB_OrgInviteMemberAuditEntry | GITHUB_OrgInviteToBusinessAuditEntry | GITHUB_OrgOauthAppAccessApprovedAuditEntry | GITHUB_OrgOauthAppAccessBlockedAuditEntry | GITHUB_OrgOauthAppAccessDeniedAuditEntry | GITHUB_OrgOauthAppAccessRequestedAuditEntry | GITHUB_OrgOauthAppAccessUnblockedAuditEntry | GITHUB_OrgRemoveBillingManagerAuditEntry | GITHUB_OrgRemoveMemberAuditEntry | GITHUB_OrgRemoveOutsideCollaboratorAuditEntry | GITHUB_OrgRestoreMemberAuditEntry | GITHUB_OrgUnblockUserAuditEntry | GITHUB_OrgUpdateDefaultRepositoryPermissionAuditEntry | GITHUB_OrgUpdateMemberAuditEntry | GITHUB_OrgUpdateMemberRepositoryCreationPermissionAuditEntry | GITHUB_OrgUpdateMemberRepositoryInvitationPermissionAuditEntry | GITHUB_PrivateRepositoryForkingDisableAuditEntry | GITHUB_PrivateRepositoryForkingEnableAuditEntry | GITHUB_RepoAccessAuditEntry | GITHUB_RepoAddMemberAuditEntry | GITHUB_RepoAddTopicAuditEntry | GITHUB_RepoArchivedAuditEntry | GITHUB_RepoChangeMergeSettingAuditEntry | GITHUB_RepoConfigDisableAnonymousGitAccessAuditEntry | GITHUB_RepoConfigDisableCollaboratorsOnlyAuditEntry | GITHUB_RepoConfigDisableContributorsOnlyAuditEntry | GITHUB_RepoConfigDisableSockpuppetDisallowedAuditEntry | GITHUB_RepoConfigEnableAnonymousGitAccessAuditEntry | GITHUB_RepoConfigEnableCollaboratorsOnlyAuditEntry | GITHUB_RepoConfigEnableContributorsOnlyAuditEntry | GITHUB_RepoConfigEnableSockpuppetDisallowedAuditEntry | GITHUB_RepoConfigLockAnonymousGitAccessAuditEntry | GITHUB_RepoConfigUnlockAnonymousGitAccessAuditEntry | GITHUB_RepoCreateAuditEntry | GITHUB_RepoDestroyAuditEntry | GITHUB_RepoRemoveMemberAuditEntry | GITHUB_RepoRemoveTopicAuditEntry | GITHUB_RepositoryVisibilityChangeDisableAuditEntry | GITHUB_RepositoryVisibilityChangeEnableAuditEntry | GITHUB_TeamAddMemberAuditEntry | GITHUB_TeamAddRepositoryAuditEntry | GITHUB_TeamChangeParentTeamAuditEntry | GITHUB_TeamRemoveMemberAuditEntry | GITHUB_TeamRemoveRepositoryAuditEntry; /** The connection type for OrganizationAuditEntry. */ type GITHUB_OrganizationAuditEntryConnection = { @@ -11877,12 +13357,13 @@ type GITHUB_OrganizationEnterpriseOwnerEdge = { readonly organizationRole: GITHUB_RoleInOrganization; }; -/** An Identity Provider configured to provision SAML and SCIM identities for Organizations */ +/** An Identity Provider configured to provision SAML and SCIM identities for Organizations. 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. */ type GITHUB_OrganizationIdentityProvider = GITHUB_Node & { /** The digest algorithm used to sign SAML requests for the Identity Provider. */ readonly digestMethod: Maybe; /** External Identities provisioned by this Identity Provider */ readonly externalIdentities: GITHUB_ExternalIdentityConnection; + /** The Node ID of the OrganizationIdentityProvider object */ readonly id: Scalars['ID']; /** The x509 certificate used by the Identity Provider to sign assertions and responses. */ readonly idpCertificate: Maybe; @@ -11897,7 +13378,7 @@ type GITHUB_OrganizationIdentityProvider = GITHUB_Node & { }; -/** An Identity Provider configured to provision SAML and SCIM identities for Organizations */ +/** An Identity Provider configured to provision SAML and SCIM identities for Organizations. 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. */ type GITHUB_OrganizationIdentityProvider_externalIdentitiesArgs = { after: InputMaybe; before: InputMaybe; @@ -11914,13 +13395,21 @@ type GITHUB_OrganizationInvitation = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The email address of the user invited to the organization. */ readonly email: Maybe; + /** The Node ID of the OrganizationInvitation object */ readonly id: Scalars['ID']; + /** The source of the invitation. */ + readonly invitationSource: GITHUB_OrganizationInvitationSource; /** The type of invitation that was sent (e.g. email, user). */ readonly invitationType: GITHUB_OrganizationInvitationType; /** The user who was invited to the organization. */ readonly invitee: Maybe; - /** The user who created the invitation. */ + /** + * The user who created the invitation. + * @deprecated `inviter` will be removed. `inviter` will be replaced by `inviterActor`. Removal on 2024-07-01 UTC. + */ readonly inviter: GITHUB_User; + /** The user who created the invitation. */ + readonly inviterActor: Maybe; /** The organization the invite is for */ readonly organization: GITHUB_Organization; /** The user's pending role in the organization (e.g. member, owner). */ @@ -11958,6 +13447,15 @@ type GITHUB_OrganizationInvitationRole = /** The user's previous role will be reinstated. */ | 'REINSTATE'; +/** The possible organization invitation sources. */ +type GITHUB_OrganizationInvitationSource = + /** The invitation was created from the web interface or from API */ + | 'MEMBER' + /** The invitation was created from SCIM */ + | 'SCIM' + /** The invitation was sent before this feature was added */ + | 'UNKNOWN'; + /** The possible organization invitation types. */ type GITHUB_OrganizationInvitationType = /** The invitation was to an email address. */ @@ -12007,6 +13505,53 @@ type GITHUB_OrganizationMembersCanCreateRepositoriesSettingValue = /** Members will be able to create only private repositories. */ | 'PRIVATE'; +/** A GitHub Enterprise Importer (GEI) organization migration. */ +type GITHUB_OrganizationMigration = GITHUB_Node & { + /** Identifies the date and time when the object was created. */ + readonly createdAt: Scalars['GITHUB_DateTime']; + /** Identifies the primary key from the database. */ + readonly databaseId: Maybe; + /** The reason the organization migration failed. */ + readonly failureReason: Maybe; + /** The Node ID of the OrganizationMigration object */ + readonly id: Scalars['ID']; + /** The remaining amount of repos to be migrated. */ + readonly remainingRepositoriesCount: Maybe; + /** The name of the source organization to be migrated. */ + readonly sourceOrgName: Scalars['String']; + /** The URL of the source organization to migrate. */ + readonly sourceOrgUrl: Scalars['GITHUB_URI']; + /** The migration state. */ + readonly state: GITHUB_OrganizationMigrationState; + /** The name of the target organization. */ + readonly targetOrgName: Scalars['String']; + /** The total amount of repositories to be migrated. */ + readonly totalRepositoriesCount: Maybe; +}; + +/** The Octoshift Organization migration state. */ +type GITHUB_OrganizationMigrationState = + /** The Octoshift migration has failed. */ + | 'FAILED' + /** The Octoshift migration has invalid credentials. */ + | 'FAILED_VALIDATION' + /** The Octoshift migration is in progress. */ + | 'IN_PROGRESS' + /** The Octoshift migration has not started. */ + | 'NOT_STARTED' + /** The Octoshift migration needs to have its credentials validated. */ + | 'PENDING_VALIDATION' + /** The Octoshift migration is performing post repository migrations. */ + | 'POST_REPO_MIGRATION' + /** The Octoshift migration is performing pre repository migrations. */ + | 'PRE_REPO_MIGRATION' + /** The Octoshift migration has been queued. */ + | 'QUEUED' + /** The Octoshift org migration is performing repository migrations. */ + | 'REPO_MIGRATION' + /** The Octoshift migration has succeeded. */ + | 'SUCCEEDED'; + /** Used for argument of CreateProjectV2 mutation. */ type GITHUB_OrganizationOrUser = GITHUB_Organization | GITHUB_User; @@ -12069,10 +13614,12 @@ type GITHUB_OrganizationsHovercardContext_relevantOrganizationsArgs = { before: InputMaybe; first: InputMaybe; last: InputMaybe; + orderBy?: InputMaybe; }; /** Information for an uploaded package. */ type GITHUB_Package = GITHUB_Node & { + /** The Node ID of the Package object */ readonly id: Scalars['ID']; /** Find the latest version for the package. */ readonly latestVersion: Maybe; @@ -12128,6 +13675,7 @@ type GITHUB_PackageEdge = { /** A file in a package version. */ type GITHUB_PackageFile = GITHUB_Node & { + /** The Node ID of the PackageFile object */ readonly id: Scalars['ID']; /** MD5 hash of the file. */ readonly md5: Maybe; @@ -12195,6 +13743,7 @@ type GITHUB_PackageOrderField = /** Represents an owner of a package. */ type GITHUB_PackageOwner = { + /** The Node ID of the PackageOwner object */ readonly id: Scalars['ID']; /** A list of packages under the owner. */ readonly packages: GITHUB_PackageConnection; @@ -12221,6 +13770,7 @@ type GITHUB_PackageStatistics = { /** A version tag contains the mapping between a tag name and a version. */ type GITHUB_PackageTag = GITHUB_Node & { + /** The Node ID of the PackageTag object */ readonly id: Scalars['ID']; /** Identifies the tag name of the version. */ readonly name: Scalars['String']; @@ -12249,6 +13799,7 @@ type GITHUB_PackageType = type GITHUB_PackageVersion = GITHUB_Node & { /** List of files associated with this package version */ readonly files: GITHUB_PackageFileConnection; + /** The Node ID of the PackageVersion object */ readonly id: Scalars['ID']; /** The package associated with this version. */ readonly package: Maybe; @@ -12353,6 +13904,8 @@ type GITHUB_PermissionSource = { readonly organization: GITHUB_Organization; /** The level of access this source has granted to the user. */ readonly permission: GITHUB_DefaultRepositoryPermissionField; + /** The name of the role this source has granted to the user. */ + readonly roleName: Maybe; /** The source of this permission. */ readonly source: GITHUB_PermissionGranter; }; @@ -12425,6 +13978,7 @@ type GITHUB_PinnedDiscussion = GITHUB_Node & GITHUB_RepositoryNode & { readonly discussion: GITHUB_Discussion; /** Color stops of the chosen gradient */ readonly gradientStopColors: ReadonlyArray; + /** The Node ID of the PinnedDiscussion object */ readonly id: Scalars['ID']; /** Background texture pattern */ readonly pattern: GITHUB_PinnedDiscussionPattern; @@ -12492,6 +14046,7 @@ type GITHUB_PinnedEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the PinnedEvent object */ readonly id: Scalars['ID']; /** Identifies the issue associated with the event. */ readonly issue: GITHUB_Issue; @@ -12501,6 +14056,9 @@ type GITHUB_PinnedEvent = GITHUB_Node & { type GITHUB_PinnedIssue = GITHUB_Node & { /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** Identifies the primary key from the database as a BigInt. */ + readonly fullDatabaseId: Maybe; + /** The Node ID of the PinnedIssue object */ readonly id: Scalars['ID']; /** The issue that was pinned. */ readonly issue: GITHUB_Issue; @@ -12554,6 +14112,7 @@ type GITHUB_PrivateRepositoryForkingDisableAuditEntry = GITHUB_AuditEntry & GITH readonly enterpriseSlug: Maybe; /** The HTTP URL for this enterprise. */ readonly enterpriseUrl: Maybe; + /** The Node ID of the PrivateRepositoryForkingDisableAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -12607,6 +14166,7 @@ type GITHUB_PrivateRepositoryForkingEnableAuditEntry = GITHUB_AuditEntry & GITHU readonly enterpriseSlug: Maybe; /** The HTTP URL for this enterprise. */ readonly enterpriseUrl: Maybe; + /** The Node ID of the PrivateRepositoryForkingEnableAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -12659,6 +14219,7 @@ type GITHUB_ProfileOwner = { readonly anyPinnableItems: Scalars['Boolean']; /** The public profile email. */ readonly email: Maybe; + /** The Node ID of the ProfileOwner object */ readonly id: Scalars['ID']; /** Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. */ readonly itemShowcase: GITHUB_ProfileItemShowcase; @@ -12712,7 +14273,7 @@ type GITHUB_Project = GITHUB_Closable & GITHUB_Node & GITHUB_Updatable & { readonly body: Maybe; /** The projects description body rendered to HTML. */ readonly bodyHTML: Scalars['GITHUB_HTML']; - /** `true` if the object is closed (definition of closed may depend on type) */ + /** Indicates if the object is closed (definition of closed may depend on type) */ readonly closed: Scalars['Boolean']; /** Identifies the date and time when the object was closed. */ readonly closedAt: Maybe; @@ -12724,6 +14285,7 @@ type GITHUB_Project = GITHUB_Closable & GITHUB_Node & GITHUB_Updatable & { readonly creator: Maybe; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the Project object */ readonly id: Scalars['ID']; /** The project's name. */ readonly name: Scalars['String']; @@ -12743,6 +14305,10 @@ type GITHUB_Project = GITHUB_Closable & GITHUB_Node & GITHUB_Updatable & { readonly updatedAt: Scalars['GITHUB_DateTime']; /** The HTTP URL for this project */ readonly url: Scalars['GITHUB_URI']; + /** Indicates if the object can be closed by the viewer. */ + readonly viewerCanClose: Scalars['Boolean']; + /** Indicates if the object can be reopened by the viewer. */ + readonly viewerCanReopen: Scalars['Boolean']; /** Check if the current viewer can update this object. */ readonly viewerCanUpdate: Scalars['Boolean']; }; @@ -12784,6 +14350,7 @@ type GITHUB_ProjectCard = GITHUB_Node & { readonly creator: Maybe; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the ProjectCard object */ readonly id: Scalars['ID']; /** Whether the card is archived */ readonly isArchived: Scalars['Boolean']; @@ -12848,6 +14415,7 @@ type GITHUB_ProjectColumn = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the ProjectColumn object */ readonly id: Scalars['ID']; /** The project column's name. */ readonly name: Scalars['String']; @@ -12922,494 +14490,13 @@ type GITHUB_ProjectEdge = { readonly node: Maybe; }; -/** The type of a project item. */ -type GITHUB_ProjectItemType = - /** Draft Issue */ - | 'DRAFT_ISSUE' - /** Issue */ - | 'ISSUE' - /** Pull Request */ - | 'PULL_REQUEST' - /** Redacted Item */ - | 'REDACTED'; - -/** New projects that manage issues, pull requests and drafts using tables and boards. */ -type GITHUB_ProjectNext = GITHUB_Closable & GITHUB_Node & GITHUB_Updatable & { - /** - * Returns true if the project is closed. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly closed: Scalars['Boolean']; - /** Identifies the date and time when the object was closed. */ - readonly closedAt: Maybe; - /** - * Identifies the date and time when the object was created. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly createdAt: Scalars['GITHUB_DateTime']; - /** - * The actor who originally created the project. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly creator: Maybe; - /** - * Identifies the primary key from the database. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly databaseId: Maybe; - /** - * The project's description. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly description: Maybe; - /** - * List of fields in the project - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly fields: GITHUB_ProjectNextFieldConnection; - readonly id: Scalars['ID']; - /** - * List of items in the project - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly items: GITHUB_ProjectNextItemConnection; - /** - * The project's number. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly number: Scalars['Int']; - /** - * The project's owner. Currently limited to organizations and users. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly owner: GITHUB_ProjectNextOwner; - /** - * Returns true if the project is public. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly public: Scalars['Boolean']; - /** - * The repositories the project is linked to. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly repositories: GITHUB_RepositoryConnection; - /** - * The HTTP path for this project - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly resourcePath: Scalars['GITHUB_URI']; - /** - * The project's short description. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly shortDescription: Maybe; - /** - * The project's name. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly title: Maybe; - /** - * Identifies the date and time when the object was last updated. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly updatedAt: Scalars['GITHUB_DateTime']; - /** - * The HTTP URL for this project - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly url: Scalars['GITHUB_URI']; - /** Check if the current viewer can update this object. */ - readonly viewerCanUpdate: Scalars['Boolean']; - /** - * List of views in the project - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly views: GITHUB_ProjectViewConnection; -}; - - -/** New projects that manage issues, pull requests and drafts using tables and boards. */ -type GITHUB_ProjectNext_fieldsArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; -}; - - -/** New projects that manage issues, pull requests and drafts using tables and boards. */ -type GITHUB_ProjectNext_itemsArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; -}; - - -/** New projects that manage issues, pull requests and drafts using tables and boards. */ -type GITHUB_ProjectNext_repositoriesArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; -}; - - -/** New projects that manage issues, pull requests and drafts using tables and boards. */ -type GITHUB_ProjectNext_viewsArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; -}; - -/** The connection type for ProjectNext. */ -type GITHUB_ProjectNextConnection = { - /** A list of edges. */ - readonly edges: Maybe>>; - /** A list of nodes. */ - readonly nodes: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: GITHUB_PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']; -}; - -/** An edge in a connection. */ -type GITHUB_ProjectNextEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']; - /** The item at the end of the edge. */ - readonly node: Maybe; -}; - -/** A field inside a project. */ -type GITHUB_ProjectNextField = GITHUB_Node & GITHUB_ProjectNextFieldCommon & { - /** - * Identifies the date and time when the object was created. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly createdAt: Scalars['GITHUB_DateTime']; - /** - * The field's type. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly dataType: GITHUB_ProjectNextFieldType; - /** - * Identifies the primary key from the database. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly databaseId: Maybe; - readonly id: Scalars['ID']; - /** - * The project field's name. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly name: Scalars['String']; - /** - * The project that contains this field. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly project: GITHUB_ProjectNext; - /** - * The field's settings. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly settings: Maybe; - /** - * Identifies the date and time when the object was last updated. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly updatedAt: Scalars['GITHUB_DateTime']; -}; - -/** Common fields across different field types */ -type GITHUB_ProjectNextFieldCommon = { - /** - * Identifies the date and time when the object was created. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly createdAt: Scalars['GITHUB_DateTime']; - /** - * The field's type. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly dataType: GITHUB_ProjectNextFieldType; - /** - * Identifies the primary key from the database. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly databaseId: Maybe; - /** @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. */ - readonly id: Scalars['ID']; - /** - * The project field's name. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly name: Scalars['String']; - /** - * The project that contains this field. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly project: GITHUB_ProjectNext; - /** - * The field's settings. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly settings: Maybe; - /** - * Identifies the date and time when the object was last updated. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly updatedAt: Scalars['GITHUB_DateTime']; -}; - -/** The connection type for ProjectNextField. */ -type GITHUB_ProjectNextFieldConnection = { - /** A list of edges. */ - readonly edges: Maybe>>; - /** A list of nodes. */ - readonly nodes: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: GITHUB_PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']; -}; - -/** An edge in a connection. */ -type GITHUB_ProjectNextFieldEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']; - /** The item at the end of the edge. */ - readonly node: Maybe; -}; - -/** The type of a project next field. */ -type GITHUB_ProjectNextFieldType = - /** Assignees */ - | 'ASSIGNEES' - /** Date */ - | 'DATE' - /** Iteration */ - | 'ITERATION' - /** Labels */ - | 'LABELS' - /** Linked Pull Requests */ - | 'LINKED_PULL_REQUESTS' - /** Milestone */ - | 'MILESTONE' - /** Number */ - | 'NUMBER' - /** Repository */ - | 'REPOSITORY' - /** Reviewers */ - | 'REVIEWERS' - /** Single Select */ - | 'SINGLE_SELECT' - /** Tasks */ - | 'TASKS' - /** Text */ - | 'TEXT' - /** Title */ - | 'TITLE'; - -/** An item within a new Project. */ -type GITHUB_ProjectNextItem = GITHUB_Node & { - /** - * The content of the referenced draft issue, issue, or pull request - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly content: Maybe; - /** - * Identifies the date and time when the object was created. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly createdAt: Scalars['GITHUB_DateTime']; - /** - * The actor who created the item. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly creator: Maybe; - /** - * Identifies the primary key from the database. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly databaseId: Maybe; - /** - * List of field values - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly fieldValues: GITHUB_ProjectNextItemFieldValueConnection; - readonly id: Scalars['ID']; - /** - * Whether the item is archived. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly isArchived: Scalars['Boolean']; - /** - * The project that contains this item. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly project: GITHUB_ProjectNext; - /** - * The title of the item - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly title: Maybe; - /** - * The type of the item. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly type: GITHUB_ProjectItemType; - /** - * Identifies the date and time when the object was last updated. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly updatedAt: Scalars['GITHUB_DateTime']; -}; - - -/** An item within a new Project. */ -type GITHUB_ProjectNextItem_fieldValuesArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; -}; - -/** The connection type for ProjectNextItem. */ -type GITHUB_ProjectNextItemConnection = { - /** A list of edges. */ - readonly edges: Maybe>>; - /** A list of nodes. */ - readonly nodes: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: GITHUB_PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']; -}; - -/** Types that can be inside Project Items. */ -type GITHUB_ProjectNextItemContent = GITHUB_DraftIssue | GITHUB_Issue | GITHUB_PullRequest; - -/** An edge in a connection. */ -type GITHUB_ProjectNextItemEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']; - /** The item at the end of the edge. */ - readonly node: Maybe; -}; - -/** An value of a field in an item of a new Project. */ -type GITHUB_ProjectNextItemFieldValue = GITHUB_Node & { - /** - * Identifies the date and time when the object was created. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly createdAt: Scalars['GITHUB_DateTime']; - /** - * The actor who created the item. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly creator: Maybe; - /** - * Identifies the primary key from the database. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly databaseId: Maybe; - readonly id: Scalars['ID']; - /** - * The project field that contains this value. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectField: GITHUB_ProjectNextField; - /** - * The project item that contains this value. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectItem: GITHUB_ProjectNextItem; - /** - * Identifies the date and time when the object was last updated. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly updatedAt: Scalars['GITHUB_DateTime']; - /** - * The value of a field - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly value: Maybe; -}; - -/** The connection type for ProjectNextItemFieldValue. */ -type GITHUB_ProjectNextItemFieldValueConnection = { - /** A list of edges. */ - readonly edges: Maybe>>; - /** A list of nodes. */ - readonly nodes: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: GITHUB_PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']; -}; - -/** An edge in a connection. */ -type GITHUB_ProjectNextItemFieldValueEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']; - /** The item at the end of the edge. */ - readonly node: Maybe; -}; - -/** Properties by which the return project can be ordered. */ -type GITHUB_ProjectNextOrderField = - /** The project's date and time of creation */ - | 'CREATED_AT' - /** The project's number */ - | 'NUMBER' - /** The project's title */ - | 'TITLE' - /** The project's date and time of update */ - | 'UPDATED_AT'; - -/** Represents an owner of a project (beta). */ -type GITHUB_ProjectNextOwner = { - readonly id: Scalars['ID']; - /** - * Find a project by project (beta) number. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNext: Maybe; - /** - * A list of projects (beta) under the owner. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectsNext: GITHUB_ProjectNextConnection; -}; - - -/** Represents an owner of a project (beta). */ -type GITHUB_ProjectNextOwner_projectNextArgs = { - number: Scalars['Int']; -}; - - -/** Represents an owner of a project (beta). */ -type GITHUB_ProjectNextOwner_projectsNextArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; - query: InputMaybe; - sortBy?: InputMaybe; -}; - -/** Ways in which lists of projects can be ordered upon return. */ -type GITHUB_ProjectOrder = { - /** The direction in which to order projects by the specified field. */ - readonly direction: GITHUB_OrderDirection; - /** The field in which to order projects by. */ - readonly field: GITHUB_ProjectOrderField; -}; +/** Ways in which lists of projects can be ordered upon return. */ +type GITHUB_ProjectOrder = { + /** The direction in which to order projects by the specified field. */ + readonly direction: GITHUB_OrderDirection; + /** The field in which to order projects by. */ + readonly field: GITHUB_ProjectOrderField; +}; /** Properties by which project connections can be ordered. */ type GITHUB_ProjectOrderField = @@ -13422,6 +14509,7 @@ type GITHUB_ProjectOrderField = /** Represents an owner of a Project. */ type GITHUB_ProjectOwner = { + /** The Node ID of the ProjectOwner object */ readonly id: Scalars['ID']; /** Find project by number. */ readonly project: Maybe; @@ -13505,6 +14593,7 @@ type GITHUB_ProjectV2 = GITHUB_Closable & GITHUB_Node & GITHUB_Updatable & { readonly field: Maybe; /** List of fields and their constraints in the project */ readonly fields: GITHUB_ProjectV2FieldConfigurationConnection; + /** The Node ID of the ProjectV2 object */ readonly id: Scalars['ID']; /** List of items in the project */ readonly items: GITHUB_ProjectV2ItemConnection; @@ -13522,16 +14611,30 @@ type GITHUB_ProjectV2 = GITHUB_Closable & GITHUB_Node & GITHUB_Updatable & { readonly resourcePath: Scalars['GITHUB_URI']; /** The project's short description. */ readonly shortDescription: Maybe; + /** The teams the project is linked to. */ + readonly teams: GITHUB_TeamConnection; + /** Returns true if this project is a template. */ + readonly template: Scalars['Boolean']; /** The project's name. */ readonly title: Scalars['String']; /** Identifies the date and time when the object was last updated. */ readonly updatedAt: Scalars['GITHUB_DateTime']; /** The HTTP URL for this project */ readonly url: Scalars['GITHUB_URI']; + /** A view of the project */ + readonly view: Maybe; + /** Indicates if the object can be closed by the viewer. */ + readonly viewerCanClose: Scalars['Boolean']; + /** Indicates if the object can be reopened by the viewer. */ + readonly viewerCanReopen: Scalars['Boolean']; /** Check if the current viewer can update this object. */ readonly viewerCanUpdate: Scalars['Boolean']; /** List of views in the project */ readonly views: GITHUB_ProjectV2ViewConnection; + /** A workflow of the project */ + readonly workflow: Maybe; + /** List of the workflows in the project */ + readonly workflows: GITHUB_ProjectV2WorkflowConnection; }; @@ -13571,6 +14674,22 @@ type GITHUB_ProjectV2_repositoriesArgs = { }; +/** New projects that manage issues, pull requests and drafts using tables and boards. */ +type GITHUB_ProjectV2_teamsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + orderBy?: InputMaybe; +}; + + +/** New projects that manage issues, pull requests and drafts using tables and boards. */ +type GITHUB_ProjectV2_viewArgs = { + number: Scalars['Int']; +}; + + /** New projects that manage issues, pull requests and drafts using tables and boards. */ type GITHUB_ProjectV2_viewsArgs = { after: InputMaybe; @@ -13580,6 +14699,55 @@ type GITHUB_ProjectV2_viewsArgs = { orderBy?: InputMaybe; }; + +/** New projects that manage issues, pull requests and drafts using tables and boards. */ +type GITHUB_ProjectV2_workflowArgs = { + number: Scalars['Int']; +}; + + +/** New projects that manage issues, pull requests and drafts using tables and boards. */ +type GITHUB_ProjectV2_workflowsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + orderBy?: InputMaybe; +}; + +/** Possible collaborators for a project. */ +type GITHUB_ProjectV2Actor = GITHUB_Team | GITHUB_User; + +/** The connection type for ProjectV2Actor. */ +type GITHUB_ProjectV2ActorConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +type GITHUB_ProjectV2ActorEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** A collaborator to update on a project. Only one of the userId or teamId should be provided. */ +type GITHUB_ProjectV2Collaborator = { + /** The role to grant the collaborator */ + readonly role: GITHUB_ProjectV2Roles; + /** The ID of the team as a collaborator. */ + readonly teamId: InputMaybe; + /** The ID of the user as a collaborator. */ + readonly userId: InputMaybe; +}; + /** The connection type for ProjectV2. */ type GITHUB_ProjectV2Connection = { /** A list of edges. */ @@ -13592,6 +14760,17 @@ type GITHUB_ProjectV2Connection = { readonly totalCount: Scalars['Int']; }; +/** The type of a project field. */ +type GITHUB_ProjectV2CustomFieldType = + /** Date */ + | 'DATE' + /** Number */ + | 'NUMBER' + /** Single Select */ + | 'SINGLE_SELECT' + /** Text */ + | 'TEXT'; + /** An edge in a connection. */ type GITHUB_ProjectV2Edge = { /** A cursor for use in pagination. */ @@ -13608,6 +14787,7 @@ type GITHUB_ProjectV2Field = GITHUB_Node & GITHUB_ProjectV2FieldCommon & { readonly dataType: GITHUB_ProjectV2FieldType; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the ProjectV2Field object */ readonly id: Scalars['ID']; /** The project field's name. */ readonly name: Scalars['String']; @@ -13625,6 +14805,7 @@ type GITHUB_ProjectV2FieldCommon = { readonly dataType: GITHUB_ProjectV2FieldType; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the ProjectV2FieldCommon object */ readonly id: Scalars['ID']; /** The project field's name. */ readonly name: Scalars['String']; @@ -13716,12 +14897,14 @@ type GITHUB_ProjectV2FieldType = | 'REVIEWERS' /** Single Select */ | 'SINGLE_SELECT' - /** Tasks */ - | 'TASKS' /** Text */ | 'TEXT' /** Title */ - | 'TITLE'; + | 'TITLE' + /** Tracked by */ + | 'TRACKED_BY' + /** Tracks */ + | 'TRACKS'; /** The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time. */ type GITHUB_ProjectV2FieldValue = { @@ -13737,6 +14920,12 @@ type GITHUB_ProjectV2FieldValue = { readonly text: InputMaybe; }; +/** Ways in which to filter lists of projects. */ +type GITHUB_ProjectV2Filters = { + /** List project v2 filtered by the state given. */ + readonly state: InputMaybe; +}; + /** An item within a Project. */ type GITHUB_ProjectV2Item = GITHUB_Node & { /** The content of the referenced draft issue, issue, or pull request */ @@ -13747,10 +14936,11 @@ type GITHUB_ProjectV2Item = GITHUB_Node & { readonly creator: Maybe; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; - /** A specific field value given a field name */ + /** The field value of the first project field which matches the 'name' argument that is set on the item. */ readonly fieldValueByName: Maybe; - /** List of field values */ + /** The field values that are set on the item. */ readonly fieldValues: GITHUB_ProjectV2ItemFieldValueConnection; + /** The Node ID of the ProjectV2Item object */ readonly id: Scalars['ID']; /** Whether the item is archived. */ readonly isArchived: Scalars['Boolean']; @@ -13813,6 +15003,7 @@ type GITHUB_ProjectV2ItemFieldDateValue = GITHUB_Node & GITHUB_ProjectV2ItemFiel readonly date: Maybe; /** The project field that contains this value. */ readonly field: GITHUB_ProjectV2FieldConfiguration; + /** The Node ID of the ProjectV2ItemFieldDateValue object */ readonly id: Scalars['ID']; /** The project item that contains this value. */ readonly item: GITHUB_ProjectV2Item; @@ -13832,6 +15023,7 @@ type GITHUB_ProjectV2ItemFieldIterationValue = GITHUB_Node & GITHUB_ProjectV2Ite readonly duration: Scalars['Int']; /** The project field that contains this value. */ readonly field: GITHUB_ProjectV2FieldConfiguration; + /** The Node ID of the ProjectV2ItemFieldIterationValue object */ readonly id: Scalars['ID']; /** The project item that contains this value. */ readonly item: GITHUB_ProjectV2Item; @@ -13882,6 +15074,7 @@ type GITHUB_ProjectV2ItemFieldNumberValue = GITHUB_Node & GITHUB_ProjectV2ItemFi readonly databaseId: Maybe; /** The project field that contains this value. */ readonly field: GITHUB_ProjectV2FieldConfiguration; + /** The Node ID of the ProjectV2ItemFieldNumberValue object */ readonly id: Scalars['ID']; /** The project item that contains this value. */ readonly item: GITHUB_ProjectV2Item; @@ -13936,14 +15129,21 @@ type GITHUB_ProjectV2ItemFieldReviewerValue_reviewersArgs = { /** The value of a single select field in a Project item. */ type GITHUB_ProjectV2ItemFieldSingleSelectValue = GITHUB_Node & GITHUB_ProjectV2ItemFieldValueCommon & { + /** The color applied to the selected single-select option. */ + readonly color: GITHUB_ProjectV2SingleSelectFieldOptionColor; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; /** The actor who created the item. */ readonly creator: Maybe; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** A plain-text description of the selected single-select option, such as what the option means. */ + readonly description: Maybe; + /** The description of the selected single-select option, including HTML tags. */ + readonly descriptionHTML: Maybe; /** The project field that contains this value. */ readonly field: GITHUB_ProjectV2FieldConfiguration; + /** The Node ID of the ProjectV2ItemFieldSingleSelectValue object */ readonly id: Scalars['ID']; /** The project item that contains this value. */ readonly item: GITHUB_ProjectV2Item; @@ -13967,6 +15167,7 @@ type GITHUB_ProjectV2ItemFieldTextValue = GITHUB_Node & GITHUB_ProjectV2ItemFiel readonly databaseId: Maybe; /** The project field that contains this value. */ readonly field: GITHUB_ProjectV2FieldConfiguration; + /** The Node ID of the ProjectV2ItemFieldTextValue object */ readonly id: Scalars['ID']; /** The project item that contains this value. */ readonly item: GITHUB_ProjectV2Item; @@ -14006,6 +15207,7 @@ type GITHUB_ProjectV2ItemFieldValueCommon = { readonly databaseId: Maybe; /** The project field that contains this value. */ readonly field: GITHUB_ProjectV2FieldConfiguration; + /** The Node ID of the ProjectV2ItemFieldValueCommon object */ readonly id: Scalars['ID']; /** The project item that contains this value. */ readonly item: GITHUB_ProjectV2Item; @@ -14080,6 +15282,7 @@ type GITHUB_ProjectV2IterationField = GITHUB_Node & GITHUB_ProjectV2FieldCommon readonly dataType: GITHUB_ProjectV2FieldType; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the ProjectV2IterationField object */ readonly id: Scalars['ID']; /** The project field's name. */ readonly name: Scalars['String']; @@ -14134,8 +15337,9 @@ type GITHUB_ProjectV2OrderField = /** The project's date and time of update */ | 'UPDATED_AT'; -/** Represents an owner of a project (beta). */ +/** Represents an owner of a project. */ type GITHUB_ProjectV2Owner = { + /** The Node ID of the ProjectV2Owner object */ readonly id: Scalars['ID']; /** Find a project by number. */ readonly projectV2: Maybe; @@ -14144,13 +15348,13 @@ type GITHUB_ProjectV2Owner = { }; -/** Represents an owner of a project (beta). */ +/** Represents an owner of a project. */ type GITHUB_ProjectV2Owner_projectV2Args = { number: Scalars['Int']; }; -/** Represents an owner of a project (beta). */ +/** Represents an owner of a project. */ type GITHUB_ProjectV2Owner_projectsV2Args = { after: InputMaybe; before: InputMaybe; @@ -14175,6 +15379,17 @@ type GITHUB_ProjectV2Recent_recentProjectsArgs = { last: InputMaybe; }; +/** The possible roles of a collaborator on a project. */ +type GITHUB_ProjectV2Roles = + /** The collaborator can view, edit, and maange the settings of the project */ + | 'ADMIN' + /** The collaborator has no direct access to the project */ + | 'NONE' + /** The collaborator can view the project */ + | 'READER' + /** The collaborator can view and edit the project */ + | 'WRITER'; + /** A single select field inside a project. */ type GITHUB_ProjectV2SingleSelectField = GITHUB_Node & GITHUB_ProjectV2FieldCommon & { /** Identifies the date and time when the object was created. */ @@ -14183,6 +15398,7 @@ type GITHUB_ProjectV2SingleSelectField = GITHUB_Node & GITHUB_ProjectV2FieldComm readonly dataType: GITHUB_ProjectV2FieldType; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the ProjectV2SingleSelectField object */ readonly id: Scalars['ID']; /** The project field's name. */ readonly name: Scalars['String']; @@ -14194,8 +15410,20 @@ type GITHUB_ProjectV2SingleSelectField = GITHUB_Node & GITHUB_ProjectV2FieldComm readonly updatedAt: Scalars['GITHUB_DateTime']; }; + +/** A single select field inside a project. */ +type GITHUB_ProjectV2SingleSelectField_optionsArgs = { + names: InputMaybe>; +}; + /** Single select field option for a configuration for a project. */ type GITHUB_ProjectV2SingleSelectFieldOption = { + /** The option's display color. */ + readonly color: GITHUB_ProjectV2SingleSelectFieldOptionColor; + /** The option's plain-text description. */ + readonly description: Scalars['String']; + /** The option's description, possibly containing HTML. */ + readonly descriptionHTML: Scalars['String']; /** The option's ID. */ readonly id: Scalars['String']; /** The option's name. */ @@ -14204,6 +15432,35 @@ type GITHUB_ProjectV2SingleSelectFieldOption = { readonly nameHTML: Scalars['String']; }; +/** The display color of a single-select field option. */ +type GITHUB_ProjectV2SingleSelectFieldOptionColor = + /** BLUE */ + | 'BLUE' + /** GRAY */ + | 'GRAY' + /** GREEN */ + | 'GREEN' + /** ORANGE */ + | 'ORANGE' + /** PINK */ + | 'PINK' + /** PURPLE */ + | 'PURPLE' + /** RED */ + | 'RED' + /** YELLOW */ + | 'YELLOW'; + +/** Represents a single select field option */ +type GITHUB_ProjectV2SingleSelectFieldOptionInput = { + /** The display color of the option */ + readonly color: GITHUB_ProjectV2SingleSelectFieldOptionColor; + /** The description text of the option */ + readonly description: Scalars['String']; + /** The name of the option */ + readonly name: Scalars['String']; +}; + /** Represents a sort by field and direction. */ type GITHUB_ProjectV2SortBy = { /** The direction of the sorting. Possible values are ASC and DESC. */ @@ -14232,16 +15489,59 @@ type GITHUB_ProjectV2SortByEdge = { readonly node: Maybe; }; +/** Represents a sort by field and direction. */ +type GITHUB_ProjectV2SortByField = { + /** The direction of the sorting. Possible values are ASC and DESC. */ + readonly direction: GITHUB_OrderDirection; + /** The field by which items are sorted. */ + readonly field: GITHUB_ProjectV2FieldConfiguration; +}; + +/** The connection type for ProjectV2SortByField. */ +type GITHUB_ProjectV2SortByFieldConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +type GITHUB_ProjectV2SortByFieldEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** The possible states of a project v2. */ +type GITHUB_ProjectV2State = + /** A project v2 that has been closed */ + | 'CLOSED' + /** A project v2 that is still open */ + | 'OPEN'; + /** A view within a ProjectV2. */ type GITHUB_ProjectV2View = GITHUB_Node & { /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The view's visible fields. */ + readonly fields: Maybe; /** The project view's filter. */ readonly filter: Maybe; - /** The view's group-by field. */ + /** + * The view's group-by field. + * @deprecated The `ProjectV2View#order_by` API is deprecated in favour of the more capable `ProjectV2View#group_by_field` API. Check out the `ProjectV2View#group_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC. + */ readonly groupBy: Maybe; + /** The view's group-by field. */ + readonly groupByFields: Maybe; + /** The Node ID of the ProjectV2View object */ readonly id: Scalars['ID']; /** The project view's layout. */ readonly layout: GITHUB_ProjectV2ViewLayout; @@ -14251,17 +15551,40 @@ type GITHUB_ProjectV2View = GITHUB_Node & { readonly number: Scalars['Int']; /** The project that contains this view. */ readonly project: GITHUB_ProjectV2; - /** The view's sort-by config. */ + /** + * The view's sort-by config. + * @deprecated The `ProjectV2View#sort_by` API is deprecated in favour of the more capable `ProjectV2View#sort_by_fields` API. Check out the `ProjectV2View#sort_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC. + */ readonly sortBy: Maybe; + /** The view's sort-by config. */ + readonly sortByFields: Maybe; /** Identifies the date and time when the object was last updated. */ readonly updatedAt: Scalars['GITHUB_DateTime']; - /** The view's vertical-group-by field. */ + /** + * The view's vertical-group-by field. + * @deprecated The `ProjectV2View#vertical_group_by` API is deprecated in favour of the more capable `ProjectV2View#vertical_group_by_fields` API. Check out the `ProjectV2View#vertical_group_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC. + */ readonly verticalGroupBy: Maybe; - /** The view's visible fields. */ + /** The view's vertical-group-by field. */ + readonly verticalGroupByFields: Maybe; + /** + * The view's visible fields. + * @deprecated The `ProjectV2View#visibleFields` API is deprecated in favour of the more capable `ProjectV2View#fields` API. Check out the `ProjectV2View#fields` API as an example for the more capable alternative. Removal on 2023-01-01 UTC. + */ readonly visibleFields: Maybe; }; +/** A view within a ProjectV2. */ +type GITHUB_ProjectV2View_fieldsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + orderBy?: InputMaybe; +}; + + /** A view within a ProjectV2. */ type GITHUB_ProjectV2View_groupByArgs = { after: InputMaybe; @@ -14272,6 +15595,16 @@ type GITHUB_ProjectV2View_groupByArgs = { }; +/** A view within a ProjectV2. */ +type GITHUB_ProjectV2View_groupByFieldsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + orderBy?: InputMaybe; +}; + + /** A view within a ProjectV2. */ type GITHUB_ProjectV2View_sortByArgs = { after: InputMaybe; @@ -14281,6 +15614,15 @@ type GITHUB_ProjectV2View_sortByArgs = { }; +/** A view within a ProjectV2. */ +type GITHUB_ProjectV2View_sortByFieldsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; +}; + + /** A view within a ProjectV2. */ type GITHUB_ProjectV2View_verticalGroupByArgs = { after: InputMaybe; @@ -14291,6 +15633,16 @@ type GITHUB_ProjectV2View_verticalGroupByArgs = { }; +/** A view within a ProjectV2. */ +type GITHUB_ProjectV2View_verticalGroupByFieldsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + orderBy?: InputMaybe; +}; + + /** A view within a ProjectV2. */ type GITHUB_ProjectV2View_visibleFieldsArgs = { after: InputMaybe; @@ -14324,6 +15676,8 @@ type GITHUB_ProjectV2ViewEdge = { type GITHUB_ProjectV2ViewLayout = /** Board layout */ | 'BOARD_LAYOUT' + /** Roadmap layout */ + | 'ROADMAP_LAYOUT' /** Table layout */ | 'TABLE_LAYOUT'; @@ -14344,77 +15698,32 @@ type GITHUB_ProjectV2ViewOrderField = /** Order project v2 views by position */ | 'POSITION'; -/** A view within a Project. */ -type GITHUB_ProjectView = GITHUB_Node & { - /** - * Identifies the date and time when the object was created. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ +/** A workflow inside a project. */ +type GITHUB_ProjectV2Workflow = GITHUB_Node & { + /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; - /** - * Identifies the primary key from the database. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ + /** Identifies the primary key from the database. */ readonly databaseId: Maybe; - /** - * The project view's filter. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly filter: Maybe; - /** - * The view's group-by field. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly groupBy: Maybe>; + /** Whether the workflow is enabled. */ + readonly enabled: Scalars['Boolean']; + /** The Node ID of the ProjectV2Workflow object */ readonly id: Scalars['ID']; - /** - * The project view's layout. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly layout: GITHUB_ProjectViewLayout; - /** - * The project view's name. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ + /** The name of the workflow. */ readonly name: Scalars['String']; - /** - * The project view's number. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ + /** The number of the workflow. */ readonly number: Scalars['Int']; - /** - * The project that contains this view. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly project: GITHUB_ProjectNext; - /** - * The view's sort-by config. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly sortBy: Maybe>; - /** - * Identifies the date and time when the object was last updated. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ + /** The project that contains this workflow. */ + readonly project: GITHUB_ProjectV2; + /** Identifies the date and time when the object was last updated. */ readonly updatedAt: Scalars['GITHUB_DateTime']; - /** - * The view's vertical-group-by field. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly verticalGroupBy: Maybe>; - /** - * The view's visible fields. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly visibleFields: Maybe>; }; -/** The connection type for ProjectView. */ -type GITHUB_ProjectViewConnection = { +/** The connection type for ProjectV2Workflow. */ +type GITHUB_ProjectV2WorkflowConnection = { /** A list of edges. */ - readonly edges: Maybe>>; + readonly edges: Maybe>>; /** A list of nodes. */ - readonly nodes: Maybe>>; + readonly nodes: Maybe>>; /** Information to aid in pagination. */ readonly pageInfo: GITHUB_PageInfo; /** Identifies the total count of items in the connection. */ @@ -14422,19 +15731,31 @@ type GITHUB_ProjectViewConnection = { }; /** An edge in a connection. */ -type GITHUB_ProjectViewEdge = { +type GITHUB_ProjectV2WorkflowEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of the edge. */ - readonly node: Maybe; + readonly node: Maybe; }; -/** The layout of a project view. */ -type GITHUB_ProjectViewLayout = - /** Board layout */ - | 'BOARD_LAYOUT' - /** Table layout */ - | 'TABLE_LAYOUT'; +/** Ordering options for project v2 workflows connections */ +type GITHUB_ProjectV2WorkflowOrder = { + /** The ordering direction. */ + readonly direction: GITHUB_OrderDirection; + /** The field to order the project v2 workflows by. */ + readonly field: GITHUB_ProjectV2WorkflowsOrderField; +}; + +/** Properties by which project workflows can be ordered. */ +type GITHUB_ProjectV2WorkflowsOrderField = + /** The date and time of the workflow creation */ + | 'CREATED_AT' + /** The name of the workflow */ + | 'NAME' + /** The number of the workflow */ + | 'NUMBER' + /** The date and time of the workflow update */ + | 'UPDATED_AT'; /** A user's public key. */ type GITHUB_PublicKey = GITHUB_Node & { @@ -14444,6 +15765,7 @@ type GITHUB_PublicKey = GITHUB_Node & { readonly createdAt: Maybe; /** The fingerprint for this PublicKey. */ readonly fingerprint: Scalars['String']; + /** The Node ID of the PublicKey object */ readonly id: Scalars['ID']; /** Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user. */ readonly isReadOnly: Maybe; @@ -14473,8 +15795,24 @@ type GITHUB_PublicKeyEdge = { readonly node: Maybe; }; +/** Autogenerated input type of PublishSponsorsTier */ +type GITHUB_PublishSponsorsTierInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the draft tier to publish. */ + readonly tierId: Scalars['ID']; +}; + +/** Autogenerated return type of PublishSponsorsTier */ +type GITHUB_PublishSponsorsTierPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The tier that was published. */ + readonly sponsorsTier: Maybe; +}; + /** A repository pull request. */ -type GITHUB_PullRequest = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & GITHUB_Labelable & GITHUB_Lockable & GITHUB_Node & GITHUB_ProjectNextOwner & GITHUB_ProjectV2Owner & GITHUB_Reactable & GITHUB_RepositoryNode & GITHUB_Subscribable & GITHUB_UniformResourceLocatable & GITHUB_Updatable & GITHUB_UpdatableComment & { +type GITHUB_PullRequest = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & GITHUB_Labelable & GITHUB_Lockable & GITHUB_Node & GITHUB_ProjectV2Owner & GITHUB_Reactable & GITHUB_RepositoryNode & GITHUB_Subscribable & GITHUB_UniformResourceLocatable & GITHUB_Updatable & GITHUB_UpdatableComment & { /** Reason that the conversation was locked. */ readonly activeLockReason: Maybe; /** The number of additions in this pull request. */ @@ -14541,6 +15879,7 @@ type GITHUB_PullRequest = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & readonly headRepositoryOwner: Maybe; /** The hovercard information for this issue */ readonly hovercard: GITHUB_Hovercard; + /** The Node ID of the PullRequest object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; @@ -14564,6 +15903,8 @@ type GITHUB_PullRequest = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & readonly maintainerCanModify: Scalars['Boolean']; /** The commit that was created when this pull request was merged. */ readonly mergeCommit: Maybe; + /** The merge queue entry of the pull request in the base branch's merge queue */ + readonly mergeQueueEntry: Maybe; /** Whether or not the pull request can be merged based on the existence of merge conflicts. */ readonly mergeable: GITHUB_MergeableState; /** Whether or not the pull request was merged. */ @@ -14586,23 +15927,8 @@ type GITHUB_PullRequest = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & readonly projectCards: GITHUB_ProjectCardConnection; /** List of project items associated with this pull request. */ readonly projectItems: GITHUB_ProjectV2ItemConnection; - /** - * Find a project by project (beta) number. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNext: Maybe; - /** - * List of project (beta) items associated with this pull request. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNextItems: GITHUB_ProjectNextItemConnection; /** Find a project by number. */ readonly projectV2: Maybe; - /** - * A list of projects (beta) under the owner. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectsNext: GITHUB_ProjectNextConnection; /** A list of projects under the owner. */ readonly projectsV2: GITHUB_ProjectV2Connection; /** Identifies when the comment was published at. */ @@ -14642,6 +15968,8 @@ type GITHUB_PullRequest = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & readonly title: Scalars['String']; /** Identifies the pull request title rendered to HTML. */ readonly titleHTML: Scalars['GITHUB_HTML']; + /** Returns a count of how many comments this pull request has received. */ + readonly totalCommentsCount: Maybe; /** Identifies the date and time when the object was last updated. */ readonly updatedAt: Scalars['GITHUB_DateTime']; /** The HTTP URL for this pull request. */ @@ -14650,6 +15978,8 @@ type GITHUB_PullRequest = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & readonly userContentEdits: Maybe; /** Whether or not the viewer can apply suggestion. */ readonly viewerCanApplySuggestion: Scalars['Boolean']; + /** Indicates if the object can be closed by the viewer. */ + readonly viewerCanClose: Scalars['Boolean']; /** Check if the viewer can restore the deleted head ref. */ readonly viewerCanDeleteHeadRef: Scalars['Boolean']; /** Whether or not the viewer can disable auto-merge */ @@ -14662,10 +15992,18 @@ type GITHUB_PullRequest = GITHUB_Assignable & GITHUB_Closable & GITHUB_Comment & readonly viewerCanMergeAsAdmin: Scalars['Boolean']; /** Can user react to this subject */ readonly viewerCanReact: Scalars['Boolean']; + /** Indicates if the object can be reopened by the viewer. */ + readonly viewerCanReopen: Scalars['Boolean']; /** Check if the viewer is able to change their subscription status for the repository. */ readonly viewerCanSubscribe: Scalars['Boolean']; /** Check if the current viewer can update this object. */ readonly viewerCanUpdate: Scalars['Boolean']; + /** + * Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref. + * If the head ref is up to date or unable to be updated by this user, this will return false. + * + */ + readonly viewerCanUpdateBranch: Scalars['Boolean']; /** Reasons why the current viewer can not update this comment. */ readonly viewerCannotUpdateReasons: ReadonlyArray; /** Did the viewer author this comment. */ @@ -14795,39 +16133,12 @@ type GITHUB_PullRequest_projectItemsArgs = { }; -/** A repository pull request. */ -type GITHUB_PullRequest_projectNextArgs = { - number: Scalars['Int']; -}; - - -/** A repository pull request. */ -type GITHUB_PullRequest_projectNextItemsArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - includeArchived?: InputMaybe; - last: InputMaybe; -}; - - /** A repository pull request. */ type GITHUB_PullRequest_projectV2Args = { number: Scalars['Int']; }; -/** A repository pull request. */ -type GITHUB_PullRequest_projectsNextArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; - query: InputMaybe; - sortBy?: InputMaybe; -}; - - /** A repository pull request. */ type GITHUB_PullRequest_projectsV2Args = { after: InputMaybe; @@ -14921,6 +16232,13 @@ type GITHUB_PullRequest_viewerMergeHeadlineTextArgs = { mergeType: InputMaybe; }; +/** The possible methods for updating a pull request's head branch with the base branch. */ +type GITHUB_PullRequestBranchUpdateMethod = + /** Update branch via merge */ + | 'MERGE' + /** Update branch via rebase */ + | 'REBASE'; + /** A file changed in a pull request. */ type GITHUB_PullRequestChangedFile = { /** The number of additions to the file. */ @@ -14959,6 +16277,7 @@ type GITHUB_PullRequestChangedFileEdge = { type GITHUB_PullRequestCommit = GITHUB_Node & GITHUB_UniformResourceLocatable & { /** The Git commit object */ readonly commit: GITHUB_Commit; + /** The Node ID of the PullRequestCommit object */ readonly id: Scalars['ID']; /** The pull request this commit belongs to */ readonly pullRequest: GITHUB_PullRequest; @@ -14974,6 +16293,7 @@ type GITHUB_PullRequestCommitCommentThread = GITHUB_Node & GITHUB_RepositoryNode readonly comments: GITHUB_CommitCommentConnection; /** The commit the comments were made on. */ readonly commit: GITHUB_Commit; + /** The Node ID of the PullRequestCommitCommentThread object */ readonly id: Scalars['ID']; /** The file the comments were made on. */ readonly path: Maybe; @@ -15076,8 +16396,36 @@ type GITHUB_PullRequestOrderField = /** Order pull_requests by update time */ | 'UPDATED_AT'; +/** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ +type GITHUB_PullRequestParameters = { + /** New, reviewable commits pushed will dismiss previous pull request review approvals. */ + readonly dismissStaleReviewsOnPush: Scalars['Boolean']; + /** Require an approving review in pull requests that modify files that have a designated code owner. */ + readonly requireCodeOwnerReview: Scalars['Boolean']; + /** Whether the most recent reviewable push must be approved by someone other than the person who pushed it. */ + readonly requireLastPushApproval: Scalars['Boolean']; + /** The number of approving reviews that are required before a pull request can be merged. */ + readonly requiredApprovingReviewCount: Scalars['Int']; + /** All conversations on code must be resolved before a pull request can be merged. */ + readonly requiredReviewThreadResolution: Scalars['Boolean']; +}; + +/** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ +type GITHUB_PullRequestParametersInput = { + /** New, reviewable commits pushed will dismiss previous pull request review approvals. */ + readonly dismissStaleReviewsOnPush: Scalars['Boolean']; + /** Require an approving review in pull requests that modify files that have a designated code owner. */ + readonly requireCodeOwnerReview: Scalars['Boolean']; + /** Whether the most recent reviewable push must be approved by someone other than the person who pushed it. */ + readonly requireLastPushApproval: Scalars['Boolean']; + /** The number of approving reviews that are required before a pull request can be merged. */ + readonly requiredApprovingReviewCount: Scalars['Int']; + /** All conversations on code must be resolved before a pull request can be merged. */ + readonly requiredReviewThreadResolution: Scalars['Boolean']; +}; + /** A review object for a given pull request. */ -type GITHUB_PullRequestReview = GITHUB_Comment & GITHUB_Deletable & GITHUB_Node & GITHUB_Reactable & GITHUB_RepositoryNode & GITHUB_Updatable & GITHUB_UpdatableComment & { +type GITHUB_PullRequestReview = GITHUB_Comment & GITHUB_Deletable & GITHUB_Minimizable & GITHUB_Node & GITHUB_Reactable & GITHUB_RepositoryNode & GITHUB_Updatable & GITHUB_UpdatableComment & { /** The actor who authored the comment. */ readonly author: Maybe; /** Author's association with the subject of the comment. */ @@ -15102,11 +16450,16 @@ type GITHUB_PullRequestReview = GITHUB_Comment & GITHUB_Deletable & GITHUB_Node readonly databaseId: Maybe; /** The actor who edited the comment. */ readonly editor: Maybe; + /** The Node ID of the PullRequestReview object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; + /** Returns whether or not a comment has been minimized. */ + readonly isMinimized: Scalars['Boolean']; /** The moment the editor made the last edit */ readonly 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. */ + readonly minimizedReason: Maybe; /** A list of teams that this review was made on behalf of. */ readonly onBehalfOf: GITHUB_TeamConnection; /** Identifies when the comment was published at. */ @@ -15133,6 +16486,8 @@ type GITHUB_PullRequestReview = GITHUB_Comment & GITHUB_Deletable & GITHUB_Node readonly userContentEdits: Maybe; /** Check if the current viewer can delete this object. */ readonly viewerCanDelete: Scalars['Boolean']; + /** Check if the current viewer can minimize this object. */ + readonly viewerCanMinimize: Scalars['Boolean']; /** Can user react to this subject */ readonly viewerCanReact: Scalars['Boolean']; /** Check if the current viewer can update this object. */ @@ -15207,6 +16562,7 @@ type GITHUB_PullRequestReviewComment = GITHUB_Comment & GITHUB_Deletable & GITHU readonly draftedAt: Scalars['GITHUB_DateTime']; /** The actor who edited the comment. */ readonly editor: Maybe; + /** The Node ID of the PullRequestReviewComment object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; @@ -15214,17 +16570,29 @@ type GITHUB_PullRequestReviewComment = GITHUB_Comment & GITHUB_Deletable & GITHU readonly isMinimized: Scalars['Boolean']; /** The moment the editor made the last edit */ readonly lastEditedAt: Maybe; - /** Returns why the comment was minimized. */ + /** The end line number on the file to which the comment applies */ + readonly line: 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. */ readonly minimizedReason: Maybe; /** Identifies the original commit associated with the comment. */ readonly originalCommit: Maybe; - /** The original line index in the diff to which the comment applies. */ + /** The end line number on the file to which the comment applied when it was first created */ + readonly originalLine: Maybe; + /** + * The original line index in the diff to which the comment applies. + * @deprecated We are phasing out diff-relative positioning for PR comments Removal on 2023-10-01 UTC. + */ readonly originalPosition: Scalars['Int']; + /** The start line number on the file to which the comment applied when it was first created */ + readonly originalStartLine: Maybe; /** Identifies when the comment body is outdated */ readonly outdated: Scalars['Boolean']; /** The path to which the comment applies. */ readonly path: Scalars['String']; - /** The line index in the diff to which the comment applies. */ + /** + * The line index in the diff to which the comment applies. + * @deprecated We are phasing out diff-relative positioning for PR comments Use the `line` and `startLine` fields instead, which are file line numbers instead of diff line numbers Removal on 2023-10-01 UTC. + */ readonly position: Maybe; /** Identifies when the comment was published at. */ readonly publishedAt: Maybe; @@ -15242,8 +16610,12 @@ type GITHUB_PullRequestReviewComment = GITHUB_Comment & GITHUB_Deletable & GITHU readonly repository: GITHUB_Repository; /** The HTTP path permalink for this review comment. */ readonly resourcePath: Scalars['GITHUB_URI']; + /** The start line number on the file to which the comment applies */ + readonly startLine: Maybe; /** Identifies the state of the comment. */ readonly state: GITHUB_PullRequestReviewCommentState; + /** The level at which the comments in the corresponding thread are targeted, can be a diff line or a file */ + readonly subjectType: GITHUB_PullRequestReviewThreadSubjectType; /** Identifies when the comment was last updated. */ readonly updatedAt: Scalars['GITHUB_DateTime']; /** The HTTP URL permalink for this review comment. */ @@ -15388,6 +16760,7 @@ type GITHUB_PullRequestReviewThread = GITHUB_Node & { readonly comments: GITHUB_PullRequestReviewCommentConnection; /** The side of the diff on which this thread was placed. */ readonly diffSide: GITHUB_DiffSide; + /** The Node ID of the PullRequestReviewThread object */ readonly id: Scalars['ID']; /** Whether or not the thread has been collapsed (resolved) */ readonly isCollapsed: Scalars['Boolean']; @@ -15413,6 +16786,8 @@ type GITHUB_PullRequestReviewThread = GITHUB_Node & { readonly startDiffSide: Maybe; /** The start line in the file to which this thread refers (multi-line only) */ readonly startLine: Maybe; + /** The level at which the comments in the corresponding thread are targeted, can be a diff line or a file */ + readonly subjectType: GITHUB_PullRequestReviewThreadSubjectType; /** Indicates whether the current viewer can reply to this thread. */ readonly viewerCanReply: Scalars['Boolean']; /** Whether or not the viewer can resolve this thread */ @@ -15451,6 +16826,13 @@ type GITHUB_PullRequestReviewThreadEdge = { readonly node: Maybe; }; +/** The possible subject types of a pull request review comment. */ +type GITHUB_PullRequestReviewThreadSubjectType = + /** A comment that has been made against the file of a pull request */ + | 'FILE' + /** A comment that has been made against the line of a pull request */ + | 'LINE'; + /** Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. */ type GITHUB_PullRequestRevisionMarker = { /** Identifies the date and time when the object was created. */ @@ -15484,6 +16866,9 @@ type GITHUB_PullRequestTemplate = { type GITHUB_PullRequestThread = GITHUB_Node & { /** A list of pull request comments associated with the thread. */ readonly comments: GITHUB_PullRequestReviewCommentConnection; + /** The side of the diff on which this thread was placed. */ + readonly diffSide: GITHUB_DiffSide; + /** The Node ID of the PullRequestThread object */ readonly id: Scalars['ID']; /** Whether or not the thread has been collapsed (resolved) */ readonly isCollapsed: Scalars['Boolean']; @@ -15491,12 +16876,22 @@ type GITHUB_PullRequestThread = GITHUB_Node & { readonly isOutdated: Scalars['Boolean']; /** Whether this thread has been resolved */ readonly isResolved: Scalars['Boolean']; + /** The line in the file to which this thread refers */ + readonly line: Maybe; + /** Identifies the file path of this thread. */ + readonly path: Scalars['String']; /** Identifies the pull request associated with this thread. */ readonly pullRequest: GITHUB_PullRequest; /** Identifies the repository associated with this thread. */ readonly repository: GITHUB_Repository; /** The user who resolved this thread */ readonly resolvedBy: Maybe; + /** The side of the diff that the first line of the thread starts on (multi-line only) */ + readonly startDiffSide: Maybe; + /** The line of the first file diff in the thread. */ + readonly startLine: Maybe; + /** The level at which the comments in the corresponding thread are targeted, can be a diff line or a file */ + readonly subjectType: GITHUB_PullRequestReviewThreadSubjectType; /** Indicates whether the current viewer can reply to this thread. */ readonly viewerCanReply: Scalars['Boolean']; /** Whether or not the viewer can resolve this thread */ @@ -15539,7 +16934,7 @@ type GITHUB_PullRequestTimelineItemEdge = { }; /** An item in a pull request timeline */ -type GITHUB_PullRequestTimelineItems = GITHUB_AddedToProjectEvent | GITHUB_AssignedEvent | GITHUB_AutoMergeDisabledEvent | GITHUB_AutoMergeEnabledEvent | GITHUB_AutoRebaseEnabledEvent | GITHUB_AutoSquashEnabledEvent | GITHUB_AutomaticBaseChangeFailedEvent | GITHUB_AutomaticBaseChangeSucceededEvent | GITHUB_BaseRefChangedEvent | GITHUB_BaseRefDeletedEvent | GITHUB_BaseRefForcePushedEvent | GITHUB_ClosedEvent | GITHUB_CommentDeletedEvent | GITHUB_ConnectedEvent | GITHUB_ConvertToDraftEvent | GITHUB_ConvertedNoteToIssueEvent | GITHUB_ConvertedToDiscussionEvent | GITHUB_CrossReferencedEvent | GITHUB_DemilestonedEvent | GITHUB_DeployedEvent | GITHUB_DeploymentEnvironmentChangedEvent | GITHUB_DisconnectedEvent | GITHUB_HeadRefDeletedEvent | GITHUB_HeadRefForcePushedEvent | GITHUB_HeadRefRestoredEvent | GITHUB_IssueComment | GITHUB_LabeledEvent | GITHUB_LockedEvent | GITHUB_MarkedAsDuplicateEvent | GITHUB_MentionedEvent | GITHUB_MergedEvent | GITHUB_MilestonedEvent | GITHUB_MovedColumnsInProjectEvent | GITHUB_PinnedEvent | GITHUB_PullRequestCommit | GITHUB_PullRequestCommitCommentThread | GITHUB_PullRequestReview | GITHUB_PullRequestReviewThread | GITHUB_PullRequestRevisionMarker | GITHUB_ReadyForReviewEvent | GITHUB_ReferencedEvent | GITHUB_RemovedFromProjectEvent | GITHUB_RenamedTitleEvent | GITHUB_ReopenedEvent | GITHUB_ReviewDismissedEvent | GITHUB_ReviewRequestRemovedEvent | GITHUB_ReviewRequestedEvent | GITHUB_SubscribedEvent | GITHUB_TransferredEvent | GITHUB_UnassignedEvent | GITHUB_UnlabeledEvent | GITHUB_UnlockedEvent | GITHUB_UnmarkedAsDuplicateEvent | GITHUB_UnpinnedEvent | GITHUB_UnsubscribedEvent | GITHUB_UserBlockedEvent; +type GITHUB_PullRequestTimelineItems = GITHUB_AddedToMergeQueueEvent | GITHUB_AddedToProjectEvent | GITHUB_AssignedEvent | GITHUB_AutoMergeDisabledEvent | GITHUB_AutoMergeEnabledEvent | GITHUB_AutoRebaseEnabledEvent | GITHUB_AutoSquashEnabledEvent | GITHUB_AutomaticBaseChangeFailedEvent | GITHUB_AutomaticBaseChangeSucceededEvent | GITHUB_BaseRefChangedEvent | GITHUB_BaseRefDeletedEvent | GITHUB_BaseRefForcePushedEvent | GITHUB_ClosedEvent | GITHUB_CommentDeletedEvent | GITHUB_ConnectedEvent | GITHUB_ConvertToDraftEvent | GITHUB_ConvertedNoteToIssueEvent | GITHUB_ConvertedToDiscussionEvent | GITHUB_CrossReferencedEvent | GITHUB_DemilestonedEvent | GITHUB_DeployedEvent | GITHUB_DeploymentEnvironmentChangedEvent | GITHUB_DisconnectedEvent | GITHUB_HeadRefDeletedEvent | GITHUB_HeadRefForcePushedEvent | GITHUB_HeadRefRestoredEvent | GITHUB_IssueComment | GITHUB_LabeledEvent | GITHUB_LockedEvent | GITHUB_MarkedAsDuplicateEvent | GITHUB_MentionedEvent | GITHUB_MergedEvent | GITHUB_MilestonedEvent | GITHUB_MovedColumnsInProjectEvent | GITHUB_PinnedEvent | GITHUB_PullRequestCommit | GITHUB_PullRequestCommitCommentThread | GITHUB_PullRequestReview | GITHUB_PullRequestReviewThread | GITHUB_PullRequestRevisionMarker | GITHUB_ReadyForReviewEvent | GITHUB_ReferencedEvent | GITHUB_RemovedFromMergeQueueEvent | GITHUB_RemovedFromProjectEvent | GITHUB_RenamedTitleEvent | GITHUB_ReopenedEvent | GITHUB_ReviewDismissedEvent | GITHUB_ReviewRequestRemovedEvent | GITHUB_ReviewRequestedEvent | GITHUB_SubscribedEvent | GITHUB_TransferredEvent | GITHUB_UnassignedEvent | GITHUB_UnlabeledEvent | GITHUB_UnlockedEvent | GITHUB_UnmarkedAsDuplicateEvent | GITHUB_UnpinnedEvent | GITHUB_UnsubscribedEvent | GITHUB_UserBlockedEvent; /** The connection type for PullRequestTimelineItems. */ type GITHUB_PullRequestTimelineItemsConnection = { @@ -15695,6 +17090,7 @@ type GITHUB_PullRequestUpdateState = /** A Git push. */ type GITHUB_Push = GITHUB_Node & { + /** The Node ID of the Push object */ readonly id: Scalars['ID']; /** The SHA after the push */ readonly nextSha: Maybe; @@ -15714,6 +17110,7 @@ type GITHUB_PushAllowance = GITHUB_Node & { readonly actor: Maybe; /** Identifies the branch protection rule associated with the allowed user, team, or app. */ readonly branchProtectionRule: Maybe; + /** The Node ID of the PushAllowance object */ readonly id: Scalars['ID']; }; @@ -15760,6 +17157,7 @@ type GITHUB_RateLimit = { type GITHUB_Reactable = { /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the Reactable object */ readonly id: Scalars['ID']; /** A list of reactions grouped by content left on the subject. */ readonly reactionGroups: Maybe>; @@ -15809,6 +17207,7 @@ type GITHUB_Reaction = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the Reaction object */ readonly id: Scalars['ID']; /** The reactable piece of content */ readonly reactable: GITHUB_Reactable; @@ -15938,6 +17337,7 @@ type GITHUB_ReadyForReviewEvent = GITHUB_Node & GITHUB_UniformResourceLocatable readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the ReadyForReviewEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: GITHUB_PullRequest; @@ -15953,6 +17353,9 @@ type GITHUB_Ref = GITHUB_Node & { readonly associatedPullRequests: GITHUB_PullRequestConnection; /** Branch protection rules for this ref */ readonly branchProtectionRule: Maybe; + /** Compares the current ref as a base ref to another head ref, if the comparison can be made. */ + readonly compare: Maybe; + /** The Node ID of the Ref object */ readonly id: Scalars['ID']; /** The ref name. */ readonly name: Scalars['String']; @@ -15962,6 +17365,8 @@ type GITHUB_Ref = GITHUB_Node & { readonly refUpdateRule: Maybe; /** The repository the ref belongs to. */ readonly repository: GITHUB_Repository; + /** A list of rules from active Repository and Organization rulesets that apply to this ref. */ + readonly rules: Maybe; /** The object the ref points to. Returns null when object does not exist. */ readonly target: Maybe; }; @@ -15980,6 +17385,22 @@ type GITHUB_Ref_associatedPullRequestsArgs = { states: InputMaybe>; }; + +/** Represents a Git reference. */ +type GITHUB_Ref_compareArgs = { + headRef: Scalars['String']; +}; + + +/** Represents a Git reference. */ +type GITHUB_Ref_rulesArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + orderBy?: InputMaybe; +}; + /** The connection type for Ref. */ type GITHUB_RefConnection = { /** A list of edges. */ @@ -16000,6 +17421,22 @@ type GITHUB_RefEdge = { readonly node: Maybe; }; +/** Parameters to be used for the ref_name condition */ +type GITHUB_RefNameConditionTarget = { + /** Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. */ + readonly exclude: ReadonlyArray; + /** Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. */ + readonly include: ReadonlyArray; +}; + +/** Parameters to be used for the ref_name condition */ +type GITHUB_RefNameConditionTargetInput = { + /** Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. */ + readonly exclude: ReadonlyArray; + /** Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. */ + readonly include: ReadonlyArray; +}; + /** Ways in which lists of git refs can be ordered upon return. */ type GITHUB_RefOrder = { /** The direction in which to order refs by the specified field. */ @@ -16015,7 +17452,7 @@ type GITHUB_RefOrderField = /** Order refs by underlying commit date if the ref prefix is refs/tags/ */ | 'TAG_COMMIT_DATE'; -/** A ref update rules for a viewer. */ +/** Branch protection rules that are enforced on the viewer. */ type GITHUB_RefUpdateRule = { /** Can this branch be deleted. */ readonly allowsDeletions: Scalars['Boolean']; @@ -16053,6 +17490,7 @@ type GITHUB_ReferencedEvent = GITHUB_Node & { readonly commitRepository: GITHUB_Repository; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the ReferencedEvent object */ readonly id: Scalars['ID']; /** Reference originated in a different repository. */ readonly isCrossRepository: Scalars['Boolean']; @@ -16129,6 +17567,7 @@ type GITHUB_Release = GITHUB_Node & GITHUB_Reactable & GITHUB_UniformResourceLoc readonly description: Maybe; /** The description of this release rendered to HTML. */ readonly descriptionHTML: Maybe; + /** The Node ID of the Release object */ readonly id: Scalars['ID']; /** Whether or not the release is a draft */ readonly isDraft: Scalars['Boolean']; @@ -16214,6 +17653,7 @@ type GITHUB_ReleaseAsset = GITHUB_Node & { readonly downloadCount: Scalars['Int']; /** Identifies the URL where you can download the release asset via the browser. */ readonly downloadUrl: Scalars['GITHUB_URI']; + /** The Node ID of the ReleaseAsset object */ readonly id: Scalars['ID']; /** Identifies the title of the release asset. */ readonly name: Scalars['String']; @@ -16342,6 +17782,28 @@ type GITHUB_RemoveEnterpriseIdentityProviderPayload = { readonly identityProvider: Maybe; }; +/** Autogenerated input type of RemoveEnterpriseMember */ +type GITHUB_RemoveEnterpriseMemberInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the enterprise from which the user should be removed. */ + readonly enterpriseId: Scalars['ID']; + /** The ID of the user to remove from the enterprise. */ + readonly userId: Scalars['ID']; +}; + +/** Autogenerated return type of RemoveEnterpriseMember */ +type GITHUB_RemoveEnterpriseMemberPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The updated enterprise. */ + readonly enterprise: Maybe; + /** The user that was removed from the enterprise. */ + readonly user: Maybe; + /** The viewer performing the mutation. */ + readonly viewer: Maybe; +}; + /** Autogenerated input type of RemoveEnterpriseOrganization */ type GITHUB_RemoveEnterpriseOrganizationInput = { /** A unique identifier for the client performing the mutation. */ @@ -16434,6 +17896,8 @@ type GITHUB_RemoveReactionPayload = { readonly clientMutationId: Maybe; /** The reaction object. */ readonly reaction: Maybe; + /** The reaction groups for the subject. */ + readonly reactionGroups: Maybe>; /** The reactable subject. */ readonly subject: Maybe; }; @@ -16470,6 +17934,26 @@ type GITHUB_RemoveUpvotePayload = { readonly subject: Maybe; }; +/** Represents a 'removed_from_merge_queue' event on a given pull request. */ +type GITHUB_RemovedFromMergeQueueEvent = GITHUB_Node & { + /** Identifies the actor who performed the event. */ + readonly actor: Maybe; + /** Identifies the before commit SHA for the 'removed_from_merge_queue' event. */ + readonly beforeCommit: Maybe; + /** Identifies the date and time when the object was created. */ + readonly createdAt: Scalars['GITHUB_DateTime']; + /** The user who removed this Pull Request from the merge queue */ + readonly enqueuer: Maybe; + /** The Node ID of the RemovedFromMergeQueueEvent object */ + readonly id: Scalars['ID']; + /** The merge queue where this pull request was removed from. */ + readonly mergeQueue: Maybe; + /** PullRequest referenced by event. */ + readonly pullRequest: Maybe; + /** The reason this pull request was removed from the queue. */ + readonly reason: Maybe; +}; + /** Represents a 'removed_from_project' event on a given issue or pull request. */ type GITHUB_RemovedFromProjectEvent = GITHUB_Node & { /** Identifies the actor who performed the event. */ @@ -16478,6 +17962,7 @@ type GITHUB_RemovedFromProjectEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the RemovedFromProjectEvent object */ readonly id: Scalars['ID']; }; @@ -16489,6 +17974,7 @@ type GITHUB_RenamedTitleEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the current title of the issue or pull request. */ readonly currentTitle: Scalars['String']; + /** The Node ID of the RenamedTitleEvent object */ readonly id: Scalars['ID']; /** Identifies the previous title of the issue or pull request. */ readonly previousTitle: Scalars['String']; @@ -16499,6 +17985,22 @@ type GITHUB_RenamedTitleEvent = GITHUB_Node & { /** An object which has a renamable title */ type GITHUB_RenamedTitleSubject = GITHUB_Issue | GITHUB_PullRequest; +/** Autogenerated input type of ReopenDiscussion */ +type GITHUB_ReopenDiscussionInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** ID of the discussion to be reopened. */ + readonly discussionId: Scalars['ID']; +}; + +/** Autogenerated return type of ReopenDiscussion */ +type GITHUB_ReopenDiscussionPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The discussion that was reopened. */ + readonly discussion: Maybe; +}; + /** Autogenerated input type of ReopenIssue */ type GITHUB_ReopenIssueInput = { /** A unique identifier for the client performing the mutation. */ @@ -16539,6 +18041,7 @@ type GITHUB_ReopenedEvent = GITHUB_Node & { readonly closable: GITHUB_Closable; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the ReopenedEvent object */ readonly id: Scalars['ID']; /** The reason the issue state was changed to open. */ readonly stateReason: Maybe; @@ -16562,6 +18065,7 @@ type GITHUB_RepoAccessAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_Orga readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoAccessAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -16620,6 +18124,7 @@ type GITHUB_RepoAddMemberAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_O readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoAddMemberAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -16678,6 +18183,7 @@ type GITHUB_RepoAddTopicAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_Or readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoAddTopicAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -16729,6 +18235,7 @@ type GITHUB_RepoArchivedAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_Or readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoArchivedAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -16787,6 +18294,7 @@ type GITHUB_RepoChangeMergeSettingAuditEntry = GITHUB_AuditEntry & GITHUB_Node & readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoChangeMergeSettingAuditEntry object */ readonly id: Scalars['ID']; /** Whether the change was to enable (true) or disable (false) the merge type */ readonly isEnabled: Maybe; @@ -16847,6 +18355,7 @@ type GITHUB_RepoConfigDisableAnonymousGitAccessAuditEntry = GITHUB_AuditEntry & readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoConfigDisableAnonymousGitAccessAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -16894,6 +18403,7 @@ type GITHUB_RepoConfigDisableCollaboratorsOnlyAuditEntry = GITHUB_AuditEntry & G readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoConfigDisableCollaboratorsOnlyAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -16941,6 +18451,7 @@ type GITHUB_RepoConfigDisableContributorsOnlyAuditEntry = GITHUB_AuditEntry & GI readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoConfigDisableContributorsOnlyAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -16988,6 +18499,7 @@ type GITHUB_RepoConfigDisableSockpuppetDisallowedAuditEntry = GITHUB_AuditEntry readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoConfigDisableSockpuppetDisallowedAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17035,6 +18547,7 @@ type GITHUB_RepoConfigEnableAnonymousGitAccessAuditEntry = GITHUB_AuditEntry & G readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoConfigEnableAnonymousGitAccessAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17082,6 +18595,7 @@ type GITHUB_RepoConfigEnableCollaboratorsOnlyAuditEntry = GITHUB_AuditEntry & GI readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoConfigEnableCollaboratorsOnlyAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17129,6 +18643,7 @@ type GITHUB_RepoConfigEnableContributorsOnlyAuditEntry = GITHUB_AuditEntry & GIT readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoConfigEnableContributorsOnlyAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17176,6 +18691,7 @@ type GITHUB_RepoConfigEnableSockpuppetDisallowedAuditEntry = GITHUB_AuditEntry & readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoConfigEnableSockpuppetDisallowedAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17223,6 +18739,7 @@ type GITHUB_RepoConfigLockAnonymousGitAccessAuditEntry = GITHUB_AuditEntry & GIT readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoConfigLockAnonymousGitAccessAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17270,6 +18787,7 @@ type GITHUB_RepoConfigUnlockAnonymousGitAccessAuditEntry = GITHUB_AuditEntry & G readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoConfigUnlockAnonymousGitAccessAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17321,6 +18839,7 @@ type GITHUB_RepoCreateAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_Orga readonly forkParentName: Maybe; /** The name of the root repository for this network. */ readonly forkSourceName: Maybe; + /** The Node ID of the RepoCreateAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17379,6 +18898,7 @@ type GITHUB_RepoDestroyAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_Org readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoDestroyAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17437,6 +18957,7 @@ type GITHUB_RepoRemoveMemberAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHU readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoRemoveMemberAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17495,6 +19016,7 @@ type GITHUB_RepoRemoveTopicAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the RepoRemoveTopicAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -17547,6 +19069,8 @@ type GITHUB_ReportedContentClassifiers = type GITHUB_Repository = GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProjectOwner & GITHUB_ProjectV2Recent & GITHUB_RepositoryInfo & GITHUB_Starrable & GITHUB_Subscribable & GITHUB_UniformResourceLocatable & { /** Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. */ readonly allowUpdateBranch: Scalars['Boolean']; + /** Identifies the date and time when the repository was archived. */ + readonly archivedAt: Maybe; /** A list of users that can be assigned to issues in this repository. */ readonly assignableUsers: GITHUB_UserConnection; /** Whether or not Auto-merge can be enabled on pull requests in this repository. */ @@ -17563,6 +19087,8 @@ type GITHUB_Repository = GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProjectOwner readonly commitComments: GITHUB_CommitCommentConnection; /** Returns a list of contact links associated to the repository */ readonly contactLinks: Maybe>; + /** Returns the contributing guidelines for this repository. */ + readonly contributingGuidelines: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ @@ -17583,6 +19109,8 @@ type GITHUB_Repository = GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProjectOwner readonly discussion: Maybe; /** A list of discussion categories that are available in the repository. */ readonly discussionCategories: GITHUB_DiscussionCategoryConnection; + /** A discussion category by slug. */ + readonly discussionCategory: Maybe; /** A list of discussions that have been opened in the repository. */ readonly discussions: GITHUB_DiscussionConnection; /** The number of kilobytes this repository occupies on disk. */ @@ -17599,14 +19127,19 @@ type GITHUB_Repository = GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProjectOwner readonly forks: GITHUB_RepositoryConnection; /** The funding links for this repository */ readonly fundingLinks: ReadonlyArray; + /** Indicates if the repository has the Discussions feature enabled. */ + readonly hasDiscussionsEnabled: Scalars['Boolean']; /** Indicates if the repository has issues feature enabled. */ readonly hasIssuesEnabled: Scalars['Boolean']; /** Indicates if the repository has the Projects feature enabled. */ readonly hasProjectsEnabled: Scalars['Boolean']; + /** Whether vulnerability alerts are enabled for the repository. */ + readonly hasVulnerabilityAlertsEnabled: Scalars['Boolean']; /** Indicates if the repository has wiki feature enabled. */ readonly hasWikiEnabled: Scalars['Boolean']; /** The repository's URL. */ readonly homepageUrl: Maybe; + /** The Node ID of the Repository object */ readonly id: Scalars['ID']; /** The interaction ability settings for this repository. */ readonly interactionAbility: Maybe; @@ -17658,6 +19191,12 @@ type GITHUB_Repository = GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProjectOwner readonly mentionableUsers: GITHUB_UserConnection; /** Whether or not PRs are merged with a merge commit on this repository. */ readonly mergeCommitAllowed: Scalars['Boolean']; + /** How the default commit message will be generated when merging a pull request. */ + readonly mergeCommitMessage: GITHUB_MergeCommitMessage; + /** How the default commit title will be generated when merging a pull request. */ + readonly mergeCommitTitle: GITHUB_MergeCommitTitle; + /** The merge queue for a specified branch, otherwise the default branch if not provided. */ + readonly mergeQueue: Maybe; /** Returns a single milestone from the current repository by number. */ readonly milestone: Maybe; /** A list of milestones associated with the repository. */ @@ -17686,20 +19225,10 @@ type GITHUB_Repository = GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProjectOwner readonly primaryLanguage: Maybe; /** Find project by number. */ readonly project: Maybe; - /** - * Finds and returns the Project (beta) according to the provided Project (beta) number. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNext: Maybe; /** Finds and returns the Project according to the provided Project number. */ readonly projectV2: Maybe; /** A list of projects under the owner. */ readonly projects: GITHUB_ProjectConnection; - /** - * List of projects (beta) linked to this repository. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectsNext: GITHUB_ProjectNextConnection; /** The HTTP path listing the repository's projects */ readonly projectsResourcePath: Scalars['GITHUB_URI']; /** The HTTP URL listing the repository's projects */ @@ -17712,7 +19241,7 @@ type GITHUB_Repository = GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProjectOwner readonly pullRequestTemplates: Maybe>; /** A list of pull requests that have been opened in the repository. */ readonly pullRequests: GITHUB_PullRequestConnection; - /** Identifies when the repository was last pushed to. */ + /** Identifies the date and time when the repository was last pushed to. */ readonly pushedAt: Maybe; /** Whether or not rebase-merging is enabled on this repository. */ readonly rebaseMergeAllowed: Scalars['Boolean']; @@ -17730,13 +19259,24 @@ type GITHUB_Repository = GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProjectOwner readonly repositoryTopics: GITHUB_RepositoryTopicConnection; /** The HTTP path for this repository */ readonly resourcePath: Scalars['GITHUB_URI']; + /** Returns a single ruleset from the current repository by ID. */ + readonly ruleset: Maybe; + /** A list of rulesets for this repository. */ + readonly rulesets: Maybe; /** The security policy URL. */ readonly securityPolicyUrl: Maybe; /** A description of the repository, rendered to HTML without any links in it. */ readonly shortDescriptionHTML: Scalars['GITHUB_HTML']; /** Whether or not squash-merging is enabled on this repository. */ readonly squashMergeAllowed: Scalars['Boolean']; - /** Whether a squash merge commit can use the pull request title as default. */ + /** How the default commit message will be generated when squash merging a pull request. */ + readonly squashMergeCommitMessage: GITHUB_SquashMergeCommitMessage; + /** How the default commit title will be generated when squash merging a pull request. */ + readonly squashMergeCommitTitle: GITHUB_SquashMergeCommitTitle; + /** + * Whether a squash merge commit can use the pull request title as default. + * @deprecated `squashPrTitleUsedAsDefault` will be removed. Use `Repository.squashMergeCommitTitle` instead. Removal on 2023-04-01 UTC. + */ readonly squashPrTitleUsedAsDefault: Scalars['Boolean']; /** The SSH URL to clone this repository */ readonly sshUrl: Scalars['GITHUB_GitSSHRemote']; @@ -17781,10 +19321,14 @@ type GITHUB_Repository = GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProjectOwner readonly viewerSubscription: Maybe; /** Indicates the repository's visibility level. */ readonly visibility: GITHUB_RepositoryVisibility; + /** Returns a single vulnerability alert from the current repository by number. */ + readonly vulnerabilityAlert: Maybe; /** A list of vulnerability alerts that are on this repository. */ readonly vulnerabilityAlerts: Maybe; /** A list of users watching the repository. */ readonly watchers: GITHUB_UserConnection; + /** Whether contributors are required to sign off on web-based commits in this repository. */ + readonly webCommitSignoffRequired: Scalars['Boolean']; }; @@ -17820,6 +19364,7 @@ type GITHUB_Repository_collaboratorsArgs = { before: InputMaybe; first: InputMaybe; last: InputMaybe; + login: InputMaybe; query: InputMaybe; }; @@ -17869,14 +19414,22 @@ type GITHUB_Repository_discussionCategoriesArgs = { }; +/** A repository contains the content for a project. */ +type GITHUB_Repository_discussionCategoryArgs = { + slug: Scalars['String']; +}; + + /** A repository contains the content for a project. */ type GITHUB_Repository_discussionsArgs = { after: InputMaybe; + answered?: InputMaybe; before: InputMaybe; categoryId?: InputMaybe; first: InputMaybe; last: InputMaybe; orderBy?: InputMaybe; + states?: InputMaybe>; }; @@ -17892,6 +19445,7 @@ type GITHUB_Repository_environmentsArgs = { before: InputMaybe; first: InputMaybe; last: InputMaybe; + orderBy?: InputMaybe; }; @@ -17901,11 +19455,13 @@ type GITHUB_Repository_forksArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; + hasIssuesEnabled: InputMaybe; isLocked: InputMaybe; last: InputMaybe; orderBy: InputMaybe; ownerAffiliations?: InputMaybe>>; privacy: InputMaybe; + visibility: InputMaybe; }; @@ -17971,6 +19527,12 @@ type GITHUB_Repository_mentionableUsersArgs = { }; +/** A repository contains the content for a project. */ +type GITHUB_Repository_mergeQueueArgs = { + branch: InputMaybe; +}; + + /** A repository contains the content for a project. */ type GITHUB_Repository_milestoneArgs = { number: Scalars['Int']; @@ -18033,12 +19595,6 @@ type GITHUB_Repository_projectArgs = { }; -/** A repository contains the content for a project. */ -type GITHUB_Repository_projectNextArgs = { - number: Scalars['Int']; -}; - - /** A repository contains the content for a project. */ type GITHUB_Repository_projectV2Args = { number: Scalars['Int']; @@ -18057,17 +19613,6 @@ type GITHUB_Repository_projectsArgs = { }; -/** A repository contains the content for a project. */ -type GITHUB_Repository_projectsNextArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; - query: InputMaybe; - sortBy?: InputMaybe; -}; - - /** A repository contains the content for a project. */ type GITHUB_Repository_projectsV2Args = { after: InputMaybe; @@ -18152,6 +19697,23 @@ type GITHUB_Repository_repositoryTopicsArgs = { }; +/** A repository contains the content for a project. */ +type GITHUB_Repository_rulesetArgs = { + databaseId: Scalars['Int']; + includeParents?: InputMaybe; +}; + + +/** A repository contains the content for a project. */ +type GITHUB_Repository_rulesetsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + includeParents?: InputMaybe; + last: InputMaybe; +}; + + /** A repository contains the content for a project. */ type GITHUB_Repository_shortDescriptionHTMLArgs = { limit?: InputMaybe; @@ -18177,6 +19739,12 @@ type GITHUB_Repository_submodulesArgs = { }; +/** A repository contains the content for a project. */ +type GITHUB_Repository_vulnerabilityAlertArgs = { + number: Scalars['Int']; +}; + + /** A repository contains the content for a project. */ type GITHUB_Repository_vulnerabilityAlertsArgs = { after: InputMaybe; @@ -18274,7 +19842,7 @@ type GITHUB_RepositoryConnection = { readonly pageInfo: GITHUB_PageInfo; /** Identifies the total count of items in the connection. */ readonly totalCount: Scalars['Int']; - /** The total size in kilobytes of all repositories in the connection. */ + /** The total size in kilobytes of all repositories in the connection. Value will never be larger than max 32-bit signed integer. */ readonly totalDiskUsage: Scalars['Int']; }; @@ -18317,6 +19885,7 @@ type GITHUB_RepositoryDiscussionAuthor_repositoryDiscussionsArgs = { last: InputMaybe; orderBy?: InputMaybe; repositoryId: InputMaybe; + states?: InputMaybe>; }; /** Represents an author of discussion comments in repositories. */ @@ -18344,8 +19913,22 @@ type GITHUB_RepositoryEdge = { readonly node: Maybe; }; +/** Parameters to be used for the repository_id condition */ +type GITHUB_RepositoryIdConditionTarget = { + /** One of these repo IDs must match the repo. */ + readonly repositoryIds: ReadonlyArray; +}; + +/** Parameters to be used for the repository_id condition */ +type GITHUB_RepositoryIdConditionTargetInput = { + /** One of these repo IDs must match the repo. */ + readonly repositoryIds: ReadonlyArray; +}; + /** A subset of repository info. */ type GITHUB_RepositoryInfo = { + /** Identifies the date and time when the repository was archived. */ + readonly archivedAt: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; /** The description of the repository. */ @@ -18354,6 +19937,8 @@ type GITHUB_RepositoryInfo = { readonly descriptionHTML: Scalars['GITHUB_HTML']; /** Returns how many forks there are of this repository in the whole network. */ readonly forkCount: Scalars['Int']; + /** Indicates if the repository has the Discussions feature enabled. */ + readonly hasDiscussionsEnabled: Scalars['Boolean']; /** Indicates if the repository has issues feature enabled. */ readonly hasIssuesEnabled: Scalars['Boolean']; /** Indicates if the repository has the Projects feature enabled. */ @@ -18390,7 +19975,7 @@ type GITHUB_RepositoryInfo = { readonly openGraphImageUrl: Scalars['GITHUB_URI']; /** The User owner of the repository. */ readonly owner: GITHUB_RepositoryOwner; - /** Identifies when the repository was last pushed to. */ + /** Identifies the date and time when the repository was last pushed to. */ readonly pushedAt: Maybe; /** The HTTP path for this repository */ readonly resourcePath: Scalars['GITHUB_URI']; @@ -18459,6 +20044,7 @@ type GITHUB_RepositoryInteractionLimitOrigin = type GITHUB_RepositoryInvitation = GITHUB_Node & { /** The email address that received the invitation. */ readonly email: Maybe; + /** The Node ID of the RepositoryInvitation object */ readonly id: Scalars['ID']; /** The user who received the invitation. */ readonly invitee: Maybe; @@ -18514,27 +20100,36 @@ type GITHUB_RepositoryLockReason = /** The repository is locked due to a move. */ | 'MOVING' /** The repository is locked due to a rename. */ - | 'RENAME'; + | 'RENAME' + /** The repository is locked due to a trade controls related reason. */ + | 'TRADE_RESTRICTION' + /** The repository is locked due to an ownership transfer. */ + | 'TRANSFERRING_OWNERSHIP'; -/** An Octoshift repository migration. */ +/** A GitHub Enterprise Importer (GEI) repository migration. */ type GITHUB_RepositoryMigration = GITHUB_Migration & GITHUB_Node & { - /** The Octoshift migration flag to continue on error. */ + /** The migration flag to continue on error. */ readonly continueOnError: Scalars['Boolean']; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** Identifies the primary key from the database. */ + readonly databaseId: Maybe; /** The reason the migration failed. */ readonly failureReason: Maybe; + /** The Node ID of the RepositoryMigration object */ readonly id: Scalars['ID']; /** The URL for the migration log (expires 1 day after migration completes). */ readonly migrationLogUrl: Maybe; - /** The Octoshift migration source. */ + /** The migration source. */ readonly migrationSource: GITHUB_MigrationSource; /** The target repository name. */ readonly repositoryName: Scalars['String']; - /** The Octoshift migration source URL. */ + /** The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. */ readonly sourceUrl: Scalars['GITHUB_URI']; - /** The Octoshift migration state. */ + /** The migration state. */ readonly state: GITHUB_MigrationState; + /** The number of warnings encountered for this migration. To review the warnings, check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). */ + readonly warningsCount: Scalars['Int']; }; /** The connection type for RepositoryMigration. */ @@ -18577,6 +20172,26 @@ type GITHUB_RepositoryMigrationOrderField = /** Order mannequins why when they were created. */ | 'CREATED_AT'; +/** Parameters to be used for the repository_name condition */ +type GITHUB_RepositoryNameConditionTarget = { + /** Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. */ + readonly exclude: ReadonlyArray; + /** Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. */ + readonly include: ReadonlyArray; + /** Target changes that match these patterns will be prevented except by those with bypass permissions. */ + readonly protected: Scalars['Boolean']; +}; + +/** Parameters to be used for the repository_name condition */ +type GITHUB_RepositoryNameConditionTargetInput = { + /** Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. */ + readonly exclude: ReadonlyArray; + /** Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. */ + readonly include: ReadonlyArray; + /** Target changes that match these patterns will be prevented except by those with bypass permissions. */ + readonly protected: InputMaybe; +}; + /** Represents a object that belongs to a repository. */ type GITHUB_RepositoryNode = { /** The repository associated with this node. */ @@ -18608,6 +20223,7 @@ type GITHUB_RepositoryOrderField = type GITHUB_RepositoryOwner = { /** A URL pointing to the owner's public avatar. */ readonly avatarUrl: Scalars['GITHUB_URI']; + /** The Node ID of the RepositoryOwner object */ readonly id: Scalars['ID']; /** The username used to login. */ readonly login: Scalars['String']; @@ -18634,12 +20250,15 @@ type GITHUB_RepositoryOwner_repositoriesArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; + hasIssuesEnabled: InputMaybe; + isArchived: InputMaybe; isFork: InputMaybe; isLocked: InputMaybe; last: InputMaybe; orderBy: InputMaybe; ownerAffiliations?: InputMaybe>>; privacy: InputMaybe; + visibility: InputMaybe; }; @@ -18669,8 +20288,272 @@ type GITHUB_RepositoryPrivacy = /** Public */ | 'PUBLIC'; +/** A repository rule. */ +type GITHUB_RepositoryRule = GITHUB_Node & { + /** The Node ID of the RepositoryRule object */ + readonly id: Scalars['ID']; + /** The parameters for this rule. */ + readonly parameters: Maybe; + /** The repository ruleset associated with this rule configuration */ + readonly repositoryRuleset: Maybe; + /** The type of rule. */ + readonly type: GITHUB_RepositoryRuleType; +}; + +/** Set of conditions that determine if a ruleset will evaluate */ +type GITHUB_RepositoryRuleConditions = { + /** Configuration for the ref_name condition */ + readonly refName: Maybe; + /** Configuration for the repository_id condition */ + readonly repositoryId: Maybe; + /** Configuration for the repository_name condition */ + readonly repositoryName: Maybe; +}; + +/** Specifies the conditions required for a ruleset to evaluate */ +type GITHUB_RepositoryRuleConditionsInput = { + /** Configuration for the ref_name condition */ + readonly refName: InputMaybe; + /** Configuration for the repository_id condition */ + readonly repositoryId: InputMaybe; + /** Configuration for the repository_name condition */ + readonly repositoryName: InputMaybe; +}; + +/** The connection type for RepositoryRule. */ +type GITHUB_RepositoryRuleConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +type GITHUB_RepositoryRuleEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** Specifies the attributes for a new or updated rule. */ +type GITHUB_RepositoryRuleInput = { + /** Optional ID of this rule when updating */ + readonly id: InputMaybe; + /** The parameters for the rule. */ + readonly parameters: InputMaybe; + /** The type of rule to create. */ + readonly type: GITHUB_RepositoryRuleType; +}; + +/** Ordering options for repository rules. */ +type GITHUB_RepositoryRuleOrder = { + /** The ordering direction. */ + readonly direction: GITHUB_OrderDirection; + /** The field to order repository rules by. */ + readonly field: GITHUB_RepositoryRuleOrderField; +}; + +/** Properties by which repository rule connections can be ordered. */ +type GITHUB_RepositoryRuleOrderField = + /** Order repository rules by created time */ + | 'CREATED_AT' + /** Order repository rules by type */ + | 'TYPE' + /** Order repository rules by updated time */ + | 'UPDATED_AT'; + +/** The rule types supported in rulesets */ +type GITHUB_RepositoryRuleType = + /** Authorization */ + | 'AUTHORIZATION' + /** Branch name pattern */ + | 'BRANCH_NAME_PATTERN' + /** Committer email pattern */ + | 'COMMITTER_EMAIL_PATTERN' + /** Commit author email pattern */ + | 'COMMIT_AUTHOR_EMAIL_PATTERN' + /** Commit message pattern */ + | 'COMMIT_MESSAGE_PATTERN' + /** Only allow users with bypass permission to create matching refs. */ + | 'CREATION' + /** Only allow users with bypass permissions to delete matching refs. */ + | 'DELETION' + /** Branch is read-only. Users cannot push to the branch. */ + | 'LOCK_BRANCH' + /** Max ref updates */ + | 'MAX_REF_UPDATES' + /** Merges must be performed via a merge queue. */ + | 'MERGE_QUEUE' + /** Merge queue locked ref */ + | 'MERGE_QUEUE_LOCKED_REF' + /** Prevent users with push access from force pushing to refs. */ + | 'NON_FAST_FORWARD' + /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ + | 'PULL_REQUEST' + /** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */ + | 'REQUIRED_DEPLOYMENTS' + /** Prevent merge commits from being pushed to matching refs. */ + | 'REQUIRED_LINEAR_HISTORY' + /** When enabled, all conversations on code must be resolved before a pull request can be merged into a branch that matches this rule. */ + | 'REQUIRED_REVIEW_THREAD_RESOLUTION' + /** Commits pushed to matching refs must have verified signatures. */ + | 'REQUIRED_SIGNATURES' + /** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */ + | 'REQUIRED_STATUS_CHECKS' + /** Require all commits be made to a non-target branch and submitted via a pull request and required workflow checks to pass before they can be merged. */ + | 'REQUIRED_WORKFLOW_STATUS_CHECKS' + /** Commits pushed to matching refs must have verified signatures. */ + | 'RULESET_REQUIRED_SIGNATURES' + /** Secret scanning */ + | 'SECRET_SCANNING' + /** Tag */ + | 'TAG' + /** Tag name pattern */ + | 'TAG_NAME_PATTERN' + /** Only allow users with bypass permission to update matching refs. */ + | 'UPDATE' + /** Require all changes made to a targeted branch to pass the specified workflows before they can be merged. */ + | 'WORKFLOWS' + /** Workflow files cannot be modified. */ + | 'WORKFLOW_UPDATES'; + +/** A repository ruleset. */ +type GITHUB_RepositoryRuleset = GITHUB_Node & { + /** The actors that can bypass this ruleset */ + readonly bypassActors: Maybe; + /** The set of conditions that must evaluate to true for this ruleset to apply */ + readonly conditions: GITHUB_RepositoryRuleConditions; + /** Identifies the date and time when the object was created. */ + readonly createdAt: Scalars['GITHUB_DateTime']; + /** Identifies the primary key from the database. */ + readonly databaseId: Maybe; + /** The enforcement level of this ruleset */ + readonly enforcement: GITHUB_RuleEnforcement; + /** The Node ID of the RepositoryRuleset object */ + readonly id: Scalars['ID']; + /** Name of the ruleset. */ + readonly name: Scalars['String']; + /** List of rules. */ + readonly rules: Maybe; + /** Source of ruleset. */ + readonly source: GITHUB_RuleSource; + /** Target of the ruleset. */ + readonly target: Maybe; + /** Identifies the date and time when the object was last updated. */ + readonly updatedAt: Scalars['GITHUB_DateTime']; +}; + + +/** A repository ruleset. */ +type GITHUB_RepositoryRuleset_bypassActorsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; +}; + + +/** A repository ruleset. */ +type GITHUB_RepositoryRuleset_rulesArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + type: InputMaybe; +}; + +/** A team or app that has the ability to bypass a rules defined on a ruleset */ +type GITHUB_RepositoryRulesetBypassActor = GITHUB_Node & { + /** The actor that can bypass rules. */ + readonly actor: Maybe; + /** The mode for the bypass actor */ + readonly bypassMode: Maybe; + /** The Node ID of the RepositoryRulesetBypassActor object */ + readonly id: Scalars['ID']; + /** This actor represents the ability for an organization owner to bypass */ + readonly organizationAdmin: Scalars['Boolean']; + /** If the actor is a repository role, the repository role's ID that can bypass */ + readonly repositoryRoleDatabaseId: Maybe; + /** If the actor is a repository role, the repository role's name that can bypass */ + readonly repositoryRoleName: Maybe; + /** Identifies the ruleset associated with the allowed actor */ + readonly repositoryRuleset: Maybe; +}; + +/** The bypass mode for a specific actor on a ruleset. */ +type GITHUB_RepositoryRulesetBypassActorBypassMode = + /** The actor can always bypass rules */ + | 'ALWAYS' + /** The actor can only bypass rules via a pull request */ + | 'PULL_REQUEST'; + +/** The connection type for RepositoryRulesetBypassActor. */ +type GITHUB_RepositoryRulesetBypassActorConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +type GITHUB_RepositoryRulesetBypassActorEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** Specifies the attributes for a new or updated ruleset bypass actor. Only one of `actor_id`, `repository_role_database_id`, or `organization_admin` should be specified. */ +type GITHUB_RepositoryRulesetBypassActorInput = { + /** For Team and Integration bypasses, the Team or Integration ID */ + readonly actorId: InputMaybe; + /** The bypass mode for this actor. */ + readonly bypassMode: GITHUB_RepositoryRulesetBypassActorBypassMode; + /** For organization owner bypasses, true */ + readonly organizationAdmin: InputMaybe; + /** For role bypasses, the role database ID */ + readonly repositoryRoleDatabaseId: InputMaybe; +}; + +/** The connection type for RepositoryRuleset. */ +type GITHUB_RepositoryRulesetConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +type GITHUB_RepositoryRulesetEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** The targets supported for rulesets */ +type GITHUB_RepositoryRulesetTarget = + /** Branch */ + | 'BRANCH' + /** Tag */ + | 'TAG'; + /** A repository-topic connects a repository to a topic. */ type GITHUB_RepositoryTopic = GITHUB_Node & GITHUB_UniformResourceLocatable & { + /** The Node ID of the RepositoryTopic object */ readonly id: Scalars['ID']; /** The HTTP path for this repository-topic. */ readonly resourcePath: Scalars['GITHUB_URI']; @@ -18733,6 +20616,7 @@ type GITHUB_RepositoryVisibilityChangeDisableAuditEntry = GITHUB_AuditEntry & GI readonly enterpriseSlug: Maybe; /** The HTTP URL for this enterprise. */ readonly enterpriseUrl: Maybe; + /** The Node ID of the RepositoryVisibilityChangeDisableAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -18778,6 +20662,7 @@ type GITHUB_RepositoryVisibilityChangeEnableAuditEntry = GITHUB_AuditEntry & GIT readonly enterpriseSlug: Maybe; /** The HTTP URL for this enterprise. */ readonly enterpriseUrl: Maybe; + /** The Node ID of the RepositoryVisibilityChangeEnableAuditEntry object */ readonly id: Scalars['ID']; /** The corresponding operation type for the action */ readonly operationType: Maybe; @@ -18801,25 +20686,25 @@ type GITHUB_RepositoryVisibilityChangeEnableAuditEntry = GITHUB_AuditEntry & GIT /** A Dependabot alert for a repository with a dependency affected by a security vulnerability. */ type GITHUB_RepositoryVulnerabilityAlert = GITHUB_Node & GITHUB_RepositoryNode & { + /** When was the alert auto-dismissed? */ + readonly autoDismissedAt: Maybe; /** When was the alert created? */ readonly createdAt: Scalars['GITHUB_DateTime']; /** The associated Dependabot update */ readonly dependabotUpdate: Maybe; /** The scope of an alert's dependency */ readonly dependencyScope: Maybe; + /** Comment explaining the reason the alert was dismissed */ + readonly dismissComment: Maybe; /** The reason the alert was dismissed */ readonly dismissReason: Maybe; /** When was the alert dismissed? */ readonly dismissedAt: Maybe; /** The user who dismissed the alert */ readonly dismisser: Maybe; - /** - * The reason the alert was marked as fixed. - * @deprecated The `fixReason` field is being removed. You can still use `fixedAt` and `dismissReason`. Removal on 2022-10-01 UTC. - */ - readonly fixReason: Maybe; /** When was the alert fixed? */ readonly fixedAt: Maybe; + /** The Node ID of the RepositoryVulnerabilityAlert object */ readonly id: Scalars['ID']; /** Identifies the alert number. */ readonly number: Scalars['Int']; @@ -18868,6 +20753,8 @@ type GITHUB_RepositoryVulnerabilityAlertEdge = { /** The possible states of an alert */ type GITHUB_RepositoryVulnerabilityAlertState = + /** An alert that has been automatically closed by Dependabot. */ + | 'AUTO_DISMISSED' /** An alert that has been manually closed by a user. */ | 'DISMISSED' /** An alert that has been resolved by a code change. */ @@ -18915,7 +20802,7 @@ type GITHUB_RequestableCheckStatusState = | 'WAITING'; /** Types that can be requested reviewers. */ -type GITHUB_RequestedReviewer = GITHUB_Mannequin | GITHUB_Team | GITHUB_User; +type GITHUB_RequestedReviewer = GITHUB_Bot | GITHUB_Mannequin | GITHUB_Team | GITHUB_User; /** The connection type for RequestedReviewer. */ type GITHUB_RequestedReviewerConnection = { @@ -18950,6 +20837,18 @@ type GITHUB_RequirableByPullRequest_isRequiredArgs = { pullRequestNumber: InputMaybe; }; +/** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */ +type GITHUB_RequiredDeploymentsParameters = { + /** The environments that must be successfully deployed to before branches can be merged. */ + readonly requiredDeploymentEnvironments: ReadonlyArray; +}; + +/** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */ +type GITHUB_RequiredDeploymentsParametersInput = { + /** The environments that must be successfully deployed to before branches can be merged. */ + readonly requiredDeploymentEnvironments: ReadonlyArray; +}; + /** Represents a required status check for a protected branch, but not any specific run of that check. */ type GITHUB_RequiredStatusCheckDescription = { /** The App that must provide this status in order for it to be accepted. */ @@ -18966,6 +20865,22 @@ type GITHUB_RequiredStatusCheckInput = { readonly context: Scalars['String']; }; +/** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */ +type GITHUB_RequiredStatusChecksParameters = { + /** Status checks that are required. */ + readonly requiredStatusChecks: ReadonlyArray; + /** Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. */ + readonly strictRequiredStatusChecksPolicy: Scalars['Boolean']; +}; + +/** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */ +type GITHUB_RequiredStatusChecksParametersInput = { + /** Status checks that are required. */ + readonly requiredStatusChecks: ReadonlyArray; + /** Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. */ + readonly strictRequiredStatusChecksPolicy: Scalars['Boolean']; +}; + /** Autogenerated input type of RerequestCheckSuite */ type GITHUB_RerequestCheckSuiteInput = { /** The Node ID of the check suite. */ @@ -19022,12 +20937,53 @@ type GITHUB_RestrictedContribution = GITHUB_Contribution & { readonly user: GITHUB_User; }; +/** Autogenerated input type of RetireSponsorsTier */ +type GITHUB_RetireSponsorsTierInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the published tier to retire. */ + readonly tierId: Scalars['ID']; +}; + +/** Autogenerated return type of RetireSponsorsTier */ +type GITHUB_RetireSponsorsTierPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The tier that was retired. */ + readonly sponsorsTier: Maybe; +}; + +/** Autogenerated input type of RevertPullRequest */ +type GITHUB_RevertPullRequestInput = { + /** The description of the revert pull request. */ + readonly body: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** Indicates whether the revert pull request should be a draft. */ + readonly draft: InputMaybe; + /** The ID of the pull request to revert. */ + readonly pullRequestId: Scalars['ID']; + /** The title of the revert pull request. */ + readonly title: InputMaybe; +}; + +/** Autogenerated return type of RevertPullRequest */ +type GITHUB_RevertPullRequestPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The pull request that was reverted. */ + readonly pullRequest: Maybe; + /** The new pull request that reverts the input pull request. */ + readonly revertPullRequest: Maybe; +}; + /** A user, team, or app who has the ability to dismiss a review on a protected branch. */ type GITHUB_ReviewDismissalAllowance = GITHUB_Node & { /** The actor that can dismiss. */ readonly actor: Maybe; /** Identifies the branch protection rule associated with the allowed user, team, or app. */ readonly branchProtectionRule: Maybe; + /** The Node ID of the ReviewDismissalAllowance object */ readonly id: Scalars['ID']; }; @@ -19066,6 +21022,7 @@ type GITHUB_ReviewDismissedEvent = GITHUB_Node & GITHUB_UniformResourceLocatable readonly dismissalMessage: Maybe; /** Identifies the optional message associated with the event, rendered to HTML. */ readonly dismissalMessageHTML: Maybe; + /** The Node ID of the ReviewDismissedEvent object */ readonly id: Scalars['ID']; /** Identifies the previous state of the review with the 'review_dismissed' event. */ readonly previousReviewState: GITHUB_PullRequestReviewState; @@ -19087,6 +21044,7 @@ type GITHUB_ReviewRequest = GITHUB_Node & { readonly asCodeOwner: Scalars['Boolean']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the ReviewRequest object */ readonly id: Scalars['ID']; /** Identifies the pull request associated with this review request. */ readonly pullRequest: GITHUB_PullRequest; @@ -19120,6 +21078,7 @@ type GITHUB_ReviewRequestRemovedEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the ReviewRequestRemovedEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: GITHUB_PullRequest; @@ -19133,6 +21092,7 @@ type GITHUB_ReviewRequestedEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the ReviewRequestedEvent object */ readonly id: Scalars['ID']; /** PullRequest referenced by event. */ readonly pullRequest: GITHUB_PullRequest; @@ -19210,6 +21170,45 @@ type GITHUB_RoleInOrganization = /** A user who is unaffiliated with the organization. */ | 'UNAFFILIATED'; +/** The level of enforcement for a rule or ruleset. */ +type GITHUB_RuleEnforcement = + /** Rules will be enforced */ + | 'ACTIVE' + /** Do not evaluate or enforce rules */ + | 'DISABLED' + /** Allow admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). */ + | 'EVALUATE'; + +/** Types which can be parameters for `RepositoryRule` objects. */ +type GITHUB_RuleParameters = GITHUB_BranchNamePatternParameters | GITHUB_CommitAuthorEmailPatternParameters | GITHUB_CommitMessagePatternParameters | GITHUB_CommitterEmailPatternParameters | GITHUB_PullRequestParameters | GITHUB_RequiredDeploymentsParameters | GITHUB_RequiredStatusChecksParameters | GITHUB_TagNamePatternParameters | GITHUB_UpdateParameters | GITHUB_WorkflowsParameters; + +/** Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. */ +type GITHUB_RuleParametersInput = { + /** Parameters used for the `branch_name_pattern` rule type */ + readonly branchNamePattern: InputMaybe; + /** Parameters used for the `commit_author_email_pattern` rule type */ + readonly commitAuthorEmailPattern: InputMaybe; + /** Parameters used for the `commit_message_pattern` rule type */ + readonly commitMessagePattern: InputMaybe; + /** Parameters used for the `committer_email_pattern` rule type */ + readonly committerEmailPattern: InputMaybe; + /** Parameters used for the `pull_request` rule type */ + readonly pullRequest: InputMaybe; + /** Parameters used for the `required_deployments` rule type */ + readonly requiredDeployments: InputMaybe; + /** Parameters used for the `required_status_checks` rule type */ + readonly requiredStatusChecks: InputMaybe; + /** Parameters used for the `tag_name_pattern` rule type */ + readonly tagNamePattern: InputMaybe; + /** Parameters used for the `update` rule type */ + readonly update: InputMaybe; + /** Parameters used for the `workflows` rule type */ + readonly workflows: InputMaybe; +}; + +/** Types which can have `RepositoryRule` objects. */ +type GITHUB_RuleSource = GITHUB_Organization | GITHUB_Repository; + /** The possible digest algorithms used to sign SAML requests for an identity provider. */ type GITHUB_SamlDigestAlgorithm = /** SHA1 */ @@ -19240,6 +21239,7 @@ type GITHUB_SavedReply = GITHUB_Node & { readonly bodyHTML: Scalars['GITHUB_HTML']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the SavedReply object */ readonly id: Scalars['ID']; /** The title of the saved reply. */ readonly title: Scalars['String']; @@ -19283,25 +21283,25 @@ type GITHUB_SavedReplyOrderField = /** The results of a search. */ type GITHUB_SearchResultItem = GITHUB_App | GITHUB_Discussion | GITHUB_Issue | GITHUB_MarketplaceListing | GITHUB_Organization | GITHUB_PullRequest | GITHUB_Repository | GITHUB_User; -/** A list of results that matched against a search query. */ +/** A list of results that matched against a search query. Regardless of the number of matches, a maximum of 1,000 results will be available across all types, potentially split across many pages. */ type GITHUB_SearchResultItemConnection = { - /** The number of pieces of code that matched the search query. */ + /** The total number of pieces of code that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ readonly codeCount: Scalars['Int']; - /** The number of discussions that matched the search query. */ + /** The total number of discussions that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ readonly discussionCount: Scalars['Int']; /** A list of edges. */ readonly edges: Maybe>>; - /** The number of issues that matched the search query. */ + /** The total number of issues that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ readonly issueCount: Scalars['Int']; /** A list of nodes. */ readonly nodes: Maybe>>; /** Information to aid in pagination. */ readonly pageInfo: GITHUB_PageInfo; - /** The number of repositories that matched the search query. */ + /** The total number of repositories that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ readonly repositoryCount: Scalars['Int']; - /** The number of users that matched the search query. */ + /** The total number of users that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ readonly userCount: Scalars['Int']; - /** The number of wiki pages that matched the search query. */ + /** The total number of wiki pages that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ readonly wikiCount: Scalars['Int']; }; @@ -19340,6 +21340,7 @@ type GITHUB_SecurityAdvisory = GITHUB_Node & { readonly description: Scalars['String']; /** The GitHub Security Advisory ID */ readonly ghsaId: Scalars['String']; + /** The Node ID of the SecurityAdvisory object */ readonly id: Scalars['ID']; /** A list of identifiers for this advisory */ readonly identifiers: ReadonlyArray; @@ -19425,10 +21426,14 @@ type GITHUB_SecurityAdvisoryEcosystem = | 'NUGET' /** Python packages hosted at PyPI.org */ | 'PIP' + /** Dart packages hosted at pub.dev */ + | 'PUB' /** Ruby gems hosted at RubyGems.org */ | 'RUBYGEMS' /** Rust crates */ - | 'RUST'; + | 'RUST' + /** Swift packages */ + | 'SWIFT'; /** An edge in a connection. */ type GITHUB_SecurityAdvisoryEdge = { @@ -19669,14 +21674,61 @@ type GITHUB_SmimeSignature = GITHUB_GitSignature & { readonly wasSignedByGitHub: Scalars['Boolean']; }; -/** Represents a sort by field and direction. */ -type GITHUB_SortBy = { - /** The direction of the sorting. Possible values are ASC and DESC. */ - readonly direction: GITHUB_OrderDirection; - /** The id of the field by which the column is sorted. */ - readonly field: Scalars['Int']; +/** Social media profile associated with a user. */ +type GITHUB_SocialAccount = { + /** Name of the social media account as it appears on the profile. */ + readonly displayName: Scalars['String']; + /** Software or company that hosts the social media account. */ + readonly provider: GITHUB_SocialAccountProvider; + /** URL of the social media account. */ + readonly url: Scalars['GITHUB_URI']; +}; + +/** The connection type for SocialAccount. */ +type GITHUB_SocialAccountConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; }; +/** An edge in a connection. */ +type GITHUB_SocialAccountEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** Software or company that hosts social media accounts. */ +type GITHUB_SocialAccountProvider = + /** Social media and networking website. */ + | 'FACEBOOK' + /** Catch-all for social media providers that do not yet have specific handling. */ + | 'GENERIC' + /** Fork of Mastodon with a greater focus on local posting. */ + | 'HOMETOWN' + /** Social media website with a focus on photo and video sharing. */ + | 'INSTAGRAM' + /** Professional networking website. */ + | 'LINKEDIN' + /** Open-source federated microblogging service. */ + | 'MASTODON' + /** JavaScript package registry. */ + | 'NPM' + /** Social news aggregation and discussion website. */ + | 'REDDIT' + /** Live-streaming service. */ + | 'TWITCH' + /** Microblogging website. */ + | 'TWITTER' + /** Online video platform. */ + | 'YOUTUBE'; + /** Entities that can sponsor others via GitHub Sponsors */ type GITHUB_Sponsor = GITHUB_Organization | GITHUB_User; @@ -19715,13 +21767,13 @@ type GITHUB_SponsorOrderField = /** Order sponsors by their relevance to the viewer. */ | 'RELEVANCE'; -/** Entities that can be sponsored through GitHub Sponsors */ +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ type GITHUB_Sponsorable = { /** The estimated next GitHub Sponsors payout for this user/organization in cents (USD). */ readonly estimatedNextSponsorsPayoutInCents: Scalars['Int']; /** True if this user/organization has a GitHub Sponsors listing. */ readonly hasSponsorsListing: Scalars['Boolean']; - /** Check if the given account is sponsoring this user/organization. */ + /** Whether the given account is sponsoring this user/organization. */ readonly isSponsoredBy: Scalars['Boolean']; /** True if the viewer is sponsored by this user/organization. */ readonly isSponsoringViewer: Scalars['Boolean']; @@ -19735,16 +21787,18 @@ type GITHUB_Sponsorable = { readonly sponsorsActivities: GITHUB_SponsorsActivityConnection; /** The GitHub Sponsors listing for this user or organization. */ readonly sponsorsListing: Maybe; - /** The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. Only returns a sponsorship if it is active. */ + /** The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. */ readonly sponsorshipForViewerAsSponsor: Maybe; - /** The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. Only returns a sponsorship if it is active. */ + /** The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. */ readonly sponsorshipForViewerAsSponsorable: Maybe; /** List of sponsorship updates sent from this sponsorable to sponsors. */ readonly sponsorshipNewsletters: GITHUB_SponsorshipNewsletterConnection; - /** This object's sponsorships as the maintainer. */ + /** The sponsorships where this user or organization is the maintainer receiving the funds. */ readonly sponsorshipsAsMaintainer: GITHUB_SponsorshipConnection; - /** This object's sponsorships as the sponsor. */ + /** The sponsorships where this user or organization is the funder. */ readonly sponsorshipsAsSponsor: GITHUB_SponsorshipConnection; + /** The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. */ + readonly totalSponsorshipAmountAsSponsorInCents: Maybe; /** Whether or not the viewer is able to sponsor this user/organization. */ readonly viewerCanSponsor: Scalars['Boolean']; /** True if the viewer is sponsoring this user/organization. */ @@ -19752,13 +21806,13 @@ type GITHUB_Sponsorable = { }; -/** Entities that can be sponsored through GitHub Sponsors */ +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ type GITHUB_Sponsorable_isSponsoredByArgs = { accountLogin: Scalars['String']; }; -/** Entities that can be sponsored through GitHub Sponsors */ +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ type GITHUB_Sponsorable_sponsoringArgs = { after: InputMaybe; before: InputMaybe; @@ -19768,7 +21822,7 @@ type GITHUB_Sponsorable_sponsoringArgs = { }; -/** Entities that can be sponsored through GitHub Sponsors */ +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ type GITHUB_Sponsorable_sponsorsArgs = { after: InputMaybe; before: InputMaybe; @@ -19779,19 +21833,35 @@ type GITHUB_Sponsorable_sponsorsArgs = { }; -/** Entities that can be sponsored through GitHub Sponsors */ +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ type GITHUB_Sponsorable_sponsorsActivitiesArgs = { actions?: InputMaybe>; after: InputMaybe; before: InputMaybe; first: InputMaybe; + includeAsSponsor?: InputMaybe; + includePrivate?: InputMaybe; last: InputMaybe; orderBy?: InputMaybe; period?: InputMaybe; + since: InputMaybe; + until: InputMaybe; }; -/** Entities that can be sponsored through GitHub Sponsors */ +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ +type GITHUB_Sponsorable_sponsorshipForViewerAsSponsorArgs = { + activeOnly?: InputMaybe; +}; + + +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ +type GITHUB_Sponsorable_sponsorshipForViewerAsSponsorableArgs = { + activeOnly?: InputMaybe; +}; + + +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ type GITHUB_Sponsorable_sponsorshipNewslettersArgs = { after: InputMaybe; before: InputMaybe; @@ -19801,8 +21871,9 @@ type GITHUB_Sponsorable_sponsorshipNewslettersArgs = { }; -/** Entities that can be sponsored through GitHub Sponsors */ +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ type GITHUB_Sponsorable_sponsorshipsAsMaintainerArgs = { + activeOnly?: InputMaybe; after: InputMaybe; before: InputMaybe; first: InputMaybe; @@ -19812,15 +21883,25 @@ type GITHUB_Sponsorable_sponsorshipsAsMaintainerArgs = { }; -/** Entities that can be sponsored through GitHub Sponsors */ +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ type GITHUB_Sponsorable_sponsorshipsAsSponsorArgs = { + activeOnly?: InputMaybe; after: InputMaybe; before: InputMaybe; first: InputMaybe; last: InputMaybe; + maintainerLogins: InputMaybe>; orderBy: InputMaybe; }; + +/** Entities that can sponsor or be sponsored through GitHub Sponsors. */ +type GITHUB_Sponsorable_totalSponsorshipAmountAsSponsorInCentsArgs = { + since: InputMaybe; + sponsorableLogins?: InputMaybe>; + until: InputMaybe; +}; + /** Entities that can be sponsored via GitHub Sponsors */ type GITHUB_SponsorableItem = GITHUB_Organization | GITHUB_User; @@ -19861,7 +21942,12 @@ type GITHUB_SponsorableOrderField = type GITHUB_SponsorsActivity = GITHUB_Node & { /** What action this activity indicates took place. */ readonly action: GITHUB_SponsorsActivityAction; + /** The sponsor's current privacy level. */ + readonly currentPrivacyLevel: Maybe; + /** The Node ID of the SponsorsActivity object */ readonly id: Scalars['ID']; + /** The platform that was used to pay for the sponsorship. */ + readonly paymentSource: Maybe; /** The tier that the sponsorship used to use, for tier change events. */ readonly previousSponsorsTier: Maybe; /** The user or organization who triggered this activity and was/is sponsoring the sponsorable. */ @@ -19872,6 +21958,8 @@ type GITHUB_SponsorsActivity = GITHUB_Node & { readonly sponsorsTier: Maybe; /** The timestamp of this event. */ readonly timestamp: Maybe; + /** Was this sponsorship made alongside other sponsorships at the same time from the same sponsor? */ + readonly viaBulkSponsorship: Scalars['Boolean']; }; /** The possible actions that GitHub Sponsors activities can represent. */ @@ -19933,6 +22021,501 @@ type GITHUB_SponsorsActivityPeriod = /** The previous seven days. */ | 'WEEK'; +/** Represents countries or regions for billing and residence for a GitHub Sponsors profile. */ +type GITHUB_SponsorsCountryOrRegionCode = + /** Andorra */ + | 'AD' + /** United Arab Emirates */ + | 'AE' + /** Afghanistan */ + | 'AF' + /** Antigua and Barbuda */ + | 'AG' + /** Anguilla */ + | 'AI' + /** Albania */ + | 'AL' + /** Armenia */ + | 'AM' + /** Angola */ + | 'AO' + /** Antarctica */ + | 'AQ' + /** Argentina */ + | 'AR' + /** American Samoa */ + | 'AS' + /** Austria */ + | 'AT' + /** Australia */ + | 'AU' + /** Aruba */ + | 'AW' + /** Åland */ + | 'AX' + /** Azerbaijan */ + | 'AZ' + /** Bosnia and Herzegovina */ + | 'BA' + /** Barbados */ + | 'BB' + /** Bangladesh */ + | 'BD' + /** Belgium */ + | 'BE' + /** Burkina Faso */ + | 'BF' + /** Bulgaria */ + | 'BG' + /** Bahrain */ + | 'BH' + /** Burundi */ + | 'BI' + /** Benin */ + | 'BJ' + /** Saint Barthélemy */ + | 'BL' + /** Bermuda */ + | 'BM' + /** Brunei Darussalam */ + | 'BN' + /** Bolivia */ + | 'BO' + /** Bonaire, Sint Eustatius and Saba */ + | 'BQ' + /** Brazil */ + | 'BR' + /** Bahamas */ + | 'BS' + /** Bhutan */ + | 'BT' + /** Bouvet Island */ + | 'BV' + /** Botswana */ + | 'BW' + /** Belarus */ + | 'BY' + /** Belize */ + | 'BZ' + /** Canada */ + | 'CA' + /** Cocos (Keeling) Islands */ + | 'CC' + /** Congo (Kinshasa) */ + | 'CD' + /** Central African Republic */ + | 'CF' + /** Congo (Brazzaville) */ + | 'CG' + /** Switzerland */ + | 'CH' + /** Côte d'Ivoire */ + | 'CI' + /** Cook Islands */ + | 'CK' + /** Chile */ + | 'CL' + /** Cameroon */ + | 'CM' + /** China */ + | 'CN' + /** Colombia */ + | 'CO' + /** Costa Rica */ + | 'CR' + /** Cape Verde */ + | 'CV' + /** Curaçao */ + | 'CW' + /** Christmas Island */ + | 'CX' + /** Cyprus */ + | 'CY' + /** Czech Republic */ + | 'CZ' + /** Germany */ + | 'DE' + /** Djibouti */ + | 'DJ' + /** Denmark */ + | 'DK' + /** Dominica */ + | 'DM' + /** Dominican Republic */ + | 'DO' + /** Algeria */ + | 'DZ' + /** Ecuador */ + | 'EC' + /** Estonia */ + | 'EE' + /** Egypt */ + | 'EG' + /** Western Sahara */ + | 'EH' + /** Eritrea */ + | 'ER' + /** Spain */ + | 'ES' + /** Ethiopia */ + | 'ET' + /** Finland */ + | 'FI' + /** Fiji */ + | 'FJ' + /** Falkland Islands */ + | 'FK' + /** Micronesia */ + | 'FM' + /** Faroe Islands */ + | 'FO' + /** France */ + | 'FR' + /** Gabon */ + | 'GA' + /** United Kingdom */ + | 'GB' + /** Grenada */ + | 'GD' + /** Georgia */ + | 'GE' + /** French Guiana */ + | 'GF' + /** Guernsey */ + | 'GG' + /** Ghana */ + | 'GH' + /** Gibraltar */ + | 'GI' + /** Greenland */ + | 'GL' + /** Gambia */ + | 'GM' + /** Guinea */ + | 'GN' + /** Guadeloupe */ + | 'GP' + /** Equatorial Guinea */ + | 'GQ' + /** Greece */ + | 'GR' + /** South Georgia and South Sandwich Islands */ + | 'GS' + /** Guatemala */ + | 'GT' + /** Guam */ + | 'GU' + /** Guinea-Bissau */ + | 'GW' + /** Guyana */ + | 'GY' + /** Hong Kong */ + | 'HK' + /** Heard and McDonald Islands */ + | 'HM' + /** Honduras */ + | 'HN' + /** Croatia */ + | 'HR' + /** Haiti */ + | 'HT' + /** Hungary */ + | 'HU' + /** Indonesia */ + | 'ID' + /** Ireland */ + | 'IE' + /** Israel */ + | 'IL' + /** Isle of Man */ + | 'IM' + /** India */ + | 'IN' + /** British Indian Ocean Territory */ + | 'IO' + /** Iraq */ + | 'IQ' + /** Iran */ + | 'IR' + /** Iceland */ + | 'IS' + /** Italy */ + | 'IT' + /** Jersey */ + | 'JE' + /** Jamaica */ + | 'JM' + /** Jordan */ + | 'JO' + /** Japan */ + | 'JP' + /** Kenya */ + | 'KE' + /** Kyrgyzstan */ + | 'KG' + /** Cambodia */ + | 'KH' + /** Kiribati */ + | 'KI' + /** Comoros */ + | 'KM' + /** Saint Kitts and Nevis */ + | 'KN' + /** Korea, South */ + | 'KR' + /** Kuwait */ + | 'KW' + /** Cayman Islands */ + | 'KY' + /** Kazakhstan */ + | 'KZ' + /** Laos */ + | 'LA' + /** Lebanon */ + | 'LB' + /** Saint Lucia */ + | 'LC' + /** Liechtenstein */ + | 'LI' + /** Sri Lanka */ + | 'LK' + /** Liberia */ + | 'LR' + /** Lesotho */ + | 'LS' + /** Lithuania */ + | 'LT' + /** Luxembourg */ + | 'LU' + /** Latvia */ + | 'LV' + /** Libya */ + | 'LY' + /** Morocco */ + | 'MA' + /** Monaco */ + | 'MC' + /** Moldova */ + | 'MD' + /** Montenegro */ + | 'ME' + /** Saint Martin (French part) */ + | 'MF' + /** Madagascar */ + | 'MG' + /** Marshall Islands */ + | 'MH' + /** Macedonia */ + | 'MK' + /** Mali */ + | 'ML' + /** Myanmar */ + | 'MM' + /** Mongolia */ + | 'MN' + /** Macau */ + | 'MO' + /** Northern Mariana Islands */ + | 'MP' + /** Martinique */ + | 'MQ' + /** Mauritania */ + | 'MR' + /** Montserrat */ + | 'MS' + /** Malta */ + | 'MT' + /** Mauritius */ + | 'MU' + /** Maldives */ + | 'MV' + /** Malawi */ + | 'MW' + /** Mexico */ + | 'MX' + /** Malaysia */ + | 'MY' + /** Mozambique */ + | 'MZ' + /** Namibia */ + | 'NA' + /** New Caledonia */ + | 'NC' + /** Niger */ + | 'NE' + /** Norfolk Island */ + | 'NF' + /** Nigeria */ + | 'NG' + /** Nicaragua */ + | 'NI' + /** Netherlands */ + | 'NL' + /** Norway */ + | 'NO' + /** Nepal */ + | 'NP' + /** Nauru */ + | 'NR' + /** Niue */ + | 'NU' + /** New Zealand */ + | 'NZ' + /** Oman */ + | 'OM' + /** Panama */ + | 'PA' + /** Peru */ + | 'PE' + /** French Polynesia */ + | 'PF' + /** Papua New Guinea */ + | 'PG' + /** Philippines */ + | 'PH' + /** Pakistan */ + | 'PK' + /** Poland */ + | 'PL' + /** Saint Pierre and Miquelon */ + | 'PM' + /** Pitcairn */ + | 'PN' + /** Puerto Rico */ + | 'PR' + /** Palestine */ + | 'PS' + /** Portugal */ + | 'PT' + /** Palau */ + | 'PW' + /** Paraguay */ + | 'PY' + /** Qatar */ + | 'QA' + /** Reunion */ + | 'RE' + /** Romania */ + | 'RO' + /** Serbia */ + | 'RS' + /** Russian Federation */ + | 'RU' + /** Rwanda */ + | 'RW' + /** Saudi Arabia */ + | 'SA' + /** Solomon Islands */ + | 'SB' + /** Seychelles */ + | 'SC' + /** Sudan */ + | 'SD' + /** Sweden */ + | 'SE' + /** Singapore */ + | 'SG' + /** Saint Helena */ + | 'SH' + /** Slovenia */ + | 'SI' + /** Svalbard and Jan Mayen Islands */ + | 'SJ' + /** Slovakia */ + | 'SK' + /** Sierra Leone */ + | 'SL' + /** San Marino */ + | 'SM' + /** Senegal */ + | 'SN' + /** Somalia */ + | 'SO' + /** Suriname */ + | 'SR' + /** South Sudan */ + | 'SS' + /** Sao Tome and Principe */ + | 'ST' + /** El Salvador */ + | 'SV' + /** Sint Maarten (Dutch part) */ + | 'SX' + /** Swaziland */ + | 'SZ' + /** Turks and Caicos Islands */ + | 'TC' + /** Chad */ + | 'TD' + /** French Southern Lands */ + | 'TF' + /** Togo */ + | 'TG' + /** Thailand */ + | 'TH' + /** Tajikistan */ + | 'TJ' + /** Tokelau */ + | 'TK' + /** Timor-Leste */ + | 'TL' + /** Turkmenistan */ + | 'TM' + /** Tunisia */ + | 'TN' + /** Tonga */ + | 'TO' + /** Türkiye */ + | 'TR' + /** Trinidad and Tobago */ + | 'TT' + /** Tuvalu */ + | 'TV' + /** Taiwan */ + | 'TW' + /** Tanzania */ + | 'TZ' + /** Ukraine */ + | 'UA' + /** Uganda */ + | 'UG' + /** United States Minor Outlying Islands */ + | 'UM' + /** United States of America */ + | 'US' + /** Uruguay */ + | 'UY' + /** Uzbekistan */ + | 'UZ' + /** Vatican City */ + | 'VA' + /** Saint Vincent and the Grenadines */ + | 'VC' + /** Venezuela */ + | 'VE' + /** Virgin Islands, British */ + | 'VG' + /** Virgin Islands, U.S. */ + | 'VI' + /** Vietnam */ + | 'VN' + /** Vanuatu */ + | 'VU' + /** Wallis and Futuna Islands */ + | 'WF' + /** Samoa */ + | 'WS' + /** Yemen */ + | 'YE' + /** Mayotte */ + | 'YT' + /** South Africa */ + | 'ZA' + /** Zambia */ + | 'ZM' + /** Zimbabwe */ + | 'ZW'; + /** A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain. */ type GITHUB_SponsorsGoal = { /** A description of the goal from the maintainer. */ @@ -19958,12 +22541,27 @@ type GITHUB_SponsorsGoalKind = type GITHUB_SponsorsListing = GITHUB_Node & { /** The current goal the maintainer is trying to reach with GitHub Sponsors, if any. */ readonly activeGoal: Maybe; + /** The Stripe Connect account currently in use for payouts for this Sponsors listing, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. */ + readonly activeStripeConnectAccount: Maybe; + /** The name of the country or region with the maintainer's bank account or fiscal host. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. */ + readonly billingCountryOrRegion: Maybe; + /** The email address used by GitHub to contact the sponsorable about their GitHub Sponsors profile. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. */ + readonly contactEmailAddress: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The HTTP path for the Sponsors dashboard for this Sponsors listing. */ + readonly dashboardResourcePath: Scalars['GITHUB_URI']; + /** The HTTP URL for the Sponsors dashboard for this Sponsors listing. */ + readonly dashboardUrl: Scalars['GITHUB_URI']; + /** The records featured on the GitHub Sponsors profile. */ + readonly featuredItems: ReadonlyArray; + /** The fiscal host used for payments, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. */ + readonly fiscalHost: Maybe; /** The full description of the listing. */ readonly fullDescription: Scalars['String']; /** The full description of the listing rendered to HTML. */ readonly fullDescriptionHTML: Scalars['GITHUB_HTML']; + /** The Node ID of the SponsorsListing object */ readonly id: Scalars['ID']; /** Whether this listing is publicly visible. */ readonly isPublic: Scalars['Boolean']; @@ -19971,14 +22569,26 @@ type GITHUB_SponsorsListing = GITHUB_Node & { readonly name: Scalars['String']; /** A future date on which this listing is eligible to receive a payout. */ readonly nextPayoutDate: Maybe; + /** The name of the country or region where the maintainer resides. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. */ + readonly residenceCountryOrRegion: Maybe; + /** The HTTP path for this Sponsors listing. */ + readonly resourcePath: Scalars['GITHUB_URI']; /** The short description of the listing. */ readonly shortDescription: Scalars['String']; /** The short name of the listing. */ readonly slug: Scalars['String']; /** The entity this listing represents who can be sponsored on GitHub Sponsors. */ readonly sponsorable: GITHUB_Sponsorable; - /** The published tiers for this GitHub Sponsors listing. */ + /** The tiers for this GitHub Sponsors profile. */ readonly tiers: Maybe; + /** The HTTP URL for this Sponsors listing. */ + readonly url: Scalars['GITHUB_URI']; +}; + + +/** A GitHub Sponsors listing. */ +type GITHUB_SponsorsListing_featuredItemsArgs = { + featureableTypes?: InputMaybe>; }; @@ -19987,10 +22597,39 @@ type GITHUB_SponsorsListing_tiersArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; + includeUnpublished?: InputMaybe; last: InputMaybe; orderBy?: InputMaybe; }; +/** A record that can be featured on a GitHub Sponsors profile. */ +type GITHUB_SponsorsListingFeatureableItem = GITHUB_Repository | GITHUB_User; + +/** A record that is promoted on a GitHub Sponsors profile. */ +type GITHUB_SponsorsListingFeaturedItem = GITHUB_Node & { + /** Identifies the date and time when the object was created. */ + readonly createdAt: Scalars['GITHUB_DateTime']; + /** Will either be a description from the sponsorable maintainer about why they featured this item, or the item's description itself, such as a user's bio from their GitHub profile page. */ + readonly description: Maybe; + /** The record that is featured on the GitHub Sponsors profile. */ + readonly featureable: GITHUB_SponsorsListingFeatureableItem; + /** The Node ID of the SponsorsListingFeaturedItem object */ + readonly id: Scalars['ID']; + /** The position of this featured item on the GitHub Sponsors profile with a lower position indicating higher precedence. Starts at 1. */ + readonly position: Scalars['Int']; + /** The GitHub Sponsors profile that features this record. */ + readonly sponsorsListing: GITHUB_SponsorsListing; + /** Identifies the date and time when the object was last updated. */ + readonly updatedAt: Scalars['GITHUB_DateTime']; +}; + +/** The different kinds of records that can be featured on a GitHub Sponsors profile page. */ +type GITHUB_SponsorsListingFeaturedItemFeatureableType = + /** A repository owned by the user or organization with the GitHub Sponsors profile. */ + | 'REPOSITORY' + /** A user who belongs to the organization with the GitHub Sponsors profile. */ + | 'USER'; + /** A GitHub Sponsors tier associated with a GitHub Sponsors listing. */ type GITHUB_SponsorsTier = GITHUB_Node & { /** SponsorsTier information only visible to users that can administer the associated Sponsors listing. */ @@ -20003,6 +22642,7 @@ type GITHUB_SponsorsTier = GITHUB_Node & { readonly description: Scalars['String']; /** The tier description rendered to HTML */ readonly descriptionHTML: Scalars['GITHUB_HTML']; + /** The Node ID of the SponsorsTier object */ readonly id: Scalars['ID']; /** Whether this tier was chosen at checkout time by the sponsor rather than defined ahead of time by the maintainer who manages the Sponsors listing. */ readonly isCustomAmount: Scalars['Boolean']; @@ -20022,7 +22662,13 @@ type GITHUB_SponsorsTier = GITHUB_Node & { /** SponsorsTier information only visible to users that can administer the associated Sponsors listing. */ type GITHUB_SponsorsTierAdminInfo = { - /** The sponsorships associated with this tier. */ + /** Indicates whether this tier is still a work in progress by the sponsorable and not yet published to the associated GitHub Sponsors profile. Draft tiers cannot be used for new sponsorships and will not be in use on existing sponsorships. Draft tiers cannot be seen by anyone but the admins of the GitHub Sponsors profile. */ + readonly isDraft: Scalars['Boolean']; + /** Indicates whether this tier is published to the associated GitHub Sponsors profile. Published tiers are visible to anyone who can see the GitHub Sponsors profile, and are available for use in sponsorships if the GitHub Sponsors profile is publicly visible. */ + readonly isPublished: Scalars['Boolean']; + /** Indicates whether this tier has been retired from the associated GitHub Sponsors profile. Retired tiers are no longer shown on the GitHub Sponsors profile and cannot be chosen for new sponsorships. Existing sponsorships may still use retired tiers if the sponsor selected the tier before it was retired. */ + readonly isRetired: Scalars['Boolean']; + /** The sponsorships using this tier. */ readonly sponsorships: GITHUB_SponsorshipConnection; }; @@ -20076,16 +22722,21 @@ type GITHUB_SponsorsTierOrderField = type GITHUB_Sponsorship = GITHUB_Node & { /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the Sponsorship object */ readonly id: Scalars['ID']; + /** Whether the sponsorship is active. False implies the sponsor is a past sponsor of the maintainer, while true implies they are a current sponsor. */ + readonly isActive: Scalars['Boolean']; /** Whether this sponsorship represents a one-time payment versus a recurring sponsorship. */ readonly isOneTimePayment: Scalars['Boolean']; - /** Check if the sponsor has chosen to receive sponsorship update emails sent from the sponsorable. Only returns a non-null value when the viewer has permission to know this. */ + /** Whether the sponsor has chosen to receive sponsorship update emails sent from the sponsorable. Only returns a non-null value when the viewer has permission to know this. */ readonly isSponsorOptedIntoEmail: Maybe; /** * The entity that is being sponsored * @deprecated `Sponsorship.maintainer` will be removed. Use `Sponsorship.sponsorable` instead. Removal on 2020-04-01 UTC. */ readonly maintainer: GITHUB_User; + /** The platform that was most recently used to pay for the sponsorship. */ + readonly paymentSource: Maybe; /** The privacy level for this sponsorship. */ readonly privacyLevel: GITHUB_SponsorshipPrivacy; /** @@ -20129,10 +22780,13 @@ type GITHUB_SponsorshipEdge = { /** An update sent to sponsors of a user or organization on GitHub Sponsors. */ type GITHUB_SponsorshipNewsletter = GITHUB_Node & { + /** The author of the newsletter. */ + readonly author: Maybe; /** The contents of the newsletter, the message the sponsorable wanted to give. */ readonly body: Scalars['String']; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the SponsorshipNewsletter object */ readonly id: Scalars['ID']; /** Indicates if the newsletter has been made available to sponsors. */ readonly isPublished: Scalars['Boolean']; @@ -20190,6 +22844,13 @@ type GITHUB_SponsorshipOrderField = /** Order sponsorship by creation time. */ | 'CREATED_AT'; +/** How payment was made for funding a GitHub Sponsors sponsorship. */ +type GITHUB_SponsorshipPaymentSource = + /** Payment was made through GitHub. */ + | 'GITHUB' + /** Payment was made through Patreon. */ + | 'PATREON'; + /** The privacy of a sponsorship */ type GITHUB_SponsorshipPrivacy = /** Private */ @@ -20197,6 +22858,42 @@ type GITHUB_SponsorshipPrivacy = /** Public */ | 'PUBLIC'; +/** The possible default commit messages for squash merges. */ +type GITHUB_SquashMergeCommitMessage = + /** Default to a blank commit message. */ + | 'BLANK' + /** Default to the branch's commit messages. */ + | 'COMMIT_MESSAGES' + /** Default to the pull request's body. */ + | 'PR_BODY'; + +/** The possible default commit titles for squash merges. */ +type GITHUB_SquashMergeCommitTitle = + /** Default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ + | 'COMMIT_OR_PR_TITLE' + /** Default to the pull request's title. */ + | 'PR_TITLE'; + +/** Represents an SSH signature on a Commit or Tag. */ +type GITHUB_SshSignature = GITHUB_GitSignature & { + /** Email used to sign this object. */ + readonly email: Scalars['String']; + /** True if the signature is valid and verified by GitHub. */ + readonly isValid: Scalars['Boolean']; + /** Hex-encoded fingerprint of the key that signed this object. */ + readonly keyFingerprint: Maybe; + /** Payload for GPG signing object. Raw ODB object without the signature header. */ + readonly payload: Scalars['String']; + /** ASCII-armored signature header from object. */ + readonly signature: Scalars['String']; + /** GitHub user corresponding to the email signing this commit. */ + readonly signer: Maybe; + /** The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. */ + readonly state: GITHUB_GitSignatureState; + /** True if the signature was made with GitHub's signing key. */ + readonly wasSignedByGitHub: Scalars['Boolean']; +}; + /** Ways in which star connections can be ordered. */ type GITHUB_StarOrder = { /** The direction in which to order nodes. */ @@ -20233,6 +22930,7 @@ type GITHUB_StargazerEdge = { /** Things that can be starred. */ type GITHUB_Starrable = { + /** The Node ID of the Starrable object */ readonly id: Scalars['ID']; /** * Returns a count of how many stargazers there are on this object @@ -20278,19 +22976,43 @@ type GITHUB_StarredRepositoryEdge = { readonly starredAt: Scalars['GITHUB_DateTime']; }; +/** Autogenerated input type of StartOrganizationMigration */ +type GITHUB_StartOrganizationMigrationInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The migration source access token. */ + readonly sourceAccessToken: Scalars['String']; + /** The URL of the organization to migrate. */ + readonly sourceOrgUrl: Scalars['GITHUB_URI']; + /** The ID of the enterprise the target organization belongs to. */ + readonly targetEnterpriseId: Scalars['ID']; + /** The name of the target organization. */ + readonly targetOrgName: Scalars['String']; +}; + +/** Autogenerated return type of StartOrganizationMigration */ +type GITHUB_StartOrganizationMigrationPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The new organization migration. */ + readonly orgMigration: Maybe; +}; + /** Autogenerated input type of StartRepositoryMigration */ type GITHUB_StartRepositoryMigrationInput = { - /** The Octoshift migration source access token. */ - readonly accessToken: Scalars['String']; + /** The migration source access token. */ + readonly accessToken: InputMaybe; /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** Whether to continue the migration on error */ + /** Whether to continue the migration on error. Defaults to `true`. */ readonly continueOnError: InputMaybe; - /** The signed URL to access the user-uploaded git archive */ + /** The signed URL to access the user-uploaded git archive. */ readonly gitArchiveUrl: InputMaybe; /** The GitHub personal access token of the user importing to the target repository. */ readonly githubPat: InputMaybe; - /** The signed URL to access the user-uploaded metadata archive */ + /** Whether to lock the source repository. */ + readonly lockSource: InputMaybe; + /** The signed URL to access the user-uploaded metadata archive. */ readonly metadataArchiveUrl: InputMaybe; /** The ID of the organization that will own the imported repository. */ readonly ownerId: Scalars['ID']; @@ -20298,10 +23020,10 @@ type GITHUB_StartRepositoryMigrationInput = { readonly repositoryName: Scalars['String']; /** Whether to skip migrating releases for the repository. */ readonly skipReleases: InputMaybe; - /** The ID of the Octoshift migration source. */ + /** The ID of the migration source. */ readonly sourceId: Scalars['ID']; - /** The Octoshift migration source repository URL. */ - readonly sourceRepositoryUrl: Scalars['GITHUB_URI']; + /** The URL of the source repository. */ + readonly sourceRepositoryUrl: InputMaybe; /** The visibility of the imported repository. */ readonly targetRepoVisibility: InputMaybe; }; @@ -20310,7 +23032,7 @@ type GITHUB_StartRepositoryMigrationInput = { type GITHUB_StartRepositoryMigrationPayload = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: Maybe; - /** The new Octoshift repository migration. */ + /** The new repository migration. */ readonly repositoryMigration: Maybe; }; @@ -20324,6 +23046,7 @@ type GITHUB_Status = GITHUB_Node & { readonly context: Maybe; /** The individual status contexts for this commit. */ readonly contexts: ReadonlyArray; + /** The Node ID of the Status object */ readonly id: Scalars['ID']; /** The combined commit status. */ readonly state: GITHUB_StatusState; @@ -20344,12 +23067,29 @@ type GITHUB_Status_contextArgs = { name: Scalars['String']; }; +/** Required status check */ +type GITHUB_StatusCheckConfiguration = { + /** The status check context name that must be present on the commit. */ + readonly context: Scalars['String']; + /** The optional integration ID that this status check must originate from. */ + readonly integrationId: Maybe; +}; + +/** Required status check */ +type GITHUB_StatusCheckConfigurationInput = { + /** The status check context name that must be present on the commit. */ + readonly context: Scalars['String']; + /** The optional integration ID that this status check must originate from. */ + readonly integrationId: InputMaybe; +}; + /** Represents the rollup for both the check runs and status for a commit. */ type GITHUB_StatusCheckRollup = GITHUB_Node & { /** The commit the status and check runs are attached to. */ readonly commit: Maybe; /** A list of status contexts and check runs for this commit. */ readonly contexts: GITHUB_StatusCheckRollupContextConnection; + /** The Node ID of the StatusCheckRollup object */ readonly id: Scalars['ID']; /** The combined status for the commit. */ readonly state: GITHUB_StatusState; @@ -20369,12 +23109,20 @@ type GITHUB_StatusCheckRollupContext = GITHUB_CheckRun | GITHUB_StatusContext; /** The connection type for StatusCheckRollupContext. */ type GITHUB_StatusCheckRollupContextConnection = { + /** The number of check runs in this rollup. */ + readonly checkRunCount: Scalars['Int']; + /** Counts of check runs by state. */ + readonly checkRunCountsByState: Maybe>; /** A list of edges. */ readonly edges: Maybe>>; /** A list of nodes. */ readonly nodes: Maybe>>; /** Information to aid in pagination. */ readonly pageInfo: GITHUB_PageInfo; + /** The number of status contexts in this rollup. */ + readonly statusContextCount: Scalars['Int']; + /** Counts of status contexts by state. */ + readonly statusContextCountsByState: Maybe>; /** Identifies the total count of items in the connection. */ readonly totalCount: Scalars['Int']; }; @@ -20401,6 +23149,7 @@ type GITHUB_StatusContext = GITHUB_Node & GITHUB_RequirableByPullRequest & { readonly creator: Maybe; /** The description for this status context. */ readonly description: Maybe; + /** The Node ID of the StatusContext object */ readonly id: Scalars['ID']; /** Whether this is required to pass before merging for a specific pull request. */ readonly isRequired: Scalars['Boolean']; @@ -20423,6 +23172,14 @@ type GITHUB_StatusContext_isRequiredArgs = { pullRequestNumber: InputMaybe; }; +/** Represents a count of the state of a status context. */ +type GITHUB_StatusContextStateCount = { + /** The number of statuses with this state. */ + readonly count: Scalars['Int']; + /** The state of a status context. */ + readonly state: GITHUB_StatusState; +}; + /** The possible commit status states. */ type GITHUB_StatusState = /** Status is errored. */ @@ -20436,6 +23193,22 @@ type GITHUB_StatusState = /** Status is successful. */ | 'SUCCESS'; +/** A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors. */ +type GITHUB_StripeConnectAccount = { + /** The account number used to identify this Stripe Connect account. */ + readonly accountId: Scalars['String']; + /** The name of the country or region of an external account, such as a bank account, tied to the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization. */ + readonly billingCountryOrRegion: Maybe; + /** The name of the country or region of the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization. */ + readonly countryOrRegion: Maybe; + /** Whether this Stripe Connect account is currently in use for the associated GitHub Sponsors profile. */ + readonly isActive: Scalars['Boolean']; + /** The GitHub Sponsors profile associated with this Stripe Connect account. */ + readonly sponsorsListing: GITHUB_SponsorsListing; + /** The URL to access this Stripe Connect account on Stripe's website. */ + readonly stripeDashboardUrl: Scalars['GITHUB_URI']; +}; + /** Autogenerated input type of SubmitPullRequestReview */ type GITHUB_SubmitPullRequestReviewInput = { /** The text field to set on the Pull Request Review. */ @@ -20466,8 +23239,12 @@ type GITHUB_Submodule = { readonly gitUrl: Scalars['GITHUB_URI']; /** The name of the submodule in .gitmodules */ readonly name: Scalars['String']; + /** The name of the submodule in .gitmodules (Base64-encoded) */ + readonly nameRaw: Scalars['GITHUB_Base64String']; /** The path in the superproject that this submodule is located in */ readonly path: Scalars['String']; + /** The path in the superproject that this submodule is located in (Base64-encoded) */ + readonly pathRaw: Scalars['GITHUB_Base64String']; /** The commit revision of the subproject repository being tracked by the submodule */ readonly subprojectCommitOid: Maybe; }; @@ -20494,6 +23271,7 @@ type GITHUB_SubmoduleEdge = { /** Entities that can be subscribed to for web and email notifications. */ type GITHUB_Subscribable = { + /** The Node ID of the Subscribable object */ readonly id: Scalars['ID']; /** Check if the viewer is able to change their subscription status for the repository. */ readonly viewerCanSubscribe: Scalars['Boolean']; @@ -20501,12 +23279,23 @@ type GITHUB_Subscribable = { readonly viewerSubscription: Maybe; }; +/** Entities that can be subscribed to for web and email notifications. */ +type GITHUB_SubscribableThread = { + /** The Node ID of the SubscribableThread object */ + readonly id: Scalars['ID']; + /** Identifies the viewer's thread subscription form action. */ + readonly viewerThreadSubscriptionFormAction: Maybe; + /** Identifies the viewer's thread subscription status. */ + readonly viewerThreadSubscriptionStatus: Maybe; +}; + /** Represents a 'subscribed' event on a given `Subscribable`. */ type GITHUB_SubscribedEvent = GITHUB_Node & { /** Identifies the actor who performed the event. */ readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the SubscribedEvent object */ readonly id: Scalars['ID']; /** Object referenced by event. */ readonly subscribable: GITHUB_Subscribable; @@ -20539,6 +23328,7 @@ type GITHUB_Tag = GITHUB_GitObject & GITHUB_Node & { readonly commitResourcePath: Scalars['GITHUB_URI']; /** The HTTP URL for this Git object */ readonly commitUrl: Scalars['GITHUB_URI']; + /** The Node ID of the Tag object */ readonly id: Scalars['ID']; /** The Git tag message. */ readonly message: Maybe; @@ -20554,6 +23344,30 @@ type GITHUB_Tag = GITHUB_GitObject & GITHUB_Node & { readonly target: GITHUB_GitObject; }; +/** Parameters to be used for the tag_name_pattern rule */ +type GITHUB_TagNamePatternParameters = { + /** How this rule will appear to users. */ + readonly name: Maybe; + /** If true, the rule will fail if the pattern matches. */ + readonly negate: Scalars['Boolean']; + /** The operator to use for matching. */ + readonly operator: Scalars['String']; + /** The pattern to match with. */ + readonly pattern: Scalars['String']; +}; + +/** Parameters to be used for the tag_name_pattern rule */ +type GITHUB_TagNamePatternParametersInput = { + /** How this rule will appear to users. */ + readonly name: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + readonly negate: InputMaybe; + /** The operator to use for matching. */ + readonly operator: Scalars['String']; + /** The pattern to match with. */ + readonly pattern: Scalars['String']; +}; + /** A team of users in an organization. */ type GITHUB_Team = GITHUB_MemberStatusable & GITHUB_Node & GITHUB_Subscribable & { /** A list of teams that are ancestors of this team. */ @@ -20582,6 +23396,7 @@ type GITHUB_Team = GITHUB_MemberStatusable & GITHUB_Node & GITHUB_Subscribable & readonly editTeamResourcePath: Scalars['GITHUB_URI']; /** The HTTP URL for editing this team */ readonly editTeamUrl: Scalars['GITHUB_URI']; + /** The Node ID of the Team object */ readonly id: Scalars['ID']; /** A list of pending invitations for users to this team */ readonly invitations: Maybe; @@ -20599,12 +23414,18 @@ type GITHUB_Team = GITHUB_MemberStatusable & GITHUB_Node & GITHUB_Subscribable & readonly newTeamResourcePath: Scalars['GITHUB_URI']; /** The HTTP URL creating a new team */ readonly newTeamUrl: Scalars['GITHUB_URI']; + /** The notification setting that the team has set. */ + readonly notificationSetting: GITHUB_TeamNotificationSetting; /** The organization that owns this team. */ readonly organization: GITHUB_Organization; /** The parent team of the team. */ readonly parentTeam: Maybe; /** The level of privacy the team has. */ readonly privacy: GITHUB_TeamPrivacy; + /** Finds and returns the project according to the provided project number. */ + readonly projectV2: Maybe; + /** List of projects this team has collaborator access to. */ + readonly projectsV2: GITHUB_ProjectV2Connection; /** A list of repositories this team has access to. */ readonly repositories: GITHUB_TeamRepositoryConnection; /** The HTTP path for this team's repositories */ @@ -20708,6 +23529,24 @@ type GITHUB_Team_membersArgs = { }; +/** A team of users in an organization. */ +type GITHUB_Team_projectV2Args = { + number: Scalars['Int']; +}; + + +/** A team of users in an organization. */ +type GITHUB_Team_projectsV2Args = { + after: InputMaybe; + before: InputMaybe; + filterBy?: InputMaybe; + first: InputMaybe; + last: InputMaybe; + orderBy?: InputMaybe; + query?: InputMaybe; +}; + + /** A team of users in an organization. */ type GITHUB_Team_repositoriesArgs = { after: InputMaybe; @@ -20736,6 +23575,7 @@ type GITHUB_TeamAddMemberAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHUB_O readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the TeamAddMemberAuditEntry object */ readonly id: Scalars['ID']; /** Whether the team was mapped to an LDAP Group. */ readonly isLdapMapped: Maybe; @@ -20785,6 +23625,7 @@ type GITHUB_TeamAddRepositoryAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITH readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the TeamAddRepositoryAuditEntry object */ readonly id: Scalars['ID']; /** Whether the team was mapped to an LDAP Group. */ readonly isLdapMapped: Maybe; @@ -20854,6 +23695,7 @@ type GITHUB_TeamChangeParentTeamAuditEntry = GITHUB_AuditEntry & GITHUB_Node & G readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the TeamChangeParentTeamAuditEntry object */ readonly id: Scalars['ID']; /** Whether the team was mapped to an LDAP Group. */ readonly isLdapMapped: Maybe; @@ -20917,7 +23759,10 @@ type GITHUB_TeamConnection = { type GITHUB_TeamDiscussion = GITHUB_Comment & GITHUB_Deletable & GITHUB_Node & GITHUB_Reactable & GITHUB_Subscribable & GITHUB_UniformResourceLocatable & GITHUB_Updatable & GITHUB_UpdatableComment & { /** The actor who authored the comment. */ readonly author: Maybe; - /** Author's association with the discussion's team. */ + /** + * Author's association with the discussion's team. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly authorAssociation: GITHUB_CommentAuthorAssociation; /** The body as Markdown. */ readonly body: Scalars['String']; @@ -20925,13 +23770,25 @@ type GITHUB_TeamDiscussion = GITHUB_Comment & GITHUB_Deletable & GITHUB_Node & G readonly bodyHTML: Scalars['GITHUB_HTML']; /** The body rendered to text. */ readonly bodyText: Scalars['String']; - /** Identifies the discussion body hash. */ + /** + * Identifies the discussion body hash. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly bodyVersion: Scalars['String']; - /** A list of comments on this discussion. */ + /** + * A list of comments on this discussion. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly comments: GITHUB_TeamDiscussionCommentConnection; - /** The HTTP path for discussion comments */ + /** + * The HTTP path for discussion comments + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly commentsResourcePath: Scalars['GITHUB_URI']; - /** The HTTP URL for discussion comments */ + /** + * The HTTP URL for discussion comments + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly commentsUrl: Scalars['GITHUB_URI']; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; @@ -20941,16 +23798,26 @@ type GITHUB_TeamDiscussion = GITHUB_Comment & GITHUB_Deletable & GITHUB_Node & G readonly databaseId: Maybe; /** The actor who edited the comment. */ readonly editor: Maybe; + /** The Node ID of the TeamDiscussion object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; - /** Whether or not the discussion is pinned. */ + /** + * Whether or not the discussion is pinned. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly isPinned: Scalars['Boolean']; - /** Whether or not the discussion is only visible to team members and org admins. */ + /** + * Whether or not the discussion is only visible to team members and organization owners. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly isPrivate: Scalars['Boolean']; /** The moment the editor made the last edit */ readonly lastEditedAt: Maybe; - /** Identifies the discussion within its team. */ + /** + * Identifies the discussion within its team. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly number: Scalars['Int']; /** Identifies when the comment was published at. */ readonly publishedAt: Maybe; @@ -20958,21 +23825,36 @@ type GITHUB_TeamDiscussion = GITHUB_Comment & GITHUB_Deletable & GITHUB_Node & G readonly reactionGroups: Maybe>; /** A list of Reactions left on the Issue. */ readonly reactions: GITHUB_ReactionConnection; - /** The HTTP path for this discussion */ + /** + * The HTTP path for this discussion + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly resourcePath: Scalars['GITHUB_URI']; - /** The team that defines the context of this discussion. */ + /** + * The team that defines the context of this discussion. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly team: GITHUB_Team; - /** The title of the discussion */ + /** + * The title of the discussion + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly title: Scalars['String']; /** Identifies the date and time when the object was last updated. */ readonly updatedAt: Scalars['GITHUB_DateTime']; - /** The HTTP URL for this discussion */ + /** + * The HTTP URL for this discussion + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly url: Scalars['GITHUB_URI']; /** A list of edits to this content. */ readonly userContentEdits: Maybe; /** Check if the current viewer can delete this object. */ readonly viewerCanDelete: Scalars['Boolean']; - /** Whether or not the current viewer can pin this discussion. */ + /** + * Whether or not the current viewer can pin this discussion. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly viewerCanPin: Scalars['Boolean']; /** Can user react to this subject */ readonly viewerCanReact: Scalars['Boolean']; @@ -21023,7 +23905,10 @@ type GITHUB_TeamDiscussion_userContentEditsArgs = { type GITHUB_TeamDiscussionComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_Node & GITHUB_Reactable & GITHUB_UniformResourceLocatable & GITHUB_Updatable & GITHUB_UpdatableComment & { /** The actor who authored the comment. */ readonly author: Maybe; - /** Author's association with the comment's team. */ + /** + * Author's association with the comment's team. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly authorAssociation: GITHUB_CommentAuthorAssociation; /** The body as Markdown. */ readonly body: Scalars['String']; @@ -21031,7 +23916,10 @@ type GITHUB_TeamDiscussionComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_N readonly bodyHTML: Scalars['GITHUB_HTML']; /** The body rendered to text. */ readonly bodyText: Scalars['String']; - /** The current version of the body content. */ + /** + * The current version of the body content. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly bodyVersion: Scalars['String']; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; @@ -21039,16 +23927,23 @@ type GITHUB_TeamDiscussionComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_N readonly createdViaEmail: Scalars['Boolean']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; - /** The discussion this comment is about. */ + /** + * The discussion this comment is about. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly discussion: GITHUB_TeamDiscussion; /** The actor who edited the comment. */ readonly editor: Maybe; + /** The Node ID of the TeamDiscussionComment object */ readonly id: Scalars['ID']; /** Check if this comment was edited and includes an edit with the creation data */ readonly includesCreatedEdit: Scalars['Boolean']; /** The moment the editor made the last edit */ readonly lastEditedAt: Maybe; - /** Identifies the comment number. */ + /** + * Identifies the comment number. + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly number: Scalars['Int']; /** Identifies when the comment was published at. */ readonly publishedAt: Maybe; @@ -21056,11 +23951,17 @@ type GITHUB_TeamDiscussionComment = GITHUB_Comment & GITHUB_Deletable & GITHUB_N readonly reactionGroups: Maybe>; /** A list of Reactions left on the Issue. */ readonly reactions: GITHUB_ReactionConnection; - /** The HTTP path for this comment */ + /** + * The HTTP path for this comment + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly resourcePath: Scalars['GITHUB_URI']; /** Identifies the date and time when the object was last updated. */ readonly updatedAt: Scalars['GITHUB_DateTime']; - /** The HTTP URL for this comment */ + /** + * The HTTP URL for this comment + * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. + */ readonly url: Scalars['GITHUB_URI']; /** A list of edits to this content. */ readonly userContentEdits: Maybe; @@ -21226,6 +24127,13 @@ type GITHUB_TeamMembershipType = /** Includes only immediate members of the team. */ | 'IMMEDIATE'; +/** The possible team notification values. */ +type GITHUB_TeamNotificationSetting = + /** No one will receive notifications. */ + | 'NOTIFICATIONS_DISABLED' + /** Everyone will receive notifications when the team is @mentioned. */ + | 'NOTIFICATIONS_ENABLED'; + /** Ways in which team connections can be ordered. */ type GITHUB_TeamOrder = { /** The direction in which to order nodes. */ @@ -21264,6 +24172,7 @@ type GITHUB_TeamRemoveMemberAuditEntry = GITHUB_AuditEntry & GITHUB_Node & GITHU readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the TeamRemoveMemberAuditEntry object */ readonly id: Scalars['ID']; /** Whether the team was mapped to an LDAP Group. */ readonly isLdapMapped: Maybe; @@ -21313,6 +24222,7 @@ type GITHUB_TeamRemoveRepositoryAuditEntry = GITHUB_AuditEntry & GITHUB_Node & G readonly actorUrl: Maybe; /** The time the action was initiated */ readonly createdAt: Scalars['GITHUB_PreciseDateTime']; + /** The Node ID of the TeamRemoveRepositoryAuditEntry object */ readonly id: Scalars['ID']; /** Whether the team was mapped to an LDAP Group. */ readonly isLdapMapped: Maybe; @@ -21423,8 +24333,39 @@ type GITHUB_TextMatchHighlight = { readonly text: Scalars['String']; }; +/** The possible states of a thread subscription form action */ +type GITHUB_ThreadSubscriptionFormAction = + /** The User cannot subscribe or unsubscribe to the thread */ + | 'NONE' + /** The User can subscribe to the thread */ + | 'SUBSCRIBE' + /** The User can unsubscribe to the thread */ + | 'UNSUBSCRIBE'; + +/** The possible states of a subscription. */ +type GITHUB_ThreadSubscriptionState = + /** The subscription status is currently disabled. */ + | 'DISABLED' + /** The User is never notified because they are ignoring the list */ + | 'IGNORING_LIST' + /** The User is never notified because they are ignoring the thread */ + | 'IGNORING_THREAD' + /** The User is not recieving notifications from this thread */ + | 'NONE' + /** The User is notified becuase they are watching the list */ + | 'SUBSCRIBED_TO_LIST' + /** The User is notified because they are subscribed to the thread */ + | 'SUBSCRIBED_TO_THREAD' + /** The User is notified because they chose custom settings for this thread. */ + | 'SUBSCRIBED_TO_THREAD_EVENTS' + /** The User is notified because they chose custom settings for this thread. */ + | 'SUBSCRIBED_TO_THREAD_TYPE' + /** The subscription status is currently unavailable. */ + | 'UNAVAILABLE'; + /** A topic aggregates entities that are related to a subject. */ type GITHUB_Topic = GITHUB_Node & GITHUB_Starrable & { + /** The Node ID of the Topic object */ readonly id: Scalars['ID']; /** The topic's name. */ readonly name: Scalars['String']; @@ -21460,12 +24401,14 @@ type GITHUB_Topic_repositoriesArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; + hasIssuesEnabled: InputMaybe; isLocked: InputMaybe; last: InputMaybe; orderBy: InputMaybe; ownerAffiliations?: InputMaybe>>; privacy: InputMaybe; sponsorableOnly?: InputMaybe; + visibility: InputMaybe; }; @@ -21504,10 +24447,30 @@ type GITHUB_TrackedIssueStates = /** The tracked issue is open */ | 'OPEN'; +/** Autogenerated input type of TransferEnterpriseOrganization */ +type GITHUB_TransferEnterpriseOrganizationInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the enterprise where the organization should be transferred. */ + readonly destinationEnterpriseId: Scalars['ID']; + /** The ID of the organization to transfer. */ + readonly organizationId: Scalars['ID']; +}; + +/** Autogenerated return type of TransferEnterpriseOrganization */ +type GITHUB_TransferEnterpriseOrganizationPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The organization for which a transfer was initiated. */ + readonly organization: Maybe; +}; + /** Autogenerated input type of TransferIssue */ type GITHUB_TransferIssueInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; + /** Whether to create labels if they don't exist in the target repository (matched by name) */ + readonly createLabelsIfMissing: InputMaybe; /** The Node ID of the issue to be transferred */ readonly issueId: Scalars['ID']; /** The Node ID of the repository the issue should be transferred to */ @@ -21530,6 +24493,7 @@ type GITHUB_TransferredEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The repository this came from */ readonly fromRepository: Maybe; + /** The Node ID of the TransferredEvent object */ readonly id: Scalars['ID']; /** Identifies the issue associated with the event. */ readonly issue: GITHUB_Issue; @@ -21545,6 +24509,7 @@ type GITHUB_Tree = GITHUB_GitObject & GITHUB_Node & { readonly commitUrl: Scalars['GITHUB_URI']; /** A list of tree entries. */ readonly entries: Maybe>; + /** The Node ID of the Tree object */ readonly id: Scalars['ID']; /** The Git object ID */ readonly oid: Scalars['GITHUB_GitObjectID']; @@ -21558,18 +24523,24 @@ type GITHUB_TreeEntry = { readonly extension: Maybe; /** Whether or not this tree entry is generated */ readonly isGenerated: Scalars['Boolean']; + /** The programming language this file is written in. */ + readonly language: Maybe; /** Number of lines in the file. */ readonly lineCount: Maybe; /** Entry file mode. */ readonly mode: Scalars['Int']; /** Entry file name. */ readonly name: Scalars['String']; + /** Entry file name. (Base64-encoded) */ + readonly nameRaw: Scalars['GITHUB_Base64String']; /** Entry file object. */ readonly object: Maybe; /** Entry file Git object ID. */ readonly oid: Scalars['GITHUB_GitObjectID']; /** The full path of the file. */ readonly path: Maybe; + /** The full path of the file. (Base64-encoded) */ + readonly pathRaw: Maybe; /** The Repository the tree entry belongs to */ readonly repository: GITHUB_Repository; /** Entry byte size */ @@ -21580,6 +24551,24 @@ type GITHUB_TreeEntry = { readonly type: Scalars['String']; }; +/** Autogenerated input type of UnarchiveProjectV2Item */ +type GITHUB_UnarchiveProjectV2ItemInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the ProjectV2Item to unarchive. */ + readonly itemId: Scalars['ID']; + /** The ID of the Project to archive the item from. */ + readonly projectId: Scalars['ID']; +}; + +/** Autogenerated return type of UnarchiveProjectV2Item */ +type GITHUB_UnarchiveProjectV2ItemPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The item unarchived from the project. */ + readonly item: Maybe; +}; + /** Autogenerated input type of UnarchiveRepository */ type GITHUB_UnarchiveRepositoryInput = { /** A unique identifier for the client performing the mutation. */ @@ -21606,6 +24595,7 @@ type GITHUB_UnassignedEvent = GITHUB_Node & { readonly assignee: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the UnassignedEvent object */ readonly id: Scalars['ID']; /** * Identifies the subject (user) who was unassigned. @@ -21678,6 +24668,7 @@ type GITHUB_UnlabeledEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the UnlabeledEvent object */ readonly id: Scalars['ID']; /** Identifies the label associated with the 'unlabeled' event. */ readonly label: GITHUB_Label; @@ -21685,6 +24676,42 @@ type GITHUB_UnlabeledEvent = GITHUB_Node & { readonly labelable: GITHUB_Labelable; }; +/** Autogenerated input type of UnlinkProjectV2FromRepository */ +type GITHUB_UnlinkProjectV2FromRepositoryInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the project to unlink from the repository. */ + readonly projectId: Scalars['ID']; + /** The ID of the repository to unlink from the project. */ + readonly repositoryId: Scalars['ID']; +}; + +/** Autogenerated return type of UnlinkProjectV2FromRepository */ +type GITHUB_UnlinkProjectV2FromRepositoryPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The repository the project is no longer linked to. */ + readonly repository: Maybe; +}; + +/** Autogenerated input type of UnlinkProjectV2FromTeam */ +type GITHUB_UnlinkProjectV2FromTeamInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the project to unlink from the team. */ + readonly projectId: Scalars['ID']; + /** The ID of the team to unlink from the project. */ + readonly teamId: Scalars['ID']; +}; + +/** Autogenerated return type of UnlinkProjectV2FromTeam */ +type GITHUB_UnlinkProjectV2FromTeamPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The team the project is unlinked from */ + readonly team: Maybe; +}; + /** Autogenerated input type of UnlinkRepositoryFromProject */ type GITHUB_UnlinkRepositoryFromProjectInput = { /** A unique identifier for the client performing the mutation. */ @@ -21729,6 +24756,7 @@ type GITHUB_UnlockedEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the UnlockedEvent object */ readonly id: Scalars['ID']; /** Object that was unlocked. */ readonly lockable: GITHUB_Lockable; @@ -21786,6 +24814,22 @@ type GITHUB_UnmarkIssueAsDuplicatePayload = { readonly duplicate: Maybe; }; +/** Autogenerated input type of UnmarkProjectV2AsTemplate */ +type GITHUB_UnmarkProjectV2AsTemplateInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the Project to unmark as a template. */ + readonly projectId: Scalars['ID']; +}; + +/** Autogenerated return type of UnmarkProjectV2AsTemplate */ +type GITHUB_UnmarkProjectV2AsTemplatePayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The project. */ + readonly projectV2: Maybe; +}; + /** Represents an 'unmarked_as_duplicate' event on a given issue or pull request. */ type GITHUB_UnmarkedAsDuplicateEvent = GITHUB_Node & { /** Identifies the actor who performed the event. */ @@ -21796,6 +24840,7 @@ type GITHUB_UnmarkedAsDuplicateEvent = GITHUB_Node & { readonly createdAt: Scalars['GITHUB_DateTime']; /** The issue or pull request which has been marked as a duplicate of another. */ readonly duplicate: Maybe; + /** The Node ID of the UnmarkedAsDuplicateEvent object */ readonly id: Scalars['ID']; /** Canonical and duplicate belong to different repositories. */ readonly isCrossRepository: Scalars['Boolean']; @@ -21839,6 +24884,7 @@ type GITHUB_UnpinnedEvent = GITHUB_Node & { readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the UnpinnedEvent object */ readonly id: Scalars['ID']; /** Identifies the issue associated with the event. */ readonly issue: GITHUB_Issue; @@ -21860,12 +24906,29 @@ type GITHUB_UnresolveReviewThreadPayload = { readonly thread: Maybe; }; +/** Autogenerated input type of UnsubscribeFromNotifications */ +type GITHUB_UnsubscribeFromNotificationsInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The NotificationThread IDs of the objects to unsubscribe from. */ + readonly ids: ReadonlyArray; +}; + +/** Autogenerated return type of UnsubscribeFromNotifications */ +type GITHUB_UnsubscribeFromNotificationsPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** Did the operation succeed? */ + readonly success: Maybe; +}; + /** Represents an 'unsubscribed' event on a given `Subscribable`. */ type GITHUB_UnsubscribedEvent = GITHUB_Node & { /** Identifies the actor who performed the event. */ readonly actor: Maybe; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the UnsubscribedEvent object */ readonly id: Scalars['ID']; /** Object referenced by event. */ readonly subscribable: GITHUB_Subscribable; @@ -21901,14 +24964,22 @@ type GITHUB_UpdateBranchProtectionRuleInput = { readonly clientMutationId: InputMaybe; /** Will new commits pushed to matching branches dismiss pull request review approvals. */ readonly dismissesStaleReviews: InputMaybe; - /** Can admins overwrite branch protection. */ + /** Can admins override branch protection. */ readonly 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. */ + readonly lockAllowsFetchAndMerge: InputMaybe; + /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ + readonly lockBranch: InputMaybe; /** The glob-like pattern used to determine matching branches. */ readonly pattern: InputMaybe; /** A list of User, Team, or App IDs allowed to push to matching branches. */ readonly pushActorIds: InputMaybe>; + /** Whether the most recent push must be approved by someone other than the person who pushed it */ + readonly requireLastPushApproval: InputMaybe; /** Number of approving reviews required to update matching branches. */ readonly requiredApprovingReviewCount: InputMaybe; + /** The list of required deployment environments */ + readonly requiredDeploymentEnvironments: InputMaybe>; /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ readonly requiredStatusCheckContexts: InputMaybe>; /** The list of required status checks */ @@ -21921,6 +24992,8 @@ type GITHUB_UpdateBranchProtectionRuleInput = { readonly requiresCommitSignatures: InputMaybe; /** Are conversations required to be resolved before merging. */ readonly requiresConversationResolution: InputMaybe; + /** Are successful deployments required before merging. */ + readonly requiresDeployments: InputMaybe; /** Are merge commits prohibited from being pushed to this branch. */ readonly requiresLinearHistory: InputMaybe; /** Are status checks required to update matching branches. */ @@ -22063,6 +25136,8 @@ type GITHUB_UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput = { readonly clientMutationId: InputMaybe; /** The ID of the enterprise on which to set the allow private repository forking setting. */ readonly enterpriseId: Scalars['ID']; + /** The value for the allow private repository forking policy on the enterprise. */ + readonly policyValue: InputMaybe; /** The value for the allow private repository forking setting on the enterprise. */ readonly settingValue: GITHUB_EnterpriseEnabledDisabledSettingValue; }; @@ -22395,6 +25470,8 @@ type GITHUB_UpdateEnvironmentInput = { readonly clientMutationId: InputMaybe; /** The node ID of the environment. */ readonly environmentId: Scalars['ID']; + /** Whether deployments to this environment can be approved by the user who created the deployment. */ + readonly preventSelfReview: InputMaybe; /** The ids of users or teams that can approve deployments to this environment */ readonly reviewers: InputMaybe>; /** The wait timer in minutes. */ @@ -22555,197 +25632,108 @@ type GITHUB_UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload = { readonly organization: Maybe; }; -/** Autogenerated input type of UpdateProjectCard */ -type GITHUB_UpdateProjectCardInput = { +/** Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting */ +type GITHUB_UpdateOrganizationWebCommitSignoffSettingInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** Whether or not the ProjectCard should be archived */ - readonly isArchived: InputMaybe; - /** The note of ProjectCard. */ - readonly note: InputMaybe; - /** The ProjectCard ID to update. */ - readonly projectCardId: Scalars['ID']; + /** The ID of the organization on which to set the web commit signoff setting. */ + readonly organizationId: Scalars['ID']; + /** Enable signoff on web-based commits for repositories in the organization? */ + readonly webCommitSignoffRequired: Scalars['Boolean']; }; -/** Autogenerated return type of UpdateProjectCard */ -type GITHUB_UpdateProjectCardPayload = { +/** Autogenerated return type of UpdateOrganizationWebCommitSignoffSetting */ +type GITHUB_UpdateOrganizationWebCommitSignoffSettingPayload = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: Maybe; - /** The updated ProjectCard. */ - readonly projectCard: Maybe; + /** A message confirming the result of updating the web commit signoff setting. */ + readonly message: Maybe; + /** The organization with the updated web commit signoff setting. */ + readonly organization: Maybe; }; -/** Autogenerated input type of UpdateProjectColumn */ -type GITHUB_UpdateProjectColumnInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId: InputMaybe; - /** The name of project column. */ - readonly name: Scalars['String']; - /** The ProjectColumn ID to update. */ - readonly projectColumnId: Scalars['ID']; +/** Only allow users with bypass permission to update matching refs. */ +type GITHUB_UpdateParameters = { + /** Branch can pull changes from its upstream repository */ + readonly updateAllowsFetchAndMerge: Scalars['Boolean']; }; -/** Autogenerated return type of UpdateProjectColumn */ -type GITHUB_UpdateProjectColumnPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId: Maybe; - /** The updated project column. */ - readonly projectColumn: Maybe; +/** Only allow users with bypass permission to update matching refs. */ +type GITHUB_UpdateParametersInput = { + /** Branch can pull changes from its upstream repository */ + readonly updateAllowsFetchAndMerge: Scalars['Boolean']; }; -/** Autogenerated input type of UpdateProjectDraftIssue */ -type GITHUB_UpdateProjectDraftIssueInput = { - /** The IDs of the assignees of the draft issue. */ - readonly assigneeIds: InputMaybe>; - /** The body of the draft issue. */ - readonly body: InputMaybe; +/** Autogenerated input type of UpdatePatreonSponsorability */ +type GITHUB_UpdatePatreonSponsorabilityInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** The ID of the draft issue to update. */ - readonly draftIssueId: Scalars['ID']; - /** The title of the draft issue. */ - readonly title: InputMaybe; + /** Whether Patreon tiers should be shown on the GitHub Sponsors profile page, allowing potential sponsors to make their payment through Patreon instead of GitHub. */ + readonly enablePatreonSponsorships: Scalars['Boolean']; + /** The username of the organization with the GitHub Sponsors profile, if any. Defaults to the GitHub Sponsors profile for the authenticated user if omitted. */ + readonly sponsorableLogin: InputMaybe; }; -/** Autogenerated return type of UpdateProjectDraftIssue */ -type GITHUB_UpdateProjectDraftIssuePayload = { +/** Autogenerated return type of UpdatePatreonSponsorability */ +type GITHUB_UpdatePatreonSponsorabilityPayload = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: Maybe; - /** The draft issue updated in the project. */ - readonly draftIssue: Maybe; + /** The GitHub Sponsors profile. */ + readonly sponsorsListing: Maybe; }; -/** Autogenerated input type of UpdateProject */ -type GITHUB_UpdateProjectInput = { - /** The description of project. */ - readonly body: InputMaybe; +/** Autogenerated input type of UpdateProjectCard */ +type GITHUB_UpdateProjectCardInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** The name of project. */ - readonly name: InputMaybe; - /** The Project ID to update. */ - readonly projectId: Scalars['ID']; - /** Whether the project is public or not. */ - readonly public: InputMaybe; - /** Whether the project is open or closed. */ - readonly state: InputMaybe; + /** Whether or not the ProjectCard should be archived */ + readonly isArchived: InputMaybe; + /** The note of ProjectCard. */ + readonly note: InputMaybe; + /** The ProjectCard ID to update. */ + readonly projectCardId: Scalars['ID']; }; -/** Autogenerated input type of UpdateProjectNext */ -type GITHUB_UpdateProjectNextInput = { +/** Autogenerated return type of UpdateProjectCard */ +type GITHUB_UpdateProjectCardPayload = { /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId: InputMaybe; - /** - * Set the project to closed or open. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `closed` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly closed: InputMaybe; - /** - * Set the readme description of the project. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `description` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly description: InputMaybe; - /** - * The ID of the Project to update. This field is required. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `projectId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly projectId: InputMaybe; - /** - * Set the project to public or private. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `public` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly public: InputMaybe; - /** - * Set the short description of the project. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `shortDescription` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly shortDescription: InputMaybe; - /** - * Set the title of the project. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `title` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly title: InputMaybe; + readonly clientMutationId: Maybe; + /** The updated ProjectCard. */ + readonly projectCard: Maybe; }; -/** Autogenerated input type of UpdateProjectNextItemField */ -type GITHUB_UpdateProjectNextItemFieldInput = { +/** Autogenerated input type of UpdateProjectColumn */ +type GITHUB_UpdateProjectColumnInput = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: InputMaybe; - /** - * The id of the field to be updated. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `fieldId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly fieldId: InputMaybe; - /** - * The id of the item to be updated. This field is required. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `itemId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly itemId: InputMaybe; - /** The ID of the Project. This field is required. */ - readonly projectId: InputMaybe; - /** - * The value which will be set on the field. This field is required. - * - * **Upcoming Change on 2022-10-01 UTC** - * **Description:** `value` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. - * **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. - * - */ - readonly value: InputMaybe; + /** The name of project column. */ + readonly name: Scalars['String']; + /** The ProjectColumn ID to update. */ + readonly projectColumnId: Scalars['ID']; }; -/** Autogenerated return type of UpdateProjectNextItemField */ -type GITHUB_UpdateProjectNextItemFieldPayload = { +/** Autogenerated return type of UpdateProjectColumn */ +type GITHUB_UpdateProjectColumnPayload = { /** A unique identifier for the client performing the mutation. */ readonly clientMutationId: Maybe; - /** - * The updated item. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNextItem: Maybe; + /** The updated project column. */ + readonly projectColumn: Maybe; }; -/** Autogenerated return type of UpdateProjectNext */ -type GITHUB_UpdateProjectNextPayload = { +/** Autogenerated input type of UpdateProject */ +type GITHUB_UpdateProjectInput = { + /** The description of project. */ + readonly body: InputMaybe; /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId: Maybe; - /** - * The updated Project. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNext: Maybe; + readonly clientMutationId: InputMaybe; + /** The name of project. */ + readonly name: InputMaybe; + /** The Project ID to update. */ + readonly projectId: Scalars['ID']; + /** Whether the project is public or not. */ + readonly public: InputMaybe; + /** Whether the project is open or closed. */ + readonly state: InputMaybe; }; /** Autogenerated return type of UpdateProject */ @@ -22756,6 +25744,33 @@ type GITHUB_UpdateProjectPayload = { readonly project: Maybe; }; +/** Autogenerated input type of UpdateProjectV2Collaborators */ +type GITHUB_UpdateProjectV2CollaboratorsInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The collaborators to update. */ + readonly collaborators: ReadonlyArray; + /** The ID of the project to update the collaborators for. */ + readonly projectId: Scalars['ID']; +}; + +/** Autogenerated return type of UpdateProjectV2Collaborators */ +type GITHUB_UpdateProjectV2CollaboratorsPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The collaborators granted a role */ + readonly collaborators: Maybe; +}; + + +/** Autogenerated return type of UpdateProjectV2Collaborators */ +type GITHUB_UpdateProjectV2CollaboratorsPayload_collaboratorsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; +}; + /** Autogenerated input type of UpdateProjectV2DraftIssue */ type GITHUB_UpdateProjectV2DraftIssueInput = { /** The IDs of the assignees of the draft issue. */ @@ -22863,6 +25878,8 @@ type GITHUB_UpdatePullRequestBranchInput = { readonly expectedHeadOid: InputMaybe; /** The Node ID of the pull request. */ readonly pullRequestId: Scalars['ID']; + /** The update branch method to use. If omitted, defaults to 'MERGE' */ + readonly updateMethod: InputMaybe; }; /** Autogenerated return type of UpdatePullRequestBranch */ @@ -22975,6 +25992,8 @@ type GITHUB_UpdateRepositoryInput = { readonly clientMutationId: InputMaybe; /** A new description for the repository. Pass an empty string to erase the existing description. */ readonly description: InputMaybe; + /** Indicates if the repository should have the discussions feature enabled. */ + readonly hasDiscussionsEnabled: InputMaybe; /** Indicates if the repository should have the issues feature enabled. */ readonly hasIssuesEnabled: InputMaybe; /** Indicates if the repository should have the project boards feature enabled. */ @@ -22999,6 +26018,54 @@ type GITHUB_UpdateRepositoryPayload = { readonly repository: Maybe; }; +/** Autogenerated input type of UpdateRepositoryRuleset */ +type GITHUB_UpdateRepositoryRulesetInput = { + /** A list of actors that are allowed to bypass rules in this ruleset. */ + readonly bypassActors: InputMaybe>; + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The list of conditions for this ruleset */ + readonly conditions: InputMaybe; + /** The enforcement level for this ruleset */ + readonly enforcement: InputMaybe; + /** The name of the ruleset. */ + readonly name: InputMaybe; + /** The global relay id of the repository ruleset to be updated. */ + readonly repositoryRulesetId: Scalars['ID']; + /** The list of rules for this ruleset */ + readonly rules: InputMaybe>; + /** The target of the ruleset. */ + readonly target: InputMaybe; +}; + +/** Autogenerated return type of UpdateRepositoryRuleset */ +type GITHUB_UpdateRepositoryRulesetPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The newly created Ruleset. */ + readonly ruleset: Maybe; +}; + +/** Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting */ +type GITHUB_UpdateRepositoryWebCommitSignoffSettingInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The ID of the repository to update. */ + readonly repositoryId: Scalars['ID']; + /** Indicates if the repository should require signoff on web-based commits. */ + readonly webCommitSignoffRequired: Scalars['Boolean']; +}; + +/** Autogenerated return type of UpdateRepositoryWebCommitSignoffSetting */ +type GITHUB_UpdateRepositoryWebCommitSignoffSettingPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** A message confirming the result of updating the web commit signoff setting. */ + readonly message: Maybe; + /** The updated repository. */ + readonly repository: Maybe; +}; + /** Autogenerated input type of UpdateSponsorshipPreferences */ type GITHUB_UpdateSponsorshipPreferencesInput = { /** A unique identifier for the client performing the mutation. */ @@ -23129,8 +26196,54 @@ type GITHUB_UpdateTopicsPayload = { readonly repository: Maybe; }; +/** Autogenerated input type of UpdateUserList */ +type GITHUB_UpdateUserListInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** A description of the list */ + readonly description: InputMaybe; + /** Whether or not the list is private */ + readonly isPrivate: InputMaybe; + /** The ID of the list to update. */ + readonly listId: Scalars['ID']; + /** The name of the list */ + readonly name: InputMaybe; +}; + +/** Autogenerated return type of UpdateUserList */ +type GITHUB_UpdateUserListPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The list that was just updated */ + readonly list: Maybe; +}; + +/** Autogenerated input type of UpdateUserListsForItem */ +type GITHUB_UpdateUserListsForItemInput = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: InputMaybe; + /** The item to add to the list */ + readonly itemId: Scalars['ID']; + /** The lists to which this item should belong */ + readonly listIds: ReadonlyArray; + /** The suggested lists to create and add this item to */ + readonly suggestedListIds: InputMaybe>; +}; + +/** Autogenerated return type of UpdateUserListsForItem */ +type GITHUB_UpdateUserListsForItemPayload = { + /** A unique identifier for the client performing the mutation. */ + readonly clientMutationId: Maybe; + /** The item that was added */ + readonly item: Maybe; + /** The lists to which this item belongs */ + readonly lists: Maybe>; + /** The user who owns the lists */ + readonly user: Maybe; +}; + /** A user is an individual's account on GitHub that owns repositories and can make new content. */ -type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProfileOwner & GITHUB_ProjectNextOwner & GITHUB_ProjectOwner & GITHUB_ProjectV2Owner & GITHUB_ProjectV2Recent & GITHUB_RepositoryDiscussionAuthor & GITHUB_RepositoryDiscussionCommentAuthor & GITHUB_RepositoryOwner & GITHUB_Sponsorable & GITHUB_UniformResourceLocatable & { +type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_ProfileOwner & GITHUB_ProjectOwner & GITHUB_ProjectV2Owner & GITHUB_ProjectV2Recent & GITHUB_RepositoryDiscussionAuthor & GITHUB_RepositoryDiscussionCommentAuthor & GITHUB_RepositoryOwner & GITHUB_Sponsorable & GITHUB_UniformResourceLocatable & { /** Determine if this repository owner has any items that can be pinned to their profile. */ readonly anyPinnableItems: Scalars['Boolean']; /** A URL pointing to the user's public avatar. */ @@ -23155,6 +26268,8 @@ type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_Pro readonly databaseId: Maybe; /** The user's publicly visible profile email. */ readonly email: Scalars['String']; + /** A list of enterprises that the user belongs to. */ + readonly enterprises: Maybe; /** The estimated next GitHub Sponsors payout for this user/organization in cents (USD). */ readonly estimatedNextSponsorsPayoutInCents: Scalars['Int']; /** A list of users the given user is followed by. */ @@ -23171,6 +26286,7 @@ type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_Pro readonly hasSponsorsListing: Scalars['Boolean']; /** The hovercard information for this user in a given context */ readonly hovercard: GITHUB_Hovercard; + /** The Node ID of the User object */ readonly id: Scalars['ID']; /** The interaction ability settings for this user. */ readonly interactionAbility: Maybe; @@ -23182,7 +26298,7 @@ type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_Pro readonly isDeveloperProgramMember: Scalars['Boolean']; /** Whether or not this user is a GitHub employee. */ readonly isEmployee: Scalars['Boolean']; - /** Whether or not this user is following the viewer. Inverse of viewer_is_following */ + /** Whether or not this user is following the viewer. Inverse of viewerIsFollowing */ readonly isFollowingViewer: Scalars['Boolean']; /** Whether or not this user is a member of the GitHub Stars Program. */ readonly isGitHubStar: Scalars['Boolean']; @@ -23190,7 +26306,7 @@ type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_Pro readonly isHireable: Scalars['Boolean']; /** Whether or not this user is a site administrator. */ readonly isSiteAdmin: Scalars['Boolean']; - /** Check if the given account is sponsoring this user/organization. */ + /** Whether the given account is sponsoring this user/organization. */ readonly isSponsoredBy: Scalars['Boolean']; /** True if the viewer is sponsored by this user/organization. */ readonly isSponsoringViewer: Scalars['Boolean']; @@ -23202,6 +26318,8 @@ type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_Pro readonly issues: GITHUB_IssueConnection; /** Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. */ readonly itemShowcase: GITHUB_ProfileItemShowcase; + /** A user-curated list of repositories */ + readonly lists: GITHUB_UserListConnection; /** The user's public profile location. */ readonly location: Maybe; /** The username used to login. */ @@ -23226,26 +26344,18 @@ type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_Pro readonly pinnedItemsRemaining: Scalars['Int']; /** Find project by number. */ readonly project: Maybe; - /** - * Find a project by project (beta) number. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectNext: Maybe; /** Find a project by number. */ readonly projectV2: Maybe; /** A list of projects under the owner. */ readonly projects: GITHUB_ProjectConnection; - /** - * A list of projects (beta) under the owner. - * @deprecated The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC. - */ - readonly projectsNext: GITHUB_ProjectNextConnection; /** The HTTP path listing user's projects */ readonly projectsResourcePath: Scalars['GITHUB_URI']; /** The HTTP URL listing user's projects */ readonly projectsUrl: Scalars['GITHUB_URI']; /** A list of projects under the owner. */ readonly projectsV2: GITHUB_ProjectV2Connection; + /** The user's profile pronouns */ + readonly pronouns: Maybe; /** A list of public keys associated with this user. */ readonly publicKeys: GITHUB_PublicKeyConnection; /** A list of pull requests associated with this user. */ @@ -23266,6 +26376,8 @@ type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_Pro readonly resourcePath: Scalars['GITHUB_URI']; /** Replies this user has saved */ readonly savedReplies: Maybe; + /** The user's social media accounts, ordered as they appear on the user's profile. */ + readonly socialAccounts: GITHUB_SocialAccountConnection; /** List of users and organizations this entity is sponsoring. */ readonly sponsoring: GITHUB_SponsorConnection; /** List of sponsors for this user or organization. */ @@ -23274,25 +26386,29 @@ type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_Pro readonly sponsorsActivities: GITHUB_SponsorsActivityConnection; /** The GitHub Sponsors listing for this user or organization. */ readonly sponsorsListing: Maybe; - /** The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. Only returns a sponsorship if it is active. */ + /** The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. */ readonly sponsorshipForViewerAsSponsor: Maybe; - /** The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. Only returns a sponsorship if it is active. */ + /** The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. */ readonly sponsorshipForViewerAsSponsorable: Maybe; /** List of sponsorship updates sent from this sponsorable to sponsors. */ readonly sponsorshipNewsletters: GITHUB_SponsorshipNewsletterConnection; - /** This object's sponsorships as the maintainer. */ + /** The sponsorships where this user or organization is the maintainer receiving the funds. */ readonly sponsorshipsAsMaintainer: GITHUB_SponsorshipConnection; - /** This object's sponsorships as the sponsor. */ + /** The sponsorships where this user or organization is the funder. */ readonly sponsorshipsAsSponsor: GITHUB_SponsorshipConnection; /** Repositories the user has starred. */ readonly starredRepositories: GITHUB_StarredRepositoryConnection; /** The user's description of what they're currently doing. */ readonly status: Maybe; + /** Suggested names for user lists */ + readonly suggestedListNames: ReadonlyArray; /** * Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created * */ readonly topRepositories: GITHUB_RepositoryConnection; + /** The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. */ + readonly totalSponsorshipAmountAsSponsorInCents: Maybe; /** The user's Twitter username. */ readonly twitterUsername: Maybe; /** Identifies the date and time when the object was last updated. */ @@ -23307,7 +26423,7 @@ type GITHUB_User = GITHUB_Actor & GITHUB_Node & GITHUB_PackageOwner & GITHUB_Pro readonly viewerCanFollow: Scalars['Boolean']; /** Whether or not the viewer is able to sponsor this user/organization. */ readonly viewerCanSponsor: Scalars['Boolean']; - /** Whether or not this user is followed by the viewer. Inverse of is_following_viewer. */ + /** Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. */ readonly viewerIsFollowing: Scalars['Boolean']; /** True if the viewer is sponsoring this user/organization. */ readonly viewerIsSponsoring: Scalars['Boolean']; @@ -23353,6 +26469,17 @@ type GITHUB_User_contributionsCollectionArgs = { }; +/** A user is an individual's account on GitHub that owns repositories and can make new content. */ +type GITHUB_User_enterprisesArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + membershipType?: InputMaybe; + orderBy?: InputMaybe; +}; + + /** A user is an individual's account on GitHub that owns repositories and can make new content. */ type GITHUB_User_followersArgs = { after: InputMaybe; @@ -23432,6 +26559,15 @@ type GITHUB_User_issuesArgs = { }; +/** A user is an individual's account on GitHub that owns repositories and can make new content. */ +type GITHUB_User_listsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; +}; + + /** A user is an individual's account on GitHub that owns repositories and can make new content. */ type GITHUB_User_organizationArgs = { login: Scalars['String']; @@ -23450,6 +26586,7 @@ type GITHUB_User_organizationsArgs = { before: InputMaybe; first: InputMaybe; last: InputMaybe; + orderBy?: InputMaybe; }; @@ -23492,12 +26629,6 @@ type GITHUB_User_projectArgs = { }; -/** A user is an individual's account on GitHub that owns repositories and can make new content. */ -type GITHUB_User_projectNextArgs = { - number: Scalars['Int']; -}; - - /** A user is an individual's account on GitHub that owns repositories and can make new content. */ type GITHUB_User_projectV2Args = { number: Scalars['Int']; @@ -23516,17 +26647,6 @@ type GITHUB_User_projectsArgs = { }; -/** A user is an individual's account on GitHub that owns repositories and can make new content. */ -type GITHUB_User_projectsNextArgs = { - after: InputMaybe; - before: InputMaybe; - first: InputMaybe; - last: InputMaybe; - query: InputMaybe; - sortBy?: InputMaybe; -}; - - /** A user is an individual's account on GitHub that owns repositories and can make new content. */ type GITHUB_User_projectsV2Args = { after: InputMaybe; @@ -23576,12 +26696,15 @@ type GITHUB_User_repositoriesArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; + hasIssuesEnabled: InputMaybe; + isArchived: InputMaybe; isFork: InputMaybe; isLocked: InputMaybe; last: InputMaybe; orderBy: InputMaybe; ownerAffiliations?: InputMaybe>>; privacy: InputMaybe; + visibility: InputMaybe; }; @@ -23591,6 +26714,7 @@ type GITHUB_User_repositoriesContributedToArgs = { before: InputMaybe; contributionTypes: InputMaybe>>; first: InputMaybe; + hasIssues: InputMaybe; includeUserRepositories: InputMaybe; isLocked: InputMaybe; last: InputMaybe; @@ -23626,6 +26750,7 @@ type GITHUB_User_repositoryDiscussionsArgs = { last: InputMaybe; orderBy?: InputMaybe; repositoryId: InputMaybe; + states?: InputMaybe>; }; @@ -23639,6 +26764,15 @@ type GITHUB_User_savedRepliesArgs = { }; +/** A user is an individual's account on GitHub that owns repositories and can make new content. */ +type GITHUB_User_socialAccountsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; +}; + + /** A user is an individual's account on GitHub that owns repositories and can make new content. */ type GITHUB_User_sponsoringArgs = { after: InputMaybe; @@ -23666,9 +26800,25 @@ type GITHUB_User_sponsorsActivitiesArgs = { after: InputMaybe; before: InputMaybe; first: InputMaybe; + includeAsSponsor?: InputMaybe; + includePrivate?: InputMaybe; last: InputMaybe; orderBy?: InputMaybe; period?: InputMaybe; + since: InputMaybe; + until: InputMaybe; +}; + + +/** A user is an individual's account on GitHub that owns repositories and can make new content. */ +type GITHUB_User_sponsorshipForViewerAsSponsorArgs = { + activeOnly?: InputMaybe; +}; + + +/** A user is an individual's account on GitHub that owns repositories and can make new content. */ +type GITHUB_User_sponsorshipForViewerAsSponsorableArgs = { + activeOnly?: InputMaybe; }; @@ -23684,6 +26834,7 @@ type GITHUB_User_sponsorshipNewslettersArgs = { /** A user is an individual's account on GitHub that owns repositories and can make new content. */ type GITHUB_User_sponsorshipsAsMaintainerArgs = { + activeOnly?: InputMaybe; after: InputMaybe; before: InputMaybe; first: InputMaybe; @@ -23695,10 +26846,12 @@ type GITHUB_User_sponsorshipsAsMaintainerArgs = { /** A user is an individual's account on GitHub that owns repositories and can make new content. */ type GITHUB_User_sponsorshipsAsSponsorArgs = { + activeOnly?: InputMaybe; after: InputMaybe; before: InputMaybe; first: InputMaybe; last: InputMaybe; + maintainerLogins: InputMaybe>; orderBy: InputMaybe; }; @@ -23725,17 +26878,27 @@ type GITHUB_User_topRepositoriesArgs = { }; +/** A user is an individual's account on GitHub that owns repositories and can make new content. */ +type GITHUB_User_totalSponsorshipAmountAsSponsorInCentsArgs = { + since: InputMaybe; + sponsorableLogins?: InputMaybe>; + until: InputMaybe; +}; + + /** A user is an individual's account on GitHub that owns repositories and can make new content. */ type GITHUB_User_watchingArgs = { affiliations: InputMaybe>>; after: InputMaybe; before: InputMaybe; first: InputMaybe; + hasIssuesEnabled: InputMaybe; isLocked: InputMaybe; last: InputMaybe; orderBy: InputMaybe; ownerAffiliations?: InputMaybe>>; privacy: InputMaybe; + visibility: InputMaybe; }; /** The possible durations that a user can be blocked for. */ @@ -23759,6 +26922,7 @@ type GITHUB_UserBlockedEvent = GITHUB_Node & { readonly blockDuration: GITHUB_UserBlockDuration; /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; + /** The Node ID of the UserBlockedEvent object */ readonly id: Scalars['ID']; /** The user who was blocked. */ readonly subject: Maybe; @@ -23790,6 +26954,7 @@ type GITHUB_UserContentEdit = GITHUB_Node & { readonly editedAt: Scalars['GITHUB_DateTime']; /** The actor who edited this content */ readonly editor: Maybe; + /** The Node ID of the UserContentEdit object */ readonly id: Scalars['ID']; /** Identifies the date and time when the object was last updated. */ readonly updatedAt: Scalars['GITHUB_DateTime']; @@ -23833,6 +26998,90 @@ type GITHUB_UserEmailMetadata = { readonly value: Scalars['String']; }; +/** A user-curated list of repositories */ +type GITHUB_UserList = GITHUB_Node & { + /** Identifies the date and time when the object was created. */ + readonly createdAt: Scalars['GITHUB_DateTime']; + /** The description of this list */ + readonly description: Maybe; + /** The Node ID of the UserList object */ + readonly id: Scalars['ID']; + /** Whether or not this list is private */ + readonly isPrivate: Scalars['Boolean']; + /** The items associated with this list */ + readonly items: GITHUB_UserListItemsConnection; + /** The date and time at which this list was created or last had items added to it */ + readonly lastAddedAt: Scalars['GITHUB_DateTime']; + /** The name of this list */ + readonly name: Scalars['String']; + /** The slug of this list */ + readonly slug: Scalars['String']; + /** Identifies the date and time when the object was last updated. */ + readonly updatedAt: Scalars['GITHUB_DateTime']; + /** The user to which this list belongs */ + readonly user: GITHUB_User; +}; + + +/** A user-curated list of repositories */ +type GITHUB_UserList_itemsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; +}; + +/** The connection type for UserList. */ +type GITHUB_UserListConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +type GITHUB_UserListEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** Types that can be added to a user list. */ +type GITHUB_UserListItems = GITHUB_Repository; + +/** The connection type for UserListItems. */ +type GITHUB_UserListItemsConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +type GITHUB_UserListItemsEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** Represents a suggested user list. */ +type GITHUB_UserListSuggestion = { + /** The ID of the suggested user list */ + readonly id: Maybe; + /** The name of the suggested user list */ + readonly name: Maybe; +}; + /** The user's description of what they're currently doing. */ type GITHUB_UserStatus = GITHUB_Node & { /** Identifies the date and time when the object was created. */ @@ -23843,6 +27092,7 @@ type GITHUB_UserStatus = GITHUB_Node & { readonly emojiHTML: Maybe; /** If set, the status will not be shown after this date. */ readonly expiresAt: Maybe; + /** The Node ID of the UserStatus object */ readonly id: Scalars['ID']; /** Whether this status indicates the user is not fully available on GitHub. */ readonly indicatesLimitedAvailability: Scalars['Boolean']; @@ -23903,6 +27153,7 @@ type GITHUB_VerifiableDomain = GITHUB_Node & { readonly hasFoundHostName: Scalars['Boolean']; /** Whether a TXT record for verification with the expected verification token was found. */ readonly hasFoundVerificationToken: Scalars['Boolean']; + /** The Node ID of the VerifiableDomain object */ readonly id: Scalars['ID']; /** Whether or not the domain is approved. */ readonly isApproved: Scalars['Boolean']; @@ -23997,20 +27248,63 @@ type GITHUB_Votable = { }; /** A workflow contains meta information about an Actions workflow file. */ -type GITHUB_Workflow = GITHUB_Node & { +type GITHUB_Workflow = GITHUB_Node & GITHUB_UniformResourceLocatable & { /** Identifies the date and time when the object was created. */ readonly createdAt: Scalars['GITHUB_DateTime']; /** Identifies the primary key from the database. */ readonly databaseId: Maybe; + /** The Node ID of the Workflow object */ readonly id: Scalars['ID']; /** The name of the workflow. */ readonly name: Scalars['String']; + /** The HTTP path for this workflow */ + readonly resourcePath: Scalars['GITHUB_URI']; + /** The runs of the workflow. */ + readonly runs: GITHUB_WorkflowRunConnection; + /** The state of the workflow. */ + readonly state: GITHUB_WorkflowState; /** Identifies the date and time when the object was last updated. */ readonly updatedAt: Scalars['GITHUB_DateTime']; + /** The HTTP URL for this workflow */ + readonly url: Scalars['GITHUB_URI']; +}; + + +/** A workflow contains meta information about an Actions workflow file. */ +type GITHUB_Workflow_runsArgs = { + after: InputMaybe; + before: InputMaybe; + first: InputMaybe; + last: InputMaybe; + orderBy?: InputMaybe; +}; + +/** A workflow that must run for this rule to pass */ +type GITHUB_WorkflowFileReference = { + /** The path to the workflow file */ + readonly path: Scalars['String']; + /** The ref (branch or tag) of the workflow file to use */ + readonly ref: Maybe; + /** The ID of the repository where the workflow is defined */ + readonly repositoryId: Scalars['Int']; + /** The commit SHA of the workflow file to use */ + readonly sha: Maybe; +}; + +/** A workflow that must run for this rule to pass */ +type GITHUB_WorkflowFileReferenceInput = { + /** The path to the workflow file */ + readonly path: Scalars['String']; + /** The ref (branch or tag) of the workflow file to use */ + readonly ref: InputMaybe; + /** The ID of the repository where the workflow is defined */ + readonly repositoryId: Scalars['Int']; + /** The commit SHA of the workflow file to use */ + readonly sha: InputMaybe; }; /** A workflow run. */ -type GITHUB_WorkflowRun = GITHUB_Node & { +type GITHUB_WorkflowRun = GITHUB_Node & GITHUB_UniformResourceLocatable & { /** The check suite this workflow run belongs to. */ readonly checkSuite: GITHUB_CheckSuite; /** Identifies the date and time when the object was created. */ @@ -24019,6 +27313,11 @@ type GITHUB_WorkflowRun = GITHUB_Node & { readonly databaseId: Maybe; /** The log of deployment reviews */ readonly deploymentReviews: GITHUB_DeploymentReviewConnection; + /** The event that triggered the workflow run */ + readonly event: Scalars['String']; + /** The workflow file */ + readonly file: Maybe; + /** The Node ID of the WorkflowRun object */ readonly id: Scalars['ID']; /** The pending deployment requests of all check runs in this workflow run */ readonly pendingDeploymentRequests: GITHUB_DeploymentRequestConnection; @@ -24052,6 +27351,86 @@ type GITHUB_WorkflowRun_pendingDeploymentRequestsArgs = { last: InputMaybe; }; +/** The connection type for WorkflowRun. */ +type GITHUB_WorkflowRunConnection = { + /** A list of edges. */ + readonly edges: Maybe>>; + /** A list of nodes. */ + readonly nodes: Maybe>>; + /** Information to aid in pagination. */ + readonly pageInfo: GITHUB_PageInfo; + /** Identifies the total count of items in the connection. */ + readonly totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +type GITHUB_WorkflowRunEdge = { + /** A cursor for use in pagination. */ + readonly cursor: Scalars['String']; + /** The item at the end of the edge. */ + readonly node: Maybe; +}; + +/** An executed workflow file for a workflow run. */ +type GITHUB_WorkflowRunFile = GITHUB_Node & GITHUB_UniformResourceLocatable & { + /** The Node ID of the WorkflowRunFile object */ + readonly id: Scalars['ID']; + /** The path of the workflow file relative to its repository. */ + readonly path: Scalars['String']; + /** The direct link to the file in the repository which stores the workflow file. */ + readonly repositoryFileUrl: Scalars['GITHUB_URI']; + /** The repository name and owner which stores the workflow file. */ + readonly repositoryName: Scalars['GITHUB_URI']; + /** The HTTP path for this workflow run file */ + readonly resourcePath: Scalars['GITHUB_URI']; + /** The parent workflow run execution for this file. */ + readonly run: GITHUB_WorkflowRun; + /** The HTTP URL for this workflow run file */ + readonly url: Scalars['GITHUB_URI']; + /** If the viewer has permissions to push to the repository which stores the workflow. */ + readonly viewerCanPushRepository: Scalars['Boolean']; + /** If the viewer has permissions to read the repository which stores the workflow. */ + readonly viewerCanReadRepository: Scalars['Boolean']; +}; + +/** Ways in which lists of workflow runs can be ordered upon return. */ +type GITHUB_WorkflowRunOrder = { + /** The direction in which to order workflow runs by the specified field. */ + readonly direction: GITHUB_OrderDirection; + /** The field by which to order workflows. */ + readonly field: GITHUB_WorkflowRunOrderField; +}; + +/** Properties by which workflow run connections can be ordered. */ +type GITHUB_WorkflowRunOrderField = + /** Order workflow runs by most recently created */ + | 'CREATED_AT'; + +/** The possible states for a workflow. */ +type GITHUB_WorkflowState = + /** The workflow is active. */ + | 'ACTIVE' + /** The workflow was deleted from the git repository. */ + | 'DELETED' + /** The workflow was disabled by default on a fork. */ + | 'DISABLED_FORK' + /** The workflow was disabled for inactivity in the repository. */ + | 'DISABLED_INACTIVITY' + /** The workflow was disabled manually. */ + | 'DISABLED_MANUALLY'; + +/** Require all changes made to a targeted branch to pass the specified workflows before they can be merged. */ +type GITHUB_WorkflowsParameters = { + /** Workflows that must pass for this rule to pass. */ + readonly workflows: ReadonlyArray; +}; + +/** Require all changes made to a targeted branch to pass the specified workflows before they can be merged. */ +type GITHUB_WorkflowsParametersInput = { + /** Workflows that must pass for this rule to pass. */ + readonly workflows: ReadonlyArray; +}; + type GatsbyImageDataQueryOperatorInput = { readonly eq: InputMaybe; readonly in: InputMaybe>>; @@ -25484,6 +28863,7 @@ type SiteFieldsEnum = | 'siteMetadata.darkTheme.base_100' | 'siteMetadata.darkTheme.base_200' | 'siteMetadata.darkTheme.base_300' + | 'siteMetadata.darkTheme.base_content' | 'siteMetadata.darkTheme.error' | 'siteMetadata.darkTheme.error_content' | 'siteMetadata.darkTheme.info' @@ -25501,7 +28881,6 @@ type SiteFieldsEnum = | 'siteMetadata.darkTheme.warning_content' | 'siteMetadata.description' | 'siteMetadata.githubUrl' - | 'siteMetadata.homepageDomain' | 'siteMetadata.lightTheme._xph' | 'siteMetadata.lightTheme._xsh' | 'siteMetadata.lightTheme.accent' @@ -25509,6 +28888,7 @@ type SiteFieldsEnum = | 'siteMetadata.lightTheme.base_100' | 'siteMetadata.lightTheme.base_200' | 'siteMetadata.lightTheme.base_300' + | 'siteMetadata.lightTheme.base_content' | 'siteMetadata.lightTheme.error' | 'siteMetadata.lightTheme.error_content' | 'siteMetadata.lightTheme.info' @@ -25525,10 +28905,10 @@ type SiteFieldsEnum = | 'siteMetadata.lightTheme.warning' | 'siteMetadata.lightTheme.warning_content' | 'siteMetadata.ogImageAltText' - | 'siteMetadata.ogImageUrl' + | 'siteMetadata.ogImagePath' | 'siteMetadata.shortDescription' | 'siteMetadata.shortTitle' - | 'siteMetadata.siteDomain' + | 'siteMetadata.siteUrl' | 'siteMetadata.title' | 'siteMetadata.trackingId' | 'trailingSlash'; @@ -26298,13 +29678,12 @@ type SiteSiteMetadata = { readonly darkTheme: Maybe; readonly description: Maybe; readonly githubUrl: Maybe; - readonly homepageDomain: Maybe; readonly lightTheme: Maybe; readonly ogImageAltText: Maybe; - readonly ogImageUrl: Maybe; + readonly ogImagePath: Maybe; readonly shortDescription: Maybe; readonly shortTitle: Maybe; - readonly siteDomain: Maybe; + readonly siteUrl: Maybe; readonly title: Maybe; readonly trackingId: Maybe; }; @@ -26317,6 +29696,7 @@ type SiteSiteMetadataDarkTheme = { readonly base_100: Maybe; readonly base_200: Maybe; readonly base_300: Maybe; + readonly base_content: Maybe; readonly error: Maybe; readonly error_content: Maybe; readonly info: Maybe; @@ -26342,6 +29722,7 @@ type SiteSiteMetadataDarkThemeFilterInput = { readonly base_100: InputMaybe; readonly base_200: InputMaybe; readonly base_300: InputMaybe; + readonly base_content: InputMaybe; readonly error: InputMaybe; readonly error_content: InputMaybe; readonly info: InputMaybe; @@ -26365,13 +29746,12 @@ type SiteSiteMetadataFilterInput = { readonly darkTheme: InputMaybe; readonly description: InputMaybe; readonly githubUrl: InputMaybe; - readonly homepageDomain: InputMaybe; readonly lightTheme: InputMaybe; readonly ogImageAltText: InputMaybe; - readonly ogImageUrl: InputMaybe; + readonly ogImagePath: InputMaybe; readonly shortDescription: InputMaybe; readonly shortTitle: InputMaybe; - readonly siteDomain: InputMaybe; + readonly siteUrl: InputMaybe; readonly title: InputMaybe; readonly trackingId: InputMaybe; }; @@ -26384,6 +29764,7 @@ type SiteSiteMetadataLightTheme = { readonly base_100: Maybe; readonly base_200: Maybe; readonly base_300: Maybe; + readonly base_content: Maybe; readonly error: Maybe; readonly error_content: Maybe; readonly info: Maybe; @@ -26409,6 +29790,7 @@ type SiteSiteMetadataLightThemeFilterInput = { readonly base_100: InputMaybe; readonly base_200: InputMaybe; readonly base_300: InputMaybe; + readonly base_content: InputMaybe; readonly error: InputMaybe; readonly error_content: InputMaybe; readonly info: InputMaybe;