diff --git a/content/actions/reference/runners/self-hosted-runners.md b/content/actions/reference/runners/self-hosted-runners.md index 7ae4ff911b5c..4cf1c86960ae 100644 --- a/content/actions/reference/runners/self-hosted-runners.md +++ b/content/actions/reference/runners/self-hosted-runners.md @@ -88,7 +88,7 @@ Autoscaling allows you to dynamically adjust the number of self-hosted runners b For more information, see [AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/about-actions-runner-controller) and [AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/about-support-for-actions-runner-controller). -### {% data variables.product.prodname_actions %} Runner Scale Set Client +### {% data variables.product.prodname_actions %} Runner Scale Set Client The {% data variables.product.prodname_actions %} Runner Scale Set Client is a standalone Go-based module that empowers platform teams, integrators, and infrastructure providers to build custom autoscaling solutions for {% data variables.product.prodname_actions %} runners across VMs, containers, on-premise infrastructure, and cloud services, with support for Windows, Linux, and macOS platforms. diff --git a/content/copilot/concepts/agents/copilot-cli/about-copilot-cli.md b/content/copilot/concepts/agents/copilot-cli/about-copilot-cli.md index c195b6af9178..8d5fcdcb311b 100644 --- a/content/copilot/concepts/agents/copilot-cli/about-copilot-cli.md +++ b/content/copilot/concepts/agents/copilot-cli/about-copilot-cli.md @@ -303,8 +303,6 @@ For more information about these policies, see [AUTOTITLE](/copilot/concepts/mcp ## Model usage -The default model used by {% data variables.copilot.copilot_cli %} is {% data variables.copilot.copilot_claude_sonnet_45 %}. {% data variables.product.github %} reserves the right to change this model. - You can change the model used by {% data variables.copilot.copilot_cli %} by using the `/model` slash command or the `--model` command-line option. Enter this command, then select a model from the list. Each time you submit a prompt to {% data variables.product.prodname_copilot_short %} in {% data variables.copilot.copilot_cli_short %}'s interactive interface, and each time you use {% data variables.copilot.copilot_cli_short %} programmatically, your monthly quota of {% data variables.product.prodname_copilot_short %} premium requests is reduced by one, multiplied by the multiplier shown in parentheses in the model list. For example, `Claude Sonnet 4.5 (1x)` indicates that with this model each time you submit a prompt your quota of premium requests is reduced by one. For information about premium requests, see [AUTOTITLE](/copilot/concepts/billing/copilot-requests). diff --git a/content/copilot/how-tos/copilot-on-github/chat-with-copilot/chat-in-github.md b/content/copilot/how-tos/copilot-on-github/chat-with-copilot/chat-in-github.md index 760a02b00613..ad6df5ae8204 100644 --- a/content/copilot/how-tos/copilot-on-github/chat-with-copilot/chat-in-github.md +++ b/content/copilot/how-tos/copilot-on-github/chat-with-copilot/chat-in-github.md @@ -72,6 +72,10 @@ The response to your edited question is displayed in a new subthread. An edit co You can attach images to your prompts by pasting, dragging, or clicking {% octicon "plus" aria-label="Add attachment" %} in the prompt box and then selecting **{% octicon "file-code" aria-hidden="true" %} Upload from computer**. Select a model that supports images from the model picker. For supported file types and example questions, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/provide-visual-inputs). +### Conversation history and retention + +{% data variables.copilot.copilot_chat_short %} stores up to 100 of your most recent conversations. Messages within each conversation are kept for 28 days before being permanently deleted. Once a conversation has no messages left, it's automatically removed from your history. + ## Further reading * [AUTOTITLE](/copilot/tutorials/using-copilot-to-explore-a-codebase) diff --git a/data/reusables/actions/runner-essential-communications.md b/data/reusables/actions/runner-essential-communications.md index 6fa5a8b32720..4dcbd88cf293 100644 --- a/data/reusables/actions/runner-essential-communications.md +++ b/data/reusables/actions/runner-essential-communications.md @@ -1,3 +1,10 @@ +{% ifversion ghec %} + +> [!NOTE] +> If you use {% data variables.enterprise.data_residency %}, your runners must communicate with additional hostnames beyond those listed below. For the complete network requirements, see [AUTOTITLE](/admin/data-residency/network-details-for-ghecom). + +{% endif %} + **Needed for essential operations:** ```shell copy diff --git a/src/content-pipelines/config.yml b/src/content-pipelines/config.yml index 66de5b4446a3..4d6924808240 100644 --- a/src/content-pipelines/config.yml +++ b/src/content-pipelines/config.yml @@ -17,8 +17,8 @@ # copilot-cli: name: Copilot CLI - source-repo: github/copilot-agent-runtime - source-path: docs/cli + source-repo: github/copilot-cli-generated-docs + source-path: docs target-articles: - content/copilot/reference/copilot-cli-reference/cli-command-reference.md - content/copilot/reference/copilot-cli-reference/cli-plugin-reference.md diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index e721d7946e01..44071d6261a7 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,107 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type EnterpriseTeam was added

", + "

EnterpriseTeam object implements Node interface

", + "

EnterpriseTeam object implements TeamReviewRequestable interface

", + "

Field assignedOrganizations was added to object type EnterpriseTeam

", + "

Argument after: String added to field EnterpriseTeam.assignedOrganizations

", + "

Argument before: String added to field EnterpriseTeam.assignedOrganizations

", + "

Argument first: Int added to field EnterpriseTeam.assignedOrganizations

", + "

Argument last: Int added to field EnterpriseTeam.assignedOrganizations

", + "

Argument orderBy: EnterpriseTeamOrganizationOrder (with default value) added to field EnterpriseTeam.assignedOrganizations

", + "

Field combinedSlug was added to object type EnterpriseTeam

", + "

Field createdAt was added to object type EnterpriseTeam

", + "

Field description was added to object type EnterpriseTeam

", + "

Field enterprise was added to object type EnterpriseTeam

", + "

Field enterpriseTeamMembers was added to object type EnterpriseTeam

", + "

Argument after: String added to field EnterpriseTeam.enterpriseTeamMembers

", + "

Argument before: String added to field EnterpriseTeam.enterpriseTeamMembers

", + "

Argument first: Int added to field EnterpriseTeam.enterpriseTeamMembers

", + "

Argument last: Int added to field EnterpriseTeam.enterpriseTeamMembers

", + "

Argument orderBy: EnterpriseTeamMemberOrder (with default value) added to field EnterpriseTeam.enterpriseTeamMembers

