import * as Category from "@distilled.cloud/core/category"; import { connectionField, errorFields, errorSpec, listField, objectField, root, rootConnection, rootLeaf, rootList, scalarField, type ErrorSpec, type FieldWithArgs, type Query, type TypeMeta, } from "@distilled.cloud/core/graphql"; import type * as Redacted from "effect/Redacted"; // AUTO-GENERATED by scripts/generate.ts. Do not edit. import * as S from "effect/Schema"; /** The token lacks the permission the field or mutation requires. */ export class GitHubForbidden extends S.TaggedError()( "GitHubForbidden", errorFields, ).pipe(Category.withAuthError) {} const GitHubForbiddenSpec: ErrorSpec = errorSpec( GitHubForbidden, "GitHubForbidden", [{ code: "FORBIDDEN" }], { global: true }, ); /** GitHub failed to resolve the query. */ export class GitHubInternalError extends S.TaggedError()( "GitHubInternalError", errorFields, ).pipe(Category.withServerError, Category.withRetryable()) {} const GitHubInternalErrorSpec: ErrorSpec = errorSpec( GitHubInternalError, "GitHubInternalError", [{ code: "INTERNAL" }], { retryable: true, global: true }, ); /** The node, or something the query refers to, does not exist or the token cannot see it. */ export class GitHubNotFound extends S.TaggedError()( "GitHubNotFound", errorFields, ).pipe(Category.withNotFoundError) {} const GitHubNotFoundSpec: ErrorSpec = errorSpec( GitHubNotFound, "GitHubNotFound", [{ code: "NOT_FOUND" }], { global: true }, ); /** The token's GraphQL rate limit is exhausted. */ export class GitHubRateLimited extends S.TaggedError()( "GitHubRateLimited", errorFields, ).pipe(Category.withThrottlingError, Category.withRetryable({ throttling: true })) {} const GitHubRateLimitedSpec: ErrorSpec = errorSpec( GitHubRateLimited, "GitHubRateLimited", [{ code: "RATE_LIMITED" }], { retryable: true, global: true }, ); /** GitHub refused the mutation for the object's current state, e.g. a draft transition on a closed pull request. */ export class GitHubUnprocessable extends S.TaggedError()( "GitHubUnprocessable", errorFields, ).pipe(Category.withBadRequestError) {} const GitHubUnprocessableSpec: ErrorSpec = errorSpec( GitHubUnprocessable, "GitHubUnprocessable", [{ code: "UNPROCESSABLE" }], { global: true }, ); /** Errors every GitHub root field can return. */ export type GitHubGlobalError = | GitHubForbidden | GitHubInternalError | GitHubNotFound | GitHubRateLimited | GitHubUnprocessable; const globalErrors: ReadonlyArray = [ GitHubForbiddenSpec, GitHubInternalErrorSpec, GitHubNotFoundSpec, GitHubRateLimitedSpec, GitHubUnprocessableSpec, ]; /** Every typed error the GitHub SDK declares. */ export type GitHubError = | GitHubForbidden | GitHubInternalError | GitHubNotFound | GitHubRateLimited | GitHubUnprocessable; /** The actor's type. */ export type ActorType = "TEAM" | "USER"; /** Properties by which Audit Log connections can be ordered. */ export type AuditLogOrderField = "CREATED_AT"; /** Represents an annotation's information level. */ export type CheckAnnotationLevel = "FAILURE" | "NOTICE" | "WARNING"; /** The possible states for a check suite or run conclusion. */ export type CheckConclusionState = | "ACTION_REQUIRED" | "CANCELLED" | "FAILURE" | "NEUTRAL" | "SKIPPED" | "STALE" | "STARTUP_FAILURE" | "SUCCESS" | "TIMED_OUT"; /** The possible states of a check run in a status rollup. */ export type CheckRunState = | "ACTION_REQUIRED" | "CANCELLED" | "COMPLETED" | "FAILURE" | "IN_PROGRESS" | "NEUTRAL" | "PENDING" | "QUEUED" | "SKIPPED" | "STALE" | "STARTUP_FAILURE" | "SUCCESS" | "TIMED_OUT" | "WAITING"; /** The possible types of check runs. */ export type CheckRunType = "ALL" | "LATEST"; /** The possible states for a check suite or run status. */ export type CheckStatusState = | "COMPLETED" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "REQUESTED" | "WAITING"; /** The lowest severity level at which code quality reviews need to be resolved before commits can be merged. */ export type CodeQualitySeverity = "ALL" | "ERRORS" | "NOTES" | "WARNINGS"; /** Collaborators affiliation level with a subject. */ export type CollaboratorAffiliation = "ALL" | "DIRECT" | "OUTSIDE"; /** A comment author association with repository. */ export type CommentAuthorAssociation = | "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** The possible errors that will prevent a user from updating a comment. */ export type CommentCannotUpdateReason = | "ARCHIVED" | "DENIED" | "INSUFFICIENT_ACCESS" | "LOCKED" | "LOGIN_REQUIRED" | "MAINTENANCE" | "VERIFIED_EMAIL_REQUIRED"; /** Properties by which commit contribution connections can be ordered. */ export type CommitContributionOrderField = "COMMIT_COUNT" | "OCCURRED_AT"; /** The status of a git comparison between two refs. */ export type ComparisonStatus = "AHEAD" | "BEHIND" | "DIVERGED" | "IDENTICAL"; /** Varying levels of contributions from none to many. */ export type ContributionLevel = | "FIRST_QUARTILE" | "FOURTH_QUARTILE" | "NONE" | "SECOND_QUARTILE" | "THIRD_QUARTILE"; /** The allowed value types for a custom property definition. */ export type CustomPropertyValueType = | "MULTI_SELECT" | "SINGLE_SELECT" | "STRING" | "TRUE_FALSE" | "URL"; /** The possible base permissions for repositories. */ export type DefaultRepositoryPermissionField = "ADMIN" | "NONE" | "READ" | "WRITE"; /** The possible ecosystems of a dependency graph package. */ export type DependencyGraphEcosystem = | "ACTIONS" | "COMPOSER" | "GO" | "MAVEN" | "NPM" | "NUGET" | "PIP" | "PUB" | "RUBYGEMS" | "RUST" | "SWIFT"; /** Properties by which deployment connections can be ordered. */ export type DeploymentOrderField = "CREATED_AT"; /** The possible protection rule types. */ export type DeploymentProtectionRuleType = "BRANCH_POLICY" | "REQUIRED_REVIEWERS" | "WAIT_TIMER"; /** The possible states for a deployment review. */ export type DeploymentReviewState = "APPROVED" | "REJECTED"; /** The possible states in which a deployment can be. */ export type DeploymentState = | "ABANDONED" | "ACTIVE" | "DESTROYED" | "ERROR" | "FAILURE" | "INACTIVE" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "SUCCESS" | "WAITING"; /** The possible states for a deployment status. */ export type DeploymentStatusState = | "ERROR" | "FAILURE" | "INACTIVE" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "SUCCESS" | "WAITING"; /** The possible sides of a diff. */ export type DiffSide = "LEFT" | "RIGHT"; /** The possible reasons for closing a discussion. */ export type DiscussionCloseReason = "DUPLICATE" | "OUTDATED" | "RESOLVED"; /** Properties by which discussion connections can be ordered. */ export type DiscussionOrderField = "CREATED_AT" | "UPDATED_AT"; /** Properties by which discussion poll option connections can be ordered. */ export type DiscussionPollOptionOrderField = "AUTHORED_ORDER" | "VOTE_COUNT"; /** The possible states of a discussion. */ export type DiscussionState = "CLOSED" | "OPEN"; /** The possible state reasons of a discussion. */ export type DiscussionStateReason = "DUPLICATE" | "OUTDATED" | "REOPENED" | "RESOLVED"; /** The possible reasons that a Dependabot alert was dismissed. */ export type DismissReason = | "FIX_STARTED" | "INACCURATE" | "NOT_USED" | "NO_BANDWIDTH" | "TOLERABLE_RISK"; /** Properties by which enterprise administrator invitation connections can be ordered. */ export type EnterpriseAdministratorInvitationOrderField = "CREATED_AT"; /** The possible administrator roles in an enterprise account. */ export type EnterpriseAdministratorRole = "BILLING_MANAGER" | "OWNER" | "UNAFFILIATED"; /** The possible values for the enterprise allow private repository forking policy value. */ export type EnterpriseAllowPrivateRepositoryForkingPolicyValue = | "ENTERPRISE_ORGANIZATIONS" | "ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS" | "EVERYWHERE" | "SAME_ORGANIZATION" | "SAME_ORGANIZATION_USER_ACCOUNTS" | "USER_ACCOUNTS"; /** The possible values for the enterprise base repository permission setting. */ export type EnterpriseDefaultRepositoryPermissionSettingValue = | "ADMIN" | "NONE" | "NO_POLICY" | "READ" | "WRITE"; /** The possible values for an enabled/no policy enterprise setting. */ export type EnterpriseDisallowedMethodsSettingValue = "INSECURE" | "NO_POLICY"; /** The possible values for an enabled/disabled enterprise setting. */ export type EnterpriseEnabledDisabledSettingValue = "DISABLED" | "ENABLED" | "NO_POLICY"; /** The possible values for an enabled/no policy enterprise setting. */ export type EnterpriseEnabledSettingValue = "ENABLED" | "NO_POLICY"; /** Properties by which enterprise member invitation connections can be ordered. */ export type EnterpriseMemberInvitationOrderField = "CREATED_AT"; /** Properties by which enterprise member connections can be ordered. */ export type EnterpriseMemberOrderField = "CREATED_AT" | "LOGIN"; /** The possible values for the enterprise members can create repositories setting. */ export type EnterpriseMembersCanCreateRepositoriesSettingValue = | "ALL" | "DISABLED" | "NO_POLICY" | "PRIVATE" | "PUBLIC"; /** The possible values for the members can make purchases setting. */ export type EnterpriseMembersCanMakePurchasesSettingValue = "DISABLED" | "ENABLED"; /** The possible values we have for filtering Platform::Objects::User#enterprises. */ export type EnterpriseMembershipType = "ADMIN" | "ALL" | "BILLING_MANAGER" | "ORG_MEMBERSHIP"; /** Properties by which enterprise connections can be ordered. */ export type EnterpriseOrderField = "NAME"; /** Properties by which Enterprise Server installation connections can be ordered. */ export type EnterpriseServerInstallationOrderField = "CREATED_AT" | "CUSTOMER_NAME" | "HOST_NAME"; /** Properties by which Enterprise Server user account email connections can be ordered. */ export type EnterpriseServerUserAccountEmailOrderField = "EMAIL"; /** Properties by which Enterprise Server user account connections can be ordered. */ export type EnterpriseServerUserAccountOrderField = "LOGIN" | "REMOTE_CREATED_AT"; /** Properties by which Enterprise Server user accounts upload connections can be ordered. */ export type EnterpriseServerUserAccountsUploadOrderField = "CREATED_AT"; /** Synchronization state of the Enterprise Server user accounts upload */ export type EnterpriseServerUserAccountsUploadSyncState = "FAILURE" | "PENDING" | "SUCCESS"; /** Properties by which enterprise team member connections can be ordered. */ export type EnterpriseTeamMemberOrderField = "CREATED_AT" | "ID" | "LOGIN"; /** Properties by which enterprise team connections can be ordered. */ export type EnterpriseTeamOrderField = "CREATED_AT" | "ID" | "NAME"; /** Properties by which enterprise team organization connections can be ordered. */ export type EnterpriseTeamOrganizationOrderField = "CREATED_AT" | "ID" | "LOGIN"; /** The possible organization selection types for an enterprise team. */ export type EnterpriseTeamOrganizationSelectionType = "ALL" | "DISABLED" | "SELECTED"; /** The possible roles for enterprise membership. */ export type EnterpriseUserAccountMembershipRole = "MEMBER" | "OWNER" | "UNAFFILIATED"; /** The possible GitHub Enterprise deployments where this user can exist. */ export type EnterpriseUserDeployment = "CLOUD" | "SERVER"; /** Properties by which environments connections can be ordered */ export type EnvironmentOrderField = "NAME"; /** Properties by which environments connections can be ordered */ export type EnvironmentPinnedFilterField = "ALL" | "NONE" | "ONLY"; /** The possible viewed states of a file . */ export type FileViewedState = "DISMISSED" | "UNVIEWED" | "VIEWED"; /** The possible funding platforms for repository funding links. */ export type FundingPlatform = | "BUY_ME_A_COFFEE" | "COMMUNITY_BRIDGE" | "CUSTOM" | "GITHUB" | "ISSUEHUNT" | "KO_FI" | "LFX_CROWDFUNDING" | "LIBERAPAY" | "OPEN_COLLECTIVE" | "PATREON" | "POLAR" | "THANKS_DEV" | "TIDELIFT"; /** Properties by which gist connections can be ordered. */ export type GistOrderField = "CREATED_AT" | "PUSHED_AT" | "UPDATED_AT"; /** The privacy of a Gist */ export type GistPrivacy = "ALL" | "PUBLIC" | "SECRET"; /** The state of a Git signature. */ export type GitSignatureState = | "BAD_CERT" | "BAD_EMAIL" | "EXPIRED_KEY" | "GPGVERIFY_ERROR" | "GPGVERIFY_UNAVAILABLE" | "INVALID" | "MALFORMED_SIG" | "NOT_SIGNING_KEY" | "NO_USER" | "OCSP_ERROR" | "OCSP_PENDING" | "OCSP_REVOKED" | "UNKNOWN_KEY" | "UNKNOWN_SIG_TYPE" | "UNSIGNED" | "UNVERIFIED_EMAIL" | "VALID"; /** The possible states in which authentication can be configured with an identity provider. */ export type IdentityProviderConfigurationState = "CONFIGURED" | "ENFORCED" | "UNCONFIGURED"; /** The possible values for the IP allow list enabled setting. */ export type IpAllowListEnabledSettingValue = "DISABLED" | "ENABLED"; /** Properties by which IP allow list entry connections can be ordered. */ export type IpAllowListEntryOrderField = "ALLOW_LIST_VALUE" | "CREATED_AT"; /** The possible values for the IP allow list configuration for installed GitHub Apps setting. */ export type IpAllowListForInstalledAppsEnabledSettingValue = "DISABLED" | "ENABLED"; /** The possible values for the IP allow list user-level enforcement enabled setting. */ export type IpAllowListUserLevelEnforcementEnabledSettingValue = "DISABLED" | "ENABLED"; /** The possible state reasons of a closed issue. */ export type IssueClosedStateReason = "COMPLETED" | "DUPLICATE" | "NOT_PLANNED"; /** Properties by which issue comment connections can be ordered. */ export type IssueCommentOrderField = "UPDATED_AT"; /** The policy controlling who can create issues in a repository. */ export type IssueCreationPolicy = "ALL" | "COLLABORATORS_ONLY"; /** Properties by which issue dependencies can be ordered. */ export type IssueDependencyOrderField = "CREATED_AT" | "DEPENDENCY_ADDED_AT"; /** The confidence level associated with an agent's issue event action. */ export type IssueEventConfidenceLevel = "HIGH" | "LOW" | "MEDIUM"; /** The type of an issue field. */ export type IssueFieldDataType = "DATE" | "MULTI_SELECT" | "NUMBER" | "SINGLE_SELECT" | "TEXT"; /** Properties by which issue field connections can be ordered. */ export type IssueFieldOrderField = "CREATED_AT" | "NAME"; /** The display color of a single-select field option. */ export type IssueFieldSingleSelectOptionColor = | "BLUE" | "GRAY" | "GREEN" | "ORANGE" | "PINK" | "PURPLE" | "RED" | "YELLOW"; /** The operation to perform on an issue field value. */ export type IssueFieldUpdateOperation = "ADD" | "CLEAR" | "REMOVE" | "SET"; /** The visibility of an issue field. */ export type IssueFieldVisibility = "ALL" | "ORG_ONLY"; /** Properties by which issue connections can be ordered. */ export type IssueOrderField = "COMMENTS" | "CREATED_AT" | "UPDATED_AT"; /** Properties by which related issues can be ordered. */ export type IssueRelatesToOrderField = "CREATED_AT" | "RELATES_TO_ADDED_AT"; /** Type of issue search performed */ export type IssueSearchType = "HYBRID" | "LEXICAL" | "SEMANTIC"; /** The possible states of an issue. */ export type IssueState = "CLOSED" | "OPEN"; /** The possible state reasons of an issue. */ export type IssueStateReason = "COMPLETED" | "DUPLICATE" | "NOT_PLANNED" | "REOPENED"; /** The possible item types found in a timeline. */ export type IssueTimelineItemsItemType = | "ADDED_TO_PROJECT_EVENT" | "ADDED_TO_PROJECT_V2_EVENT" | "ASSIGNED_EVENT" | "BLOCKED_BY_ADDED_EVENT" | "BLOCKED_BY_REMOVED_EVENT" | "BLOCKING_ADDED_EVENT" | "BLOCKING_REMOVED_EVENT" | "CLOSED_EVENT" | "COMMENT_DELETED_EVENT" | "CONNECTED_EVENT" | "CONVERTED_FROM_DRAFT_EVENT" | "CONVERTED_NOTE_TO_ISSUE_EVENT" | "CONVERTED_TO_DISCUSSION_EVENT" | "CROSS_REFERENCED_EVENT" | "DEMILESTONED_EVENT" | "DISCONNECTED_EVENT" | "ISSUE_COMMENT" | "ISSUE_COMMENT_PINNED_EVENT" | "ISSUE_COMMENT_UNPINNED_EVENT" | "ISSUE_FIELD_ADDED_EVENT" | "ISSUE_FIELD_CHANGED_EVENT" | "ISSUE_FIELD_REMOVED_EVENT" | "ISSUE_TYPE_ADDED_EVENT" | "ISSUE_TYPE_CHANGED_EVENT" | "ISSUE_TYPE_REMOVED_EVENT" | "LABELED_EVENT" | "LOCKED_EVENT" | "MARKED_AS_DUPLICATE_EVENT" | "MENTIONED_EVENT" | "MILESTONED_EVENT" | "MOVED_COLUMNS_IN_PROJECT_EVENT" | "PARENT_ISSUE_ADDED_EVENT" | "PARENT_ISSUE_REMOVED_EVENT" | "PINNED_EVENT" | "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT" | "REFERENCED_EVENT" | "REMOVED_FROM_PROJECT_EVENT" | "REMOVED_FROM_PROJECT_V2_EVENT" | "RENAMED_TITLE_EVENT" | "REOPENED_EVENT" | "SUBSCRIBED_EVENT" | "SUB_ISSUE_ADDED_EVENT" | "SUB_ISSUE_REMOVED_EVENT" | "TRANSFERRED_EVENT" | "UNASSIGNED_EVENT" | "UNLABELED_EVENT" | "UNLOCKED_EVENT" | "UNMARKED_AS_DUPLICATE_EVENT" | "UNPINNED_EVENT" | "UNSUBSCRIBED_EVENT" | "USER_BLOCKED_EVENT"; /** The possible color for an issue type */ export type IssueTypeColor = | "BLUE" | "GRAY" | "GREEN" | "ORANGE" | "PINK" | "PURPLE" | "RED" | "YELLOW"; /** Properties by which issue type connections can be ordered. */ export type IssueTypeOrderField = "CREATED_AT" | "NAME"; /** Properties by which label connections can be ordered. */ export type LabelOrderField = "CREATED_AT" | "ISSUE_COUNT" | "NAME"; /** Properties by which language connections can be ordered. */ export type LanguageOrderField = "SIZE"; /** Reason why a semantic or hybrid issue search fell back to lexical search */ export type LexicalFallbackReason = | "NON_ISSUE_TARGET" | "NO_ACCESSIBLE_REPOS" | "NO_TEXT_TERMS" | "ONLY_NON_SEMANTIC_FIELDS_REQUESTED" | "OR_BOOLEAN_NOT_SUPPORTED" | "QUOTED_TEXT" | "SERVER_ERROR"; /** The possible reasons that an issue or pull request was locked. */ export type LockReason = "OFF_TOPIC" | "RESOLVED" | "SPAM" | "TOO_HEATED"; /** Properties by which mannequins can be ordered. */ export type MannequinOrderField = "CREATED_AT" | "LOGIN"; /** The possible default commit messages for merges. */ export type MergeCommitMessage = "BLANK" | "PR_BODY" | "PR_TITLE"; /** The possible default commit titles for merges. */ export type MergeCommitTitle = "MERGE_MESSAGE" | "PR_TITLE"; /** The possible states for a merge queue entry. */ export type MergeQueueEntryState = | "AWAITING_CHECKS" | "LOCKED" | "MERGEABLE" | "QUEUED" | "UNMERGEABLE"; /** When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. */ export type MergeQueueGroupingStrategy = "ALLGREEN" | "HEADGREEN"; /** Method to use when merging changes from queued pull requests. */ export type MergeQueueMergeMethod = "MERGE" | "REBASE" | "SQUASH"; /** The possible merging strategies for a merge queue. */ export type MergeQueueMergingStrategy = "ALLGREEN" | "HEADGREEN"; /** Detailed status information about a pull request merge. */ export type MergeStateStatus = | "BEHIND" | "BLOCKED" | "CLEAN" | "DIRTY" | "DRAFT" | "HAS_HOOKS" | "UNKNOWN" | "UNSTABLE"; /** Whether or not a PullRequest can be merged. */ export type MergeableState = "CONFLICTING" | "MERGEABLE" | "UNKNOWN"; /** Represents the different GitHub Enterprise Importer (GEI) migration sources. */ export type MigrationSourceType = "AZURE_DEVOPS" | "BITBUCKET_SERVER" | "GITHUB_ARCHIVE" | "GITLAB"; /** The GitHub Enterprise Importer (GEI) migration state. */ export type MigrationState = | "FAILED" | "FAILED_VALIDATION" | "IN_PROGRESS" | "NOT_STARTED" | "PENDING_VALIDATION" | "QUEUED" | "SUCCEEDED"; /** Properties by which milestone connections can be ordered. */ export type MilestoneOrderField = "CREATED_AT" | "DUE_DATE" | "NUMBER" | "UPDATED_AT"; /** The possible states of a milestone. */ export type MilestoneState = "CLOSED" | "OPEN"; /** The possible values for the notification restriction setting. */ export type NotificationRestrictionSettingValue = "DISABLED" | "ENABLED"; /** The OIDC identity provider type */ export type OIDCProviderType = "AAD"; /** The state of an OAuth application when it was created. */ export type OauthApplicationCreateAuditEntryState = "ACTIVE" | "PENDING_DELETION" | "SUSPENDED"; /** The corresponding operation type for the action */ export type OperationType = | "ACCESS" | "AUTHENTICATION" | "CREATE" | "MODIFY" | "REMOVE" | "RESTORE" | "TRANSFER"; /** Possible directions in which to order a list of items when provided an `orderBy` argument. */ export type OrderDirection = "ASC" | "DESC"; /** The permissions available to members on an Organization. */ export type OrgAddMemberAuditEntryPermission = "ADMIN" | "READ"; /** The billing plans available for organizations. */ export type OrgCreateAuditEntryBillingPlan = | "BUSINESS" | "BUSINESS_PLUS" | "FREE" | "TIERED_PER_SEAT" | "UNLIMITED"; /** Properties by which enterprise owners can be ordered. */ export type OrgEnterpriseOwnerOrderField = "LOGIN"; /** The reason a billing manager was removed from an Organization. */ export type OrgRemoveBillingManagerAuditEntryReason = | "SAML_EXTERNAL_IDENTITY_MISSING" | "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY" | "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE"; /** The type of membership a user has with an Organization. */ export type OrgRemoveMemberAuditEntryMembershipType = | "ADMIN" | "BILLING_MANAGER" | "DIRECT_MEMBER" | "OUTSIDE_COLLABORATOR" | "SUSPENDED" | "UNAFFILIATED"; /** The reason a member was removed from an Organization. */ export type OrgRemoveMemberAuditEntryReason = | "SAML_EXTERNAL_IDENTITY_MISSING" | "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY" | "TWO_FACTOR_ACCOUNT_RECOVERY" | "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE" | "USER_ACCOUNT_DELETED"; /** The type of membership a user has with an Organization. */ export type OrgRemoveOutsideCollaboratorAuditEntryMembershipType = | "BILLING_MANAGER" | "OUTSIDE_COLLABORATOR" | "UNAFFILIATED"; /** The reason an outside collaborator was removed from an Organization. */ export type OrgRemoveOutsideCollaboratorAuditEntryReason = | "SAML_EXTERNAL_IDENTITY_MISSING" | "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE"; /** The default permission a repository can have in an Organization. */ export type OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = | "ADMIN" | "NONE" | "READ" | "WRITE"; /** The permissions available to members on an Organization. */ export type OrgUpdateMemberAuditEntryPermission = "ADMIN" | "READ"; /** The permissions available for repository creation on an Organization. */ export type OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = | "ALL" | "INTERNAL" | "NONE" | "PRIVATE" | "PRIVATE_INTERNAL" | "PUBLIC" | "PUBLIC_INTERNAL" | "PUBLIC_PRIVATE"; /** The possible organization invitation roles. */ export type OrganizationInvitationRole = | "ADMIN" | "BILLING_MANAGER" | "DIRECT_MEMBER" | "REINSTATE"; /** The possible organization invitation sources. */ export type OrganizationInvitationSource = | "ENTERPRISE_ORGANIZATION_CREATION" | "MEMBER" | "SCIM" | "UNKNOWN"; /** The possible organization invitation types. */ export type OrganizationInvitationType = "EMAIL" | "USER"; /** The possible roles within an organization for its members. */ export type OrganizationMemberRole = "ADMIN" | "MEMBER"; /** The possible values for the members can create repositories setting on an organization. */ export type OrganizationMembersCanCreateRepositoriesSettingValue = | "ALL" | "DISABLED" | "INTERNAL" | "PRIVATE"; /** The Octoshift Organization migration state. */ export type OrganizationMigrationState = | "FAILED" | "FAILED_VALIDATION" | "IN_PROGRESS" | "NOT_STARTED" | "PENDING_VALIDATION" | "POST_REPO_MIGRATION" | "PRE_REPO_MIGRATION" | "QUEUED" | "REPO_MIGRATION" | "SUCCEEDED"; /** Properties by which organization connections can be ordered. */ export type OrganizationOrderField = "CREATED_AT" | "LOGIN"; /** Properties by which package file connections can be ordered. */ export type PackageFileOrderField = "CREATED_AT"; /** Properties by which package connections can be ordered. */ export type PackageOrderField = "CREATED_AT"; /** The possible types of a package. */ export type PackageType = "DEBIAN" | "DOCKER" | "MAVEN" | "NPM" | "NUGET" | "PYPI" | "RUBYGEMS"; /** Properties by which package version connections can be ordered. */ export type PackageVersionOrderField = "CREATED_AT"; /** The possible types of patch statuses. */ export type PatchStatus = "ADDED" | "CHANGED" | "COPIED" | "DELETED" | "MODIFIED" | "RENAMED"; /** The kind of pending issue suggestion being applied. */ export type PendingIssueSuggestionKind = "ASSIGNEE" | "CLOSE" | "FIELD" | "LABEL" | "TYPE"; /** Represents items that can be pinned to a profile page or dashboard. */ export type PinnableItemType = | "GIST" | "ISSUE" | "ORGANIZATION" | "PROJECT" | "PULL_REQUEST" | "REPOSITORY" | "TEAM" | "USER"; /** Preconfigured gradients that may be used to style discussions pinned within a repository. */ export type PinnedDiscussionGradient = | "BLUE_MINT" | "BLUE_PURPLE" | "PINK_BLUE" | "PURPLE_CORAL" | "RED_ORANGE"; /** Preconfigured background patterns that may be used to style discussions pinned within a repository. */ export type PinnedDiscussionPattern = | "CHEVRON_UP" | "DOT" | "DOT_FILL" | "HEART_FILL" | "PLUS" | "ZAP"; /** Properties by which pinned environments connections can be ordered */ export type PinnedEnvironmentOrderField = "POSITION"; /** The possible archived states of a project card. */ export type ProjectCardArchivedState = "ARCHIVED" | "NOT_ARCHIVED"; /** Various content states of a ProjectCard */ export type ProjectCardState = "CONTENT_ONLY" | "NOTE_ONLY" | "REDACTED"; /** The semantic purpose of the column - todo, in progress, or done. */ export type ProjectColumnPurpose = "DONE" | "IN_PROGRESS" | "TODO"; /** Properties by which project connections can be ordered. */ export type ProjectOrderField = "CREATED_AT" | "NAME" | "UPDATED_AT"; /** State of the project; either 'open' or 'closed' */ export type ProjectState = "CLOSED" | "OPEN"; /** GitHub-provided templates for Projects */ export type ProjectTemplate = | "AUTOMATED_KANBAN_V2" | "AUTOMATED_REVIEWS_KANBAN" | "BASIC_KANBAN" | "BUG_TRIAGE"; /** The type of a project field. */ export type ProjectV2CustomFieldType = | "DATE" | "ITERATION" | "MULTI_SELECT" | "NUMBER" | "SINGLE_SELECT" | "TEXT"; /** Properties by which project v2 field connections can be ordered. */ export type ProjectV2FieldOrderField = "CREATED_AT" | "NAME" | "POSITION"; /** The type of a project field. */ export type ProjectV2FieldType = | "ASSIGNEES" | "CLOSED" | "CREATED" | "DATE" | "ISSUE_TYPE" | "ITERATION" | "LABELS" | "LINKED_PULL_REQUESTS" | "MILESTONE" | "MULTI_SELECT" | "NUMBER" | "PARENT_ISSUE" | "REPOSITORY" | "REVIEWERS" | "SINGLE_SELECT" | "SUB_ISSUES_PROGRESS" | "TEXT" | "TITLE" | "TRACKED_BY" | "TRACKS" | "UPDATED"; /** The possible archived states of a `ProjectV2Item`. */ export type ProjectV2ItemArchivedState = "ARCHIVED" | "NOT_ARCHIVED"; /** Properties by which project v2 item field value connections can be ordered. */ export type ProjectV2ItemFieldValueOrderField = "POSITION"; /** Properties by which project v2 item connections can be ordered. */ export type ProjectV2ItemOrderField = "POSITION"; /** The type of a project item. */ export type ProjectV2ItemType = "DRAFT_ISSUE" | "ISSUE" | "PULL_REQUEST" | "REDACTED"; /** Properties by which projects can be ordered. */ export type ProjectV2OrderField = "CREATED_AT" | "NUMBER" | "TITLE" | "UPDATED_AT"; /** The possible roles of a collaborator on a project. */ export type ProjectV2PermissionLevel = "ADMIN" | "READ" | "WRITE"; /** The possible roles of a collaborator on a project. */ export type ProjectV2Roles = "ADMIN" | "NONE" | "READER" | "WRITER"; /** The display color of a single-select field option. */ export type ProjectV2SingleSelectFieldOptionColor = | "BLUE" | "GRAY" | "GREEN" | "ORANGE" | "PINK" | "PURPLE" | "RED" | "YELLOW"; /** The possible states of a project v2. */ export type ProjectV2State = "CLOSED" | "OPEN"; /** Properties by which project v2 status updates can be ordered. */ export type ProjectV2StatusUpdateOrderField = "CREATED_AT"; /** The possible statuses of a project v2. */ export type ProjectV2StatusUpdateStatus = | "AT_RISK" | "COMPLETE" | "INACTIVE" | "OFF_TRACK" | "ON_TRACK"; /** The layout of a project v2 view. */ export type ProjectV2ViewLayout = "BOARD_LAYOUT" | "ROADMAP_LAYOUT" | "TABLE_LAYOUT"; /** Properties by which project v2 view connections can be ordered. */ export type ProjectV2ViewOrderField = "CREATED_AT" | "NAME" | "POSITION"; /** Properties by which project workflows can be ordered. */ export type ProjectV2WorkflowsOrderField = "CREATED_AT" | "NAME" | "NUMBER" | "UPDATED_AT"; /** Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. */ export type PullRequestAllowedMergeMethods = "MERGE" | "REBASE" | "SQUASH"; /** The possible methods for updating a pull request's head branch with the base branch. */ export type PullRequestBranchUpdateMethod = "MERGE" | "REBASE"; /** The policy controlling who can create pull requests in a repository. */ export type PullRequestCreationPolicy = "ALL" | "COLLABORATORS_ONLY"; /** Represents available types of methods to use when merging a pull request. */ export type PullRequestMergeMethod = "MERGE" | "REBASE" | "SQUASH"; /** Properties by which pull_requests connections can be ordered. */ export type PullRequestOrderField = "CREATED_AT" | "UPDATED_AT"; /** The possible states of a pull request review comment. */ export type PullRequestReviewCommentState = "PENDING" | "SUBMITTED"; /** The review status of a pull request. */ export type PullRequestReviewDecision = "APPROVED" | "CHANGES_REQUESTED" | "REVIEW_REQUIRED"; /** The possible events to perform on a pull request review. */ export type PullRequestReviewEvent = "APPROVE" | "COMMENT" | "DISMISS" | "REQUEST_CHANGES"; /** The possible states of a pull request review. */ export type PullRequestReviewState = | "APPROVED" | "CHANGES_REQUESTED" | "COMMENTED" | "DISMISSED" | "PENDING"; /** The possible reasons a pull request review thread was resolved. */ export type PullRequestReviewThreadResolutionReason = "ADDRESSED" | "INVALID" | "WONT_FIX"; /** The possible subject types of a pull request review comment. */ export type PullRequestReviewThreadSubjectType = "FILE" | "LINE"; /** The possible states of a pull request. */ export type PullRequestState = "CLOSED" | "MERGED" | "OPEN"; /** The possible item types found in a timeline. */ export type PullRequestTimelineItemsItemType = | "ADDED_TO_MERGE_QUEUE_EVENT" | "ADDED_TO_PROJECT_EVENT" | "ADDED_TO_PROJECT_V2_EVENT" | "ADDED_TO_STACK_EVENT" | "ARCHIVED_EVENT" | "ASSIGNED_EVENT" | "AUTOMATIC_BASE_CHANGE_FAILED_EVENT" | "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT" | "AUTO_MERGE_DISABLED_EVENT" | "AUTO_MERGE_ENABLED_EVENT" | "AUTO_REBASE_ENABLED_EVENT" | "AUTO_SQUASH_ENABLED_EVENT" | "BASE_REF_CHANGED_EVENT" | "BASE_REF_DELETED_EVENT" | "BASE_REF_FORCE_PUSHED_EVENT" | "BLOCKED_BY_ADDED_EVENT" | "BLOCKED_BY_REMOVED_EVENT" | "BLOCKING_ADDED_EVENT" | "BLOCKING_REMOVED_EVENT" | "CLOSED_EVENT" | "COMMENT_DELETED_EVENT" | "CONNECTED_EVENT" | "CONVERTED_FROM_DRAFT_EVENT" | "CONVERTED_NOTE_TO_ISSUE_EVENT" | "CONVERTED_TO_DISCUSSION_EVENT" | "CONVERT_TO_DRAFT_EVENT" | "CROSS_REFERENCED_EVENT" | "DEMILESTONED_EVENT" | "DEPLOYED_EVENT" | "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT" | "DISCONNECTED_EVENT" | "HEAD_REF_DELETED_EVENT" | "HEAD_REF_FORCE_PUSHED_EVENT" | "HEAD_REF_RESTORED_EVENT" | "ISSUE_COMMENT" | "ISSUE_COMMENT_PINNED_EVENT" | "ISSUE_COMMENT_UNPINNED_EVENT" | "ISSUE_FIELD_ADDED_EVENT" | "ISSUE_FIELD_CHANGED_EVENT" | "ISSUE_FIELD_REMOVED_EVENT" | "ISSUE_TYPE_ADDED_EVENT" | "ISSUE_TYPE_CHANGED_EVENT" | "ISSUE_TYPE_REMOVED_EVENT" | "LABELED_EVENT" | "LOCKED_EVENT" | "MARKED_AS_DUPLICATE_EVENT" | "MENTIONED_EVENT" | "MERGED_EVENT" | "MILESTONED_EVENT" | "MOVED_COLUMNS_IN_PROJECT_EVENT" | "PARENT_ISSUE_ADDED_EVENT" | "PARENT_ISSUE_REMOVED_EVENT" | "PINNED_EVENT" | "PROJECT_V2_ITEM_STATUS_CHANGED_EVENT" | "PULL_REQUEST_COMMIT" | "PULL_REQUEST_COMMIT_COMMENT_THREAD" | "PULL_REQUEST_REVIEW" | "PULL_REQUEST_REVIEW_THREAD" | "PULL_REQUEST_REVISION_MARKER" | "READY_FOR_REVIEW_EVENT" | "REFERENCED_EVENT" | "REMOVED_FROM_MERGE_QUEUE_EVENT" | "REMOVED_FROM_PROJECT_EVENT" | "REMOVED_FROM_PROJECT_V2_EVENT" | "REMOVED_FROM_STACK_EVENT" | "RENAMED_TITLE_EVENT" | "REOPENED_EVENT" | "REVIEW_DISMISSED_EVENT" | "REVIEW_REQUESTED_EVENT" | "REVIEW_REQUEST_REMOVED_EVENT" | "SUBSCRIBED_EVENT" | "SUB_ISSUE_ADDED_EVENT" | "SUB_ISSUE_REMOVED_EVENT" | "TRANSFERRED_EVENT" | "UNARCHIVED_EVENT" | "UNASSIGNED_EVENT" | "UNLABELED_EVENT" | "UNLOCKED_EVENT" | "UNMARKED_AS_DUPLICATE_EVENT" | "UNPINNED_EVENT" | "UNSUBSCRIBED_EVENT" | "USER_BLOCKED_EVENT"; /** The possible target states when updating a pull request. */ export type PullRequestUpdateState = "CLOSED" | "OPEN"; /** Emojis that can be attached to Issues, Pull Requests and Comments. */ export type ReactionContent = | "CONFUSED" | "EYES" | "HEART" | "HOORAY" | "LAUGH" | "ROCKET" | "THUMBS_DOWN" | "THUMBS_UP"; /** A list of fields that reactions can be ordered by. */ export type ReactionOrderField = "CREATED_AT"; /** Properties by which ref connections can be ordered. */ export type RefOrderField = "ALPHABETICAL" | "TAG_COMMIT_DATE"; /** Properties by which release connections can be ordered. */ export type ReleaseOrderField = "CREATED_AT" | "NAME"; /** The privacy of a repository */ export type RepoAccessAuditEntryVisibility = "INTERNAL" | "PRIVATE" | "PUBLIC"; /** The privacy of a repository */ export type RepoAddMemberAuditEntryVisibility = "INTERNAL" | "PRIVATE" | "PUBLIC"; /** The privacy of a repository */ export type RepoArchivedAuditEntryVisibility = "INTERNAL" | "PRIVATE" | "PUBLIC"; /** The merge options available for pull requests to this repository. */ export type RepoChangeMergeSettingAuditEntryMergeType = "MERGE" | "REBASE" | "SQUASH"; /** The privacy of a repository */ export type RepoCreateAuditEntryVisibility = "INTERNAL" | "PRIVATE" | "PUBLIC"; /** The privacy of a repository */ export type RepoDestroyAuditEntryVisibility = "INTERNAL" | "PRIVATE" | "PUBLIC"; /** The privacy of a repository */ export type RepoRemoveMemberAuditEntryVisibility = "INTERNAL" | "PRIVATE" | "PUBLIC"; /** The reasons a piece of content can be reported or minimized. */ export type ReportedContentClassifiers = | "ABUSE" | "DUPLICATE" | "LOW_QUALITY" | "OFF_TOPIC" | "OUTDATED" | "RESOLVED" | "SPAM"; /** The affiliation of a user to a repository */ export type RepositoryAffiliation = "COLLABORATOR" | "ORGANIZATION_MEMBER" | "OWNER"; /** The reason a repository is listed as 'contributed'. */ export type RepositoryContributionType = | "COMMIT" | "ISSUE" | "PULL_REQUEST" | "PULL_REQUEST_REVIEW" | "REPOSITORY"; /** The allowed actors who can edit the values of a custom property. */ export type RepositoryCustomPropertyValuesEditableBy = "ORG_ACTORS" | "ORG_AND_REPO_ACTORS"; /** A repository interaction limit. */ export type RepositoryInteractionLimit = | "COLLABORATORS_ONLY" | "CONTRIBUTORS_ONLY" | "EXISTING_USERS" | "NO_LIMIT"; /** The length for a repository interaction limit to be enabled for. */ export type RepositoryInteractionLimitExpiry = | "ONE_DAY" | "ONE_MONTH" | "ONE_WEEK" | "SIX_MONTHS" | "THREE_DAYS"; /** Indicates where an interaction limit is configured. */ export type RepositoryInteractionLimitOrigin = "ORGANIZATION" | "REPOSITORY" | "USER"; /** Properties by which repository invitation connections can be ordered. */ export type RepositoryInvitationOrderField = "CREATED_AT"; /** The possible reasons a given repository could be in a locked state. */ export type RepositoryLockReason = | "BILLING" | "MIGRATING" | "MOVING" | "RENAME" | "TRADE_RESTRICTION" | "TRANSFERRING_OWNERSHIP"; /** Possible directions in which to order a list of repository migrations when provided an `orderBy` argument. */ export type RepositoryMigrationOrderDirection = "ASC" | "DESC"; /** Properties by which repository migrations can be ordered. */ export type RepositoryMigrationOrderField = "CREATED_AT"; /** Properties by which repository connections can be ordered. */ export type RepositoryOrderField = | "CREATED_AT" | "NAME" | "PUSHED_AT" | "STARGAZERS" | "UPDATED_AT"; /** The access level to a repository */ export type RepositoryPermission = | "ADMIN" | "MAINTAIN" | "READ" | "TRIAGE" | "TRIAGE_PLUS" | "WRITE"; /** The privacy of a repository */ export type RepositoryPrivacy = "PRIVATE" | "PUBLIC"; /** Properties by which repository rule connections can be ordered. */ export type RepositoryRuleOrderField = "CREATED_AT" | "TYPE" | "UPDATED_AT"; /** The rule types supported in rulesets */ export type RepositoryRuleType = | "AUTHORIZATION" | "BRANCH_NAME_PATTERN" | "CODE_COVERAGE" | "CODE_QUALITY" | "CODE_SCANNING" | "COMMITTER_EMAIL_PATTERN" | "COMMIT_AUTHOR_EMAIL_PATTERN" | "COMMIT_MESSAGE_PATTERN" | "COPILOT_CODE_REVIEW" | "CREATION" | "DELETION" | "FILE_EXTENSION_RESTRICTION" | "FILE_PATH_RESTRICTION" | "LICENSE_COMPLIANCE_SCANNING" | "LOCK_BRANCH" | "MAX_FILE_PATH_LENGTH" | "MAX_FILE_SIZE" | "MAX_REF_UPDATES" | "MERGE_QUEUE" | "MERGE_QUEUE_LOCKED_REF" | "NON_FAST_FORWARD" | "PULL_REQUEST" | "REQUIRED_DEPLOYMENTS" | "REQUIRED_LINEAR_HISTORY" | "REQUIRED_REVIEW_THREAD_RESOLUTION" | "REQUIRED_SIGNATURES" | "REQUIRED_STATUS_CHECKS" | "REQUIRED_WORKFLOW_STATUS_CHECKS" | "SECRET_SCANNING" | "TAG" | "TAG_NAME_PATTERN" | "UPDATE" | "WORKFLOWS" | "WORKFLOW_UPDATES"; /** The bypass mode for a specific actor on a ruleset. */ export type RepositoryRulesetBypassActorBypassMode = "ALWAYS" | "EXEMPT" | "PULL_REQUEST"; /** The targets supported for rulesets. */ export type RepositoryRulesetTarget = "BRANCH" | "PUSH" | "REPOSITORY" | "TAG"; /** The possible filters for suggested actors in a repository */ export type RepositorySuggestedActorFilter = "CAN_BE_ASSIGNED" | "CAN_BE_AUTHOR"; /** The repository's visibility level. */ export type RepositoryVisibility = "INTERNAL" | "PRIVATE" | "PUBLIC"; /** The possible relationships of an alert's dependency. */ export type RepositoryVulnerabilityAlertDependencyRelationship = | "DIRECT" | "INCONCLUSIVE" | "TRANSITIVE" | "UNKNOWN"; /** The possible scopes of an alert's dependency. */ export type RepositoryVulnerabilityAlertDependencyScope = "DEVELOPMENT" | "RUNTIME"; /** The possible states of an alert */ export type RepositoryVulnerabilityAlertState = "AUTO_DISMISSED" | "DISMISSED" | "FIXED" | "OPEN"; /** The possible states that can be requested when creating a check run. */ export type RequestableCheckStatusState = | "COMPLETED" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "WAITING"; /** Possible roles a user may have in relation to an organization. */ export type RoleInOrganization = "DIRECT_MEMBER" | "OWNER" | "UNAFFILIATED"; /** The level of enforcement for a rule or ruleset. */ export type RuleEnforcement = "ACTIVE" | "DISABLED" | "EVALUATE"; /** The possible digest algorithms used to sign SAML requests for an identity provider. */ export type SamlDigestAlgorithm = "SHA1" | "SHA256" | "SHA384" | "SHA512"; /** The possible signature algorithms used to sign SAML requests for a Identity Provider. */ export type SamlSignatureAlgorithm = "RSA_SHA1" | "RSA_SHA256" | "RSA_SHA384" | "RSA_SHA512"; /** Properties by which saved reply connections can be ordered. */ export type SavedReplyOrderField = "UPDATED_AT"; /** Represents the individual results of a search. */ export type SearchType = | "DISCUSSION" | "ISSUE" | "ISSUE_ADVANCED" | "ISSUE_HYBRID" | "ISSUE_SEMANTIC" | "REPOSITORY" | "USER"; /** Classification of the advisory. */ export type SecurityAdvisoryClassification = "GENERAL" | "MALWARE"; /** The possible ecosystems of a security vulnerability's package. */ export type SecurityAdvisoryEcosystem = | "ACTIONS" | "COMPOSER" | "ERLANG" | "GO" | "MAVEN" | "NPM" | "NUGET" | "PIP" | "PUB" | "RUBYGEMS" | "RUST" | "SWIFT"; /** Identifier formats available for advisories. */ export type SecurityAdvisoryIdentifierType = "CVE" | "GHSA"; /** Properties by which security advisory connections can be ordered. */ export type SecurityAdvisoryOrderField = | "EPSS_PERCENTAGE" | "EPSS_PERCENTILE" | "PUBLISHED_AT" | "UPDATED_AT"; /** Severity of the vulnerability. */ export type SecurityAdvisorySeverity = "CRITICAL" | "HIGH" | "LOW" | "MODERATE" | "UNKNOWN"; /** Properties by which security vulnerability connections can be ordered. */ export type SecurityVulnerabilityOrderField = "UPDATED_AT"; /** Software or company that hosts social media accounts. */ export type SocialAccountProvider = | "BLUESKY" | "FACEBOOK" | "GENERIC" | "HOMETOWN" | "INSTAGRAM" | "LINKEDIN" | "MASTODON" | "NPM" | "REDDIT" | "THREADS" | "TWITCH" | "TWITTER" | "YOUTUBE"; /** Properties by which sponsor and lifetime value connections can be ordered. */ export type SponsorAndLifetimeValueOrderField = | "LIFETIME_VALUE" | "SPONSOR_LOGIN" | "SPONSOR_RELEVANCE"; /** Properties by which sponsor connections can be ordered. */ export type SponsorOrderField = "LOGIN" | "RELEVANCE"; /** Properties by which sponsorable connections can be ordered. */ export type SponsorableOrderField = "LOGIN"; /** The possible actions that GitHub Sponsors activities can represent. */ export type SponsorsActivityAction = | "CANCELLED_SPONSORSHIP" | "NEW_SPONSORSHIP" | "PENDING_CHANGE" | "REFUND" | "SPONSOR_MATCH_DISABLED" | "TIER_CHANGE"; /** Properties by which GitHub Sponsors activity connections can be ordered. */ export type SponsorsActivityOrderField = "TIMESTAMP"; /** The possible time periods for which Sponsors activities can be requested. */ export type SponsorsActivityPeriod = "ALL" | "DAY" | "MONTH" | "WEEK"; /** Represents countries or regions for billing and residence for a GitHub Sponsors profile. */ export type SponsorsCountryOrRegionCode = | "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW"; /** The different kinds of goals a GitHub Sponsors member can have. */ export type SponsorsGoalKind = "MONTHLY_SPONSORSHIP_AMOUNT" | "TOTAL_SPONSORS_COUNT"; /** The different kinds of records that can be featured on a GitHub Sponsors profile page. */ export type SponsorsListingFeaturedItemFeatureableType = "REPOSITORY" | "USER"; /** Properties by which Sponsors tiers connections can be ordered. */ export type SponsorsTierOrderField = "CREATED_AT" | "MONTHLY_PRICE_IN_CENTS"; /** Properties by which sponsorship update connections can be ordered. */ export type SponsorshipNewsletterOrderField = "CREATED_AT"; /** Properties by which sponsorship connections can be ordered. */ export type SponsorshipOrderField = "CREATED_AT"; /** How payment was made for funding a GitHub Sponsors sponsorship. */ export type SponsorshipPaymentSource = "GITHUB" | "PATREON"; /** The privacy of a sponsorship */ export type SponsorshipPrivacy = "PRIVATE" | "PUBLIC"; /** The possible default commit messages for squash merges. */ export type SquashMergeCommitMessage = "BLANK" | "COMMIT_MESSAGES" | "PR_BODY"; /** The possible default commit titles for squash merges. */ export type SquashMergeCommitTitle = "COMMIT_OR_PR_TITLE" | "PR_TITLE"; /** Properties by which star connections can be ordered. */ export type StarOrderField = "STARRED_AT"; /** The possible commit status states. */ export type StatusState = "ERROR" | "EXPECTED" | "FAILURE" | "PENDING" | "SUCCESS"; /** The possible states of a subscription. */ export type SubscriptionState = "IGNORED" | "SUBSCRIBED" | "UNSUBSCRIBED"; /** Properties by which team member connections can be ordered. */ export type TeamMemberOrderField = "CREATED_AT" | "LOGIN"; /** The possible team member roles; either 'maintainer' or 'member'. */ export type TeamMemberRole = "MAINTAINER" | "MEMBER"; /** Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL. */ export type TeamMembershipType = "ALL" | "CHILD_TEAM" | "IMMEDIATE"; /** The possible team notification values. */ export type TeamNotificationSetting = "NOTIFICATIONS_DISABLED" | "NOTIFICATIONS_ENABLED"; /** Properties by which team connections can be ordered. */ export type TeamOrderField = "NAME"; /** The possible team privacy values. */ export type TeamPrivacy = "SECRET" | "VISIBLE"; /** Properties by which team repository connections can be ordered. */ export type TeamRepositoryOrderField = | "CREATED_AT" | "NAME" | "PERMISSION" | "PUSHED_AT" | "STARGAZERS" | "UPDATED_AT"; /** The possible team review assignment algorithms */ export type TeamReviewAssignmentAlgorithm = "LOAD_BALANCE" | "ROUND_ROBIN"; /** The role of a user on a team. */ export type TeamRole = "ADMIN" | "MEMBER"; /** The possible states of a thread subscription form action */ export type ThreadSubscriptionFormAction = "NONE" | "SUBSCRIBE" | "UNSUBSCRIBE"; /** The possible states of a subscription. */ export type ThreadSubscriptionState = | "DISABLED" | "IGNORING_LIST" | "IGNORING_THREAD" | "NONE" | "SUBSCRIBED_TO_LIST" | "SUBSCRIBED_TO_THREAD" | "SUBSCRIBED_TO_THREAD_EVENTS" | "SUBSCRIBED_TO_THREAD_TYPE" | "UNAVAILABLE"; /** Reason that the suggested topic is declined. */ export type TopicSuggestionDeclineReason = | "NOT_RELEVANT" | "PERSONAL_PREFERENCE" | "TOO_GENERAL" | "TOO_SPECIFIC"; /** The possible states of a tracked issue. */ export type TrackedIssueStates = "CLOSED" | "OPEN"; /** Filters by whether or not 2FA is enabled and if the method configured is considered secure or insecure. */ export type TwoFactorCredentialSecurityType = "DISABLED" | "INSECURE" | "SECURE"; /** The possible durations that a user can be blocked for. */ export type UserBlockDuration = "ONE_DAY" | "ONE_MONTH" | "ONE_WEEK" | "PERMANENT" | "THREE_DAYS"; /** Properties by which user status connections can be ordered. */ export type UserStatusOrderField = "UPDATED_AT"; /** Whether a user being viewed contains public or private information. */ export type UserViewType = "PRIVATE" | "PUBLIC"; /** Properties by which verifiable domain connections can be ordered. */ export type VerifiableDomainOrderField = "CREATED_AT" | "DOMAIN"; /** Properties by which workflow run connections can be ordered. */ export type WorkflowRunOrderField = "CREATED_AT"; /** The possible states for a workflow. */ export type WorkflowState = | "ACTIVE" | "DELETED" | "DISABLED_FORK" | "DISABLED_INACTIVITY" | "DISABLED_MANUALLY"; /** Autogenerated input type of AbortQueuedMigrations */ export interface AbortQueuedMigrationsInput { readonly clientMutationId?: string | null | undefined; readonly ownerId: string; } /** Autogenerated input type of AbortRepositoryMigration */ export interface AbortRepositoryMigrationInput { readonly clientMutationId?: string | null | undefined; readonly migrationId: string; } /** Autogenerated input type of AcceptEnterpriseAdministratorInvitation */ export interface AcceptEnterpriseAdministratorInvitationInput { readonly clientMutationId?: string | null | undefined; readonly invitationId: string; } /** Autogenerated input type of AcceptEnterpriseMemberInvitation */ export interface AcceptEnterpriseMemberInvitationInput { readonly clientMutationId?: string | null | undefined; readonly invitationId: string; } /** Autogenerated input type of AcceptTopicSuggestion */ export interface AcceptTopicSuggestionInput { readonly clientMutationId?: string | null | undefined; readonly name?: string | null | undefined; readonly repositoryId?: string | null | undefined; } /** Autogenerated input type of AccessUserNamespaceRepository */ export interface AccessUserNamespaceRepositoryInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly repositoryId: string; } /** Autogenerated input type of AddAssigneesToAssignable */ export interface AddAssigneesToAssignableInput { readonly agentAssignment?: AgentAssignmentInput | null | undefined; readonly assignableId: string; readonly assigneeIds?: ReadonlyArray | null | undefined; readonly assignees?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; } /** Autogenerated input type of AddBlockedBy */ export interface AddBlockedByInput { readonly blockingIssueId: string; readonly clientMutationId?: string | null | undefined; readonly issueId: string; } /** Autogenerated input type of AddCloseIssueReferences */ export interface AddCloseIssueReferencesInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly pullRequestIds: ReadonlyArray; } /** Autogenerated input type of AddComment */ export interface AddCommentInput { readonly body: string; readonly clientMutationId?: string | null | undefined; readonly subjectId: string; } /** Autogenerated input type of AddDiscussionComment */ export interface AddDiscussionCommentInput { readonly body: string; readonly clientMutationId?: string | null | undefined; readonly discussionId: string; readonly replyToId?: string | null | undefined; } /** Autogenerated input type of AddDiscussionPollVote */ export interface AddDiscussionPollVoteInput { readonly clientMutationId?: string | null | undefined; readonly pollOptionId: string; } /** Autogenerated input type of AddEnterpriseOrganizationMember */ export interface AddEnterpriseOrganizationMemberInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly organizationId: string; readonly role?: "ADMIN" | "MEMBER" | null | undefined; readonly userIds: ReadonlyArray; } /** Autogenerated input type of AddEnterpriseSupportEntitlement */ export interface AddEnterpriseSupportEntitlementInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly login: string; } /** Autogenerated input type of AddLabelsToLabelable */ export interface AddLabelsToLabelableInput { readonly clientMutationId?: string | null | undefined; readonly labelIds?: ReadonlyArray | null | undefined; readonly labelableId: string; readonly labels?: ReadonlyArray | null | undefined; } /** Autogenerated input type of AddProjectCard */ export interface AddProjectCardInput { readonly clientMutationId?: string | null | undefined; readonly contentId?: string | null | undefined; readonly note?: string | null | undefined; readonly projectColumnId: string; } /** Autogenerated input type of AddProjectColumn */ export interface AddProjectColumnInput { readonly clientMutationId?: string | null | undefined; readonly name: string; readonly projectId: string; } /** Autogenerated input type of AddProjectV2DraftIssue */ export interface AddProjectV2DraftIssueInput { readonly assigneeIds?: ReadonlyArray | null | undefined; readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly projectId: string; readonly title: string; } /** Autogenerated input type of AddProjectV2ItemById */ export interface AddProjectV2ItemByIdInput { readonly clientMutationId?: string | null | undefined; readonly contentId: string; readonly projectId: string; } /** Autogenerated input type of AddPullRequestCreationCapBypassUsers */ export interface AddPullRequestCreationCapBypassUsersInput { readonly clientMutationId?: string | null | undefined; readonly repositoryId: string; readonly userIds: ReadonlyArray; } /** Autogenerated input type of AddPullRequestReviewComment */ export interface AddPullRequestReviewCommentInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly commitOID?: string | null | undefined; readonly inReplyTo?: string | null | undefined; readonly path?: string | null | undefined; readonly position?: number | null | undefined; readonly pullRequestId?: string | null | undefined; readonly pullRequestReviewId?: string | null | undefined; } /** Autogenerated input type of AddPullRequestReview */ export interface AddPullRequestReviewInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly comments?: ReadonlyArray | null | undefined; readonly commitOID?: string | null | undefined; readonly event?: "APPROVE" | "COMMENT" | "DISMISS" | "REQUEST_CHANGES" | null | undefined; readonly pullRequestId: string; readonly threads?: ReadonlyArray | null | undefined; } /** Autogenerated input type of AddPullRequestReviewThread */ export interface AddPullRequestReviewThreadInput { readonly body: string; readonly clientMutationId?: string | null | undefined; readonly line?: number | null | undefined; readonly path?: string | null | undefined; readonly pullRequestId?: string | null | undefined; readonly pullRequestReviewId?: string | null | undefined; readonly side?: "LEFT" | "RIGHT" | null | undefined; readonly startLine?: number | null | undefined; readonly startSide?: "LEFT" | "RIGHT" | null | undefined; readonly subjectType?: "FILE" | "LINE" | null | undefined; } /** Autogenerated input type of AddPullRequestReviewThreadReply */ export interface AddPullRequestReviewThreadReplyInput { readonly body: string; readonly clientMutationId?: string | null | undefined; readonly pullRequestReviewId?: string | null | undefined; readonly pullRequestReviewThreadId: string; } /** Autogenerated input type of AddReaction */ export interface AddReactionInput { readonly clientMutationId?: string | null | undefined; readonly content: | "CONFUSED" | "EYES" | "HEART" | "HOORAY" | "LAUGH" | "ROCKET" | "THUMBS_DOWN" | "THUMBS_UP"; readonly subjectId: string; } /** Autogenerated input type of AddRelatesTo */ export interface AddRelatesToInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly relatedIssueId: string; } /** Autogenerated input type of AddStar */ export interface AddStarInput { readonly clientMutationId?: string | null | undefined; readonly starrableId: string; } /** Autogenerated input type of AddSubIssue */ export interface AddSubIssueInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly replaceParent?: boolean | null | undefined; readonly subIssueId?: string | null | undefined; readonly subIssueUrl?: string | null | undefined; } /** Autogenerated input type of AddUpvote */ export interface AddUpvoteInput { readonly clientMutationId?: string | null | undefined; readonly subjectId: string; } /** Autogenerated input type of AddVerifiableDomain */ export interface AddVerifiableDomainInput { readonly clientMutationId?: string | null | undefined; readonly domain: string; readonly ownerId: string; } /** Represents configuration for assigning Copilot to an issue (public variant) */ export interface AgentAssignmentInput { readonly baseRef?: string | null | undefined; readonly customAgent?: string | null | undefined; readonly customInstructions?: string | null | undefined; readonly targetRepositoryId?: string | null | undefined; } /** Autogenerated input type of ApplyPendingIssueSuggestions */ export interface ApplyPendingIssueSuggestionsInput { readonly actorId: string; readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly suggestions: ReadonlyArray; } /** Autogenerated input type of ApproveDeployments */ export interface ApproveDeploymentsInput { readonly clientMutationId?: string | null | undefined; readonly comment?: string | null | undefined; readonly environmentIds: ReadonlyArray; readonly workflowRunId: string; } /** Autogenerated input type of ApproveVerifiableDomain */ export interface ApproveVerifiableDomainInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of ArchiveProjectV2Item */ export interface ArchiveProjectV2ItemInput { readonly clientMutationId?: string | null | undefined; readonly itemId: string; readonly projectId: string; } /** Autogenerated input type of ArchivePullRequest */ export interface ArchivePullRequestInput { readonly clientMutationId?: string | null | undefined; readonly pullRequestId: string; } /** Autogenerated input type of ArchiveRepository */ export interface ArchiveRepositoryInput { readonly clientMutationId?: string | null | undefined; readonly repositoryId: string; } /** Specifies an actor (user or bot) to assign to an issue, with optional metadata such as a rationale. */ export interface AssigneeUpdateInput { readonly actorId: string; readonly confidence?: "HIGH" | "LOW" | "MEDIUM" | null | undefined; readonly rationale?: string | null | undefined; readonly suggest?: boolean | null | undefined; } /** Ordering options for Audit Log connections. */ export interface AuditLogOrder { readonly direction?: "ASC" | "DESC" | null | undefined; readonly field?: "CREATED_AT" | null | undefined; } /** Parameters to be used for the branch_name_pattern rule */ export interface BranchNamePatternParametersInput { readonly name?: string | null | undefined; readonly negate?: boolean | null | undefined; readonly operator: string; readonly pattern: string; } /** Information about a sponsorship to make for a user or organization with a GitHub Sponsors profile, as part of sponsoring many users or organizations at once. */ export interface BulkSponsorship { readonly amount: number; readonly sponsorableId?: string | null | undefined; readonly sponsorableLogin?: string | null | undefined; } /** Autogenerated input type of CancelEnterpriseAdminInvitation */ export interface CancelEnterpriseAdminInvitationInput { readonly clientMutationId?: string | null | undefined; readonly invitationId: string; } /** Autogenerated input type of CancelEnterpriseMemberInvitation */ export interface CancelEnterpriseMemberInvitationInput { readonly clientMutationId?: string | null | undefined; readonly invitationId: string; } /** Autogenerated input type of CancelSponsorship */ export interface CancelSponsorshipInput { readonly clientMutationId?: string | null | undefined; readonly sponsorId?: string | null | undefined; readonly sponsorLogin?: string | null | undefined; readonly sponsorableId?: string | null | undefined; readonly sponsorableLogin?: string | null | undefined; } /** Autogenerated input type of ChangeUserStatus */ export interface ChangeUserStatusInput { readonly clientMutationId?: string | null | undefined; readonly emoji?: string | null | undefined; readonly expiresAt?: string | null | undefined; readonly limitedAvailability?: boolean | null | undefined; readonly message?: string | null | undefined; readonly organizationId?: string | null | undefined; } /** Information from a check run analysis to specific lines of code. */ export interface CheckAnnotationData { readonly annotationLevel: "FAILURE" | "NOTICE" | "WARNING"; readonly location: CheckAnnotationRange; readonly message: string; readonly path: string; readonly rawDetails?: string | null | undefined; readonly title?: string | null | undefined; } /** Information from a check run analysis to specific lines of code. */ export interface CheckAnnotationRange { readonly endColumn?: number | null | undefined; readonly endLine: number; readonly startColumn?: number | null | undefined; readonly startLine: number; } /** Possible further actions the integrator can perform. */ export interface CheckRunAction { readonly description: string; readonly identifier: string; readonly label: string; } /** The filters that are available when fetching check runs. */ export interface CheckRunFilter { readonly appId?: number | null | undefined; readonly checkName?: string | null | undefined; readonly checkType?: "ALL" | "LATEST" | null | undefined; readonly conclusions?: | ReadonlyArray< | "ACTION_REQUIRED" | "CANCELLED" | "FAILURE" | "NEUTRAL" | "SKIPPED" | "STALE" | "STARTUP_FAILURE" | "SUCCESS" | "TIMED_OUT" > | null | undefined; readonly status?: | "COMPLETED" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "REQUESTED" | "WAITING" | null | undefined; readonly statuses?: | ReadonlyArray<"COMPLETED" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "REQUESTED" | "WAITING"> | null | undefined; } /** Descriptive details about the check run. */ export interface CheckRunOutput { readonly annotations?: ReadonlyArray | null | undefined; readonly images?: ReadonlyArray | null | undefined; readonly summary: string; readonly text?: string | null | undefined; readonly title: string; } /** Images attached to the check run output displayed in the GitHub pull request UI. */ export interface CheckRunOutputImage { readonly alt: string; readonly caption?: string | null | undefined; readonly imageUrl: string; } /** The auto-trigger preferences that are available for check suites. */ export interface CheckSuiteAutoTriggerPreference { readonly appId: string; readonly setting: boolean; } /** The filters that are available when fetching check suites. */ export interface CheckSuiteFilter { readonly appId?: number | null | undefined; readonly checkName?: string | null | undefined; } /** Autogenerated input type of ClearLabelsFromLabelable */ export interface ClearLabelsFromLabelableInput { readonly clientMutationId?: string | null | undefined; readonly labelableId: string; } /** Autogenerated input type of ClearProjectV2ItemFieldValue */ export interface ClearProjectV2ItemFieldValueInput { readonly clientMutationId?: string | null | undefined; readonly fieldId: string; readonly itemId: string; readonly projectId: string; } /** Autogenerated input type of CloneProject */ export interface CloneProjectInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly includeWorkflows: boolean; readonly name: string; readonly public?: boolean | null | undefined; readonly sourceId: string; readonly targetOwnerId: string; } /** Autogenerated input type of CloneTemplateRepository */ export interface CloneTemplateRepositoryInput { readonly clientMutationId?: string | null | undefined; readonly description?: string | null | undefined; readonly includeAllBranches?: boolean | null | undefined; readonly name: string; readonly ownerId: string; readonly repositoryId: string; readonly visibility: "INTERNAL" | "PRIVATE" | "PUBLIC"; } /** Autogenerated input type of CloseDiscussion */ export interface CloseDiscussionInput { readonly clientMutationId?: string | null | undefined; readonly discussionId: string; readonly reason?: "DUPLICATE" | "OUTDATED" | "RESOLVED" | null | undefined; } /** Autogenerated input type of CloseIssue */ export interface CloseIssueInput { readonly clientMutationId?: string | null | undefined; readonly confidence?: "HIGH" | "LOW" | "MEDIUM" | null | undefined; readonly duplicateIssueId?: string | null | undefined; readonly isSuggestion?: boolean | null | undefined; readonly issueId: string; readonly rationale?: string | null | undefined; readonly stateReason?: "COMPLETED" | "DUPLICATE" | "NOT_PLANNED" | null | undefined; } /** Autogenerated input type of ClosePullRequest */ export interface ClosePullRequestInput { readonly clientMutationId?: string | null | undefined; readonly pullRequestId: string; } /** Enforce minimum line coverage thresholds on pull requests. This rule evaluates uploaded coverage data but does not wait for coverage uploads. To ensure coverage is evaluated before merging, make each status check associated with a coverage upload a required status check. */ export interface CodeCoverageParametersInput { readonly maxCoverageDrop?: number | null | undefined; readonly minimumCoverage?: number | null | undefined; } /** Choose which severity levels of code quality results should block pull request merges. When configured, a code quality analysis must be done on the pull request before the changes can be merged. */ export interface CodeQualityParametersInput { readonly severity: "ALL" | "ERRORS" | "NOTES" | "WARNINGS"; } /** Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. */ export interface CodeScanningParametersInput { readonly codeScanningTools: ReadonlyArray; } /** A tool that must provide code scanning results for this rule to pass. */ export interface CodeScanningToolInput { readonly alertsThreshold: string; readonly securityAlertsThreshold: string; readonly tool: string; } /** Specifies an author for filtering Git commits. */ export interface CommitAuthor { readonly emails?: ReadonlyArray | null | undefined; readonly id?: string | null | undefined; } /** Parameters to be used for the commit_author_email_pattern rule */ export interface CommitAuthorEmailPatternParametersInput { readonly name?: string | null | undefined; readonly negate?: boolean | null | undefined; readonly operator: string; readonly pattern: string; } /** Ordering options for commit contribution connections. */ export interface CommitContributionOrder { readonly direction: "ASC" | "DESC"; readonly field: "COMMIT_COUNT" | "OCCURRED_AT"; } /** A message to include with a new commit */ export interface CommitMessage { readonly body?: string | null | undefined; readonly headline: string; } /** Parameters to be used for the commit_message_pattern rule */ export interface CommitMessagePatternParametersInput { readonly name?: string | null | undefined; readonly negate?: boolean | null | undefined; readonly operator: string; readonly pattern: string; } /** A git ref for a commit to be appended to. The ref must be a branch, i.e. its fully qualified name must start with `refs/heads/` (although the input is not required to be fully qualified). The Ref may be specified by its global node ID or by the `repositoryNameWithOwner` and `branchName`. ### Examples Specify a branch using a global node ID: { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } Specify a branch using `repositoryNameWithOwner` and `branchName`: { "repositoryNameWithOwner": "github/graphql-client", "branchName": "main" } */ export interface CommittableBranch { readonly branchName?: string | null | undefined; readonly id?: string | null | undefined; readonly repositoryNameWithOwner?: string | null | undefined; } /** Parameters to be used for the committer_email_pattern rule */ export interface CommitterEmailPatternParametersInput { readonly name?: string | null | undefined; readonly negate?: boolean | null | undefined; readonly operator: string; readonly pattern: string; } /** Ordering options for contribution connections. */ export interface ContributionOrder { readonly direction: "ASC" | "DESC"; } /** Autogenerated input type of ConvertProjectCardNoteToIssue */ export interface ConvertProjectCardNoteToIssueInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly projectCardId: string; readonly repositoryId: string; readonly title?: string | null | undefined; } /** Autogenerated input type of ConvertProjectV2DraftIssueItemToIssue */ export interface ConvertProjectV2DraftIssueItemToIssueInput { readonly clientMutationId?: string | null | undefined; readonly itemId: string; readonly repositoryId: string; } /** Autogenerated input type of ConvertPullRequestToDraft */ export interface ConvertPullRequestToDraftInput { readonly clientMutationId?: string | null | undefined; readonly pullRequestId: string; } /** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review and AI credits. */ export interface CopilotCodeReviewParametersInput { readonly reviewDraftPullRequests?: boolean | null | undefined; readonly reviewOnPush?: boolean | null | undefined; } /** Autogenerated input type of CopyProjectV2 */ export interface CopyProjectV2Input { readonly clientMutationId?: string | null | undefined; readonly includeDraftIssues?: boolean | null | undefined; readonly ownerId: string; readonly projectId: string; readonly title: string; } /** Autogenerated input type of CreateAttributionInvitation */ export interface CreateAttributionInvitationInput { readonly clientMutationId?: string | null | undefined; readonly ownerId: string; readonly sourceId: string; readonly targetId: string; } /** Autogenerated input type of CreateBranchProtectionRule */ export interface CreateBranchProtectionRuleInput { readonly allowsDeletions?: boolean | null | undefined; readonly allowsForcePushes?: boolean | null | undefined; readonly blocksCreations?: boolean | null | undefined; readonly bypassForcePushActorIds?: ReadonlyArray | null | undefined; readonly bypassPullRequestActorIds?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; readonly dismissesStaleReviews?: boolean | null | undefined; readonly isAdminEnforced?: boolean | null | undefined; readonly lockAllowsFetchAndMerge?: boolean | null | undefined; readonly lockBranch?: boolean | null | undefined; readonly pattern: string; readonly pushActorIds?: ReadonlyArray | null | undefined; readonly repositoryId: string; readonly requireLastPushApproval?: boolean | null | undefined; readonly requiredApprovingReviewCount?: number | null | undefined; readonly requiredDeploymentEnvironments?: ReadonlyArray | null | undefined; readonly requiredStatusCheckContexts?: ReadonlyArray | null | undefined; readonly requiredStatusChecks?: ReadonlyArray | null | undefined; readonly requiresApprovingReviews?: boolean | null | undefined; readonly requiresCodeOwnerReviews?: boolean | null | undefined; readonly requiresCommitSignatures?: boolean | null | undefined; readonly requiresConversationResolution?: boolean | null | undefined; readonly requiresDeployments?: boolean | null | undefined; readonly requiresLinearHistory?: boolean | null | undefined; readonly requiresStatusChecks?: boolean | null | undefined; readonly requiresStrictStatusChecks?: boolean | null | undefined; readonly restrictsPushes?: boolean | null | undefined; readonly restrictsReviewDismissals?: boolean | null | undefined; readonly reviewDismissalActorIds?: ReadonlyArray | null | undefined; } /** Autogenerated input type of CreateCheckRun */ export interface CreateCheckRunInput { readonly actions?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; readonly completedAt?: string | null | undefined; readonly conclusion?: | "ACTION_REQUIRED" | "CANCELLED" | "FAILURE" | "NEUTRAL" | "SKIPPED" | "STALE" | "STARTUP_FAILURE" | "SUCCESS" | "TIMED_OUT" | null | undefined; readonly detailsUrl?: string | null | undefined; readonly externalId?: string | null | undefined; readonly headSha: string; readonly name: string; readonly output?: CheckRunOutput | null | undefined; readonly repositoryId: string; readonly startedAt?: string | null | undefined; readonly status?: | "COMPLETED" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "WAITING" | null | undefined; } /** Autogenerated input type of CreateCheckSuite */ export interface CreateCheckSuiteInput { readonly clientMutationId?: string | null | undefined; readonly headSha: string; readonly repositoryId: string; } /** Autogenerated input type of CreateCommitOnBranch */ export interface CreateCommitOnBranchInput { readonly branch: CommittableBranch; readonly clientMutationId?: string | null | undefined; readonly expectedHeadOid: string; readonly fileChanges?: FileChanges | null | undefined; readonly message: CommitMessage; } /** Autogenerated input type of CreateDeployment */ export interface CreateDeploymentInput { readonly autoMerge?: boolean | null | undefined; readonly clientMutationId?: string | null | undefined; readonly description?: string | null | undefined; readonly environment?: string | null | undefined; readonly payload?: string | null | undefined; readonly refId: string; readonly repositoryId: string; readonly requiredContexts?: ReadonlyArray | null | undefined; readonly task?: string | null | undefined; } /** Autogenerated input type of CreateDeploymentStatus */ export interface CreateDeploymentStatusInput { readonly autoInactive?: boolean | null | undefined; readonly clientMutationId?: string | null | undefined; readonly deploymentId: string; readonly description?: string | null | undefined; readonly environment?: string | null | undefined; readonly environmentUrl?: string | null | undefined; readonly logUrl?: string | null | undefined; readonly state: | "ERROR" | "FAILURE" | "INACTIVE" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "SUCCESS" | "WAITING"; } /** Autogenerated input type of CreateDiscussion */ export interface CreateDiscussionInput { readonly body: string; readonly categoryId: string; readonly clientMutationId?: string | null | undefined; readonly repositoryId: string; readonly title: string; } /** Autogenerated input type of CreateEnterpriseOrganization */ export interface CreateEnterpriseOrganizationInput { readonly adminLogins: ReadonlyArray; readonly billingEmail: string; readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly login: string; readonly profileName: string; } /** Autogenerated input type of CreateEnvironment */ export interface CreateEnvironmentInput { readonly clientMutationId?: string | null | undefined; readonly name: string; readonly repositoryId: string; } /** Autogenerated input type of CreateIpAllowListEntry */ export interface CreateIpAllowListEntryInput { readonly allowListValue: string; readonly clientMutationId?: string | null | undefined; readonly isActive: boolean; readonly name?: string | null | undefined; readonly ownerId: string; } /** Autogenerated input type of CreateIssueField */ export interface CreateIssueFieldInput { readonly clientMutationId?: string | null | undefined; readonly dataType: "DATE" | "MULTI_SELECT" | "NUMBER" | "SINGLE_SELECT" | "TEXT"; readonly description?: string | null | undefined; readonly name: string; readonly options?: ReadonlyArray | null | undefined; readonly ownerId: string; readonly visibility?: "ALL" | "ORG_ONLY" | null | undefined; } /** Autogenerated input type of CreateIssueFieldValue */ export interface CreateIssueFieldValueInput { readonly clientMutationId?: string | null | undefined; readonly issueField: IssueFieldCreateOrUpdateInput; readonly issueId: string; } /** Autogenerated input type of CreateIssue */ export interface CreateIssueInput { readonly agentAssignment?: AgentAssignmentInput | null | undefined; readonly assigneeIds?: ReadonlyArray | null | undefined; readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly issueFields?: ReadonlyArray | null | undefined; readonly issueTemplate?: string | null | undefined; readonly issueTypeId?: string | null | undefined; readonly labelIds?: ReadonlyArray | null | undefined; readonly milestoneId?: string | null | undefined; readonly parentIssueId?: string | null | undefined; readonly projectIds?: ReadonlyArray | null | undefined; readonly projectV2Ids?: ReadonlyArray | null | undefined; readonly repositoryId: string; readonly title: string; } /** Autogenerated input type of CreateIssueType */ export interface CreateIssueTypeInput { readonly clientMutationId?: string | null | undefined; readonly color?: | "BLUE" | "GRAY" | "GREEN" | "ORANGE" | "PINK" | "PURPLE" | "RED" | "YELLOW" | null | undefined; readonly description?: string | null | undefined; readonly isEnabled: boolean; readonly name: string; readonly ownerId: string; } /** Autogenerated input type of CreateLabel */ export interface CreateLabelInput { readonly clientMutationId?: string | null | undefined; readonly color: string; readonly description?: string | null | undefined; readonly name: string; readonly repositoryId: string; } /** Autogenerated input type of CreateLinkedBranch */ export interface CreateLinkedBranchInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly name?: string | null | undefined; readonly oid: string; readonly repositoryId?: string | null | undefined; } /** Autogenerated input type of CreateMigrationSource */ export interface CreateMigrationSourceInput { readonly accessToken?: string | Redacted.Redacted | null | undefined; readonly clientMutationId?: string | null | undefined; readonly githubPat?: string | null | undefined; readonly name: string; readonly ownerId: string; readonly type: "AZURE_DEVOPS" | "BITBUCKET_SERVER" | "GITHUB_ARCHIVE" | "GITLAB"; readonly url?: string | null | undefined; } /** Autogenerated input type of CreateProject */ export interface CreateProjectInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly name: string; readonly ownerId: string; readonly repositoryIds?: ReadonlyArray | null | undefined; readonly template?: | "AUTOMATED_KANBAN_V2" | "AUTOMATED_REVIEWS_KANBAN" | "BASIC_KANBAN" | "BUG_TRIAGE" | null | undefined; } /** Autogenerated input type of CreateProjectV2Field */ export interface CreateProjectV2FieldInput { readonly clientMutationId?: string | null | undefined; readonly dataType: "DATE" | "ITERATION" | "MULTI_SELECT" | "NUMBER" | "SINGLE_SELECT" | "TEXT"; readonly iterationConfiguration?: ProjectV2IterationFieldConfigurationInput | null | undefined; readonly multiSelectOptions?: | ReadonlyArray | null | undefined; readonly name: string; readonly projectId: string; readonly singleSelectOptions?: | ReadonlyArray | null | undefined; } /** Autogenerated input type of CreateProjectV2 */ export interface CreateProjectV2Input { readonly clientMutationId?: string | null | undefined; readonly ownerId: string; readonly repositoryId?: string | null | undefined; readonly teamId?: string | null | undefined; readonly title: string; } /** Autogenerated input type of CreateProjectV2IssueField */ export interface CreateProjectV2IssueFieldInput { readonly clientMutationId?: string | null | undefined; readonly issueFieldId: string; readonly projectId: string; } /** Autogenerated input type of CreateProjectV2StatusUpdate */ export interface CreateProjectV2StatusUpdateInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly projectId: string; readonly startDate?: string | null | undefined; readonly status?: | "AT_RISK" | "COMPLETE" | "INACTIVE" | "OFF_TRACK" | "ON_TRACK" | null | undefined; readonly targetDate?: string | null | undefined; } /** Autogenerated input type of CreateProjectV2View */ export interface CreateProjectV2ViewInput { readonly clientMutationId?: string | null | undefined; readonly configuration?: ProjectV2ViewConfigurationInput | null | undefined; readonly layout: "BOARD_LAYOUT" | "ROADMAP_LAYOUT" | "TABLE_LAYOUT"; readonly name: string; readonly projectId: string; } /** Autogenerated input type of CreatePullRequest */ export interface CreatePullRequestInput { readonly baseRefName: string; readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly draft?: boolean | null | undefined; readonly headRefName: string; readonly headRepositoryId?: string | null | undefined; readonly maintainerCanModify?: boolean | null | undefined; readonly repositoryId: string; readonly title: string; } /** Autogenerated input type of CreateRef */ export interface CreateRefInput { readonly clientMutationId?: string | null | undefined; readonly name: string; readonly oid: string; readonly repositoryId: string; } /** Autogenerated input type of CreateRepositoryCustomProperty */ export interface CreateRepositoryCustomPropertyInput { readonly allowedValues?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; readonly defaultValue?: string | null | undefined; readonly description?: string | null | undefined; readonly propertyName: string; readonly regex?: string | null | undefined; readonly requireExplicitValues?: boolean | null | undefined; readonly required?: boolean | null | undefined; readonly sourceId: string; readonly valueType: "MULTI_SELECT" | "SINGLE_SELECT" | "STRING" | "TRUE_FALSE" | "URL"; readonly valuesEditableBy?: "ORG_ACTORS" | "ORG_AND_REPO_ACTORS" | null | undefined; } /** Autogenerated input type of CreateRepository */ export interface CreateRepositoryInput { readonly clientMutationId?: string | null | undefined; readonly description?: string | null | undefined; readonly hasIssuesEnabled?: boolean | null | undefined; readonly hasWikiEnabled?: boolean | null | undefined; readonly homepageUrl?: string | null | undefined; readonly name: string; readonly ownerId?: string | null | undefined; readonly teamId?: string | null | undefined; readonly template?: boolean | null | undefined; readonly visibility: "INTERNAL" | "PRIVATE" | "PUBLIC"; } /** Autogenerated input type of CreateRepositoryRuleset */ export interface CreateRepositoryRulesetInput { readonly bypassActors?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; readonly conditions: RepositoryRuleConditionsInput; readonly enforcement: "ACTIVE" | "DISABLED" | "EVALUATE"; readonly name: string; readonly rules?: ReadonlyArray | null | undefined; readonly sourceId: string; readonly target?: "BRANCH" | "PUSH" | "REPOSITORY" | "TAG" | null | undefined; } /** Autogenerated input type of CreateSponsorsListing */ export interface CreateSponsorsListingInput { readonly billingCountryOrRegionCode?: | "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW" | null | undefined; readonly clientMutationId?: string | null | undefined; readonly contactEmail?: string | null | undefined; readonly fiscalHostLogin?: string | null | undefined; readonly fiscallyHostedProjectProfileUrl?: string | null | undefined; readonly fullDescription?: string | null | undefined; readonly residenceCountryOrRegionCode?: | "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW" | null | undefined; readonly sponsorableLogin?: string | null | undefined; } /** Autogenerated input type of CreateSponsorsTier */ export interface CreateSponsorsTierInput { readonly amount: number; readonly clientMutationId?: string | null | undefined; readonly description: string; readonly isRecurring?: boolean | null | undefined; readonly publish?: boolean | null | undefined; readonly repositoryId?: string | null | undefined; readonly repositoryName?: string | null | undefined; readonly repositoryOwnerLogin?: string | null | undefined; readonly sponsorableId?: string | null | undefined; readonly sponsorableLogin?: string | null | undefined; readonly welcomeMessage?: string | null | undefined; } /** Autogenerated input type of CreateSponsorship */ export interface CreateSponsorshipInput { readonly amount?: number | null | undefined; readonly clientMutationId?: string | null | undefined; readonly isRecurring?: boolean | null | undefined; readonly privacyLevel?: "PRIVATE" | "PUBLIC" | null | undefined; readonly receiveEmails?: boolean | null | undefined; readonly sponsorId?: string | null | undefined; readonly sponsorLogin?: string | null | undefined; readonly sponsorableId?: string | null | undefined; readonly sponsorableLogin?: string | null | undefined; readonly tierId?: string | null | undefined; } /** Autogenerated input type of CreateSponsorships */ export interface CreateSponsorshipsInput { readonly clientMutationId?: string | null | undefined; readonly privacyLevel?: "PRIVATE" | "PUBLIC" | null | undefined; readonly receiveEmails?: boolean | null | undefined; readonly recurring?: boolean | null | undefined; readonly sponsorLogin: string; readonly sponsorships: ReadonlyArray; } /** Autogenerated input type of CreateUserList */ export interface CreateUserListInput { readonly clientMutationId?: string | null | undefined; readonly description?: string | null | undefined; readonly isPrivate?: boolean | null | undefined; readonly name: string; } /** The custom property name and value to be set. */ export interface CustomPropertyValueInput { readonly propertyName: string; readonly value?: unknown | null | undefined; } /** Autogenerated input type of DeclineTopicSuggestion */ export interface DeclineTopicSuggestionInput { readonly clientMutationId?: string | null | undefined; readonly name?: string | null | undefined; readonly reason?: | "NOT_RELEVANT" | "PERSONAL_PREFERENCE" | "TOO_GENERAL" | "TOO_SPECIFIC" | null | undefined; readonly repositoryId?: string | null | undefined; } /** Autogenerated input type of DeleteBranchProtectionRule */ export interface DeleteBranchProtectionRuleInput { readonly branchProtectionRuleId: string; readonly clientMutationId?: string | null | undefined; } /** Autogenerated input type of DeleteDeployment */ export interface DeleteDeploymentInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of DeleteDiscussionComment */ export interface DeleteDiscussionCommentInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of DeleteDiscussion */ export interface DeleteDiscussionInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of DeleteEnvironment */ export interface DeleteEnvironmentInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of DeleteIpAllowListEntry */ export interface DeleteIpAllowListEntryInput { readonly clientMutationId?: string | null | undefined; readonly ipAllowListEntryId: string; } /** Autogenerated input type of DeleteIssueComment */ export interface DeleteIssueCommentInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of DeleteIssueField */ export interface DeleteIssueFieldInput { readonly clientMutationId?: string | null | undefined; readonly fieldId: string; } /** Autogenerated input type of DeleteIssueFieldValue */ export interface DeleteIssueFieldValueInput { readonly clientMutationId?: string | null | undefined; readonly fieldId: string; readonly issueId: string; } /** Autogenerated input type of DeleteIssue */ export interface DeleteIssueInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; } /** Autogenerated input type of DeleteIssueType */ export interface DeleteIssueTypeInput { readonly clientMutationId?: string | null | undefined; readonly issueTypeId: string; } /** Autogenerated input type of DeleteLabel */ export interface DeleteLabelInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of DeleteLinkedBranch */ export interface DeleteLinkedBranchInput { readonly clientMutationId?: string | null | undefined; readonly linkedBranchId: string; } /** Autogenerated input type of DeletePackageVersion */ export interface DeletePackageVersionInput { readonly clientMutationId?: string | null | undefined; readonly packageVersionId: string; } /** Autogenerated input type of DeleteProjectCard */ export interface DeleteProjectCardInput { readonly cardId: string; readonly clientMutationId?: string | null | undefined; } /** Autogenerated input type of DeleteProjectColumn */ export interface DeleteProjectColumnInput { readonly clientMutationId?: string | null | undefined; readonly columnId: string; } /** Autogenerated input type of DeleteProject */ export interface DeleteProjectInput { readonly clientMutationId?: string | null | undefined; readonly projectId: string; } /** Autogenerated input type of DeleteProjectV2Field */ export interface DeleteProjectV2FieldInput { readonly clientMutationId?: string | null | undefined; readonly fieldId: string; } /** Autogenerated input type of DeleteProjectV2 */ export interface DeleteProjectV2Input { readonly clientMutationId?: string | null | undefined; readonly projectId: string; } /** Autogenerated input type of DeleteProjectV2Item */ export interface DeleteProjectV2ItemInput { readonly clientMutationId?: string | null | undefined; readonly itemId: string; readonly projectId: string; } /** Autogenerated input type of DeleteProjectV2StatusUpdate */ export interface DeleteProjectV2StatusUpdateInput { readonly clientMutationId?: string | null | undefined; readonly statusUpdateId: string; } /** Autogenerated input type of DeleteProjectV2View */ export interface DeleteProjectV2ViewInput { readonly clientMutationId?: string | null | undefined; readonly viewId: string; } /** Autogenerated input type of DeleteProjectV2Workflow */ export interface DeleteProjectV2WorkflowInput { readonly clientMutationId?: string | null | undefined; readonly workflowId: string; } /** Autogenerated input type of DeletePullRequestReviewComment */ export interface DeletePullRequestReviewCommentInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of DeletePullRequestReview */ export interface DeletePullRequestReviewInput { readonly clientMutationId?: string | null | undefined; readonly pullRequestReviewId: string; } /** Autogenerated input type of DeleteRef */ export interface DeleteRefInput { readonly clientMutationId?: string | null | undefined; readonly refId: string; } /** Autogenerated input type of DeleteRepositoryCustomProperty */ export interface DeleteRepositoryCustomPropertyInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of DeleteRepositoryRuleset */ export interface DeleteRepositoryRulesetInput { readonly clientMutationId?: string | null | undefined; readonly repositoryRulesetId: string; } /** Autogenerated input type of DeleteUserList */ export interface DeleteUserListInput { readonly clientMutationId?: string | null | undefined; readonly listId: string; } /** Autogenerated input type of DeleteVerifiableDomain */ export interface DeleteVerifiableDomainInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Ordering options for deployment connections */ export interface DeploymentOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Autogenerated input type of DequeuePullRequest */ export interface DequeuePullRequestInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of DisablePullRequestAutoMerge */ export interface DisablePullRequestAutoMergeInput { readonly clientMutationId?: string | null | undefined; readonly pullRequestId: string; } /** Ways in which lists of discussions can be ordered upon return. */ export interface DiscussionOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "UPDATED_AT"; } /** Ordering options for discussion poll option connections. */ export interface DiscussionPollOptionOrder { readonly direction: "ASC" | "DESC"; readonly field: "AUTHORED_ORDER" | "VOTE_COUNT"; } /** Autogenerated input type of DismissPullRequestReview */ export interface DismissPullRequestReviewInput { readonly clientMutationId?: string | null | undefined; readonly message: string; readonly pullRequestReviewId: string; } /** Autogenerated input type of DismissRepositoryVulnerabilityAlert */ export interface DismissRepositoryVulnerabilityAlertInput { readonly clientMutationId?: string | null | undefined; readonly dismissReason: | "FIX_STARTED" | "INACCURATE" | "NOT_USED" | "NO_BANDWIDTH" | "TOLERABLE_RISK"; readonly repositoryVulnerabilityAlertId: string; } /** Specify people, teams, or apps allowed to dismiss pull request reviews. */ export interface DismissalRestrictionInput { readonly allowedActors?: ReadonlyArray | null | undefined; readonly enabled: boolean; } /** Specifies a review comment to be left with a Pull Request Review. */ export interface DraftPullRequestReviewComment { readonly body: string; readonly path: string; readonly position: number; } /** Specifies a review comment thread to be left with a Pull Request Review. */ export interface DraftPullRequestReviewThread { readonly body: string; readonly line?: number | null | undefined; readonly path?: string | null | undefined; readonly side?: "LEFT" | "RIGHT" | null | undefined; readonly startLine?: number | null | undefined; readonly startSide?: "LEFT" | "RIGHT" | null | undefined; } /** Autogenerated input type of EnablePullRequestAutoMerge */ export interface EnablePullRequestAutoMergeInput { readonly authorEmail?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly commitBody?: string | null | undefined; readonly commitHeadline?: string | null | undefined; readonly expectedHeadOid?: string | null | undefined; readonly mergeMethod?: "MERGE" | "REBASE" | "SQUASH" | null | undefined; readonly pullRequestId: string; } /** Autogenerated input type of EnqueuePullRequest */ export interface EnqueuePullRequestInput { readonly clientMutationId?: string | null | undefined; readonly expectedHeadOid?: string | null | undefined; readonly jump?: boolean | null | undefined; readonly pullRequestId: string; } /** Ordering options for enterprise administrator invitation connections */ export interface EnterpriseAdministratorInvitationOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Ordering options for enterprise administrator invitation connections */ export interface EnterpriseMemberInvitationOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Ordering options for enterprise member connections. */ export interface EnterpriseMemberOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "LOGIN"; } /** Ordering options for enterprises. */ export interface EnterpriseOrder { readonly direction: "ASC" | "DESC"; readonly field: "NAME"; } /** Ordering options for Enterprise Server installation connections. */ export interface EnterpriseServerInstallationOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "CUSTOMER_NAME" | "HOST_NAME"; } /** Ordering options for Enterprise Server user account email connections. */ export interface EnterpriseServerUserAccountEmailOrder { readonly direction: "ASC" | "DESC"; readonly field: "EMAIL"; } /** Ordering options for Enterprise Server user account connections. */ export interface EnterpriseServerUserAccountOrder { readonly direction: "ASC" | "DESC"; readonly field: "LOGIN" | "REMOTE_CREATED_AT"; } /** Ordering options for Enterprise Server user accounts upload connections. */ export interface EnterpriseServerUserAccountsUploadOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Ordering options for enterprise team member connections. */ export interface EnterpriseTeamMemberOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "ID" | "LOGIN"; } /** Ordering options for enterprise team connections. */ export interface EnterpriseTeamOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "ID" | "NAME"; } /** Ordering options for enterprise team organization connections. */ export interface EnterpriseTeamOrganizationOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "ID" | "LOGIN"; } /** Ordering options for environments */ export interface Environments { readonly direction: "ASC" | "DESC"; readonly field: "NAME"; } /** A command to add a file at the given path with the given contents as part of a commit. Any existing file at that that path will be replaced. */ export interface FileAddition { readonly contents: string; readonly path: string; } /** A description of a set of changes to a file tree to be made as part of a git commit, modeled as zero or more file `additions` and zero or more file `deletions`. Both fields are optional; omitting both will produce a commit with no file changes. `deletions` and `additions` describe changes to files identified by their path in the git tree using unix-style path separators, i.e. `/`. The root of a git tree is an empty string, so paths are not slash-prefixed. `path` values must be unique across all `additions` and `deletions` provided. Any duplication will result in a validation error. ### Encoding File contents must be provided in full for each `FileAddition`. The `contents` of a `FileAddition` must be encoded using RFC 4648 compliant base64, i.e. correct padding is required and no characters outside the standard alphabet may be used. Invalid base64 encoding will be rejected with a validation error. The encoded contents may be binary. For text files, no assumptions are made about the character encoding of the file contents (after base64 decoding). No charset transcoding or line-ending normalization will be performed; it is the client's responsibility to manage the character encoding of files they provide. However, for maximum compatibility we recommend using UTF-8 encoding and ensuring that all files in a repository use a consistent line-ending convention (`\n` or `\r\n`), and that all files end with a newline. ### Modeling file changes Each of the the five types of conceptual changes that can be made in a git commit can be described using the `FileChanges` type as follows: 1. New file addition: create file `hello world\n` at path `docs/README.txt`: { "additions" [ { "path": "docs/README.txt", "contents": base64encode("hello world\n") } ] } 2. Existing file modification: change existing `docs/README.txt` to have new content `new content here\n`: { "additions" [ { "path": "docs/README.txt", "contents": base64encode("new content here\n") } ] } 3. Existing file deletion: remove existing file `docs/README.txt`. Note that the path is required to exist -- specifying a path that does not exist on the given branch will abort the commit and return an error. { "deletions" [ { "path": "docs/README.txt" } ] } 4. File rename with no changes: rename `docs/README.txt` with previous content `hello world\n` to the same content at `newdocs/README.txt`: { "deletions" [ { "path": "docs/README.txt", } ], "additions" [ { "path": "newdocs/README.txt", "contents": base64encode("hello world\n") } ] } 5. File rename with changes: rename `docs/README.txt` with previous content `hello world\n` to a file at path `newdocs/README.txt` with content `new contents\n`: { "deletions" [ { "path": "docs/README.txt", } ], "additions" [ { "path": "newdocs/README.txt", "contents": base64encode("new contents\n") } ] } */ export interface FileChanges { readonly additions?: ReadonlyArray | null | undefined; readonly deletions?: ReadonlyArray | null | undefined; } /** A command to delete the file at the given path as part of a commit. */ export interface FileDeletion { readonly path: string; } /** Prevent commits that include files with specified file extensions from being pushed to the commit graph. */ export interface FileExtensionRestrictionParametersInput { readonly restrictedFileExtensions: ReadonlyArray; } /** Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. This includes absolute paths that contain file names. */ export interface FilePathRestrictionParametersInput { readonly ignoredFilePaths?: ReadonlyArray | null | undefined; readonly restrictedFilePaths: ReadonlyArray; } /** Autogenerated input type of FollowOrganization */ export interface FollowOrganizationInput { readonly clientMutationId?: string | null | undefined; readonly organizationId: string; } /** Autogenerated input type of FollowUser */ export interface FollowUserInput { readonly clientMutationId?: string | null | undefined; readonly userId: string; } /** Ordering options for gist connections */ export interface GistOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "PUSHED_AT" | "UPDATED_AT"; } /** Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole */ export interface GrantEnterpriseOrganizationsMigratorRoleInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly login: string; } /** Autogenerated input type of GrantMigratorRole */ export interface GrantMigratorRoleInput { readonly actor: string; readonly actorType: "TEAM" | "USER"; readonly clientMutationId?: string | null | undefined; readonly organizationId: string; } /** Autogenerated input type of ImportProject */ export interface ImportProjectInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly columnImports: ReadonlyArray; readonly name: string; readonly ownerName: string; readonly public?: boolean | null | undefined; } /** Autogenerated input type of InviteEnterpriseAdmin */ export interface InviteEnterpriseAdminInput { readonly clientMutationId?: string | null | undefined; readonly email?: string | null | undefined; readonly enterpriseId: string; readonly invitee?: string | null | undefined; readonly role?: "BILLING_MANAGER" | "OWNER" | "UNAFFILIATED" | null | undefined; } /** Autogenerated input type of InviteEnterpriseMember */ export interface InviteEnterpriseMemberInput { readonly clientMutationId?: string | null | undefined; readonly email?: string | null | undefined; readonly enterpriseId: string; readonly invitee?: string | null | undefined; } /** Ordering options for IP allow list entry connections. */ export interface IpAllowListEntryOrder { readonly direction: "ASC" | "DESC"; readonly field: "ALLOW_LIST_VALUE" | "CREATED_AT"; } /** Ways in which lists of issue comments can be ordered upon return. */ export interface IssueCommentOrder { readonly direction: "ASC" | "DESC"; readonly field: "UPDATED_AT"; } /** Ordering options issue dependencies */ export interface IssueDependencyOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "DEPENDENCY_ADDED_AT"; } /** Represents an issue field value that must be set on an issue during issue creation */ export interface IssueFieldCreateOrUpdateInput { readonly confidence?: "HIGH" | "LOW" | "MEDIUM" | null | undefined; readonly dateValue?: string | null | undefined; readonly delete?: boolean | null | undefined; readonly fieldId: string; readonly multiSelectOptionIds?: ReadonlyArray | null | undefined; readonly numberValue?: number | null | undefined; readonly rationale?: string | null | undefined; readonly singleSelectOptionId?: string | null | undefined; readonly suggest?: boolean | null | undefined; readonly textValue?: string | null | undefined; } /** Ordering options for issue field connections */ export interface IssueFieldOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "NAME"; } /** A single selection option for an issue field. */ export interface IssueFieldSingleSelectOptionInput { readonly color: "BLUE" | "GRAY" | "GREEN" | "ORANGE" | "PINK" | "PURPLE" | "RED" | "YELLOW"; readonly description?: string | null | undefined; readonly name: string; readonly priority: number; } /** Updates an issue field using its user-facing name. */ export interface IssueFieldUpdateInput { readonly fieldName: string; readonly operation: "ADD" | "CLEAR" | "REMOVE" | "SET"; readonly value?: string | null | undefined; } /** A filter for matching an issue field value. Exactly one value argument should be provided. */ export interface IssueFieldValueFilter { readonly dateValue?: string | null | undefined; readonly fieldId?: string | null | undefined; readonly fieldName?: string | null | undefined; readonly multiSelectOptionIds?: ReadonlyArray | null | undefined; readonly multiSelectOptionValues?: ReadonlyArray | null | undefined; readonly numberValue?: number | null | undefined; readonly singleSelectOptionId?: string | null | undefined; readonly singleSelectOptionValue?: string | null | undefined; readonly textValue?: string | null | undefined; } /** Ways in which to filter lists of issues. */ export interface IssueFilters { readonly assignee?: string | null | undefined; readonly createdBy?: string | null | undefined; readonly issueFieldValues?: ReadonlyArray | null | undefined; readonly labels?: ReadonlyArray | null | undefined; readonly mentioned?: string | null | undefined; readonly milestone?: string | null | undefined; readonly milestoneNumber?: string | null | undefined; readonly since?: string | null | undefined; readonly states?: ReadonlyArray<"CLOSED" | "OPEN"> | null | undefined; readonly type?: string | null | undefined; readonly viewerSubscribed?: boolean | null | undefined; } /** Ways in which lists of issues can be ordered upon return. */ export interface IssueOrder { readonly direction: "ASC" | "DESC"; readonly field: "COMMENTS" | "CREATED_AT" | "UPDATED_AT"; } /** Ordering options for related issues */ export interface IssueRelatesToOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "RELATES_TO_ADDED_AT"; } /** Specifies a target state for an issue, with optional metadata such as a rationale, close reason, or duplicate reference. Suggestion metadata (`rationale`, `confidence`, `suggest`) is only meaningful when `value` is `CLOSED`; it is silently ignored otherwise. */ export interface IssueStateUpdateInput { readonly confidence?: "HIGH" | "LOW" | "MEDIUM" | null | undefined; readonly duplicateIssueId?: string | null | undefined; readonly rationale?: string | null | undefined; readonly stateReason?: "COMPLETED" | "DUPLICATE" | "NOT_PLANNED" | null | undefined; readonly suggest?: boolean | null | undefined; readonly value: "CLOSED" | "OPEN"; } /** Ordering options for issue types connections */ export interface IssueTypeOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "NAME"; } /** Specifies an Issue Type to set on an issue, with optional metadata such as a rationale. */ export interface IssueTypeUpdateInput { readonly confidence?: "HIGH" | "LOW" | "MEDIUM" | null | undefined; readonly issueTypeId?: string | null | undefined; readonly rationale?: string | null | undefined; readonly suggest?: boolean | null | undefined; } /** Ways in which lists of labels can be ordered upon return. */ export interface LabelOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "ISSUE_COUNT" | "NAME"; } /** Specifies a Label to set on an issue, with optional metadata such as a rationale. */ export interface LabelUpdateInput { readonly confidence?: "HIGH" | "LOW" | "MEDIUM" | null | undefined; readonly labelId: string; readonly rationale?: string | null | undefined; readonly suggest?: boolean | null | undefined; } /** Ordering options for language connections. */ export interface LanguageOrder { readonly direction: "ASC" | "DESC"; readonly field: "SIZE"; } /** Autogenerated input type of LinkProjectV2ToRepository */ export interface LinkProjectV2ToRepositoryInput { readonly clientMutationId?: string | null | undefined; readonly projectId: string; readonly repositoryId: string; } /** Autogenerated input type of LinkProjectV2ToTeam */ export interface LinkProjectV2ToTeamInput { readonly clientMutationId?: string | null | undefined; readonly projectId: string; readonly teamId: string; } /** Autogenerated input type of LinkRepositoryToProject */ export interface LinkRepositoryToProjectInput { readonly clientMutationId?: string | null | undefined; readonly projectId: string; readonly repositoryId: string; } /** Autogenerated input type of LockLockable */ export interface LockLockableInput { readonly clientMutationId?: string | null | undefined; readonly lockReason?: "OFF_TOPIC" | "RESOLVED" | "SPAM" | "TOO_HEATED" | null | undefined; readonly lockableId: string; } /** Ordering options for mannequins. */ export interface MannequinOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "LOGIN"; } /** Autogenerated input type of MarkDiscussionCommentAsAnswer */ export interface MarkDiscussionCommentAsAnswerInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of MarkFileAsViewed */ export interface MarkFileAsViewedInput { readonly clientMutationId?: string | null | undefined; readonly path: string; readonly pullRequestId: string; } /** Autogenerated input type of MarkProjectV2AsTemplate */ export interface MarkProjectV2AsTemplateInput { readonly clientMutationId?: string | null | undefined; readonly projectId: string; } /** Autogenerated input type of MarkPullRequestReadyForReview */ export interface MarkPullRequestReadyForReviewInput { readonly clientMutationId?: string | null | undefined; readonly pullRequestId: string; } /** Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. */ export interface MaxFilePathLengthParametersInput { readonly maxFilePathLength: number; } /** Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. */ export interface MaxFileSizeParametersInput { readonly ignoredFilePaths?: ReadonlyArray | null | undefined; readonly maxFileSize: number; } /** Autogenerated input type of MergeBranch */ export interface MergeBranchInput { readonly authorEmail?: string | null | undefined; readonly base: string; readonly clientMutationId?: string | null | undefined; readonly commitMessage?: string | null | undefined; readonly head: string; readonly repositoryId: string; } /** Autogenerated input type of MergePullRequest */ export interface MergePullRequestInput { readonly authorEmail?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly commitBody?: string | null | undefined; readonly commitHeadline?: string | null | undefined; readonly expectedHeadOid?: string | null | undefined; readonly mergeMethod?: "MERGE" | "REBASE" | "SQUASH" | null | undefined; readonly pullRequestId: string; } /** Merges must be performed via a merge queue. */ export interface MergeQueueParametersInput { readonly checkResponseTimeoutMinutes: number; readonly groupingStrategy: "ALLGREEN" | "HEADGREEN"; readonly maxEntriesToBuild: number; readonly maxEntriesToMerge: number; readonly mergeMethod: "MERGE" | "REBASE" | "SQUASH"; readonly minEntriesToMerge: number; readonly minEntriesToMergeWaitMinutes: number; } /** Ordering options for milestone connections. */ export interface MilestoneOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "DUE_DATE" | "NUMBER" | "UPDATED_AT"; } /** Autogenerated input type of MinimizeComment */ export interface MinimizeCommentInput { readonly classifier: | "ABUSE" | "DUPLICATE" | "LOW_QUALITY" | "OFF_TOPIC" | "OUTDATED" | "RESOLVED" | "SPAM"; readonly clientMutationId?: string | null | undefined; readonly subjectId: string; } /** Autogenerated input type of MoveProjectCard */ export interface MoveProjectCardInput { readonly afterCardId?: string | null | undefined; readonly cardId: string; readonly clientMutationId?: string | null | undefined; readonly columnId: string; } /** Autogenerated input type of MoveProjectColumn */ export interface MoveProjectColumnInput { readonly afterColumnId?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly columnId: string; } /** Ordering options for an organization's enterprise owner connections. */ export interface OrgEnterpriseOwnerOrder { readonly direction: "ASC" | "DESC"; readonly field: "LOGIN"; } /** Ordering options for organization connections. */ export interface OrganizationOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "LOGIN"; } /** Parameters to be used for the organization_property condition */ export interface OrganizationPropertyConditionTargetInput { readonly exclude: ReadonlyArray; readonly include: ReadonlyArray; } /** A property that must match */ export interface OrganizationPropertyTargetDefinitionInput { readonly name: string; readonly propertyValues: ReadonlyArray; } /** Ways in which lists of package files can be ordered upon return. */ export interface PackageFileOrder { readonly direction?: "ASC" | "DESC" | null | undefined; readonly field?: "CREATED_AT" | null | undefined; } /** Ways in which lists of packages can be ordered upon return. */ export interface PackageOrder { readonly direction?: "ASC" | "DESC" | null | undefined; readonly field?: "CREATED_AT" | null | undefined; } /** Ways in which lists of package versions can be ordered upon return. */ export interface PackageVersionOrder { readonly direction?: "ASC" | "DESC" | null | undefined; readonly field?: "CREATED_AT" | null | undefined; } /** A reference to a single pending issue suggestion to apply. */ export interface PendingIssueSuggestionRef { readonly assigneeId?: string | null | undefined; readonly issueFieldId?: string | null | undefined; readonly issueTypeId?: string | null | undefined; readonly kind: "ASSIGNEE" | "CLOSE" | "FIELD" | "LABEL" | "TYPE"; readonly labelId?: string | null | undefined; } /** Autogenerated input type of PinEnvironment */ export interface PinEnvironmentInput { readonly clientMutationId?: string | null | undefined; readonly environmentId: string; readonly pinned: boolean; } /** Autogenerated input type of PinIssueComment */ export interface PinIssueCommentInput { readonly clientMutationId?: string | null | undefined; readonly issueCommentId: string; } /** Autogenerated input type of PinIssue */ export interface PinIssueInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; } /** Ordering options for pinned environments */ export interface PinnedEnvironmentOrder { readonly direction: "ASC" | "DESC"; readonly field: "POSITION"; } /** An issue or PR and its owning repository to be used in a project card. */ export interface ProjectCardImport { readonly number: number; readonly repository: string; } /** A project column and a list of its issues and PRs. */ export interface ProjectColumnImport { readonly columnName: string; readonly issues?: ReadonlyArray | null | undefined; readonly position: number; } /** Ways in which lists of projects can be ordered upon return. */ export interface ProjectOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "NAME" | "UPDATED_AT"; } /** A collaborator to update on a project. Only one of the userId or teamId should be provided. */ export interface ProjectV2Collaborator { readonly role: "ADMIN" | "NONE" | "READER" | "WRITER"; readonly teamId?: string | null | undefined; readonly userId?: string | null | undefined; } /** Ordering options for project v2 field connections */ export interface ProjectV2FieldOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "NAME" | "POSITION"; } /** The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time. */ export interface ProjectV2FieldValue { readonly date?: string | null | undefined; readonly iterationId?: string | null | undefined; readonly multiSelectOptionIds?: ReadonlyArray | null | undefined; readonly number?: number | null | undefined; readonly singleSelectOptionId?: string | null | undefined; readonly text?: string | null | undefined; } /** Ways in which to filter lists of projects. */ export interface ProjectV2Filters { readonly state?: "CLOSED" | "OPEN" | null | undefined; } /** Ordering options for project v2 item field value connections */ export interface ProjectV2ItemFieldValueOrder { readonly direction: "ASC" | "DESC"; readonly field: "POSITION"; } /** Ordering options for project v2 item connections */ export interface ProjectV2ItemOrder { readonly direction: "ASC" | "DESC"; readonly field: "POSITION"; } /** Represents an iteration */ export interface ProjectV2Iteration { readonly duration: number; readonly id?: string | null | undefined; readonly startDate: string; readonly title: string; } /** Represents an iteration field configuration. */ export interface ProjectV2IterationFieldConfigurationInput { readonly duration: number; readonly iterations: ReadonlyArray; readonly startDate: string; } /** Represents a multi select field option */ export interface ProjectV2MultiSelectFieldOptionInput { readonly color: "BLUE" | "GRAY" | "GREEN" | "ORANGE" | "PINK" | "PURPLE" | "RED" | "YELLOW"; readonly description: string; readonly id?: string | null | undefined; readonly name: string; } /** Ways in which lists of projects can be ordered upon return. */ export interface ProjectV2Order { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "NUMBER" | "TITLE" | "UPDATED_AT"; } /** Represents a single select field option */ export interface ProjectV2SingleSelectFieldOptionInput { readonly color: "BLUE" | "GRAY" | "GREEN" | "ORANGE" | "PINK" | "PURPLE" | "RED" | "YELLOW"; readonly description: string; readonly id?: string | null | undefined; readonly name: string; } /** Ways in which project v2 status updates can be ordered. */ export interface ProjectV2StatusOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Configuration for a ProjectV2 view. */ export interface ProjectV2ViewConfigurationInput { readonly visibleFieldIds?: ReadonlyArray | null | undefined; } /** Ordering options for project v2 view connections */ export interface ProjectV2ViewOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "NAME" | "POSITION"; } /** Ordering options for project v2 workflows connections */ export interface ProjectV2WorkflowOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "NAME" | "NUMBER" | "UPDATED_AT"; } /** Autogenerated input type of PromoteRepositoryCustomProperty */ export interface PromoteRepositoryCustomPropertyInput { readonly clientMutationId?: string | null | undefined; readonly repositoryCustomPropertyId: string; } /** A property that must match */ export interface PropertyTargetDefinitionInput { readonly name: string; readonly propertyValues: ReadonlyArray; readonly source?: string | null | undefined; } /** Autogenerated input type of PublishSponsorsTier */ export interface PublishSponsorsTierInput { readonly clientMutationId?: string | null | undefined; readonly tierId: string; } /** Ways in which lists of issues can be ordered upon return. */ export interface PullRequestOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "UPDATED_AT"; } /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ export interface PullRequestParametersInput { readonly allowedMergeMethods?: ReadonlyArray<"MERGE" | "REBASE" | "SQUASH"> | null | undefined; readonly dismissStaleReviewsOnPush: boolean; readonly dismissalRestriction?: DismissalRestrictionInput | null | undefined; readonly requireCodeOwnerReview: boolean; readonly requireExtraApprovalForUnattributedChanges?: boolean | null | undefined; readonly requireLastPushApproval: boolean; readonly requiredApprovingReviewCount: number; readonly requiredReviewThreadResolution: boolean; readonly requiredReviewers?: ReadonlyArray | null | undefined; } /** Ways in which lists of reactions can be ordered upon return. */ export interface ReactionOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Parameters to be used for the ref_name condition */ export interface RefNameConditionTargetInput { readonly exclude: ReadonlyArray; readonly include: ReadonlyArray; } /** Ways in which lists of git refs can be ordered upon return. */ export interface RefOrder { readonly direction: "ASC" | "DESC"; readonly field: "ALPHABETICAL" | "TAG_COMMIT_DATE"; } /** A ref update */ export interface RefUpdate { readonly afterOid: string; readonly beforeOid?: string | null | undefined; readonly force?: boolean | null | undefined; readonly name: string; } /** Autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes */ export interface RegenerateEnterpriseIdentityProviderRecoveryCodesInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; } /** Autogenerated input type of RegenerateVerifiableDomainToken */ export interface RegenerateVerifiableDomainTokenInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of RejectDeployments */ export interface RejectDeploymentsInput { readonly clientMutationId?: string | null | undefined; readonly comment?: string | null | undefined; readonly environmentIds: ReadonlyArray; readonly workflowRunId: string; } /** Autogenerated input type of RejectPendingIssueSuggestions */ export interface RejectPendingIssueSuggestionsInput { readonly actorId: string; readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly suggestions: ReadonlyArray; } /** Ways in which lists of releases can be ordered upon return. */ export interface ReleaseOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "NAME"; } /** Autogenerated input type of RemoveAssigneesFromAssignable */ export interface RemoveAssigneesFromAssignableInput { readonly assignableId: string; readonly assigneeIds: ReadonlyArray; readonly clientMutationId?: string | null | undefined; } /** Autogenerated input type of RemoveBlockedBy */ export interface RemoveBlockedByInput { readonly blockingIssueId: string; readonly clientMutationId?: string | null | undefined; readonly issueId: string; } /** Autogenerated input type of RemoveCloseIssueReferences */ export interface RemoveCloseIssueReferencesInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly pullRequestIds: ReadonlyArray; } /** Autogenerated input type of RemoveEnterpriseAdmin */ export interface RemoveEnterpriseAdminInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly login: string; } /** Autogenerated input type of RemoveEnterpriseIdentityProvider */ export interface RemoveEnterpriseIdentityProviderInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; } /** Autogenerated input type of RemoveEnterpriseMember */ export interface RemoveEnterpriseMemberInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly userId: string; } /** Autogenerated input type of RemoveEnterpriseOrganization */ export interface RemoveEnterpriseOrganizationInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly organizationId: string; } /** Autogenerated input type of RemoveEnterpriseSupportEntitlement */ export interface RemoveEnterpriseSupportEntitlementInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly login: string; } /** Autogenerated input type of RemoveLabelsFromLabelable */ export interface RemoveLabelsFromLabelableInput { readonly clientMutationId?: string | null | undefined; readonly labelIds: ReadonlyArray; readonly labelableId: string; } /** Autogenerated input type of RemoveOutsideCollaborator */ export interface RemoveOutsideCollaboratorInput { readonly clientMutationId?: string | null | undefined; readonly organizationId: string; readonly userId: string; } /** Autogenerated input type of RemovePullRequestCreationCapBypassUsers */ export interface RemovePullRequestCreationCapBypassUsersInput { readonly clientMutationId?: string | null | undefined; readonly repositoryId: string; readonly userIds: ReadonlyArray; } /** Autogenerated input type of RemoveReaction */ export interface RemoveReactionInput { readonly clientMutationId?: string | null | undefined; readonly content: | "CONFUSED" | "EYES" | "HEART" | "HOORAY" | "LAUGH" | "ROCKET" | "THUMBS_DOWN" | "THUMBS_UP"; readonly subjectId: string; } /** Autogenerated input type of RemoveRelatesTo */ export interface RemoveRelatesToInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly relatedIssueId: string; } /** Autogenerated input type of RemoveStar */ export interface RemoveStarInput { readonly clientMutationId?: string | null | undefined; readonly starrableId: string; } /** Autogenerated input type of RemoveSubIssue */ export interface RemoveSubIssueInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly subIssueId: string; } /** Autogenerated input type of RemoveUpvote */ export interface RemoveUpvoteInput { readonly clientMutationId?: string | null | undefined; readonly subjectId: string; } /** Autogenerated input type of ReopenDiscussion */ export interface ReopenDiscussionInput { readonly clientMutationId?: string | null | undefined; readonly discussionId: string; } /** Autogenerated input type of ReopenIssue */ export interface ReopenIssueInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; } /** Autogenerated input type of ReopenPullRequest */ export interface ReopenPullRequestInput { readonly clientMutationId?: string | null | undefined; readonly pullRequestId: string; } /** Autogenerated input type of ReorderEnvironment */ export interface ReorderEnvironmentInput { readonly clientMutationId?: string | null | undefined; readonly environmentId: string; readonly position: number; } /** Autogenerated input type of ReplaceActorsForAssignable */ export interface ReplaceActorsForAssignableInput { readonly actorIds?: ReadonlyArray | null | undefined; readonly actorLogins?: ReadonlyArray | null | undefined; readonly agentAssignment?: AgentAssignmentInput | null | undefined; readonly assignableId: string; readonly assignees?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; } /** Parameters to be used for the repository_id condition */ export interface RepositoryIdConditionTargetInput { readonly repositoryIds: ReadonlyArray; } /** Ordering options for repository invitation connections. */ export interface RepositoryInvitationOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Ordering options for repository migrations. */ export interface RepositoryMigrationOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Parameters to be used for the repository_name condition */ export interface RepositoryNameConditionTargetInput { readonly exclude: ReadonlyArray; readonly include: ReadonlyArray; readonly protected?: boolean | null | undefined; } /** Ordering options for repository connections */ export interface RepositoryOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "NAME" | "PUSHED_AT" | "STARGAZERS" | "UPDATED_AT"; } /** Parameters to be used for the repository_property condition */ export interface RepositoryPropertyConditionTargetInput { readonly exclude: ReadonlyArray; readonly include: ReadonlyArray; } /** Specifies the conditions required for a ruleset to evaluate */ export interface RepositoryRuleConditionsInput { readonly organizationProperty?: OrganizationPropertyConditionTargetInput | null | undefined; readonly refName?: RefNameConditionTargetInput | null | undefined; readonly repositoryId?: RepositoryIdConditionTargetInput | null | undefined; readonly repositoryName?: RepositoryNameConditionTargetInput | null | undefined; readonly repositoryProperty?: RepositoryPropertyConditionTargetInput | null | undefined; } /** Specifies the attributes for a new or updated rule. */ export interface RepositoryRuleInput { readonly id?: string | null | undefined; readonly parameters?: RuleParametersInput | null | undefined; readonly type: | "AUTHORIZATION" | "BRANCH_NAME_PATTERN" | "CODE_COVERAGE" | "CODE_QUALITY" | "CODE_SCANNING" | "COMMITTER_EMAIL_PATTERN" | "COMMIT_AUTHOR_EMAIL_PATTERN" | "COMMIT_MESSAGE_PATTERN" | "COPILOT_CODE_REVIEW" | "CREATION" | "DELETION" | "FILE_EXTENSION_RESTRICTION" | "FILE_PATH_RESTRICTION" | "LICENSE_COMPLIANCE_SCANNING" | "LOCK_BRANCH" | "MAX_FILE_PATH_LENGTH" | "MAX_FILE_SIZE" | "MAX_REF_UPDATES" | "MERGE_QUEUE" | "MERGE_QUEUE_LOCKED_REF" | "NON_FAST_FORWARD" | "PULL_REQUEST" | "REQUIRED_DEPLOYMENTS" | "REQUIRED_LINEAR_HISTORY" | "REQUIRED_REVIEW_THREAD_RESOLUTION" | "REQUIRED_SIGNATURES" | "REQUIRED_STATUS_CHECKS" | "REQUIRED_WORKFLOW_STATUS_CHECKS" | "SECRET_SCANNING" | "TAG" | "TAG_NAME_PATTERN" | "UPDATE" | "WORKFLOWS" | "WORKFLOW_UPDATES"; } /** Ordering options for repository rules. */ export interface RepositoryRuleOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "TYPE" | "UPDATED_AT"; } /** Specifies the attributes for a new or updated ruleset bypass actor. Exactly one of `actor_id`, `repository_role_database_id`, `organization_admin`, `enterprise_owner`, `enterprise_role_database_id`, or `deploy_key` should be specified. */ export interface RepositoryRulesetBypassActorInput { readonly actorId?: string | null | undefined; readonly bypassMode: "ALWAYS" | "EXEMPT" | "PULL_REQUEST"; readonly deployKey?: boolean | null | undefined; readonly enterpriseOwner?: boolean | null | undefined; readonly enterpriseRole?: boolean | null | undefined; readonly enterpriseRoleDatabaseId?: string | null | undefined; readonly organizationAdmin?: boolean | null | undefined; readonly repositoryRoleDatabaseId?: number | null | undefined; } /** Autogenerated input type of ReprioritizeSubIssue */ export interface ReprioritizeSubIssueInput { readonly afterId?: string | null | undefined; readonly beforeId?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly subIssueId: string; } /** Autogenerated input type of RequestReviewsByLogin */ export interface RequestReviewsByLoginInput { readonly botLogins?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; readonly pullRequestId: string; readonly teamSlugs?: ReadonlyArray | null | undefined; readonly union?: boolean | null | undefined; readonly userLogins?: ReadonlyArray | null | undefined; } /** Autogenerated input type of RequestReviews */ export interface RequestReviewsInput { readonly botIds?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; readonly pullRequestId: string; readonly teamIds?: ReadonlyArray | null | undefined; readonly union?: boolean | null | undefined; readonly userIds?: ReadonlyArray | null | undefined; } /** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */ export interface RequiredDeploymentsParametersInput { readonly requiredDeploymentEnvironments: ReadonlyArray; } /** A reviewing team, and file patterns describing which files they must approve changes to. */ export interface RequiredReviewerConfigurationInput { readonly filePatterns: ReadonlyArray; readonly minimumApprovals: number; readonly reviewerId: string; } /** Specifies the attributes for a new or updated required status check. */ export interface RequiredStatusCheckInput { readonly appId?: string | null | undefined; readonly context: string; } /** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */ export interface RequiredStatusChecksParametersInput { readonly doNotEnforceOnCreate?: boolean | null | undefined; readonly requiredStatusChecks: ReadonlyArray; readonly strictRequiredStatusChecksPolicy: boolean; } /** Autogenerated input type of RerequestCheckSuite */ export interface RerequestCheckSuiteInput { readonly checkSuiteId: string; readonly clientMutationId?: string | null | undefined; readonly repositoryId: string; } /** Autogenerated input type of RerequestReviews */ export interface RerequestReviewsInput { readonly botIds?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; readonly pullRequestId: string; readonly teamIds?: ReadonlyArray | null | undefined; readonly userIds?: ReadonlyArray | null | undefined; } /** Autogenerated input type of ResolveReviewThread */ export interface ResolveReviewThreadInput { readonly clientMutationId?: string | null | undefined; readonly resolutionReason?: "ADDRESSED" | "INVALID" | "WONT_FIX" | null | undefined; readonly threadId: string; } /** Autogenerated input type of RetireSponsorsTier */ export interface RetireSponsorsTierInput { readonly clientMutationId?: string | null | undefined; readonly tierId: string; } /** Autogenerated input type of RevertPullRequest */ export interface RevertPullRequestInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly draft?: boolean | null | undefined; readonly pullRequestId: string; readonly title?: string | null | undefined; } /** Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole */ export interface RevokeEnterpriseOrganizationsMigratorRoleInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly login: string; } /** Autogenerated input type of RevokeMigratorRole */ export interface RevokeMigratorRoleInput { readonly actor: string; readonly actorType: "TEAM" | "USER"; readonly clientMutationId?: string | null | undefined; readonly organizationId: string; } /** Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. */ export interface RuleParametersInput { readonly branchNamePattern?: BranchNamePatternParametersInput | null | undefined; readonly codeCoverage?: CodeCoverageParametersInput | null | undefined; readonly codeQuality?: CodeQualityParametersInput | null | undefined; readonly codeScanning?: CodeScanningParametersInput | null | undefined; readonly commitAuthorEmailPattern?: CommitAuthorEmailPatternParametersInput | null | undefined; readonly commitMessagePattern?: CommitMessagePatternParametersInput | null | undefined; readonly committerEmailPattern?: CommitterEmailPatternParametersInput | null | undefined; readonly copilotCodeReview?: CopilotCodeReviewParametersInput | null | undefined; readonly fileExtensionRestriction?: FileExtensionRestrictionParametersInput | null | undefined; readonly filePathRestriction?: FilePathRestrictionParametersInput | null | undefined; readonly maxFilePathLength?: MaxFilePathLengthParametersInput | null | undefined; readonly maxFileSize?: MaxFileSizeParametersInput | null | undefined; readonly mergeQueue?: MergeQueueParametersInput | null | undefined; readonly pullRequest?: PullRequestParametersInput | null | undefined; readonly requiredDeployments?: RequiredDeploymentsParametersInput | null | undefined; readonly requiredStatusChecks?: RequiredStatusChecksParametersInput | null | undefined; readonly tagNamePattern?: TagNamePatternParametersInput | null | undefined; readonly update?: UpdateParametersInput | null | undefined; readonly workflows?: WorkflowsParametersInput | null | undefined; } /** Ordering options for saved reply connections. */ export interface SavedReplyOrder { readonly direction: "ASC" | "DESC"; readonly field: "UPDATED_AT"; } /** An advisory identifier to filter results on. */ export interface SecurityAdvisoryIdentifierFilter { readonly type: "CVE" | "GHSA"; readonly value: string; } /** Ordering options for security advisory connections */ export interface SecurityAdvisoryOrder { readonly direction: "ASC" | "DESC"; readonly field: "EPSS_PERCENTAGE" | "EPSS_PERCENTILE" | "PUBLISHED_AT" | "UPDATED_AT"; } /** Ordering options for security vulnerability connections */ export interface SecurityVulnerabilityOrder { readonly direction: "ASC" | "DESC"; readonly field: "UPDATED_AT"; } /** Autogenerated input type of SetEnterpriseIdentityProvider */ export interface SetEnterpriseIdentityProviderInput { readonly clientMutationId?: string | null | undefined; readonly digestMethod: "SHA1" | "SHA256" | "SHA384" | "SHA512"; readonly enterpriseId: string; readonly idpCertificate: string; readonly issuer?: string | null | undefined; readonly signatureMethod: "RSA_SHA1" | "RSA_SHA256" | "RSA_SHA384" | "RSA_SHA512"; readonly ssoUrl: string; } /** Autogenerated input type of SetIssueFieldValue */ export interface SetIssueFieldValueInput { readonly clientMutationId?: string | null | undefined; readonly issueFields: ReadonlyArray; readonly issueId: string; } /** Autogenerated input type of SetOrganizationInteractionLimit */ export interface SetOrganizationInteractionLimitInput { readonly clientMutationId?: string | null | undefined; readonly expiry?: | "ONE_DAY" | "ONE_MONTH" | "ONE_WEEK" | "SIX_MONTHS" | "THREE_DAYS" | null | undefined; readonly limit: "COLLABORATORS_ONLY" | "CONTRIBUTORS_ONLY" | "EXISTING_USERS" | "NO_LIMIT"; readonly organizationId: string; } /** Autogenerated input type of SetRepositoryCustomPropertyValues */ export interface SetRepositoryCustomPropertyValuesInput { readonly clientMutationId?: string | null | undefined; readonly properties: ReadonlyArray; readonly repositoryId: string; } /** Autogenerated input type of SetRepositoryInteractionLimit */ export interface SetRepositoryInteractionLimitInput { readonly clientMutationId?: string | null | undefined; readonly expiry?: | "ONE_DAY" | "ONE_MONTH" | "ONE_WEEK" | "SIX_MONTHS" | "THREE_DAYS" | null | undefined; readonly limit: "COLLABORATORS_ONLY" | "CONTRIBUTORS_ONLY" | "EXISTING_USERS" | "NO_LIMIT"; readonly repositoryId: string; } /** Autogenerated input type of SetUserInteractionLimit */ export interface SetUserInteractionLimitInput { readonly clientMutationId?: string | null | undefined; readonly expiry?: | "ONE_DAY" | "ONE_MONTH" | "ONE_WEEK" | "SIX_MONTHS" | "THREE_DAYS" | null | undefined; readonly limit: "COLLABORATORS_ONLY" | "CONTRIBUTORS_ONLY" | "EXISTING_USERS" | "NO_LIMIT"; readonly userId: string; } /** Ordering options for connections to get sponsor entities and associated USD amounts for GitHub Sponsors. */ export interface SponsorAndLifetimeValueOrder { readonly direction: "ASC" | "DESC"; readonly field: "LIFETIME_VALUE" | "SPONSOR_LOGIN" | "SPONSOR_RELEVANCE"; } /** Ordering options for connections to get sponsor entities for GitHub Sponsors. */ export interface SponsorOrder { readonly direction: "ASC" | "DESC"; readonly field: "LOGIN" | "RELEVANCE"; } /** Ordering options for connections to get sponsorable entities for GitHub Sponsors. */ export interface SponsorableOrder { readonly direction: "ASC" | "DESC"; readonly field: "LOGIN"; } /** Ordering options for GitHub Sponsors activity connections. */ export interface SponsorsActivityOrder { readonly direction: "ASC" | "DESC"; readonly field: "TIMESTAMP"; } /** Ordering options for Sponsors tiers connections. */ export interface SponsorsTierOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "MONTHLY_PRICE_IN_CENTS"; } /** Ordering options for sponsorship newsletter connections. */ export interface SponsorshipNewsletterOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Ordering options for sponsorship connections. */ export interface SponsorshipOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Ways in which star connections can be ordered. */ export interface StarOrder { readonly direction: "ASC" | "DESC"; readonly field: "STARRED_AT"; } /** Autogenerated input type of StartOrganizationMigration */ export interface StartOrganizationMigrationInput { readonly clientMutationId?: string | null | undefined; readonly sourceAccessToken: string | Redacted.Redacted; readonly sourceOrgUrl: string; readonly targetEnterpriseId: string; readonly targetOrgName: string; } /** Autogenerated input type of StartRepositoryMigration */ export interface StartRepositoryMigrationInput { readonly accessToken?: string | Redacted.Redacted | null | undefined; readonly clientMutationId?: string | null | undefined; readonly continueOnError?: boolean | null | undefined; readonly gitArchiveUrl?: string | null | undefined; readonly githubPat?: string | null | undefined; readonly lockSource?: boolean | null | undefined; readonly metadataArchiveUrl?: string | null | undefined; readonly ownerId: string; readonly repositoryName: string; readonly skipReleases?: boolean | null | undefined; readonly sourceId: string; readonly sourceRepositoryUrl: string; readonly targetRepoVisibility?: string | null | undefined; } /** Required status check */ export interface StatusCheckConfigurationInput { readonly context: string; readonly integrationId?: number | null | undefined; } /** Autogenerated input type of SubmitPullRequestReview */ export interface SubmitPullRequestReviewInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly event: "APPROVE" | "COMMENT" | "DISMISS" | "REQUEST_CHANGES"; readonly pullRequestId?: string | null | undefined; readonly pullRequestReviewId?: string | null | undefined; } /** Parameters to be used for the tag_name_pattern rule */ export interface TagNamePatternParametersInput { readonly name?: string | null | undefined; readonly negate?: boolean | null | undefined; readonly operator: string; readonly pattern: string; } /** Ordering options for team member connections */ export interface TeamMemberOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "LOGIN"; } /** Ways in which team connections can be ordered. */ export interface TeamOrder { readonly direction: "ASC" | "DESC"; readonly field: "NAME"; } /** Ordering options for team repository connections */ export interface TeamRepositoryOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "NAME" | "PERMISSION" | "PUSHED_AT" | "STARGAZERS" | "UPDATED_AT"; } /** Autogenerated input type of TransferEnterpriseOrganization */ export interface TransferEnterpriseOrganizationInput { readonly clientMutationId?: string | null | undefined; readonly destinationEnterpriseId: string; readonly organizationId: string; } /** Autogenerated input type of TransferIssue */ export interface TransferIssueInput { readonly clientMutationId?: string | null | undefined; readonly createLabelsIfMissing?: boolean | null | undefined; readonly issueId: string; readonly repositoryId: string; } /** Autogenerated input type of UnarchiveProjectV2Item */ export interface UnarchiveProjectV2ItemInput { readonly clientMutationId?: string | null | undefined; readonly itemId: string; readonly projectId: string; } /** Autogenerated input type of UnarchivePullRequest */ export interface UnarchivePullRequestInput { readonly clientMutationId?: string | null | undefined; readonly pullRequestId: string; } /** Autogenerated input type of UnarchiveRepository */ export interface UnarchiveRepositoryInput { readonly clientMutationId?: string | null | undefined; readonly repositoryId: string; } /** Autogenerated input type of UnfollowOrganization */ export interface UnfollowOrganizationInput { readonly clientMutationId?: string | null | undefined; readonly organizationId: string; } /** Autogenerated input type of UnfollowUser */ export interface UnfollowUserInput { readonly clientMutationId?: string | null | undefined; readonly userId: string; } /** Autogenerated input type of UnlinkProjectV2FromRepository */ export interface UnlinkProjectV2FromRepositoryInput { readonly clientMutationId?: string | null | undefined; readonly projectId: string; readonly repositoryId: string; } /** Autogenerated input type of UnlinkProjectV2FromTeam */ export interface UnlinkProjectV2FromTeamInput { readonly clientMutationId?: string | null | undefined; readonly projectId: string; readonly teamId: string; } /** Autogenerated input type of UnlinkRepositoryFromProject */ export interface UnlinkRepositoryFromProjectInput { readonly clientMutationId?: string | null | undefined; readonly projectId: string; readonly repositoryId: string; } /** Autogenerated input type of UnlockLockable */ export interface UnlockLockableInput { readonly clientMutationId?: string | null | undefined; readonly lockableId: string; } /** Autogenerated input type of UnmarkDiscussionCommentAsAnswer */ export interface UnmarkDiscussionCommentAsAnswerInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of UnmarkFileAsViewed */ export interface UnmarkFileAsViewedInput { readonly clientMutationId?: string | null | undefined; readonly path: string; readonly pullRequestId: string; } /** Autogenerated input type of UnmarkIssueAsDuplicate */ export interface UnmarkIssueAsDuplicateInput { readonly canonicalId: string; readonly clientMutationId?: string | null | undefined; readonly duplicateId: string; } /** Autogenerated input type of UnmarkProjectV2AsTemplate */ export interface UnmarkProjectV2AsTemplateInput { readonly clientMutationId?: string | null | undefined; readonly projectId: string; } /** Autogenerated input type of UnminimizeComment */ export interface UnminimizeCommentInput { readonly clientMutationId?: string | null | undefined; readonly subjectId: string; } /** Autogenerated input type of UnpinIssueComment */ export interface UnpinIssueCommentInput { readonly clientMutationId?: string | null | undefined; readonly issueCommentId: string; } /** Autogenerated input type of UnpinIssue */ export interface UnpinIssueInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; } /** Autogenerated input type of UnresolveReviewThread */ export interface UnresolveReviewThreadInput { readonly clientMutationId?: string | null | undefined; readonly threadId: string; } /** Autogenerated input type of UpdateBranchProtectionRule */ export interface UpdateBranchProtectionRuleInput { readonly allowsDeletions?: boolean | null | undefined; readonly allowsForcePushes?: boolean | null | undefined; readonly blocksCreations?: boolean | null | undefined; readonly branchProtectionRuleId: string; readonly bypassForcePushActorIds?: ReadonlyArray | null | undefined; readonly bypassPullRequestActorIds?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; readonly dismissesStaleReviews?: boolean | null | undefined; readonly isAdminEnforced?: boolean | null | undefined; readonly lockAllowsFetchAndMerge?: boolean | null | undefined; readonly lockBranch?: boolean | null | undefined; readonly pattern?: string | null | undefined; readonly pushActorIds?: ReadonlyArray | null | undefined; readonly requireLastPushApproval?: boolean | null | undefined; readonly requiredApprovingReviewCount?: number | null | undefined; readonly requiredDeploymentEnvironments?: ReadonlyArray | null | undefined; readonly requiredStatusCheckContexts?: ReadonlyArray | null | undefined; readonly requiredStatusChecks?: ReadonlyArray | null | undefined; readonly requiresApprovingReviews?: boolean | null | undefined; readonly requiresCodeOwnerReviews?: boolean | null | undefined; readonly requiresCommitSignatures?: boolean | null | undefined; readonly requiresConversationResolution?: boolean | null | undefined; readonly requiresDeployments?: boolean | null | undefined; readonly requiresLinearHistory?: boolean | null | undefined; readonly requiresStatusChecks?: boolean | null | undefined; readonly requiresStrictStatusChecks?: boolean | null | undefined; readonly restrictsPushes?: boolean | null | undefined; readonly restrictsReviewDismissals?: boolean | null | undefined; readonly reviewDismissalActorIds?: ReadonlyArray | null | undefined; } /** Autogenerated input type of UpdateCheckRun */ export interface UpdateCheckRunInput { readonly actions?: ReadonlyArray | null | undefined; readonly checkRunId: string; readonly clientMutationId?: string | null | undefined; readonly completedAt?: string | null | undefined; readonly conclusion?: | "ACTION_REQUIRED" | "CANCELLED" | "FAILURE" | "NEUTRAL" | "SKIPPED" | "STALE" | "STARTUP_FAILURE" | "SUCCESS" | "TIMED_OUT" | null | undefined; readonly detailsUrl?: string | null | undefined; readonly externalId?: string | null | undefined; readonly name?: string | null | undefined; readonly output?: CheckRunOutput | null | undefined; readonly repositoryId: string; readonly startedAt?: string | null | undefined; readonly status?: | "COMPLETED" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "WAITING" | null | undefined; } /** Autogenerated input type of UpdateCheckSuitePreferences */ export interface UpdateCheckSuitePreferencesInput { readonly autoTriggerPreferences: ReadonlyArray; readonly clientMutationId?: string | null | undefined; readonly repositoryId: string; } /** Autogenerated input type of UpdateDiscussionComment */ export interface UpdateDiscussionCommentInput { readonly body: string; readonly clientMutationId?: string | null | undefined; readonly commentId: string; } /** Autogenerated input type of UpdateDiscussion */ export interface UpdateDiscussionInput { readonly body?: string | null | undefined; readonly categoryId?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly discussionId: string; readonly title?: string | null | undefined; } /** Autogenerated input type of UpdateEnterpriseAdministratorRole */ export interface UpdateEnterpriseAdministratorRoleInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly login: string; readonly role: "BILLING_MANAGER" | "OWNER" | "UNAFFILIATED"; } /** Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting */ export interface UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly policyValue?: | "ENTERPRISE_ORGANIZATIONS" | "ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS" | "EVERYWHERE" | "SAME_ORGANIZATION" | "SAME_ORGANIZATION_USER_ACCOUNTS" | "USER_ACCOUNTS" | null | undefined; readonly settingValue: "DISABLED" | "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting */ export interface UpdateEnterpriseDefaultRepositoryPermissionSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "ADMIN" | "NONE" | "NO_POLICY" | "READ" | "WRITE"; } /** Autogenerated input type of UpdateEnterpriseDeployKeySetting */ export interface UpdateEnterpriseDeployKeySettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "DISABLED" | "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting */ export interface UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "DISABLED" | "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting */ export interface UpdateEnterpriseMembersCanCreateRepositoriesSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly membersCanCreateInternalRepositories?: boolean | null | undefined; readonly membersCanCreatePrivateRepositories?: boolean | null | undefined; readonly membersCanCreatePublicRepositories?: boolean | null | undefined; readonly membersCanCreateRepositoriesPolicyEnabled?: boolean | null | undefined; readonly settingValue?: | "ALL" | "DISABLED" | "NO_POLICY" | "PRIVATE" | "PUBLIC" | null | undefined; } /** Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting */ export interface UpdateEnterpriseMembersCanDeleteIssuesSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "DISABLED" | "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting */ export interface UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "DISABLED" | "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting */ export interface UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "DISABLED" | "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting */ export interface UpdateEnterpriseMembersCanMakePurchasesSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "DISABLED" | "ENABLED"; } /** Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting */ export interface UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "DISABLED" | "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting */ export interface UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "DISABLED" | "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting */ export interface UpdateEnterpriseOrganizationProjectsSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "DISABLED" | "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole */ export interface UpdateEnterpriseOwnerOrganizationRoleInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly organizationId: string; readonly organizationRole: "DIRECT_MEMBER" | "OWNER" | "UNAFFILIATED"; } /** Autogenerated input type of UpdateEnterpriseProfile */ export interface UpdateEnterpriseProfileInput { readonly clientMutationId?: string | null | undefined; readonly description?: string | null | undefined; readonly enterpriseId: string; readonly location?: string | null | undefined; readonly name?: string | null | undefined; readonly securityContactEmail?: string | null | undefined; readonly websiteUrl?: string | null | undefined; } /** Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting */ export interface UpdateEnterpriseRepositoryProjectsSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "DISABLED" | "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting */ export interface UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "INSECURE" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting */ export interface UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput { readonly clientMutationId?: string | null | undefined; readonly enterpriseId: string; readonly settingValue: "ENABLED" | "NO_POLICY"; } /** Autogenerated input type of UpdateEnvironment */ export interface UpdateEnvironmentInput { readonly clientMutationId?: string | null | undefined; readonly environmentId: string; readonly preventSelfReview?: boolean | null | undefined; readonly reviewers?: ReadonlyArray | null | undefined; readonly waitTimer?: number | null | undefined; } /** Autogenerated input type of UpdateIpAllowListEnabledSetting */ export interface UpdateIpAllowListEnabledSettingInput { readonly clientMutationId?: string | null | undefined; readonly ownerId: string; readonly settingValue: "DISABLED" | "ENABLED"; } /** Autogenerated input type of UpdateIpAllowListEntry */ export interface UpdateIpAllowListEntryInput { readonly allowListValue: string; readonly clientMutationId?: string | null | undefined; readonly ipAllowListEntryId: string; readonly isActive: boolean; readonly name?: string | null | undefined; } /** Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting */ export interface UpdateIpAllowListForInstalledAppsEnabledSettingInput { readonly clientMutationId?: string | null | undefined; readonly ownerId: string; readonly settingValue: "DISABLED" | "ENABLED"; } /** Autogenerated input type of UpdateIpAllowListUserLevelEnforcementEnabledSetting */ export interface UpdateIpAllowListUserLevelEnforcementEnabledSettingInput { readonly clientMutationId?: string | null | undefined; readonly ownerId: string; readonly settingValue: "DISABLED" | "ENABLED"; } /** Autogenerated input type of UpdateIssueComment */ export interface UpdateIssueCommentInput { readonly body: string; readonly clientMutationId?: string | null | undefined; readonly id: string; } /** Autogenerated input type of UpdateIssueField */ export interface UpdateIssueFieldInput { readonly clientMutationId?: string | null | undefined; readonly description?: string | null | undefined; readonly id: string; readonly name?: string | null | undefined; readonly options?: ReadonlyArray | null | undefined; readonly visibility?: "ALL" | "ORG_ONLY" | null | undefined; } /** Autogenerated input type of UpdateIssueFieldValue */ export interface UpdateIssueFieldValueInput { readonly clientMutationId?: string | null | undefined; readonly issueField: IssueFieldCreateOrUpdateInput; readonly issueId: string; } /** Autogenerated input type of UpdateIssue */ export interface UpdateIssueInput { readonly agentAssignment?: AgentAssignmentInput | null | undefined; readonly assigneeIds?: ReadonlyArray | null | undefined; readonly assignees?: ReadonlyArray | null | undefined; readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly id: string; readonly issueFieldUpdates?: ReadonlyArray | null | undefined; readonly issueType?: IssueTypeUpdateInput | null | undefined; readonly issueTypeId?: string | null | undefined; readonly labelIds?: ReadonlyArray | null | undefined; readonly labels?: ReadonlyArray | null | undefined; readonly milestoneId?: string | null | undefined; readonly projectIds?: ReadonlyArray | null | undefined; readonly state?: "CLOSED" | "OPEN" | null | undefined; readonly stateInput?: IssueStateUpdateInput | null | undefined; readonly title?: string | null | undefined; } /** Autogenerated input type of UpdateIssueIssueType */ export interface UpdateIssueIssueTypeInput { readonly clientMutationId?: string | null | undefined; readonly issueId: string; readonly issueTypeId?: string | null | undefined; } /** Autogenerated input type of UpdateIssueType */ export interface UpdateIssueTypeInput { readonly clientMutationId?: string | null | undefined; readonly color?: | "BLUE" | "GRAY" | "GREEN" | "ORANGE" | "PINK" | "PURPLE" | "RED" | "YELLOW" | null | undefined; readonly description?: string | null | undefined; readonly isEnabled?: boolean | null | undefined; readonly issueTypeId: string; readonly name?: string | null | undefined; } /** Autogenerated input type of UpdateLabel */ export interface UpdateLabelInput { readonly clientMutationId?: string | null | undefined; readonly color?: string | null | undefined; readonly description?: string | null | undefined; readonly id: string; readonly name?: string | null | undefined; } /** Autogenerated input type of UpdateNotificationRestrictionSetting */ export interface UpdateNotificationRestrictionSettingInput { readonly clientMutationId?: string | null | undefined; readonly ownerId: string; readonly settingValue: "DISABLED" | "ENABLED"; } /** Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting */ export interface UpdateOrganizationAllowPrivateRepositoryForkingSettingInput { readonly clientMutationId?: string | null | undefined; readonly forkingEnabled: boolean; readonly organizationId: string; } /** Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting */ export interface UpdateOrganizationWebCommitSignoffSettingInput { readonly clientMutationId?: string | null | undefined; readonly organizationId: string; readonly webCommitSignoffRequired: boolean; } /** Only allow users with bypass permission to update matching refs. */ export interface UpdateParametersInput { readonly updateAllowsFetchAndMerge: boolean; } /** Autogenerated input type of UpdatePatreonSponsorability */ export interface UpdatePatreonSponsorabilityInput { readonly clientMutationId?: string | null | undefined; readonly enablePatreonSponsorships: boolean; readonly sponsorableLogin?: string | null | undefined; } /** Autogenerated input type of UpdateProjectCard */ export interface UpdateProjectCardInput { readonly clientMutationId?: string | null | undefined; readonly isArchived?: boolean | null | undefined; readonly note?: string | null | undefined; readonly projectCardId: string; } /** Autogenerated input type of UpdateProjectColumn */ export interface UpdateProjectColumnInput { readonly clientMutationId?: string | null | undefined; readonly name: string; readonly projectColumnId: string; } /** Autogenerated input type of UpdateProject */ export interface UpdateProjectInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly name?: string | null | undefined; readonly projectId: string; readonly public?: boolean | null | undefined; readonly state?: "CLOSED" | "OPEN" | null | undefined; } /** Autogenerated input type of UpdateProjectV2Collaborators */ export interface UpdateProjectV2CollaboratorsInput { readonly clientMutationId?: string | null | undefined; readonly collaborators: ReadonlyArray; readonly projectId: string; } /** Autogenerated input type of UpdateProjectV2DraftIssue */ export interface UpdateProjectV2DraftIssueInput { readonly assigneeIds?: ReadonlyArray | null | undefined; readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly draftIssueId: string; readonly title?: string | null | undefined; } /** Autogenerated input type of UpdateProjectV2Field */ export interface UpdateProjectV2FieldInput { readonly clientMutationId?: string | null | undefined; readonly fieldId: string; readonly iterationConfiguration?: ProjectV2IterationFieldConfigurationInput | null | undefined; readonly multiSelectOptions?: | ReadonlyArray | null | undefined; readonly name?: string | null | undefined; readonly singleSelectOptions?: | ReadonlyArray | null | undefined; } /** Autogenerated input type of UpdateProjectV2 */ export interface UpdateProjectV2Input { readonly clientMutationId?: string | null | undefined; readonly closed?: boolean | null | undefined; readonly projectId: string; readonly public?: boolean | null | undefined; readonly readme?: string | null | undefined; readonly shortDescription?: string | null | undefined; readonly title?: string | null | undefined; } /** Autogenerated input type of UpdateProjectV2ItemFieldValue */ export interface UpdateProjectV2ItemFieldValueInput { readonly clientMutationId?: string | null | undefined; readonly fieldId: string; readonly itemId: string; readonly projectId: string; readonly value: ProjectV2FieldValue; } /** Autogenerated input type of UpdateProjectV2ItemPosition */ export interface UpdateProjectV2ItemPositionInput { readonly afterId?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly itemId: string; readonly projectId: string; } /** Autogenerated input type of UpdateProjectV2StatusUpdate */ export interface UpdateProjectV2StatusUpdateInput { readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly startDate?: string | null | undefined; readonly status?: | "AT_RISK" | "COMPLETE" | "INACTIVE" | "OFF_TRACK" | "ON_TRACK" | null | undefined; readonly statusUpdateId: string; readonly targetDate?: string | null | undefined; } /** Autogenerated input type of UpdateProjectV2View */ export interface UpdateProjectV2ViewInput { readonly clientMutationId?: string | null | undefined; readonly configuration?: ProjectV2ViewConfigurationInput | null | undefined; readonly filter?: string | null | undefined; readonly layout?: "BOARD_LAYOUT" | "ROADMAP_LAYOUT" | "TABLE_LAYOUT" | null | undefined; readonly name?: string | null | undefined; readonly viewId: string; } /** Autogenerated input type of UpdatePullRequestBranch */ export interface UpdatePullRequestBranchInput { readonly clientMutationId?: string | null | undefined; readonly expectedHeadOid?: string | null | undefined; readonly pullRequestId: string; readonly updateMethod?: "MERGE" | "REBASE" | null | undefined; } /** Autogenerated input type of UpdatePullRequest */ export interface UpdatePullRequestInput { readonly assigneeIds?: ReadonlyArray | null | undefined; readonly baseRefName?: string | null | undefined; readonly body?: string | null | undefined; readonly clientMutationId?: string | null | undefined; readonly labelIds?: ReadonlyArray | null | undefined; readonly maintainerCanModify?: boolean | null | undefined; readonly milestoneId?: string | null | undefined; readonly projectIds?: ReadonlyArray | null | undefined; readonly pullRequestId: string; readonly state?: "CLOSED" | "OPEN" | null | undefined; readonly title?: string | null | undefined; } /** Autogenerated input type of UpdatePullRequestReviewComment */ export interface UpdatePullRequestReviewCommentInput { readonly body: string; readonly clientMutationId?: string | null | undefined; readonly pullRequestReviewCommentId: string; } /** Autogenerated input type of UpdatePullRequestReview */ export interface UpdatePullRequestReviewInput { readonly body: string; readonly clientMutationId?: string | null | undefined; readonly pullRequestReviewId: string; } /** Autogenerated input type of UpdateRef */ export interface UpdateRefInput { readonly clientMutationId?: string | null | undefined; readonly force?: boolean | null | undefined; readonly oid: string; readonly refId: string; } /** Autogenerated input type of UpdateRefs */ export interface UpdateRefsInput { readonly clientMutationId?: string | null | undefined; readonly refUpdates: ReadonlyArray; readonly repositoryId: string; } /** Autogenerated input type of UpdateRepositoryCustomProperty */ export interface UpdateRepositoryCustomPropertyInput { readonly allowedValues?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; readonly defaultValue?: string | null | undefined; readonly description?: string | null | undefined; readonly regex?: string | null | undefined; readonly repositoryCustomPropertyId: string; readonly requireExplicitValues?: boolean | null | undefined; readonly required?: boolean | null | undefined; readonly valuesEditableBy?: "ORG_ACTORS" | "ORG_AND_REPO_ACTORS" | null | undefined; } /** Autogenerated input type of UpdateRepository */ export interface UpdateRepositoryInput { readonly clientMutationId?: string | null | undefined; readonly description?: string | null | undefined; readonly hasDiscussionsEnabled?: boolean | null | undefined; readonly hasIssuesEnabled?: boolean | null | undefined; readonly hasProjectsEnabled?: boolean | null | undefined; readonly hasPullRequestsEnabled?: boolean | null | undefined; readonly hasSponsorshipsEnabled?: boolean | null | undefined; readonly hasWikiEnabled?: boolean | null | undefined; readonly homepageUrl?: string | null | undefined; readonly issueCreationPolicy?: "ALL" | "COLLABORATORS_ONLY" | null | undefined; readonly name?: string | null | undefined; readonly pullRequestCreationPolicy?: "ALL" | "COLLABORATORS_ONLY" | null | undefined; readonly repositoryId: string; readonly template?: boolean | null | undefined; } /** Autogenerated input type of UpdateRepositoryRuleset */ export interface UpdateRepositoryRulesetInput { readonly bypassActors?: ReadonlyArray | null | undefined; readonly clientMutationId?: string | null | undefined; readonly conditions?: RepositoryRuleConditionsInput | null | undefined; readonly enforcement?: "ACTIVE" | "DISABLED" | "EVALUATE" | null | undefined; readonly name?: string | null | undefined; readonly repositoryRulesetId: string; readonly rules?: ReadonlyArray | null | undefined; readonly target?: "BRANCH" | "PUSH" | "REPOSITORY" | "TAG" | null | undefined; } /** Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting */ export interface UpdateRepositoryWebCommitSignoffSettingInput { readonly clientMutationId?: string | null | undefined; readonly repositoryId: string; readonly webCommitSignoffRequired: boolean; } /** Autogenerated input type of UpdateSponsorshipPreferences */ export interface UpdateSponsorshipPreferencesInput { readonly clientMutationId?: string | null | undefined; readonly privacyLevel?: "PRIVATE" | "PUBLIC" | null | undefined; readonly receiveEmails?: boolean | null | undefined; readonly sponsorId?: string | null | undefined; readonly sponsorLogin?: string | null | undefined; readonly sponsorableId?: string | null | undefined; readonly sponsorableLogin?: string | null | undefined; } /** Autogenerated input type of UpdateSubscription */ export interface UpdateSubscriptionInput { readonly clientMutationId?: string | null | undefined; readonly state: "IGNORED" | "SUBSCRIBED" | "UNSUBSCRIBED"; readonly subscribableId: string; } /** Autogenerated input type of UpdateTeamReviewAssignment */ export interface UpdateTeamReviewAssignmentInput { readonly algorithm?: "LOAD_BALANCE" | "ROUND_ROBIN" | null | undefined; readonly clientMutationId?: string | null | undefined; readonly countMembersAlreadyRequested?: boolean | null | undefined; readonly enabled: boolean; readonly excludedTeamMemberIds?: ReadonlyArray | null | undefined; readonly id: string; readonly includeChildTeamMembers?: boolean | null | undefined; readonly notifyTeam?: boolean | null | undefined; readonly removeTeamRequest?: boolean | null | undefined; readonly teamMemberCount?: number | null | undefined; } /** Autogenerated input type of UpdateTeamsRepository */ export interface UpdateTeamsRepositoryInput { readonly clientMutationId?: string | null | undefined; readonly permission: "ADMIN" | "MAINTAIN" | "READ" | "TRIAGE" | "TRIAGE_PLUS" | "WRITE"; readonly repositoryId: string; readonly teamIds: ReadonlyArray; } /** Autogenerated input type of UpdateTopics */ export interface UpdateTopicsInput { readonly clientMutationId?: string | null | undefined; readonly repositoryId: string; readonly topicNames: ReadonlyArray; } /** Autogenerated input type of UpdateUserList */ export interface UpdateUserListInput { readonly clientMutationId?: string | null | undefined; readonly description?: string | null | undefined; readonly isPrivate?: boolean | null | undefined; readonly listId: string; readonly name?: string | null | undefined; } /** Autogenerated input type of UpdateUserListsForItem */ export interface UpdateUserListsForItemInput { readonly clientMutationId?: string | null | undefined; readonly itemId: string; readonly listIds: ReadonlyArray; readonly suggestedListIds?: ReadonlyArray | null | undefined; } /** Ordering options for user status connections. */ export interface UserStatusOrder { readonly direction: "ASC" | "DESC"; readonly field: "UPDATED_AT"; } /** Ordering options for verifiable domain connections. */ export interface VerifiableDomainOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT" | "DOMAIN"; } /** Autogenerated input type of VerifyVerifiableDomain */ export interface VerifyVerifiableDomainInput { readonly clientMutationId?: string | null | undefined; readonly id: string; } /** A workflow that must run for this rule to pass */ export interface WorkflowFileReferenceInput { readonly path: string; readonly ref?: string | null | undefined; readonly repositoryId: number; readonly sha?: string | null | undefined; } /** Ways in which lists of workflow runs can be ordered upon return. */ export interface WorkflowRunOrder { readonly direction: "ASC" | "DESC"; readonly field: "CREATED_AT"; } /** Require all changes made to a targeted branch to pass the specified workflows before they can be merged. */ export interface WorkflowsParametersInput { readonly doNotEnforceOnCreate?: boolean | null | undefined; readonly workflows: ReadonlyArray; } /** Types that can be assigned to issues. */ export type Assignee = Bot | Mannequin | Organization | User; /** Types that can initiate an audit log event. */ export type AuditEntryActor = Bot | Organization | User; /** Types which can be actors for `BranchActorAllowance` objects. */ export type BranchActorAllowanceActor = App | Team | User; /** Types that can represent a repository ruleset bypass actor. */ export type BypassActor = App | EnterpriseTeam | Team | User; /** An object which can have its data claimed or claim data from another. */ export type Claimable = Mannequin | User; /** The object which triggered a `ClosedEvent`. */ export type Closer = Commit | ProjectV2 | PullRequest; /** Represents either a issue the viewer can access or a restricted contribution. */ export type CreatedIssueOrRestrictedContribution = | CreatedIssueContribution | RestrictedContribution; /** Represents either a pull request the viewer can access or a restricted contribution. */ export type CreatedPullRequestOrRestrictedContribution = | CreatedPullRequestContribution | RestrictedContribution; /** Represents either a repository the viewer can access or a restricted contribution. */ export type CreatedRepositoryOrRestrictedContribution = | CreatedRepositoryContribution | RestrictedContribution; /** Sources which can have custom properties defined. */ export type CustomPropertySource = Enterprise | Organization; /** Users and teams. */ export type DeploymentReviewer = Team | User; /** An object that is a member of an enterprise. */ export type EnterpriseMember = EnterpriseUserAccount | User; /** Types that can own an IP allow list. */ export type IpAllowListOwner = App | Enterprise | Organization; /** Issue field values */ export type IssueFieldValue = | IssueFieldDateValue | IssueFieldMultiSelectValue | IssueFieldNumberValue | IssueFieldSingleSelectValue | IssueFieldTextValue; /** Possible issue fields. */ export type IssueFields = | IssueFieldDate | IssueFieldMultiSelect | IssueFieldNumber | IssueFieldSingleSelect | IssueFieldText; /** Used for return value of Repository.issueOrPullRequest. */ export type IssueOrPullRequest = Issue | PullRequest; /** An item in an issue timeline */ export type IssueTimelineItem = | AssignedEvent | ClosedEvent | Commit | CrossReferencedEvent | DemilestonedEvent | IssueComment | LabeledEvent | LockedEvent | MilestonedEvent | ReferencedEvent | RenamedTitleEvent | ReopenedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnsubscribedEvent | UserBlockedEvent; /** An item in an issue timeline */ export type IssueTimelineItems = | AddedToProjectEvent | AddedToProjectV2Event | AssignedEvent | BlockedByAddedEvent | BlockedByRemovedEvent | BlockingAddedEvent | BlockingRemovedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertedFromDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DisconnectedEvent | IssueComment | IssueCommentPinnedEvent | IssueCommentUnpinnedEvent | IssueFieldAddedEvent | IssueFieldChangedEvent | IssueFieldRemovedEvent | IssueTypeAddedEvent | IssueTypeChangedEvent | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | ProjectV2ItemStatusChangedEvent | ReferencedEvent | RemovedFromProjectEvent | RemovedFromProjectV2Event | RenamedTitleEvent | ReopenedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent; /** Types that can be inside a Milestone. */ export type MilestoneItem = Issue | PullRequest; /** Types of memberships that can be restored for an Organization member. */ export type OrgRestoreMemberAuditEntryMembership = | OrgRestoreMemberMembershipOrganizationAuditEntryData | OrgRestoreMemberMembershipRepositoryAuditEntryData | OrgRestoreMemberMembershipTeamAuditEntryData; /** An audit entry in an organization audit log. */ export type OrganizationAuditEntry = | MembersCanDeleteReposClearAuditEntry | MembersCanDeleteReposDisableAuditEntry | MembersCanDeleteReposEnableAuditEntry | OauthApplicationCreateAuditEntry | OrgAddBillingManagerAuditEntry | OrgAddMemberAuditEntry | OrgBlockUserAuditEntry | OrgConfigDisableCollaboratorsOnlyAuditEntry | OrgConfigEnableCollaboratorsOnlyAuditEntry | OrgCreateAuditEntry | OrgDisableOauthAppRestrictionsAuditEntry | OrgDisableSamlAuditEntry | OrgDisableTwoFactorRequirementAuditEntry | OrgEnableOauthAppRestrictionsAuditEntry | OrgEnableSamlAuditEntry | OrgEnableTwoFactorRequirementAuditEntry | OrgInviteMemberAuditEntry | OrgInviteToBusinessAuditEntry | OrgOauthAppAccessApprovedAuditEntry | OrgOauthAppAccessBlockedAuditEntry | OrgOauthAppAccessDeniedAuditEntry | OrgOauthAppAccessRequestedAuditEntry | OrgOauthAppAccessUnblockedAuditEntry | OrgRemoveBillingManagerAuditEntry | OrgRemoveMemberAuditEntry | OrgRemoveOutsideCollaboratorAuditEntry | OrgRestoreMemberAuditEntry | OrgUnblockUserAuditEntry | OrgUpdateDefaultRepositoryPermissionAuditEntry | OrgUpdateMemberAuditEntry | OrgUpdateMemberRepositoryCreationPermissionAuditEntry | OrgUpdateMemberRepositoryInvitationPermissionAuditEntry | PrivateRepositoryForkingDisableAuditEntry | PrivateRepositoryForkingEnableAuditEntry | RepoAccessAuditEntry | RepoAddMemberAuditEntry | RepoAddTopicAuditEntry | RepoArchivedAuditEntry | RepoChangeMergeSettingAuditEntry | RepoConfigDisableAnonymousGitAccessAuditEntry | RepoConfigDisableCollaboratorsOnlyAuditEntry | RepoConfigDisableContributorsOnlyAuditEntry | RepoConfigDisableSockpuppetDisallowedAuditEntry | RepoConfigEnableAnonymousGitAccessAuditEntry | RepoConfigEnableCollaboratorsOnlyAuditEntry | RepoConfigEnableContributorsOnlyAuditEntry | RepoConfigEnableSockpuppetDisallowedAuditEntry | RepoConfigLockAnonymousGitAccessAuditEntry | RepoConfigUnlockAnonymousGitAccessAuditEntry | RepoCreateAuditEntry | RepoDestroyAuditEntry | RepoRemoveMemberAuditEntry | RepoRemoveTopicAuditEntry | RepositoryVisibilityChangeDisableAuditEntry | RepositoryVisibilityChangeEnableAuditEntry | TeamAddMemberAuditEntry | TeamAddRepositoryAuditEntry | TeamChangeParentTeamAuditEntry | TeamRemoveMemberAuditEntry | TeamRemoveRepositoryAuditEntry; /** Used for argument of CreateProjectV2 mutation. */ export type OrganizationOrUser = Organization | User; /** A pending suggestion for an issue. May target the issue's type, labels, field values, assignees, or close state. */ export type PendingIssueSuggestion = | PendingAssigneeSuggestion | PendingCloseSuggestion | PendingFieldSuggestion | PendingLabelSuggestion | PendingTypeSuggestion; /** Types that can grant permissions on a repository to a user */ export type PermissionGranter = EnterpriseTeam | Organization | Repository | Team; /** Types that can be pinned to a profile page. */ export type PinnableItem = Gist | Repository; /** Types that can be inside Project Cards. */ export type ProjectCardItem = Issue | PullRequest; /** Possible collaborators for a project. */ export type ProjectV2Actor = Team | User; /** Configurations for project fields. */ export type ProjectV2FieldConfiguration = | ProjectV2Field | ProjectV2IterationField | ProjectV2MultiSelectField | ProjectV2SingleSelectField; /** Possible issue field values for a Project item. */ export type ProjectV2IssueFieldValues = | IssueFieldDateValue | IssueFieldMultiSelectValue | IssueFieldNumberValue | IssueFieldSingleSelectValue | IssueFieldTextValue; /** Types that can be inside Project Items. */ export type ProjectV2ItemContent = DraftIssue | Issue | PullRequest; /** Project field values */ export type ProjectV2ItemFieldValue = | ProjectV2ItemFieldDateValue | ProjectV2ItemFieldIterationValue | ProjectV2ItemFieldLabelValue | ProjectV2ItemFieldMilestoneValue | ProjectV2ItemFieldMultiSelectValue | ProjectV2ItemFieldNumberValue | ProjectV2ItemFieldPullRequestValue | ProjectV2ItemFieldRepositoryValue | ProjectV2ItemFieldReviewerValue | ProjectV2ItemFieldSingleSelectValue | ProjectV2ItemFieldTextValue | ProjectV2ItemFieldUserValue | ProjectV2ItemIssueFieldValue; /** An item in a pull request timeline */ export type PullRequestTimelineItem = | AssignedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent | Commit | CommitCommentThread | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MergedEvent | MilestonedEvent | PullRequestReview | PullRequestReviewComment | PullRequestReviewThread | ReferencedEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubscribedEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnsubscribedEvent | UserBlockedEvent; /** An item in a pull request timeline */ export type PullRequestTimelineItems = | AddedToMergeQueueEvent | AddedToProjectEvent | AddedToProjectV2Event | AddedToStackEvent | AssignedEvent | AutoMergeDisabledEvent | AutoMergeEnabledEvent | AutoRebaseEnabledEvent | AutoSquashEnabledEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | BlockedByAddedEvent | BlockedByRemovedEvent | BlockingAddedEvent | BlockingRemovedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertToDraftEvent | ConvertedFromDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | DisconnectedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | IssueCommentPinnedEvent | IssueCommentUnpinnedEvent | IssueFieldAddedEvent | IssueFieldChangedEvent | IssueFieldRemovedEvent | IssueTypeAddedEvent | IssueTypeChangedEvent | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | ProjectV2ItemStatusChangedEvent | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent | RemovedFromMergeQueueEvent | RemovedFromProjectEvent | RemovedFromProjectV2Event | RemovedFromStackEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent; /** Types that can be an actor. */ export type PushAllowanceActor = App | Team | User; /** Types that can be assigned to reactions. */ export type Reactor = Bot | Mannequin | Organization | User; /** Any referencable object */ export type ReferencedSubject = Issue | PullRequest; /** An object which has a renamable title */ export type RenamedTitleSubject = Issue | PullRequest; /** Types that can be requested reviewers. */ export type RequestedReviewer = Bot | EnterpriseTeam | Mannequin | Team | User; /** Types that can be an actor. */ export type ReviewDismissalAllowanceActor = App | Team | User; /** Types which can be parameters for `RepositoryRule` objects. */ export type RuleParameters = | BranchNamePatternParameters | CodeCoverageParameters | CodeQualityParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | CopilotCodeReviewParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | MergeQueueParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters; /** Types which can have `RepositoryRule` objects. */ export type RuleSource = Enterprise | Organization | Repository; /** The results of a search. */ export type SearchResultItem = | App | Discussion | Issue | MarketplaceListing | Organization | PullRequest | Repository | User; /** Entities that can sponsor others via GitHub Sponsors */ export type Sponsor = Organization | User; /** Entities that can be sponsored via GitHub Sponsors */ export type SponsorableItem = Organization | User; /** A record that can be featured on a GitHub Sponsors profile. */ export type SponsorsListingFeatureableItem = Repository | User; /** Types that can be inside a StatusCheckRollup context. */ export type StatusCheckRollupContext = CheckRun | StatusContext; /** Types that can be added to a user list. */ export type UserListItems = Repository; /** Types that can own a verifiable domain. */ export type VerifiableDomainOwner = Enterprise | Organization; /** Autogenerated return type of AbortQueuedMigrations. */ export interface AbortQueuedMigrationsPayload { readonly clientMutationId: string | null; readonly success: boolean | null; } /** Autogenerated return type of AbortRepositoryMigration. */ export interface AbortRepositoryMigrationPayload { readonly clientMutationId: string | null; readonly success: boolean | null; } /** Autogenerated return type of AcceptEnterpriseAdministratorInvitation. */ export interface AcceptEnterpriseAdministratorInvitationPayload { readonly clientMutationId: string | null; readonly invitation: EnterpriseAdministratorInvitation | null; readonly message: string | null; } /** Autogenerated return type of AcceptEnterpriseMemberInvitation. */ export interface AcceptEnterpriseMemberInvitationPayload { readonly clientMutationId: string | null; readonly invitation: EnterpriseMemberInvitation | null; readonly message: string | null; } /** Autogenerated return type of AcceptTopicSuggestion. */ export interface AcceptTopicSuggestionPayload { readonly clientMutationId: string | null; readonly topic: Topic | null; } /** Autogenerated return type of AccessUserNamespaceRepository. */ export interface AccessUserNamespaceRepositoryPayload { readonly clientMutationId: string | null; readonly expiresAt: string | null; readonly repository: Repository | null; } /** Represents an object which can take actions on GitHub. Typically a User or Bot. */ export interface Actor { readonly avatarUrl: FieldWithArgs; readonly login: string; readonly resourcePath: string; readonly url: string; } /** The connection type for Actor. */ export interface ActorConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface ActorEdge { readonly cursor: string; readonly node: Actor | null; } /** Location information for an actor */ export interface ActorLocation { readonly city: string | null; readonly country: string | null; readonly countryCode: string | null; readonly region: string | null; readonly regionCode: string | null; } /** Autogenerated return type of AddAssigneesToAssignable. */ export interface AddAssigneesToAssignablePayload { readonly assignable: Assignable | null; readonly clientMutationId: string | null; } /** Autogenerated return type of AddBlockedBy. */ export interface AddBlockedByPayload { readonly blockingIssue: Issue | null; readonly clientMutationId: string | null; readonly issue: Issue | null; } /** Autogenerated return type of AddCloseIssueReferences. */ export interface AddCloseIssueReferencesPayload { readonly clientMutationId: string | null; readonly issue: Issue | null; } /** Autogenerated return type of AddComment. */ export interface AddCommentPayload { readonly clientMutationId: string | null; readonly commentEdge: IssueCommentEdge | null; readonly subject: Node | null; readonly timelineEdge: IssueTimelineItemEdge | null; } /** Autogenerated return type of AddDiscussionComment. */ export interface AddDiscussionCommentPayload { readonly clientMutationId: string | null; readonly comment: DiscussionComment | null; } /** Autogenerated return type of AddDiscussionPollVote. */ export interface AddDiscussionPollVotePayload { readonly clientMutationId: string | null; readonly pollOption: DiscussionPollOption | null; } /** Autogenerated return type of AddEnterpriseOrganizationMember. */ export interface AddEnterpriseOrganizationMemberPayload { readonly clientMutationId: string | null; readonly users: ReadonlyArray | null; } /** Autogenerated return type of AddEnterpriseSupportEntitlement. */ export interface AddEnterpriseSupportEntitlementPayload { readonly clientMutationId: string | null; readonly message: string | null; } /** Autogenerated return type of AddLabelsToLabelable. */ export interface AddLabelsToLabelablePayload { readonly clientMutationId: string | null; readonly labelable: Labelable | null; } /** Autogenerated return type of AddProjectCard. */ export interface AddProjectCardPayload { readonly cardEdge: ProjectCardEdge | null; readonly clientMutationId: string | null; readonly projectColumn: ProjectColumn | null; } /** Autogenerated return type of AddProjectColumn. */ export interface AddProjectColumnPayload { readonly clientMutationId: string | null; readonly columnEdge: ProjectColumnEdge | null; readonly project: Project | null; } /** Autogenerated return type of AddProjectV2DraftIssue. */ export interface AddProjectV2DraftIssuePayload { readonly clientMutationId: string | null; readonly projectItem: ProjectV2Item | null; } /** Autogenerated return type of AddProjectV2ItemById. */ export interface AddProjectV2ItemByIdPayload { readonly clientMutationId: string | null; readonly item: ProjectV2Item | null; } /** Autogenerated return type of AddPullRequestCreationCapBypassUsers. */ export interface AddPullRequestCreationCapBypassUsersPayload { readonly clientMutationId: string | null; readonly repository: Repository | null; } /** Autogenerated return type of AddPullRequestReviewComment. */ export interface AddPullRequestReviewCommentPayload { readonly clientMutationId: string | null; readonly comment: PullRequestReviewComment | null; readonly commentEdge: PullRequestReviewCommentEdge | null; } /** Autogenerated return type of AddPullRequestReview. */ export interface AddPullRequestReviewPayload { readonly clientMutationId: string | null; readonly pullRequestReview: PullRequestReview | null; readonly reviewEdge: PullRequestReviewEdge | null; } /** Autogenerated return type of AddPullRequestReviewThread. */ export interface AddPullRequestReviewThreadPayload { readonly clientMutationId: string | null; readonly thread: PullRequestReviewThread | null; } /** Autogenerated return type of AddPullRequestReviewThreadReply. */ export interface AddPullRequestReviewThreadReplyPayload { readonly clientMutationId: string | null; readonly comment: PullRequestReviewComment | null; } /** Autogenerated return type of AddReaction. */ export interface AddReactionPayload { readonly clientMutationId: string | null; readonly reaction: Reaction | null; readonly reactionGroups: ReadonlyArray | null; readonly subject: Reactable | null; } /** Autogenerated return type of AddRelatesTo. */ export interface AddRelatesToPayload { readonly clientMutationId: string | null; readonly issue: Issue | null; readonly relatedIssue: Issue | null; } /** Autogenerated return type of AddStar. */ export interface AddStarPayload { readonly clientMutationId: string | null; readonly starrable: Starrable | null; } /** Autogenerated return type of AddSubIssue. */ export interface AddSubIssuePayload { readonly clientMutationId: string | null; readonly issue: Issue | null; readonly subIssue: Issue | null; } /** Autogenerated return type of AddUpvote. */ export interface AddUpvotePayload { readonly clientMutationId: string | null; readonly subject: Votable | null; } /** Autogenerated return type of AddVerifiableDomain. */ export interface AddVerifiableDomainPayload { readonly clientMutationId: string | null; readonly domain: VerifiableDomain | null; } /** Represents an 'added_to_merge_queue' event on a given pull request. */ export interface AddedToMergeQueueEvent { readonly actor: Actor | null; readonly createdAt: string; readonly enqueuer: User | null; readonly id: string; readonly mergeQueue: MergeQueue | null; readonly pullRequest: PullRequest | null; } /** Represents a 'added_to_project' event on a given issue or pull request. */ export interface AddedToProjectEvent { readonly actor: Actor | null; readonly createdAt: string; readonly databaseId: number | null; readonly id: string; readonly project: Project | null; readonly projectCard: ProjectCard | null; readonly projectColumnName: string; } /** Represents a 'added_to_project_v2' event on a given issue or pull request. */ export interface AddedToProjectV2Event { readonly actor: Actor | null; readonly createdAt: string; readonly id: string; readonly project: ProjectV2 | null; readonly wasAutomated: boolean; } /** Represents an 'added_to_stack' event on a given pull request. */ export interface AddedToStackEvent { readonly actor: Actor | null; readonly createdAt: string; readonly id: string; readonly pullRequest: PullRequest | null; readonly stackId: string | null; readonly stackNumber: number | null; } /** Copilot Agentic fields in context of the current viewer. */ export interface Agentic { readonly viewerCopilotAgentCreatesChannel: string | null; readonly viewerCopilotAgentLogUpdatesChannel: string | null; readonly viewerCopilotAgentTaskUpdatesChannel: string | null; readonly viewerCopilotAgentUpdatesChannel: string | null; } /** An announcement banner for an enterprise or organization. */ export interface AnnouncementBanner { readonly createdAt: string; readonly expiresAt: string | null; readonly isUserDismissible: boolean; readonly message: string | null; } /** A GitHub App. */ export interface App { readonly clientId: string | null; readonly createdAt: string; readonly databaseId: number | null; readonly description: string | null; readonly id: string; readonly ipAllowListEntries: ReadonlyArray; readonly logoBackgroundColor: string; readonly logoUrl: FieldWithArgs; readonly name: string; readonly slug: string; readonly updatedAt: string; readonly url: string; } /** Autogenerated return type of ApplyPendingIssueSuggestions. */ export interface ApplyPendingIssueSuggestionsPayload { readonly clientMutationId: string | null; readonly issue: Issue | null; } /** Autogenerated return type of ApproveDeployments. */ export interface ApproveDeploymentsPayload { readonly clientMutationId: string | null; readonly deployments: ReadonlyArray | null; } /** Autogenerated return type of ApproveVerifiableDomain. */ export interface ApproveVerifiableDomainPayload { readonly clientMutationId: string | null; readonly domain: VerifiableDomain | null; } /** Autogenerated return type of ArchiveProjectV2Item. */ export interface ArchiveProjectV2ItemPayload { readonly clientMutationId: string | null; readonly item: ProjectV2Item | null; } /** Autogenerated return type of ArchivePullRequest. */ export interface ArchivePullRequestPayload { readonly clientMutationId: string | null; readonly pullRequest: PullRequest | null; } /** Autogenerated return type of ArchiveRepository. */ export interface ArchiveRepositoryPayload { readonly clientMutationId: string | null; readonly repository: Repository | null; } /** An object that can have users assigned to it. */ export interface Assignable { readonly assignedActors: ReadonlyArray; readonly assignees: ReadonlyArray; readonly suggestedActors: ReadonlyArray; readonly viewerCanAssign: boolean; } /** Represents an 'assigned' event on any assignable object. */ export interface AssignedEvent { readonly actor: Actor | null; readonly assignable: Assignable; readonly assignee: Bot | Mannequin | Organization | User | null; readonly createdAt: string; readonly id: string; readonly intent: IssueUpdateIntent | null; readonly user: User | null; } /** The connection type for Assignee. */ export interface AssigneeConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface AssigneeEdge { readonly cursor: string; readonly node: Bot | Mannequin | Organization | User | null; } /** An entry in the audit log. */ export interface AuditEntry { readonly action: string; readonly actor: Bot | Organization | User | null; readonly actorIp: string | null; readonly actorLocation: ActorLocation | null; readonly actorLogin: string | null; readonly actorResourcePath: string | null; readonly actorUrl: string | null; readonly createdAt: string; readonly operationType: | "ACCESS" | "AUTHENTICATION" | "CREATE" | "MODIFY" | "REMOVE" | "RESTORE" | "TRANSFER" | null; readonly user: User | null; readonly userLogin: string | null; readonly userResourcePath: string | null; readonly userUrl: string | null; } /** Represents a 'auto_merge_disabled' event on a given pull request. */ export interface AutoMergeDisabledEvent { readonly actor: Actor | null; readonly createdAt: string; readonly disabler: User | null; readonly id: string; readonly pullRequest: PullRequest | null; readonly reason: string | null; readonly reasonCode: string | null; } /** Represents a 'auto_merge_enabled' event on a given pull request. */ export interface AutoMergeEnabledEvent { readonly actor: Actor | null; readonly createdAt: string; readonly enabler: User | null; readonly id: string; readonly pullRequest: PullRequest | null; } /** Represents an auto-merge request for a pull request */ export interface AutoMergeRequest { readonly authorEmail: string | null; readonly commitBody: string | null; readonly commitHeadline: string | null; readonly enabledAt: string | null; readonly enabledBy: Actor | null; readonly mergeMethod: "MERGE" | "REBASE" | "SQUASH"; readonly pullRequest: PullRequest; } /** Represents a 'auto_rebase_enabled' event on a given pull request. */ export interface AutoRebaseEnabledEvent { readonly actor: Actor | null; readonly createdAt: string; readonly enabler: User | null; readonly id: string; readonly pullRequest: PullRequest | null; } /** Represents a 'auto_squash_enabled' event on a given pull request. */ export interface AutoSquashEnabledEvent { readonly actor: Actor | null; readonly createdAt: string; readonly enabler: User | null; readonly id: string; readonly pullRequest: PullRequest | null; } /** Represents a 'automatic_base_change_failed' event on a given pull request. */ export interface AutomaticBaseChangeFailedEvent { readonly actor: Actor | null; readonly createdAt: string; readonly id: string; readonly newBase: string; readonly oldBase: string; readonly pullRequest: PullRequest; } /** Represents a 'automatic_base_change_succeeded' event on a given pull request. */ export interface AutomaticBaseChangeSucceededEvent { readonly actor: Actor | null; readonly createdAt: string; readonly id: string; readonly newBase: string; readonly oldBase: string; readonly pullRequest: PullRequest; } /** Represents a 'base_ref_changed' event on a given issue or pull request. */ export interface BaseRefChangedEvent { readonly actor: Actor | null; readonly createdAt: string; readonly currentRefName: string; readonly databaseId: number | null; readonly id: string; readonly previousRefName: string; readonly pullRequest: PullRequest; } /** Represents a 'base_ref_deleted' event on a given pull request. */ export interface BaseRefDeletedEvent { readonly actor: Actor | null; readonly baseRefName: string | null; readonly createdAt: string; readonly id: string; readonly pullRequest: PullRequest | null; } /** Represents a 'base_ref_force_pushed' event on a given pull request. */ export interface BaseRefForcePushedEvent { readonly actor: Actor | null; readonly afterCommit: Commit | null; readonly beforeCommit: Commit | null; readonly createdAt: string; readonly id: string; readonly pullRequest: PullRequest; readonly ref: Ref | null; } /** Represents a Git blame. */ export interface Blame { readonly ranges: ReadonlyArray; } /** Represents a range of information from a Git blame. */ export interface BlameRange { readonly age: number; readonly commit: Commit; readonly endingLine: number; readonly startingLine: number; } /** Represents a Git blob. */ export interface Blob { readonly abbreviatedOid: string; readonly byteSize: number; readonly commitResourcePath: string; readonly commitUrl: string; readonly id: string; readonly isBinary: boolean | null; readonly isTruncated: boolean; readonly oid: string; readonly repository: Repository; readonly text: string | null; } /** Represents a 'blocked_by_added' event on a given issue. */ export interface BlockedByAddedEvent { readonly actor: Actor | null; readonly blockingIssue: Issue | null; readonly createdAt: string; readonly id: string; } /** Represents a 'blocked_by_removed' event on a given issue. */ export interface BlockedByRemovedEvent { readonly actor: Actor | null; readonly blockingIssue: Issue | null; readonly createdAt: string; readonly id: string; } /** Represents a 'blocking_added' event on a given issue. */ export interface BlockingAddedEvent { readonly actor: Actor | null; readonly blockedIssue: Issue | null; readonly createdAt: string; readonly id: string; } /** Represents a 'blocking_removed' event on a given issue. */ export interface BlockingRemovedEvent { readonly actor: Actor | null; readonly blockedIssue: Issue | null; readonly createdAt: string; readonly id: string; } /** A special type of user which takes actions on behalf of GitHub Apps. */ export interface Bot { readonly avatarUrl: FieldWithArgs; readonly createdAt: string; readonly databaseId: number | null; readonly id: string; readonly login: string; readonly resourcePath: string; readonly updatedAt: string; readonly url: string; } /** Parameters to be used for the branch_name_pattern rule */ export interface BranchNamePatternParameters { readonly name: string | null; readonly negate: boolean; readonly operator: string; readonly pattern: string; } /** A branch protection rule. */ export interface BranchProtectionRule { readonly allowsDeletions: boolean; readonly allowsForcePushes: boolean; readonly blocksCreations: boolean; readonly branchProtectionRuleConflicts: ReadonlyArray; readonly bypassForcePushAllowances: ReadonlyArray; readonly bypassPullRequestAllowances: ReadonlyArray; readonly creator: Actor | null; readonly databaseId: number | null; readonly dismissesStaleReviews: boolean; readonly id: string; readonly isAdminEnforced: boolean; readonly lockAllowsFetchAndMerge: boolean; readonly lockBranch: boolean; readonly matchingRefs: ReadonlyArray; readonly pattern: string; readonly pushAllowances: ReadonlyArray; readonly repository: Repository | null; readonly requiredApprovingReviewCount: number | null; readonly requiredDeploymentEnvironments: ReadonlyArray | null; readonly requiredStatusCheckContexts: ReadonlyArray | null; readonly requiredStatusChecks: ReadonlyArray | null; readonly requireLastPushApproval: boolean; readonly requiresApprovingReviews: boolean; readonly requiresCodeOwnerReviews: boolean; readonly requiresCommitSignatures: boolean; readonly requiresConversationResolution: boolean; readonly requiresDeployments: boolean; readonly requiresLinearHistory: boolean; readonly requiresStatusChecks: boolean; readonly requiresStrictStatusChecks: boolean; readonly restrictsPushes: boolean; readonly restrictsReviewDismissals: boolean; readonly reviewDismissalAllowances: ReadonlyArray; } /** A conflict between two branch protection rules. */ export interface BranchProtectionRuleConflict { readonly branchProtectionRule: BranchProtectionRule | null; readonly conflictingBranchProtectionRule: BranchProtectionRule | null; readonly ref: Ref | null; } /** The connection type for BranchProtectionRuleConflict. */ export interface BranchProtectionRuleConflictConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface BranchProtectionRuleConflictEdge { readonly cursor: string; readonly node: BranchProtectionRuleConflict | null; } /** The connection type for BranchProtectionRule. */ export interface BranchProtectionRuleConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface BranchProtectionRuleEdge { readonly cursor: string; readonly node: BranchProtectionRule | null; } /** A user, team, or app who has the ability to bypass a force push requirement on a protected branch. */ export interface BypassForcePushAllowance { readonly actor: App | Team | User | null; readonly branchProtectionRule: BranchProtectionRule | null; readonly id: string; } /** The connection type for BypassForcePushAllowance. */ export interface BypassForcePushAllowanceConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface BypassForcePushAllowanceEdge { readonly cursor: string; readonly node: BypassForcePushAllowance | null; } /** A user, team, or app who has the ability to bypass a pull request requirement on a protected branch. */ export interface BypassPullRequestAllowance { readonly actor: App | Team | User | null; readonly branchProtectionRule: BranchProtectionRule | null; readonly id: string; } /** The connection type for BypassPullRequestAllowance. */ export interface BypassPullRequestAllowanceConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface BypassPullRequestAllowanceEdge { readonly cursor: string; readonly node: BypassPullRequestAllowance | null; } /** The Common Vulnerability Scoring System */ export interface CVSS { readonly score: number; readonly vectorString: string | null; } /** A common weakness enumeration */ export interface CWE { readonly cweId: string; readonly description: string; readonly id: string; readonly name: string; } /** The connection type for CWE. */ export interface CWEConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CWEEdge { readonly cursor: string; readonly node: CWE | null; } /** Autogenerated return type of CancelEnterpriseAdminInvitation. */ export interface CancelEnterpriseAdminInvitationPayload { readonly clientMutationId: string | null; readonly invitation: EnterpriseAdministratorInvitation | null; readonly message: string | null; } /** Autogenerated return type of CancelEnterpriseMemberInvitation. */ export interface CancelEnterpriseMemberInvitationPayload { readonly clientMutationId: string | null; readonly invitation: EnterpriseMemberInvitation | null; readonly message: string | null; } /** Autogenerated return type of CancelSponsorship. */ export interface CancelSponsorshipPayload { readonly clientMutationId: string | null; readonly sponsorsTier: SponsorsTier | null; } /** Autogenerated return type of ChangeUserStatus. */ export interface ChangeUserStatusPayload { readonly clientMutationId: string | null; readonly status: UserStatus | null; } /** A single check annotation. */ export interface CheckAnnotation { readonly annotationLevel: "FAILURE" | "NOTICE" | "WARNING" | null; readonly blobUrl: string; readonly databaseId: number | null; readonly fullDatabaseId: string | null; readonly location: CheckAnnotationSpan; readonly message: string; readonly path: string; readonly rawDetails: string | null; readonly title: string | null; } /** The connection type for CheckAnnotation. */ export interface CheckAnnotationConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CheckAnnotationEdge { readonly cursor: string; readonly node: CheckAnnotation | null; } /** A character position in a check annotation. */ export interface CheckAnnotationPosition { readonly column: number | null; readonly line: number; } /** An inclusive pair of positions for a check annotation. */ export interface CheckAnnotationSpan { readonly end: CheckAnnotationPosition; readonly start: CheckAnnotationPosition; } /** A check run. */ export interface CheckRun { readonly annotations: ReadonlyArray | null; readonly checkSuite: CheckSuite; readonly completedAt: string | null; readonly conclusion: | "ACTION_REQUIRED" | "CANCELLED" | "FAILURE" | "NEUTRAL" | "SKIPPED" | "STALE" | "STARTUP_FAILURE" | "SUCCESS" | "TIMED_OUT" | null; readonly databaseId: number | null; readonly deployment: Deployment | null; readonly detailsUrl: string | null; readonly externalId: string | null; readonly id: string; readonly isRequired: FieldWithArgs< boolean, { readonly pullRequestId?: string | null | undefined; readonly pullRequestNumber?: number | null | undefined; }, false >; readonly name: string; readonly pendingDeploymentRequest: DeploymentRequest | null; readonly permalink: string; readonly repository: Repository; readonly resourcePath: string; readonly startedAt: string | null; readonly status: "COMPLETED" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "REQUESTED" | "WAITING"; readonly steps: ReadonlyArray | null; readonly summary: string | null; readonly text: string | null; readonly title: string | null; readonly url: string; } /** The connection type for CheckRun. */ export interface CheckRunConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CheckRunEdge { readonly cursor: string; readonly node: CheckRun | null; } /** Represents a count of the state of a check run. */ export interface CheckRunStateCount { readonly count: number; readonly state: | "ACTION_REQUIRED" | "CANCELLED" | "COMPLETED" | "FAILURE" | "IN_PROGRESS" | "NEUTRAL" | "PENDING" | "QUEUED" | "SKIPPED" | "STALE" | "STARTUP_FAILURE" | "SUCCESS" | "TIMED_OUT" | "WAITING"; } /** A single check step. */ export interface CheckStep { readonly completedAt: string | null; readonly conclusion: | "ACTION_REQUIRED" | "CANCELLED" | "FAILURE" | "NEUTRAL" | "SKIPPED" | "STALE" | "STARTUP_FAILURE" | "SUCCESS" | "TIMED_OUT" | null; readonly externalId: string | null; readonly name: string; readonly number: number; readonly secondsToCompletion: number | null; readonly startedAt: string | null; readonly status: "COMPLETED" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "REQUESTED" | "WAITING"; } /** The connection type for CheckStep. */ export interface CheckStepConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CheckStepEdge { readonly cursor: string; readonly node: CheckStep | null; } /** A check suite. */ export interface CheckSuite { readonly app: App | null; readonly branch: Ref | null; readonly checkRuns: ReadonlyArray | null; readonly commit: Commit; readonly conclusion: | "ACTION_REQUIRED" | "CANCELLED" | "FAILURE" | "NEUTRAL" | "SKIPPED" | "STALE" | "STARTUP_FAILURE" | "SUCCESS" | "TIMED_OUT" | null; readonly createdAt: string; readonly creator: User | null; readonly databaseId: number | null; readonly id: string; readonly matchingPullRequests: ReadonlyArray | null; readonly push: Push | null; readonly repository: Repository; readonly resourcePath: string; readonly status: "COMPLETED" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "REQUESTED" | "WAITING"; readonly updatedAt: string; readonly url: string; readonly workflowRun: WorkflowRun | null; } /** The connection type for CheckSuite. */ export interface CheckSuiteConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CheckSuiteEdge { readonly cursor: string; readonly node: CheckSuite | null; } /** Autogenerated return type of ClearLabelsFromLabelable. */ export interface ClearLabelsFromLabelablePayload { readonly clientMutationId: string | null; readonly labelable: Labelable | null; } /** Autogenerated return type of ClearProjectV2ItemFieldValue. */ export interface ClearProjectV2ItemFieldValuePayload { readonly clientMutationId: string | null; readonly projectV2Item: ProjectV2Item | null; } /** Autogenerated return type of CloneProject. */ export interface CloneProjectPayload { readonly clientMutationId: string | null; readonly jobStatusId: string | null; readonly project: Project | null; } /** Autogenerated return type of CloneTemplateRepository. */ export interface CloneTemplateRepositoryPayload { readonly clientMutationId: string | null; readonly repository: Repository | null; } /** An object that can be closed */ export interface Closable { readonly closed: boolean; readonly closedAt: string | null; readonly viewerCanClose: boolean; readonly viewerCanReopen: boolean; } /** Autogenerated return type of CloseDiscussion. */ export interface CloseDiscussionPayload { readonly clientMutationId: string | null; readonly discussion: Discussion | null; } /** Autogenerated return type of CloseIssue. */ export interface CloseIssuePayload { readonly clientMutationId: string | null; readonly issue: Issue | null; } /** Autogenerated return type of ClosePullRequest. */ export interface ClosePullRequestPayload { readonly clientMutationId: string | null; readonly pullRequest: PullRequest | null; } /** Represents a 'closed' event on any `Closable`. */ export interface ClosedEvent { readonly actor: Actor | null; readonly closable: Closable; readonly closer: Commit | ProjectV2 | PullRequest | null; readonly createdAt: string; readonly duplicateOf: Issue | PullRequest | null; readonly id: string; readonly intent: IssueUpdateIntent | null; readonly resourcePath: string; readonly stateReason: "COMPLETED" | "DUPLICATE" | "NOT_PLANNED" | "REOPENED" | null; readonly url: string; } /** Enforce minimum line coverage thresholds on pull requests. This rule evaluates uploaded coverage data but does not wait for coverage uploads. To ensure coverage is evaluated before merging, make each status check associated with a coverage upload a required status check. */ export interface CodeCoverageParameters { readonly maxCoverageDrop: number | null; readonly minimumCoverage: number | null; } /** The Code of Conduct for a repository */ export interface CodeOfConduct { readonly body: string | null; readonly id: string; readonly key: string; readonly name: string; readonly resourcePath: string | null; readonly url: string | null; } /** Choose which severity levels of code quality results should block pull request merges. When configured, a code quality analysis must be done on the pull request before the changes can be merged. */ export interface CodeQualityParameters { readonly severity: "ALL" | "ERRORS" | "NOTES" | "WARNINGS"; } /** Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. */ export interface CodeScanningParameters { readonly codeScanningTools: ReadonlyArray; } /** A tool that must provide code scanning results for this rule to pass. */ export interface CodeScanningTool { readonly alertsThreshold: string; readonly securityAlertsThreshold: string; readonly tool: string; } /** Represents a comment. */ export interface Comment { readonly author: Actor | null; readonly authorAssociation: | "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; readonly body: string; readonly bodyHTML: string; readonly bodyText: string; readonly createdAt: string; readonly createdViaEmail: boolean; readonly editor: Actor | null; readonly id: string; readonly includesCreatedEdit: boolean; readonly lastEditedAt: string | null; readonly publishedAt: string | null; readonly updatedAt: string; readonly userContentEdits: ReadonlyArray | null; readonly viewerDidAuthor: boolean; } /** Represents a 'comment_deleted' event on a given issue or pull request. */ export interface CommentDeletedEvent { readonly actor: Actor | null; readonly createdAt: string; readonly databaseId: number | null; readonly deletedCommentAuthor: Actor | null; readonly id: string; } /** Represents a Git commit. */ export interface Commit { readonly abbreviatedOid: string; readonly additions: number; readonly associatedPullRequests: ReadonlyArray | null; readonly author: GitActor | null; readonly authoredByCommitter: boolean; readonly authoredDate: string; readonly authors: ReadonlyArray; readonly blame: FieldWithArgs; readonly changedFiles: number; readonly changedFilesIfAvailable: number | null; readonly checkSuites: ReadonlyArray | null; readonly comments: ReadonlyArray; readonly commitResourcePath: string; readonly committedDate: string; readonly committedViaWeb: boolean; readonly committer: GitActor | null; readonly commitUrl: string; readonly deletions: number; readonly deployments: ReadonlyArray | null; readonly file: FieldWithArgs; readonly history: ReadonlyArray; readonly id: string; readonly message: string; readonly messageBody: string; readonly messageBodyHTML: string; readonly messageHeadline: string; readonly messageHeadlineHTML: string; readonly oid: string; readonly onBehalfOf: Organization | null; readonly parents: ReadonlyArray; readonly pushedDate: string | null; readonly repository: Repository; readonly resourcePath: string; readonly signature: GitSignature | null; readonly status: Status | null; readonly statusCheckRollup: StatusCheckRollup | null; readonly submodules: ReadonlyArray; readonly tarballUrl: string; readonly tree: Tree; readonly treeResourcePath: string; readonly treeUrl: string; readonly url: string; readonly viewerCanSubscribe: boolean; readonly viewerSubscription: "IGNORED" | "SUBSCRIBED" | "UNSUBSCRIBED" | null; readonly zipballUrl: string; } /** Parameters to be used for the commit_author_email_pattern rule */ export interface CommitAuthorEmailPatternParameters { readonly name: string | null; readonly negate: boolean; readonly operator: string; readonly pattern: string; } /** Represents a comment on a given Commit. */ export interface CommitComment { readonly author: Actor | null; readonly authorAssociation: | "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; readonly body: string; readonly bodyHTML: string; readonly bodyText: string; readonly commit: Commit | null; readonly createdAt: string; readonly createdViaEmail: boolean; readonly databaseId: number | null; readonly editor: Actor | null; readonly id: string; readonly includesCreatedEdit: boolean; readonly isMinimized: boolean; readonly lastEditedAt: string | null; readonly minimizedReason: string | null; readonly path: string | null; readonly position: number | null; readonly publishedAt: string | null; readonly reactionGroups: ReadonlyArray | null; readonly reactions: ReadonlyArray; readonly repository: Repository; readonly resourcePath: string; readonly updatedAt: string; readonly url: string; readonly userContentEdits: ReadonlyArray | null; readonly viewerCanDelete: boolean; readonly viewerCanMinimize: boolean; readonly viewerCannotUpdateReasons: ReadonlyArray< | "ARCHIVED" | "DENIED" | "INSUFFICIENT_ACCESS" | "LOCKED" | "LOGIN_REQUIRED" | "MAINTENANCE" | "VERIFIED_EMAIL_REQUIRED" >; readonly viewerCanReact: boolean; readonly viewerCanUnminimize: boolean; readonly viewerCanUpdate: boolean; readonly viewerDidAuthor: boolean; } /** The connection type for CommitComment. */ export interface CommitCommentConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CommitCommentEdge { readonly cursor: string; readonly node: CommitComment | null; } /** A thread of comments on a commit. */ export interface CommitCommentThread { readonly comments: ReadonlyArray; readonly commit: Commit | null; readonly id: string; readonly path: string | null; readonly position: number | null; readonly repository: Repository; } /** The connection type for Commit. */ export interface CommitConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** This aggregates commits made by a user within one repository. */ export interface CommitContributionsByRepository { readonly contributions: ReadonlyArray; readonly repository: Repository; readonly resourcePath: string; readonly url: string; } /** An edge in a connection. */ export interface CommitEdge { readonly cursor: string; readonly node: Commit | null; } /** The connection type for Commit. */ export interface CommitHistoryConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** Parameters to be used for the commit_message_pattern rule */ export interface CommitMessagePatternParameters { readonly name: string | null; readonly negate: boolean; readonly operator: string; readonly pattern: string; } /** Parameters to be used for the committer_email_pattern rule */ export interface CommitterEmailPatternParameters { readonly name: string | null; readonly negate: boolean; readonly operator: string; readonly pattern: string; } /** Represents a comparison between two commit revisions. */ export interface Comparison { readonly aheadBy: number; readonly baseTarget: GitObject; readonly behindBy: number; readonly commits: ReadonlyArray; readonly headTarget: GitObject; readonly id: string; readonly status: "AHEAD" | "BEHIND" | "DIVERGED" | "IDENTICAL"; } /** The connection type for Commit. */ export interface ComparisonCommitConnection { readonly authorCount: number; readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** Represents a 'connected' event on a given issue or pull request. */ export interface ConnectedEvent { readonly actor: Actor | null; readonly createdAt: string; readonly id: string; readonly isCrossRepository: boolean; readonly source: Issue | PullRequest; readonly subject: Issue | PullRequest; } /** The content warning for a repository */ export interface ContentWarning { readonly category: string; readonly customSubCategory: string | null; readonly subCategory: string | null; readonly subTitle: string | null; readonly title: string; readonly type: string; } /** The Contributing Guidelines for a repository. */ export interface ContributingGuidelines { readonly body: string | null; readonly resourcePath: string | null; readonly url: string | null; } /** Represents a contribution a user made on GitHub, such as opening an issue. */ export interface Contribution { readonly isRestricted: boolean; readonly occurredAt: string; readonly resourcePath: string; readonly url: string; readonly user: User; } /** A calendar of contributions made on GitHub by a user. */ export interface ContributionCalendar { readonly colors: ReadonlyArray; readonly isHalloween: boolean; readonly months: ReadonlyArray; readonly totalContributions: number; readonly weeks: ReadonlyArray; } /** Represents a single day of contributions on GitHub by a user. */ export interface ContributionCalendarDay { readonly color: string; readonly contributionCount: number; readonly contributionLevel: | "FIRST_QUARTILE" | "FOURTH_QUARTILE" | "NONE" | "SECOND_QUARTILE" | "THIRD_QUARTILE"; readonly date: string; readonly weekday: number; } /** A month of contributions in a user's contribution graph. */ export interface ContributionCalendarMonth { readonly firstDay: string; readonly name: string; readonly totalWeeks: number; readonly year: number; } /** A week of contributions in a user's contribution graph. */ export interface ContributionCalendarWeek { readonly contributionDays: ReadonlyArray; readonly firstDay: string; } /** A collection of contributions made by a user, including opened issues, commits, and pull requests. Contributions in private and internal repositories are only included with the optional read:user scope. */ export interface ContributionsCollection { readonly commitContributionsByRepository: ReadonlyArray; readonly contributionCalendar: ContributionCalendar; readonly contributionYears: ReadonlyArray; readonly doesEndInCurrentMonth: boolean; readonly earliestRestrictedContributionDate: string | null; readonly endedAt: string; readonly firstIssueContribution: CreatedIssueContribution | RestrictedContribution | null; readonly firstPullRequestContribution: | CreatedPullRequestContribution | RestrictedContribution | null; readonly firstRepositoryContribution: | CreatedRepositoryContribution | RestrictedContribution | null; readonly hasActivityInThePast: boolean; readonly hasAnyContributions: boolean; readonly hasAnyRestrictedContributions: boolean; readonly isSingleDay: boolean; readonly issueContributions: ReadonlyArray; readonly issueContributionsByRepository: ReadonlyArray; readonly joinedGitHubContribution: JoinedGitHubContribution | null; readonly latestRestrictedContributionDate: string | null; readonly mostRecentCollectionWithActivity: ContributionsCollection | null; readonly mostRecentCollectionWithoutActivity: ContributionsCollection | null; readonly popularIssueContribution: CreatedIssueContribution | null; readonly popularPullRequestContribution: CreatedPullRequestContribution | null; readonly pullRequestContributions: ReadonlyArray; readonly pullRequestContributionsByRepository: ReadonlyArray; readonly pullRequestReviewContributions: ReadonlyArray; readonly pullRequestReviewContributionsByRepository: ReadonlyArray; readonly repositoryContributions: ReadonlyArray; readonly restrictedContributionsCount: number; readonly startedAt: string; readonly totalCommitContributions: number; readonly totalIssueContributions: FieldWithArgs< number, { readonly excludeFirst?: boolean | null | undefined; readonly excludePopular?: boolean | null | undefined; }, false >; readonly totalPullRequestContributions: FieldWithArgs< number, { readonly excludeFirst?: boolean | null | undefined; readonly excludePopular?: boolean | null | undefined; }, false >; readonly totalPullRequestReviewContributions: number; readonly totalRepositoriesWithContributedCommits: number; readonly totalRepositoriesWithContributedIssues: FieldWithArgs< number, { readonly excludeFirst?: boolean | null | undefined; readonly excludePopular?: boolean | null | undefined; }, false >; readonly totalRepositoriesWithContributedPullRequestReviews: number; readonly totalRepositoriesWithContributedPullRequests: FieldWithArgs< number, { readonly excludeFirst?: boolean | null | undefined; readonly excludePopular?: boolean | null | undefined; }, false >; readonly totalRepositoryContributions: FieldWithArgs< number, { readonly excludeFirst?: boolean | null | undefined }, false >; readonly user: User; } /** Autogenerated return type of ConvertProjectCardNoteToIssue. */ export interface ConvertProjectCardNoteToIssuePayload { readonly clientMutationId: string | null; readonly projectCard: ProjectCard | null; } /** Autogenerated return type of ConvertProjectV2DraftIssueItemToIssue. */ export interface ConvertProjectV2DraftIssueItemToIssuePayload { readonly clientMutationId: string | null; readonly item: ProjectV2Item | null; } /** Autogenerated return type of ConvertPullRequestToDraft. */ export interface ConvertPullRequestToDraftPayload { readonly clientMutationId: string | null; readonly pullRequest: PullRequest | null; } /** Represents a 'convert_to_draft' event on a given pull request. */ export interface ConvertToDraftEvent { readonly actor: Actor | null; readonly createdAt: string; readonly id: string; readonly pullRequest: PullRequest; readonly resourcePath: string; readonly url: string; } /** Represents a 'converted_from_draft' event on a given issue or pull request. */ export interface ConvertedFromDraftEvent { readonly actor: Actor | null; readonly createdAt: string; readonly id: string; readonly project: ProjectV2 | null; readonly wasAutomated: boolean; } /** Represents a 'converted_note_to_issue' event on a given issue or pull request. */ export interface ConvertedNoteToIssueEvent { readonly actor: Actor | null; readonly createdAt: string; readonly databaseId: number | null; readonly id: string; readonly project: Project | null; readonly projectCard: ProjectCard | null; readonly projectColumnName: string; } /** Represents a 'converted_to_discussion' event on a given issue. */ export interface ConvertedToDiscussionEvent { readonly actor: Actor | null; readonly createdAt: string; readonly discussion: Discussion | null; readonly id: string; } /** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review and AI credits. */ export interface CopilotCodeReviewParameters { readonly reviewDraftPullRequests: boolean; readonly reviewOnPush: boolean; } /** Copilot endpoint information */ export interface CopilotEndpoints { readonly api: string; readonly exp: string | null; readonly originTracker: string; readonly proxy: string; readonly telemetry: string; } /** Autogenerated return type of CopyProjectV2. */ export interface CopyProjectV2Payload { readonly clientMutationId: string | null; readonly projectV2: ProjectV2 | null; } /** Autogenerated return type of CreateAttributionInvitation. */ export interface CreateAttributionInvitationPayload { readonly clientMutationId: string | null; readonly owner: Organization | null; readonly source: Mannequin | User | null; readonly target: Mannequin | User | null; } /** Autogenerated return type of CreateBranchProtectionRule. */ export interface CreateBranchProtectionRulePayload { readonly branchProtectionRule: BranchProtectionRule | null; readonly clientMutationId: string | null; } /** Autogenerated return type of CreateCheckRun. */ export interface CreateCheckRunPayload { readonly checkRun: CheckRun | null; readonly clientMutationId: string | null; } /** Autogenerated return type of CreateCheckSuite. */ export interface CreateCheckSuitePayload { readonly checkSuite: CheckSuite | null; readonly clientMutationId: string | null; } /** Autogenerated return type of CreateCommitOnBranch. */ export interface CreateCommitOnBranchPayload { readonly clientMutationId: string | null; readonly commit: Commit | null; readonly ref: Ref | null; } /** Autogenerated return type of CreateDeployment. */ export interface CreateDeploymentPayload { readonly autoMerged: boolean | null; readonly clientMutationId: string | null; readonly deployment: Deployment | null; } /** Autogenerated return type of CreateDeploymentStatus. */ export interface CreateDeploymentStatusPayload { readonly clientMutationId: string | null; readonly deploymentStatus: DeploymentStatus | null; } /** Autogenerated return type of CreateDiscussion. */ export interface CreateDiscussionPayload { readonly clientMutationId: string | null; readonly discussion: Discussion | null; } /** Autogenerated return type of CreateEnterpriseOrganization. */ export interface CreateEnterpriseOrganizationPayload { readonly clientMutationId: string | null; readonly enterprise: Enterprise | null; readonly organization: Organization | null; } /** Autogenerated return type of CreateEnvironment. */ export interface CreateEnvironmentPayload { readonly clientMutationId: string | null; readonly environment: Environment | null; } /** Autogenerated return type of CreateIpAllowListEntry. */ export interface CreateIpAllowListEntryPayload { readonly clientMutationId: string | null; readonly ipAllowListEntry: IpAllowListEntry | null; } /** Autogenerated return type of CreateIssueField. */ export interface CreateIssueFieldPayload { readonly clientMutationId: string | null; readonly issueField: | IssueFieldDate | IssueFieldMultiSelect | IssueFieldNumber | IssueFieldSingleSelect | IssueFieldText | null; } /** Autogenerated return type of CreateIssueFieldValue. */ export interface CreateIssueFieldValuePayload { readonly clientMutationId: string | null; readonly issue: Issue | null; readonly issueFieldValue: | IssueFieldDateValue | IssueFieldMultiSelectValue | IssueFieldNumberValue | IssueFieldSingleSelectValue | IssueFieldTextValue | null; } /** Autogenerated return type of CreateIssue. */ export interface CreateIssuePayload { readonly clientMutationId: string | null; readonly issue: Issue | null; } /** Autogenerated return type of CreateIssueType. */ export interface CreateIssueTypePayload { readonly clientMutationId: string | null; readonly issueType: IssueType | null; } /** Autogenerated return type of CreateLabel. */ export interface CreateLabelPayload { readonly clientMutationId: string | null; readonly label: Label | null; } /** Autogenerated return type of CreateLinkedBranch. */ export interface CreateLinkedBranchPayload { readonly clientMutationId: string | null; readonly issue: Issue | null; readonly linkedBranch: LinkedBranch | null; } /** Autogenerated return type of CreateMigrationSource. */ export interface CreateMigrationSourcePayload { readonly clientMutationId: string | null; readonly migrationSource: MigrationSource | null; } /** Autogenerated return type of CreateProject. */ export interface CreateProjectPayload { readonly clientMutationId: string | null; readonly project: Project | null; } /** Autogenerated return type of CreateProjectV2Field. */ export interface CreateProjectV2FieldPayload { readonly clientMutationId: string | null; readonly projectV2Field: | ProjectV2Field | ProjectV2IterationField | ProjectV2MultiSelectField | ProjectV2SingleSelectField | null; } /** Autogenerated return type of CreateProjectV2IssueField. */ export interface CreateProjectV2IssueFieldPayload { readonly clientMutationId: string | null; readonly projectV2Field: | ProjectV2Field | ProjectV2IterationField | ProjectV2MultiSelectField | ProjectV2SingleSelectField | null; } /** Autogenerated return type of CreateProjectV2. */ export interface CreateProjectV2Payload { readonly clientMutationId: string | null; readonly projectV2: ProjectV2 | null; } /** Autogenerated return type of CreateProjectV2StatusUpdate. */ export interface CreateProjectV2StatusUpdatePayload { readonly clientMutationId: string | null; readonly statusUpdate: ProjectV2StatusUpdate | null; } /** Autogenerated return type of CreateProjectV2View. */ export interface CreateProjectV2ViewPayload { readonly clientMutationId: string | null; readonly projectV2View: ProjectV2View | null; } /** Autogenerated return type of CreatePullRequest. */ export interface CreatePullRequestPayload { readonly clientMutationId: string | null; readonly pullRequest: PullRequest | null; } /** Autogenerated return type of CreateRef. */ export interface CreateRefPayload { readonly clientMutationId: string | null; readonly ref: Ref | null; } /** Autogenerated return type of CreateRepositoryCustomProperty. */ export interface CreateRepositoryCustomPropertyPayload { readonly clientMutationId: string | null; readonly repositoryCustomProperty: RepositoryCustomProperty | null; } /** Autogenerated return type of CreateRepository. */ export interface CreateRepositoryPayload { readonly clientMutationId: string | null; readonly repository: Repository | null; } /** Autogenerated return type of CreateRepositoryRuleset. */ export interface CreateRepositoryRulesetPayload { readonly clientMutationId: string | null; readonly ruleset: RepositoryRuleset | null; } /** Autogenerated return type of CreateSponsorsListing. */ export interface CreateSponsorsListingPayload { readonly clientMutationId: string | null; readonly sponsorsListing: SponsorsListing | null; } /** Autogenerated return type of CreateSponsorsTier. */ export interface CreateSponsorsTierPayload { readonly clientMutationId: string | null; readonly sponsorsTier: SponsorsTier | null; } /** Autogenerated return type of CreateSponsorship. */ export interface CreateSponsorshipPayload { readonly clientMutationId: string | null; readonly sponsorship: Sponsorship | null; } /** Autogenerated return type of CreateSponsorships. */ export interface CreateSponsorshipsPayload { readonly clientMutationId: string | null; readonly sponsorables: ReadonlyArray | null; } /** Autogenerated return type of CreateUserList. */ export interface CreateUserListPayload { readonly clientMutationId: string | null; readonly list: UserList | null; readonly viewer: User | null; } /** Represents the contribution a user made by committing to a repository. */ export interface CreatedCommitContribution { readonly commitCount: number; readonly isRestricted: boolean; readonly occurredAt: string; readonly repository: Repository; readonly resourcePath: string; readonly url: string; readonly user: User; } /** The connection type for CreatedCommitContribution. */ export interface CreatedCommitContributionConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CreatedCommitContributionEdge { readonly cursor: string; readonly node: CreatedCommitContribution | null; } /** Represents the contribution a user made on GitHub by opening an issue. */ export interface CreatedIssueContribution { readonly isRestricted: boolean; readonly issue: Issue; readonly occurredAt: string; readonly resourcePath: string; readonly url: string; readonly user: User; } /** The connection type for CreatedIssueContribution. */ export interface CreatedIssueContributionConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CreatedIssueContributionEdge { readonly cursor: string; readonly node: CreatedIssueContribution | null; } /** Represents the contribution a user made on GitHub by opening a pull request. */ export interface CreatedPullRequestContribution { readonly isRestricted: boolean; readonly occurredAt: string; readonly pullRequest: PullRequest; readonly resourcePath: string; readonly url: string; readonly user: User; } /** The connection type for CreatedPullRequestContribution. */ export interface CreatedPullRequestContributionConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CreatedPullRequestContributionEdge { readonly cursor: string; readonly node: CreatedPullRequestContribution | null; } /** Represents the contribution a user made by leaving a review on a pull request. */ export interface CreatedPullRequestReviewContribution { readonly isRestricted: boolean; readonly occurredAt: string; readonly pullRequest: PullRequest; readonly pullRequestReview: PullRequestReview; readonly repository: Repository; readonly resourcePath: string; readonly url: string; readonly user: User; } /** The connection type for CreatedPullRequestReviewContribution. */ export interface CreatedPullRequestReviewContributionConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CreatedPullRequestReviewContributionEdge { readonly cursor: string; readonly node: CreatedPullRequestReviewContribution | null; } /** Represents the contribution a user made on GitHub by creating a repository. */ export interface CreatedRepositoryContribution { readonly isRestricted: boolean; readonly occurredAt: string; readonly repository: Repository; readonly resourcePath: string; readonly url: string; readonly user: User; } /** The connection type for CreatedRepositoryContribution. */ export interface CreatedRepositoryContributionConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface CreatedRepositoryContributionEdge { readonly cursor: string; readonly node: CreatedRepositoryContribution | null; } /** Represents a mention made by one issue or pull request to another. */ export interface CrossReferencedEvent { readonly actor: Actor | null; readonly createdAt: string; readonly id: string; readonly isCrossRepository: boolean; readonly referencedAt: string; readonly resourcePath: string; readonly source: Issue | PullRequest; readonly target: Issue | PullRequest; readonly url: string; readonly willCloseTarget: boolean; } /** The Common Vulnerability Scoring System */ export interface CvssSeverities { readonly cvssV3: CVSS | null; readonly cvssV4: CVSS | null; } /** Autogenerated return type of DeclineTopicSuggestion. */ export interface DeclineTopicSuggestionPayload { readonly clientMutationId: string | null; readonly topic: Topic | null; } /** Entities that can be deleted. */ export interface Deletable { readonly viewerCanDelete: boolean; } /** Autogenerated return type of DeleteBranchProtectionRule. */ export interface DeleteBranchProtectionRulePayload { readonly clientMutationId: string | null; } /** Autogenerated return type of DeleteDeployment. */ export interface DeleteDeploymentPayload { readonly clientMutationId: string | null; } /** Autogenerated return type of DeleteDiscussionComment. */ export interface DeleteDiscussionCommentPayload { readonly clientMutationId: string | null; readonly comment: DiscussionComment | null; } /** Autogenerated return type of DeleteDiscussion. */ export interface DeleteDiscussionPayload { readonly clientMutationId: string | null; readonly discussion: Discussion | null; } /** Autogenerated return type of DeleteEnvironment. */ export interface DeleteEnvironmentPayload { readonly clientMutationId: string | null; } /** Autogenerated return type of DeleteIpAllowListEntry. */ export interface DeleteIpAllowListEntryPayload { readonly clientMutationId: string | null; readonly ipAllowListEntry: IpAllowListEntry | null; } /** Autogenerated return type of DeleteIssueComment. */ export interface DeleteIssueCommentPayload { readonly clientMutationId: string | null; } /** Autogenerated return type of DeleteIssueField. */ export interface DeleteIssueFieldPayload { readonly clientMutationId: string | null; readonly issueField: | IssueFieldDate | IssueFieldMultiSelect | IssueFieldNumber | IssueFieldSingleSelect | IssueFieldText | null; } /** Autogenerated return type of DeleteIssueFieldValue. */ export interface DeleteIssueFieldValuePayload { readonly clientMutationId: string | null; readonly issue: Issue | null; readonly success: boolean | null; } /** Autogenerated return type of DeleteIssue. */ export interface DeleteIssuePayload { readonly clientMutationId: string | null; readonly repository: Repository | null; } /** Autogenerated return type of DeleteIssueType. */ export interface DeleteIssueTypePayload { readonly clientMutationId: string | null; readonly deletedIssueTypeId: string | null; } /** Autogenerated return type of DeleteLabel. */ export interface DeleteLabelPayload { readonly clientMutationId: string | null; } /** Autogenerated return type of DeleteLinkedBranch. */ export interface DeleteLinkedBranchPayload { readonly clientMutationId: string | null; readonly issue: Issue | null; } /** Autogenerated return type of DeletePackageVersion. */ export interface DeletePackageVersionPayload { readonly clientMutationId: string | null; readonly success: boolean | null; } /** Autogenerated return type of DeleteProjectCard. */ export interface DeleteProjectCardPayload { readonly clientMutationId: string | null; readonly column: ProjectColumn | null; readonly deletedCardId: string | null; } /** Autogenerated return type of DeleteProjectColumn. */ export interface DeleteProjectColumnPayload { readonly clientMutationId: string | null; readonly deletedColumnId: string | null; readonly project: Project | null; } /** Autogenerated return type of DeleteProject. */ export interface DeleteProjectPayload { readonly clientMutationId: string | null; readonly owner: ProjectOwner | null; } /** Autogenerated return type of DeleteProjectV2Field. */ export interface DeleteProjectV2FieldPayload { readonly clientMutationId: string | null; readonly projectV2Field: | ProjectV2Field | ProjectV2IterationField | ProjectV2MultiSelectField | ProjectV2SingleSelectField | null; } /** Autogenerated return type of DeleteProjectV2Item. */ export interface DeleteProjectV2ItemPayload { readonly clientMutationId: string | null; readonly deletedItemId: string | null; } /** Autogenerated return type of DeleteProjectV2. */ export interface DeleteProjectV2Payload { readonly clientMutationId: string | null; readonly projectV2: ProjectV2 | null; } /** Autogenerated return type of DeleteProjectV2StatusUpdate. */ export interface DeleteProjectV2StatusUpdatePayload { readonly clientMutationId: string | null; readonly deletedStatusUpdateId: string | null; readonly projectV2: ProjectV2 | null; } /** Autogenerated return type of DeleteProjectV2View. */ export interface DeleteProjectV2ViewPayload { readonly clientMutationId: string | null; readonly projectV2View: ProjectV2View | null; } /** Autogenerated return type of DeleteProjectV2Workflow. */ export interface DeleteProjectV2WorkflowPayload { readonly clientMutationId: string | null; readonly deletedWorkflowId: string | null; readonly projectV2: ProjectV2 | null; } /** Autogenerated return type of DeletePullRequestReviewComment. */ export interface DeletePullRequestReviewCommentPayload { readonly clientMutationId: string | null; readonly pullRequestReview: PullRequestReview | null; readonly pullRequestReviewComment: PullRequestReviewComment | null; } /** Autogenerated return type of DeletePullRequestReview. */ export interface DeletePullRequestReviewPayload { readonly clientMutationId: string | null; readonly pullRequestReview: PullRequestReview | null; } /** Autogenerated return type of DeleteRef. */ export interface DeleteRefPayload { readonly clientMutationId: string | null; } /** Autogenerated return type of DeleteRepositoryCustomProperty. */ export interface DeleteRepositoryCustomPropertyPayload { readonly clientMutationId: string | null; readonly repositoryCustomProperty: RepositoryCustomProperty | null; } /** Autogenerated return type of DeleteRepositoryRuleset. */ export interface DeleteRepositoryRulesetPayload { readonly clientMutationId: string | null; } /** Autogenerated return type of DeleteUserList. */ export interface DeleteUserListPayload { readonly clientMutationId: string | null; readonly user: User | null; } /** Autogenerated return type of DeleteVerifiableDomain. */ export interface DeleteVerifiableDomainPayload { readonly clientMutationId: string | null; readonly owner: Enterprise | Organization | null; } /** Represents a 'demilestoned' event on a given issue or pull request. */ export interface DemilestonedEvent { readonly actor: Actor | null; readonly createdAt: string; readonly id: string; readonly milestoneTitle: string; readonly subject: Issue | PullRequest; } /** A Dependabot Update for a dependency in a repository */ export interface DependabotUpdate { readonly error: DependabotUpdateError | null; readonly pullRequest: PullRequest | null; readonly repository: Repository; } /** An error produced from a Dependabot Update */ export interface DependabotUpdateError { readonly body: string; readonly errorType: string; readonly title: string; } /** A dependency manifest entry */ export interface DependencyGraphDependency { readonly hasDependencies: boolean; readonly packageLabel: string; readonly packageManager: string | null; readonly packageName: string; readonly packageUrl: string | null; readonly relationship: string; readonly repository: Repository | null; readonly requirements: string; } /** The connection type for DependencyGraphDependency. */ export interface DependencyGraphDependencyConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface DependencyGraphDependencyEdge { readonly cursor: string; readonly node: DependencyGraphDependency | null; } /** Dependency manifest for a repository */ export interface DependencyGraphManifest { readonly blobPath: string; readonly dependencies: ReadonlyArray | null; readonly dependenciesCount: number | null; readonly exceedsMaxSize: boolean; readonly filename: string; readonly id: string; readonly parseable: boolean; readonly repository: Repository; } /** The connection type for DependencyGraphManifest. */ export interface DependencyGraphManifestConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface DependencyGraphManifestEdge { readonly cursor: string; readonly node: DependencyGraphManifest | null; } /** A repository deploy key. */ export interface DeployKey { readonly createdAt: string; readonly enabled: boolean; readonly id: string; readonly key: string; readonly readOnly: boolean; readonly title: string; readonly verified: boolean; } /** The connection type for DeployKey. */ export interface DeployKeyConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface DeployKeyEdge { readonly cursor: string; readonly node: DeployKey | null; } /** Represents a 'deployed' event on a given pull request. */ export interface DeployedEvent { readonly actor: Actor | null; readonly createdAt: string; readonly databaseId: number | null; readonly deployment: Deployment; readonly id: string; readonly pullRequest: PullRequest; readonly ref: Ref | null; } /** Represents triggered deployment instance. */ export interface Deployment { readonly commit: Commit | null; readonly commitOid: string; readonly createdAt: string; readonly creator: Actor; readonly databaseId: number | null; readonly description: string | null; readonly environment: string | null; readonly id: string; readonly latestEnvironment: string | null; readonly latestStatus: DeploymentStatus | null; readonly originalEnvironment: string | null; readonly payload: string | null; readonly ref: Ref | null; readonly repository: Repository; readonly state: | "ABANDONED" | "ACTIVE" | "DESTROYED" | "ERROR" | "FAILURE" | "INACTIVE" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "SUCCESS" | "WAITING" | null; readonly statuses: ReadonlyArray | null; readonly task: string | null; readonly updatedAt: string; } /** The connection type for Deployment. */ export interface DeploymentConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface DeploymentEdge { readonly cursor: string; readonly node: Deployment | null; } /** Represents a 'deployment_environment_changed' event on a given pull request. */ export interface DeploymentEnvironmentChangedEvent { readonly actor: Actor | null; readonly createdAt: string; readonly deploymentStatus: DeploymentStatus; readonly id: string; readonly pullRequest: PullRequest; } /** A protection rule. */ export interface DeploymentProtectionRule { readonly databaseId: number | null; readonly preventSelfReview: boolean | null; readonly reviewers: ReadonlyArray; readonly timeout: number; readonly type: "BRANCH_POLICY" | "REQUIRED_REVIEWERS" | "WAIT_TIMER"; } /** The connection type for DeploymentProtectionRule. */ export interface DeploymentProtectionRuleConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface DeploymentProtectionRuleEdge { readonly cursor: string; readonly node: DeploymentProtectionRule | null; } /** A request to deploy a workflow run to an environment. */ export interface DeploymentRequest { readonly currentUserCanApprove: boolean; readonly environment: Environment; readonly reviewers: ReadonlyArray; readonly waitTimer: number; readonly waitTimerStartedAt: string | null; } /** The connection type for DeploymentRequest. */ export interface DeploymentRequestConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface DeploymentRequestEdge { readonly cursor: string; readonly node: DeploymentRequest | null; } /** A deployment review. */ export interface DeploymentReview { readonly comment: string; readonly databaseId: number | null; readonly environments: ReadonlyArray; readonly id: string; readonly state: "APPROVED" | "REJECTED"; readonly user: User; } /** The connection type for DeploymentReview. */ export interface DeploymentReviewConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface DeploymentReviewEdge { readonly cursor: string; readonly node: DeploymentReview | null; } /** The connection type for DeploymentReviewer. */ export interface DeploymentReviewerConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface DeploymentReviewerEdge { readonly cursor: string; readonly node: Team | User | null; } /** Describes the status of a given deployment attempt. */ export interface DeploymentStatus { readonly createdAt: string; readonly creator: Actor; readonly deployment: Deployment; readonly description: string | null; readonly environment: string | null; readonly environmentUrl: string | null; readonly id: string; readonly logUrl: string | null; readonly state: | "ERROR" | "FAILURE" | "INACTIVE" | "IN_PROGRESS" | "PENDING" | "QUEUED" | "SUCCESS" | "WAITING"; readonly updatedAt: string; } /** The connection type for DeploymentStatus. */ export interface DeploymentStatusConnection { readonly edges: ReadonlyArray | null; readonly nodes: ReadonlyArray | null; readonly pageInfo: PageInfo; readonly totalCount: number; } /** An edge in a connection. */ export interface DeploymentStatusEdge { readonly cursor: string; readonly node: DeploymentStatus | null; } /** Autogenerated return type of DequeuePullRequest. */ export interface DequeuePullRequestPayload { readonly clientMutationId: string | null; readonly mergeQueueEntry: MergeQueueEntry | null; } /** Autogenerated return type of DisablePullRequestAutoMerge. */ export interface DisablePullRequestAutoMergePayload { readonly actor: Actor | null; readonly clientMutationId: string | null; readonly pullRequest: PullRequest | null; } /** Represents a 'disconnected' event on a given issue or pull request. */ export interface DisconnectedEvent { readonly actor: Actor | null; readonly createdAt: string; readonly id: string; readonly isCrossRepository: boolean; readonly source: Issue | PullRequest; readonly subject: Issue | PullRequest; } /** A discussion in a repository. */ export interface Discussion { readonly activeLockReason: "OFF_TOPIC" | "RESOLVED" | "SPAM" | "TOO_HEATED" | null; readonly answer: DiscussionComment | null; readonly answerChosenAt: string | null; readonly answerChosenBy: Actor | null; readonly author: Actor | null; readonly authorAssociation: | "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; readonly body: string; readonly bodyHTML: string; readonly bodyText: string; readonly category: DiscussionCategory; readonly closed: boolean; readonly closedAt: string | null; readonly comments: ReadonlyArray; readonly createdAt: string; readonly createdViaEmail: boolean; readonly databaseId: number | null; readonly editor: Actor | null; readonly id: string; readonly includesCreatedEdit: boolean; readonly isAnswered: boolean | null; readonly labels: ReadonlyArray