# Other

Documentation de référence sur les types de schéma GraphQL dans la catégorie Other.

## addEnterpriseAdmin - mutation

Adds an administrator to the global enterprise account.

### Input fields for `addEnterpriseAdmin`

* `input` (AddEnterpriseAdminInput!): 

### Return fields for `addEnterpriseAdmin`

* `admin` (User): The user who was added as an administrator.
* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `enterprise` (Enterprise): The updated enterprise.
* `role` (EnterpriseAdministratorRole): The role of the administrator.
* `viewer` (User): The viewer performing the mutation.

## AddEnterpriseAdminInput - input object

Autogenerated input type of AddEnterpriseAdmin.

### Input fields for `AddEnterpriseAdminInput`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `enterpriseId` (ID!): The ID of the enterprise account to which the administrator should be added.
* `login` (String!): The login of the user to add as an administrator.

## Base64String - scalar

A (potentially binary) string encoded using base64.

## BigInt - scalar

Represents non-fractional signed whole numeric values. Since the value may
exceed the size of a 32-bit integer, it's encoded as a string.

## Boolean - scalar

Represents true or false values.

## createTeamDiscussion - mutation

Creates a new team discussion.

### Input fields for `createTeamDiscussion`

* `input` (CreateTeamDiscussionInput!): 

### Return fields for `createTeamDiscussion`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `teamDiscussion` (TeamDiscussion): The new discussion. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

## createTeamDiscussionComment - mutation

Creates a new team discussion comment.

### Input fields for `createTeamDiscussionComment`

* `input` (CreateTeamDiscussionCommentInput!): 

### Return fields for `createTeamDiscussionComment`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `teamDiscussionComment` (TeamDiscussionComment): The new comment. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

## CreateTeamDiscussionCommentInput - input object

Autogenerated input type of CreateTeamDiscussionComment.

### Input fields for `CreateTeamDiscussionCommentInput`

* `body` (String): The content of the comment. This field is required.
Upcoming Change on 2024-07-01 UTC
Description: body will be removed. Follow the guide at
https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
find a suitable replacement.
Reason: The Team Discussions feature is deprecated in favor of Organization Discussions.
* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `discussionId` (ID): The ID of the discussion to which the comment belongs. This field is required.
Upcoming Change on 2024-07-01 UTC
Description: discussionId will be removed. Follow the guide at
https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
find a suitable replacement.
Reason: The Team Discussions feature is deprecated in favor of Organization Discussions.

## CreateTeamDiscussionInput - input object

Autogenerated input type of CreateTeamDiscussion.

### Input fields for `CreateTeamDiscussionInput`

* `body` (String): The content of the discussion. This field is required.
Upcoming Change on 2024-07-01 UTC
Description: body will be removed. Follow the guide at
https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
find a suitable replacement.
Reason: The Team Discussions feature is deprecated in favor of Organization Discussions.
* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `private` (Boolean): If true, restricts the visibility of this discussion to team members and
organization owners. If false or not specified, allows any organization member
to view this discussion.
Upcoming Change on 2024-07-01 UTC
Description: private will be removed. Follow the guide at
https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
find a suitable replacement.
Reason: The Team Discussions feature is deprecated in favor of Organization Discussions.
* `teamId` (ID): The ID of the team to which the discussion belongs. This field is required.
Upcoming Change on 2024-07-01 UTC
Description: teamId will be removed. Follow the guide at
https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
find a suitable replacement.
Reason: The Team Discussions feature is deprecated in favor of Organization Discussions.
* `title` (String): The title of the discussion. This field is required.
Upcoming Change on 2024-07-01 UTC
Description: title will be removed. Follow the guide at
https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
find a suitable replacement.
Reason: The Team Discussions feature is deprecated in favor of Organization Discussions.

## Date - scalar

An ISO-8601 encoded date string.

## DateTime - scalar

An ISO-8601 encoded UTC date string.

## deleteTeamDiscussion - mutation

Deletes a team discussion.

### Input fields for `deleteTeamDiscussion`

* `input` (DeleteTeamDiscussionInput!): 

### Return fields for `deleteTeamDiscussion`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.

## deleteTeamDiscussionComment - mutation