", + "

Argument query: String added to field EnterpriseTeam.enterpriseTeamMembers

", + "

Field fullDatabaseId was added to object type EnterpriseTeam

", + "

Field id was added to object type EnterpriseTeam

", + "

Field isViewerMember was added to object type EnterpriseTeam

", + "

Field name was added to object type EnterpriseTeam

", + "

Field notificationSetting was added to object type EnterpriseTeam

", + "

Field organizationSelectionType was added to object type EnterpriseTeam

", + "

Field privacy was added to object type EnterpriseTeam

", + "

Field slug was added to object type EnterpriseTeam

", + "

Field updatedAt was added to object type EnterpriseTeam

", + "

Field viewerCanAdminister was added to object type EnterpriseTeam

", + "

Type EnterpriseTeamAssignedOrganizationConnection was added

", + "

Field edges was added to object type EnterpriseTeamAssignedOrganizationConnection

", + "

Field nodes was added to object type EnterpriseTeamAssignedOrganizationConnection

", + "

Field pageInfo was added to object type EnterpriseTeamAssignedOrganizationConnection

", + "

Field totalCount was added to object type EnterpriseTeamAssignedOrganizationConnection

", + "

Type EnterpriseTeamAssignedOrganizationEdge was added

", + "

Field cursor was added to object type EnterpriseTeamAssignedOrganizationEdge

", + "

Field node was added to object type EnterpriseTeamAssignedOrganizationEdge

", + "

Type EnterpriseTeamConnection was added

", + "

Field edges was added to object type EnterpriseTeamConnection

", + "

Field nodes was added to object type EnterpriseTeamConnection

", + "

Field pageInfo was added to object type EnterpriseTeamConnection

", + "

Field totalCount was added to object type EnterpriseTeamConnection

", + "

Type EnterpriseTeamEdge was added

", + "

Field cursor was added to object type EnterpriseTeamEdge

", + "

Field node was added to object type EnterpriseTeamEdge

", + "

Type EnterpriseTeamMemberConnection was added

", + "

Field edges was added to object type EnterpriseTeamMemberConnection

", + "

Field nodes was added to object type EnterpriseTeamMemberConnection

", + "

Field pageInfo was added to object type EnterpriseTeamMemberConnection

", + "

Field totalCount was added to object type EnterpriseTeamMemberConnection

", + "

Type EnterpriseTeamMemberEdge was added

", + "

Field cursor was added to object type EnterpriseTeamMemberEdge

", + "

Field node was added to object type EnterpriseTeamMemberEdge

", + "

Type EnterpriseTeamMemberOrder was added

", + "

Input field direction of type OrderDirection! was added to input object type EnterpriseTeamMemberOrder

", + "

Input field field of type EnterpriseTeamMemberOrderField! was added to input object type EnterpriseTeamMemberOrder

", + "

Type EnterpriseTeamMemberOrderField was added

", + "

Enum value 'CREATED_ATwas added to enumEnterpriseTeamMemberOrderField'

", + "

Enum value ID was added to enum EnterpriseTeamMemberOrderField

", + "

Enum value LOGIN was added to enum EnterpriseTeamMemberOrderField

", + "

Type EnterpriseTeamOrder was added

", + "

Input field direction of type OrderDirection! was added to input object type EnterpriseTeamOrder

", + "

Input field field of type EnterpriseTeamOrderField! was added to input object type EnterpriseTeamOrder

", + "

Type EnterpriseTeamOrderField was added

", + "

Enum value 'CREATED_ATwas added to enumEnterpriseTeamOrderField'

", + "

Enum value ID was added to enum EnterpriseTeamOrderField

", + "

Enum value NAME was added to enum EnterpriseTeamOrderField

", + "

Type EnterpriseTeamOrganizationOrder was added

", + "

Input field direction of type OrderDirection! was added to input object type EnterpriseTeamOrganizationOrder

", + "

Input field field of type EnterpriseTeamOrganizationOrderField! was added to input object type EnterpriseTeamOrganizationOrder

", + "

Type EnterpriseTeamOrganizationOrderField was added

", + "

Enum value 'CREATED_ATwas added to enumEnterpriseTeamOrganizationOrderField'

", + "

Enum value ID was added to enum EnterpriseTeamOrganizationOrderField

", + "

Enum value LOGIN was added to enum EnterpriseTeamOrganizationOrderField

", + "

Type EnterpriseTeamOrganizationSelectionType was added

", + "

Enum value ALL was added to enum EnterpriseTeamOrganizationSelectionType

", + "

Enum value DISABLED was added to enum EnterpriseTeamOrganizationSelectionType

", + "

Enum value SELECTED was added to enum EnterpriseTeamOrganizationSelectionType

", + "

Member EnterpriseTeam was added to Union type BypassActor

", + "

Field enterpriseTeam was added to object type Enterprise

", + "

Argument slug: String! added to field Enterprise.enterpriseTeam

", + "

Field enterpriseTeams was added to object type Enterprise

", + "

Argument after: String added to field Enterprise.enterpriseTeams

", + "

Argument before: String added to field Enterprise.enterpriseTeams

", + "

Argument first: Int added to field Enterprise.enterpriseTeams

", + "

Argument last: Int added to field Enterprise.enterpriseTeams

", + "

Argument orderBy: EnterpriseTeamOrder (with default value) added to field Enterprise.enterpriseTeams

", + "

Argument query: String added to field Enterprise.enterpriseTeams

", + "

Member EnterpriseTeam was added to Union type PermissionGranter

", + "

