diff --git a/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml b/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml index 1c49568e72..59026f49f2 100644 --- a/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml +++ b/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml @@ -172,51 +172,3 @@ upcoming_changes: date: '2023-04-01T00:00:00+00:00' criticality: breaking owner: jamestran201 - - location: MergeQueue.headOid - description: '`headOid` will be removed. Use `entry.headOid` instead.' - reason: '`headOid` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.mergeMethod - description: '`mergeMethod` will be removed. Use `configuration.merge_method` instead.' - reason: '`mergeMethod` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.mergingEntries - description: '`mergingEntries` will be removed.' - reason: '`mergingEntries` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.pendingRemovalEntries - description: '`pendingRemovalEntries` will be removed.' - reason: '`pendingRemovalEntries` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.blockedByMergeConflicts - description: '`blockedByMergeConflicts` will be removed. Use `state` instead.' - reason: '`blockedByMergeConflicts` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.checkStatus - description: '`checkStatus` will be removed. Use `state` instead.' - reason: '`checkStatus` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.hasJumpedQueue - description: '`hasJumpedQueue` will be removed. Use `jump` instead.' - reason: '`hasJumpedQueue` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.isSolo - description: '`isSolo` will be removed. Use `solo` instead.' - reason: '`isSolo` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue diff --git a/data/graphql/ghec/graphql_upcoming_changes.public.yml b/data/graphql/ghec/graphql_upcoming_changes.public.yml index a536e0a2a8..90b80b2813 100644 --- a/data/graphql/ghec/graphql_upcoming_changes.public.yml +++ b/data/graphql/ghec/graphql_upcoming_changes.public.yml @@ -192,51 +192,3 @@ upcoming_changes: date: '2023-04-01T00:00:00+00:00' criticality: breaking owner: jamestran201 - - location: MergeQueue.headOid - description: '`headOid` will be removed. Use `entry.headOid` instead.' - reason: '`headOid` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.mergeMethod - description: '`mergeMethod` will be removed. Use `configuration.merge_method` instead.' - reason: '`mergeMethod` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.mergingEntries - description: '`mergingEntries` will be removed.' - reason: '`mergingEntries` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.pendingRemovalEntries - description: '`pendingRemovalEntries` will be removed.' - reason: '`pendingRemovalEntries` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.blockedByMergeConflicts - description: '`blockedByMergeConflicts` will be removed. Use `state` instead.' - reason: '`blockedByMergeConflicts` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.checkStatus - description: '`checkStatus` will be removed. Use `state` instead.' - reason: '`checkStatus` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.hasJumpedQueue - description: '`hasJumpedQueue` will be removed. Use `jump` instead.' - reason: '`hasJumpedQueue` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.isSolo - description: '`isSolo` will be removed. Use `solo` instead.' - reason: '`isSolo` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index a1e7a05b2b..4d397c4700 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -20926,6 +20926,16 @@ type Mutation { input: RemoveEnterpriseIdentityProviderInput! ): RemoveEnterpriseIdentityProviderPayload + """ + Removes a user from all organizations within the enterprise + """ + removeEnterpriseMember( + """ + Parameters for RemoveEnterpriseMember + """ + input: RemoveEnterpriseMemberInput! + ): RemoveEnterpriseMemberPayload + """ Removes an organization from the enterprise """ @@ -36264,6 +36274,51 @@ type RemoveEnterpriseIdentityProviderPayload { identityProvider: EnterpriseIdentityProvider } +""" +Autogenerated input type of RemoveEnterpriseMember +""" +input RemoveEnterpriseMemberInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise from which the user should be removed. + """ + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) + + """ + The ID of the user to remove from the enterprise. + """ + userId: ID! @possibleTypes(concreteTypes: ["User"]) +} + +""" +Autogenerated return type of RemoveEnterpriseMember +""" +type RemoveEnterpriseMemberPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated enterprise. + """ + enterprise: Enterprise + + """ + The user that was removed from the enterprise. + """ + user: User + + """ + The viewer performing the mutation. + """ + viewer: User +} + """ Autogenerated input type of RemoveEnterpriseOrganization """ diff --git a/data/graphql/graphql_upcoming_changes.public.yml b/data/graphql/graphql_upcoming_changes.public.yml index a536e0a2a8..90b80b2813 100644 --- a/data/graphql/graphql_upcoming_changes.public.yml +++ b/data/graphql/graphql_upcoming_changes.public.yml @@ -192,51 +192,3 @@ upcoming_changes: date: '2023-04-01T00:00:00+00:00' criticality: breaking owner: jamestran201 - - location: MergeQueue.headOid - description: '`headOid` will be removed. Use `entry.headOid` instead.' - reason: '`headOid` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.mergeMethod - description: '`mergeMethod` will be removed. Use `configuration.merge_method` instead.' - reason: '`mergeMethod` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.mergingEntries - description: '`mergingEntries` will be removed.' - reason: '`mergingEntries` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueue.pendingRemovalEntries - description: '`pendingRemovalEntries` will be removed.' - reason: '`pendingRemovalEntries` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.blockedByMergeConflicts - description: '`blockedByMergeConflicts` will be removed. Use `state` instead.' - reason: '`blockedByMergeConflicts` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.checkStatus - description: '`checkStatus` will be removed. Use `state` instead.' - reason: '`checkStatus` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.hasJumpedQueue - description: '`hasJumpedQueue` will be removed. Use `jump` instead.' - reason: '`hasJumpedQueue` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue - - location: MergeQueueEntry.isSolo - description: '`isSolo` will be removed. Use `solo` instead.' - reason: '`isSolo` will be removed.' - date: '2023-07-01T00:00:00+00:00' - criticality: breaking - owner: github/merge_queue diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index a1e7a05b2b..4d397c4700 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -20926,6 +20926,16 @@ type Mutation { input: RemoveEnterpriseIdentityProviderInput! ): RemoveEnterpriseIdentityProviderPayload + """ + Removes a user from all organizations within the enterprise + """ + removeEnterpriseMember( + """ + Parameters for RemoveEnterpriseMember + """ + input: RemoveEnterpriseMemberInput! + ): RemoveEnterpriseMemberPayload + """ Removes an organization from the enterprise """ @@ -36264,6 +36274,51 @@ type RemoveEnterpriseIdentityProviderPayload { identityProvider: EnterpriseIdentityProvider } +""" +Autogenerated input type of RemoveEnterpriseMember +""" +input RemoveEnterpriseMemberInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise from which the user should be removed. + """ + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) + + """ + The ID of the user to remove from the enterprise. + """ + userId: ID! @possibleTypes(concreteTypes: ["User"]) +} + +""" +Autogenerated return type of RemoveEnterpriseMember +""" +type RemoveEnterpriseMemberPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated enterprise. + """ + enterprise: Enterprise + + """ + The user that was removed from the enterprise. + """ + user: User + + """ + The viewer performing the mutation. + """ + viewer: User +} + """ Autogenerated input type of RemoveEnterpriseOrganization """ diff --git a/lib/graphql/static/changelog.json b/lib/graphql/static/changelog.json index 55933e8e5d..3122fc52e0 100644 --- a/lib/graphql/static/changelog.json +++ b/lib/graphql/static/changelog.json @@ -1,4 +1,19 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Type RemoveEnterpriseMemberInput was added
Type RemoveEnterpriseMemberPayload was added
Field removeEnterpriseMember was added to object type Mutation
Removes a user from all organizations within the enterprise.
", + "inputFields": [ + { + "name": "input", + "type": "RemoveEnterpriseMemberInput!", + "id": "removeenterprisememberinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#removeenterprisememberinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "enterprise", + "type": "Enterprise", + "id": "enterprise", + "kind": "objects", + "href": "/graphql/reference/objects#enterprise", + "description": "The updated enterprise.
" + }, + { + "name": "user", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "The user that was removed from the enterprise.
" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "The viewer performing the mutation.
" + } + ] + }, { "name": "removeEnterpriseOrganization", "kind": "mutations", @@ -88123,6 +88173,41 @@ } ] }, + { + "name": "RemoveEnterpriseMemberInput", + "kind": "inputObjects", + "id": "removeenterprisememberinput", + "href": "/graphql/reference/input-objects#removeenterprisememberinput", + "description": "Autogenerated input type of RemoveEnterpriseMember.
", + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "enterpriseId", + "description": "The ID of the enterprise from which the user should be removed.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "userId", + "description": "The ID of the user to remove from the enterprise.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "RemoveEnterpriseOrganizationInput", "kind": "inputObjects", diff --git a/lib/graphql/static/schema-ghec.json b/lib/graphql/static/schema-ghec.json index c1c6a4b116..611faa6ee8 100644 --- a/lib/graphql/static/schema-ghec.json +++ b/lib/graphql/static/schema-ghec.json @@ -4944,6 +4944,56 @@ } ] }, + { + "name": "removeEnterpriseMember", + "kind": "mutations", + "id": "removeenterprisemember", + "href": "/graphql/reference/mutations#removeenterprisemember", + "description": "Removes a user from all organizations within the enterprise.
", + "inputFields": [ + { + "name": "input", + "type": "RemoveEnterpriseMemberInput!", + "id": "removeenterprisememberinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#removeenterprisememberinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "A unique identifier for the client performing the mutation.
" + }, + { + "name": "enterprise", + "type": "Enterprise", + "id": "enterprise", + "kind": "objects", + "href": "/graphql/reference/objects#enterprise", + "description": "The updated enterprise.
" + }, + { + "name": "user", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "The user that was removed from the enterprise.
" + }, + { + "name": "viewer", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user", + "description": "The viewer performing the mutation.
" + } + ] + }, { "name": "removeEnterpriseOrganization", "kind": "mutations", @@ -88123,6 +88173,41 @@ } ] }, + { + "name": "RemoveEnterpriseMemberInput", + "kind": "inputObjects", + "id": "removeenterprisememberinput", + "href": "/graphql/reference/input-objects#removeenterprisememberinput", + "description": "Autogenerated input type of RemoveEnterpriseMember.
", + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.
", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "enterpriseId", + "description": "The ID of the enterprise from which the user should be removed.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "userId", + "description": "The ID of the user to remove from the enterprise.
", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "RemoveEnterpriseOrganizationInput", "kind": "inputObjects", diff --git a/lib/graphql/static/upcoming-changes.json b/lib/graphql/static/upcoming-changes.json index 92301b5187..f0bb6cc023 100644 --- a/lib/graphql/static/upcoming-changes.json +++ b/lib/graphql/static/upcoming-changes.json @@ -1,71 +1,5 @@ { "dotcom": { - "2023-07-01": [ - { - "location": "MergeQueueEntry.isSolo", - "description": "isSolo will be removed. Use solo instead.
isSolo will be removed.
hasJumpedQueue will be removed. Use jump instead.
hasJumpedQueue will be removed.
checkStatus will be removed. Use state instead.
checkStatus will be removed.
blockedByMergeConflicts will be removed. Use state instead.
blockedByMergeConflicts will be removed.
pendingRemovalEntries will be removed.
pendingRemovalEntries will be removed.
mergingEntries will be removed.
mergingEntries will be removed.
mergeMethod will be removed. Use configuration.merge_method instead.
mergeMethod will be removed.
headOid will be removed. Use entry.headOid instead.
headOid will be removed.
isSolo will be removed. Use solo instead.
isSolo will be removed.
hasJumpedQueue will be removed. Use jump instead.
hasJumpedQueue will be removed.
checkStatus will be removed. Use state instead.
checkStatus will be removed.
blockedByMergeConflicts will be removed. Use state instead.
blockedByMergeConflicts will be removed.
pendingRemovalEntries will be removed.
pendingRemovalEntries will be removed.
mergingEntries will be removed.
mergingEntries will be removed.
mergeMethod will be removed. Use configuration.merge_method instead.
mergeMethod will be removed.
headOid will be removed. Use entry.headOid instead.
headOid will be removed.
isSolo will be removed. Use solo instead.
isSolo will be removed.
hasJumpedQueue will be removed. Use jump instead.
hasJumpedQueue will be removed.
checkStatus will be removed. Use state instead.
checkStatus will be removed.
blockedByMergeConflicts will be removed. Use state instead.
blockedByMergeConflicts will be removed.
pendingRemovalEntries will be removed.
pendingRemovalEntries will be removed.
mergingEntries will be removed.
mergingEntries will be removed.
mergeMethod will be removed. Use configuration.merge_method instead.
mergeMethod will be removed.
headOid will be removed. Use entry.headOid instead.
headOid will be removed.