Deletes a team discussion comment.

### Input fields for `deleteTeamDiscussionComment`

* `input` (DeleteTeamDiscussionCommentInput!): 

### Return fields for `deleteTeamDiscussionComment`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.

## DeleteTeamDiscussionCommentInput - input object

Autogenerated input type of DeleteTeamDiscussionComment.

### Input fields for `DeleteTeamDiscussionCommentInput`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `id` (ID!): The ID of the comment to delete.

## DeleteTeamDiscussionInput - input object

Autogenerated input type of DeleteTeamDiscussion.

### Input fields for `DeleteTeamDiscussionInput`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `id` (ID!): The discussion ID to delete.

## Float - scalar

Represents signed double-precision fractional values as specified by IEEE 754.

## GitObjectID - scalar

A Git object ID.

## GitRefname - scalar

A fully qualified reference name (e.g. refs/heads/master).

## GitSSHRemote - scalar

Git SSH string.

## GitTimestamp - scalar

An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC.

## HTML - scalar

A string containing HTML code.

## id - query

ID of the object.

**Type:** ID!

## ID - scalar

Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA==") or integer (such as 4) input value will be accepted as an ID.

## Int - scalar

Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

## PageInfo - object

Information about pagination in a connection.

### Fields for `PageInfo`

* `endCursor` (String): When paginating forwards, the cursor to continue.
* `hasNextPage` (Boolean!): When paginating forwards, are there more items?.
* `hasPreviousPage` (Boolean!): When paginating backwards, are there more items?.
* `startCursor` (String): When paginating backwards, the cursor to continue.

## PreciseDateTime - scalar

An ISO-8601 encoded UTC date string with millisecond precision.

## relay - query

