From 578f6b821477948c74bac953bcdadb6e4a2f9fdb Mon Sep 17 00:00:00 2001 From: Octomerger Bot <63058869+Octomerger@users.noreply.github.com> Date: Tue, 31 Jan 2023 18:56:35 -0800 Subject: [PATCH] GraphQL schema update (#34268) Co-authored-by: rachmari Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com> --- data/graphql/ghae/schema.docs-ghae.graphql | 159 ++++++++++++- data/graphql/ghec/schema.docs.graphql | 159 ++++++++++++- data/graphql/schema.docs.graphql | 159 ++++++++++++- lib/graphql/static/changelog.json | 27 +++ lib/graphql/static/schema-dotcom.json | 264 +++++++++++++++++++++ lib/graphql/static/schema-ghae.json | 264 +++++++++++++++++++++ lib/graphql/static/schema-ghec.json | 264 +++++++++++++++++++++ 7 files changed, 1290 insertions(+), 6 deletions(-) diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index a7fc3758f1e0..f3636351dc9c 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -814,6 +814,26 @@ type AddedToProjectEvent implements Node { projectColumnName: String! @preview(toggledBy: "starfox-preview") } +""" +Represents an announcement banner. +""" +interface AnnouncementBanner { + """ + The text of the announcement + """ + announcement: String + + """ + The expiration date of the announcement, if any + """ + announcementExpiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + announcementUserDismissible: Boolean +} + """ A GitHub App. """ @@ -9999,7 +10019,22 @@ type EnablePullRequestAutoMergePayload { """ An account to manage multiple organizations with consolidated policy and billing. """ -type Enterprise implements Node { +type Enterprise implements AnnouncementBanner & Node { + """ + The text of the announcement + """ + announcement: String + + """ + The expiration date of the announcement, if any + """ + announcementExpiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + announcementUserDismissible: Boolean + """ A URL pointing to the enterprise's public avatar. """ @@ -10509,6 +10544,51 @@ enum EnterpriseEnabledSettingValue { NO_POLICY } +""" +The connection type for OrganizationInvitation. +""" +type EnterpriseFailedInvitationConnection { + """ + A list of edges. + """ + edges: [EnterpriseFailedInvitationEdge] + + """ + A list of nodes. + """ + nodes: [OrganizationInvitation] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! + + """ + Identifies the total count of unique users in the connection. + """ + totalUniqueUserCount: Int! +} + +""" +A failed invitation to be a member in an enterprise organization. +""" +type EnterpriseFailedInvitationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: OrganizationInvitation +} + """ An identity provider configured to provision identities for an enterprise. """ @@ -10994,6 +11074,36 @@ type EnterpriseOwnerInfo { value: DefaultRepositoryPermissionField! ): OrganizationConnection! + """ + A list of failed invitations in the enterprise. + """ + failedInvitations( + """ + 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 + + """ + The search string to look for. + """ + query: String + ): EnterpriseFailedInvitationConnection! + """ The setting value for whether the enterprise has an IP allow list enabled. """ @@ -11534,6 +11644,11 @@ type EnterpriseOwnerInfo { """ first: Int + """ + Only return invitations matching this invitation source + """ + invitationSource: OrganizationInvitationSource + """ Returns the last _n_ elements from the list. """ @@ -22585,7 +22700,22 @@ type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEnt """ An account on GitHub, with one or more owners, that has repositories, members and teams. """ -type Organization implements Actor & MemberStatusable & Node & ProfileOwner & ProjectOwner & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & UniformResourceLocatable { +type Organization implements Actor & AnnouncementBanner & MemberStatusable & Node & ProfileOwner & ProjectOwner & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & UniformResourceLocatable { + """ + The text of the announcement + """ + announcement: String + + """ + The expiration date of the announcement, if any + """ + announcementExpiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + announcementUserDismissible: Boolean + """ Determine if this repository owner has any items that can be pinned to their profile. """ @@ -23674,6 +23804,11 @@ type OrganizationInvitation implements Node { email: String id: ID! + """ + The source of the invitation. + """ + invitationSource: OrganizationInvitationSource! + """ The type of invitation that was sent (e.g. email, user). """ @@ -23765,6 +23900,26 @@ enum OrganizationInvitationRole { REINSTATE } +""" +The possible organization invitation sources. +""" +enum 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. """ diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 4d397c47009a..8727c69739a6 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -1015,6 +1015,26 @@ type AddedToProjectEvent implements Node { projectColumnName: String! @preview(toggledBy: "starfox-preview") } +""" +Represents an announcement banner. +""" +interface AnnouncementBanner { + """ + The text of the announcement + """ + announcement: String + + """ + The expiration date of the announcement, if any + """ + announcementExpiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + announcementUserDismissible: Boolean +} + """ A GitHub App. """ @@ -11138,7 +11158,22 @@ type EnablePullRequestAutoMergePayload { """ An account to manage multiple organizations with consolidated policy and billing. """ -type Enterprise implements Node { +type Enterprise implements AnnouncementBanner & Node { + """ + The text of the announcement + """ + announcement: String + + """ + The expiration date of the announcement, if any + """ + announcementExpiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + announcementUserDismissible: Boolean + """ A URL pointing to the enterprise's public avatar. """ @@ -11648,6 +11683,51 @@ enum EnterpriseEnabledSettingValue { NO_POLICY } +""" +The connection type for OrganizationInvitation. +""" +type EnterpriseFailedInvitationConnection { + """ + A list of edges. + """ + edges: [EnterpriseFailedInvitationEdge] + + """ + A list of nodes. + """ + nodes: [OrganizationInvitation] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! + + """ + Identifies the total count of unique users in the connection. + """ + totalUniqueUserCount: Int! +} + +""" +A failed invitation to be a member in an enterprise organization. +""" +type EnterpriseFailedInvitationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: OrganizationInvitation +} + """ An identity provider configured to provision identities for an enterprise. """ @@ -12208,6 +12288,36 @@ type EnterpriseOwnerInfo { orderBy: EnterpriseServerInstallationOrder = {field: HOST_NAME, direction: ASC} ): EnterpriseServerInstallationConnection! + """ + A list of failed invitations in the enterprise. + """ + failedInvitations( + """ + 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 + + """ + The search string to look for. + """ + query: String + ): EnterpriseFailedInvitationConnection! + """ The setting value for whether the enterprise has an IP allow list enabled. """ @@ -12758,6 +12868,11 @@ type EnterpriseOwnerInfo { """ first: Int + """ + Only return invitations matching this invitation source + """ + invitationSource: OrganizationInvitationSource + """ Returns the last _n_ elements from the list. """ @@ -25208,7 +25323,22 @@ type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEnt """ An account on GitHub, with one or more owners, that has repositories, members and teams. """ -type Organization implements Actor & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { +type Organization implements Actor & AnnouncementBanner & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { + """ + The text of the announcement + """ + announcement: String + + """ + The expiration date of the announcement, if any + """ + announcementExpiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + announcementUserDismissible: Boolean + """ Determine if this repository owner has any items that can be pinned to their profile. """ @@ -26796,6 +26926,11 @@ type OrganizationInvitation implements Node { email: String id: ID! + """ + The source of the invitation. + """ + invitationSource: OrganizationInvitationSource! + """ The type of invitation that was sent (e.g. email, user). """ @@ -26887,6 +27022,26 @@ enum OrganizationInvitationRole { REINSTATE } +""" +The possible organization invitation sources. +""" +enum 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. """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 4d397c47009a..8727c69739a6 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -1015,6 +1015,26 @@ type AddedToProjectEvent implements Node { projectColumnName: String! @preview(toggledBy: "starfox-preview") } +""" +Represents an announcement banner. +""" +interface AnnouncementBanner { + """ + The text of the announcement + """ + announcement: String + + """ + The expiration date of the announcement, if any + """ + announcementExpiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + announcementUserDismissible: Boolean +} + """ A GitHub App. """ @@ -11138,7 +11158,22 @@ type EnablePullRequestAutoMergePayload { """ An account to manage multiple organizations with consolidated policy and billing. """ -type Enterprise implements Node { +type Enterprise implements AnnouncementBanner & Node { + """ + The text of the announcement + """ + announcement: String + + """ + The expiration date of the announcement, if any + """ + announcementExpiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + announcementUserDismissible: Boolean + """ A URL pointing to the enterprise's public avatar. """ @@ -11648,6 +11683,51 @@ enum EnterpriseEnabledSettingValue { NO_POLICY } +""" +The connection type for OrganizationInvitation. +""" +type EnterpriseFailedInvitationConnection { + """ + A list of edges. + """ + edges: [EnterpriseFailedInvitationEdge] + + """ + A list of nodes. + """ + nodes: [OrganizationInvitation] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! + + """ + Identifies the total count of unique users in the connection. + """ + totalUniqueUserCount: Int! +} + +""" +A failed invitation to be a member in an enterprise organization. +""" +type EnterpriseFailedInvitationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: OrganizationInvitation +} + """ An identity provider configured to provision identities for an enterprise. """ @@ -12208,6 +12288,36 @@ type EnterpriseOwnerInfo { orderBy: EnterpriseServerInstallationOrder = {field: HOST_NAME, direction: ASC} ): EnterpriseServerInstallationConnection! + """ + A list of failed invitations in the enterprise. + """ + failedInvitations( + """ + 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 + + """ + The search string to look for. + """ + query: String + ): EnterpriseFailedInvitationConnection! + """ The setting value for whether the enterprise has an IP allow list enabled. """ @@ -12758,6 +12868,11 @@ type EnterpriseOwnerInfo { """ first: Int + """ + Only return invitations matching this invitation source + """ + invitationSource: OrganizationInvitationSource + """ Returns the last _n_ elements from the list. """ @@ -25208,7 +25323,22 @@ type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEnt """ An account on GitHub, with one or more owners, that has repositories, members and teams. """ -type Organization implements Actor & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { +type Organization implements Actor & AnnouncementBanner & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { + """ + The text of the announcement + """ + announcement: String + + """ + The expiration date of the announcement, if any + """ + announcementExpiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + announcementUserDismissible: Boolean + """ Determine if this repository owner has any items that can be pinned to their profile. """ @@ -26796,6 +26926,11 @@ type OrganizationInvitation implements Node { email: String id: ID! + """ + The source of the invitation. + """ + invitationSource: OrganizationInvitationSource! + """ The type of invitation that was sent (e.g. email, user). """ @@ -26887,6 +27022,26 @@ enum OrganizationInvitationRole { REINSTATE } +""" +The possible organization invitation sources. +""" +enum 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. """ diff --git a/lib/graphql/static/changelog.json b/lib/graphql/static/changelog.json index 3122fc52e0cb..189efa4bcc4c 100644 --- a/lib/graphql/static/changelog.json +++ b/lib/graphql/static/changelog.json @@ -1,4 +1,31 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type AnnouncementBanner was added

", + "

Type EnterpriseFailedInvitationConnection was added

", + "

Type EnterpriseFailedInvitationEdge was added

", + "

Type OrganizationInvitationSource was added

", + "

Enterprise object implements AnnouncementBanner interface

", + "

Field announcement was added to object type Enterprise

", + "

Field announcementExpiresAt was added to object type Enterprise

", + "

Field announcementUserDismissible was added to object type Enterprise

", + "

Field failedInvitations was added to object type EnterpriseOwnerInfo

", + "

Argument invitationSource: OrganizationInvitationSource added to field EnterpriseOwnerInfo.pendingMemberInvitations

", + "

Organization object implements AnnouncementBanner interface

", + "

Field announcement was added to object type Organization

", + "

Field announcementExpiresAt was added to object type Organization

", + "

Field announcementUserDismissible was added to object type Organization

", + "

Field invitationSource was added to object type OrganizationInvitation

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2023-01-31" + }, { "schemaChanges": [ { diff --git a/lib/graphql/static/schema-dotcom.json b/lib/graphql/static/schema-dotcom.json index 611faa6ee8bc..f2039df939ed 100644 --- a/lib/graphql/static/schema-dotcom.json +++ b/lib/graphql/static/schema-dotcom.json @@ -19327,6 +19327,11 @@ "href": "/graphql/reference/objects#enterprise", "description": "

An account to manage multiple organizations with consolidated policy and billing.

", "implements": [ + { + "name": "AnnouncementBanner", + "id": "announcementbanner", + "href": "/graphql/reference/interfaces#announcementbanner" + }, { "name": "Node", "id": "node", @@ -19334,6 +19339,30 @@ } ], "fields": [ + { + "name": "announcement", + "description": "

The text of the announcement.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

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

A URL pointing to the enterprise's public avatar.

", @@ -19943,6 +19972,80 @@ } ] }, + { + "name": "EnterpriseFailedInvitationConnection", + "kind": "objects", + "id": "enterprisefailedinvitationconnection", + "href": "/graphql/reference/objects#enterprisefailedinvitationconnection", + "description": "

The connection type for OrganizationInvitation.

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

A list of edges.

", + "type": "[EnterpriseFailedInvitationEdge]", + "id": "enterprisefailedinvitationedge", + "kind": "objects", + "href": "/graphql/reference/objects#enterprisefailedinvitationedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[OrganizationInvitation]", + "id": "organizationinvitation", + "kind": "objects", + "href": "/graphql/reference/objects#organizationinvitation" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

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

Identifies the total count of items in the connection.

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

Identifies the total count of unique users in the connection.

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

A failed invitation to be a member in an enterprise organization.

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

A cursor for use in pagination.

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

The item at the end of the edge.

", + "type": "OrganizationInvitation", + "id": "organizationinvitation", + "kind": "objects", + "href": "/graphql/reference/objects#organizationinvitation" + } + ] + }, { "name": "EnterpriseIdentityProvider", "kind": "objects", @@ -20841,6 +20944,66 @@ } ] }, + { + "name": "failedInvitations", + "description": "

A list of failed invitations in the enterprise.

", + "type": "EnterpriseFailedInvitationConnection!", + "id": "enterprisefailedinvitationconnection", + "kind": "objects", + "href": "/graphql/reference/objects#enterprisefailedinvitationconnection", + "arguments": [ + { + "name": "after", + "description": "

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

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "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", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

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

Returns the last n elements from the list.

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

The search string to look for.

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

The setting value for whether the enterprise has an IP allow list enabled.

", @@ -21903,6 +22066,16 @@ "href": "/graphql/reference/scalars#int" } }, + { + "name": "invitationSource", + "description": "

Only return invitations matching this invitation source.

", + "type": { + "name": "OrganizationInvitationSource", + "id": "organizationinvitationsource", + "kind": "enums", + "href": "/graphql/reference/enums#organizationinvitationsource" + } + }, { "name": "last", "description": "

Returns the last n elements from the list.

", @@ -35556,6 +35729,11 @@ "id": "actor", "href": "/graphql/reference/interfaces#actor" }, + { + "name": "AnnouncementBanner", + "id": "announcementbanner", + "href": "/graphql/reference/interfaces#announcementbanner" + }, { "name": "MemberStatusable", "id": "memberstatusable", @@ -35618,6 +35796,30 @@ } ], "fields": [ + { + "name": "announcement", + "description": "

The text of the announcement.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

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

Determine if this repository owner has any items that can be pinned to their profile.

", @@ -38440,6 +38642,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "invitationSource", + "description": "

The source of the invitation.

", + "type": "OrganizationInvitationSource!", + "id": "organizationinvitationsource", + "kind": "enums", + "href": "/graphql/reference/enums#organizationinvitationsource" + }, { "name": "invitationType", "description": "

The type of invitation that was sent (e.g. email, user).

", @@ -70627,6 +70837,39 @@ } ] }, + { + "name": "AnnouncementBanner", + "kind": "interfaces", + "id": "announcementbanner", + "href": "/graphql/reference/interfaces#announcementbanner", + "description": "

Represents an announcement banner.

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

The text of the announcement.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "Assignable", "kind": "interfaces", @@ -76177,6 +76420,27 @@ } ] }, + { + "name": "OrganizationInvitationSource", + "kind": "enums", + "id": "organizationinvitationsource", + "href": "/graphql/reference/enums#organizationinvitationsource", + "description": "

The possible organization invitation sources.

", + "values": [ + { + "name": "MEMBER", + "description": "

The invitation was created from the web interface or from API.

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

The invitation was created from SCIM.

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

The invitation was sent before this feature was added.

" + } + ] + }, { "name": "OrganizationInvitationType", "kind": "enums", diff --git a/lib/graphql/static/schema-ghae.json b/lib/graphql/static/schema-ghae.json index 421dd42b8ba0..89f1786398a1 100644 --- a/lib/graphql/static/schema-ghae.json +++ b/lib/graphql/static/schema-ghae.json @@ -16962,6 +16962,11 @@ "href": "/graphql/reference/objects#enterprise", "description": "

An account to manage multiple organizations with consolidated policy and billing.

", "implements": [ + { + "name": "AnnouncementBanner", + "id": "announcementbanner", + "href": "/graphql/reference/interfaces#announcementbanner" + }, { "name": "Node", "id": "node", @@ -16969,6 +16974,30 @@ } ], "fields": [ + { + "name": "announcement", + "description": "

The text of the announcement.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

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

A URL pointing to the enterprise's public avatar.

", @@ -17578,6 +17607,80 @@ } ] }, + { + "name": "EnterpriseFailedInvitationConnection", + "kind": "objects", + "id": "enterprisefailedinvitationconnection", + "href": "/graphql/reference/objects#enterprisefailedinvitationconnection", + "description": "

The connection type for OrganizationInvitation.

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

A list of edges.

", + "type": "[EnterpriseFailedInvitationEdge]", + "id": "enterprisefailedinvitationedge", + "kind": "objects", + "href": "/graphql/reference/objects#enterprisefailedinvitationedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[OrganizationInvitation]", + "id": "organizationinvitation", + "kind": "objects", + "href": "/graphql/reference/objects#organizationinvitation" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

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

Identifies the total count of items in the connection.

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

Identifies the total count of unique users in the connection.

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

A failed invitation to be a member in an enterprise organization.

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

A cursor for use in pagination.

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

The item at the end of the edge.

", + "type": "OrganizationInvitation", + "id": "organizationinvitation", + "kind": "objects", + "href": "/graphql/reference/objects#organizationinvitation" + } + ] + }, { "name": "EnterpriseIdentityProvider", "kind": "objects", @@ -18325,6 +18428,66 @@ } ] }, + { + "name": "failedInvitations", + "description": "

A list of failed invitations in the enterprise.

", + "type": "EnterpriseFailedInvitationConnection!", + "id": "enterprisefailedinvitationconnection", + "kind": "objects", + "href": "/graphql/reference/objects#enterprisefailedinvitationconnection", + "arguments": [ + { + "name": "after", + "description": "

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

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "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", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

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

Returns the last n elements from the list.

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

The search string to look for.

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

The setting value for whether the enterprise has an IP allow list enabled.

", @@ -19371,6 +19534,16 @@ "href": "/graphql/reference/scalars#int" } }, + { + "name": "invitationSource", + "description": "

Only return invitations matching this invitation source.

", + "type": { + "name": "OrganizationInvitationSource", + "id": "organizationinvitationsource", + "kind": "enums", + "href": "/graphql/reference/enums#organizationinvitationsource" + } + }, { "name": "last", "description": "

Returns the last n elements from the list.

", @@ -31830,6 +32003,11 @@ "id": "actor", "href": "/graphql/reference/interfaces#actor" }, + { + "name": "AnnouncementBanner", + "id": "announcementbanner", + "href": "/graphql/reference/interfaces#announcementbanner" + }, { "name": "MemberStatusable", "id": "memberstatusable", @@ -31872,6 +32050,30 @@ } ], "fields": [ + { + "name": "announcement", + "description": "

The text of the announcement.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

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

Determine if this repository owner has any items that can be pinned to their profile.

", @@ -33737,6 +33939,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "invitationSource", + "description": "

The source of the invitation.

", + "type": "OrganizationInvitationSource!", + "id": "organizationinvitationsource", + "kind": "enums", + "href": "/graphql/reference/enums#organizationinvitationsource" + }, { "name": "invitationType", "description": "

The type of invitation that was sent (e.g. email, user).

", @@ -59432,6 +59642,39 @@ } ] }, + { + "name": "AnnouncementBanner", + "kind": "interfaces", + "id": "announcementbanner", + "href": "/graphql/reference/interfaces#announcementbanner", + "description": "

Represents an announcement banner.

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

The text of the announcement.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "Assignable", "kind": "interfaces", @@ -63813,6 +64056,27 @@ } ] }, + { + "name": "OrganizationInvitationSource", + "kind": "enums", + "id": "organizationinvitationsource", + "href": "/graphql/reference/enums#organizationinvitationsource", + "description": "

The possible organization invitation sources.

", + "values": [ + { + "name": "MEMBER", + "description": "

The invitation was created from the web interface or from API.

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

The invitation was created from SCIM.

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

The invitation was sent before this feature was added.

" + } + ] + }, { "name": "OrganizationInvitationType", "kind": "enums", diff --git a/lib/graphql/static/schema-ghec.json b/lib/graphql/static/schema-ghec.json index 611faa6ee8bc..f2039df939ed 100644 --- a/lib/graphql/static/schema-ghec.json +++ b/lib/graphql/static/schema-ghec.json @@ -19327,6 +19327,11 @@ "href": "/graphql/reference/objects#enterprise", "description": "

An account to manage multiple organizations with consolidated policy and billing.

", "implements": [ + { + "name": "AnnouncementBanner", + "id": "announcementbanner", + "href": "/graphql/reference/interfaces#announcementbanner" + }, { "name": "Node", "id": "node", @@ -19334,6 +19339,30 @@ } ], "fields": [ + { + "name": "announcement", + "description": "

The text of the announcement.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

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

A URL pointing to the enterprise's public avatar.

", @@ -19943,6 +19972,80 @@ } ] }, + { + "name": "EnterpriseFailedInvitationConnection", + "kind": "objects", + "id": "enterprisefailedinvitationconnection", + "href": "/graphql/reference/objects#enterprisefailedinvitationconnection", + "description": "

The connection type for OrganizationInvitation.

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

A list of edges.

", + "type": "[EnterpriseFailedInvitationEdge]", + "id": "enterprisefailedinvitationedge", + "kind": "objects", + "href": "/graphql/reference/objects#enterprisefailedinvitationedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[OrganizationInvitation]", + "id": "organizationinvitation", + "kind": "objects", + "href": "/graphql/reference/objects#organizationinvitation" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

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

Identifies the total count of items in the connection.

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

Identifies the total count of unique users in the connection.

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

A failed invitation to be a member in an enterprise organization.

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

A cursor for use in pagination.

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

The item at the end of the edge.

", + "type": "OrganizationInvitation", + "id": "organizationinvitation", + "kind": "objects", + "href": "/graphql/reference/objects#organizationinvitation" + } + ] + }, { "name": "EnterpriseIdentityProvider", "kind": "objects", @@ -20841,6 +20944,66 @@ } ] }, + { + "name": "failedInvitations", + "description": "

A list of failed invitations in the enterprise.

", + "type": "EnterpriseFailedInvitationConnection!", + "id": "enterprisefailedinvitationconnection", + "kind": "objects", + "href": "/graphql/reference/objects#enterprisefailedinvitationconnection", + "arguments": [ + { + "name": "after", + "description": "

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

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "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", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

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

Returns the last n elements from the list.

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

The search string to look for.

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

The setting value for whether the enterprise has an IP allow list enabled.

", @@ -21903,6 +22066,16 @@ "href": "/graphql/reference/scalars#int" } }, + { + "name": "invitationSource", + "description": "

Only return invitations matching this invitation source.

", + "type": { + "name": "OrganizationInvitationSource", + "id": "organizationinvitationsource", + "kind": "enums", + "href": "/graphql/reference/enums#organizationinvitationsource" + } + }, { "name": "last", "description": "

Returns the last n elements from the list.

", @@ -35556,6 +35729,11 @@ "id": "actor", "href": "/graphql/reference/interfaces#actor" }, + { + "name": "AnnouncementBanner", + "id": "announcementbanner", + "href": "/graphql/reference/interfaces#announcementbanner" + }, { "name": "MemberStatusable", "id": "memberstatusable", @@ -35618,6 +35796,30 @@ } ], "fields": [ + { + "name": "announcement", + "description": "

The text of the announcement.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

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

Determine if this repository owner has any items that can be pinned to their profile.

", @@ -38440,6 +38642,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "invitationSource", + "description": "

The source of the invitation.

", + "type": "OrganizationInvitationSource!", + "id": "organizationinvitationsource", + "kind": "enums", + "href": "/graphql/reference/enums#organizationinvitationsource" + }, { "name": "invitationType", "description": "

The type of invitation that was sent (e.g. email, user).

", @@ -70627,6 +70837,39 @@ } ] }, + { + "name": "AnnouncementBanner", + "kind": "interfaces", + "id": "announcementbanner", + "href": "/graphql/reference/interfaces#announcementbanner", + "description": "

Represents an announcement banner.

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

The text of the announcement.

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

The expiration date of the announcement, if any.

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

Whether the announcement can be dismissed by the user.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "Assignable", "kind": "interfaces", @@ -76177,6 +76420,27 @@ } ] }, + { + "name": "OrganizationInvitationSource", + "kind": "enums", + "id": "organizationinvitationsource", + "href": "/graphql/reference/enums#organizationinvitationsource", + "description": "

The possible organization invitation sources.

", + "values": [ + { + "name": "MEMBER", + "description": "

The invitation was created from the web interface or from API.

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

The invitation was created from SCIM.

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

The invitation was sent before this feature was added.

" + } + ] + }, { "name": "OrganizationInvitationType", "kind": "enums",