Member EnterpriseTeam was added to Union type RequestedReviewer

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2026-05-21" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index d3d397531a2d..29299fd32a86 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -3155,7 +3155,7 @@ input BulkSponsorship @docsCategory(name: "sponsors") { """ Types that can represent a repository ruleset bypass actor. """ -union BypassActor @docsCategory(name: "repos") = App | Team | User +union BypassActor @docsCategory(name: "repos") = App | EnterpriseTeam | Team | User """ A user, team, or app who has the ability to bypass a force push requirement on a protected branch. @@ -6555,7 +6555,7 @@ type ConnectedEvent implements Node @docsCategory(name: "issues") { """ The content warning for a repository """ -type ContentWarning { +type ContentWarning @docsCategory(name: "meta") { """ The content warning' category. E.g. 'mis_dis_information' """ @@ -13857,6 +13857,51 @@ type Enterprise implements Node @docsCategory(name: "enterprise-admin") { """ descriptionHTML: HTML! + """ + Find an enterprise team by its slug. + """ + enterpriseTeam( + """ + The slug of the enterprise team to find. + """ + slug: String! + ): EnterpriseTeam + + """ + A list of enterprise teams in this enterprise. + """ + enterpriseTeams( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for enterprise teams returned from the connection. + """ + orderBy: EnterpriseTeamOrder = {field: ID, direction: ASC} + + """ + The search string to look for. + """ + query: String + ): EnterpriseTeamConnection! + """ The Node ID of the Enterprise object """ @@ -16865,6 +16910,383 @@ enum EnterpriseServerUserAccountsUploadSyncState @docsCategory(name: "enterprise SUCCESS } +""" +A team that belongs to an enterprise and can be assigned to multiple organizations. +""" +type EnterpriseTeam implements Node & TeamReviewRequestable @docsCategory(name: "enterprise-admin") { + """ + Organizations this team is assigned to. + """ + assignedOrganizations( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for organizations returned from the connection. + """ + orderBy: EnterpriseTeamOrganizationOrder = {field: ID, direction: ASC} + ): EnterpriseTeamAssignedOrganizationConnection! + + """ + The human-readable, unique identifier for the enterprise and team. + """ + combinedSlug: String! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The description of the team. + """ + description: String + + """ + The enterprise this team belongs to. + """ + enterprise: Enterprise + + """ + A list of users who are members of this enterprise team. + """ + enterpriseTeamMembers( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Order for the connection. + """ + orderBy: EnterpriseTeamMemberOrder = {field: ID, direction: ASC} + + """ + The search string to look for. + """ + query: String + ): EnterpriseTeamMemberConnection! + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The Node ID of the EnterpriseTeam object + """ + id: ID! + + """ + Whether the viewer is a member of this team. + """ + isViewerMember: Boolean! + + """ + The name of the team. + """ + name: String! + + """ + Whether the team will receive notifications when mentioned. + """ + notificationSetting: TeamNotificationSetting! + + """ + How this team selects its associated organizations. + """ + organizationSelectionType: EnterpriseTeamOrganizationSelectionType! + + """ + The level of privacy the team has. + """ + privacy: TeamPrivacy! + + """ + The slug corresponding to the team. + """ + slug: String! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + Whether the viewer can administer this team. + """ + viewerCanAdminister: Boolean! +} + +""" +The connection type for Organization. +""" +type EnterpriseTeamAssignedOrganizationConnection { + """ + A list of edges. + """ + edges: [EnterpriseTeamAssignedOrganizationEdge] + + """ + A list of nodes. + """ + nodes: [Organization] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents an organization that an enterprise team is assigned to. +""" +type EnterpriseTeamAssignedOrganizationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + node: Organization +} + +""" +A list of enterprise teams owned by the enterprise. +""" +type EnterpriseTeamConnection { + """ + A list of edges. + """ + edges: [EnterpriseTeamEdge] + + """ + A list of nodes. + """ + nodes: [EnterpriseTeam] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type EnterpriseTeamEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: EnterpriseTeam +} + +""" +The connection type for User. +""" +type EnterpriseTeamMemberConnection { + """ + A list of edges. + """ + edges: [EnterpriseTeamMemberEdge] + + """ + A list of nodes. + """ + nodes: [User] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents a user who is a member of an enterprise team. +""" +type EnterpriseTeamMemberEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + node: User +} + +""" +Ordering options for enterprise team member connections. +""" +input EnterpriseTeamMemberOrder @docsCategory(name: "enterprise-admin") { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order enterprise team members by. + """ + field: EnterpriseTeamMemberOrderField! +} + +""" +Properties by which enterprise team member connections can be ordered. +""" +enum EnterpriseTeamMemberOrderField @docsCategory(name: "enterprise-admin") { + """ + Order enterprise team members by creation time. + """ + CREATED_AT + + """ + Order enterprise team members by ID. + """ + ID + + """ + Order enterprise team members by login. + """ + LOGIN +} + +""" +Ordering options for enterprise team connections. +""" +input EnterpriseTeamOrder @docsCategory(name: "enterprise-admin") { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order enterprise teams by. + """ + field: EnterpriseTeamOrderField! +} + +""" +Properties by which enterprise team connections can be ordered. +""" +enum EnterpriseTeamOrderField @docsCategory(name: "enterprise-admin") { + """ + Order enterprise teams by creation time. + """ + CREATED_AT + + """ + Order enterprise teams by ID. + """ + ID + + """ + Order enterprise teams by name. + """ + NAME +} + +""" +Ordering options for enterprise team organization connections. +""" +input EnterpriseTeamOrganizationOrder @docsCategory(name: "enterprise-admin") { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order organizations by. + """ + field: EnterpriseTeamOrganizationOrderField! +} + +""" +Properties by which enterprise team organization connections can be ordered. +""" +enum EnterpriseTeamOrganizationOrderField @docsCategory(name: "enterprise-admin") { + """ + Order enterprise team organizations by creation time. + """ + CREATED_AT + + """ + Order enterprise team organizations by ID. + """ + ID + + """ + Order enterprise team organizations by login. + """ + LOGIN +} + +""" +The possible organization selection types for an enterprise team. +""" +enum EnterpriseTeamOrganizationSelectionType @docsCategory(name: "enterprise-admin") { + """ + The team is associated with all organizations in the enterprise. + """ + ALL + + """ + The team is not associated with any organizations. + """ + DISABLED + + """ + The team is associated with selected organizations. + """ + SELECTED +} + """ An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations. """ @@ -36914,7 +37336,7 @@ enum PatchStatus @docsCategory(name: "pulls") { """ Types that can grant permissions on a repository to a user """ -union PermissionGranter @docsCategory(name: "orgs") = Organization | Repository | Team +union PermissionGranter @docsCategory(name: "orgs") = EnterpriseTeam | Organization | Repository | Team """ A level of permission and source for a user's access to a repository. @@ -56520,7 +56942,7 @@ input RequestReviewsInput { """ The Node IDs of the team to request. """ - teamIds: [ID!] @possibleTypes(concreteTypes: ["Team"], abstractType: "TeamReviewRequestable") + teamIds: [ID!] @possibleTypes(concreteTypes: ["EnterpriseTeam", "Team"], abstractType: "TeamReviewRequestable") """ Add users to the set rather than replace. @@ -56591,7 +57013,7 @@ enum RequestableCheckStatusState @docsCategory(name: "checks") { """ Types that can be requested reviewers. """ -union RequestedReviewer @docsCategory(name: "pulls") = Bot | Mannequin | Team | User +union RequestedReviewer @docsCategory(name: "pulls") = Bot | EnterpriseTeam | Mannequin | Team | User """ The connection type for RequestedReviewer. diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index bdcecff0a0d1..07c5fbcf19df 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -15167,6 +15167,7 @@ "id": "contentwarning", "href": "/graphql/reference/objects#contentwarning", "description": "

The content warning for a repository.

", + "isDeprecated": false, "fields": [ { "name": "category", @@ -20499,6 +20500,87 @@ "id": "html", "href": "/graphql/reference/scalars#html" }, + { + "name": "enterpriseTeam", + "description": "

Find an enterprise team by its slug.

", + "type": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam", + "arguments": [ + { + "name": "slug", + "description": "

The slug of the enterprise team to find.

", + "type": { + "name": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, + { + "name": "enterpriseTeams", + "description": "

A list of enterprise teams in this enterprise.

", + "type": "EnterpriseTeamConnection!", + "id": "enterpriseteamconnection", + "href": "/graphql/reference/objects#enterpriseteamconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for enterprise teams returned from the connection.

", + "type": { + "name": "EnterpriseTeamOrder", + "id": "enterpriseteamorder", + "href": "/graphql/reference/input-objects#enterpriseteamorder" + } + }, + { + "name": "query", + "description": "

The search string to look for.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, { "name": "id", "description": "

The Node ID of the Enterprise object.

", @@ -24650,6 +24732,416 @@ } ] }, + { + "name": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam", + "description": "

A team that belongs to an enterprise and can be assigned to multiple organizations.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + }, + { + "name": "TeamReviewRequestable", + "id": "teamreviewrequestable", + "href": "/graphql/reference/interfaces#teamreviewrequestable" + } + ], + "fields": [ + { + "name": "assignedOrganizations", + "description": "

Organizations this team is assigned to.

", + "type": "EnterpriseTeamAssignedOrganizationConnection!", + "id": "enterpriseteamassignedorganizationconnection", + "href": "/graphql/reference/objects#enterpriseteamassignedorganizationconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for organizations returned from the connection.

", + "type": { + "name": "EnterpriseTeamOrganizationOrder", + "id": "enterpriseteamorganizationorder", + "href": "/graphql/reference/input-objects#enterpriseteamorganizationorder" + } + } + ] + }, + { + "name": "combinedSlug", + "description": "

The human-readable, unique identifier for the enterprise and team.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "description", + "description": "

The description of the team.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "enterprise", + "description": "

The enterprise this team belongs to.

", + "type": "Enterprise", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise" + }, + { + "name": "enterpriseTeamMembers", + "description": "

A list of users who are members of this enterprise team.

", + "type": "EnterpriseTeamMemberConnection!", + "id": "enterpriseteammemberconnection", + "href": "/graphql/reference/objects#enterpriseteammemberconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Order for the connection.

", + "type": { + "name": "EnterpriseTeamMemberOrder", + "id": "enterpriseteammemberorder", + "href": "/graphql/reference/input-objects#enterpriseteammemberorder" + } + }, + { + "name": "query", + "description": "

The search string to look for.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, + { + "name": "fullDatabaseId", + "description": "

Identifies the primary key from the database as a BigInt.

", + "type": "BigInt", + "id": "bigint", + "href": "/graphql/reference/scalars#bigint" + }, + { + "name": "id", + "description": "

The Node ID of the EnterpriseTeam object.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "isViewerMember", + "description": "

Whether the viewer is a member of this team.

", + "type": "Boolean!", + "id": "boolean", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "name", + "description": "

The name of the team.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "notificationSetting", + "description": "

Whether the team will receive notifications when mentioned.

", + "type": "TeamNotificationSetting!", + "id": "teamnotificationsetting", + "href": "/graphql/reference/enums#teamnotificationsetting" + }, + { + "name": "organizationSelectionType", + "description": "

How this team selects its associated organizations.

", + "type": "EnterpriseTeamOrganizationSelectionType!", + "id": "enterpriseteamorganizationselectiontype", + "href": "/graphql/reference/enums#enterpriseteamorganizationselectiontype" + }, + { + "name": "privacy", + "description": "

The level of privacy the team has.

", + "type": "TeamPrivacy!", + "id": "teamprivacy", + "href": "/graphql/reference/enums#teamprivacy" + }, + { + "name": "slug", + "description": "

The slug corresponding to the team.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "updatedAt", + "description": "

Identifies the date and time when the object was last updated.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "viewerCanAdminister", + "description": "

Whether the viewer can administer this team.

", + "type": "Boolean!", + "id": "boolean", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, + { + "name": "EnterpriseTeamAssignedOrganizationConnection", + "id": "enterpriseteamassignedorganizationconnection", + "href": "/graphql/reference/objects#enterpriseteamassignedorganizationconnection", + "description": "

The connection type for Organization.

", + "fields": [ + { + "name": "edges", + "description": "

A list of edges.

", + "type": "[EnterpriseTeamAssignedOrganizationEdge]", + "id": "enterpriseteamassignedorganizationedge", + "href": "/graphql/reference/objects#enterpriseteamassignedorganizationedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[Organization]", + "id": "organization", + "href": "/graphql/reference/objects#organization" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "EnterpriseTeamAssignedOrganizationEdge", + "id": "enterpriseteamassignedorganizationedge", + "href": "/graphql/reference/objects#enterpriseteamassignedorganizationedge", + "description": "

Represents an organization that an enterprise team is assigned to.

", + "fields": [ + { + "name": "cursor", + "description": "

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "", + "type": "Organization", + "id": "organization", + "href": "/graphql/reference/objects#organization" + } + ] + }, + { + "name": "EnterpriseTeamConnection", + "id": "enterpriseteamconnection", + "href": "/graphql/reference/objects#enterpriseteamconnection", + "description": "

A list of enterprise teams owned by the enterprise.

", + "fields": [ + { + "name": "edges", + "description": "

A list of edges.

", + "type": "[EnterpriseTeamEdge]", + "id": "enterpriseteamedge", + "href": "/graphql/reference/objects#enterpriseteamedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[EnterpriseTeam]", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "EnterpriseTeamEdge", + "id": "enterpriseteamedge", + "href": "/graphql/reference/objects#enterpriseteamedge", + "description": "

An edge in a connection.

", + "fields": [ + { + "name": "cursor", + "description": "

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "

The item at the end of the edge.

", + "type": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam" + } + ] + }, + { + "name": "EnterpriseTeamMemberConnection", + "id": "enterpriseteammemberconnection", + "href": "/graphql/reference/objects#enterpriseteammemberconnection", + "description": "

The connection type for User.

", + "fields": [ + { + "name": "edges", + "description": "

A list of edges.

", + "type": "[EnterpriseTeamMemberEdge]", + "id": "enterpriseteammemberedge", + "href": "/graphql/reference/objects#enterpriseteammemberedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[User]", + "id": "user", + "href": "/graphql/reference/objects#user" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "EnterpriseTeamMemberEdge", + "id": "enterpriseteammemberedge", + "href": "/graphql/reference/objects#enterpriseteammemberedge", + "description": "

Represents a user who is a member of an enterprise team.

", + "fields": [ + { + "name": "cursor", + "description": "

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "", + "type": "User", + "id": "user", + "href": "/graphql/reference/objects#user" + } + ] + }, { "name": "EnterpriseUserAccount", "id": "enterpriseuseraccount", @@ -82406,6 +82898,90 @@ } ] }, + { + "name": "EnterpriseTeamMemberOrderField", + "id": "enterpriseteammemberorderfield", + "href": "/graphql/reference/enums#enterpriseteammemberorderfield", + "description": "

Properties by which enterprise team member connections can be ordered.

", + "isDeprecated": false, + "values": [ + { + "name": "CREATED_AT", + "description": "

Order enterprise team members by creation time.

" + }, + { + "name": "ID", + "description": "

Order enterprise team members by ID.

" + }, + { + "name": "LOGIN", + "description": "

Order enterprise team members by login.

" + } + ] + }, + { + "name": "EnterpriseTeamOrderField", + "id": "enterpriseteamorderfield", + "href": "/graphql/reference/enums#enterpriseteamorderfield", + "description": "

Properties by which enterprise team connections can be ordered.

", + "isDeprecated": false, + "values": [ + { + "name": "CREATED_AT", + "description": "

Order enterprise teams by creation time.

" + }, + { + "name": "ID", + "description": "

Order enterprise teams by ID.

" + }, + { + "name": "NAME", + "description": "

Order enterprise teams by name.

" + } + ] + }, + { + "name": "EnterpriseTeamOrganizationOrderField", + "id": "enterpriseteamorganizationorderfield", + "href": "/graphql/reference/enums#enterpriseteamorganizationorderfield", + "description": "

Properties by which enterprise team organization connections can be ordered.

", + "isDeprecated": false, + "values": [ + { + "name": "CREATED_AT", + "description": "

Order enterprise team organizations by creation time.

" + }, + { + "name": "ID", + "description": "

Order enterprise team organizations by ID.

" + }, + { + "name": "LOGIN", + "description": "

Order enterprise team organizations by login.

" + } + ] + }, + { + "name": "EnterpriseTeamOrganizationSelectionType", + "id": "enterpriseteamorganizationselectiontype", + "href": "/graphql/reference/enums#enterpriseteamorganizationselectiontype", + "description": "

The possible organization selection types for an enterprise team.

", + "isDeprecated": false, + "values": [ + { + "name": "ALL", + "description": "

The team is associated with all organizations in the enterprise.

" + }, + { + "name": "DISABLED", + "description": "

The team is not associated with any organizations.

" + }, + { + "name": "SELECTED", + "description": "

The team is associated with selected organizations.

" + } + ] + }, { "name": "EnterpriseUserAccountMembershipRole", "id": "enterpriseuseraccountmembershiprole", @@ -88636,6 +89212,11 @@ "id": "app", "href": "/graphql/reference/objects#app" }, + { + "name": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam" + }, { "name": "Team", "id": "team", @@ -89652,6 +90233,11 @@ "description": "

Types that can grant permissions on a repository to a user.

", "isDeprecated": false, "possibleTypes": [ + { + "name": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam" + }, { "name": "Organization", "id": "organization", @@ -90548,6 +91134,11 @@ "id": "bot", "href": "/graphql/reference/objects#bot" }, + { + "name": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam" + }, { "name": "Mannequin", "id": "mannequin", @@ -96516,6 +97107,75 @@ } ] }, + { + "name": "EnterpriseTeamMemberOrder", + "id": "enterpriseteammemberorder", + "href": "/graphql/reference/input-objects#enterpriseteammemberorder", + "description": "

Ordering options for enterprise team member connections.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "direction", + "description": "

The ordering direction.

", + "type": "OrderDirection!", + "id": "orderdirection", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order enterprise team members by.

", + "type": "EnterpriseTeamMemberOrderField!", + "id": "enterpriseteammemberorderfield", + "href": "/graphql/reference/enums#enterpriseteammemberorderfield" + } + ] + }, + { + "name": "EnterpriseTeamOrder", + "id": "enterpriseteamorder", + "href": "/graphql/reference/input-objects#enterpriseteamorder", + "description": "

Ordering options for enterprise team connections.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "direction", + "description": "

The ordering direction.

", + "type": "OrderDirection!", + "id": "orderdirection", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order enterprise teams by.

", + "type": "EnterpriseTeamOrderField!", + "id": "enterpriseteamorderfield", + "href": "/graphql/reference/enums#enterpriseteamorderfield" + } + ] + }, + { + "name": "EnterpriseTeamOrganizationOrder", + "id": "enterpriseteamorganizationorder", + "href": "/graphql/reference/input-objects#enterpriseteamorganizationorder", + "description": "

Ordering options for enterprise team organization connections.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "direction", + "description": "

The ordering direction.

", + "type": "OrderDirection!", + "id": "orderdirection", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order organizations by.

", + "type": "EnterpriseTeamOrganizationOrderField!", + "id": "enterpriseteamorganizationorderfield", + "href": "/graphql/reference/enums#enterpriseteamorganizationorderfield" + } + ] + }, { "name": "Environments", "id": "environments", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index d3d397531a2d..29299fd32a86 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -3155,7 +3155,7 @@ input BulkSponsorship @docsCategory(name: "sponsors") { """ Types that can represent a repository ruleset bypass actor. """ -union BypassActor @docsCategory(name: "repos") = App | Team | User +union BypassActor @docsCategory(name: "repos") = App | EnterpriseTeam | Team | User """ A user, team, or app who has the ability to bypass a force push requirement on a protected branch. @@ -6555,7 +6555,7 @@ type ConnectedEvent implements Node @docsCategory(name: "issues") { """ The content warning for a repository """ -type ContentWarning { +type ContentWarning @docsCategory(name: "meta") { """ The content warning' category. E.g. 'mis_dis_information' """ @@ -13857,6 +13857,51 @@ type Enterprise implements Node @docsCategory(name: "enterprise-admin") { """ descriptionHTML: HTML! + """ + Find an enterprise team by its slug. + """ + enterpriseTeam( + """ + The slug of the enterprise team to find. + """ + slug: String! + ): EnterpriseTeam + + """ + A list of enterprise teams in this enterprise. + """ + enterpriseTeams( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for enterprise teams returned from the connection. + """ + orderBy: EnterpriseTeamOrder = {field: ID, direction: ASC} + + """ + The search string to look for. + """ + query: String + ): EnterpriseTeamConnection! + """ The Node ID of the Enterprise object """ @@ -16865,6 +16910,383 @@ enum EnterpriseServerUserAccountsUploadSyncState @docsCategory(name: "enterprise SUCCESS } +""" +A team that belongs to an enterprise and can be assigned to multiple organizations. +""" +type EnterpriseTeam implements Node & TeamReviewRequestable @docsCategory(name: "enterprise-admin") { + """ + Organizations this team is assigned to. + """ + assignedOrganizations( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for organizations returned from the connection. + """ + orderBy: EnterpriseTeamOrganizationOrder = {field: ID, direction: ASC} + ): EnterpriseTeamAssignedOrganizationConnection! + + """ + The human-readable, unique identifier for the enterprise and team. + """ + combinedSlug: String! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The description of the team. + """ + description: String + + """ + The enterprise this team belongs to. + """ + enterprise: Enterprise + + """ + A list of users who are members of this enterprise team. + """ + enterpriseTeamMembers( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Order for the connection. + """ + orderBy: EnterpriseTeamMemberOrder = {field: ID, direction: ASC} + + """ + The search string to look for. + """ + query: String + ): EnterpriseTeamMemberConnection! + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The Node ID of the EnterpriseTeam object + """ + id: ID! + + """ + Whether the viewer is a member of this team. + """ + isViewerMember: Boolean! + + """ + The name of the team. + """ + name: String! + + """ + Whether the team will receive notifications when mentioned. + """ + notificationSetting: TeamNotificationSetting! + + """ + How this team selects its associated organizations. + """ + organizationSelectionType: EnterpriseTeamOrganizationSelectionType! + + """ + The level of privacy the team has. + """ + privacy: TeamPrivacy! + + """ + The slug corresponding to the team. + """ + slug: String! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + Whether the viewer can administer this team. + """ + viewerCanAdminister: Boolean! +} + +""" +The connection type for Organization. +""" +type EnterpriseTeamAssignedOrganizationConnection { + """ + A list of edges. + """ + edges: [EnterpriseTeamAssignedOrganizationEdge] + + """ + A list of nodes. + """ + nodes: [Organization] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents an organization that an enterprise team is assigned to. +""" +type EnterpriseTeamAssignedOrganizationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + node: Organization +} + +""" +A list of enterprise teams owned by the enterprise. +""" +type EnterpriseTeamConnection { + """ + A list of edges. + """ + edges: [EnterpriseTeamEdge] + + """ + A list of nodes. + """ + nodes: [EnterpriseTeam] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type EnterpriseTeamEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: EnterpriseTeam +} + +""" +The connection type for User. +""" +type EnterpriseTeamMemberConnection { + """ + A list of edges. + """ + edges: [EnterpriseTeamMemberEdge] + + """ + A list of nodes. + """ + nodes: [User] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents a user who is a member of an enterprise team. +""" +type EnterpriseTeamMemberEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + node: User +} + +""" +Ordering options for enterprise team member connections. +""" +input EnterpriseTeamMemberOrder @docsCategory(name: "enterprise-admin") { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order enterprise team members by. + """ + field: EnterpriseTeamMemberOrderField! +} + +""" +Properties by which enterprise team member connections can be ordered. +""" +enum EnterpriseTeamMemberOrderField @docsCategory(name: "enterprise-admin") { + """ + Order enterprise team members by creation time. + """ + CREATED_AT + + """ + Order enterprise team members by ID. + """ + ID + + """ + Order enterprise team members by login. + """ + LOGIN +} + +""" +Ordering options for enterprise team connections. +""" +input EnterpriseTeamOrder @docsCategory(name: "enterprise-admin") { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order enterprise teams by. + """ + field: EnterpriseTeamOrderField! +} + +""" +Properties by which enterprise team connections can be ordered. +""" +enum EnterpriseTeamOrderField @docsCategory(name: "enterprise-admin") { + """ + Order enterprise teams by creation time. + """ + CREATED_AT + + """ + Order enterprise teams by ID. + """ + ID + + """ + Order enterprise teams by name. + """ + NAME +} + +""" +Ordering options for enterprise team organization connections. +""" +input EnterpriseTeamOrganizationOrder @docsCategory(name: "enterprise-admin") { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order organizations by. + """ + field: EnterpriseTeamOrganizationOrderField! +} + +""" +Properties by which enterprise team organization connections can be ordered. +""" +enum EnterpriseTeamOrganizationOrderField @docsCategory(name: "enterprise-admin") { + """ + Order enterprise team organizations by creation time. + """ + CREATED_AT + + """ + Order enterprise team organizations by ID. + """ + ID + + """ + Order enterprise team organizations by login. + """ + LOGIN +} + +""" +The possible organization selection types for an enterprise team. +""" +enum EnterpriseTeamOrganizationSelectionType @docsCategory(name: "enterprise-admin") { + """ + The team is associated with all organizations in the enterprise. + """ + ALL + + """ + The team is not associated with any organizations. + """ + DISABLED + + """ + The team is associated with selected organizations. + """ + SELECTED +} + """ An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations. """ @@ -36914,7 +37336,7 @@ enum PatchStatus @docsCategory(name: "pulls") { """ Types that can grant permissions on a repository to a user """ -union PermissionGranter @docsCategory(name: "orgs") = Organization | Repository | Team +union PermissionGranter @docsCategory(name: "orgs") = EnterpriseTeam | Organization | Repository | Team """ A level of permission and source for a user's access to a repository. @@ -56520,7 +56942,7 @@ input RequestReviewsInput { """ The Node IDs of the team to request. """ - teamIds: [ID!] @possibleTypes(concreteTypes: ["Team"], abstractType: "TeamReviewRequestable") + teamIds: [ID!] @possibleTypes(concreteTypes: ["EnterpriseTeam", "Team"], abstractType: "TeamReviewRequestable") """ Add users to the set rather than replace. @@ -56591,7 +57013,7 @@ enum RequestableCheckStatusState @docsCategory(name: "checks") { """ Types that can be requested reviewers. """ -union RequestedReviewer @docsCategory(name: "pulls") = Bot | Mannequin | Team | User +union RequestedReviewer @docsCategory(name: "pulls") = Bot | EnterpriseTeam | Mannequin | Team | User """ The connection type for RequestedReviewer. diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index bdcecff0a0d1..07c5fbcf19df 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -15167,6 +15167,7 @@ "id": "contentwarning", "href": "/graphql/reference/objects#contentwarning", "description": "

The content warning for a repository.

", + "isDeprecated": false, "fields": [ { "name": "category", @@ -20499,6 +20500,87 @@ "id": "html", "href": "/graphql/reference/scalars#html" }, + { + "name": "enterpriseTeam", + "description": "

Find an enterprise team by its slug.

", + "type": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam", + "arguments": [ + { + "name": "slug", + "description": "

The slug of the enterprise team to find.

", + "type": { + "name": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, + { + "name": "enterpriseTeams", + "description": "

A list of enterprise teams in this enterprise.

", + "type": "EnterpriseTeamConnection!", + "id": "enterpriseteamconnection", + "href": "/graphql/reference/objects#enterpriseteamconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for enterprise teams returned from the connection.

", + "type": { + "name": "EnterpriseTeamOrder", + "id": "enterpriseteamorder", + "href": "/graphql/reference/input-objects#enterpriseteamorder" + } + }, + { + "name": "query", + "description": "

The search string to look for.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, { "name": "id", "description": "

The Node ID of the Enterprise object.

", @@ -24650,6 +24732,416 @@ } ] }, + { + "name": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam", + "description": "

A team that belongs to an enterprise and can be assigned to multiple organizations.

", + "isDeprecated": false, + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + }, + { + "name": "TeamReviewRequestable", + "id": "teamreviewrequestable", + "href": "/graphql/reference/interfaces#teamreviewrequestable" + } + ], + "fields": [ + { + "name": "assignedOrganizations", + "description": "

Organizations this team is assigned to.

", + "type": "EnterpriseTeamAssignedOrganizationConnection!", + "id": "enterpriseteamassignedorganizationconnection", + "href": "/graphql/reference/objects#enterpriseteamassignedorganizationconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Ordering options for organizations returned from the connection.

", + "type": { + "name": "EnterpriseTeamOrganizationOrder", + "id": "enterpriseteamorganizationorder", + "href": "/graphql/reference/input-objects#enterpriseteamorganizationorder" + } + } + ] + }, + { + "name": "combinedSlug", + "description": "

The human-readable, unique identifier for the enterprise and team.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "description", + "description": "

The description of the team.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "enterprise", + "description": "

The enterprise this team belongs to.

", + "type": "Enterprise", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise" + }, + { + "name": "enterpriseTeamMembers", + "description": "

A list of users who are members of this enterprise team.

", + "type": "EnterpriseTeamMemberConnection!", + "id": "enterpriseteammemberconnection", + "href": "/graphql/reference/objects#enterpriseteammemberconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "orderBy", + "description": "

Order for the connection.

", + "type": { + "name": "EnterpriseTeamMemberOrder", + "id": "enterpriseteammemberorder", + "href": "/graphql/reference/input-objects#enterpriseteammemberorder" + } + }, + { + "name": "query", + "description": "

The search string to look for.

", + "type": { + "name": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, + { + "name": "fullDatabaseId", + "description": "

Identifies the primary key from the database as a BigInt.

", + "type": "BigInt", + "id": "bigint", + "href": "/graphql/reference/scalars#bigint" + }, + { + "name": "id", + "description": "

The Node ID of the EnterpriseTeam object.

", + "type": "ID!", + "id": "id", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "isViewerMember", + "description": "

Whether the viewer is a member of this team.

", + "type": "Boolean!", + "id": "boolean", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "name", + "description": "

The name of the team.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "notificationSetting", + "description": "

Whether the team will receive notifications when mentioned.

", + "type": "TeamNotificationSetting!", + "id": "teamnotificationsetting", + "href": "/graphql/reference/enums#teamnotificationsetting" + }, + { + "name": "organizationSelectionType", + "description": "

How this team selects its associated organizations.

", + "type": "EnterpriseTeamOrganizationSelectionType!", + "id": "enterpriseteamorganizationselectiontype", + "href": "/graphql/reference/enums#enterpriseteamorganizationselectiontype" + }, + { + "name": "privacy", + "description": "

The level of privacy the team has.

", + "type": "TeamPrivacy!", + "id": "teamprivacy", + "href": "/graphql/reference/enums#teamprivacy" + }, + { + "name": "slug", + "description": "

The slug corresponding to the team.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "updatedAt", + "description": "

Identifies the date and time when the object was last updated.

", + "type": "DateTime!", + "id": "datetime", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "viewerCanAdminister", + "description": "

Whether the viewer can administer this team.

", + "type": "Boolean!", + "id": "boolean", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, + { + "name": "EnterpriseTeamAssignedOrganizationConnection", + "id": "enterpriseteamassignedorganizationconnection", + "href": "/graphql/reference/objects#enterpriseteamassignedorganizationconnection", + "description": "

The connection type for Organization.

", + "fields": [ + { + "name": "edges", + "description": "

A list of edges.

", + "type": "[EnterpriseTeamAssignedOrganizationEdge]", + "id": "enterpriseteamassignedorganizationedge", + "href": "/graphql/reference/objects#enterpriseteamassignedorganizationedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[Organization]", + "id": "organization", + "href": "/graphql/reference/objects#organization" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "EnterpriseTeamAssignedOrganizationEdge", + "id": "enterpriseteamassignedorganizationedge", + "href": "/graphql/reference/objects#enterpriseteamassignedorganizationedge", + "description": "

Represents an organization that an enterprise team is assigned to.

", + "fields": [ + { + "name": "cursor", + "description": "

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "", + "type": "Organization", + "id": "organization", + "href": "/graphql/reference/objects#organization" + } + ] + }, + { + "name": "EnterpriseTeamConnection", + "id": "enterpriseteamconnection", + "href": "/graphql/reference/objects#enterpriseteamconnection", + "description": "

A list of enterprise teams owned by the enterprise.

", + "fields": [ + { + "name": "edges", + "description": "

A list of edges.

", + "type": "[EnterpriseTeamEdge]", + "id": "enterpriseteamedge", + "href": "/graphql/reference/objects#enterpriseteamedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[EnterpriseTeam]", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "EnterpriseTeamEdge", + "id": "enterpriseteamedge", + "href": "/graphql/reference/objects#enterpriseteamedge", + "description": "

An edge in a connection.

", + "fields": [ + { + "name": "cursor", + "description": "

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "

The item at the end of the edge.

", + "type": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam" + } + ] + }, + { + "name": "EnterpriseTeamMemberConnection", + "id": "enterpriseteammemberconnection", + "href": "/graphql/reference/objects#enterpriseteammemberconnection", + "description": "

The connection type for User.

", + "fields": [ + { + "name": "edges", + "description": "

A list of edges.

", + "type": "[EnterpriseTeamMemberEdge]", + "id": "enterpriseteammemberedge", + "href": "/graphql/reference/objects#enterpriseteammemberedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[User]", + "id": "user", + "href": "/graphql/reference/objects#user" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "EnterpriseTeamMemberEdge", + "id": "enterpriseteammemberedge", + "href": "/graphql/reference/objects#enterpriseteammemberedge", + "description": "

Represents a user who is a member of an enterprise team.

", + "fields": [ + { + "name": "cursor", + "description": "

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "", + "type": "User", + "id": "user", + "href": "/graphql/reference/objects#user" + } + ] + }, { "name": "EnterpriseUserAccount", "id": "enterpriseuseraccount", @@ -82406,6 +82898,90 @@ } ] }, + { + "name": "EnterpriseTeamMemberOrderField", + "id": "enterpriseteammemberorderfield", + "href": "/graphql/reference/enums#enterpriseteammemberorderfield", + "description": "

Properties by which enterprise team member connections can be ordered.

", + "isDeprecated": false, + "values": [ + { + "name": "CREATED_AT", + "description": "

Order enterprise team members by creation time.

" + }, + { + "name": "ID", + "description": "

Order enterprise team members by ID.

" + }, + { + "name": "LOGIN", + "description": "

Order enterprise team members by login.

" + } + ] + }, + { + "name": "EnterpriseTeamOrderField", + "id": "enterpriseteamorderfield", + "href": "/graphql/reference/enums#enterpriseteamorderfield", + "description": "

Properties by which enterprise team connections can be ordered.

", + "isDeprecated": false, + "values": [ + { + "name": "CREATED_AT", + "description": "

Order enterprise teams by creation time.

" + }, + { + "name": "ID", + "description": "

Order enterprise teams by ID.

" + }, + { + "name": "NAME", + "description": "

Order enterprise teams by name.

" + } + ] + }, + { + "name": "EnterpriseTeamOrganizationOrderField", + "id": "enterpriseteamorganizationorderfield", + "href": "/graphql/reference/enums#enterpriseteamorganizationorderfield", + "description": "

Properties by which enterprise team organization connections can be ordered.

", + "isDeprecated": false, + "values": [ + { + "name": "CREATED_AT", + "description": "

Order enterprise team organizations by creation time.

" + }, + { + "name": "ID", + "description": "

Order enterprise team organizations by ID.

" + }, + { + "name": "LOGIN", + "description": "

Order enterprise team organizations by login.

" + } + ] + }, + { + "name": "EnterpriseTeamOrganizationSelectionType", + "id": "enterpriseteamorganizationselectiontype", + "href": "/graphql/reference/enums#enterpriseteamorganizationselectiontype", + "description": "

The possible organization selection types for an enterprise team.

", + "isDeprecated": false, + "values": [ + { + "name": "ALL", + "description": "

The team is associated with all organizations in the enterprise.

" + }, + { + "name": "DISABLED", + "description": "

The team is not associated with any organizations.

" + }, + { + "name": "SELECTED", + "description": "

The team is associated with selected organizations.

" + } + ] + }, { "name": "EnterpriseUserAccountMembershipRole", "id": "enterpriseuseraccountmembershiprole", @@ -88636,6 +89212,11 @@ "id": "app", "href": "/graphql/reference/objects#app" }, + { + "name": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam" + }, { "name": "Team", "id": "team", @@ -89652,6 +90233,11 @@ "description": "

Types that can grant permissions on a repository to a user.

", "isDeprecated": false, "possibleTypes": [ + { + "name": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam" + }, { "name": "Organization", "id": "organization", @@ -90548,6 +91134,11 @@ "id": "bot", "href": "/graphql/reference/objects#bot" }, + { + "name": "EnterpriseTeam", + "id": "enterpriseteam", + "href": "/graphql/reference/objects#enterpriseteam" + }, { "name": "Mannequin", "id": "mannequin", @@ -96516,6 +97107,75 @@ } ] }, + { + "name": "EnterpriseTeamMemberOrder", + "id": "enterpriseteammemberorder", + "href": "/graphql/reference/input-objects#enterpriseteammemberorder", + "description": "

Ordering options for enterprise team member connections.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "direction", + "description": "

The ordering direction.

", + "type": "OrderDirection!", + "id": "orderdirection", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order enterprise team members by.

", + "type": "EnterpriseTeamMemberOrderField!", + "id": "enterpriseteammemberorderfield", + "href": "/graphql/reference/enums#enterpriseteammemberorderfield" + } + ] + }, + { + "name": "EnterpriseTeamOrder", + "id": "enterpriseteamorder", + "href": "/graphql/reference/input-objects#enterpriseteamorder", + "description": "

Ordering options for enterprise team connections.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "direction", + "description": "

The ordering direction.

", + "type": "OrderDirection!", + "id": "orderdirection", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order enterprise teams by.

", + "type": "EnterpriseTeamOrderField!", + "id": "enterpriseteamorderfield", + "href": "/graphql/reference/enums#enterpriseteamorderfield" + } + ] + }, + { + "name": "EnterpriseTeamOrganizationOrder", + "id": "enterpriseteamorganizationorder", + "href": "/graphql/reference/input-objects#enterpriseteamorganizationorder", + "description": "

Ordering options for enterprise team organization connections.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "direction", + "description": "

The ordering direction.

", + "type": "OrderDirection!", + "id": "orderdirection", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order organizations by.

", + "type": "EnterpriseTeamOrganizationOrderField!", + "id": "enterpriseteamorganizationorderfield", + "href": "/graphql/reference/enums#enterpriseteamorganizationorderfield" + } + ] + }, { "name": "Environments", "id": "environments",