Workaround for re-exposing the root query object. (Refer to
https://github.com/facebook/relay/issues/112 for more information.).

**Type:** Query!

## String - scalar

Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.

## TeamDiscussion - object

A team discussion.

**Implements:** Comment, Deletable, Node, Reactable, Subscribable, UniformResourceLocatable, Updatable, UpdatableComment

### Fields for `TeamDiscussion`

* `author` (Actor): The actor who authored the comment.
* `authorAssociation` (CommentAuthorAssociation!): Author's association with the discussion's team. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `body` (String!): The body as Markdown.
* `bodyHTML` (HTML!): The body rendered to HTML.
* `bodyText` (String!): The body rendered to text.
* `bodyVersion` (String!): Identifies the discussion body hash. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `comments` (TeamDiscussionCommentConnection!): A list of comments on this discussion. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
  * `after` (String): Returns the elements in the list that come after the specified cursor.
  * `before` (String): Returns the elements in the list that come before the specified cursor.
  * `first` (Int): Returns the first n elements from the list.
  * `fromComment` (Int): When provided, filters the connection such that results begin with the comment with this number.
  * `last` (Int): Returns the last n elements from the list.
  * `orderBy` (TeamDiscussionCommentOrder): Order for connection.

* `commentsResourcePath` (URI!): The HTTP path for discussion comments. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `commentsUrl` (URI!): The HTTP URL for discussion comments. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `createdAt` (DateTime!): Identifies the date and time when the object was created.
* `createdViaEmail` (Boolean!): Check if this comment was created via an email reply.
* `databaseId` (Int): Identifies the primary key from the database.
* `editor` (Actor): The actor who edited the comment.
* `id` (ID!): The Node ID of the TeamDiscussion object.
* `includesCreatedEdit` (Boolean!): Check if this comment was edited and includes an edit with the creation data.
* `isPinned` (Boolean!): Whether or not the discussion is pinned. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `isPrivate` (Boolean!): Whether or not the discussion is only visible to team members and organization owners. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `lastEditedAt` (DateTime): The moment the editor made the last edit.
* `number` (Int!): Identifies the discussion within its team. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `publishedAt` (DateTime): Identifies when the comment was published at.
* `reactionGroups` ([ReactionGroup!]): A list of reactions grouped by content left on the subject.
* `reactions` (ReactionConnection!): A list of Reactions left on the Issue.
  * `after` (String): Returns the elements in the list that come after the specified cursor.
  * `before` (String): Returns the elements in the list that come before the specified cursor.
  * `content` (ReactionContent): Allows filtering Reactions by emoji.
  * `first` (Int): Returns the first n elements from the list.
  * `last` (Int): Returns the last n elements from the list.
  * `orderBy` (ReactionOrder): Allows specifying the order in which reactions are returned.

* `resourcePath` (URI!): The HTTP path for this discussion. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `team` (Team!): The team that defines the context of this discussion. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `title` (String!): The title of the discussion. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `updatedAt` (DateTime!): Identifies the date and time when the object was last updated.
* `url` (URI!): The HTTP URL for this discussion. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `userContentEdits` (UserContentEditConnection): A list of edits to this content. _(Pagination: `after`, `before`, `first`, `last`)_
* `viewerCanDelete` (Boolean!): Check if the current viewer can delete this object.
* `viewerCanPin` (Boolean!): Whether or not the current viewer can pin this discussion. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `viewerCanReact` (Boolean!): Can user react to this subject.
* `viewerCanSubscribe` (Boolean!): Check if the viewer is able to change their subscription status for the repository.
* `viewerCanUpdate` (Boolean!): Check if the current viewer can update this object.
* `viewerCannotUpdateReasons` ([CommentCannotUpdateReason!]!): Reasons why the current viewer can not update this comment.
* `viewerDidAuthor` (Boolean!): Did the viewer author this comment.
* `viewerSubscription` (SubscriptionState): Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

## TeamDiscussionComment - object

A comment on a team discussion.

**Implements:** Comment, Deletable, Node, Reactable, UniformResourceLocatable, Updatable, UpdatableComment

### Fields for `TeamDiscussionComment`

* `author` (Actor): The actor who authored the comment.
* `authorAssociation` (CommentAuthorAssociation!): Author's association with the comment's team. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `body` (String!): The body as Markdown.
* `bodyHTML` (HTML!): The body rendered to HTML.
* `bodyText` (String!): The body rendered to text.
* `bodyVersion` (String!): The current version of the body content. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `createdAt` (DateTime!): Identifies the date and time when the object was created.
* `createdViaEmail` (Boolean!): Check if this comment was created via an email reply.
* `databaseId` (Int): Identifies the primary key from the database.
* `discussion` (TeamDiscussion!): The discussion this comment is about. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `editor` (Actor): The actor who edited the comment.
* `id` (ID!): The Node ID of the TeamDiscussionComment object.
* `includesCreatedEdit` (Boolean!): Check if this comment was edited and includes an edit with the creation data.
* `lastEditedAt` (DateTime): The moment the editor made the last edit.
* `number` (Int!): Identifies the comment number. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `publishedAt` (DateTime): Identifies when the comment was published at.
* `reactionGroups` ([ReactionGroup!]): A list of reactions grouped by content left on the subject.
* `reactions` (ReactionConnection!): A list of Reactions left on the Issue.
  * `after` (String): Returns the elements in the list that come after the specified cursor.
  * `before` (String): Returns the elements in the list that come before the specified cursor.
  * `content` (ReactionContent): Allows filtering Reactions by emoji.
  * `first` (Int): Returns the first n elements from the list.
  * `last` (Int): Returns the last n elements from the list.
  * `orderBy` (ReactionOrder): Allows specifying the order in which reactions are returned.

* `resourcePath` (URI!): The HTTP path for this comment. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `updatedAt` (DateTime!): Identifies the date and time when the object was last updated.
* `url` (URI!): The HTTP URL for this comment. **Deprecated:** The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
* `userContentEdits` (UserContentEditConnection): A list of edits to this content. _(Pagination: `after`, `before`, `first`, `last`)_
* `viewerCanDelete` (Boolean!): Check if the current viewer can delete this object.
* `viewerCanReact` (Boolean!): Can user react to this subject.
* `viewerCanUpdate` (Boolean!): Check if the current viewer can update this object.
* `viewerCannotUpdateReasons` ([CommentCannotUpdateReason!]!): Reasons why the current viewer can not update this comment.
* `viewerDidAuthor` (Boolean!): Did the viewer author this comment.

## TeamDiscussionCommentConnection - object

The connection type for TeamDiscussionComment.

### Fields for `TeamDiscussionCommentConnection`

* `edges` ([TeamDiscussionCommentEdge]): A list of edges.
* `nodes` ([TeamDiscussionComment]): A list of nodes.
* `pageInfo` (PageInfo!): Information to aid in pagination.
* `totalCount` (Int!): Identifies the total count of items in the connection.

## TeamDiscussionCommentEdge - object

An edge in a connection.

### Fields for `TeamDiscussionCommentEdge`

* `cursor` (String!): A cursor for use in pagination.
* `node` (TeamDiscussionComment): The item at the end of the edge.

## TeamDiscussionCommentOrder - input object

Ways in which team discussion comment connections can be ordered.

### Input fields for `TeamDiscussionCommentOrder`

* `direction` (OrderDirection!): The direction in which to order nodes.
* `field` (TeamDiscussionCommentOrderField!): The field by which to order nodes.

## TeamDiscussionCommentOrderField - enum

Properties by which team discussion comment connections can be ordered.

### Values for `TeamDiscussionCommentOrderField`

* `NUMBER`: Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering).

