backport
Version:
A CLI tool that automates the process of backporting commits
716 lines • 268 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FileViewedState = exports.EnvironmentPinnedFilterField = exports.EnvironmentOrderField = exports.EnterpriseUserDeployment = exports.EnterpriseUserAccountMembershipRole = exports.EnterpriseServerUserAccountsUploadSyncState = exports.EnterpriseServerUserAccountsUploadOrderField = exports.EnterpriseServerUserAccountOrderField = exports.EnterpriseServerUserAccountEmailOrderField = exports.EnterpriseServerInstallationOrderField = exports.EnterpriseOrderField = exports.EnterpriseMembershipType = exports.EnterpriseMembersCanMakePurchasesSettingValue = exports.EnterpriseMembersCanCreateRepositoriesSettingValue = exports.EnterpriseMemberOrderField = exports.EnterpriseMemberInvitationOrderField = exports.EnterpriseEnabledSettingValue = exports.EnterpriseEnabledDisabledSettingValue = exports.EnterpriseDisallowedMethodsSettingValue = exports.EnterpriseDefaultRepositoryPermissionSettingValue = exports.EnterpriseAllowPrivateRepositoryForkingPolicyValue = exports.EnterpriseAdministratorRole = exports.EnterpriseAdministratorInvitationOrderField = exports.DismissReason = exports.DiscussionStateReason = exports.DiscussionState = exports.DiscussionPollOptionOrderField = exports.DiscussionOrderField = exports.DiscussionCloseReason = exports.DiffSide = exports.DeploymentStatusState = exports.DeploymentState = exports.DeploymentReviewState = exports.DeploymentProtectionRuleType = exports.DeploymentOrderField = exports.DependencyGraphEcosystem = exports.DefaultRepositoryPermissionField = exports.ContributionLevel = exports.ComparisonStatus = exports.CommitContributionOrderField = exports.CommentCannotUpdateReason = exports.CommentAuthorAssociation = exports.CollaboratorAffiliation = exports.CheckStatusState = exports.CheckRunType = exports.CheckRunState = exports.CheckConclusionState = exports.CheckAnnotationLevel = exports.AuditLogOrderField = exports.ActorType = void 0;
exports.OrganizationInvitationSource = exports.OrganizationInvitationRole = exports.OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = exports.OrgUpdateMemberAuditEntryPermission = exports.OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = exports.OrgRemoveOutsideCollaboratorAuditEntryReason = exports.OrgRemoveOutsideCollaboratorAuditEntryMembershipType = exports.OrgRemoveMemberAuditEntryReason = exports.OrgRemoveMemberAuditEntryMembershipType = exports.OrgRemoveBillingManagerAuditEntryReason = exports.OrgEnterpriseOwnerOrderField = exports.OrgCreateAuditEntryBillingPlan = exports.OrgAddMemberAuditEntryPermission = exports.OrderDirection = exports.OperationType = exports.OauthApplicationCreateAuditEntryState = exports.OidcProviderType = exports.NotificationRestrictionSettingValue = exports.MilestoneState = exports.MilestoneOrderField = exports.MigrationState = exports.MigrationSourceType = exports.MergeableState = exports.MergeStateStatus = exports.MergeQueueMergingStrategy = exports.MergeQueueMergeMethod = exports.MergeQueueGroupingStrategy = exports.MergeQueueEntryState = exports.MergeCommitTitle = exports.MergeCommitMessage = exports.MannequinOrderField = exports.LockReason = exports.LanguageOrderField = exports.LabelOrderField = exports.IssueTypeOrderField = exports.IssueTypeColor = exports.IssueTimelineItemsItemType = exports.IssueStateReason = exports.IssueState = exports.IssueOrderField = exports.IssueCommentOrderField = exports.IssueClosedStateReason = exports.IpAllowListForInstalledAppsEnabledSettingValue = exports.IpAllowListEntryOrderField = exports.IpAllowListEnabledSettingValue = exports.IdentityProviderConfigurationState = exports.GitSignatureState = exports.GistPrivacy = exports.GistOrderField = exports.FundingPlatform = void 0;
exports.ReactionOrderField = exports.ReactionContent = exports.PullRequestUpdateState = exports.PullRequestTimelineItemsItemType = exports.PullRequestState = exports.PullRequestReviewThreadSubjectType = exports.PullRequestReviewState = exports.PullRequestReviewEvent = exports.PullRequestReviewDecision = exports.PullRequestReviewCommentState = exports.PullRequestOrderField = exports.PullRequestMergeMethod = exports.PullRequestBranchUpdateMethod = exports.PullRequestAllowedMergeMethods = exports.ProjectV2WorkflowsOrderField = exports.ProjectV2ViewOrderField = exports.ProjectV2ViewLayout = exports.ProjectV2StatusUpdateStatus = exports.ProjectV2StatusUpdateOrderField = exports.ProjectV2State = exports.ProjectV2SingleSelectFieldOptionColor = exports.ProjectV2Roles = exports.ProjectV2PermissionLevel = exports.ProjectV2OrderField = exports.ProjectV2ItemType = exports.ProjectV2ItemOrderField = exports.ProjectV2ItemFieldValueOrderField = exports.ProjectV2FieldType = exports.ProjectV2FieldOrderField = exports.ProjectV2CustomFieldType = exports.ProjectTemplate = exports.ProjectState = exports.ProjectOrderField = exports.ProjectColumnPurpose = exports.ProjectCardState = exports.ProjectCardArchivedState = exports.PinnedEnvironmentOrderField = exports.PinnedDiscussionPattern = exports.PinnedDiscussionGradient = exports.PinnableItemType = exports.PatchStatus = exports.PackageVersionOrderField = exports.PackageType = exports.PackageOrderField = exports.PackageFileOrderField = exports.OrganizationOrderField = exports.OrganizationMigrationState = exports.OrganizationMembersCanCreateRepositoriesSettingValue = exports.OrganizationMemberRole = exports.OrganizationInvitationType = void 0;
exports.SponsorsActivityOrderField = exports.SponsorsActivityAction = exports.SponsorableOrderField = exports.SponsorOrderField = exports.SponsorAndLifetimeValueOrderField = exports.SocialAccountProvider = exports.SecurityVulnerabilityOrderField = exports.SecurityAdvisorySeverity = exports.SecurityAdvisoryOrderField = exports.SecurityAdvisoryIdentifierType = exports.SecurityAdvisoryEcosystem = exports.SecurityAdvisoryClassification = exports.SearchType = exports.SavedReplyOrderField = exports.SamlSignatureAlgorithm = exports.SamlDigestAlgorithm = exports.RuleEnforcement = exports.RoleInOrganization = exports.RequestableCheckStatusState = exports.RepositoryVulnerabilityAlertState = exports.RepositoryVulnerabilityAlertDependencyScope = exports.RepositoryVulnerabilityAlertDependencyRelationship = exports.RepositoryVisibility = exports.RepositorySuggestedActorFilter = exports.RepositoryRulesetTarget = exports.RepositoryRulesetBypassActorBypassMode = exports.RepositoryRuleType = exports.RepositoryRuleOrderField = exports.RepositoryPrivacy = exports.RepositoryPermission = exports.RepositoryOrderField = exports.RepositoryMigrationOrderField = exports.RepositoryMigrationOrderDirection = exports.RepositoryLockReason = exports.RepositoryInvitationOrderField = exports.RepositoryInteractionLimitOrigin = exports.RepositoryInteractionLimitExpiry = exports.RepositoryInteractionLimit = exports.RepositoryContributionType = exports.RepositoryAffiliation = exports.ReportedContentClassifiers = exports.RepoRemoveMemberAuditEntryVisibility = exports.RepoDestroyAuditEntryVisibility = exports.RepoCreateAuditEntryVisibility = exports.RepoChangeMergeSettingAuditEntryMergeType = exports.RepoArchivedAuditEntryVisibility = exports.RepoAddMemberAuditEntryVisibility = exports.RepoAccessAuditEntryVisibility = exports.ReleaseOrderField = exports.RefOrderField = void 0;
exports.PullRequestAutoMergeMethodDocument = exports.ExistingPullRequestDocument = exports.PullRequestBySearchQueryDocument = exports.CommitsForRebaseAndMergeStrategyDocument = exports.CommitsByAuthorDocument = exports.CommitsByShaDocument = exports.CommitByPullNumberDocument = exports.AuthorIdDocument = exports.EnablePullRequestAutoMergeDocument = exports.DisablePullRequestAutoMergeDocument = exports.GetRepoDocument = exports.GetViewerDocument = exports.SourceCommitWithTargetPullRequestFragmentFragmentDoc = exports.RemoteConfigHistoryFragmentFragmentDoc = exports.WorkflowState = exports.WorkflowRunOrderField = exports.VerifiableDomainOrderField = exports.UserViewType = exports.UserStatusOrderField = exports.UserBlockDuration = exports.TwoFactorCredentialSecurityType = exports.TrackedIssueStates = exports.TopicSuggestionDeclineReason = exports.ThreadSubscriptionState = exports.ThreadSubscriptionFormAction = exports.TeamRole = exports.TeamReviewAssignmentAlgorithm = exports.TeamRepositoryOrderField = exports.TeamPrivacy = exports.TeamOrderField = exports.TeamNotificationSetting = exports.TeamMembershipType = exports.TeamMemberRole = exports.TeamMemberOrderField = exports.TeamDiscussionOrderField = exports.TeamDiscussionCommentOrderField = exports.SubscriptionState = exports.StatusState = exports.StarOrderField = exports.SquashMergeCommitTitle = exports.SquashMergeCommitMessage = exports.SponsorshipPrivacy = exports.SponsorshipPaymentSource = exports.SponsorshipOrderField = exports.SponsorshipNewsletterOrderField = exports.SponsorsTierOrderField = exports.SponsorsListingFeaturedItemFeatureableType = exports.SponsorsGoalKind = exports.SponsorsCountryOrRegionCode = exports.SponsorsActivityPeriod = void 0;
exports.GetBranchIdDocument = exports.RepoOwnerAndNameDocument = exports.GithubConfigOptionsDocument = exports.PullRequestIdDocument = void 0;
/** The actor's type. */
var ActorType;
(function (ActorType) {
/** Indicates a team actor. */
ActorType["Team"] = "TEAM";
/** Indicates a user actor. */
ActorType["User"] = "USER";
})(ActorType || (exports.ActorType = ActorType = {}));
/** Properties by which Audit Log connections can be ordered. */
var AuditLogOrderField;
(function (AuditLogOrderField) {
/** Order audit log entries by timestamp */
AuditLogOrderField["CreatedAt"] = "CREATED_AT";
})(AuditLogOrderField || (exports.AuditLogOrderField = AuditLogOrderField = {}));
/** Represents an annotation's information level. */
var CheckAnnotationLevel;
(function (CheckAnnotationLevel) {
/** An annotation indicating an inescapable error. */
CheckAnnotationLevel["Failure"] = "FAILURE";
/** An annotation indicating some information. */
CheckAnnotationLevel["Notice"] = "NOTICE";
/** An annotation indicating an ignorable error. */
CheckAnnotationLevel["Warning"] = "WARNING";
})(CheckAnnotationLevel || (exports.CheckAnnotationLevel = CheckAnnotationLevel = {}));
/** The possible states for a check suite or run conclusion. */
var CheckConclusionState;
(function (CheckConclusionState) {
/** The check suite or run requires action. */
CheckConclusionState["ActionRequired"] = "ACTION_REQUIRED";
/** The check suite or run has been cancelled. */
CheckConclusionState["Cancelled"] = "CANCELLED";
/** The check suite or run has failed. */
CheckConclusionState["Failure"] = "FAILURE";
/** The check suite or run was neutral. */
CheckConclusionState["Neutral"] = "NEUTRAL";
/** The check suite or run was skipped. */
CheckConclusionState["Skipped"] = "SKIPPED";
/** The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion. */
CheckConclusionState["Stale"] = "STALE";
/** The check suite or run has failed at startup. */
CheckConclusionState["StartupFailure"] = "STARTUP_FAILURE";
/** The check suite or run has succeeded. */
CheckConclusionState["Success"] = "SUCCESS";
/** The check suite or run has timed out. */
CheckConclusionState["TimedOut"] = "TIMED_OUT";
})(CheckConclusionState || (exports.CheckConclusionState = CheckConclusionState = {}));
/** The possible states of a check run in a status rollup. */
var CheckRunState;
(function (CheckRunState) {
/** The check run requires action. */
CheckRunState["ActionRequired"] = "ACTION_REQUIRED";
/** The check run has been cancelled. */
CheckRunState["Cancelled"] = "CANCELLED";
/** The check run has been completed. */
CheckRunState["Completed"] = "COMPLETED";
/** The check run has failed. */
CheckRunState["Failure"] = "FAILURE";
/** The check run is in progress. */
CheckRunState["InProgress"] = "IN_PROGRESS";
/** The check run was neutral. */
CheckRunState["Neutral"] = "NEUTRAL";
/** The check run is in pending state. */
CheckRunState["Pending"] = "PENDING";
/** The check run has been queued. */
CheckRunState["Queued"] = "QUEUED";
/** The check run was skipped. */
CheckRunState["Skipped"] = "SKIPPED";
/** The check run was marked stale by GitHub. Only GitHub can use this conclusion. */
CheckRunState["Stale"] = "STALE";
/** The check run has failed at startup. */
CheckRunState["StartupFailure"] = "STARTUP_FAILURE";
/** The check run has succeeded. */
CheckRunState["Success"] = "SUCCESS";
/** The check run has timed out. */
CheckRunState["TimedOut"] = "TIMED_OUT";
/** The check run is in waiting state. */
CheckRunState["Waiting"] = "WAITING";
})(CheckRunState || (exports.CheckRunState = CheckRunState = {}));
/** The possible types of check runs. */
var CheckRunType;
(function (CheckRunType) {
/** Every check run available. */
CheckRunType["All"] = "ALL";
/** The latest check run. */
CheckRunType["Latest"] = "LATEST";
})(CheckRunType || (exports.CheckRunType = CheckRunType = {}));
/** The possible states for a check suite or run status. */
var CheckStatusState;
(function (CheckStatusState) {
/** The check suite or run has been completed. */
CheckStatusState["Completed"] = "COMPLETED";
/** The check suite or run is in progress. */
CheckStatusState["InProgress"] = "IN_PROGRESS";
/** The check suite or run is in pending state. */
CheckStatusState["Pending"] = "PENDING";
/** The check suite or run has been queued. */
CheckStatusState["Queued"] = "QUEUED";
/** The check suite or run has been requested. */
CheckStatusState["Requested"] = "REQUESTED";
/** The check suite or run is in waiting state. */
CheckStatusState["Waiting"] = "WAITING";
})(CheckStatusState || (exports.CheckStatusState = CheckStatusState = {}));
/** Collaborators affiliation level with a subject. */
var CollaboratorAffiliation;
(function (CollaboratorAffiliation) {
/** All collaborators the authenticated user can see. */
CollaboratorAffiliation["All"] = "ALL";
/** All collaborators with permissions to an organization-owned subject, regardless of organization membership status. */
CollaboratorAffiliation["Direct"] = "DIRECT";
/** All outside collaborators of an organization-owned subject. */
CollaboratorAffiliation["Outside"] = "OUTSIDE";
})(CollaboratorAffiliation || (exports.CollaboratorAffiliation = CollaboratorAffiliation = {}));
/** A comment author association with repository. */
var CommentAuthorAssociation;
(function (CommentAuthorAssociation) {
/** Author has been invited to collaborate on the repository. */
CommentAuthorAssociation["Collaborator"] = "COLLABORATOR";
/** Author has previously committed to the repository. */
CommentAuthorAssociation["Contributor"] = "CONTRIBUTOR";
/** Author has not previously committed to GitHub. */
CommentAuthorAssociation["FirstTimer"] = "FIRST_TIMER";
/** Author has not previously committed to the repository. */
CommentAuthorAssociation["FirstTimeContributor"] = "FIRST_TIME_CONTRIBUTOR";
/** Author is a placeholder for an unclaimed user. */
CommentAuthorAssociation["Mannequin"] = "MANNEQUIN";
/** Author is a member of the organization that owns the repository. */
CommentAuthorAssociation["Member"] = "MEMBER";
/** Author has no association with the repository. */
CommentAuthorAssociation["None"] = "NONE";
/** Author is the owner of the repository. */
CommentAuthorAssociation["Owner"] = "OWNER";
})(CommentAuthorAssociation || (exports.CommentAuthorAssociation = CommentAuthorAssociation = {}));
/** The possible errors that will prevent a user from updating a comment. */
var CommentCannotUpdateReason;
(function (CommentCannotUpdateReason) {
/** Unable to create comment because repository is archived. */
CommentCannotUpdateReason["Archived"] = "ARCHIVED";
/** You cannot update this comment */
CommentCannotUpdateReason["Denied"] = "DENIED";
/** You must be the author or have write access to this repository to update this comment. */
CommentCannotUpdateReason["InsufficientAccess"] = "INSUFFICIENT_ACCESS";
/** Unable to create comment because issue is locked. */
CommentCannotUpdateReason["Locked"] = "LOCKED";
/** You must be logged in to update this comment. */
CommentCannotUpdateReason["LoginRequired"] = "LOGIN_REQUIRED";
/** Repository is under maintenance. */
CommentCannotUpdateReason["Maintenance"] = "MAINTENANCE";
/** At least one email address must be verified to update this comment. */
CommentCannotUpdateReason["VerifiedEmailRequired"] = "VERIFIED_EMAIL_REQUIRED";
})(CommentCannotUpdateReason || (exports.CommentCannotUpdateReason = CommentCannotUpdateReason = {}));
/** Properties by which commit contribution connections can be ordered. */
var CommitContributionOrderField;
(function (CommitContributionOrderField) {
/** Order commit contributions by how many commits they represent. */
CommitContributionOrderField["CommitCount"] = "COMMIT_COUNT";
/** Order commit contributions by when they were made. */
CommitContributionOrderField["OccurredAt"] = "OCCURRED_AT";
})(CommitContributionOrderField || (exports.CommitContributionOrderField = CommitContributionOrderField = {}));
/** The status of a git comparison between two refs. */
var ComparisonStatus;
(function (ComparisonStatus) {
/** The head ref is ahead of the base ref. */
ComparisonStatus["Ahead"] = "AHEAD";
/** The head ref is behind the base ref. */
ComparisonStatus["Behind"] = "BEHIND";
/** The head ref is both ahead and behind of the base ref, indicating git history has diverged. */
ComparisonStatus["Diverged"] = "DIVERGED";
/** The head ref and base ref are identical. */
ComparisonStatus["Identical"] = "IDENTICAL";
})(ComparisonStatus || (exports.ComparisonStatus = ComparisonStatus = {}));
/** Varying levels of contributions from none to many. */
var ContributionLevel;
(function (ContributionLevel) {
/** Lowest 25% of days of contributions. */
ContributionLevel["FirstQuartile"] = "FIRST_QUARTILE";
/** Highest 25% of days of contributions. More contributions than the third quartile. */
ContributionLevel["FourthQuartile"] = "FOURTH_QUARTILE";
/** No contributions occurred. */
ContributionLevel["None"] = "NONE";
/** Second lowest 25% of days of contributions. More contributions than the first quartile. */
ContributionLevel["SecondQuartile"] = "SECOND_QUARTILE";
/** Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. */
ContributionLevel["ThirdQuartile"] = "THIRD_QUARTILE";
})(ContributionLevel || (exports.ContributionLevel = ContributionLevel = {}));
/** The possible base permissions for repositories. */
var DefaultRepositoryPermissionField;
(function (DefaultRepositoryPermissionField) {
/** Can read, write, and administrate repos by default */
DefaultRepositoryPermissionField["Admin"] = "ADMIN";
/** No access */
DefaultRepositoryPermissionField["None"] = "NONE";
/** Can read repos by default */
DefaultRepositoryPermissionField["Read"] = "READ";
/** Can read and write repos by default */
DefaultRepositoryPermissionField["Write"] = "WRITE";
})(DefaultRepositoryPermissionField || (exports.DefaultRepositoryPermissionField = DefaultRepositoryPermissionField = {}));
/** The possible ecosystems of a dependency graph package. */
var DependencyGraphEcosystem;
(function (DependencyGraphEcosystem) {
/** GitHub Actions */
DependencyGraphEcosystem["Actions"] = "ACTIONS";
/** PHP packages hosted at packagist.org */
DependencyGraphEcosystem["Composer"] = "COMPOSER";
/** Go modules */
DependencyGraphEcosystem["Go"] = "GO";
/** Java artifacts hosted at the Maven central repository */
DependencyGraphEcosystem["Maven"] = "MAVEN";
/** JavaScript packages hosted at npmjs.com */
DependencyGraphEcosystem["Npm"] = "NPM";
/** .NET packages hosted at the NuGet Gallery */
DependencyGraphEcosystem["Nuget"] = "NUGET";
/** Python packages hosted at PyPI.org */
DependencyGraphEcosystem["Pip"] = "PIP";
/** Dart packages hosted at pub.dev */
DependencyGraphEcosystem["Pub"] = "PUB";
/** Ruby gems hosted at RubyGems.org */
DependencyGraphEcosystem["Rubygems"] = "RUBYGEMS";
/** Rust crates */
DependencyGraphEcosystem["Rust"] = "RUST";
/** Swift packages */
DependencyGraphEcosystem["Swift"] = "SWIFT";
})(DependencyGraphEcosystem || (exports.DependencyGraphEcosystem = DependencyGraphEcosystem = {}));
/** Properties by which deployment connections can be ordered. */
var DeploymentOrderField;
(function (DeploymentOrderField) {
/** Order collection by creation time */
DeploymentOrderField["CreatedAt"] = "CREATED_AT";
})(DeploymentOrderField || (exports.DeploymentOrderField = DeploymentOrderField = {}));
/** The possible protection rule types. */
var DeploymentProtectionRuleType;
(function (DeploymentProtectionRuleType) {
/** Branch policy */
DeploymentProtectionRuleType["BranchPolicy"] = "BRANCH_POLICY";
/** Required reviewers */
DeploymentProtectionRuleType["RequiredReviewers"] = "REQUIRED_REVIEWERS";
/** Wait timer */
DeploymentProtectionRuleType["WaitTimer"] = "WAIT_TIMER";
})(DeploymentProtectionRuleType || (exports.DeploymentProtectionRuleType = DeploymentProtectionRuleType = {}));
/** The possible states for a deployment review. */
var DeploymentReviewState;
(function (DeploymentReviewState) {
/** The deployment was approved. */
DeploymentReviewState["Approved"] = "APPROVED";
/** The deployment was rejected. */
DeploymentReviewState["Rejected"] = "REJECTED";
})(DeploymentReviewState || (exports.DeploymentReviewState = DeploymentReviewState = {}));
/** The possible states in which a deployment can be. */
var DeploymentState;
(function (DeploymentState) {
/** The pending deployment was not updated after 30 minutes. */
DeploymentState["Abandoned"] = "ABANDONED";
/** The deployment is currently active. */
DeploymentState["Active"] = "ACTIVE";
/** An inactive transient deployment. */
DeploymentState["Destroyed"] = "DESTROYED";
/** The deployment experienced an error. */
DeploymentState["Error"] = "ERROR";
/** The deployment has failed. */
DeploymentState["Failure"] = "FAILURE";
/** The deployment is inactive. */
DeploymentState["Inactive"] = "INACTIVE";
/** The deployment is in progress. */
DeploymentState["InProgress"] = "IN_PROGRESS";
/** The deployment is pending. */
DeploymentState["Pending"] = "PENDING";
/** The deployment has queued */
DeploymentState["Queued"] = "QUEUED";
/** The deployment was successful. */
DeploymentState["Success"] = "SUCCESS";
/** The deployment is waiting. */
DeploymentState["Waiting"] = "WAITING";
})(DeploymentState || (exports.DeploymentState = DeploymentState = {}));
/** The possible states for a deployment status. */
var DeploymentStatusState;
(function (DeploymentStatusState) {
/** The deployment experienced an error. */
DeploymentStatusState["Error"] = "ERROR";
/** The deployment has failed. */
DeploymentStatusState["Failure"] = "FAILURE";
/** The deployment is inactive. */
DeploymentStatusState["Inactive"] = "INACTIVE";
/** The deployment is in progress. */
DeploymentStatusState["InProgress"] = "IN_PROGRESS";
/** The deployment is pending. */
DeploymentStatusState["Pending"] = "PENDING";
/** The deployment is queued */
DeploymentStatusState["Queued"] = "QUEUED";
/** The deployment was successful. */
DeploymentStatusState["Success"] = "SUCCESS";
/** The deployment is waiting. */
DeploymentStatusState["Waiting"] = "WAITING";
})(DeploymentStatusState || (exports.DeploymentStatusState = DeploymentStatusState = {}));
/** The possible sides of a diff. */
var DiffSide;
(function (DiffSide) {
/** The left side of the diff. */
DiffSide["Left"] = "LEFT";
/** The right side of the diff. */
DiffSide["Right"] = "RIGHT";
})(DiffSide || (exports.DiffSide = DiffSide = {}));
/** The possible reasons for closing a discussion. */
var DiscussionCloseReason;
(function (DiscussionCloseReason) {
/** The discussion is a duplicate of another */
DiscussionCloseReason["Duplicate"] = "DUPLICATE";
/** The discussion is no longer relevant */
DiscussionCloseReason["Outdated"] = "OUTDATED";
/** The discussion has been resolved */
DiscussionCloseReason["Resolved"] = "RESOLVED";
})(DiscussionCloseReason || (exports.DiscussionCloseReason = DiscussionCloseReason = {}));
/** Properties by which discussion connections can be ordered. */
var DiscussionOrderField;
(function (DiscussionOrderField) {
/** Order discussions by creation time. */
DiscussionOrderField["CreatedAt"] = "CREATED_AT";
/** Order discussions by most recent modification time. */
DiscussionOrderField["UpdatedAt"] = "UPDATED_AT";
})(DiscussionOrderField || (exports.DiscussionOrderField = DiscussionOrderField = {}));
/** Properties by which discussion poll option connections can be ordered. */
var DiscussionPollOptionOrderField;
(function (DiscussionPollOptionOrderField) {
/** Order poll options by the order that the poll author specified when creating the poll. */
DiscussionPollOptionOrderField["AuthoredOrder"] = "AUTHORED_ORDER";
/** Order poll options by the number of votes it has. */
DiscussionPollOptionOrderField["VoteCount"] = "VOTE_COUNT";
})(DiscussionPollOptionOrderField || (exports.DiscussionPollOptionOrderField = DiscussionPollOptionOrderField = {}));
/** The possible states of a discussion. */
var DiscussionState;
(function (DiscussionState) {
/** A discussion that has been closed */
DiscussionState["Closed"] = "CLOSED";
/** A discussion that is open */
DiscussionState["Open"] = "OPEN";
})(DiscussionState || (exports.DiscussionState = DiscussionState = {}));
/** The possible state reasons of a discussion. */
var DiscussionStateReason;
(function (DiscussionStateReason) {
/** The discussion is a duplicate of another */
DiscussionStateReason["Duplicate"] = "DUPLICATE";
/** The discussion is no longer relevant */
DiscussionStateReason["Outdated"] = "OUTDATED";
/** The discussion was reopened */
DiscussionStateReason["Reopened"] = "REOPENED";
/** The discussion has been resolved */
DiscussionStateReason["Resolved"] = "RESOLVED";
})(DiscussionStateReason || (exports.DiscussionStateReason = DiscussionStateReason = {}));
/** The possible reasons that a Dependabot alert was dismissed. */
var DismissReason;
(function (DismissReason) {
/** A fix has already been started */
DismissReason["FixStarted"] = "FIX_STARTED";
/** This alert is inaccurate or incorrect */
DismissReason["Inaccurate"] = "INACCURATE";
/** Vulnerable code is not actually used */
DismissReason["NotUsed"] = "NOT_USED";
/** No bandwidth to fix this */
DismissReason["NoBandwidth"] = "NO_BANDWIDTH";
/** Risk is tolerable to this project */
DismissReason["TolerableRisk"] = "TOLERABLE_RISK";
})(DismissReason || (exports.DismissReason = DismissReason = {}));
/** Properties by which enterprise administrator invitation connections can be ordered. */
var EnterpriseAdministratorInvitationOrderField;
(function (EnterpriseAdministratorInvitationOrderField) {
/** Order enterprise administrator member invitations by creation time */
EnterpriseAdministratorInvitationOrderField["CreatedAt"] = "CREATED_AT";
})(EnterpriseAdministratorInvitationOrderField || (exports.EnterpriseAdministratorInvitationOrderField = EnterpriseAdministratorInvitationOrderField = {}));
/** The possible administrator roles in an enterprise account. */
var EnterpriseAdministratorRole;
(function (EnterpriseAdministratorRole) {
/** Represents a billing manager of the enterprise account. */
EnterpriseAdministratorRole["BillingManager"] = "BILLING_MANAGER";
/** Represents an owner of the enterprise account. */
EnterpriseAdministratorRole["Owner"] = "OWNER";
/** Unaffiliated member of the enterprise account without an admin role. */
EnterpriseAdministratorRole["Unaffiliated"] = "UNAFFILIATED";
})(EnterpriseAdministratorRole || (exports.EnterpriseAdministratorRole = EnterpriseAdministratorRole = {}));
/** The possible values for the enterprise allow private repository forking policy value. */
var EnterpriseAllowPrivateRepositoryForkingPolicyValue;
(function (EnterpriseAllowPrivateRepositoryForkingPolicyValue) {
/** Members can fork a repository to an organization within this enterprise. */
EnterpriseAllowPrivateRepositoryForkingPolicyValue["EnterpriseOrganizations"] = "ENTERPRISE_ORGANIZATIONS";
/** Members can fork a repository to their enterprise-managed user account or an organization inside this enterprise. */
EnterpriseAllowPrivateRepositoryForkingPolicyValue["EnterpriseOrganizationsUserAccounts"] = "ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS";
/** Members can fork a repository to their user account or an organization, either inside or outside of this enterprise. */
EnterpriseAllowPrivateRepositoryForkingPolicyValue["Everywhere"] = "EVERYWHERE";
/** Members can fork a repository only within the same organization (intra-org). */
EnterpriseAllowPrivateRepositoryForkingPolicyValue["SameOrganization"] = "SAME_ORGANIZATION";
/** Members can fork a repository to their user account or within the same organization. */
EnterpriseAllowPrivateRepositoryForkingPolicyValue["SameOrganizationUserAccounts"] = "SAME_ORGANIZATION_USER_ACCOUNTS";
/** Members can fork a repository to their user account. */
EnterpriseAllowPrivateRepositoryForkingPolicyValue["UserAccounts"] = "USER_ACCOUNTS";
})(EnterpriseAllowPrivateRepositoryForkingPolicyValue || (exports.EnterpriseAllowPrivateRepositoryForkingPolicyValue = EnterpriseAllowPrivateRepositoryForkingPolicyValue = {}));
/** The possible values for the enterprise base repository permission setting. */
var EnterpriseDefaultRepositoryPermissionSettingValue;
(function (EnterpriseDefaultRepositoryPermissionSettingValue) {
/** Organization members will be able to clone, pull, push, and add new collaborators to all organization repositories. */
EnterpriseDefaultRepositoryPermissionSettingValue["Admin"] = "ADMIN";
/** Organization members will only be able to clone and pull public repositories. */
EnterpriseDefaultRepositoryPermissionSettingValue["None"] = "NONE";
/** Organizations in the enterprise choose base repository permissions for their members. */
EnterpriseDefaultRepositoryPermissionSettingValue["NoPolicy"] = "NO_POLICY";
/** Organization members will be able to clone and pull all organization repositories. */
EnterpriseDefaultRepositoryPermissionSettingValue["Read"] = "READ";
/** Organization members will be able to clone, pull, and push all organization repositories. */
EnterpriseDefaultRepositoryPermissionSettingValue["Write"] = "WRITE";
})(EnterpriseDefaultRepositoryPermissionSettingValue || (exports.EnterpriseDefaultRepositoryPermissionSettingValue = EnterpriseDefaultRepositoryPermissionSettingValue = {}));
/** The possible values for an enabled/no policy enterprise setting. */
var EnterpriseDisallowedMethodsSettingValue;
(function (EnterpriseDisallowedMethodsSettingValue) {
/** The setting prevents insecure 2FA methods from being used by members of the enterprise. */
EnterpriseDisallowedMethodsSettingValue["Insecure"] = "INSECURE";
/** There is no policy set for preventing insecure 2FA methods from being used by members of the enterprise. */
EnterpriseDisallowedMethodsSettingValue["NoPolicy"] = "NO_POLICY";
})(EnterpriseDisallowedMethodsSettingValue || (exports.EnterpriseDisallowedMethodsSettingValue = EnterpriseDisallowedMethodsSettingValue = {}));
/** The possible values for an enabled/disabled enterprise setting. */
var EnterpriseEnabledDisabledSettingValue;
(function (EnterpriseEnabledDisabledSettingValue) {
/** The setting is disabled for organizations in the enterprise. */
EnterpriseEnabledDisabledSettingValue["Disabled"] = "DISABLED";
/** The setting is enabled for organizations in the enterprise. */
EnterpriseEnabledDisabledSettingValue["Enabled"] = "ENABLED";
/** There is no policy set for organizations in the enterprise. */
EnterpriseEnabledDisabledSettingValue["NoPolicy"] = "NO_POLICY";
})(EnterpriseEnabledDisabledSettingValue || (exports.EnterpriseEnabledDisabledSettingValue = EnterpriseEnabledDisabledSettingValue = {}));
/** The possible values for an enabled/no policy enterprise setting. */
var EnterpriseEnabledSettingValue;
(function (EnterpriseEnabledSettingValue) {
/** The setting is enabled for organizations in the enterprise. */
EnterpriseEnabledSettingValue["Enabled"] = "ENABLED";
/** There is no policy set for organizations in the enterprise. */
EnterpriseEnabledSettingValue["NoPolicy"] = "NO_POLICY";
})(EnterpriseEnabledSettingValue || (exports.EnterpriseEnabledSettingValue = EnterpriseEnabledSettingValue = {}));
/** Properties by which enterprise member invitation connections can be ordered. */
var EnterpriseMemberInvitationOrderField;
(function (EnterpriseMemberInvitationOrderField) {
/** Order enterprise member invitations by creation time */
EnterpriseMemberInvitationOrderField["CreatedAt"] = "CREATED_AT";
})(EnterpriseMemberInvitationOrderField || (exports.EnterpriseMemberInvitationOrderField = EnterpriseMemberInvitationOrderField = {}));
/** Properties by which enterprise member connections can be ordered. */
var EnterpriseMemberOrderField;
(function (EnterpriseMemberOrderField) {
/** Order enterprise members by creation time */
EnterpriseMemberOrderField["CreatedAt"] = "CREATED_AT";
/** Order enterprise members by login */
EnterpriseMemberOrderField["Login"] = "LOGIN";
})(EnterpriseMemberOrderField || (exports.EnterpriseMemberOrderField = EnterpriseMemberOrderField = {}));
/** The possible values for the enterprise members can create repositories setting. */
var EnterpriseMembersCanCreateRepositoriesSettingValue;
(function (EnterpriseMembersCanCreateRepositoriesSettingValue) {
/** Members will be able to create public and private repositories. */
EnterpriseMembersCanCreateRepositoriesSettingValue["All"] = "ALL";
/** Members will not be able to create public or private repositories. */
EnterpriseMembersCanCreateRepositoriesSettingValue["Disabled"] = "DISABLED";
/** Organization owners choose whether to allow members to create repositories. */
EnterpriseMembersCanCreateRepositoriesSettingValue["NoPolicy"] = "NO_POLICY";
/** Members will be able to create only private repositories. */
EnterpriseMembersCanCreateRepositoriesSettingValue["Private"] = "PRIVATE";
/** Members will be able to create only public repositories. */
EnterpriseMembersCanCreateRepositoriesSettingValue["Public"] = "PUBLIC";
})(EnterpriseMembersCanCreateRepositoriesSettingValue || (exports.EnterpriseMembersCanCreateRepositoriesSettingValue = EnterpriseMembersCanCreateRepositoriesSettingValue = {}));
/** The possible values for the members can make purchases setting. */
var EnterpriseMembersCanMakePurchasesSettingValue;
(function (EnterpriseMembersCanMakePurchasesSettingValue) {
/** The setting is disabled for organizations in the enterprise. */
EnterpriseMembersCanMakePurchasesSettingValue["Disabled"] = "DISABLED";
/** The setting is enabled for organizations in the enterprise. */
EnterpriseMembersCanMakePurchasesSettingValue["Enabled"] = "ENABLED";
})(EnterpriseMembersCanMakePurchasesSettingValue || (exports.EnterpriseMembersCanMakePurchasesSettingValue = EnterpriseMembersCanMakePurchasesSettingValue = {}));
/** The possible values we have for filtering Platform::Objects::User#enterprises. */
var EnterpriseMembershipType;
(function (EnterpriseMembershipType) {
/** Returns all enterprises in which the user is an admin. */
EnterpriseMembershipType["Admin"] = "ADMIN";
/** Returns all enterprises in which the user is a member, admin, or billing manager. */
EnterpriseMembershipType["All"] = "ALL";
/** Returns all enterprises in which the user is a billing manager. */
EnterpriseMembershipType["BillingManager"] = "BILLING_MANAGER";
/** Returns all enterprises in which the user is a member of an org that is owned by the enterprise. */
EnterpriseMembershipType["OrgMembership"] = "ORG_MEMBERSHIP";
})(EnterpriseMembershipType || (exports.EnterpriseMembershipType = EnterpriseMembershipType = {}));
/** Properties by which enterprise connections can be ordered. */
var EnterpriseOrderField;
(function (EnterpriseOrderField) {
/** Order enterprises by name */
EnterpriseOrderField["Name"] = "NAME";
})(EnterpriseOrderField || (exports.EnterpriseOrderField = EnterpriseOrderField = {}));
/** Properties by which Enterprise Server installation connections can be ordered. */
var EnterpriseServerInstallationOrderField;
(function (EnterpriseServerInstallationOrderField) {
/** Order Enterprise Server installations by creation time */
EnterpriseServerInstallationOrderField["CreatedAt"] = "CREATED_AT";
/** Order Enterprise Server installations by customer name */
EnterpriseServerInstallationOrderField["CustomerName"] = "CUSTOMER_NAME";
/** Order Enterprise Server installations by host name */
EnterpriseServerInstallationOrderField["HostName"] = "HOST_NAME";
})(EnterpriseServerInstallationOrderField || (exports.EnterpriseServerInstallationOrderField = EnterpriseServerInstallationOrderField = {}));
/** Properties by which Enterprise Server user account email connections can be ordered. */
var EnterpriseServerUserAccountEmailOrderField;
(function (EnterpriseServerUserAccountEmailOrderField) {
/** Order emails by email */
EnterpriseServerUserAccountEmailOrderField["Email"] = "EMAIL";
})(EnterpriseServerUserAccountEmailOrderField || (exports.EnterpriseServerUserAccountEmailOrderField = EnterpriseServerUserAccountEmailOrderField = {}));
/** Properties by which Enterprise Server user account connections can be ordered. */
var EnterpriseServerUserAccountOrderField;
(function (EnterpriseServerUserAccountOrderField) {
/** Order user accounts by login */
EnterpriseServerUserAccountOrderField["Login"] = "LOGIN";
/** Order user accounts by creation time on the Enterprise Server installation */
EnterpriseServerUserAccountOrderField["RemoteCreatedAt"] = "REMOTE_CREATED_AT";
})(EnterpriseServerUserAccountOrderField || (exports.EnterpriseServerUserAccountOrderField = EnterpriseServerUserAccountOrderField = {}));
/** Properties by which Enterprise Server user accounts upload connections can be ordered. */
var EnterpriseServerUserAccountsUploadOrderField;
(function (EnterpriseServerUserAccountsUploadOrderField) {
/** Order user accounts uploads by creation time */
EnterpriseServerUserAccountsUploadOrderField["CreatedAt"] = "CREATED_AT";
})(EnterpriseServerUserAccountsUploadOrderField || (exports.EnterpriseServerUserAccountsUploadOrderField = EnterpriseServerUserAccountsUploadOrderField = {}));
/** Synchronization state of the Enterprise Server user accounts upload */
var EnterpriseServerUserAccountsUploadSyncState;
(function (EnterpriseServerUserAccountsUploadSyncState) {
/** The synchronization of the upload failed. */
EnterpriseServerUserAccountsUploadSyncState["Failure"] = "FAILURE";
/** The synchronization of the upload is pending. */
EnterpriseServerUserAccountsUploadSyncState["Pending"] = "PENDING";
/** The synchronization of the upload succeeded. */
EnterpriseServerUserAccountsUploadSyncState["Success"] = "SUCCESS";
})(EnterpriseServerUserAccountsUploadSyncState || (exports.EnterpriseServerUserAccountsUploadSyncState = EnterpriseServerUserAccountsUploadSyncState = {}));
/** The possible roles for enterprise membership. */
var EnterpriseUserAccountMembershipRole;
(function (EnterpriseUserAccountMembershipRole) {
/** The user is a member of an organization in the enterprise. */
EnterpriseUserAccountMembershipRole["Member"] = "MEMBER";
/** The user is an owner of an organization in the enterprise. */
EnterpriseUserAccountMembershipRole["Owner"] = "OWNER";
/**
* The user is not an owner of the enterprise, and not a member or owner of any
* organizations in the enterprise; only for EMU-enabled enterprises.
*/
EnterpriseUserAccountMembershipRole["Unaffiliated"] = "UNAFFILIATED";
})(EnterpriseUserAccountMembershipRole || (exports.EnterpriseUserAccountMembershipRole = EnterpriseUserAccountMembershipRole = {}));
/** The possible GitHub Enterprise deployments where this user can exist. */
var EnterpriseUserDeployment;
(function (EnterpriseUserDeployment) {
/** The user is part of a GitHub Enterprise Cloud deployment. */
EnterpriseUserDeployment["Cloud"] = "CLOUD";
/** The user is part of a GitHub Enterprise Server deployment. */
EnterpriseUserDeployment["Server"] = "SERVER";
})(EnterpriseUserDeployment || (exports.EnterpriseUserDeployment = EnterpriseUserDeployment = {}));
/** Properties by which environments connections can be ordered */
var EnvironmentOrderField;
(function (EnvironmentOrderField) {
/** Order environments by name. */
EnvironmentOrderField["Name"] = "NAME";
})(EnvironmentOrderField || (exports.EnvironmentOrderField = EnvironmentOrderField = {}));
/** Properties by which environments connections can be ordered */
var EnvironmentPinnedFilterField;
(function (EnvironmentPinnedFilterField) {
/** All environments will be returned. */
EnvironmentPinnedFilterField["All"] = "ALL";
/** Environments exclude pinned will be returned */
EnvironmentPinnedFilterField["None"] = "NONE";
/** Only pinned environment will be returned */
EnvironmentPinnedFilterField["Only"] = "ONLY";
})(EnvironmentPinnedFilterField || (exports.EnvironmentPinnedFilterField = EnvironmentPinnedFilterField = {}));
/** The possible viewed states of a file . */
var FileViewedState;
(function (FileViewedState) {
/** The file has new changes since last viewed. */
FileViewedState["Dismissed"] = "DISMISSED";
/** The file has not been marked as viewed. */
FileViewedState["Unviewed"] = "UNVIEWED";
/** The file has been marked as viewed. */
FileViewedState["Viewed"] = "VIEWED";
})(FileViewedState || (exports.FileViewedState = FileViewedState = {}));
/** The possible funding platforms for repository funding links. */
var FundingPlatform;
(function (FundingPlatform) {
/** Buy Me a Coffee funding platform. */
FundingPlatform["BuyMeACoffee"] = "BUY_ME_A_COFFEE";
/** Community Bridge funding platform. */
FundingPlatform["CommunityBridge"] = "COMMUNITY_BRIDGE";
/** Custom funding platform. */
FundingPlatform["Custom"] = "CUSTOM";
/** GitHub funding platform. */
FundingPlatform["Github"] = "GITHUB";
/** IssueHunt funding platform. */
FundingPlatform["Issuehunt"] = "ISSUEHUNT";
/** Ko-fi funding platform. */
FundingPlatform["KoFi"] = "KO_FI";
/** LFX Crowdfunding funding platform. */
FundingPlatform["LfxCrowdfunding"] = "LFX_CROWDFUNDING";
/** Liberapay funding platform. */
FundingPlatform["Liberapay"] = "LIBERAPAY";
/** Open Collective funding platform. */
FundingPlatform["OpenCollective"] = "OPEN_COLLECTIVE";
/** Patreon funding platform. */
FundingPlatform["Patreon"] = "PATREON";
/** Polar funding platform. */
FundingPlatform["Polar"] = "POLAR";
/** thanks.dev funding platform. */
FundingPlatform["ThanksDev"] = "THANKS_DEV";
/** Tidelift funding platform. */
FundingPlatform["Tidelift"] = "TIDELIFT";
})(FundingPlatform || (exports.FundingPlatform = FundingPlatform = {}));
/** Properties by which gist connections can be ordered. */
var GistOrderField;
(function (GistOrderField) {
/** Order gists by creation time */
GistOrderField["CreatedAt"] = "CREATED_AT";
/** Order gists by push time */
GistOrderField["PushedAt"] = "PUSHED_AT";
/** Order gists by update time */
GistOrderField["UpdatedAt"] = "UPDATED_AT";
})(GistOrderField || (exports.GistOrderField = GistOrderField = {}));
/** The privacy of a Gist */
var GistPrivacy;
(function (GistPrivacy) {
/** Gists that are public and secret */
GistPrivacy["All"] = "ALL";
/** Public */
GistPrivacy["Public"] = "PUBLIC";
/** Secret */
GistPrivacy["Secret"] = "SECRET";
})(GistPrivacy || (exports.GistPrivacy = GistPrivacy = {}));
/** The state of a Git signature. */
var GitSignatureState;
(function (GitSignatureState) {
/** The signing certificate or its chain could not be verified */
GitSignatureState["BadCert"] = "BAD_CERT";
/** Invalid email used for signing */
GitSignatureState["BadEmail"] = "BAD_EMAIL";
/** Signing key expired */
GitSignatureState["ExpiredKey"] = "EXPIRED_KEY";
/** Internal error - the GPG verification service misbehaved */
GitSignatureState["GpgverifyError"] = "GPGVERIFY_ERROR";
/** Internal error - the GPG verification service is unavailable at the moment */
GitSignatureState["GpgverifyUnavailable"] = "GPGVERIFY_UNAVAILABLE";
/** Invalid signature */
GitSignatureState["Invalid"] = "INVALID";
/** Malformed signature */
GitSignatureState["MalformedSig"] = "MALFORMED_SIG";
/** The usage flags for the key that signed this don't allow signing */
GitSignatureState["NotSigningKey"] = "NOT_SIGNING_KEY";
/** Email used for signing not known to GitHub */
GitSignatureState["NoUser"] = "NO_USER";
/** Valid signature, though certificate revocation check failed */
GitSignatureState["OcspError"] = "OCSP_ERROR";
/** Valid signature, pending certificate revocation checking */
GitSignatureState["OcspPending"] = "OCSP_PENDING";
/** One or more certificates in chain has been revoked */
GitSignatureState["OcspRevoked"] = "OCSP_REVOKED";
/** Key used for signing not known to GitHub */
GitSignatureState["UnknownKey"] = "UNKNOWN_KEY";
/** Unknown signature type */
GitSignatureState["UnknownSigType"] = "UNKNOWN_SIG_TYPE";
/** Unsigned */
GitSignatureState["Unsigned"] = "UNSIGNED";
/** Email used for signing unverified on GitHub */
GitSignatureState["UnverifiedEmail"] = "UNVERIFIED_EMAIL";
/** Valid signature and verified by GitHub */
GitSignatureState["Valid"] = "VALID";
})(GitSignatureState || (exports.GitSignatureState = GitSignatureState = {}));
/** The possible states in which authentication can be configured with an identity provider. */
var IdentityProviderConfigurationState;
(function (IdentityProviderConfigurationState) {
/** Authentication with an identity provider is configured but not enforced. */
IdentityProviderConfigurationState["Configured"] = "CONFIGURED";
/** Authentication with an identity provider is configured and enforced. */
IdentityProviderConfigurationState["Enforced"] = "ENFORCED";
/** Authentication with an identity provider is not configured. */
IdentityProviderConfigurationState["Unconfigured"] = "UNCONFIGURED";
})(IdentityProviderConfigurationState || (exports.IdentityProviderConfigurationState = IdentityProviderConfigurationState = {}));
/** The possible values for the IP allow list enabled setting. */
var IpAllowListEnabledSettingValue;
(function (IpAllowListEnabledSettingValue) {
/** The setting is disabled for the owner. */
IpAllowListEnabledSettingValue["Disabled"] = "DISABLED";
/** The setting is enabled for the owner. */
IpAllowListEnabledSettingValue["Enabled"] = "ENABLED";
})(IpAllowListEnabledSettingValue || (exports.IpAllowListEnabledSettingValue = IpAllowListEnabledSettingValue = {}));
/** Properties by which IP allow list entry connections can be ordered. */
var IpAllowListEntryOrderField;
(function (IpAllowListEntryOrderField) {
/** Order IP allow list entries by the allow list value. */
IpAllowListEntryOrderField["AllowListValue"] = "ALLOW_LIST_VALUE";
/** Order IP allow list entries by creation time. */
IpAllowListEntryOrderField["CreatedAt"] = "CREATED_AT";
})(IpAllowListEntryOrderField || (exports.IpAllowListEntryOrderField = IpAllowListEntryOrderField = {}));
/** The possible values for the IP allow list configuration for installed GitHub Apps setting. */
var IpAllowListForInstalledAppsEnabledSettingValue;
(function (IpAllowListForInstalledAppsEnabledSettingValue) {
/** The setting is disabled for the owner. */
IpAllowListForInstalledAppsEnabledSettingValue["Disabled"] = "DISABLED";
/** The setting is enabled for the owner. */
IpAllowListForInstalledAppsEnabledSettingValue["Enabled"] = "ENABLED";
})(IpAllowListForInstalledAppsEnabledSettingValue || (exports.IpAllowListForInstalledAppsEnabledSettingValue = IpAllowListForInstalledAppsEnabledSettingValue = {}));
/** The possible state reasons of a closed issue. */
var IssueClosedStateReason;
(function (IssueClosedStateReason) {
/** An issue that has been closed as completed */
IssueClosedStateReason["Completed"] = "COMPLETED";
/** An issue that has been closed as a duplicate */
IssueClosedStateReason["Duplicate"] = "DUPLICATE";
/** An issue that has been closed as not planned */
IssueClosedStateReason["NotPlanned"] = "NOT_PLANNED";
})(IssueClosedStateReason || (exports.IssueClosedStateReason = IssueClosedStateReason = {}));
/** Properties by which issue comment connections can be ordered. */
var IssueCommentOrderField;
(function (I