## TeamDiscussionConnection - object

The connection type for TeamDiscussion.

### Fields for `TeamDiscussionConnection`

* `edges` ([TeamDiscussionEdge]): A list of edges.
* `nodes` ([TeamDiscussion]): A list of nodes.
* `pageInfo` (PageInfo!): Information to aid in pagination.
* `totalCount` (Int!): Identifies the total count of items in the connection.

## TeamDiscussionEdge - object

An edge in a connection.

### Fields for `TeamDiscussionEdge`

* `cursor` (String!): A cursor for use in pagination.
* `node` (TeamDiscussion): The item at the end of the edge.

## updateEnterpriseTeamDiscussionsSetting - mutation

Sets whether team discussions are enabled for an enterprise.

### Input fields for `updateEnterpriseTeamDiscussionsSetting`

* `input` (UpdateEnterpriseTeamDiscussionsSettingInput!): 

### Return fields for `updateEnterpriseTeamDiscussionsSetting`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `enterprise` (Enterprise): The enterprise with the updated team discussions setting.
* `message` (String): A message confirming the result of updating the team discussions setting.

## UpdateEnterpriseTeamDiscussionsSettingInput - input object

Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting.

### Input fields for `UpdateEnterpriseTeamDiscussionsSettingInput`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `enterpriseId` (ID!): The ID of the enterprise on which to set the team discussions setting.
* `settingValue` (EnterpriseEnabledDisabledSettingValue!): The value for the team discussions setting on the enterprise.

## updateTeamDiscussion - mutation

Updates a team discussion.

### Input fields for `updateTeamDiscussion`

* `input` (UpdateTeamDiscussionInput!): 

### Return fields for `updateTeamDiscussion`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `teamDiscussion` (TeamDiscussion): The updated discussion.

## updateTeamDiscussionComment - mutation

Updates a discussion comment.

### Input fields for `updateTeamDiscussionComment`

* `input` (UpdateTeamDiscussionCommentInput!): 

### Return fields for `updateTeamDiscussionComment`

* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `teamDiscussionComment` (TeamDiscussionComment): The updated comment.

## UpdateTeamDiscussionCommentInput - input object

Autogenerated input type of UpdateTeamDiscussionComment.

### Input fields for `UpdateTeamDiscussionCommentInput`

* `body` (String!): The updated text of the comment.
* `bodyVersion` (String): The current version of the body content.
* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `id` (ID!): The ID of the comment to modify.

## UpdateTeamDiscussionInput - input object

Autogenerated input type of UpdateTeamDiscussion.

### Input fields for `UpdateTeamDiscussionInput`

* `body` (String): The updated text of the discussion.
* `bodyVersion` (String): The current version of the body content. If provided, this update operation
will be rejected if the given version does not match the latest version on the server.
* `clientMutationId` (String): A unique identifier for the client performing the mutation.
* `id` (ID!): The Node ID of the discussion to modify.
* `pinned` (Boolean): If provided, sets the pinned state of the updated discussion.
* `title` (String): The updated title of the discussion.

## URI - scalar

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

## X509Certificate - scalar

A valid x509 certificate string.