Skip to content

Instantly share code, notes, and snippets.

@gimenete
Last active August 26, 2023 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gimenete/ab946baa629abd1c8aa41acc76261d61 to your computer and use it in GitHub Desktop.
Save gimenete/ab946baa629abd1c8aa41acc76261d61 to your computer and use it in GitHub Desktop.
Typescript definitions for @octokit/rest.js with response types
/**
* This declaration file requires TypeScript 2.1 or above.
*/
import * as http from "http";
declare namespace Github {
type json = any;
type date = string;
export interface Response<T> {
/** This is the data you would see in https://developer.github.com/v3/ */
data: T;
/** Response status number */
status: number;
/** Response headers */
headers: {
"x-ratelimit-limit": string;
"x-ratelimit-remaining": string;
"x-ratelimit-reset": string;
"x-github-request-id": string;
"x-github-media-type": string;
link: string;
"last-modified": string;
etag: string;
status: string;
};
[Symbol.iterator](): Iterator<any>;
}
export type AnyResponse = Response<any>;
export interface EmptyParams {}
export interface Options {
baseUrl?: string;
timeout?: number;
headers?: { [header: string]: any };
agent?: http.Agent;
/**
* @deprecated in version 15.0.0
*/
proxy?: string;
/**
* @deprecated in version 15.0.0
*/
ca?: string;
/**
* @deprecated in version 15.0.0
*/
rejectUnauthorized?: boolean;
/**
* @deprecated in version 15.0.0
*/
family?: number;
/**
* @deprecated in version 15.2.0
*/
host?: string;
/**
* @deprecated in version 15.2.0
*/
pathPrefix?: string;
/**
* @deprecated in version 15.2.0
*/
protocol?: string;
/**
* @deprecated in version 15.2.0
*/
port?: number;
}
export interface AuthBasic {
type: "basic";
username: string;
password: string;
}
export interface AuthOAuthToken {
type: "oauth";
token: string;
}
export interface AuthOAuthSecret {
type: "oauth";
key: string;
secret: string;
}
export interface AuthUserToken {
type: "token";
token: string;
}
/* @deprecated Use "app" instead of "integration" */
export interface DeprecatedAuthJWT {
type: "integration";
token: string;
}
export interface AuthJWT {
type: "app";
token: string;
}
export type Auth =
| AuthBasic
| AuthOAuthToken
| AuthOAuthSecret
| AuthUserToken
| AuthJWT
| DeprecatedAuthJWT;
export type Link = { link: string } | { meta: { link: string } } | string;
export interface Callback {
(error: Error | null, result: any): any;
}
type UnfollowUserResponse = {};
type TogglePrimaryEmailVisibilityResponseItem = {
email: string;
primary: boolean;
verified: boolean;
visibility: string;
};
type GetTeamsResponseItemOrganization = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type GetRepoInvitesResponseItem = {
id: number;
repository: Repository;
invitee: User;
inviter: User;
permissions: string;
created_at: string;
url: string;
html_url: string;
};
type GetPublicEmailsResponseItem = {
email: string;
verified: boolean;
primary: boolean;
visibility: string;
};
type GetOrgMembershipResponse = {
url: string;
state: string;
role: string;
organization_url: string;
organization: Organization;
user: User;
};
type Plan = {
url: string;
accounts_url: string;
id: number;
name: string;
description: string;
monthly_price_in_cents: number;
yearly_price_in_cents: number;
price_model: string;
has_free_trial: boolean;
unit_name: null;
bullets: Array<string>;
};
type Account = {
login: string;
id: number;
url: string;
email: null;
organization_billing_email: string;
type: string;
};
type Purchase = {
billing_cycle: string;
next_billing_date: string;
unit_count: null;
on_free_trial: boolean;
free_trial_ends_on: string;
updated_at: string;
account: Account;
plan: Plan;
};
type GetKeysForUserResponseItem = {
id: number;
key: string;
};
type GetKeysResponseItem = {
id: number;
key: string;
url: string;
title: string;
verified: boolean;
created_at: string;
read_only: boolean;
};
type GetKeyResponse = {
id: number;
key: string;
url: string;
title: string;
verified: boolean;
created_at: string;
read_only: boolean;
};
type GetInstallationsResponseInstallationsItemPermissions = {
metadata: string;
contents: string;
issues: string;
single_file: string;
};
type GetInstallationsResponseInstallationsItem = {
id: number;
account: User;
access_tokens_url: string;
repositories_url: string;
html_url: string;
app_id: number;
target_id: number;
target_type: string;
permissions: GetInstallationsResponseInstallationsItemPermissions;
events: Array<string>;
single_file_name: string;
};
type GetInstallationReposResponse = {
total_count: number;
repositories: Array<Repository>;
};
type GpgKeySubkeysItem = {
id: number;
primary_key_id: number;
key_id: string;
public_key: string;
emails: Array<any>;
subkeys: Array<any>;
can_sign: boolean;
can_encrypt_comms: boolean;
can_encrypt_storage: boolean;
can_certify: boolean;
created_at: string;
expires_at: null;
};
type GpgKeyEmailsItem = {
email: string;
verified: boolean;
};
type GetEmailsResponseItem = {
email: string;
verified: boolean;
primary: boolean;
visibility: string;
};
type FollowUserResponse = {};
type Organization = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type EditOrgMembershipResponse = {
url: string;
state: string;
role: string;
organization_url: string;
organization: Organization;
user: User;
};
type DeleteKeyResponse = {};
type DeleteGpgKeyResponse = {};
type DeleteEmailsResponse = {};
type DeclineRepoInviteResponse = {};
type CreateKeyResponse = {
id: number;
key: string;
url: string;
title: string;
verified: boolean;
created_at: string;
read_only: boolean;
};
type GpgKey = {
id: number;
primary_key_id: number | null;
key_id: string;
public_key: string;
emails: Array<GpgKeyEmailsItem>;
subkeys: Array<GpgKeySubkeysItem>;
can_sign: boolean;
can_encrypt_comms: boolean;
can_encrypt_storage: boolean;
can_certify: boolean;
created_at: string;
expires_at: null;
};
type CreateGpgKeyResponseEmailsItem = {
email: string;
verified: boolean;
};
type CreateGpgKeyResponse = {
id: number;
primary_key_id: null;
key_id: string;
public_key: string;
emails: Array<CreateGpgKeyResponseEmailsItem>;
subkeys: Array<GpgKey>;
can_sign: boolean;
can_encrypt_comms: boolean;
can_encrypt_storage: boolean;
can_certify: boolean;
created_at: string;
expires_at: null;
};
type AddEmailsResponseItem = {
email: string;
primary: boolean;
verified: boolean;
};
type AcceptRepoInviteResponse = {};
type UpdateProtectedBranchRequiredStatusChecksResponse = {
url: string;
strict: boolean;
contexts: Array<string>;
contexts_url: string;
};
type Team = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type UpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictions = {
url: string;
users_url: string;
teams_url: string;
users: Array<User>;
teams: Array<Team>;
};
type UpdateProtectedBranchPullRequestReviewEnforcementResponse = {
url: string;
dismissal_restrictions: UpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictions;
dismiss_stale_reviews: boolean;
require_code_owner_reviews: boolean;
required_approving_review_count: number;
};
type UpdateInviteResponse = {
id: number;
repository: Repository;
invitee: User;
inviter: User;
permissions: string;
created_at: string;
url: string;
html_url: string;
};
type CommitParentsItem = {
url: string;
html_url: string;
sha: string;
};
type UpdateFileResponseContentLinks = {
self: string;
git: string;
html: string;
};
type UpdateFileResponseContent = {
name: string;
path: string;
sha: string;
size: number;
url: string;
html_url: string;
git_url: string;
download_url: string;
type: string;
_links: UpdateFileResponseContentLinks;
};
type UpdateFileResponse = {
content: UpdateFileResponseContent;
commit: Commit;
};
type UpdateCommitCommentResponse = {
html_url: string;
url: string;
id: number;
node_id: string;
body: string;
path: string;
position: number;
line: number;
commit_id: string;
user: User;
created_at: string;
updated_at: string;
};
type UpdateBranchProtectionResponseRestrictionsTeamsItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type UpdateBranchProtectionResponseRestrictionsUsersItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type UpdateBranchProtectionResponseRestrictions = {
url: string;
users_url: string;
teams_url: string;
users: Array<UpdateBranchProtectionResponseRestrictionsUsersItem>;
teams: Array<UpdateBranchProtectionResponseRestrictionsTeamsItem>;
};
type UpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type UpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type UpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions = {
url: string;
users_url: string;
teams_url: string;
users: Array<
UpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem
>;
teams: Array<
UpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem
>;
};
type UpdateBranchProtectionResponseRequiredPullRequestReviews = {
url: string;
dismissal_restrictions: UpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions;
dismiss_stale_reviews: boolean;
require_code_owner_reviews: boolean;
required_approving_review_count: number;
};
type UpdateBranchProtectionResponseEnforceAdmins = {
url: string;
enabled: boolean;
};
type UpdateBranchProtectionResponseRequiredStatusChecks = {
url: string;
strict: boolean;
contexts: Array<string>;
contexts_url: string;
};
type UpdateBranchProtectionResponse = {
url: string;
required_status_checks: UpdateBranchProtectionResponseRequiredStatusChecks;
enforce_admins: UpdateBranchProtectionResponseEnforceAdmins;
required_pull_request_reviews: UpdateBranchProtectionResponseRequiredPullRequestReviews;
restrictions: UpdateBranchProtectionResponseRestrictions;
};
type TestHookResponse = {};
type RequestPageBuildResponse = {
url: string;
status: string;
};
type ReplaceTopicsResponse = { names: Array<string> };
type ReplaceProtectedBranchTeamRestrictionsResponseItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type RemoveProtectedBranchUserRestrictionsResponseItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type RemoveProtectedBranchTeamRestrictionsResponseItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type RemoveBranchProtectionResponse = {};
type GetViewsResponseViewsItem = {
timestamp: string;
count: number;
uniques: number;
};
type GetViewsResponse = {
count: number;
uniques: number;
views: Array<GetViewsResponseViewsItem>;
};
type GetTopicsResponse = { names: Array<string> };
type GetTagsResponseItemCommit = {
sha: string;
url: string;
};
type GetTagsResponseItem = {
name: string;
commit: GetTagsResponseItemCommit;
zipball_url: string;
tarball_url: string;
};
type GetStatusesResponseItem = {
url: string;
avatar_url: string;
id: number;
node_id: string;
state: string;
description: string;
target_url: string;
context: string;
created_at: string;
updated_at: string;
creator: User;
};
type GetStatsParticipationResponse = {
all: Array<number>;
owner: Array<number>;
};
type GetStatsContributorsResponseItemWeeksItem = {
w: string;
a: number;
d: number;
c: number;
};
type GetStatsContributorsResponseItemAuthor = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetStatsContributorsResponseItem = {
author: GetStatsContributorsResponseItemAuthor;
total: number;
weeks: Array<GetStatsContributorsResponseItemWeeksItem>;
};
type GetStatsCommitActivityResponseItem = {
days: Array<number>;
total: number;
week: number;
};
type GetShaOfCommitRefResponse = {};
type GetReleaseByTagResponseAssetsItemUploader = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetReleaseByTagResponseAssetsItem = {
url: string;
browser_download_url: string;
id: number;
node_id: string;
name: string;
label: string;
state: string;
content_type: string;
size: number;
download_count: number;
created_at: string;
updated_at: string;
uploader: GetReleaseByTagResponseAssetsItemUploader;
};
type GetReleaseByTagResponseAuthor = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetReleaseByTagResponse = {
url: string;
html_url: string;
assets_url: string;
upload_url: string;
tarball_url: string;
zipball_url: string;
id: number;
node_id: string;
tag_name: string;
target_commitish: string;
name: string;
body: string;
draft: boolean;
prerelease: boolean;
created_at: string;
published_at: string;
author: GetReleaseByTagResponseAuthor;
assets: Array<GetReleaseByTagResponseAssetsItem>;
};
type GetReferrersResponseItem = {
referrer: string;
count: number;
uniques: number;
};
type GetReadmeResponseLinks = {
git: string;
self: string;
html: string;
};
type GetReadmeResponse = {
type: string;
encoding: string;
size: number;
name: string;
path: string;
content: string;
sha: string;
url: string;
git_url: string;
html_url: string;
download_url: string;
_links: GetReadmeResponseLinks;
};
type GetProtectedBranchRequiredStatusChecksResponse = {
url: string;
strict: boolean;
contexts: Array<string>;
contexts_url: string;
};
type GetProtectedBranchRequiredSignaturesResponse = {
url: string;
enabled: boolean;
};
type GetPathsResponseItem = {
path: string;
title: string;
count: number;
uniques: number;
};
type GetPagesResponseSource = {
branch: string;
directory: string;
};
type GetPagesResponse = {
url: string;
status: string;
cname: string;
custom_404: boolean;
html_url: string;
source: GetPagesResponseSource;
};
type ReleaseResponseAssetsItemUploader = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ReleaseResponseAssetsItem = {
url: string;
browser_download_url: string;
id: number;
node_id: string;
name: string;
label: string;
state: string;
content_type: string;
size: number;
download_count: number;
created_at: string;
updated_at: string;
uploader: ReleaseResponseAssetsItemUploader;
};
type ReleaseResponse = {
url: string;
html_url: string;
assets_url: string;
upload_url: string;
tarball_url: string;
zipball_url: string;
id: number;
node_id: string;
tag_name: string;
target_commitish: string;
name: string;
body: string;
draft: boolean;
prerelease: boolean;
created_at: string;
published_at: string;
author: User;
assets: Array<ReleaseResponseAssetsItem>;
};
type GetLanguagesResponse = {
C: number;
Python: number;
};
type GetInvitesResponseItem = {
id: number;
repository: Repository;
invitee: User;
inviter: User;
permissions: string;
created_at: string;
url: string;
html_url: string;
};
type GetForksResponseItemLicense = {
key: string;
name: string;
spdx_id: string;
url: string;
node_id: string;
};
type GetForksResponseItemPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetForksResponseItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForOrgResponseItemLicense = {
key: string;
name: string;
spdx_id: string;
url: string;
node_id: string;
};
type GetForOrgResponseItemPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetForOrgResponseItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetDownloadsResponseItem = {
url: string;
html_url: string;
id: number;
name: string;
description: string;
size: number;
download_count: number;
content_type: string;
};
type GetDownloadResponse = {
url: string;
html_url: string;
id: number;
name: string;
description: string;
size: number;
download_count: number;
content_type: string;
};
type GetDeploymentsResponseItemCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetDeploymentsResponseItemPayload = { task: string };
type GetDeploymentsResponseItem = {
url: string;
id: number;
node_id: string;
sha: string;
ref: string;
task: string;
payload: GetDeploymentsResponseItemPayload;
environment: string;
description: string;
creator: GetDeploymentsResponseItemCreator;
created_at: string;
updated_at: string;
statuses_url: string;
repository_url: string;
};
type GetDeploymentStatusesResponseItemCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetDeploymentStatusesResponseItem = {
url: string;
id: number;
node_id: string;
state: string;
creator: GetDeploymentStatusesResponseItemCreator;
description: string;
target_url: string;
created_at: string;
updated_at: string;
deployment_url: string;
repository_url: string;
};
type GetDeploymentStatusResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetDeploymentStatusResponse = {
url: string;
id: number;
node_id: string;
state: string;
creator: GetDeploymentStatusResponseCreator;
description: string;
target_url: string;
created_at: string;
updated_at: string;
deployment_url: string;
repository_url: string;
};
type GetDeploymentResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetDeploymentResponsePayload = { task: string };
type GetDeploymentResponse = {
url: string;
id: number;
node_id: string;
sha: string;
ref: string;
task: string;
payload: GetDeploymentResponsePayload;
environment: string;
description: string;
creator: GetDeploymentResponseCreator;
created_at: string;
updated_at: string;
statuses_url: string;
repository_url: string;
};
type GetDeployKeysResponseItem = {
id: number;
key: string;
url: string;
title: string;
verified: boolean;
created_at: string;
read_only: boolean;
};
type GetDeployKeyResponse = {
id: number;
key: string;
url: string;
title: string;
verified: boolean;
created_at: string;
read_only: boolean;
};
type GetCommunityProfileMetricsResponseFilesReadme = {
url: string;
html_url: string;
};
type GetCommunityProfileMetricsResponseFilesLicense = {
name: string;
key: string;
spdx_id: string;
url: string;
html_url: string;
};
type GetCommunityProfileMetricsResponseFilesPullRequestTemplate = {
url: string;
html_url: string;
};
type GetCommunityProfileMetricsResponseFilesIssueTemplate = {
url: string;
html_url: string;
};
type GetCommunityProfileMetricsResponseFilesContributing = {
url: string;
html_url: string;
};
type GetCommunityProfileMetricsResponseFilesCodeOfConduct = {
name: string;
key: string;
url: string;
html_url: string;
};
type GetCommunityProfileMetricsResponseFiles = {
code_of_conduct: GetCommunityProfileMetricsResponseFilesCodeOfConduct;
contributing: GetCommunityProfileMetricsResponseFilesContributing;
issue_template: GetCommunityProfileMetricsResponseFilesIssueTemplate;
pull_request_template: GetCommunityProfileMetricsResponseFilesPullRequestTemplate;
license: GetCommunityProfileMetricsResponseFilesLicense;
readme: GetCommunityProfileMetricsResponseFilesReadme;
};
type GetCommunityProfileMetricsResponse = {
health_percentage: number;
description: string;
documentation: boolean;
files: GetCommunityProfileMetricsResponseFiles;
updated_at: string;
};
type GetCommitCommentsResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetCommitCommentsResponseItem = {
html_url: string;
url: string;
id: number;
node_id: string;
body: string;
path: string;
position: number;
line: number;
commit_id: string;
user: GetCommitCommentsResponseItemUser;
created_at: string;
updated_at: string;
};
type GetCommitCommentResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetCommitCommentResponse = {
html_url: string;
url: string;
id: number;
node_id: string;
body: string;
path: string;
position: number;
line: number;
commit_id: string;
user: GetCommitCommentResponseUser;
created_at: string;
updated_at: string;
};
type GetCommitResponseFilesItem = {
filename: string;
additions: number;
deletions: number;
changes: number;
status: string;
raw_url: string;
blob_url: string;
patch: string;
};
type GetCommitResponseStats = {
additions: number;
deletions: number;
total: number;
};
type GetCommitResponseCommitVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type GetCommitResponseCommitTree = {
url: string;
sha: string;
};
type GetCommitResponseCommitCommitter = {
name: string;
email: string;
date: string;
};
type GetCommitResponseCommitAuthor = {
name: string;
email: string;
date: string;
};
type GetCommitResponseCommit = {
url: string;
author: GetCommitResponseCommitAuthor;
committer: GetCommitResponseCommitCommitter;
message: string;
tree: GetCommitResponseCommitTree;
comment_count: number;
verification: GetCommitResponseCommitVerification;
};
type GetCombinedStatusForRefResponseRepositoryOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetCombinedStatusForRefResponseRepository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetCombinedStatusForRefResponseRepositoryOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
};
type GetCombinedStatusForRefResponseStatusesItem = {
url: string;
avatar_url: string;
id: number;
node_id: string;
state: string;
description: string;
target_url: string;
context: string;
created_at: string;
updated_at: string;
};
type GetCombinedStatusForRefResponse = {
state: string;
statuses: Array<GetCombinedStatusForRefResponseStatusesItem>;
sha: string;
total_count: number;
repository: GetCombinedStatusForRefResponseRepository;
commit_url: string;
url: string;
};
type GetCollaboratorsResponseItemPermissions = {
pull: boolean;
push: boolean;
admin: boolean;
};
type GetClonesResponseClonesItem = {
timestamp: string;
count: number;
uniques: number;
};
type GetClonesResponse = {
count: number;
uniques: number;
clones: Array<GetClonesResponseClonesItem>;
};
type GetBranchesResponseItemCommit = {
sha: string;
url: string;
};
type GetBranchesResponseItem = {
name: string;
commit: GetBranchesResponseItemCommit;
protected: boolean;
protection_url: string;
};
type GetBranchProtectionResponseRestrictionsTeamsItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type GetBranchProtectionResponseRestrictionsUsersItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetBranchProtectionResponseRestrictions = {
url: string;
users_url: string;
teams_url: string;
users: Array<GetBranchProtectionResponseRestrictionsUsersItem>;
teams: Array<GetBranchProtectionResponseRestrictionsTeamsItem>;
};
type GetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type GetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions = {
url: string;
users_url: string;
teams_url: string;
users: Array<
GetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem
>;
teams: Array<
GetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem
>;
};
type GetBranchProtectionResponseRequiredPullRequestReviews = {
url: string;
dismissal_restrictions: GetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions;
dismiss_stale_reviews: boolean;
require_code_owner_reviews: boolean;
required_approving_review_count: number;
};
type GetBranchProtectionResponseEnforceAdmins = {
url: string;
enabled: boolean;
};
type GetBranchProtectionResponseRequiredStatusChecks = {
url: string;
strict: boolean;
contexts: Array<string>;
contexts_url: string;
};
type GetBranchProtectionResponse = {
url: string;
required_status_checks: GetBranchProtectionResponseRequiredStatusChecks;
enforce_admins: GetBranchProtectionResponseEnforceAdmins;
required_pull_request_reviews: GetBranchProtectionResponseRequiredPullRequestReviews;
restrictions: GetBranchProtectionResponseRestrictions;
};
type GetBranchResponseLinks = {
html: string;
self: string;
};
type GetBranchResponseCommitCommitter = {
gravatar_id: string;
avatar_url: string;
url: string;
id: number;
login: string;
};
type GetBranchResponseCommitParentsItem = {
sha: string;
url: string;
};
type CommitVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type CommitCommitter = {
name: string;
date: string;
email: string;
};
type CommitTree = {
sha: string;
url: string;
};
type CommitAuthor = {
name: string;
date: string;
email: string;
};
type Commit = {
author: CommitAuthor;
url: string;
message: string;
tree: CommitTree;
committer: CommitCommitter;
verification: CommitVerification;
sha?: string;
node_id?: string;
html_url?: string;
parents?: Array<CommitParentsItem>;
};
type GetBranchResponseCommit = {
sha: string;
node_id: string;
commit: Commit;
author: User;
parents: Array<GetBranchResponseCommitParentsItem>;
url: string;
committer: GetBranchResponseCommitCommitter;
};
type GetBranchResponse = {
name: string;
commit: GetBranchResponseCommit;
_links: GetBranchResponseLinks;
protected: boolean;
protection_url: string;
};
type AssetItemUploader = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type AssetItem = {
url: string;
browser_download_url: string;
id: number;
node_id: string;
name: string;
label: string;
state: string;
content_type: string;
size: number;
download_count: number;
created_at: string;
updated_at: string;
uploader: AssetItemUploader;
};
type GetAssetResponseUploader = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetAssetResponse = {
url: string;
browser_download_url: string;
id: number;
node_id: string;
name: string;
label: string;
state: string;
content_type: string;
size: number;
download_count: number;
created_at: string;
updated_at: string;
uploader: GetAssetResponseUploader;
};
type GetArchiveLinkResponse = {};
type CommentUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type Comment = {
html_url: string;
url: string;
id: number;
node_id: string;
body: string;
path: string;
position: number;
line: number;
commit_id: string;
user: CommentUser;
created_at: string;
updated_at: string;
};
type GetResponseOrganization = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseLicense = {
key: string;
name: string;
spdx_id: string;
url: string;
node_id: string;
};
type GetResponsePermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type ForkResponsePermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type EditReleaseResponseAssetsItemUploader = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditReleaseResponseAssetsItem = {
url: string;
browser_download_url: string;
id: number;
node_id: string;
name: string;
label: string;
state: string;
content_type: string;
size: number;
download_count: number;
created_at: string;
updated_at: string;
uploader: EditReleaseResponseAssetsItemUploader;
};
type EditReleaseResponseAuthor = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditReleaseResponse = {
url: string;
html_url: string;
assets_url: string;
upload_url: string;
tarball_url: string;
zipball_url: string;
id: number;
node_id: string;
tag_name: string;
target_commitish: string;
name: string;
body: string;
draft: boolean;
prerelease: boolean;
created_at: string;
published_at: string;
author: EditReleaseResponseAuthor;
assets: Array<EditReleaseResponseAssetsItem>;
};
type EditAssetResponseUploader = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditAssetResponse = {
url: string;
browser_download_url: string;
id: number;
node_id: string;
name: string;
label: string;
state: string;
content_type: string;
size: number;
download_count: number;
created_at: string;
updated_at: string;
uploader: EditAssetResponseUploader;
};
type EditResponseOrganization = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditResponsePermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type DeleteReleaseResponse = {};
type DeleteInviteResponse = {};
type DeleteFileResponseCommitVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type DeleteFileResponseCommitParentsItem = {
url: string;
html_url: string;
sha: string;
};
type DeleteFileResponseCommitTree = {
url: string;
sha: string;
};
type DeleteFileResponseCommitCommitter = {
date: string;
name: string;
email: string;
};
type DeleteFileResponseCommitAuthor = {
date: string;
name: string;
email: string;
};
type DeleteFileResponseCommit = {
sha: string;
node_id: string;
url: string;
html_url: string;
author: DeleteFileResponseCommitAuthor;
committer: DeleteFileResponseCommitCommitter;
message: string;
tree: DeleteFileResponseCommitTree;
parents: Array<DeleteFileResponseCommitParentsItem>;
verification: DeleteFileResponseCommitVerification;
};
type DeleteFileResponse = {
content: null;
commit: DeleteFileResponseCommit;
};
type DeleteDownloadResponse = {};
type DeleteDeployKeyResponse = {};
type DeleteCommitCommentResponse = {};
type DeleteAssetResponse = {};
type CreateStatusResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateStatusResponse = {
url: string;
avatar_url: string;
id: number;
node_id: string;
state: string;
description: string;
target_url: string;
context: string;
created_at: string;
updated_at: string;
creator: CreateStatusResponseCreator;
};
type CreateReleaseResponseAuthor = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateReleaseResponse = {
url: string;
html_url: string;
assets_url: string;
upload_url: string;
tarball_url: string;
zipball_url: string;
id: number;
node_id: string;
tag_name: string;
target_commitish: string;
name: string;
body: string;
draft: boolean;
prerelease: boolean;
created_at: string;
published_at: string;
author: CreateReleaseResponseAuthor;
assets: Array<any>;
};
type CreateFileResponseCommitVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type CreateFileResponseCommitParentsItem = {
url: string;
html_url: string;
sha: string;
};
type CreateFileResponseCommitTree = {
url: string;
sha: string;
};
type CreateFileResponseCommitCommitter = {
date: string;
name: string;
email: string;
};
type CreateFileResponseCommitAuthor = {
date: string;
name: string;
email: string;
};
type CreateFileResponseCommit = {
sha: string;
node_id: string;
url: string;
html_url: string;
author: CreateFileResponseCommitAuthor;
committer: CreateFileResponseCommitCommitter;
message: string;
tree: CreateFileResponseCommitTree;
parents: Array<CreateFileResponseCommitParentsItem>;
verification: CreateFileResponseCommitVerification;
};
type CreateFileResponseContentLinks = {
self: string;
git: string;
html: string;
};
type CreateFileResponseContent = {
name: string;
path: string;
sha: string;
size: number;
url: string;
html_url: string;
git_url: string;
download_url: string;
type: string;
_links: CreateFileResponseContentLinks;
};
type CreateFileResponse = {
content: CreateFileResponseContent;
commit: CreateFileResponseCommit;
};
type CreateDeploymentStatusResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateDeploymentStatusResponse = {
url: string;
id: number;
node_id: string;
state: string;
creator: CreateDeploymentStatusResponseCreator;
description: string;
target_url: string;
created_at: string;
updated_at: string;
deployment_url: string;
repository_url: string;
};
type CreateCommitCommentResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateCommitCommentResponse = {
html_url: string;
url: string;
id: number;
node_id: string;
body: string;
path: string;
position: number;
line: number;
commit_id: string;
user: CreateCommitCommentResponseUser;
created_at: string;
updated_at: string;
};
type ResponsePermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type AddProtectedBranchUserRestrictionsResponseItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type AddProtectedBranchTeamRestrictionsResponseItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type AddProtectedBranchRequiredSignaturesResponse = {
url: string;
enabled: boolean;
};
type AddProtectedBranchAdminEnforcementResponse = {
url: string;
enabled: boolean;
};
type AddDeployKeyResponse = {
id: number;
key: string;
url: string;
title: string;
verified: boolean;
created_at: string;
read_only: boolean;
};
type GetForTeamDiscussionCommentResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForTeamDiscussionCommentResponseItem = {
id: number;
node_id: string;
user: GetForTeamDiscussionCommentResponseItemUser;
content: string;
created_at: string;
};
type GetForTeamDiscussionResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForTeamDiscussionResponseItem = {
id: number;
node_id: string;
user: GetForTeamDiscussionResponseItemUser;
content: string;
created_at: string;
};
type GetForPullRequestReviewCommentResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForPullRequestReviewCommentResponseItem = {
id: number;
node_id: string;
user: GetForPullRequestReviewCommentResponseItemUser;
content: string;
created_at: string;
};
type GetForIssueCommentResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForIssueCommentResponseItem = {
id: number;
node_id: string;
user: GetForIssueCommentResponseItemUser;
content: string;
created_at: string;
};
type GetForIssueResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForIssueResponseItem = {
id: number;
node_id: string;
user: GetForIssueResponseItemUser;
content: string;
created_at: string;
};
type GetForCommitCommentResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForCommitCommentResponseItem = {
id: number;
node_id: string;
user: GetForCommitCommentResponseItemUser;
content: string;
created_at: string;
};
type CreateForTeamDiscussionCommentResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateForTeamDiscussionCommentResponse = {
id: number;
node_id: string;
user: CreateForTeamDiscussionCommentResponseUser;
content: string;
created_at: string;
};
type CreateForTeamDiscussionResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateForTeamDiscussionResponse = {
id: number;
node_id: string;
user: CreateForTeamDiscussionResponseUser;
content: string;
created_at: string;
};
type CreateForPullRequestReviewCommentResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateForPullRequestReviewCommentResponse = {
id: number;
node_id: string;
user: CreateForPullRequestReviewCommentResponseUser;
content: string;
created_at: string;
};
type CreateForIssueCommentResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateForIssueCommentResponse = {
id: number;
node_id: string;
user: CreateForIssueCommentResponseUser;
content: string;
created_at: string;
};
type CreateForIssueResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateForIssueResponse = {
id: number;
node_id: string;
user: CreateForIssueResponseUser;
content: string;
created_at: string;
};
type CreateForCommitCommentResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateForCommitCommentResponse = {
id: number;
node_id: string;
user: CreateForCommitCommentResponseUser;
content: string;
created_at: string;
};
type UpdateResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type UpdateResponseLinksStatuses = { href: string };
type UpdateResponseLinksCommits = { href: string };
type UpdateResponseLinksReviewComment = { href: string };
type UpdateResponseLinksReviewComments = { href: string };
type UpdateResponseLinksComments = { href: string };
type UpdateResponseLinksIssue = { href: string };
type UpdateResponseLinksHtml = { href: string };
type UpdateResponseLinksSelf = { href: string };
type UpdateResponseLinks = {
self: UpdateResponseLinksSelf;
html: UpdateResponseLinksHtml;
issue: UpdateResponseLinksIssue;
comments: UpdateResponseLinksComments;
review_comments: UpdateResponseLinksReviewComments;
review_comment: UpdateResponseLinksReviewComment;
commits: UpdateResponseLinksCommits;
statuses: UpdateResponseLinksStatuses;
};
type UpdateResponseBaseRepoPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type UpdateResponseBaseRepoOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type UpdateResponseBaseRepo = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: UpdateResponseBaseRepoOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: UpdateResponseBaseRepoPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type UpdateResponseBaseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type UpdateResponseBase = {
label: string;
ref: string;
sha: string;
user: UpdateResponseBaseUser;
repo: UpdateResponseBaseRepo;
};
type UpdateResponseHeadRepoPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type UpdateResponseHeadRepoOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type UpdateResponseHeadRepo = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: UpdateResponseHeadRepoOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: UpdateResponseHeadRepoPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type UpdateResponseHeadUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type UpdateResponseHead = {
label: string;
ref: string;
sha: string;
user: UpdateResponseHeadUser;
repo: UpdateResponseHeadRepo;
};
type UpdateResponseMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type UpdateResponseMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: UpdateResponseMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type UpdateResponseLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type UpdateResponseAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type SubmitReviewResponseLinksPullRequest = { href: string };
type SubmitReviewResponseLinksHtml = { href: string };
type SubmitReviewResponseLinks = {
html: SubmitReviewResponseLinksHtml;
pull_request: SubmitReviewResponseLinksPullRequest;
};
type SubmitReviewResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type SubmitReviewResponse = {
id: number;
node_id: string;
user: SubmitReviewResponseUser;
body: string;
commit_id: string;
state: string;
html_url: string;
pull_request_url: string;
_links: SubmitReviewResponseLinks;
};
type GetReviewsResponseItemLinksPullRequest = { href: string };
type GetReviewsResponseItemLinksHtml = { href: string };
type GetReviewsResponseItemLinks = {
html: GetReviewsResponseItemLinksHtml;
pull_request: GetReviewsResponseItemLinksPullRequest;
};
type GetReviewsResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetReviewsResponseItem = {
id: number;
node_id: string;
user: GetReviewsResponseItemUser;
body: string;
commit_id: string;
state: string;
html_url: string;
pull_request_url: string;
_links: GetReviewsResponseItemLinks;
};
type GetReviewRequestsResponseTeamsItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type GetReviewRequestsResponseUsersItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetReviewRequestsResponse = {
users: Array<GetReviewRequestsResponseUsersItem>;
teams: Array<GetReviewRequestsResponseTeamsItem>;
};
type GetReviewCommentsResponseItemLinksPullRequest = { href: string };
type GetReviewCommentsResponseItemLinksHtml = { href: string };
type GetReviewCommentsResponseItemLinksSelf = { href: string };
type GetReviewCommentsResponseItemLinks = {
self: GetReviewCommentsResponseItemLinksSelf;
html: GetReviewCommentsResponseItemLinksHtml;
pull_request: GetReviewCommentsResponseItemLinksPullRequest;
};
type GetReviewCommentsResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetReviewCommentsResponseItem = {
url: string;
id: number;
node_id: string;
pull_request_review_id: number;
diff_hunk: string;
path: string;
position: number;
original_position: number;
commit_id: string;
original_commit_id: string;
in_reply_to_id: number;
user: GetReviewCommentsResponseItemUser;
body: string;
created_at: string;
updated_at: string;
html_url: string;
pull_request_url: string;
_links: GetReviewCommentsResponseItemLinks;
};
type GetReviewResponseLinksPullRequest = { href: string };
type GetReviewResponseLinksHtml = { href: string };
type GetReviewResponseLinks = {
html: GetReviewResponseLinksHtml;
pull_request: GetReviewResponseLinksPullRequest;
};
type GetReviewResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetReviewResponse = {
id: number;
node_id: string;
user: GetReviewResponseUser;
body: string;
commit_id: string;
state: string;
html_url: string;
pull_request_url: string;
_links: GetReviewResponseLinks;
};
type GetFilesResponseItem = {
sha: string;
filename: string;
status: string;
additions: number;
deletions: number;
changes: number;
blob_url: string;
raw_url: string;
contents_url: string;
patch: string;
};
type GetCommitsResponseItemParentsItem = {
url: string;
sha: string;
};
type GetCommitsResponseItemCommitter = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetCommitsResponseItemAuthor = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetCommitsResponseItemCommitVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type GetCommitsResponseItemCommitTree = {
url: string;
sha: string;
};
type GetCommitsResponseItemCommitCommitter = {
name: string;
email: string;
date: string;
};
type GetCommitsResponseItemCommitAuthor = {
name: string;
email: string;
date: string;
};
type GetCommitsResponseItemCommit = {
url: string;
author: GetCommitsResponseItemCommitAuthor;
committer: GetCommitsResponseItemCommitCommitter;
message: string;
tree: GetCommitsResponseItemCommitTree;
comment_count: number;
verification: GetCommitsResponseItemCommitVerification;
};
type GetCommentsForRepoResponseItemLinksPullRequest = { href: string };
type GetCommentsForRepoResponseItemLinksHtml = { href: string };
type GetCommentsForRepoResponseItemLinksSelf = { href: string };
type GetCommentsForRepoResponseItemLinks = {
self: GetCommentsForRepoResponseItemLinksSelf;
html: GetCommentsForRepoResponseItemLinksHtml;
pull_request: GetCommentsForRepoResponseItemLinksPullRequest;
};
type GetCommentsResponseItemLinksPullRequest = { href: string };
type GetCommentsResponseItemLinksHtml = { href: string };
type GetCommentsResponseItemLinksSelf = { href: string };
type GetCommentsResponseItemLinks = {
self: GetCommentsResponseItemLinksSelf;
html: GetCommentsResponseItemLinksHtml;
pull_request: GetCommentsResponseItemLinksPullRequest;
};
type GetCommentResponseLinksPullRequest = { href: string };
type GetCommentResponseLinksHtml = { href: string };
type GetCommentResponseLinksSelf = { href: string };
type GetCommentResponseLinks = {
self: GetCommentResponseLinksSelf;
html: GetCommentResponseLinksHtml;
pull_request: GetCommentResponseLinksPullRequest;
};
type GetResponseMergedBy = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseLinksStatuses = { href: string };
type GetResponseLinksCommits = { href: string };
type GetResponseLinksReviewComment = { href: string };
type GetResponseLinksReviewComments = { href: string };
type GetResponseLinksComments = { href: string };
type GetResponseLinksIssue = { href: string };
type GetResponseLinksHtml = { href: string };
type GetResponseLinksSelf = { href: string };
type GetResponseLinks = {
self: GetResponseLinksSelf;
html: GetResponseLinksHtml;
issue: GetResponseLinksIssue;
comments: GetResponseLinksComments;
review_comments: GetResponseLinksReviewComments;
review_comment: GetResponseLinksReviewComment;
commits: GetResponseLinksCommits;
statuses: GetResponseLinksStatuses;
};
type GetResponseBaseRepoPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetResponseBaseRepoOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseBaseRepo = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetResponseBaseRepoOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: GetResponseBaseRepoPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type GetResponseBaseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseBase = {
label: string;
ref: string;
sha: string;
user: GetResponseBaseUser;
repo: GetResponseBaseRepo;
};
type GetResponseHeadRepoPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetResponseHeadRepoOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseHeadRepo = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetResponseHeadRepoOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: GetResponseHeadRepoPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type GetResponseHeadUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseHead = {
label: string;
ref: string;
sha: string;
user: GetResponseHeadUser;
repo: GetResponseHeadRepo;
};
type EditCommentResponseLinksPullRequest = { href: string };
type EditCommentResponseLinksHtml = { href: string };
type EditCommentResponseLinksSelf = { href: string };
type EditCommentResponseLinks = {
self: EditCommentResponseLinksSelf;
html: EditCommentResponseLinksHtml;
pull_request: EditCommentResponseLinksPullRequest;
};
type DismissReviewResponseLinksPullRequest = { href: string };
type DismissReviewResponseLinksHtml = { href: string };
type DismissReviewResponseLinks = {
html: DismissReviewResponseLinksHtml;
pull_request: DismissReviewResponseLinksPullRequest;
};
type DismissReviewResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type DismissReviewResponse = {
id: number;
node_id: string;
user: DismissReviewResponseUser;
body: string;
commit_id: string;
state: string;
html_url: string;
pull_request_url: string;
_links: DismissReviewResponseLinks;
};
type DeleteReviewRequestResponse = {};
type DeletePendingReviewResponseLinksPullRequest = { href: string };
type DeletePendingReviewResponseLinksHtml = { href: string };
type DeletePendingReviewResponseLinks = {
html: DeletePendingReviewResponseLinksHtml;
pull_request: DeletePendingReviewResponseLinksPullRequest;
};
type DeletePendingReviewResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type DeletePendingReviewResponse = {
id: number;
node_id: string;
user: DeletePendingReviewResponseUser;
body: string;
commit_id: string;
state: string;
html_url: string;
pull_request_url: string;
_links: DeletePendingReviewResponseLinks;
};
type CreateReviewRequestResponseRequestedTeamsItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type CreateReviewRequestResponseRequestedReviewersItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateReviewRequestResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateReviewRequestResponseLinksStatuses = { href: string };
type CreateReviewRequestResponseLinksCommits = { href: string };
type CreateReviewRequestResponseLinksReviewComment = { href: string };
type CreateReviewRequestResponseLinksReviewComments = { href: string };
type CreateReviewRequestResponseLinksComments = { href: string };
type CreateReviewRequestResponseLinksIssue = { href: string };
type CreateReviewRequestResponseLinksHtml = { href: string };
type CreateReviewRequestResponseLinksSelf = { href: string };
type CreateReviewRequestResponseLinks = {
self: CreateReviewRequestResponseLinksSelf;
html: CreateReviewRequestResponseLinksHtml;
issue: CreateReviewRequestResponseLinksIssue;
comments: CreateReviewRequestResponseLinksComments;
review_comments: CreateReviewRequestResponseLinksReviewComments;
review_comment: CreateReviewRequestResponseLinksReviewComment;
commits: CreateReviewRequestResponseLinksCommits;
statuses: CreateReviewRequestResponseLinksStatuses;
};
type CreateReviewRequestResponseBaseRepoPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type CreateReviewRequestResponseBaseRepoOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateReviewRequestResponseBaseRepo = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: CreateReviewRequestResponseBaseRepoOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: CreateReviewRequestResponseBaseRepoPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type CreateReviewRequestResponseBaseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateReviewRequestResponseBase = {
label: string;
ref: string;
sha: string;
user: CreateReviewRequestResponseBaseUser;
repo: CreateReviewRequestResponseBaseRepo;
};
type CreateReviewRequestResponseHeadRepoPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type CreateReviewRequestResponseHeadRepoOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateReviewRequestResponseHeadRepo = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: CreateReviewRequestResponseHeadRepoOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: CreateReviewRequestResponseHeadRepoPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type CreateReviewRequestResponseHeadUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateReviewRequestResponseHead = {
label: string;
ref: string;
sha: string;
user: CreateReviewRequestResponseHeadUser;
repo: CreateReviewRequestResponseHeadRepo;
};
type CreateReviewRequestResponseMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateReviewRequestResponseMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: CreateReviewRequestResponseMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type CreateReviewRequestResponseLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type CreateReviewRequestResponseAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateReviewRequestResponse = {
id: number;
node_id: string;
url: string;
html_url: string;
diff_url: string;
patch_url: string;
issue_url: string;
commits_url: string;
review_comments_url: string;
review_comment_url: string;
comments_url: string;
statuses_url: string;
number: number;
state: string;
title: string;
body: string;
assignee: CreateReviewRequestResponseAssignee;
labels: Array<CreateReviewRequestResponseLabelsItem>;
milestone: CreateReviewRequestResponseMilestone;
locked: boolean;
active_lock_reason: string;
created_at: string;
updated_at: string;
closed_at: string;
merged_at: string;
head: CreateReviewRequestResponseHead;
base: CreateReviewRequestResponseBase;
_links: CreateReviewRequestResponseLinks;
user: CreateReviewRequestResponseUser;
requested_reviewers: Array<
CreateReviewRequestResponseRequestedReviewersItem
>;
requested_teams: Array<CreateReviewRequestResponseRequestedTeamsItem>;
};
type CreateReviewResponseLinksPullRequest = { href: string };
type CreateReviewResponseLinksHtml = { href: string };
type CreateReviewResponseLinks = {
html: CreateReviewResponseLinksHtml;
pull_request: CreateReviewResponseLinksPullRequest;
};
type CreateReviewResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateReviewResponse = {
id: number;
node_id: string;
user: CreateReviewResponseUser;
body: string;
commit_id: string;
state: string;
html_url: string;
pull_request_url: string;
_links: CreateReviewResponseLinks;
};
type CreateFromIssueResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateFromIssueResponseLinksStatuses = { href: string };
type CreateFromIssueResponseLinksCommits = { href: string };
type CreateFromIssueResponseLinksReviewComment = { href: string };
type CreateFromIssueResponseLinksReviewComments = { href: string };
type CreateFromIssueResponseLinksComments = { href: string };
type CreateFromIssueResponseLinksIssue = { href: string };
type CreateFromIssueResponseLinksHtml = { href: string };
type CreateFromIssueResponseLinksSelf = { href: string };
type CreateFromIssueResponseLinks = {
self: CreateFromIssueResponseLinksSelf;
html: CreateFromIssueResponseLinksHtml;
issue: CreateFromIssueResponseLinksIssue;
comments: CreateFromIssueResponseLinksComments;
review_comments: CreateFromIssueResponseLinksReviewComments;
review_comment: CreateFromIssueResponseLinksReviewComment;
commits: CreateFromIssueResponseLinksCommits;
statuses: CreateFromIssueResponseLinksStatuses;
};
type CreateFromIssueResponseBaseRepoPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type CreateFromIssueResponseBaseRepoOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateFromIssueResponseBaseRepo = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: CreateFromIssueResponseBaseRepoOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: CreateFromIssueResponseBaseRepoPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type CreateFromIssueResponseBaseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateFromIssueResponseBase = {
label: string;
ref: string;
sha: string;
user: CreateFromIssueResponseBaseUser;
repo: CreateFromIssueResponseBaseRepo;
};
type CreateFromIssueResponseHeadRepoPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type CreateFromIssueResponseHeadRepoOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateFromIssueResponseHeadRepo = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: CreateFromIssueResponseHeadRepoOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: CreateFromIssueResponseHeadRepoPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type CreateFromIssueResponseHeadUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateFromIssueResponseHead = {
label: string;
ref: string;
sha: string;
user: CreateFromIssueResponseHeadUser;
repo: CreateFromIssueResponseHeadRepo;
};
type CreateFromIssueResponseMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateFromIssueResponseMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: CreateFromIssueResponseMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type CreateFromIssueResponseLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type CreateFromIssueResponse = {
id: number;
node_id: string;
url: string;
html_url: string;
diff_url: string;
patch_url: string;
issue_url: string;
commits_url: string;
review_comments_url: string;
review_comment_url: string;
comments_url: string;
statuses_url: string;
number: number;
state: string;
title: string;
body: string;
assignee: User;
labels: Array<CreateFromIssueResponseLabelsItem>;
milestone: CreateFromIssueResponseMilestone;
locked: boolean;
active_lock_reason: string;
created_at: string;
updated_at: string;
closed_at: string;
merged_at: string;
head: CreateFromIssueResponseHead;
base: CreateFromIssueResponseBase;
_links: CreateFromIssueResponseLinks;
user: CreateFromIssueResponseUser;
};
type CreateCommentReplyResponseLinksPullRequest = { href: string };
type CreateCommentReplyResponseLinksHtml = { href: string };
type CreateCommentReplyResponseLinksSelf = { href: string };
type CreateCommentReplyResponseLinks = {
self: CreateCommentReplyResponseLinksSelf;
html: CreateCommentReplyResponseLinksHtml;
pull_request: CreateCommentReplyResponseLinksPullRequest;
};
type CreateCommentReplyResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateCommentReplyResponse = {
url: string;
id: number;
node_id: string;
pull_request_review_id: number;
diff_hunk: string;
path: string;
position: number;
original_position: number;
commit_id: string;
original_commit_id: string;
in_reply_to_id: number;
user: CreateCommentReplyResponseUser;
body: string;
created_at: string;
updated_at: string;
html_url: string;
pull_request_url: string;
_links: CreateCommentReplyResponseLinks;
};
type CreateCommentResponseLinksPullRequest = { href: string };
type CreateCommentResponseLinksHtml = { href: string };
type CreateCommentResponseLinksSelf = { href: string };
type CreateCommentResponseLinks = {
self: CreateCommentResponseLinksSelf;
html: CreateCommentResponseLinksHtml;
pull_request: CreateCommentResponseLinksPullRequest;
};
type ResponseLinksStatuses = { href: string };
type ResponseLinksCommits = { href: string };
type ResponseLinksReviewComment = { href: string };
type ResponseLinksReviewComments = { href: string };
type ResponseLinksComments = { href: string };
type ResponseLinksIssue = { href: string };
type ResponseLinksHtml = { href: string };
type ResponseLinksSelf = { href: string };
type ResponseLinks = {
self: ResponseLinksSelf;
html: ResponseLinksHtml;
issue: ResponseLinksIssue;
comments: ResponseLinksComments;
review_comments: ResponseLinksReviewComments;
review_comment: ResponseLinksReviewComment;
commits: ResponseLinksCommits;
statuses: ResponseLinksStatuses;
};
type ResponseBaseRepoPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type ResponseBaseRepoOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseBaseRepo = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: ResponseBaseRepoOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: ResponseBaseRepoPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type ResponseBaseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseBase = {
label: string;
ref: string;
sha: string;
user: ResponseBaseUser;
repo: ResponseBaseRepo;
};
type ResponseHeadRepoPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type ResponseHeadRepoOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseHeadRepo = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: ResponseHeadRepoOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: ResponseHeadRepoPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type ResponseHeadUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseHead = {
label: string;
ref: string;
sha: string;
user: ResponseHeadUser;
repo: ResponseHeadRepo;
};
type UpdateProjectResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type UpdateProjectResponse = {
owner_url: string;
url: string;
html_url: string;
columns_url: string;
id: number;
node_id: string;
name: string;
body: string;
number: number;
state: string;
creator: UpdateProjectResponseCreator;
created_at: string;
updated_at: string;
};
type RemoveCollaboratorResponse = {};
type MoveProjectColumnResponse = {};
type MoveProjectCardResponse = {};
type GetUserPermissionLevelResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetUserPermissionLevelResponse = {
permission: string;
user: GetUserPermissionLevelResponseUser;
};
type GetRepoProjectsResponseItemCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetRepoProjectsResponseItem = {
owner_url: string;
url: string;
html_url: string;
columns_url: string;
id: number;
node_id: string;
name: string;
body: string;
number: number;
state: string;
creator: GetRepoProjectsResponseItemCreator;
created_at: string;
updated_at: string;
};
type GetProjectColumnsResponseItem = {
id: number;
node_id: string;
name: string;
url: string;
project_url: string;
cards_url: string;
created_at: string;
updated_at: string;
};
type GetProjectCardsResponseItemCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetProjectCardsResponseItem = {
url: string;
column_url: string;
content_url: string;
id: number;
node_id: string;
note: string;
creator: GetProjectCardsResponseItemCreator;
created_at: string;
updated_at: string;
archived: boolean;
};
type GetProjectResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetProjectResponse = {
owner_url: string;
url: string;
html_url: string;
columns_url: string;
id: number;
node_id: string;
name: string;
body: string;
number: number;
state: string;
creator: GetProjectResponseCreator;
created_at: string;
updated_at: string;
};
type GetOrgProjectsResponseItemCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetOrgProjectsResponseItem = {
owner_url: string;
url: string;
html_url: string;
columns_url: string;
id: number;
node_id: string;
name: string;
body: string;
number: number;
state: string;
creator: GetOrgProjectsResponseItemCreator;
created_at: string;
updated_at: string;
};
type GetCollaboratorsResponseItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
permissions?: GetCollaboratorsResponseItemPermissions;
};
type DeleteProjectColumnResponse = {};
type DeleteProjectCardResponse = {};
type CreateRepoProjectResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateRepoProjectResponse = {
owner_url: string;
url: string;
html_url: string;
columns_url: string;
id: number;
node_id: string;
name: string;
body: string;
number: number;
state: string;
creator: CreateRepoProjectResponseCreator;
created_at: string;
updated_at: string;
};
type CreateProjectCardResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateProjectCardResponse = {
url: string;
column_url: string;
content_url: string;
id: number;
node_id: string;
note: string;
creator: CreateProjectCardResponseCreator;
created_at: string;
updated_at: string;
archived: boolean;
};
type CreateOrgProjectResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateOrgProjectResponse = {
owner_url: string;
url: string;
html_url: string;
columns_url: string;
id: number;
node_id: string;
name: string;
body: string;
number: number;
state: string;
creator: CreateOrgProjectResponseCreator;
created_at: string;
updated_at: string;
};
type AddCollaboratorResponse = {};
type UpdateResponsePlan = {
name: string;
space: number;
private_repos: number;
collaborators?: number;
};
type UnblockUserResponse = {};
type RemoveTeamMembershipResponse = {};
type RemoveOutsideCollaboratorResponse = {};
type RemoveOrgMembershipResponse = {};
type RemoveMemberResponse = {};
type PublicizeMembershipResponse = {};
type PingHookResponse = {};
type GetTeamsResponseItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
members_count?: number;
repos_count?: number;
created_at?: string;
updated_at?: string;
organization?: GetTeamsResponseItemOrganization;
};
type GetTeamReposResponseItemLicense = {
key: string;
name: string;
spdx_id: string;
url: string;
node_id: string;
};
type GetTeamReposResponseItemPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetTeamReposResponseItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetTeamReposResponseItem = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetTeamReposResponseItemOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: GetTeamReposResponseItemPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
license: GetTeamReposResponseItemLicense;
};
type GetTeamMembersResponseItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetTeamResponseOrganization = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type GetTeamResponse = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
members_count: number;
repos_count: number;
created_at: string;
updated_at: string;
organization: GetTeamResponseOrganization;
};
type GetPublicMembersResponseItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetPendingTeamInvitesResponseItemInviter = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetPendingTeamInvitesResponseItem = {
id: number;
login: string;
email: string;
role: string;
created_at: string;
inviter: GetPendingTeamInvitesResponseItemInviter;
team_count: number;
invitation_team_url: string;
};
type GetPendingOrgInvitesResponseItemInviter = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetPendingOrgInvitesResponseItem = {
id: number;
login: string;
email: string;
role: string;
created_at: string;
inviter: GetPendingOrgInvitesResponseItemInviter;
team_count: number;
invitation_team_url: string;
};
type GetOutsideCollaboratorsResponseItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetMembersResponseItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetInvitationTeamsResponseItem = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
};
type GetHooksResponseItemConfig = {
url: string;
content_type: string;
};
type GetHooksResponseItem = {
id: number;
url: string;
ping_url: string;
name: string;
events: Array<string>;
active: boolean;
config: GetHooksResponseItemConfig;
updated_at: string;
created_at: string;
test_url?: string;
};
type GetHookResponseConfig = {
url: string;
content_type: string;
};
type GetHookResponse = {
id: number;
url: string;
ping_url: string;
name: string;
events: Array<string>;
active: boolean;
config: GetHookResponseConfig;
updated_at: string;
created_at: string;
test_url?: string;
};
type GetBlockedUsersResponseItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponsePlan = {
name: string;
space: number;
private_repos: number;
};
type EditTeamResponseOrganization = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type EditTeamResponse = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
members_count: number;
repos_count: number;
created_at: string;
updated_at: string;
organization: EditTeamResponseOrganization;
};
type EditHookResponseConfig = {
url: string;
content_type: string;
};
type EditHookResponse = {
id: number;
url: string;
ping_url: string;
name: string;
events: Array<string>;
active: boolean;
config: EditHookResponseConfig;
updated_at: string;
created_at: string;
test_url?: string;
};
type DeleteTeamRepoResponse = {};
type DeleteTeamResponse = {};
type DeleteHookResponse = {};
type CreateTeamResponseOrganization = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type CreateTeamResponse = {
id: number;
node_id: string;
url: string;
name: string;
slug: string;
description: string;
privacy: string;
permission: string;
members_url: string;
repositories_url: string;
parent: null;
members_count: number;
repos_count: number;
created_at: string;
updated_at: string;
organization: CreateTeamResponseOrganization;
};
type CreateInvitationResponseInviter = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateInvitationResponse = {
id: number;
login: string;
email: string;
role: string;
created_at: string;
inviter: CreateInvitationResponseInviter;
team_count: number;
invitation_team_url: string;
};
type CreateHookResponseConfig = {
url: string;
content_type: string;
};
type CreateHookResponse = {
id: number;
url: string;
ping_url: string;
name: string;
events: Array<string>;
active: boolean;
config: CreateHookResponseConfig;
updated_at: string;
created_at: string;
test_url?: string;
};
type ConvertMemberToOutsideCollaboratorResponse = {};
type ConcealMembershipResponse = {};
type CheckBlockedUserResponse = {};
type BlockUserResponse = {};
type AddTeamRepoResponse = {};
type RenderMarkdownRawResponse = {};
type RenderMarkdownResponse = {};
type GetRepoLicenseResponseLicense = {
key: string;
name: string;
spdx_id: string;
url: string;
node_id: string;
};
type GetRepoLicenseResponseLinks = {
self: string;
git: string;
html: string;
};
type GetRepoLicenseResponse = {
name: string;
path: string;
sha: string;
size: number;
url: string;
html_url: string;
git_url: string;
download_url: string;
type: string;
content: string;
encoding: string;
_links: GetRepoLicenseResponseLinks;
license: GetRepoLicenseResponseLicense;
};
type GetRepoCodeOfConductResponse = {
key: string;
name: string;
url: string;
body: string;
};
type GetRateLimitResponseRate = {
limit: number;
remaining: number;
reset: number;
};
type GetRateLimitResponseResourcesSearch = {
limit: number;
remaining: number;
reset: number;
};
type GetRateLimitResponseResourcesCore = {
limit: number;
remaining: number;
reset: number;
};
type GetRateLimitResponseResources = {
core: GetRateLimitResponseResourcesCore;
search: GetRateLimitResponseResourcesSearch;
};
type GetRateLimitResponse = {
resources: GetRateLimitResponseResources;
rate: GetRateLimitResponseRate;
};
type GetLicensesResponseItem = {
key: string;
name: string;
spdx_id: string;
url: string;
node_id?: string;
};
type GetLicenseResponse = {
key: string;
name: string;
spdx_id: string;
url: string;
node_id: string;
html_url: string;
description: string;
implementation: string;
permissions: Array<string>;
conditions: Array<string>;
limitations: Array<string>;
body: string;
featured: boolean;
};
type GetGitignoreTemplateResponse = {
name?: string;
source?: string;
};
type GetCodesOfConductResponseItem = {
key: string;
name: string;
url: string;
};
type GetCodeOfConductResponse = {
key: string;
name: string;
url: string;
body: string;
};
type UpdateImportResponse = {
vcs: string;
use_lfs: string;
vcs_url: string;
status: string;
url: string;
html_url: string;
authors_url: string;
repository_url: string;
};
type UnlockRepoLockedForMigrationResponse = {};
type UnlockRepoForAuthenticatedUserResponse = {};
type StartMigrationResponseRepositoriesItemPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type StartMigrationResponseRepositoriesItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type StartMigrationResponseRepositoriesItem = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: StartMigrationResponseRepositoriesItemOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: StartMigrationResponseRepositoriesItemPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type StartMigrationResponseOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type StartMigrationResponse = {
id: number;
owner: StartMigrationResponseOwner;
guid: string;
state: string;
lock_repositories: boolean;
exclude_attachments: boolean;
repositories: Array<StartMigrationResponseRepositoriesItem>;
url: string;
created_at: string;
updated_at: string;
};
type StartImportResponse = {
vcs: string;
use_lfs: string;
vcs_url: string;
status: string;
status_text: string;
has_large_files: boolean;
large_files_size: number;
large_files_count: number;
authors_count: number;
percent: number;
commit_count: number;
url: string;
html_url: string;
authors_url: string;
repository_url: string;
};
type StartForAuthenticatedUserResponseRepositoriesItemPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type StartForAuthenticatedUserResponseRepositoriesItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type StartForAuthenticatedUserResponseRepositoriesItem = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: StartForAuthenticatedUserResponseRepositoriesItemOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: StartForAuthenticatedUserResponseRepositoriesItemPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type StartForAuthenticatedUserResponseOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type StartForAuthenticatedUserResponse = {
id: number;
owner: StartForAuthenticatedUserResponseOwner;
guid: string;
state: string;
lock_repositories: boolean;
exclude_attachments: boolean;
repositories: Array<StartForAuthenticatedUserResponseRepositoriesItem>;
url: string;
created_at: string;
updated_at: string;
};
type SetImportLfsPreferenceResponse = {
vcs: string;
use_lfs: string;
vcs_url: string;
status: string;
status_text: string;
has_large_files: boolean;
large_files_size: number;
large_files_count: number;
authors_count: number;
url: string;
html_url: string;
authors_url: string;
repository_url: string;
};
type MapImportCommitAuthorResponse = {
id: number;
remote_id: string;
remote_name: string;
email: string;
name: string;
url: string;
import_url: string;
};
type ListForAuthenticatedUserResponseItemRepositoriesItemPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type ListForAuthenticatedUserResponseItemRepositoriesItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ListForAuthenticatedUserResponseItemRepositoriesItem = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: ListForAuthenticatedUserResponseItemRepositoriesItemOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: ListForAuthenticatedUserResponseItemRepositoriesItemPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type ListForAuthenticatedUserResponseItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ListForAuthenticatedUserResponseItem = {
id: number;
owner: ListForAuthenticatedUserResponseItemOwner;
guid: string;
state: string;
lock_repositories: boolean;
exclude_attachments: boolean;
repositories: Array<ListForAuthenticatedUserResponseItemRepositoriesItem>;
url: string;
created_at: string;
updated_at: string;
};
type GetStatusForAuthenticatedUserResponseRepositoriesItemPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetStatusForAuthenticatedUserResponseRepositoriesItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetStatusForAuthenticatedUserResponseRepositoriesItem = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetStatusForAuthenticatedUserResponseRepositoriesItemOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: GetStatusForAuthenticatedUserResponseRepositoriesItemPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type GetStatusForAuthenticatedUserResponseOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetStatusForAuthenticatedUserResponse = {
id: number;
owner: GetStatusForAuthenticatedUserResponseOwner;
guid: string;
state: string;
lock_repositories: boolean;
exclude_attachments: boolean;
repositories: Array<GetStatusForAuthenticatedUserResponseRepositoriesItem>;
url: string;
created_at: string;
updated_at: string;
};
type GetMigrationsResponseItemRepositoriesItemPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetMigrationsResponseItemRepositoriesItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetMigrationsResponseItemRepositoriesItem = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetMigrationsResponseItemRepositoriesItemOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: GetMigrationsResponseItemRepositoriesItemPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type GetMigrationsResponseItemOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type GetMigrationsResponseItem = {
id: number;
owner: GetMigrationsResponseItemOwner;
guid: string;
state: string;
lock_repositories: boolean;
exclude_attachments: boolean;
repositories: Array<GetMigrationsResponseItemRepositoriesItem>;
url: string;
created_at: string;
updated_at: string;
};
type GetMigrationStatusResponseRepositoriesItemPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetMigrationStatusResponseRepositoriesItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetMigrationStatusResponseRepositoriesItem = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetMigrationStatusResponseRepositoriesItemOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: GetMigrationStatusResponseRepositoriesItemPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type GetMigrationStatusResponseOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type GetMigrationStatusResponse = {
id: number;
owner: GetMigrationStatusResponseOwner;
guid: string;
state: string;
lock_repositories: boolean;
exclude_attachments: boolean;
repositories: Array<GetMigrationStatusResponseRepositoriesItem>;
url: string;
created_at: string;
updated_at: string;
};
type GetMigrationArchiveLinkResponse = {};
type GetLargeImportFilesResponseItem = {
ref_name: string;
path: string;
oid: string;
size: number;
};
type GetImportProgressResponse = {
vcs: string;
use_lfs: string;
vcs_url: string;
status: string;
status_text: string;
has_large_files: boolean;
large_files_size: number;
large_files_count: number;
authors_count: number;
url: string;
html_url: string;
authors_url: string;
repository_url: string;
};
type GetImportCommitAuthorsResponseItem = {
id: number;
remote_id: string;
remote_name: string;
email: string;
name: string;
url: string;
import_url: string;
};
type GetArchiveForAuthenticatedUserResponse = {};
type DeleteMigrationArchiveResponse = {};
type DeleteArchiveForAuthenticatedUserResponse = {};
type CancelImportResponse = {};
type UpdateMilestoneResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type UpdateMilestoneResponse = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: UpdateMilestoneResponseCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type UpdateLabelResponse = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type UnlockResponse = {};
type ReplaceAllLabelsResponseItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type RemoveAssigneesFromIssueResponsePullRequest = {
url: string;
html_url: string;
diff_url: string;
patch_url: string;
};
type RemoveAssigneesFromIssueResponseMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type RemoveAssigneesFromIssueResponseMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: RemoveAssigneesFromIssueResponseMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type RemoveAssigneesFromIssueResponseAssigneesItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type RemoveAssigneesFromIssueResponseAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type RemoveAssigneesFromIssueResponseLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type RemoveAssigneesFromIssueResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type RemoveAssigneesFromIssueResponse = {
id: number;
node_id: string;
url: string;
repository_url: string;
labels_url: string;
comments_url: string;
events_url: string;
html_url: string;
number: number;
state: string;
title: string;
body: string;
user: RemoveAssigneesFromIssueResponseUser;
labels: Array<RemoveAssigneesFromIssueResponseLabelsItem>;
assignee: RemoveAssigneesFromIssueResponseAssignee;
assignees: Array<RemoveAssigneesFromIssueResponseAssigneesItem>;
milestone: RemoveAssigneesFromIssueResponseMilestone;
locked: boolean;
active_lock_reason: string;
comments: number;
pull_request: RemoveAssigneesFromIssueResponsePullRequest;
closed_at: null;
created_at: string;
updated_at: string;
};
type RemoveAllLabelsResponse = {};
type LockResponse = {};
type GetMilestonesResponseItemCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetMilestonesResponseItem = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: GetMilestonesResponseItemCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type GetMilestoneLabelsResponseItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type GetMilestoneResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetMilestoneResponse = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: GetMilestoneResponseCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type GetLabelsResponseItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type GetLabelResponse = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type GetIssueLabelsResponseItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type GetForUserResponseItemRepositoryPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetForUserResponseItemRepositoryOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForUserResponseItemRepository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetForUserResponseItemRepositoryOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: GetForUserResponseItemRepositoryPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type GetForUserResponseItemPullRequest = {
url: string;
html_url: string;
diff_url: string;
patch_url: string;
};
type GetForUserResponseItemMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForUserResponseItemMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: GetForUserResponseItemMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type GetForUserResponseItemAssigneesItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForUserResponseItemAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForUserResponseItemLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type GetForUserResponseItemUser = null | {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForRepoResponseItemPullRequest = {
url: string;
html_url: string;
diff_url: string;
patch_url: string;
};
type GetForRepoResponseItemMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForRepoResponseItemMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: GetForRepoResponseItemMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type GetForRepoResponseItemAssigneesItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForRepoResponseItemAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForRepoResponseItemLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type GetForRepoResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForRepoResponseItem = {
id: number;
node_id: string;
url: string;
repository_url: string;
labels_url: string;
comments_url: string;
events_url: string;
html_url: string;
number: number;
state: string;
title: string;
body: string;
user: GetForRepoResponseItemUser;
labels: Array<GetForRepoResponseItemLabelsItem>;
assignee: GetForRepoResponseItemAssignee;
assignees: Array<GetForRepoResponseItemAssigneesItem>;
milestone: GetForRepoResponseItemMilestone;
locked: boolean;
active_lock_reason: string;
comments: number;
pull_request: GetForRepoResponseItemPullRequest;
closed_at: null;
created_at: string;
updated_at: string;
};
type GetForOrgResponseItemRepositoryPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetForOrgResponseItemRepositoryOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForOrgResponseItemRepository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetForOrgResponseItemRepositoryOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: GetForOrgResponseItemRepositoryPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type GetForOrgResponseItemPullRequest = {
url: string;
html_url: string;
diff_url: string;
patch_url: string;
};
type GetForOrgResponseItemMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForOrgResponseItemMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: GetForOrgResponseItemMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type GetForOrgResponseItemAssigneesItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForOrgResponseItemAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForOrgResponseItemLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type GetForOrgResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForOrgResponseItem = {
id: number;
node_id: string;
url: string;
repository_url?: string;
labels_url: string;
comments_url: string;
events_url: string;
html_url: string;
number?: number;
state?: string;
title?: string;
body?: string;
user?: GetForOrgResponseItemUser;
labels?: Array<GetForOrgResponseItemLabelsItem>;
assignee?: GetForOrgResponseItemAssignee;
assignees?: Array<GetForOrgResponseItemAssigneesItem>;
milestone?: GetForOrgResponseItemMilestone;
locked?: boolean;
active_lock_reason?: string;
comments?: number;
pull_request?: GetForOrgResponseItemPullRequest;
closed_at?: null;
created_at: string;
updated_at: string;
repository?: GetForOrgResponseItemRepository;
name?: string;
full_name?: string;
owner?: GetForOrgResponseItemOwner;
private?: boolean;
description?: string;
fork?: boolean;
archive_url?: string;
assignees_url?: string;
blobs_url?: string;
branches_url?: string;
collaborators_url?: string;
commits_url?: string;
compare_url?: string;
contents_url?: string;
contributors_url?: string;
deployments_url?: string;
downloads_url?: string;
forks_url?: string;
git_commits_url?: string;
git_refs_url?: string;
git_tags_url?: string;
git_url?: string;
issue_comment_url?: string;
issue_events_url?: string;
issues_url?: string;
keys_url?: string;
languages_url?: string;
merges_url?: string;
milestones_url?: string;
notifications_url?: string;
pulls_url?: string;
releases_url?: string;
ssh_url?: string;
stargazers_url?: string;
statuses_url?: string;
subscribers_url?: string;
subscription_url?: string;
tags_url?: string;
teams_url?: string;
trees_url?: string;
clone_url?: string;
mirror_url?: string;
hooks_url?: string;
svn_url?: string;
homepage?: string;
language?: null;
forks_count?: number;
stargazers_count?: number;
watchers_count?: number;
size?: number;
default_branch?: string;
open_issues_count?: number;
topics?: Array<string>;
has_issues?: boolean;
has_projects?: boolean;
has_wiki?: boolean;
has_pages?: boolean;
has_downloads?: boolean;
archived?: boolean;
pushed_at?: string;
permissions?: GetForOrgResponseItemPermissions;
allow_rebase_merge?: boolean;
allow_squash_merge?: boolean;
allow_merge_commit?: boolean;
subscribers_count?: number;
network_count?: number;
license?: GetForOrgResponseItemLicense;
};
type GetEventsTimelineResponseItemActor = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventsTimelineResponseItem = {
id: number;
node_id: string;
url: string;
actor: GetEventsTimelineResponseItemActor;
event: string;
commit_id: string;
commit_url: string;
created_at: string;
};
type GetEventsForRepoResponseItemIssuePullRequest = {
url: string;
html_url: string;
diff_url: string;
patch_url: string;
};
type GetEventsForRepoResponseItemIssueMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventsForRepoResponseItemIssueMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: GetEventsForRepoResponseItemIssueMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type GetEventsForRepoResponseItemIssueAssigneesItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventsForRepoResponseItemIssueAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventsForRepoResponseItemIssueLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type GetEventsForRepoResponseItemIssueUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventsForRepoResponseItemIssue = {
id: number;
node_id: string;
url: string;
repository_url: string;
labels_url: string;
comments_url: string;
events_url: string;
html_url: string;
number: number;
state: string;
title: string;
body: string;
user: GetEventsForRepoResponseItemIssueUser;
labels: Array<GetEventsForRepoResponseItemIssueLabelsItem>;
assignee: GetEventsForRepoResponseItemIssueAssignee;
assignees: Array<GetEventsForRepoResponseItemIssueAssigneesItem>;
milestone: GetEventsForRepoResponseItemIssueMilestone;
locked: boolean;
active_lock_reason: string;
comments: number;
pull_request: GetEventsForRepoResponseItemIssuePullRequest;
closed_at: null;
created_at: string;
updated_at: string;
};
type GetEventsForRepoResponseItemActor = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventsForRepoResponseItem = {
id: number;
node_id: string;
url: string;
actor: GetEventsForRepoResponseItemActor;
event: string;
commit_id: string;
commit_url: string;
created_at: string;
issue: GetEventsForRepoResponseItemIssue;
};
type GetEventsResponseItemActor = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventsResponseItem = {
id: number;
node_id: string;
url: string;
actor: GetEventsResponseItemActor;
event: string;
commit_id: string;
commit_url: string;
created_at: string;
};
type GetEventResponseIssuePullRequest = {
url: string;
html_url: string;
diff_url: string;
patch_url: string;
};
type GetEventResponseIssueMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventResponseIssueMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: GetEventResponseIssueMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type GetEventResponseIssueAssigneesItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventResponseIssueAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventResponseIssueLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type GetEventResponseIssueUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventResponseIssue = {
id: number;
node_id: string;
url: string;
repository_url: string;
labels_url: string;
comments_url: string;
events_url: string;
html_url: string;
number: number;
state: string;
title: string;
body: string;
user: GetEventResponseIssueUser;
labels: Array<GetEventResponseIssueLabelsItem>;
assignee: GetEventResponseIssueAssignee;
assignees: Array<GetEventResponseIssueAssigneesItem>;
milestone: GetEventResponseIssueMilestone;
locked: boolean;
active_lock_reason: string;
comments: number;
pull_request: GetEventResponseIssuePullRequest;
closed_at: null;
created_at: string;
updated_at: string;
};
type GetEventResponseActor = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetEventResponse = {
id: number;
node_id: string;
url: string;
actor: GetEventResponseActor;
event: string;
commit_id: string;
commit_url: string;
created_at: string;
issue: GetEventResponseIssue;
};
type GetCommentsForRepoResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetCommentsForRepoResponseItem = {
id: number;
node_id: string;
url: string;
html_url: string;
body: string;
user: GetCommentsForRepoResponseItemUser;
created_at: string;
updated_at: string;
pull_request_review_id?: number;
diff_hunk?: string;
path?: string;
position?: number;
original_position?: number;
commit_id?: string;
original_commit_id?: string;
in_reply_to_id?: number;
pull_request_url?: string;
_links?: GetCommentsForRepoResponseItemLinks;
};
type GetAssigneesResponseItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseRepositoryPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type ResponseRepositoryOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseRepository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: ResponseRepositoryOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: ResponseRepositoryPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type GetResponseClosedBy = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponsePullRequest = {
url: string;
html_url: string;
diff_url: string;
patch_url: string;
};
type GetResponseMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: GetResponseMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type GetResponseAssigneesItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type GetResponseUser = null | {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditResponseClosedBy = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditResponsePullRequest = {
url: string;
html_url: string;
diff_url: string;
patch_url: string;
};
type EditResponseMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditResponseMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: EditResponseMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type EditResponseAssigneesItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditResponseAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditResponseLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type EditResponseUser = null | {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type DeleteMilestoneResponse = {};
type DeleteLabelResponse = {};
type CreateMilestoneResponseCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateMilestoneResponse = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: CreateMilestoneResponseCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type CreateLabelResponse = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type ResponseClosedBy = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponsePullRequest = {
url: string;
html_url: string;
diff_url: string;
patch_url: string;
};
type ResponseMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: ResponseMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type ResponseAssigneesItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type ResponseUser = null | {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CheckAssigneeResponse = {};
type AddLabelsResponseItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type AddAssigneesToIssueResponsePullRequest = {
url: string;
html_url: string;
diff_url: string;
patch_url: string;
};
type AddAssigneesToIssueResponseMilestoneCreator = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type AddAssigneesToIssueResponseMilestone = {
url: string;
html_url: string;
labels_url: string;
id: number;
node_id: string;
number: number;
state: string;
title: string;
description: string;
creator: AddAssigneesToIssueResponseMilestoneCreator;
open_issues: number;
closed_issues: number;
created_at: string;
updated_at: string;
closed_at: string;
due_on: string;
};
type AddAssigneesToIssueResponseAssigneesItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type AddAssigneesToIssueResponseAssignee = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type AddAssigneesToIssueResponseLabelsItem = {
id: number;
node_id: string;
url: string;
name: string;
description: string;
color: string;
default: boolean;
};
type AddAssigneesToIssueResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type AddAssigneesToIssueResponse = {
id: number;
node_id: string;
url: string;
repository_url: string;
labels_url: string;
comments_url: string;
events_url: string;
html_url: string;
number: number;
state: string;
title: string;
body: string;
user: AddAssigneesToIssueResponseUser;
labels: Array<AddAssigneesToIssueResponseLabelsItem>;
assignee: AddAssigneesToIssueResponseAssignee;
assignees: Array<AddAssigneesToIssueResponseAssigneesItem>;
milestone: AddAssigneesToIssueResponseMilestone;
locked: boolean;
active_lock_reason: string;
comments: number;
pull_request: AddAssigneesToIssueResponsePullRequest;
closed_at: null;
created_at: string;
updated_at: string;
};
type UpdateReferenceResponseObject = {
type: string;
sha: string;
url: string;
};
type UpdateReferenceResponse = {
ref: string;
node_id: string;
url: string;
object: UpdateReferenceResponseObject;
};
type GetTagSignatureVerificationResponseVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type GetTagSignatureVerificationResponseObject = {
type: string;
sha: string;
url: string;
};
type GetTagSignatureVerificationResponseTagger = {
name: string;
email: string;
date: string;
};
type GetTagSignatureVerificationResponse = {
node_id: string;
tag: string;
sha: string;
url: string;
message: string;
tagger: GetTagSignatureVerificationResponseTagger;
object: GetTagSignatureVerificationResponseObject;
verification: GetTagSignatureVerificationResponseVerification;
};
type GetTagResponseVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type GetTagResponseObject = {
type: string;
sha: string;
url: string;
};
type GetTagResponseTagger = {
name: string;
email: string;
date: string;
};
type GetTagResponse = {
node_id: string;
tag: string;
sha: string;
url: string;
message: string;
tagger: GetTagResponseTagger;
object: GetTagResponseObject;
verification: GetTagResponseVerification;
};
type GetCommitSignatureVerificationResponseVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type GetCommitSignatureVerificationResponseParentsItem = {
url: string;
sha: string;
};
type GetCommitSignatureVerificationResponseTree = {
url: string;
sha: string;
};
type GetCommitSignatureVerificationResponseCommitter = {
date: string;
name: string;
email: string;
};
type GetCommitSignatureVerificationResponseAuthor = {
date: string;
name: string;
email: string;
};
type GetCommitSignatureVerificationResponse = {
sha: string;
url: string;
author: GetCommitSignatureVerificationResponseAuthor;
committer: GetCommitSignatureVerificationResponseCommitter;
message: string;
tree: GetCommitSignatureVerificationResponseTree;
parents: Array<GetCommitSignatureVerificationResponseParentsItem>;
verification: GetCommitSignatureVerificationResponseVerification;
};
type GetCommitResponseVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type GetCommitResponseParentsItem = {
url: string;
sha: string;
};
type GetCommitResponseTree = {
url: string;
sha: string;
};
type GetCommitResponseCommitter = {
date?: string;
name?: string;
email?: string;
login?: string;
id?: number;
node_id?: string;
avatar_url?: string;
gravatar_id?: string;
url?: string;
html_url?: string;
followers_url?: string;
following_url?: string;
gists_url?: string;
starred_url?: string;
subscriptions_url?: string;
organizations_url?: string;
repos_url?: string;
events_url?: string;
received_events_url?: string;
type?: string;
site_admin?: boolean;
};
type GetCommitResponseAuthor = {
date?: string;
name?: string;
email?: string;
login?: string;
id?: number;
node_id?: string;
avatar_url?: string;
gravatar_id?: string;
url?: string;
html_url?: string;
followers_url?: string;
following_url?: string;
gists_url?: string;
starred_url?: string;
subscriptions_url?: string;
organizations_url?: string;
repos_url?: string;
events_url?: string;
received_events_url?: string;
type?: string;
site_admin?: boolean;
};
type GetCommitResponse = {
sha: string;
url: string;
author: GetCommitResponseAuthor;
committer: GetCommitResponseCommitter;
message?: string;
tree?: GetCommitResponseTree;
parents: Array<GetCommitResponseParentsItem>;
verification?: GetCommitResponseVerification;
node_id?: string;
html_url?: string;
comments_url?: string;
commit?: GetCommitResponseCommit;
stats?: GetCommitResponseStats;
files?: Array<GetCommitResponseFilesItem>;
};
type GetBlobResponse = {
content: string;
encoding: string;
url: string;
sha: string;
size: number;
};
type DeleteReferenceResponse = {};
type CreateTreeResponseTreeItem = {
path: string;
mode: string;
type: string;
size: number;
sha: string;
url: string;
};
type CreateTreeResponse = {
sha: string;
url: string;
tree: Array<CreateTreeResponseTreeItem>;
};
type CreateTagResponseVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type CreateTagResponseObject = {
type: string;
sha: string;
url: string;
};
type CreateTagResponseTagger = {
name: string;
email: string;
date: string;
};
type CreateTagResponse = {
node_id: string;
tag: string;
sha: string;
url: string;
message: string;
tagger: CreateTagResponseTagger;
object: CreateTagResponseObject;
verification: CreateTagResponseVerification;
};
type CreateReferenceResponseObject = {
type: string;
sha: string;
url: string;
};
type CreateReferenceResponse = {
ref: string;
node_id: string;
url: string;
object: CreateReferenceResponseObject;
};
type CreateCommitResponseVerification = {
verified: boolean;
reason: string;
signature: null;
payload: null;
};
type CreateCommitResponseParentsItem = {
url: string;
sha: string;
};
type CreateCommitResponseTree = {
url: string;
sha: string;
};
type CreateCommitResponseCommitter = {
date: string;
name: string;
email: string;
};
type CreateCommitResponseAuthor = {
date: string;
name: string;
email: string;
};
type CreateCommitResponse = {
sha: string;
node_id: string;
url: string;
author: CreateCommitResponseAuthor;
committer: CreateCommitResponseCommitter;
message: string;
tree: CreateCommitResponseTree;
parents: Array<CreateCommitResponseParentsItem>;
verification: CreateCommitResponseVerification;
};
type CreateBlobResponse = {
url: string;
sha: string;
};
type UnstarResponse = {};
type StarResponse = {};
type GetStarredResponseItemFilesRingErl = {
size: number;
raw_url: string;
type: string;
truncated: boolean;
language: string;
};
type GetStarredResponseItemFiles = {
"ring.erl": GetStarredResponseItemFilesRingErl;
};
type GetStarredResponseItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetStarredResponseItem = {
url: string;
forks_url: string;
commits_url: string;
id: string;
node_id: string;
description: string;
public: boolean;
owner: GetStarredResponseItemOwner;
user: null;
files: GetStarredResponseItemFiles;
truncated: boolean;
comments: number;
comments_url: string;
html_url: string;
git_pull_url: string;
git_push_url: string;
created_at: string;
updated_at: string;
};
type GetRevisionResponseHistoryItemChangeStatus = {
deletions: number;
additions: number;
total: number;
};
type GetRevisionResponseHistoryItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetRevisionResponseHistoryItem = {
url: string;
version: string;
user: GetRevisionResponseHistoryItemUser;
change_status: GetRevisionResponseHistoryItemChangeStatus;
committed_at: string;
};
type GetRevisionResponseForksItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetRevisionResponseForksItem = {
user: GetRevisionResponseForksItemUser;
url: string;
id: string;
created_at: string;
updated_at: string;
};
type GetRevisionResponseFilesRingErl = {
size: number;
raw_url: string;
type: string;
language: string;
truncated: boolean;
content: string;
};
type GetRevisionResponseFiles = {
"ring.erl": GetRevisionResponseFilesRingErl;
};
type GetRevisionResponseOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetRevisionResponse = {
url: string;
forks_url: string;
commits_url: string;
id: string;
node_id: string;
description: string;
public: boolean;
owner: GetRevisionResponseOwner;
user: null;
files: GetRevisionResponseFiles;
truncated: boolean;
comments: number;
comments_url: string;
html_url: string;
git_pull_url: string;
git_push_url: string;
created_at: string;
updated_at: string;
forks: Array<GetRevisionResponseForksItem>;
history: Array<GetRevisionResponseHistoryItem>;
};
type GetPublicResponseItemFilesRingErl = {
size: number;
raw_url: string;
type: string;
truncated: boolean;
language: string;
};
type GetPublicResponseItemFiles = {
"ring.erl": GetPublicResponseItemFilesRingErl;
};
type GetPublicResponseItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetPublicResponseItem = {
url: string;
forks_url: string;
commits_url: string;
id: string | number;
node_id: string;
description: string;
public?: boolean;
owner: GetPublicResponseItemOwner;
user?: null;
files?: GetPublicResponseItemFiles;
truncated?: boolean;
comments?: number;
comments_url: string;
html_url: string;
git_pull_url?: string;
git_push_url?: string;
created_at?: string;
updated_at?: string;
name?: string;
full_name?: string;
private?: boolean;
fork?: boolean;
archive_url?: string;
assignees_url?: string;
blobs_url?: string;
branches_url?: string;
collaborators_url?: string;
compare_url?: string;
contents_url?: string;
contributors_url?: string;
deployments_url?: string;
downloads_url?: string;
events_url?: string;
git_commits_url?: string;
git_refs_url?: string;
git_tags_url?: string;
git_url?: string;
issue_comment_url?: string;
issue_events_url?: string;
issues_url?: string;
keys_url?: string;
labels_url?: string;
languages_url?: string;
merges_url?: string;
milestones_url?: string;
notifications_url?: string;
pulls_url?: string;
releases_url?: string;
ssh_url?: string;
stargazers_url?: string;
statuses_url?: string;
subscribers_url?: string;
subscription_url?: string;
tags_url?: string;
teams_url?: string;
trees_url?: string;
};
type GetForksResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForksResponseItem = {
user?: GetForksResponseItemUser;
url: string;
id: string | number;
created_at: string;
updated_at: string;
node_id?: string;
name?: string;
full_name?: string;
owner?: GetForksResponseItemOwner;
private?: boolean;
html_url?: string;
description?: string;
fork?: boolean;
archive_url?: string;
assignees_url?: string;
blobs_url?: string;
branches_url?: string;
collaborators_url?: string;
comments_url?: string;
commits_url?: string;
compare_url?: string;
contents_url?: string;
contributors_url?: string;
deployments_url?: string;
downloads_url?: string;
events_url?: string;
forks_url?: string;
git_commits_url?: string;
git_refs_url?: string;
git_tags_url?: string;
git_url?: string;
issue_comment_url?: string;
issue_events_url?: string;
issues_url?: string;
keys_url?: string;
labels_url?: string;
languages_url?: string;
merges_url?: string;
milestones_url?: string;
notifications_url?: string;
pulls_url?: string;
releases_url?: string;
ssh_url?: string;
stargazers_url?: string;
statuses_url?: string;
subscribers_url?: string;
subscription_url?: string;
tags_url?: string;
teams_url?: string;
trees_url?: string;
clone_url?: string;
mirror_url?: string;
hooks_url?: string;
svn_url?: string;
homepage?: string;
language?: null;
forks_count?: number;
stargazers_count?: number;
watchers_count?: number;
size?: number;
default_branch?: string;
open_issues_count?: number;
topics?: Array<string>;
has_issues?: boolean;
has_projects?: boolean;
has_wiki?: boolean;
has_pages?: boolean;
has_downloads?: boolean;
archived?: boolean;
pushed_at?: string;
permissions?: GetForksResponseItemPermissions;
allow_rebase_merge?: boolean;
allow_squash_merge?: boolean;
allow_merge_commit?: boolean;
subscribers_count?: number;
network_count?: number;
license?: GetForksResponseItemLicense;
};
type GetForUserResponseItemFilesRingErl = {
size: number;
raw_url: string;
type: string;
truncated: boolean;
language: string;
};
type GetForUserResponseItemFiles = {
"ring.erl": GetForUserResponseItemFilesRingErl;
};
type GetForUserResponseItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetForUserResponseItem = {
url: string;
forks_url?: string;
commits_url?: string;
id: string | number;
node_id: string;
description?: string;
public?: boolean;
owner?: GetForUserResponseItemOwner;
user?: GetForUserResponseItemUser;
files?: GetForUserResponseItemFiles;
truncated?: boolean;
comments?: number;
comments_url?: string;
html_url?: string;
git_pull_url?: string;
git_push_url?: string;
created_at?: string;
updated_at?: string;
repository_url?: string;
labels_url?: string;
events_url?: string;
number?: number;
state?: string;
title?: string;
body?: string;
labels?: Array<GetForUserResponseItemLabelsItem>;
assignee?: GetForUserResponseItemAssignee;
assignees?: Array<GetForUserResponseItemAssigneesItem>;
milestone?: GetForUserResponseItemMilestone;
locked?: boolean;
active_lock_reason?: string;
pull_request?: GetForUserResponseItemPullRequest;
closed_at?: null;
repository?: GetForUserResponseItemRepository;
login?: string;
repos_url?: string;
hooks_url?: string;
issues_url?: string;
members_url?: string;
public_members_url?: string;
avatar_url?: string;
};
type GetCommitsResponseItemChangeStatus = {
deletions: number;
additions: number;
total: number;
};
type GetCommitsResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetCommitsResponseItem = {
url: string;
version?: string;
user?: GetCommitsResponseItemUser;
change_status?: GetCommitsResponseItemChangeStatus;
committed_at?: string;
sha?: string;
node_id?: string;
html_url?: string;
comments_url?: string;
commit?: GetCommitsResponseItemCommit;
author?: GetCommitsResponseItemAuthor;
committer?: GetCommitsResponseItemCommitter;
parents?: Array<GetCommitsResponseItemParentsItem>;
};
type GetCommentsResponseItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetCommentsResponseItem = {
id: number;
node_id: string;
url: string;
body: string;
user: GetCommentsResponseItemUser;
created_at: string;
updated_at: string;
html_url?: string;
pull_request_review_id?: number;
diff_hunk?: string;
path?: string;
position?: number;
original_position?: number;
commit_id?: string;
original_commit_id?: string;
in_reply_to_id?: number;
pull_request_url?: string;
_links?: GetCommentsResponseItemLinks;
};
type GetCommentResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetCommentResponse = {
id: number;
node_id: string;
url: string;
body: string;
user: GetCommentResponseUser;
created_at: string;
updated_at: string;
html_url?: string;
pull_request_review_id?: number;
diff_hunk?: string;
path?: string;
position?: number;
original_position?: number;
commit_id?: string;
original_commit_id?: string;
in_reply_to_id?: number;
pull_request_url?: string;
_links?: GetCommentResponseLinks;
};
type GetResponseHistoryItemChangeStatus = {
deletions: number;
additions: number;
total: number;
};
type GetResponseHistoryItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseHistoryItem = {
url: string;
version: string;
user: GetResponseHistoryItemUser;
change_status: GetResponseHistoryItemChangeStatus;
committed_at: string;
};
type GetResponseForksItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetResponseForksItem = {
user: GetResponseForksItemUser;
url: string;
id: string;
created_at: string;
updated_at: string;
};
type GetResponseFilesRingErl = {
size: number;
raw_url: string;
type: string;
language: string;
truncated: boolean;
content: string;
};
type GetResponseFiles = { "ring.erl": GetResponseFilesRingErl };
type ForkResponseFilesRingErl = {
size: number;
raw_url: string;
type: string;
truncated: boolean;
language: string;
};
type ForkResponseFiles = { "ring.erl": ForkResponseFilesRingErl };
type ForkResponseOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ForkResponse = {
url: string;
forks_url: string;
commits_url: string;
id: string | number;
node_id: string;
description: string;
public?: boolean;
owner: ForkResponseOwner;
user?: null;
files?: ForkResponseFiles;
truncated?: boolean;
comments?: number;
comments_url: string;
html_url: string;
git_pull_url?: string;
git_push_url?: string;
created_at: string;
updated_at: string;
name?: string;
full_name?: string;
private?: boolean;
fork?: boolean;
archive_url?: string;
assignees_url?: string;
blobs_url?: string;
branches_url?: string;
collaborators_url?: string;
compare_url?: string;
contents_url?: string;
contributors_url?: string;
deployments_url?: string;
downloads_url?: string;
events_url?: string;
git_commits_url?: string;
git_refs_url?: string;
git_tags_url?: string;
git_url?: string;
issue_comment_url?: string;
issue_events_url?: string;
issues_url?: string;
keys_url?: string;
labels_url?: string;
languages_url?: string;
merges_url?: string;
milestones_url?: string;
notifications_url?: string;
pulls_url?: string;
releases_url?: string;
ssh_url?: string;
stargazers_url?: string;
statuses_url?: string;
subscribers_url?: string;
subscription_url?: string;
tags_url?: string;
teams_url?: string;
trees_url?: string;
clone_url?: string;
mirror_url?: string;
hooks_url?: string;
svn_url?: string;
homepage?: string;
language?: null;
forks_count?: number;
stargazers_count?: number;
watchers_count?: number;
size?: number;
default_branch?: string;
open_issues_count?: number;
topics?: Array<string>;
has_issues?: boolean;
has_projects?: boolean;
has_wiki?: boolean;
has_pages?: boolean;
has_downloads?: boolean;
archived?: boolean;
pushed_at?: string;
permissions?: ForkResponsePermissions;
allow_rebase_merge?: boolean;
allow_squash_merge?: boolean;
allow_merge_commit?: boolean;
subscribers_count?: number;
network_count?: number;
};
type EditCommentResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditCommentResponse = {
id: number;
node_id: string;
url: string;
body: string;
user: EditCommentResponseUser;
created_at: string;
updated_at: string;
html_url?: string;
pull_request_review_id?: number;
diff_hunk?: string;
path?: string;
position?: number;
original_position?: number;
commit_id?: string;
original_commit_id?: string;
in_reply_to_id?: number;
pull_request_url?: string;
_links?: EditCommentResponseLinks;
};
type EditResponseHistoryItemChangeStatus = {
deletions: number;
additions: number;
total: number;
};
type EditResponseHistoryItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditResponseHistoryItem = {
url: string;
version: string;
user: EditResponseHistoryItemUser;
change_status: EditResponseHistoryItemChangeStatus;
committed_at: string;
};
type EditResponseForksItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditResponseForksItem = {
user: EditResponseForksItemUser;
url: string;
id: string;
created_at: string;
updated_at: string;
};
type EditResponseFilesRingErl = {
size: number;
raw_url: string;
type: string;
language: string;
truncated: boolean;
content: string;
};
type EditResponseFiles = { "ring.erl": EditResponseFilesRingErl };
type EditResponseOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type EditResponse = {
url: string;
forks_url?: string;
commits_url?: string;
id: string | number;
node_id: string;
description?: string;
public?: boolean;
owner?: EditResponseOwner;
user?: EditResponseUser;
files?: EditResponseFiles;
truncated?: boolean;
comments?: number;
comments_url: string;
html_url: string;
git_pull_url?: string;
git_push_url?: string;
created_at: string;
updated_at: string;
forks?: Array<EditResponseForksItem>;
history?: Array<EditResponseHistoryItem>;
repository_url?: string;
labels_url?: string;
events_url?: string;
number?: number;
state?: string;
title?: string;
body?: string;
labels?: Array<EditResponseLabelsItem>;
assignee?: EditResponseAssignee;
assignees?: Array<EditResponseAssigneesItem>;
milestone?: EditResponseMilestone;
locked?: boolean;
active_lock_reason?: string;
pull_request?: EditResponsePullRequest;
closed_at?: null;
closed_by?: EditResponseClosedBy;
name?: string;
full_name?: string;
private?: boolean;
fork?: boolean;
archive_url?: string;
assignees_url?: string;
blobs_url?: string;
branches_url?: string;
collaborators_url?: string;
compare_url?: string;
contents_url?: string;
contributors_url?: string;
deployments_url?: string;
downloads_url?: string;
git_commits_url?: string;
git_refs_url?: string;
git_tags_url?: string;
git_url?: string;
issue_comment_url?: string;
issue_events_url?: string;
issues_url?: string;
keys_url?: string;
languages_url?: string;
merges_url?: string;
milestones_url?: string;
notifications_url?: string;
pulls_url?: string;
releases_url?: string;
ssh_url?: string;
stargazers_url?: string;
statuses_url?: string;
subscribers_url?: string;
subscription_url?: string;
tags_url?: string;
teams_url?: string;
trees_url?: string;
clone_url?: string;
mirror_url?: string;
hooks_url?: string;
svn_url?: string;
homepage?: string;
language?: null;
forks_count?: number;
stargazers_count?: number;
watchers_count?: number;
size?: number;
default_branch?: string;
open_issues_count?: number;
topics?: Array<string>;
has_issues?: boolean;
has_projects?: boolean;
has_wiki?: boolean;
has_pages?: boolean;
has_downloads?: boolean;
archived?: boolean;
pushed_at?: string;
permissions?: EditResponsePermissions;
allow_rebase_merge?: boolean;
allow_squash_merge?: boolean;
allow_merge_commit?: boolean;
subscribers_count?: number;
network_count?: number;
organization?: EditResponseOrganization;
parent?: Response;
source?: Response;
};
type DeleteCommentResponse = {};
type CreateCommentResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateCommentResponse = {
id: number;
node_id: string;
url: string;
body: string;
user: CreateCommentResponseUser;
created_at: string;
updated_at: string;
html_url?: string;
pull_request_review_id?: number;
diff_hunk?: string;
path?: string;
position?: number;
original_position?: number;
commit_id?: string;
original_commit_id?: string;
in_reply_to_id?: number;
pull_request_url?: string;
_links?: CreateCommentResponseLinks;
};
type ResponseHistoryItemChangeStatus = {
deletions: number;
additions: number;
total: number;
};
type ResponseHistoryItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseHistoryItem = {
url: string;
version: string;
user: ResponseHistoryItemUser;
change_status: ResponseHistoryItemChangeStatus;
committed_at: string;
};
type ResponseForksItemUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ResponseForksItem = {
user: ResponseForksItemUser;
url: string;
id: string;
created_at: string;
updated_at: string;
};
type ResponseFilesRingErl = {
size: number;
raw_url: string;
type: string;
language: string;
truncated: boolean;
content?: string;
};
type ResponseFiles = { "ring.erl": ResponseFilesRingErl };
type UpdateResponsePullRequestsItemBaseRepo = {
id: number;
url: string;
name: string;
};
type UpdateResponsePullRequestsItemBase = {
ref: string;
sha: string;
repo: UpdateResponsePullRequestsItemBaseRepo;
};
type UpdateResponsePullRequestsItemHeadRepo = {
id: number;
url: string;
name: string;
};
type UpdateResponsePullRequestsItemHead = {
ref: string;
sha: string;
repo: UpdateResponsePullRequestsItemHeadRepo;
};
type UpdateResponsePullRequestsItem = {
url: string;
id: number;
number: number;
head: UpdateResponsePullRequestsItemHead;
base: UpdateResponsePullRequestsItemBase;
};
type UpdateResponseCheckSuite = { id: number };
type UpdateResponseOutput = {
title: string;
summary: string;
text: string;
annotations_count: number;
annotations_url: string;
};
type SetSuitesPreferencesResponseRepositoryPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type SetSuitesPreferencesResponseRepositoryOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type SetSuitesPreferencesResponseRepository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: SetSuitesPreferencesResponseRepositoryOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: SetSuitesPreferencesResponseRepositoryPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type SetSuitesPreferencesResponsePreferencesAutoTriggerChecksItem = {
app_id: number;
setting: boolean;
};
type SetSuitesPreferencesResponsePreferences = {
auto_trigger_checks: Array<
SetSuitesPreferencesResponsePreferencesAutoTriggerChecksItem
>;
};
type SetSuitesPreferencesResponse = {
preferences: SetSuitesPreferencesResponsePreferences;
repository: SetSuitesPreferencesResponseRepository;
};
type RequestSuitesResponse = {};
type ListSuitesForRefResponseCheckSuitesItemRepositoryPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type ListSuitesForRefResponseCheckSuitesItemRepositoryOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type ListSuitesForRefResponseCheckSuitesItemRepository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: ListSuitesForRefResponseCheckSuitesItemRepositoryOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: ListSuitesForRefResponseCheckSuitesItemRepositoryPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type ListSuitesForRefResponseCheckSuitesItemAppOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type ListSuitesForRefResponseCheckSuitesItemApp = {
id: number;
node_id: string;
owner: ListSuitesForRefResponseCheckSuitesItemAppOwner;
name: string;
description: string;
external_url: string;
html_url: string;
created_at: string;
updated_at: string;
};
type ListSuitesForRefResponseCheckSuitesItem = {
id: number;
head_branch: string;
head_sha: string;
status: string;
conclusion: string;
url: string;
before: string;
after: string;
pull_requests: Array<any>;
app: ListSuitesForRefResponseCheckSuitesItemApp;
repository: ListSuitesForRefResponseCheckSuitesItemRepository;
};
type ListSuitesForRefResponse = {
total_count: number;
check_suites: Array<ListSuitesForRefResponseCheckSuitesItem>;
};
type ListForSuiteResponseCheckRunsItemPullRequestsItemBaseRepo = {
id: number;
url: string;
name: string;
};
type ListForSuiteResponseCheckRunsItemPullRequestsItemBase = {
ref: string;
sha: string;
repo: ListForSuiteResponseCheckRunsItemPullRequestsItemBaseRepo;
};
type ListForSuiteResponseCheckRunsItemPullRequestsItemHeadRepo = {
id: number;
url: string;
name: string;
};
type ListForSuiteResponseCheckRunsItemPullRequestsItemHead = {
ref: string;
sha: string;
repo: ListForSuiteResponseCheckRunsItemPullRequestsItemHeadRepo;
};
type ListForSuiteResponseCheckRunsItemPullRequestsItem = {
url: string;
id: number;
number: number;
head: ListForSuiteResponseCheckRunsItemPullRequestsItemHead;
base: ListForSuiteResponseCheckRunsItemPullRequestsItemBase;
};
type ListForSuiteResponseCheckRunsItemAppOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type ListForSuiteResponseCheckRunsItemApp = {
id: number;
node_id: string;
owner: ListForSuiteResponseCheckRunsItemAppOwner;
name: string;
description: string;
external_url: string;
html_url: string;
created_at: string;
updated_at: string;
};
type ListForSuiteResponseCheckRunsItemCheckSuite = { id: number };
type ListForSuiteResponseCheckRunsItemOutput = {
title: string;
summary: string;
text: string;
annotations_count: number;
annotations_url: string;
};
type ListForSuiteResponseCheckRunsItem = {
id: number;
head_sha: string;
external_id: string;
url: string;
html_url: string;
status: string;
conclusion: string;
started_at: string;
completed_at: string;
output: ListForSuiteResponseCheckRunsItemOutput;
name: string;
check_suite: ListForSuiteResponseCheckRunsItemCheckSuite;
app: ListForSuiteResponseCheckRunsItemApp;
pull_requests: Array<ListForSuiteResponseCheckRunsItemPullRequestsItem>;
};
type ListForSuiteResponse = {
total_count: number;
check_runs: Array<ListForSuiteResponseCheckRunsItem>;
};
type ListForRefResponseCheckRunsItemPullRequestsItemBaseRepo = {
id: number;
url: string;
name: string;
};
type ListForRefResponseCheckRunsItemPullRequestsItemBase = {
ref: string;
sha: string;
repo: ListForRefResponseCheckRunsItemPullRequestsItemBaseRepo;
};
type ListForRefResponseCheckRunsItemPullRequestsItemHeadRepo = {
id: number;
url: string;
name: string;
};
type ListForRefResponseCheckRunsItemPullRequestsItemHead = {
ref: string;
sha: string;
repo: ListForRefResponseCheckRunsItemPullRequestsItemHeadRepo;
};
type ListForRefResponseCheckRunsItemPullRequestsItem = {
url: string;
id: number;
number: number;
head: ListForRefResponseCheckRunsItemPullRequestsItemHead;
base: ListForRefResponseCheckRunsItemPullRequestsItemBase;
};
type ListForRefResponseCheckRunsItemAppOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type ListForRefResponseCheckRunsItemApp = {
id: number;
node_id: string;
owner: ListForRefResponseCheckRunsItemAppOwner;
name: string;
description: string;
external_url: string;
html_url: string;
created_at: string;
updated_at: string;
};
type ListForRefResponseCheckRunsItemCheckSuite = { id: number };
type ListForRefResponseCheckRunsItemOutput = {
title: string;
summary: string;
text: string;
annotations_count: number;
annotations_url: string;
};
type ListForRefResponseCheckRunsItem = {
id: number;
head_sha: string;
external_id: string;
url: string;
html_url: string;
status: string;
conclusion: string;
started_at: string;
completed_at: string;
output: ListForRefResponseCheckRunsItemOutput;
name: string;
check_suite: ListForRefResponseCheckRunsItemCheckSuite;
app: ListForRefResponseCheckRunsItemApp;
pull_requests: Array<ListForRefResponseCheckRunsItemPullRequestsItem>;
};
type ListForRefResponse = {
total_count: number;
check_runs: Array<ListForRefResponseCheckRunsItem>;
};
type ListAnnotationsResponseItem = {
filename: string;
blob_href: string;
start_line: number;
end_line: number;
warning_level: string;
message: string;
raw_details: string;
};
type GetSuiteResponseRepositoryPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetSuiteResponseRepositoryOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetSuiteResponseRepository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetSuiteResponseRepositoryOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: GetSuiteResponseRepositoryPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type GetSuiteResponseAppOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type GetSuiteResponseApp = {
id: number;
node_id: string;
owner: GetSuiteResponseAppOwner;
name: string;
description: string;
external_url: string;
html_url: string;
created_at: string;
updated_at: string;
};
type GetSuiteResponse = {
id: number;
head_branch: string;
head_sha: string;
status: string;
conclusion: string;
url: string;
before: string;
after: string;
pull_requests: Array<any>;
app: GetSuiteResponseApp;
repository: GetSuiteResponseRepository;
};
type GetResponsePullRequestsItemBaseRepo = {
id: number;
url: string;
name: string;
};
type GetResponsePullRequestsItemBase = {
ref: string;
sha: string;
repo: GetResponsePullRequestsItemBaseRepo;
};
type GetResponsePullRequestsItemHeadRepo = {
id: number;
url: string;
name: string;
};
type GetResponsePullRequestsItemHead = {
ref: string;
sha: string;
repo: GetResponsePullRequestsItemHeadRepo;
};
type GetResponsePullRequestsItem = {
url: string;
id: number;
number: number;
head: GetResponsePullRequestsItemHead;
base: GetResponsePullRequestsItemBase;
};
type GetResponseAppOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type GetResponseCheckSuite = { id: number };
type GetResponseOutput = {
title: string;
summary: string;
text: string;
annotations_count: number;
annotations_url: string;
};
type CreateSuiteResponseRepositoryPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type CreateSuiteResponseRepositoryOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CreateSuiteResponseRepository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: CreateSuiteResponseRepositoryOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: CreateSuiteResponseRepositoryPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type CreateSuiteResponseAppOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type CreateSuiteResponseApp = {
id: number;
node_id: string;
owner: CreateSuiteResponseAppOwner;
name: string;
description: string;
external_url: string;
html_url: string;
created_at: string;
updated_at: string;
};
type CreateSuiteResponse = {
id: number;
head_branch: string;
head_sha: string;
status: string;
conclusion: string;
url: string;
before: string;
after: string;
pull_requests: Array<any>;
app: CreateSuiteResponseApp;
repository: CreateSuiteResponseRepository;
};
type ResponsePullRequestsItemBaseRepo = {
id: number;
url: string;
name: string;
};
type ResponsePullRequestsItemBase = {
ref: string;
sha: string;
repo: ResponsePullRequestsItemBaseRepo;
};
type ResponsePullRequestsItemHeadRepo = {
id: number;
url: string;
name: string;
};
type ResponsePullRequestsItemHead = {
ref: string;
sha: string;
repo: ResponsePullRequestsItemHeadRepo;
};
type ResponsePullRequestsItem = {
url: string;
id: number;
number: number;
head: ResponsePullRequestsItemHead;
base: ResponsePullRequestsItemBase;
};
type ResponseAppOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type ResponseCheckSuite = { id: number };
type ResponseOutput = {
title: string;
summary: string;
text: string;
};
type App = {
url?: string;
name: string;
client_id?: string;
id?: number;
node_id?: string;
owner?: User;
description?: string;
external_url?: string;
html_url?: string;
created_at?: string;
updated_at?: string;
};
type UpdateResponse = {
id: number;
url: string;
scopes?: Array<string>;
token?: string;
token_last_eight?: string;
hashed_token?: string;
app?: App;
note?: string;
note_url?: string;
updated_at?: string;
created_at?: string;
fingerprint?: string;
head_sha?: string;
external_id?: string;
html_url?: string;
status?: string;
conclusion?: string;
started_at?: string;
completed_at?: string;
output?: UpdateResponseOutput;
name?: string;
check_suite?: UpdateResponseCheckSuite;
pull_requests?: Array<UpdateResponsePullRequestsItem>;
login?: string;
node_id?: string;
repos_url?: string;
events_url?: string;
hooks_url?: string;
issues_url?: string;
members_url?: string;
public_members_url?: string;
avatar_url?: string;
description?: string;
company?: string;
blog?: string;
location?: string;
email?: string;
has_organization_projects?: boolean;
has_repository_projects?: boolean;
public_repos?: number;
public_gists?: number;
followers?: number;
following?: number;
type?: string;
total_private_repos?: number;
owned_private_repos?: number;
private_gists?: number;
disk_usage?: number;
collaborators?: number;
billing_email?: string;
plan?: UpdateResponsePlan;
default_repository_settings?: string;
members_can_create_repositories?: boolean;
two_factor_requirement_enabled?: boolean;
diff_url?: string;
patch_url?: string;
issue_url?: string;
commits_url?: string;
review_comments_url?: string;
review_comment_url?: string;
comments_url?: string;
statuses_url?: string;
number?: number;
state?: string;
title?: string;
body?: string;
assignee?: UpdateResponseAssignee;
labels?: Array<UpdateResponseLabelsItem>;
milestone?: UpdateResponseMilestone;
locked?: boolean;
active_lock_reason?: string;
closed_at?: string;
merged_at?: string;
head?: UpdateResponseHead;
base?: UpdateResponseBase;
_links?: UpdateResponseLinks;
user?: UpdateResponseUser;
gravatar_id?: string;
followers_url?: string;
following_url?: string;
gists_url?: string;
starred_url?: string;
subscriptions_url?: string;
organizations_url?: string;
received_events_url?: string;
site_admin?: boolean;
hireable?: boolean;
bio?: string;
two_factor_authentication?: boolean;
};
type RevokeGrantResponse = {};
type RevokeResponse = {};
type ResetResponseApp = {
url: string;
name: string;
client_id: string;
};
type ResetResponse = {
id: number;
url: string;
scopes: Array<string>;
token: string;
token_last_eight: string;
hashed_token: string;
app: ResetResponseApp;
note: string;
note_url: string;
updated_at: string;
created_at: string;
fingerprint: string;
user: User;
};
type GetGrantsResponseItemApp = {
url: string;
name: string;
client_id: string;
};
type GetGrantsResponseItem = {
id: number;
url: string;
app: GetGrantsResponseItemApp;
created_at: string;
updated_at: string;
scopes: Array<string>;
};
type GetGrantResponseApp = {
url: string;
name: string;
client_id: string;
};
type GetGrantResponse = {
id: number;
url: string;
app: GetGrantResponseApp;
created_at: string;
updated_at: string;
scopes: Array<string>;
};
type GetResponseApp = {
url?: string;
name: string;
client_id?: string;
id?: number;
node_id?: string;
owner?: GetResponseAppOwner;
description?: string;
external_url?: string;
html_url?: string;
created_at?: string;
updated_at?: string;
};
type DeleteGrantResponse = {};
type DeleteResponse = {
message?: string;
documentation_url?: string;
};
type ResponseApp = {
url?: string;
name: string;
client_id?: string;
id?: number;
node_id?: string;
owner?: ResponseAppOwner;
description?: string;
external_url?: string;
html_url?: string;
created_at?: string;
updated_at?: string;
};
type Response = {
id: number | string;
url: string;
scopes?: Array<string>;
token?: string;
token_last_eight?: string;
hashed_token?: string;
app?: ResponseApp;
note?: string;
note_url?: string;
updated_at?: string;
created_at?: string;
fingerprint?: string;
head_sha?: string;
external_id?: string;
html_url?: string;
status?: string;
conclusion?: null;
started_at?: string;
completed_at?: null;
output?: ResponseOutput;
name?: string;
check_suite?: ResponseCheckSuite;
pull_requests?: Array<ResponsePullRequestsItem>;
forks_url?: string;
commits_url?: string;
node_id?: string;
description?: string;
public?: boolean;
owner?: User;
user?: ResponseUser;
files?: ResponseFiles;
truncated?: boolean;
comments?: number;
comments_url?: string;
git_pull_url?: string;
git_push_url?: string;
forks?: Array<ResponseForksItem>;
history?: Array<ResponseHistoryItem>;
repository_url?: string;
labels_url?: string;
events_url?: string;
number?: number;
state?: string;
title?: string;
body?: string;
labels?: Array<ResponseLabelsItem>;
assignee?: ResponseAssignee;
assignees?: Array<ResponseAssigneesItem>;
milestone?: ResponseMilestone;
locked?: boolean;
active_lock_reason?: string;
pull_request?: ResponsePullRequest;
closed_at?: null | string;
closed_by?: ResponseClosedBy;
repository?: ResponseRepository;
login?: string;
repos_url?: string;
hooks_url?: string;
issues_url?: string;
members_url?: string;
public_members_url?: string;
avatar_url?: string;
diff_url?: string;
patch_url?: string;
issue_url?: string;
review_comments_url?: string;
review_comment_url?: string;
statuses_url?: string;
merged_at?: string;
head?: ResponseHead;
base?: ResponseBase;
_links?: ResponseLinks;
full_name?: string;
private?: boolean;
fork?: boolean;
archive_url?: string;
assignees_url?: string;
blobs_url?: string;
branches_url?: string;
collaborators_url?: string;
compare_url?: string;
contents_url?: string;
contributors_url?: string;
deployments_url?: string;
downloads_url?: string;
git_commits_url?: string;
git_refs_url?: string;
git_tags_url?: string;
git_url?: string;
issue_comment_url?: string;
issue_events_url?: string;
keys_url?: string;
languages_url?: string;
merges_url?: string;
milestones_url?: string;
notifications_url?: string;
pulls_url?: string;
releases_url?: string;
ssh_url?: string;
stargazers_url?: string;
subscribers_url?: string;
subscription_url?: string;
tags_url?: string;
teams_url?: string;
trees_url?: string;
clone_url?: string;
mirror_url?: string;
svn_url?: string;
homepage?: string;
language?: null;
forks_count?: number;
stargazers_count?: number;
watchers_count?: number;
size?: number;
default_branch?: string;
open_issues_count?: number;
topics?: Array<string>;
has_issues?: boolean;
has_projects?: boolean;
has_wiki?: boolean;
has_pages?: boolean;
has_downloads?: boolean;
archived?: boolean;
pushed_at?: string;
permissions?: ResponsePermissions;
allow_rebase_merge?: boolean;
allow_squash_merge?: boolean;
allow_merge_commit?: boolean;
subscribers_count?: number;
network_count?: number;
gravatar_id?: string;
followers_url?: string;
following_url?: string;
gists_url?: string;
starred_url?: string;
subscriptions_url?: string;
organizations_url?: string;
received_events_url?: string;
type?: string;
site_admin?: boolean;
};
type CheckResponseUser = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type CheckResponseApp = {
url: string;
name: string;
client_id: string;
};
type CheckResponse = {
id: number;
url: string;
scopes: Array<string>;
token: string;
token_last_eight: string;
hashed_token: string;
app: CheckResponseApp;
note: string;
note_url: string;
updated_at: string;
created_at: string;
fingerprint: string;
user: CheckResponseUser;
};
type RemoveRepoFromInstallationResponse = {};
type GetMarketplaceListingStubbedPlansResponseItem = {
url: string;
accounts_url: string;
id: number;
name: string;
description: string;
monthly_price_in_cents: number;
yearly_price_in_cents: number;
price_model: string;
has_free_trial: boolean;
unit_name: null;
bullets: Array<string>;
};
type GetMarketplaceListingStubbedPlanAccountsResponseItemMarketplacePurchasePlan = {
url: string;
accounts_url: string;
id: number;
name: string;
description: string;
monthly_price_in_cents: number;
yearly_price_in_cents: number;
price_model: string;
has_free_trial: boolean;
unit_name: null;
bullets: Array<string>;
};
type GetMarketplaceListingStubbedPlanAccountsResponseItemMarketplacePurchase = {
billing_cycle: string;
next_billing_date: string;
unit_count: null;
on_free_trial: boolean;
free_trial_ends_on: string;
updated_at: string;
plan: GetMarketplaceListingStubbedPlanAccountsResponseItemMarketplacePurchasePlan;
};
type GetMarketplaceListingStubbedPlanAccountsResponseItem = {
url: string;
type: string;
id: number;
login: string;
email: null;
organization_billing_email: string;
marketplace_purchase: GetMarketplaceListingStubbedPlanAccountsResponseItemMarketplacePurchase;
};
type GetMarketplaceListingPlansResponseItem = {
url: string;
accounts_url: string;
id: number;
name: string;
description: string;
monthly_price_in_cents: number;
yearly_price_in_cents: number;
price_model: string;
has_free_trial: boolean;
unit_name: null;
bullets: Array<string>;
};
type GetMarketplaceListingPlanAccountsResponseItemMarketplacePurchasePlan = {
url: string;
accounts_url: string;
id: number;
name: string;
description: string;
monthly_price_in_cents: number;
yearly_price_in_cents: number;
price_model: string;
has_free_trial: boolean;
unit_name: null;
bullets: Array<string>;
};
type GetMarketplaceListingPlanAccountsResponseItemMarketplacePurchase = {
billing_cycle: string;
next_billing_date: string;
unit_count: null;
on_free_trial: boolean;
free_trial_ends_on: string;
updated_at: string;
plan: GetMarketplaceListingPlanAccountsResponseItemMarketplacePurchasePlan;
};
type GetMarketplaceListingPlanAccountsResponseItem = {
url: string;
type: string;
id: number;
login: string;
email: null;
organization_billing_email: string;
marketplace_purchase: GetMarketplaceListingPlanAccountsResponseItemMarketplacePurchase;
};
type GetInstallationsResponseItemPermissions = {
metadata: string;
contents: string;
issues: string;
single_file: string;
};
type GetInstallationsResponseItemAccount = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type GetInstallationsResponseItem = {
id: number;
account: GetInstallationsResponseItemAccount;
access_tokens_url: string;
repositories_url: string;
html_url: string;
app_id: number;
target_id: number;
target_type: string;
permissions: GetInstallationsResponseItemPermissions;
events: Array<string>;
single_file_name: string;
repository_selection: string;
};
type GetInstallationRepositoriesResponseRepositoriesItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetInstallationRepositoriesResponseRepositoriesItem = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetInstallationRepositoriesResponseRepositoriesItemOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
};
type GetInstallationRepositoriesResponse = {
total_count: number;
repositories: Array<GetInstallationRepositoriesResponseRepositoriesItem>;
};
type GetInstallationResponsePermissions = {
metadata: string;
contents: string;
issues: string;
single_file: string;
};
type GetInstallationResponseAccount = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type GetInstallationResponse = {
id: number;
account: GetInstallationResponseAccount;
access_tokens_url: string;
repositories_url: string;
html_url: string;
app_id: number;
target_id: number;
target_type: string;
permissions: GetInstallationResponsePermissions;
events: Array<string>;
single_file_name: string;
repository_selection: string;
};
type GetForSlugResponseOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url: string;
issues_url: string;
members_url: string;
public_members_url: string;
avatar_url: string;
description: string;
};
type GetForSlugResponse = {
id: number;
node_id: string;
owner: GetForSlugResponseOwner;
name: string;
description: string;
external_url: string;
html_url: string;
created_at: string;
updated_at: string;
};
type GetResponseOwner = {
login: string;
id: number;
node_id: string;
url: string;
repos_url: string;
events_url: string;
hooks_url?: string;
issues_url?: string;
members_url?: string;
public_members_url?: string;
avatar_url: string;
description?: string;
gravatar_id?: string;
html_url?: string;
followers_url?: string;
following_url?: string;
gists_url?: string;
starred_url?: string;
subscriptions_url?: string;
organizations_url?: string;
received_events_url?: string;
type?: string;
site_admin?: boolean;
};
type GetResponse = {
id: number | string;
node_id?: string;
owner?: GetResponseOwner;
name?: string;
description?: string;
external_url?: string;
html_url?: string;
created_at?: string;
updated_at?: string;
url?: string;
scopes?: Array<string>;
token?: string;
token_last_eight?: string;
hashed_token?: string;
app?: GetResponseApp;
note?: string;
note_url?: string;
fingerprint?: string;
head_sha?: string;
external_id?: string;
status?: string;
conclusion?: string;
started_at?: string;
completed_at?: string;
output?: GetResponseOutput;
check_suite?: GetResponseCheckSuite;
pull_requests?: Array<GetResponsePullRequestsItem>;
forks_url?: string;
commits_url?: string;
public?: boolean;
user?: GetResponseUser;
files?: GetResponseFiles;
truncated?: boolean;
comments?: number;
comments_url?: string;
git_pull_url?: string;
git_push_url?: string;
forks?: Array<GetResponseForksItem>;
history?: Array<GetResponseHistoryItem>;
repository_url?: string;
labels_url?: string;
events_url?: string;
number?: number;
state?: string;
title?: string;
body?: string;
labels?: Array<GetResponseLabelsItem>;
assignee?: GetResponseAssignee;
assignees?: Array<GetResponseAssigneesItem>;
milestone?: GetResponseMilestone;
locked?: boolean;
active_lock_reason?: string;
pull_request?: GetResponsePullRequest;
closed_at?: null | string;
closed_by?: GetResponseClosedBy;
login?: string;
repos_url?: string;
hooks_url?: string;
issues_url?: string;
members_url?: string;
public_members_url?: string;
avatar_url?: string;
company?: string;
blog?: string;
location?: string;
email?: string;
has_organization_projects?: boolean;
has_repository_projects?: boolean;
public_repos?: number;
public_gists?: number;
followers?: number;
following?: number;
type?: string;
total_private_repos?: number;
owned_private_repos?: number;
private_gists?: number;
disk_usage?: number;
collaborators?: number;
billing_email?: string;
plan?: GetResponsePlan;
default_repository_settings?: string;
members_can_create_repositories?: boolean;
two_factor_requirement_enabled?: boolean;
diff_url?: string;
patch_url?: string;
issue_url?: string;
review_comments_url?: string;
review_comment_url?: string;
statuses_url?: string;
merged_at?: string;
head?: GetResponseHead;
base?: GetResponseBase;
_links?: GetResponseLinks;
merge_commit_sha?: string;
merged?: boolean;
mergeable?: boolean;
merged_by?: GetResponseMergedBy;
commits?: number;
additions?: number;
deletions?: number;
changed_files?: number;
maintainer_can_modify?: boolean;
full_name?: string;
private?: boolean;
fork?: boolean;
archive_url?: string;
assignees_url?: string;
blobs_url?: string;
branches_url?: string;
collaborators_url?: string;
compare_url?: string;
contents_url?: string;
contributors_url?: string;
deployments_url?: string;
downloads_url?: string;
git_commits_url?: string;
git_refs_url?: string;
git_tags_url?: string;
git_url?: string;
issue_comment_url?: string;
issue_events_url?: string;
keys_url?: string;
languages_url?: string;
merges_url?: string;
milestones_url?: string;
notifications_url?: string;
pulls_url?: string;
releases_url?: string;
ssh_url?: string;
stargazers_url?: string;
subscribers_url?: string;
subscription_url?: string;
tags_url?: string;
teams_url?: string;
trees_url?: string;
clone_url?: string;
mirror_url?: string;
svn_url?: string;
homepage?: string;
language?: null;
forks_count?: number;
stargazers_count?: number;
watchers_count?: number;
size?: number;
default_branch?: string;
open_issues_count?: number;
topics?: Array<string>;
has_issues?: boolean;
has_projects?: boolean;
has_wiki?: boolean;
has_pages?: boolean;
has_downloads?: boolean;
archived?: boolean;
pushed_at?: string;
permissions?: GetResponsePermissions;
allow_rebase_merge?: boolean;
allow_squash_merge?: boolean;
allow_merge_commit?: boolean;
subscribers_count?: number;
network_count?: number;
license?: GetResponseLicense;
organization?: GetResponseOrganization;
parent?: Response;
source?: Response;
};
type FindUserInstallationResponsePermissions = {
checks: string;
metadata: string;
contents: string;
};
type FindUserInstallationResponseAccount = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type FindUserInstallationResponse = {
id: number;
account: FindUserInstallationResponseAccount;
repository_selection: string;
access_tokens_url: string;
repositories_url: string;
html_url: string;
app_id: number;
target_id: number;
target_type: string;
permissions: FindUserInstallationResponsePermissions;
events: Array<string>;
created_at: string;
updated_at: string;
single_file_name: null;
};
type FindRepoInstallationResponsePermissions = {
checks: string;
metadata: string;
contents: string;
};
type FindRepoInstallationResponseAccount = {
login: string;
id: number;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type FindRepoInstallationResponse = {
id: number;
account: FindRepoInstallationResponseAccount;
repository_selection: string;
access_tokens_url: string;
repositories_url: string;
html_url: string;
app_id: number;
target_id: number;
target_type: string;
permissions: FindRepoInstallationResponsePermissions;
events: Array<string>;
created_at: string;
updated_at: string;
single_file_name: null;
};
type FindOrgInstallationResponsePermissions = {
checks: string;
metadata: string;
contents: string;
};
type FindOrgInstallationResponseAccount = {
login: string;
id: number;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type FindOrgInstallationResponse = {
id: number;
account: FindOrgInstallationResponseAccount;
repository_selection: string;
access_tokens_url: string;
repositories_url: string;
html_url: string;
app_id: number;
target_id: number;
target_type: string;
permissions: FindOrgInstallationResponsePermissions;
events: Array<string>;
created_at: string;
updated_at: string;
single_file_name: null;
};
type CreateInstallationTokenResponse = {
token: string;
expires_at: string;
};
type CheckMarketplaceListingStubbedAccountResponseMarketplacePurchasePlan = {
url: string;
accounts_url: string;
id: number;
name: string;
description: string;
monthly_price_in_cents: number;
yearly_price_in_cents: number;
price_model: string;
has_free_trial: boolean;
unit_name: null;
bullets: Array<string>;
};
type CheckMarketplaceListingStubbedAccountResponseMarketplacePurchase = {
billing_cycle: string;
next_billing_date: string;
unit_count: null;
on_free_trial: boolean;
free_trial_ends_on: string;
updated_at: string;
plan: CheckMarketplaceListingStubbedAccountResponseMarketplacePurchasePlan;
};
type CheckMarketplaceListingStubbedAccountResponse = {
url: string;
type: string;
id: number;
login: string;
email: null;
organization_billing_email: string;
marketplace_purchase: CheckMarketplaceListingStubbedAccountResponseMarketplacePurchase;
};
type CheckMarketplaceListingAccountResponseMarketplacePurchasePlan = {
url: string;
accounts_url: string;
id: number;
name: string;
description: string;
monthly_price_in_cents: number;
yearly_price_in_cents: number;
price_model: string;
has_free_trial: boolean;
unit_name: null;
bullets: Array<string>;
};
type CheckMarketplaceListingAccountResponseMarketplacePurchase = {
billing_cycle: string;
next_billing_date: string;
unit_count: null;
on_free_trial: boolean;
free_trial_ends_on: string;
updated_at: string;
plan: CheckMarketplaceListingAccountResponseMarketplacePurchasePlan;
};
type CheckMarketplaceListingAccountResponse = {
url: string;
type: string;
id: number;
login: string;
email: null;
organization_billing_email: string;
marketplace_purchase: CheckMarketplaceListingAccountResponseMarketplacePurchase;
};
type AddRepoToInstallationResponse = {};
type UnwatchRepoResponse = {};
type UnstarRepoResponse = {};
type StarRepoResponse = {};
type SetRepoSubscriptionResponse = {
subscribed: boolean;
ignored: boolean;
reason: null;
created_at: string;
url: string;
repository_url: string;
};
type SetNotificationThreadSubscriptionResponse = {
subscribed: boolean;
ignored: boolean;
reason: null;
created_at: string;
url: string;
thread_url: string;
};
type MarkNotificationsAsReadForRepoResponse = {};
type MarkNotificationsAsReadResponse = {};
type MarkNotificationThreadAsReadResponse = {};
type GetWatchersForRepoResponseItem = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetWatchedReposForUserResponseItemLicense = {
key: string;
name: string;
spdx_id: string;
url: string;
node_id: string;
};
type GetWatchedReposForUserResponseItemPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetWatchedReposForUserResponseItemOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetWatchedReposForUserResponseItem = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetWatchedReposForUserResponseItemOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url: string;
mirror_url: string;
hooks_url: string;
svn_url: string;
homepage: string;
language: null;
forks_count: number;
stargazers_count: number;
watchers_count: number;
size: number;
default_branch: string;
open_issues_count: number;
topics: Array<string>;
has_issues: boolean;
has_projects: boolean;
has_wiki: boolean;
has_pages: boolean;
has_downloads: boolean;
archived: boolean;
pushed_at: string;
created_at: string;
updated_at: string;
permissions: GetWatchedReposForUserResponseItemPermissions;
allow_rebase_merge: boolean;
allow_squash_merge: boolean;
allow_merge_commit: boolean;
subscribers_count: number;
network_count: number;
license: GetWatchedReposForUserResponseItemLicense;
};
type RepositoryLicense = {
key: string;
name: string;
spdx_id: string;
url: string;
node_id: string;
};
type RepositoryPermissions = {
admin: boolean;
push: boolean;
pull: boolean;
};
type GetNotificationsForUserResponseItemSubject = {
title: string;
url: string;
latest_comment_url: string;
type: string;
};
type GetNotificationsForUserResponseItemRepositoryOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetNotificationsForUserResponseItemRepository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetNotificationsForUserResponseItemRepositoryOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
};
type GetNotificationsForUserResponseItem = {
id: string;
repository: GetNotificationsForUserResponseItemRepository;
subject: GetNotificationsForUserResponseItemSubject;
reason: string;
unread: boolean;
updated_at: string;
last_read_at: string;
url: string;
};
type GetNotificationsResponseItemSubject = {
title: string;
url: string;
latest_comment_url: string;
type: string;
};
type GetNotificationsResponseItemRepositoryOwner = {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
};
type GetNotificationsResponseItemRepository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: GetNotificationsResponseItemRepositoryOwner;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
};
type GetNotificationsResponseItem = {
id: string;
repository: GetNotificationsResponseItemRepository;
subject: GetNotificationsResponseItemSubject;
reason: string;
unread: boolean;
updated_at: string;
last_read_at: string;
url: string;
};
type GetNotificationThreadResponseSubject = {
title: string;
url: string;
latest_comment_url: string;
type: string;
};
type User = {
login: string;
id: number;
node_id?: string;
avatar_url: string;
gravatar_id?: string;
url: string;
html_url?: string;
followers_url?: string;
following_url?: string;
gists_url?: string;
starred_url?: string;
subscriptions_url?: string;
organizations_url?: string;
repos_url?: string;
events_url?: string;
received_events_url?: string;
type?: string;
site_admin?: boolean;
hooks_url?: string;
issues_url?: string;
members_url?: string;
public_members_url?: string;
description?: string;
};
type Repository = {
id: number;
node_id: string;
name: string;
full_name: string;
owner: User;
private: boolean;
html_url: string;
description: string;
fork: boolean;
url: string;
archive_url: string;
assignees_url: string;
blobs_url: string;
branches_url: string;
collaborators_url: string;
comments_url: string;
commits_url: string;
compare_url: string;
contents_url: string;
contributors_url: string;
deployments_url: string;
downloads_url: string;
events_url: string;
forks_url: string;
git_commits_url: string;
git_refs_url: string;
git_tags_url: string;
git_url: string;
issue_comment_url: string;
issue_events_url: string;
issues_url: string;
keys_url: string;
labels_url: string;
languages_url: string;
merges_url: string;
milestones_url: string;
notifications_url: string;
pulls_url: string;
releases_url: string;
ssh_url: string;
stargazers_url: string;
statuses_url: string;
subscribers_url: string;
subscription_url: string;
tags_url: string;
teams_url: string;
trees_url: string;
clone_url?: string;
mirror_url?: string;
hooks_url?: string;
svn_url?: string;
homepage?: string;
language?: null;
forks_count?: number;
stargazers_count?: number;
watchers_count?: number;
size?: number;
default_branch?: string;
open_issues_count?: number;
topics?: Array<string>;
has_issues?: boolean;
has_projects?: boolean;
has_wiki?: boolean;
has_pages?: boolean;
has_downloads?: boolean;
archived?: boolean;
pushed_at?: string;
created_at?: string;
updated_at?: string;
permissions?: RepositoryPermissions;
allow_rebase_merge?: boolean;
allow_squash_merge?: boolean;
allow_merge_commit?: boolean;
subscribers_count?: number;
network_count?: number;
license?: RepositoryLicense;
};
type GetNotificationThreadResponse = {
id: string;
repository: Repository;
subject: GetNotificationThreadResponseSubject;
reason: string;
unread: boolean;
updated_at: string;
last_read_at: string;
url: string;
};
type GetFeedsResponseLinksCurrentUserOrganizationsItem = {
href: string;
type: string;
};
type TypedLink = {
href: string;
type: string;
};
type GetFeedsResponseLinks = {
timeline: TypedLink;
user: TypedLink;
current_user_public: TypedLink;
current_user: TypedLink;
current_user_actor: TypedLink;
current_user_organization: TypedLink;
current_user_organizations: Array<
GetFeedsResponseLinksCurrentUserOrganizationsItem
>;
};
type GetFeedsResponse = {
timeline_url: string;
user_url: string;
current_user_public_url: string;
current_user_url: string;
current_user_actor_url: string;
current_user_organization_url: string;
current_user_organization_urls: Array<string>;
_links: GetFeedsResponseLinks;
};
type DeleteNotificationThreadSubscriptionResponse = {};
type CheckNotificationThreadSubscriptionResponse = {
subscribed: boolean;
ignored: boolean;
reason: null;
created_at: string;
url: string;
thread_url: string;
};
type GetNotificationsResponse = Array<GetNotificationsResponseItem>;
type GetNotificationsForUserResponse = Array<
GetNotificationsForUserResponseItem
>;
type GetStargazersForRepoResponse = Array<User>;
type GetStarredReposResponse = Array<Repository>;
type GetStarredReposForUserResponse = Array<Repository>;
type GetWatchedReposResponse = Array<Repository>;
type GetWatchedReposForUserResponse = Array<
GetWatchedReposForUserResponseItem
>;
type GetWatchersForRepoResponse = Array<GetWatchersForRepoResponseItem>;
type GetInstallationsResponse =
| Array<GetInstallationsResponseItem>
| {
total_count: number;
installations: Array<GetInstallationsResponseInstallationsItem>;
};
type GetMarketplaceListingPlanAccountsResponse = Array<
GetMarketplaceListingPlanAccountsResponseItem
>;
type GetMarketplaceListingPlansResponse = Array<
GetMarketplaceListingPlansResponseItem
>;
type GetMarketplaceListingStubbedPlanAccountsResponse = Array<
GetMarketplaceListingStubbedPlanAccountsResponseItem
>;
type GetMarketplaceListingStubbedPlansResponse = Array<
GetMarketplaceListingStubbedPlansResponseItem
>;
type CreateResponse = any;
type GetAllResponse = Array<Response>;
type GetGrantsResponse = Array<GetGrantsResponseItem>;
type ListAnnotationsResponse = Array<ListAnnotationsResponseItem>;
type GetCommentsResponse = Array<GetCommentsResponseItem>;
type GetCommitsResponse = Array<GetCommitsResponseItem>;
type GetForUserResponse =
| Array<GetForUserResponseItem>
| {
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
name: string;
company: string;
blog: string;
location: string;
email: string;
hireable: boolean;
bio: string;
public_repos: number;
public_gists: number;
followers: number;
following: number;
created_at: string;
updated_at: string;
};
type GetForksResponse = Array<GetForksResponseItem>;
type GetPublicResponse = Array<GetPublicResponseItem>;
type GetStarredResponse = Array<GetStarredResponseItem>;
type AddLabelsResponse = Array<AddLabelsResponseItem>;
type GetAssigneesResponse = Array<GetAssigneesResponseItem>;
type GetCommentsForRepoResponse = Array<GetCommentsForRepoResponseItem>;
type GetEventsResponse = Array<GetEventsResponseItem>;
type GetEventsForRepoResponse = Array<GetEventsForRepoResponseItem>;
type GetEventsTimelineResponse = Array<GetEventsTimelineResponseItem>;
type GetForOrgResponse = Array<GetForOrgResponseItem>;
type GetForRepoResponse = Array<GetForRepoResponseItem>;
type GetIssueLabelsResponse = Array<GetIssueLabelsResponseItem>;
type GetLabelsResponse = Array<GetLabelsResponseItem>;
type GetMilestoneLabelsResponse = Array<GetMilestoneLabelsResponseItem>;
type GetMilestonesResponse = Array<GetMilestonesResponseItem>;
type ReplaceAllLabelsResponse = Array<ReplaceAllLabelsResponseItem>;
type GetImportCommitAuthorsResponse = Array<
GetImportCommitAuthorsResponseItem
>;
type GetLargeImportFilesResponse = Array<GetLargeImportFilesResponseItem>;
type GetMigrationsResponse = Array<GetMigrationsResponseItem>;
type ListForAuthenticatedUserResponse = Array<
ListForAuthenticatedUserResponseItem
>;
type GetCodesOfConductResponse = Array<GetCodesOfConductResponseItem>;
type GetGitignoreTemplatesResponse = Array<string>;
type GetLicensesResponse = Array<GetLicensesResponseItem>;
type GetBlockedUsersResponse = Array<GetBlockedUsersResponseItem>;
type GetHooksResponse = Array<GetHooksResponseItem>;
type GetInvitationTeamsResponse = Array<GetInvitationTeamsResponseItem>;
type GetMembersResponse = Array<GetMembersResponseItem>;
type GetOutsideCollaboratorsResponse = Array<
GetOutsideCollaboratorsResponseItem
>;
type GetPendingOrgInvitesResponse = Array<GetPendingOrgInvitesResponseItem>;
type GetPendingTeamInvitesResponse = Array<GetPendingTeamInvitesResponseItem>;
type GetPublicMembersResponse = Array<GetPublicMembersResponseItem>;
type GetTeamMembersResponse = Array<GetTeamMembersResponseItem>;
type GetTeamReposResponse = Array<GetTeamReposResponseItem>;
type GetTeamsResponse = Array<GetTeamsResponseItem>;
type GetCollaboratorsResponse = Array<GetCollaboratorsResponseItem>;
type GetOrgProjectsResponse = Array<GetOrgProjectsResponseItem>;
type GetProjectCardsResponse = Array<GetProjectCardsResponseItem>;
type GetProjectColumnsResponse = Array<GetProjectColumnsResponseItem>;
type GetRepoProjectsResponse = Array<GetRepoProjectsResponseItem>;
type GetFilesResponse = Array<GetFilesResponseItem>;
type GetReviewCommentsResponse = Array<GetReviewCommentsResponseItem>;
type GetReviewsResponse = Array<GetReviewsResponseItem>;
type GetForCommitCommentResponse = Array<GetForCommitCommentResponseItem>;
type GetForIssueResponse = Array<GetForIssueResponseItem>;
type GetForIssueCommentResponse = Array<GetForIssueCommentResponseItem>;
type GetForPullRequestReviewCommentResponse = Array<
GetForPullRequestReviewCommentResponseItem
>;
type GetForTeamDiscussionResponse = Array<GetForTeamDiscussionResponseItem>;
type GetForTeamDiscussionCommentResponse = Array<
GetForTeamDiscussionCommentResponseItem
>;
type AddProtectedBranchRequiredStatusChecksContextsResponse = Array<string>;
type AddProtectedBranchTeamRestrictionsResponse = Array<
AddProtectedBranchTeamRestrictionsResponseItem
>;
type AddProtectedBranchUserRestrictionsResponse = Array<
AddProtectedBranchUserRestrictionsResponseItem
>;
type CompareCommitsResponse = any;
type CreateForOrgResponse = any;
type GetAllCommitCommentsResponse = Array<Comment>;
type GetAssetsResponse = any;
type GetBranchesResponse = Array<GetBranchesResponseItem>;
type GetCommitCommentsResponse = Array<GetCommitCommentsResponseItem>;
type GetDeployKeysResponse = Array<GetDeployKeysResponseItem>;
type GetDeploymentStatusesResponse = Array<GetDeploymentStatusesResponseItem>;
type GetDeploymentsResponse = Array<GetDeploymentsResponseItem>;
type GetDownloadsResponse = Array<GetDownloadsResponseItem>;
type GetInvitesResponse = Array<GetInvitesResponseItem>;
type GetLatestReleaseResponse = any;
type GetPathsResponse = Array<GetPathsResponseItem>;
type GetProtectedBranchTeamRestrictionsResponse = any;
type GetReferrersResponse = Array<GetReferrersResponseItem>;
type GetReleaseResponse = any;
type GetReleasesResponse = Array<ReleaseResponse>;
type GetStatsCodeFrequencyResponse = Array<Array<number>>;
type GetStatsCommitActivityResponse = Array<
GetStatsCommitActivityResponseItem
>;
type GetStatsContributorsResponse = Array<GetStatsContributorsResponseItem>;
type GetStatsPunchCardResponse = Array<Array<number>>;
type GetStatusesResponse = Array<GetStatusesResponseItem>;
type GetTagsResponse = Array<GetTagsResponseItem>;
type RemoveProtectedBranchRequiredStatusChecksContextsResponse = Array<
string
>;
type RemoveProtectedBranchTeamRestrictionsResponse = Array<
RemoveProtectedBranchTeamRestrictionsResponseItem
>;
type RemoveProtectedBranchUserRestrictionsResponse = Array<
RemoveProtectedBranchUserRestrictionsResponseItem
>;
type ReplaceProtectedBranchRequiredStatusChecksContextsResponse = Array<
string
>;
type ReplaceProtectedBranchTeamRestrictionsResponse = Array<
ReplaceProtectedBranchTeamRestrictionsResponseItem
>;
type ReplaceProtectedBranchUserRestrictionsResponse = Array<User>;
type TransferResponse = any;
type AddEmailsResponse = Array<AddEmailsResponseItem>;
type GetContextForUserResponse = any;
type GetEmailsResponse = Array<GetEmailsResponseItem>;
type GetFollowersResponse = Array<User>;
type GetFollowersForUserResponse = Array<User>;
type GetFollowingResponse = Array<User>;
type GetFollowingForUserResponse = Array<User>;
type GetGpgKeyResponse = any;
type GetGpgKeysResponse = Array<GpgKey>;
type GetGpgKeysForUserResponse = Array<GpgKey>;
type GetKeysResponse = Array<GetKeysResponseItem>;
type GetKeysForUserResponse = Array<GetKeysForUserResponseItem>;
type GetMarketplacePurchasesResponse = Array<Purchase>;
type GetMarketplaceStubbedPurchasesResponse = Array<Purchase>;
type GetOrgMembershipsResponse = Array<GetOrgMembershipResponse>;
type GetOrgsResponse = Array<Organization>;
type GetPublicEmailsResponse = Array<GetPublicEmailsResponseItem>;
type GetRepoInvitesResponse = Array<GetRepoInvitesResponseItem>;
type TogglePrimaryEmailVisibilityResponse = Array<
TogglePrimaryEmailVisibilityResponseItem
>;
export type ActivityCheckNotificationThreadSubscriptionParams = {
/**
* @deprecated [object Object]
*/
id: string;
thread_id: string;
};
export type ActivityCheckStarringRepoParams = {
owner: string;
repo: string;
};
export type ActivityDeleteNotificationThreadSubscriptionParams = {
/**
* @deprecated [object Object]
*/
id: string;
thread_id: string;
};
export type ActivityGetEventsParams = {
page?: number;
per_page?: number;
};
export type ActivityGetEventsForOrgParams = {
org: string;
page?: number;
per_page?: number;
};
export type ActivityGetEventsForRepoParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ActivityGetEventsForRepoNetworkParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ActivityGetEventsForUserParams = {
page?: number;
per_page?: number;
username: string;
};
export type ActivityGetEventsForUserOrgParams = {
org: string;
page?: number;
per_page?: number;
username: string;
};
export type ActivityGetEventsForUserPublicParams = {
page?: number;
per_page?: number;
username: string;
};
export type ActivityGetEventsReceivedParams = {
page?: number;
per_page?: number;
username: string;
};
export type ActivityGetEventsReceivedPublicParams = {
page?: number;
per_page?: number;
username: string;
};
export type ActivityGetNotificationThreadParams = {
/**
* @deprecated [object Object]
*/
id: string;
thread_id: string;
};
export type ActivityGetNotificationsParams = {
all?: boolean;
before?: string;
page?: number;
participating?: boolean;
per_page?: number;
since?: string;
};
export type ActivityGetNotificationsForUserParams = {
all?: boolean;
before?: string;
owner: string;
page?: number;
participating?: boolean;
per_page?: number;
repo: string;
since?: string;
};
export type ActivityGetRepoSubscriptionParams = {
owner: string;
repo: string;
};
export type ActivityGetStargazersForRepoParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ActivityGetStarredReposParams = {
direction?: "asc" | "desc";
page?: number;
per_page?: number;
sort?: "created" | "updated";
};
export type ActivityGetStarredReposForUserParams = {
direction?: "asc" | "desc";
page?: number;
per_page?: number;
sort?: "created" | "updated";
username: string;
};
export type ActivityGetWatchedReposParams = {
page?: number;
per_page?: number;
};
export type ActivityGetWatchedReposForUserParams = {
page?: number;
per_page?: number;
username: string;
};
export type ActivityGetWatchersForRepoParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ActivityMarkNotificationThreadAsReadParams = {
/**
* @deprecated [object Object]
*/
id: string;
thread_id: string;
};
export type ActivityMarkNotificationsAsReadParams = {
last_read_at?: string;
};
export type ActivityMarkNotificationsAsReadForRepoParams = {
last_read_at?: string;
owner: string;
repo: string;
};
export type ActivitySetNotificationThreadSubscriptionParams = {
/**
* @deprecated [object Object]
*/
id: string;
ignored?: boolean;
thread_id: string;
};
export type ActivitySetRepoSubscriptionParams = {
ignored?: boolean;
owner: string;
repo: string;
subscribed?: boolean;
};
export type ActivityStarRepoParams = {
owner: string;
repo: string;
};
export type ActivityUnstarRepoParams = {
owner: string;
repo: string;
};
export type ActivityUnwatchRepoParams = {
owner: string;
repo: string;
};
export type AppsAddRepoToInstallationParams = {
installation_id: string;
repository_id: string;
};
export type AppsCheckMarketplaceListingAccountParams = {
account_id: string;
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
};
export type AppsCheckMarketplaceListingStubbedAccountParams = {
account_id: string;
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
};
export type AppsCreateInstallationTokenParams = {
installation_id: string;
};
export type AppsFindOrgInstallationParams = {
org: string;
};
export type AppsFindRepoInstallationParams = {
owner: string;
repo: string;
};
export type AppsFindUserInstallationParams = {
username: string;
};
export type AppsGetForSlugParams = {
app_slug: string;
};
export type AppsGetInstallationParams = {
installation_id: string;
};
export type AppsGetInstallationRepositoriesParams = {
page?: number;
per_page?: number;
};
export type AppsGetInstallationsParams = {
page?: number;
per_page?: number;
};
export type AppsGetMarketplaceListingPlanAccountsParams = {
direction?: "asc" | "desc";
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
plan_id: string;
sort?: "created" | "updated";
};
export type AppsGetMarketplaceListingPlansParams = {
page?: number;
per_page?: number;
};
export type AppsGetMarketplaceListingStubbedPlanAccountsParams = {
direction?: "asc" | "desc";
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
plan_id: string;
sort?: "created" | "updated";
};
export type AppsGetMarketplaceListingStubbedPlansParams = {
page?: number;
per_page?: number;
};
export type AppsRemoveRepoFromInstallationParams = {
installation_id: string;
repository_id: string;
};
export type AuthorizationCheckParams = {
access_token: string;
client_id: string;
};
export type AuthorizationCreateParams = {
client_id?: string;
client_secret?: string;
fingerprint?: string;
note: string;
note_url?: string;
scopes?: string[];
};
export type AuthorizationDeleteParams = {
authorization_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type AuthorizationDeleteGrantParams = {
grant_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type AuthorizationGetParams = {
authorization_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type AuthorizationGetAllParams = {
page?: number;
per_page?: number;
};
export type AuthorizationGetGrantParams = {
grant_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type AuthorizationGetGrantsParams = {
page?: number;
per_page?: number;
};
export type AuthorizationGetOrCreateAuthorizationForAppParams = {
client_id: string;
client_secret: string;
fingerprint?: string;
note?: string;
note_url?: string;
scopes?: string[];
};
export type AuthorizationGetOrCreateAuthorizationForAppAndFingerprintParams = {
client_id: string;
client_secret: string;
fingerprint: string;
note?: string;
note_url?: string;
scopes?: string[];
};
export type AuthorizationResetParams = {
access_token: string;
client_id: string;
};
export type AuthorizationRevokeParams = {
access_token: string;
client_id: string;
};
export type AuthorizationRevokeGrantParams = {
access_token: string;
client_id: string;
};
export type AuthorizationUpdateParams = {
add_scopes?: string[];
authorization_id: string;
fingerprint?: string;
/**
* @deprecated [object Object]
*/
id: string;
note?: string;
note_url?: string;
remove_scopes?: string[];
scopes?: string[];
};
export type ChecksCreateParams = {
actions?: ChecksCreateParamsActions[];
completed_at?: string;
conclusion?:
| "success"
| "failure"
| "neutral"
| "cancelled"
| "timed_out"
| "action_required"
| "details_url"
| "conclusion"
| "status"
| "completed";
details_url?: string;
external_id?: string;
head_sha: string;
name: string;
output?: ChecksCreateParamsOutput;
owner: string;
repo: string;
started_at?: string;
status?: "queued" | "in_progress" | "completed";
};
export type ChecksCreateSuiteParams = {
head_sha: string;
owner: string;
repo: string;
};
export type ChecksGetParams = {
check_run_id: string;
owner: string;
repo: string;
};
export type ChecksGetSuiteParams = {
check_suite_id: string;
owner: string;
repo: string;
};
export type ChecksListAnnotationsParams = {
check_run_id: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ChecksListForRefParams = {
check_name?: string;
filter?: "latest" | "all";
owner: string;
page?: number;
per_page?: number;
ref: string;
repo: string;
status?: "queued" | "in_progress" | "completed";
};
export type ChecksListForSuiteParams = {
check_name?: string;
check_suite_id: string;
filter?: "latest" | "all";
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
status?: "queued" | "in_progress" | "completed";
};
export type ChecksListSuitesForRefParams = {
app_id?: number;
check_name?: string;
owner: string;
page?: number;
per_page?: number;
ref: string;
repo: string;
};
export type ChecksRequestSuitesParams = {
head_sha?: string;
owner: string;
repo: string;
};
export type ChecksSetSuitesPreferencesParams = {
auto_trigger_checks?: ChecksSetSuitesPreferencesParamsAutoTriggerChecks[];
owner: string;
repo: string;
};
export type ChecksUpdateParams = {
actions?: ChecksUpdateParamsActions[];
check_run_id: string;
completed_at?: string;
conclusion?:
| "success"
| "failure"
| "neutral"
| "cancelled"
| "timed_out"
| "action_required"
| "conclusion"
| "status"
| "completed";
details_url?: string;
external_id?: string;
name: string;
output?: ChecksUpdateParamsOutput;
owner: string;
repo: string;
started_at?: string;
status?: "queued" | "in_progress" | "completed";
};
export type EnterpriseCreateOrgParams = {
admin: string;
login: string;
profile_name?: string;
};
export type EnterpriseCreatePreReceiveEnvironmentParams = {
image_url: string;
name: string;
};
export type EnterpriseCreatePreReceiveHookParams = {
allow_downstream_configuration?: boolean;
enforcement?: string;
environment: EnterpriseCreatePreReceiveHookParamsEnvironment;
name: string;
script: string;
script_repository: EnterpriseCreatePreReceiveHookParamsScriptRepository;
};
export type EnterpriseDeletePreReceiveEnvironmentParams = {
id: string;
};
export type EnterpriseDeletePreReceiveHookParams = {
id: string;
};
export type EnterpriseEditPreReceiveEnvironmentParams = {
id: string;
image_url: string;
name: string;
};
export type EnterpriseEditPreReceiveHookParams = {
hook: EnterpriseEditPreReceiveHookParamsHook;
id: string;
};
export type EnterpriseGetPreReceiveEnvironmentParams = {
id: string;
};
export type EnterpriseGetPreReceiveEnvironmentDownloadStatusParams = {
id: string;
};
export type EnterpriseGetPreReceiveHookParams = {
id: string;
};
export type EnterpriseQueueIndexingJobParams = {
target: string;
};
export type EnterpriseStatsParams = {
type:
| "issues"
| "hooks"
| "milestones"
| "orgs"
| "comments"
| "pages"
| "users"
| "gists"
| "pulls"
| "repos"
| "all";
};
export type EnterpriseSyncLdapForTeamParams = {
team_id: number;
};
export type EnterpriseSyncLdapForUserParams = {
username: string;
};
export type EnterpriseTriggerPreReceiveEnvironmentDownloadParams = {
id: string;
};
export type EnterpriseUpdateLdapForTeamParams = {
ldap_dn: string;
team_id: number;
};
export type EnterpriseUpdateLdapForUserParams = {
ldap_dn: string;
username: string;
};
export type GistsCheckStarParams = {
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type GistsCreateParams = {
description?: string;
files: GistsCreateParamsFiles;
public?: boolean;
};
export type GistsCreateCommentParams = {
body: string;
gist_id: string;
};
export type GistsDeleteParams = {
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type GistsDeleteCommentParams = {
comment_id: string;
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type GistsEditParams = {
content?: string;
description?: string;
filename?: string;
files?: GistsEditParamsFiles;
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type GistsEditCommentParams = {
body: string;
comment_id: string;
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type GistsForkParams = {
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type GistsGetParams = {
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type GistsGetAllParams = {
page?: number;
per_page?: number;
since?: string;
};
export type GistsGetCommentParams = {
comment_id: string;
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type GistsGetCommentsParams = {
gist_id: string;
page?: number;
per_page?: number;
};
export type GistsGetCommitsParams = {
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
};
export type GistsGetForUserParams = {
page?: number;
per_page?: number;
since?: string;
username: string;
};
export type GistsGetForksParams = {
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
};
export type GistsGetPublicParams = {
page?: number;
per_page?: number;
since?: string;
};
export type GistsGetRevisionParams = {
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
sha: string;
};
export type GistsGetStarredParams = {
page?: number;
per_page?: number;
since?: string;
};
export type GistsStarParams = {
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type GistsUnstarParams = {
gist_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type GitdataCreateBlobParams = {
content: string;
encoding?: string;
owner: string;
repo: string;
};
export type GitdataCreateCommitParams = {
author?: GitdataCreateCommitParamsAuthor;
committer?: GitdataCreateCommitParamsCommitter;
message: string;
owner: string;
parents: string[];
repo: string;
tree: string;
};
export type GitdataCreateReferenceParams = {
owner: string;
ref: string;
repo: string;
sha: string;
};
export type GitdataCreateTagParams = {
message: string;
object: string;
owner: string;
repo: string;
tag: string;
tagger?: GitdataCreateTagParamsTagger;
type: "commit" | "tree" | "blob";
};
export type GitdataCreateTreeParams = {
base_tree?: string;
owner: string;
repo: string;
tree: GitdataCreateTreeParamsTree[];
};
export type GitdataDeleteReferenceParams = {
owner: string;
ref: string;
repo: string;
};
export type GitdataGetBlobParams = {
file_sha: string;
owner: string;
repo: string;
/**
* @deprecated [object Object]
*/
sha: string;
};
export type GitdataGetCommitParams = {
commit_sha: string;
owner: string;
repo: string;
/**
* @deprecated [object Object]
*/
sha: string;
};
export type GitdataGetCommitSignatureVerificationParams = {
commit_sha: string;
owner: string;
repo: string;
/**
* @deprecated [object Object]
*/
sha: string;
};
export type GitdataGetReferenceParams = {
owner: string;
ref: string;
repo: string;
};
export type GitdataGetReferencesParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type GitdataGetTagParams = {
owner: string;
repo: string;
/**
* @deprecated [object Object]
*/
sha: string;
tag_sha: string;
};
export type GitdataGetTagSignatureVerificationParams = {
owner: string;
repo: string;
/**
* @deprecated [object Object]
*/
sha: string;
tag_sha: string;
};
export type GitdataGetTagsParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type GitdataGetTreeParams = {
owner: string;
recursive?: 1;
repo: string;
/**
* @deprecated [object Object]
*/
sha: string;
tree_sha: string;
};
export type GitdataUpdateReferenceParams = {
force?: boolean;
owner: string;
ref: string;
repo: string;
sha: string;
};
export type IntegrationsAddRepoToInstallationParams = {
installation_id: string;
repository_id: string;
};
export type IntegrationsCreateInstallationTokenParams = {
installation_id: string;
};
export type IntegrationsGetInstallationsParams = {
page?: number;
per_page?: number;
};
export type IntegrationsRemoveRepoFromInstallationParams = {
installation_id: string;
repository_id: string;
};
export type IssuesAddAssigneesToIssueParams = {
assignees?: string[];
number: number;
owner: string;
repo: string;
};
export type IssuesAddLabelsParams = {
labels: string[];
number: number;
owner: string;
repo: string;
};
export type IssuesCheckAssigneeParams = {
assignee: string;
owner: string;
repo: string;
};
export type IssuesCreateParams = {
assignee?: string;
assignees?: string[];
body?: string;
labels?: string[];
milestone?: number;
owner: string;
repo: string;
title: string;
};
export type IssuesCreateCommentParams = {
body: string;
number: number;
owner: string;
repo: string;
};
export type IssuesCreateLabelParams = {
color: string;
description?: string;
name: string;
owner: string;
repo: string;
};
export type IssuesCreateMilestoneParams = {
description?: string;
due_on?: string;
owner: string;
repo: string;
state?: "open" | "closed";
title: string;
};
export type IssuesDeleteCommentParams = {
comment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type IssuesDeleteLabelParams = {
name: string;
owner: string;
repo: string;
};
export type IssuesDeleteMilestoneParams = {
number: number;
owner: string;
repo: string;
};
export type IssuesEditParams = {
assignee?: string;
assignees?: string[];
body?: string;
labels?: string[];
milestone?: number;
number: number;
owner: string;
repo: string;
state?: "open" | "closed";
title?: string;
};
export type IssuesEditCommentParams = {
body: string;
comment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type IssuesGetParams = {
number: number;
owner: string;
repo: string;
};
export type IssuesGetAllParams = {
direction?: "asc" | "desc";
filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all";
labels?: string;
page?: number;
per_page?: number;
since?: string;
sort?: "created" | "updated" | "comments";
state?: "open" | "closed" | "all";
};
export type IssuesGetAssigneesParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type IssuesGetCommentParams = {
comment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type IssuesGetCommentsParams = {
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
since?: string;
};
export type IssuesGetCommentsForRepoParams = {
direction?: "asc" | "desc";
owner: string;
repo: string;
since?: string;
sort?: "created" | "updated";
};
export type IssuesGetEventParams = {
event_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type IssuesGetEventsParams = {
/**
* @deprecated [object Object]
*/
issue_number: number;
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type IssuesGetEventsForRepoParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type IssuesGetEventsTimelineParams = {
/**
* @deprecated [object Object]
*/
issue_number: number;
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type IssuesGetForOrgParams = {
direction?: "asc" | "desc";
filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all";
labels?: string;
org: string;
page?: number;
per_page?: number;
since?: string;
sort?: "created" | "updated" | "comments";
state?: "open" | "closed" | "all";
};
export type IssuesGetForRepoParams = {
assignee?: string;
creator?: string;
direction?: "asc" | "desc";
labels?: string;
mentioned?: string;
milestone?: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
since?: string;
sort?: "created" | "updated" | "comments";
state?: "open" | "closed" | "all";
};
export type IssuesGetForUserParams = {
direction?: "asc" | "desc";
filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all";
labels?: string;
page?: number;
per_page?: number;
since?: string;
sort?: "created" | "updated" | "comments";
state?: "open" | "closed" | "all";
};
export type IssuesGetIssueLabelsParams = {
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type IssuesGetLabelParams = {
name: string;
owner: string;
repo: string;
};
export type IssuesGetLabelsParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type IssuesGetMilestoneParams = {
number: number;
owner: string;
repo: string;
};
export type IssuesGetMilestoneLabelsParams = {
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type IssuesGetMilestonesParams = {
direction?: "asc" | "desc";
owner: string;
page?: number;
per_page?: number;
repo: string;
sort?: "due_on" | "completeness";
state?: "open" | "closed" | "all";
};
export type IssuesLockParams = {
lock_reason?: "off-topic" | "too heated" | "resolved" | "spam";
number: number;
owner: string;
repo: string;
};
export type IssuesRemoveAllLabelsParams = {
number: number;
owner: string;
repo: string;
};
export type IssuesRemoveAssigneesFromIssueParams = {
assignees?: string[];
number: number;
owner: string;
repo: string;
};
export type IssuesRemoveLabelParams = {
name: string;
number: number;
owner: string;
repo: string;
};
export type IssuesReplaceAllLabelsParams = {
labels: string[];
number: number;
owner: string;
repo: string;
};
export type IssuesUnlockParams = {
number: number;
owner: string;
repo: string;
};
export type IssuesUpdateLabelParams = {
color?: string;
current_name: string;
description?: string;
name?: string;
/**
* @deprecated [object Object]
*/
oldname: string;
owner: string;
repo: string;
};
export type IssuesUpdateMilestoneParams = {
description?: string;
due_on?: string;
number: number;
owner: string;
repo: string;
state?: "open" | "closed";
title?: string;
};
export type MigrationsCancelImportParams = {
owner: string;
repo: string;
};
export type MigrationsDeleteArchiveForAuthenticatedUserParams = {
migration_id: string;
};
export type MigrationsDeleteMigrationArchiveParams = {
/**
* @deprecated [object Object]
*/
id: string;
migration_id: string;
org: string;
};
export type MigrationsGetArchiveForAuthenticatedUserParams = {
migration_id: string;
};
export type MigrationsGetImportCommitAuthorsParams = {
owner: string;
repo: string;
since?: string;
};
export type MigrationsGetImportProgressParams = {
owner: string;
repo: string;
};
export type MigrationsGetLargeImportFilesParams = {
/**
* @deprecated [object Object]
*/
name: string;
owner: string;
repo: string;
};
export type MigrationsGetMigrationArchiveLinkParams = {
/**
* @deprecated [object Object]
*/
id: string;
migration_id: string;
org: string;
};
export type MigrationsGetMigrationStatusParams = {
/**
* @deprecated [object Object]
*/
id: string;
migration_id: string;
org: string;
};
export type MigrationsGetMigrationsParams = {
org: string;
page?: number;
per_page?: number;
};
export type MigrationsGetStatusForAuthenticatedUserParams = {
migration_id: string;
};
export type MigrationsListForAuthenticatedUserParams = {
page?: number;
per_page?: number;
};
export type MigrationsMapImportCommitAuthorParams = {
author_id: string;
email?: string;
name?: string;
owner: string;
repo: string;
};
export type MigrationsSetImportLfsPreferenceParams = {
/**
* @deprecated [object Object]
*/
name: string;
owner: string;
repo: string;
use_lfs: "opt_in" | "opt_out";
};
export type MigrationsStartForAuthenticatedUserParams = {
exclude_attachments?: boolean;
lock_repositories?: boolean;
repositories: string[];
};
export type MigrationsStartImportParams = {
owner: string;
repo: string;
tfvc_project?: string;
vcs?: "subversion" | "git" | "mercurial" | "tfvc";
vcs_password?: string;
vcs_url: string;
vcs_username?: string;
};
export type MigrationsStartMigrationParams = {
exclude_attachments?: boolean;
lock_repositories?: boolean;
org: string;
repositories: string[];
};
export type MigrationsUnlockRepoForAuthenticatedUserParams = {
migration_id: string;
repo_name: string;
};
export type MigrationsUnlockRepoLockedForMigrationParams = {
/**
* @deprecated [object Object]
*/
id: string;
migration_id: string;
org: string;
repo_name: string;
};
export type MigrationsUpdateImportParams = {
owner: string;
repo: string;
vcs_password?: string;
vcs_username?: string;
};
export type MiscGetCodeOfConductParams = {
key: string;
};
export type MiscGetGitignoreTemplateParams = {
name: string;
};
export type MiscGetLicenseParams = {
license: string;
};
export type MiscGetRepoCodeOfConductParams = {
owner: string;
repo: string;
};
export type MiscGetRepoLicenseParams = {
owner: string;
repo: string;
};
export type MiscRenderMarkdownParams = {
context?: string;
mode?: "markdown" | "gfm";
text: string;
};
export type MiscRenderMarkdownRawParams = {
data: string;
};
export type OrgsAddOrgMembershipParams = {
org: string;
role?: "admin" | "member";
username: string;
};
export type OrgsAddTeamMembershipParams = {
/**
* @deprecated [object Object]
*/
id: string;
role?: "member" | "maintainer";
team_id: string;
username: string;
};
export type OrgsAddTeamRepoParams = {
/**
* @deprecated [object Object]
*/
id: string;
/**
* @deprecated [object Object]
*/
org: string;
owner: string;
permission?: "pull" | "push" | "admin";
repo: string;
team_id: string;
};
export type OrgsBlockUserParams = {
org: string;
username: string;
};
export type OrgsCheckBlockedUserParams = {
org: string;
username: string;
};
export type OrgsCheckMembershipParams = {
org: string;
username: string;
};
export type OrgsCheckPublicMembershipParams = {
org: string;
username: string;
};
export type OrgsCheckTeamRepoParams = {
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
team_id: string;
};
export type OrgsConcealMembershipParams = {
org: string;
username: string;
};
export type OrgsConvertMemberToOutsideCollaboratorParams = {
org: string;
username: string;
};
export type OrgsCreateHookParams = {
active?: boolean;
config: OrgsCreateHookParamsConfig;
events?: string[];
name: string;
org: string;
};
export type OrgsCreateInvitationParams = {
email?: string;
invitee_id?: number;
org: string;
role?: "admin" | "direct_member" | "billing_manager";
team_ids?: number[];
};
export type OrgsCreateTeamParams = {
description?: string;
maintainers?: string[];
name: string;
org: string;
parent_team_id?: number;
permission?: "pull" | "push" | "admin";
privacy?: "secret" | "closed";
repo_names?: string[];
};
export type OrgsDeleteHookParams = {
hook_id: string;
/**
* @deprecated [object Object]
*/
id: string;
org: string;
};
export type OrgsDeleteTeamParams = {
/**
* @deprecated [object Object]
*/
id: string;
team_id: string;
};
export type OrgsDeleteTeamRepoParams = {
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
team_id: string;
};
export type OrgsEditHookParams = {
active?: boolean;
config?: OrgsEditHookParamsConfig;
events?: string[];
hook_id: string;
/**
* @deprecated [object Object]
*/
id: string;
org: string;
};
export type OrgsEditTeamParams = {
description?: string;
/**
* @deprecated [object Object]
*/
id: string;
name: string;
parent_team_id?: number;
permission?: "pull" | "push" | "admin";
privacy?: string;
team_id: string;
};
export type OrgsGetParams = {
org: string;
};
export type OrgsGetAllParams = {
page?: number;
per_page?: number;
since?: string;
};
export type OrgsGetBlockedUsersParams = {
org: string;
};
export type OrgsGetChildTeamsParams = {
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
team_id: string;
};
export type OrgsGetForUserParams = {
page?: number;
per_page?: number;
username: string;
};
export type OrgsGetHookParams = {
hook_id: string;
/**
* @deprecated [object Object]
*/
id: string;
org: string;
};
export type OrgsGetHooksParams = {
org: string;
page?: number;
per_page?: number;
};
export type OrgsGetInvitationTeamsParams = {
invitation_id: string;
org: string;
page?: number;
per_page?: number;
};
export type OrgsGetMembersParams = {
filter?: "2fa_disabled" | "all";
org: string;
page?: number;
per_page?: number;
role?: "all" | "admin" | "member";
};
export type OrgsGetOrgMembershipParams = {
org: string;
username: string;
};
export type OrgsGetOutsideCollaboratorsParams = {
filter?: "2fa_disabled" | "all";
org: string;
page?: number;
per_page?: number;
};
export type OrgsGetPendingOrgInvitesParams = {
org: string;
page?: number;
per_page?: number;
};
export type OrgsGetPendingTeamInvitesParams = {
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
team_id: string;
};
export type OrgsGetPublicMembersParams = {
org: string;
page?: number;
per_page?: number;
};
export type OrgsGetTeamParams = {
/**
* @deprecated [object Object]
*/
id: string;
team_id: string;
};
export type OrgsGetTeamMembersParams = {
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
role?: "member" | "maintainer" | "all";
team_id: string;
};
export type OrgsGetTeamMembershipParams = {
/**
* @deprecated [object Object]
*/
id: string;
team_id: string;
username: string;
};
export type OrgsGetTeamReposParams = {
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
team_id: string;
};
export type OrgsGetTeamsParams = {
org: string;
page?: number;
per_page?: number;
};
export type OrgsPingHookParams = {
hook_id: string;
/**
* @deprecated [object Object]
*/
id: string;
org: string;
};
export type OrgsPublicizeMembershipParams = {
org: string;
username: string;
};
export type OrgsRemoveMemberParams = {
org: string;
username: string;
};
export type OrgsRemoveOrgMembershipParams = {
org: string;
username: string;
};
export type OrgsRemoveOutsideCollaboratorParams = {
org: string;
username: string;
};
export type OrgsRemoveTeamMembershipParams = {
/**
* @deprecated [object Object]
*/
id: string;
team_id: string;
username: string;
};
export type OrgsUnblockUserParams = {
org: string;
username: string;
};
export type OrgsUpdateParams = {
billing_email?: string;
company?: string;
default_repository_permission?: "read" | "write" | "admin" | "none";
description?: string;
email?: string;
has_organization_projects?: boolean;
has_repository_projects?: boolean;
location?: string;
members_can_create_repositories?: boolean;
name?: string;
org: string;
};
export type ProjectsAddCollaboratorParams = {
/**
* @deprecated [object Object]
*/
id: string;
permission?: "read" | "write" | "admin";
project_id: string;
username: string;
};
export type ProjectsCreateOrgProjectParams = {
body?: string;
name: string;
org: string;
page?: number;
per_page?: number;
};
export type ProjectsCreateProjectCardParams = {
column_id: string;
content_id?: number;
content_type?: string;
note?: string;
};
export type ProjectsCreateProjectColumnParams = {
id: string;
name: string;
project_id: string;
};
export type ProjectsCreateRepoProjectParams = {
body?: string;
name: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ProjectsDeleteProjectParams = {
id: string;
project_id: string;
};
export type ProjectsDeleteProjectCardParams = {
card_id: string;
id: string;
};
export type ProjectsDeleteProjectColumnParams = {
column_id: string;
id: string;
};
export type ProjectsGetCollaboratorsParams = {
affiliation?: "outside" | "direct" | "all";
/**
* @deprecated [object Object]
*/
id: string;
page?: number;
per_page?: number;
project_id: string;
};
export type ProjectsGetOrgProjectsParams = {
org: string;
page?: number;
per_page?: number;
state?: "open" | "closed" | "all";
};
export type ProjectsGetProjectParams = {
id: string;
page?: number;
per_page?: number;
project_id: string;
};
export type ProjectsGetProjectCardParams = {
card_id: string;
id: string;
};
export type ProjectsGetProjectCardsParams = {
archived_state?: string;
column_id: string;
page?: number;
per_page?: number;
};
export type ProjectsGetProjectColumnParams = {
column_id: string;
id: string;
};
export type ProjectsGetProjectColumnsParams = {
id: string;
page?: number;
per_page?: number;
project_id: string;
};
export type ProjectsGetRepoProjectsParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
state?: "open" | "closed" | "all";
};
export type ProjectsGetUserPermissionLevelParams = {
/**
* @deprecated [object Object]
*/
id: string;
project_id: string;
username: string;
};
export type ProjectsMoveProjectCardParams = {
card_id: string;
column_id?: number;
id: string;
position: string;
};
export type ProjectsMoveProjectColumnParams = {
column_id: string;
id: string;
position: string;
};
export type ProjectsRemoveCollaboratorParams = {
/**
* @deprecated [object Object]
*/
id: string;
project_id: string;
username: string;
};
export type ProjectsUpdateProjectParams = {
body?: string;
id: string;
name?: string;
organization_permission?: string;
page?: number;
per_page?: number;
project_id: string;
public?: boolean;
state?: "open" | "closed";
};
export type ProjectsUpdateProjectCardParams = {
archived?: boolean;
card_id: string;
id: string;
note?: string;
};
export type ProjectsUpdateProjectColumnParams = {
column_id: string;
id: string;
name: string;
};
export type PullRequestsCheckMergedParams = {
number: number;
owner: string;
repo: string;
};
export type PullRequestsCreateParams = {
base: string;
body?: string;
head: string;
maintainer_can_modify?: boolean;
owner: string;
repo: string;
title: string;
};
export type PullRequestsCreateCommentParams = {
body: string;
commit_id: string;
number: number;
owner: string;
path: string;
position: number;
repo: string;
};
export type PullRequestsCreateCommentReplyParams = {
body: string;
in_reply_to: number;
number: number;
owner: string;
repo: string;
};
export type PullRequestsCreateFromIssueParams = {
base: string;
body?: string;
head: string;
maintainer_can_modify?: boolean;
owner: string;
repo: string;
title: string;
};
export type PullRequestsCreateReviewParams = {
body?: string;
comments?: PullRequestsCreateReviewParamsComments[];
commit_id?: string;
event?: "APPROVE" | "REQUEST_CHANGES" | "COMMENT";
number: number;
owner: string;
repo: string;
};
export type PullRequestsCreateReviewRequestParams = {
number: number;
owner: string;
repo: string;
reviewers?: string[];
team_reviewers?: string[];
};
export type PullRequestsDeleteCommentParams = {
comment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type PullRequestsDeletePendingReviewParams = {
/**
* @deprecated [object Object]
*/
id: string;
number: number;
owner: string;
repo: string;
review_id: string;
};
export type PullRequestsDeleteReviewRequestParams = {
number: number;
owner: string;
repo: string;
reviewers?: string[];
team_reviewers?: string[];
};
export type PullRequestsDismissReviewParams = {
/**
* @deprecated [object Object]
*/
id: string;
message?: string;
number: number;
owner: string;
repo: string;
review_id: string;
};
export type PullRequestsEditCommentParams = {
body: string;
comment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type PullRequestsGetParams = {
number: number;
owner: string;
repo: string;
};
export type PullRequestsGetAllParams = {
base?: string;
direction?: "asc" | "desc";
head?: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
sort?: "created" | "updated" | "popularity" | "long-running";
state?: "open" | "closed" | "all";
};
export type PullRequestsGetCommentParams = {
comment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type PullRequestsGetCommentsParams = {
direction?: "asc" | "desc";
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
since?: string;
sort?: "created" | "updated";
};
export type PullRequestsGetCommentsForRepoParams = {
direction?: "asc" | "desc";
owner: string;
page?: number;
per_page?: number;
repo: string;
since?: string;
sort?: "created" | "updated";
};
export type PullRequestsGetCommitsParams = {
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type PullRequestsGetFilesParams = {
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type PullRequestsGetReviewParams = {
/**
* @deprecated [object Object]
*/
id: string;
number: number;
owner: string;
repo: string;
review_id: string;
};
export type PullRequestsGetReviewCommentsParams = {
/**
* @deprecated [object Object]
*/
id: string;
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
review_id: string;
};
export type PullRequestsGetReviewRequestsParams = {
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type PullRequestsGetReviewsParams = {
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type PullRequestsMergeParams = {
commit_message?: string;
commit_title?: string;
merge_method?: "merge" | "squash" | "rebase";
number: number;
owner: string;
repo: string;
sha?: string;
};
export type PullRequestsSubmitReviewParams = {
body?: string;
event?: "APPROVE" | "REQUEST_CHANGES" | "COMMENT";
/**
* @deprecated [object Object]
*/
id: string;
number: number;
owner: string;
repo: string;
review_id: string;
};
export type PullRequestsUpdateParams = {
base?: string;
body?: string;
maintainer_can_modify?: boolean;
number: number;
owner: string;
repo: string;
state?: "open" | "closed";
title?: string;
};
export type ReactionsCreateForCommitCommentParams = {
comment_id: string;
content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReactionsCreateForIssueParams = {
content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
number: number;
owner: string;
repo: string;
};
export type ReactionsCreateForIssueCommentParams = {
comment_id: string;
content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReactionsCreateForPullRequestReviewCommentParams = {
comment_id: string;
content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReactionsCreateForTeamDiscussionParams = {
content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
discussion_number: number;
team_id: string;
};
export type ReactionsCreateForTeamDiscussionCommentParams = {
comment_number: number;
content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
discussion_number: number;
team_id: string;
};
export type ReactionsDeleteParams = {
/**
* @deprecated [object Object]
*/
id: string;
reaction_id: string;
};
export type ReactionsGetForCommitCommentParams = {
comment_id: string;
content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReactionsGetForIssueParams = {
content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
number: number;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReactionsGetForIssueCommentParams = {
comment_id: string;
content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReactionsGetForPullRequestReviewCommentParams = {
comment_id: string;
content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReactionsGetForTeamDiscussionParams = {
content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
discussion_number: number;
page?: number;
per_page?: number;
team_id: string;
};
export type ReactionsGetForTeamDiscussionCommentParams = {
comment_number: number;
content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
discussion_number: number;
page?: number;
per_page?: number;
team_id: string;
};
export type ReposAddCollaboratorParams = {
owner: string;
permission?: "pull" | "push" | "admin";
repo: string;
username: string;
};
export type ReposAddDeployKeyParams = {
key: string;
owner: string;
read_only?: boolean;
repo: string;
title?: string;
};
export type ReposAddProtectedBranchAdminEnforcementParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposAddProtectedBranchRequiredSignaturesParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposAddProtectedBranchRequiredStatusChecksContextsParams = {
branch: string;
contexts: string[];
owner: string;
repo: string;
};
export type ReposAddProtectedBranchTeamRestrictionsParams = {
branch: string;
owner: string;
repo: string;
teams: string[];
};
export type ReposAddProtectedBranchUserRestrictionsParams = {
branch: string;
owner: string;
repo: string;
users: string[];
};
export type ReposCheckCollaboratorParams = {
owner: string;
repo: string;
username: string;
};
export type ReposCompareCommitsParams = {
base: string;
head: string;
owner: string;
repo: string;
};
export type ReposCreateParams = {
allow_merge_commit?: boolean;
allow_rebase_merge?: boolean;
allow_squash_merge?: boolean;
auto_init?: boolean;
description?: string;
gitignore_template?: string;
has_issues?: boolean;
has_projects?: boolean;
has_wiki?: boolean;
homepage?: string;
license_template?: string;
name: string;
private?: boolean;
team_id?: number;
};
export type ReposCreateCommitCommentParams = {
body: string;
line?: number;
owner: string;
path?: string;
position?: number;
repo: string;
sha: string;
};
export type ReposCreateDeploymentParams = {
auto_merge?: boolean;
description?: string;
environment?: string;
owner: string;
payload?: string;
production_environment?: boolean;
ref: string;
repo: string;
required_contexts?: string[];
task?: string;
transient_environment?: boolean;
};
export type ReposCreateDeploymentStatusParams = {
auto_inactive?: boolean;
deployment_id: string;
description?: string;
environment_url?: string;
/**
* @deprecated [object Object]
*/
id: string;
log_url?: string;
owner: string;
repo: string;
state: "error" | "failure" | "inactive" | "pending" | "success";
target_url?: string;
};
export type ReposCreateFileParams = {
author?: ReposCreateFileParamsAuthor;
branch?: string;
committer?: ReposCreateFileParamsCommitter;
content: string;
message: string;
owner: string;
path: string;
repo: string;
};
export type ReposCreateForOrgParams = {
allow_merge_commit?: boolean;
allow_rebase_merge?: boolean;
allow_squash_merge?: boolean;
auto_init?: boolean;
description?: string;
gitignore_template?: string;
has_issues?: boolean;
has_projects?: boolean;
has_wiki?: boolean;
homepage?: string;
license_template?: string;
name: string;
org: string;
private?: boolean;
team_id?: number;
};
export type ReposCreateHookParams = {
active?: boolean;
config: ReposCreateHookParamsConfig;
events?: string[];
name: string;
owner: string;
repo: string;
};
export type ReposCreateReleaseParams = {
body?: string;
draft?: boolean;
name?: string;
owner: string;
prerelease?: boolean;
repo: string;
tag_name: string;
target_commitish?: string;
};
export type ReposCreateStatusParams = {
context?: string;
description?: string;
owner: string;
repo: string;
sha: string;
state: "error" | "failure" | "pending" | "success";
target_url?: string;
};
export type ReposDeleteParams = {
owner: string;
repo: string;
};
export type ReposDeleteAssetParams = {
asset_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposDeleteCommitCommentParams = {
comment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposDeleteDeployKeyParams = {
/**
* @deprecated [object Object]
*/
id: string;
key_id: string;
owner: string;
repo: string;
};
export type ReposDeleteDownloadParams = {
download_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposDeleteFileParams = {
author?: ReposDeleteFileParamsAuthor;
branch?: string;
committer?: ReposDeleteFileParamsCommitter;
message: string;
owner: string;
path: string;
repo: string;
sha: string;
};
export type ReposDeleteHookParams = {
hook_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposDeleteInviteParams = {
invitation_id: string;
owner: string;
repo: string;
};
export type ReposDeleteReleaseParams = {
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
release_id: string;
repo: string;
};
export type ReposEditParams = {
allow_merge_commit?: boolean;
allow_rebase_merge?: boolean;
allow_squash_merge?: boolean;
archived?: boolean;
default_branch?: string;
description?: string;
has_issues?: boolean;
has_projects?: boolean;
has_wiki?: boolean;
homepage?: string;
name: string;
owner: string;
private?: boolean;
repo: string;
};
export type ReposEditAssetParams = {
asset_id: string;
/**
* @deprecated [object Object]
*/
id: string;
label?: string;
name?: string;
owner: string;
repo: string;
};
export type ReposEditHookParams = {
active?: boolean;
add_events?: string[];
config?: ReposEditHookParamsConfig;
events?: string[];
hook_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
remove_events?: string[];
repo: string;
};
export type ReposEditReleaseParams = {
body?: string;
draft?: boolean;
/**
* @deprecated [object Object]
*/
id: string;
name?: string;
owner: string;
prerelease?: boolean;
release_id: string;
repo: string;
tag_name?: string;
target_commitish?: string;
};
export type ReposForkParams = {
organization?: string;
owner: string;
repo: string;
};
export type ReposGetParams = {
owner: string;
repo: string;
};
export type ReposGetAllParams = {
affiliation?: "owner" | "collaborator" | "organization_member";
direction?: "asc" | "desc";
page?: number;
per_page?: number;
sort?: "created" | "updated" | "pushed" | "full_name";
type?: "all" | "owner" | "public" | "private" | "member";
visibility?: "all" | "public" | "private";
};
export type ReposGetAllCommitCommentsParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetArchiveLinkParams = {
archive_format: "tarball" | "zipball";
owner: string;
ref: string;
repo: string;
};
export type ReposGetAssetParams = {
asset_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposGetAssetsParams = {
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
page?: number;
per_page?: number;
release_id: string;
repo: string;
};
export type ReposGetBranchParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposGetBranchProtectionParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposGetBranchesParams = {
owner: string;
page?: number;
per_page?: number;
protected?: boolean;
repo: string;
};
export type ReposGetByIdParams = {
id: string;
};
export type ReposGetClonesParams = {
owner: string;
per?: "day" | "week";
repo: string;
};
export type ReposGetCollaboratorsParams = {
affiliation?: "outside" | "direct" | "all";
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetCombinedStatusForRefParams = {
owner: string;
ref: string;
repo: string;
};
export type ReposGetCommitParams = {
owner: string;
repo: string;
sha: string;
};
export type ReposGetCommitCommentParams = {
comment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposGetCommitCommentsParams = {
owner: string;
page?: number;
per_page?: number;
ref: string;
repo: string;
};
export type ReposGetCommitsParams = {
author?: string;
owner: string;
page?: number;
path?: string;
per_page?: number;
repo: string;
sha?: string;
since?: string;
until?: string;
};
export type ReposGetCommunityProfileMetricsParams = {
/**
* @deprecated [object Object]
*/
name: string;
owner: string;
repo: string;
};
export type ReposGetContentParams = {
owner: string;
path: string;
ref?: string;
repo: string;
};
export type ReposGetContributorsParams = {
anon?: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetDeployKeyParams = {
/**
* @deprecated [object Object]
*/
id: string;
key_id: string;
owner: string;
repo: string;
};
export type ReposGetDeployKeysParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetDeploymentParams = {
deployment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposGetDeploymentStatusParams = {
deployment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
status_id: number;
};
export type ReposGetDeploymentStatusesParams = {
deployment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetDeploymentsParams = {
environment?: string;
owner: string;
page?: number;
per_page?: number;
ref?: string;
repo: string;
sha?: string;
task?: string;
};
export type ReposGetDownloadParams = {
download_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposGetDownloadsParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetForOrgParams = {
org: string;
page?: number;
per_page?: number;
type?: "all" | "public" | "private" | "forks" | "sources" | "member";
};
export type ReposGetForUserParams = {
direction?: "asc" | "desc";
page?: number;
per_page?: number;
sort?: "created" | "updated" | "pushed" | "full_name";
type?: "all" | "owner" | "member";
username: string;
};
export type ReposGetForksParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
sort?: "newest" | "oldest" | "stargazers";
};
export type ReposGetHookParams = {
hook_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposGetHooksParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetInvitesParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetLanguagesParams = {
owner: string;
repo: string;
};
export type ReposGetLatestPagesBuildParams = {
owner: string;
repo: string;
};
export type ReposGetLatestReleaseParams = {
owner: string;
repo: string;
};
export type ReposGetPagesParams = {
owner: string;
repo: string;
};
export type ReposGetPagesBuildParams = {
build_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposGetPagesBuildsParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetPathsParams = {
owner: string;
repo: string;
};
export type ReposGetProtectedBranchAdminEnforcementParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposGetProtectedBranchPullRequestReviewEnforcementParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposGetProtectedBranchRequiredSignaturesParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposGetProtectedBranchRequiredStatusChecksParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposGetProtectedBranchRequiredStatusChecksContextsParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposGetProtectedBranchRestrictionsParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposGetProtectedBranchTeamRestrictionsParams = {
branch: string;
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetProtectedBranchUserRestrictionsParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposGetPublicParams = {
page?: number;
per_page?: number;
since?: string;
};
export type ReposGetReadmeParams = {
owner: string;
ref?: string;
repo: string;
};
export type ReposGetReferrersParams = {
owner: string;
repo: string;
};
export type ReposGetReleaseParams = {
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
release_id: string;
repo: string;
};
export type ReposGetReleaseByTagParams = {
owner: string;
repo: string;
tag: string;
};
export type ReposGetReleasesParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetShaOfCommitRefParams = {
owner: string;
ref: string;
repo: string;
};
export type ReposGetStatsCodeFrequencyParams = {
owner: string;
repo: string;
};
export type ReposGetStatsCommitActivityParams = {
owner: string;
repo: string;
};
export type ReposGetStatsContributorsParams = {
owner: string;
repo: string;
};
export type ReposGetStatsParticipationParams = {
owner: string;
repo: string;
};
export type ReposGetStatsPunchCardParams = {
owner: string;
repo: string;
};
export type ReposGetStatusesParams = {
owner: string;
page?: number;
per_page?: number;
ref: string;
repo: string;
};
export type ReposGetTagsParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetTeamsParams = {
owner: string;
page?: number;
per_page?: number;
repo: string;
};
export type ReposGetTopicsParams = {
owner: string;
repo: string;
};
export type ReposGetViewsParams = {
owner: string;
per?: "day" | "week";
repo: string;
};
export type ReposMergeParams = {
base: string;
commit_message?: string;
head: string;
owner: string;
repo: string;
};
export type ReposPingHookParams = {
hook_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposRemoveBranchProtectionParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposRemoveCollaboratorParams = {
owner: string;
repo: string;
username: string;
};
export type ReposRemoveProtectedBranchAdminEnforcementParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposRemoveProtectedBranchPullRequestReviewEnforcementParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposRemoveProtectedBranchRequiredSignaturesParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposRemoveProtectedBranchRequiredStatusChecksParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposRemoveProtectedBranchRequiredStatusChecksContextsParams = {
branch: string;
contexts: string[];
owner: string;
repo: string;
};
export type ReposRemoveProtectedBranchRestrictionsParams = {
branch: string;
owner: string;
repo: string;
};
export type ReposRemoveProtectedBranchTeamRestrictionsParams = {
branch: string;
owner: string;
repo: string;
teams: string[];
};
export type ReposRemoveProtectedBranchUserRestrictionsParams = {
branch: string;
owner: string;
repo: string;
users: string[];
};
export type ReposReplaceProtectedBranchRequiredStatusChecksContextsParams = {
branch: string;
contexts: string[];
owner: string;
repo: string;
};
export type ReposReplaceProtectedBranchTeamRestrictionsParams = {
branch: string;
owner: string;
repo: string;
teams: string[];
};
export type ReposReplaceProtectedBranchUserRestrictionsParams = {
branch: string;
owner: string;
repo: string;
users: string[];
};
export type ReposReplaceTopicsParams = {
names: string[];
owner: string;
repo: string;
};
export type ReposRequestPageBuildParams = {
owner: string;
repo: string;
};
export type ReposReviewUserPermissionLevelParams = {
owner: string;
repo: string;
username: string;
};
export type ReposTestHookParams = {
hook_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposTransferParams = {
new_owner?: string;
owner: string;
repo: string;
/**
* @deprecated [object Object]
*/
team_id?: number[];
team_ids?: number[];
};
export type ReposUpdateBranchProtectionParams = {
branch: string;
enforce_admins: boolean;
owner: string;
repo: string;
required_pull_request_reviews: ReposUpdateBranchProtectionParamsRequiredPullRequestReviews;
required_status_checks: ReposUpdateBranchProtectionParamsRequiredStatusChecks;
restrictions: ReposUpdateBranchProtectionParamsRestrictions;
};
export type ReposUpdateCommitCommentParams = {
body: string;
comment_id: string;
/**
* @deprecated [object Object]
*/
id: string;
owner: string;
repo: string;
};
export type ReposUpdateFileParams = {
author?: ReposUpdateFileParamsAuthor;
branch?: string;
committer?: ReposUpdateFileParamsCommitter;
content: string;
message: string;
owner: string;
path: string;
repo: string;
sha: string;
};
export type ReposUpdateInviteParams = {
invitation_id: string;
owner: string;
permissions?: "read" | "write" | "admin";
repo: string;
};
export type ReposUpdateProtectedBranchPullRequestReviewEnforcementParams = {
branch: string;
dismiss_stale_reviews?: boolean;
dismissal_restrictions?: ReposUpdateProtectedBranchPullRequestReviewEnforcementParamsDismissalRestrictions;
owner: string;
repo: string;
require_code_owner_reviews?: boolean;
required_approving_review_count?: number;
};
export type ReposUpdateProtectedBranchRequiredStatusChecksParams = {
branch: string;
contexts?: string[];
owner: string;
repo: string;
strict?: boolean;
};
export type ReposUploadAssetParams = {
contentLength: number;
contentType: string;
file: string | object;
label?: string;
name: string;
url: string;
};
export type SearchCodeParams = {
order?: "asc" | "desc";
page?: number;
per_page?: number;
q: string;
sort?: "indexed";
};
export type SearchCommitsParams = {
order?: "asc" | "desc";
page?: number;
per_page?: number;
q: string;
sort?: "author-date" | "committer-date";
};
export type SearchIssuesParams = {
order?: "asc" | "desc";
page?: number;
per_page?: number;
q: string;
sort?: "comments" | "created" | "updated";
};
export type SearchLabelsParams = {
order?: "asc" | "desc";
q: string;
repository_id: number;
sort?: "created" | "updated";
};
export type SearchReposParams = {
order?: "asc" | "desc";
page?: number;
per_page?: number;
q: string;
sort?: "stars" | "forks" | "updated";
};
export type SearchTopicsParams = {
q: string;
};
export type SearchUsersParams = {
order?: "asc" | "desc";
page?: number;
per_page?: number;
q: string;
sort?: "followers" | "repositories" | "joined";
};
export type UsersAcceptRepoInviteParams = {
invitation_id: string;
};
export type UsersAddEmailsParams = {
emails: string[];
};
export type UsersAddRepoToInstallationParams = {
installation_id: string;
repository_id: string;
};
export type UsersBlockUserParams = {
username: string;
};
export type UsersCheckBlockedUserParams = {
username: string;
};
export type UsersCheckFollowingParams = {
username: string;
};
export type UsersCheckIfOneFollowersOtherParams = {
target_user: string;
username: string;
};
export type UsersDeclineRepoInviteParams = {
invitation_id: string;
};
export type UsersDeleteEmailsParams = {
emails: string[];
};
export type UsersDeleteGpgKeyParams = {
gpg_key_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type UsersDeleteKeyParams = {
/**
* @deprecated [object Object]
*/
id: string;
key_id: string;
};
export type UsersDemoteParams = {
username: string;
};
export type UsersEditOrgMembershipParams = {
org: string;
state: "active";
};
export type UsersFollowUserParams = {
username: string;
};
export type UsersGetAllParams = {
page?: number;
per_page?: number;
since?: string;
};
export type UsersGetByIdParams = {
id: string;
};
export type UsersGetContextForUserParams = {
subject_id?: string;
subject_type?: "organization" | "repository" | "issue" | "pull_request";
username: string;
};
export type UsersGetEmailsParams = {
page?: number;
per_page?: number;
};
export type UsersGetFollowersParams = {
page?: number;
per_page?: number;
};
export type UsersGetFollowersForUserParams = {
page?: number;
per_page?: number;
username: string;
};
export type UsersGetFollowingParams = {
page?: number;
per_page?: number;
};
export type UsersGetFollowingForUserParams = {
page?: number;
per_page?: number;
username: string;
};
export type UsersGetForUserParams = {
username: string;
};
export type UsersGetGpgKeyParams = {
gpg_key_id: string;
/**
* @deprecated [object Object]
*/
id: string;
};
export type UsersGetGpgKeysParams = {
page?: number;
per_page?: number;
};
export type UsersGetGpgKeysForUserParams = {
page?: number;
per_page?: number;
username: string;
};
export type UsersGetInstallationReposParams = {
installation_id: string;
page?: number;
per_page?: number;
};
export type UsersGetInstallationsParams = {
page?: number;
per_page?: number;
};
export type UsersGetKeyParams = {
/**
* @deprecated [object Object]
*/
id: string;
key_id: string;
};
export type UsersGetKeysParams = {
page?: number;
per_page?: number;
};
export type UsersGetKeysForUserParams = {
page?: number;
per_page?: number;
username: string;
};
export type UsersGetMarketplacePurchasesParams = {
page?: number;
per_page?: number;
};
export type UsersGetMarketplaceStubbedPurchasesParams = {
page?: number;
per_page?: number;
};
export type UsersGetOrgMembershipParams = {
org: string;
};
export type UsersGetOrgMembershipsParams = {
page?: number;
per_page?: number;
state?: "active" | "pending";
};
export type UsersGetOrgsParams = {
page?: number;
per_page?: number;
};
export type UsersGetPublicEmailsParams = {
page?: number;
per_page?: number;
};
export type UsersGetRepoInvitesParams = {
page?: number;
per_page?: number;
};
export type UsersGetTeamsParams = {
page?: number;
per_page?: number;
};
export type UsersPromoteParams = {
username: string;
};
export type UsersRemoveRepoFromInstallationParams = {
installation_id: string;
repository_id: string;
};
export type UsersSuspendParams = {
username: string;
};
export type UsersTogglePrimaryEmailVisibilityParams = {
email: string;
visibility: string;
};
export type UsersUnblockUserParams = {
username: string;
};
export type UsersUnfollowUserParams = {
username: string;
};
export type UsersUnsuspendParams = {
username: string;
};
export type UsersUpdateParams = {
bio?: string;
blog?: string;
company?: string;
email?: string;
hireable?: boolean;
location?: string;
name?: string;
};
export type ChecksCreateParamsActions = {
description: string;
identifier: string;
label: string;
};
export type ChecksCreateParamsOutput = {
annotations?: ChecksCreateParamsOutputAnnotations[];
images?: ChecksCreateParamsOutputImages[];
summary: string;
text?: string;
title: string;
};
export type ChecksCreateParamsOutputAnnotations = {
blob_href: string;
end_line: number;
filename: string;
message: string;
raw_details?: string;
start_line: number;
title?: string;
warning_level: "notice" | "warning" | "failure";
};
export type ChecksCreateParamsOutputImages = {
alt: string;
caption?: string;
image_url: string;
};
export type ChecksSetSuitesPreferencesParamsAutoTriggerChecks = {
app_id: number;
setting: boolean;
};
export type ChecksUpdateParamsActions = {
description: string;
identifier: string;
label: string;
};
export type ChecksUpdateParamsOutput = {
annotations?: ChecksUpdateParamsOutputAnnotations[];
images?: ChecksUpdateParamsOutputImages[];
summary: string;
text?: string;
title?: string;
};
export type ChecksUpdateParamsOutputAnnotations = {
blob_href: string;
end_line: number;
filename: string;
message: string;
raw_details?: string;
start_line: number;
title?: string;
warning_level: "notice" | "warning" | "failure";
};
export type ChecksUpdateParamsOutputImages = {
alt: string;
caption?: string;
image_url: string;
};
export type EnterpriseCreatePreReceiveHookParamsEnvironment = {};
export type EnterpriseCreatePreReceiveHookParamsScriptRepository = {};
export type EnterpriseEditPreReceiveHookParamsHook = {};
export type GistsCreateParamsFiles = {};
export type GistsEditParamsFiles = {};
export type GitdataCreateCommitParamsAuthor = {};
export type GitdataCreateCommitParamsCommitter = {};
export type GitdataCreateTagParamsTagger = {
date?: string;
email?: string;
name?: string;
};
export type GitdataCreateTreeParamsTree = {
content?: string;
mode?: "100644" | "100755" | "040000" | "160000" | "120000";
path?: string;
sha?: string;
type?: "blob" | "tree" | "commit";
};
export type OrgsCreateHookParamsConfig = {
content_type?: string;
insecure_ssl?: string;
secret?: string;
url: string;
};
export type OrgsEditHookParamsConfig = {
content_type?: string;
insecure_ssl?: string;
secret?: string;
url: string;
};
export type PullRequestsCreateReviewParamsComments = {
body?: string;
path?: string;
position?: number;
};
export type ReposCreateFileParamsAuthor = {};
export type ReposCreateFileParamsCommitter = {};
export type ReposCreateHookParamsConfig = {
content_type?: string;
insecure_ssl?: string;
secret?: string;
url: string;
};
export type ReposDeleteFileParamsAuthor = {};
export type ReposDeleteFileParamsCommitter = {};
export type ReposEditHookParamsConfig = {
content_type?: string;
insecure_ssl?: string;
secret?: string;
url: string;
};
export type ReposUpdateBranchProtectionParamsRequiredPullRequestReviews = {
dismiss_stale_reviews?: boolean;
dismissal_restrictions?: ReposUpdateBranchProtectionParamsRequiredPullRequestReviewsDismissalRestrictions;
require_code_owner_reviews?: boolean;
required_approving_review_count?: number;
};
export type ReposUpdateBranchProtectionParamsRequiredPullRequestReviewsDismissalRestrictions = {
teams?: string[];
users?: string[];
};
export type ReposUpdateBranchProtectionParamsRequiredStatusChecks = {
contexts: string[];
strict: boolean;
};
export type ReposUpdateBranchProtectionParamsRestrictions = {
teams?: string[];
users?: string[];
};
export type ReposUpdateFileParamsAuthor = {};
export type ReposUpdateFileParamsCommitter = {};
export type ReposUpdateProtectedBranchPullRequestReviewEnforcementParamsDismissalRestrictions = {
teams?: string[];
users?: string[];
};
export type ReposUploadAssetParamsHeaders = {
"content-length": number;
"content-type": string;
};
}
declare class Github {
constructor(options?: Github.Options);
authenticate(auth: Github.Auth): void;
hasNextPage(link: Github.Link): string | undefined;
hasPreviousPage(link: Github.Link): string | undefined;
hasLastPage(link: Github.Link): string | undefined;
hasFirstPage(link: Github.Link): string | undefined;
getNextPage(
link: Github.Link,
callback?: Github.Callback
): Promise<Github.AnyResponse>;
getNextPage(
link: Github.Link,
headers?: { [header: string]: any },
callback?: Github.Callback
): Promise<Github.AnyResponse>;
getPreviousPage(
link: Github.Link,
callback?: Github.Callback
): Promise<Github.AnyResponse>;
getPreviousPage(
link: Github.Link,
headers?: { [header: string]: any },
callback?: Github.Callback
): Promise<Github.AnyResponse>;
getLastPage(
link: Github.Link,
callback?: Github.Callback
): Promise<Github.AnyResponse>;
getLastPage(
link: Github.Link,
headers?: { [header: string]: any },
callback?: Github.Callback
): Promise<Github.AnyResponse>;
getFirstPage(
link: Github.Link,
callback?: Github.Callback
): Promise<Github.AnyResponse>;
getFirstPage(
link: Github.Link,
headers?: { [header: string]: any },
callback?: Github.Callback
): Promise<Github.AnyResponse>;
activity: {
checkNotificationThreadSubscription(
params: Github.ActivityCheckNotificationThreadSubscriptionParams,
callback?: Github.Callback
): Promise<GitHub.Response<CheckNotificationThreadSubscriptionResponse>>;
checkStarringRepo(
params: Github.ActivityCheckStarringRepoParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
deleteNotificationThreadSubscription(
params: Github.ActivityDeleteNotificationThreadSubscriptionParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteNotificationThreadSubscriptionResponse>>;
getEvents(
params: Github.ActivityGetEventsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getEventsForOrg(
params: Github.ActivityGetEventsForOrgParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getEventsForRepo(
params: Github.ActivityGetEventsForRepoParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getEventsForRepoIssues(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getEventsForRepoNetwork(
params: Github.ActivityGetEventsForRepoNetworkParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getEventsForUser(
params: Github.ActivityGetEventsForUserParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getEventsForUserOrg(
params: Github.ActivityGetEventsForUserOrgParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getEventsForUserPublic(
params: Github.ActivityGetEventsForUserPublicParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getEventsReceived(
params: Github.ActivityGetEventsReceivedParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getEventsReceivedPublic(
params: Github.ActivityGetEventsReceivedPublicParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getFeeds(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetFeedsResponse>>;
getNotificationThread(
params: Github.ActivityGetNotificationThreadParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetNotificationThreadResponse>>;
getNotifications(
params: Github.ActivityGetNotificationsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetNotificationsResponse>>;
getNotificationsForUser(
params: Github.ActivityGetNotificationsForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetNotificationsForUserResponse>>;
getRepoSubscription(
params: Github.ActivityGetRepoSubscriptionParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getStargazersForRepo(
params: Github.ActivityGetStargazersForRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStargazersForRepoResponse>>;
getStarredRepos(
params: Github.ActivityGetStarredReposParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStarredReposResponse>>;
getStarredReposForUser(
params: Github.ActivityGetStarredReposForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStarredReposForUserResponse>>;
getWatchedRepos(
params: Github.ActivityGetWatchedReposParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetWatchedReposResponse>>;
getWatchedReposForUser(
params: Github.ActivityGetWatchedReposForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetWatchedReposForUserResponse>>;
getWatchersForRepo(
params: Github.ActivityGetWatchersForRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetWatchersForRepoResponse>>;
markNotificationThreadAsRead(
params: Github.ActivityMarkNotificationThreadAsReadParams,
callback?: Github.Callback
): Promise<GitHub.Response<MarkNotificationThreadAsReadResponse>>;
markNotificationsAsRead(
params: Github.ActivityMarkNotificationsAsReadParams,
callback?: Github.Callback
): Promise<GitHub.Response<MarkNotificationsAsReadResponse>>;
markNotificationsAsReadForRepo(
params: Github.ActivityMarkNotificationsAsReadForRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<MarkNotificationsAsReadForRepoResponse>>;
setNotificationThreadSubscription(
params: Github.ActivitySetNotificationThreadSubscriptionParams,
callback?: Github.Callback
): Promise<GitHub.Response<SetNotificationThreadSubscriptionResponse>>;
setRepoSubscription(
params: Github.ActivitySetRepoSubscriptionParams,
callback?: Github.Callback
): Promise<GitHub.Response<SetRepoSubscriptionResponse>>;
starRepo(
params: Github.ActivityStarRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<StarRepoResponse>>;
unstarRepo(
params: Github.ActivityUnstarRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<UnstarRepoResponse>>;
unwatchRepo(
params: Github.ActivityUnwatchRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<UnwatchRepoResponse>>;
};
apps: {
addRepoToInstallation(
params: Github.AppsAddRepoToInstallationParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddRepoToInstallationResponse>>;
checkMarketplaceListingAccount(
params: Github.AppsCheckMarketplaceListingAccountParams,
callback?: Github.Callback
): Promise<GitHub.Response<CheckMarketplaceListingAccountResponse>>;
checkMarketplaceListingStubbedAccount(
params: Github.AppsCheckMarketplaceListingStubbedAccountParams,
callback?: Github.Callback
): Promise<GitHub.Response<CheckMarketplaceListingStubbedAccountResponse>>;
createInstallationToken(
params: Github.AppsCreateInstallationTokenParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateInstallationTokenResponse>>;
findOrgInstallation(
params: Github.AppsFindOrgInstallationParams,
callback?: Github.Callback
): Promise<GitHub.Response<FindOrgInstallationResponse>>;
findRepoInstallation(
params: Github.AppsFindRepoInstallationParams,
callback?: Github.Callback
): Promise<GitHub.Response<FindRepoInstallationResponse>>;
findUserInstallation(
params: Github.AppsFindUserInstallationParams,
callback?: Github.Callback
): Promise<GitHub.Response<FindUserInstallationResponse>>;
get(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetResponse>>;
getForSlug(
params: Github.AppsGetForSlugParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForSlugResponse>>;
getInstallation(
params: Github.AppsGetInstallationParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetInstallationResponse>>;
getInstallationRepositories(
params: Github.AppsGetInstallationRepositoriesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetInstallationRepositoriesResponse>>;
getInstallations(
params: Github.AppsGetInstallationsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetInstallationsResponse>>;
getMarketplaceListingPlanAccounts(
params: Github.AppsGetMarketplaceListingPlanAccountsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMarketplaceListingPlanAccountsResponse>>;
getMarketplaceListingPlans(
params: Github.AppsGetMarketplaceListingPlansParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMarketplaceListingPlansResponse>>;
getMarketplaceListingStubbedPlanAccounts(
params: Github.AppsGetMarketplaceListingStubbedPlanAccountsParams,
callback?: Github.Callback
): Promise<
GitHub.Response<GetMarketplaceListingStubbedPlanAccountsResponse>
>;
getMarketplaceListingStubbedPlans(
params: Github.AppsGetMarketplaceListingStubbedPlansParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMarketplaceListingStubbedPlansResponse>>;
removeRepoFromInstallation(
params: Github.AppsRemoveRepoFromInstallationParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveRepoFromInstallationResponse>>;
};
authorization: {
check(
params: Github.AuthorizationCheckParams,
callback?: Github.Callback
): Promise<GitHub.Response<CheckResponse>>;
create(
params: Github.AuthorizationCreateParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateResponse>>;
delete(
params: Github.AuthorizationDeleteParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteResponse>>;
deleteGrant(
params: Github.AuthorizationDeleteGrantParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteGrantResponse>>;
get(
params: Github.AuthorizationGetParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetResponse>>;
getAll(
params: Github.AuthorizationGetAllParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetAllResponse>>;
getGrant(
params: Github.AuthorizationGetGrantParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetGrantResponse>>;
getGrants(
params: Github.AuthorizationGetGrantsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetGrantsResponse>>;
getOrCreateAuthorizationForApp(
params: Github.AuthorizationGetOrCreateAuthorizationForAppParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getOrCreateAuthorizationForAppAndFingerprint(
params: Github.AuthorizationGetOrCreateAuthorizationForAppAndFingerprintParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
reset(
params: Github.AuthorizationResetParams,
callback?: Github.Callback
): Promise<GitHub.Response<ResetResponse>>;
revoke(
params: Github.AuthorizationRevokeParams,
callback?: Github.Callback
): Promise<GitHub.Response<RevokeResponse>>;
revokeGrant(
params: Github.AuthorizationRevokeGrantParams,
callback?: Github.Callback
): Promise<GitHub.Response<RevokeGrantResponse>>;
update(
params: Github.AuthorizationUpdateParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateResponse>>;
};
checks: {
create(
params: Github.ChecksCreateParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateResponse>>;
createSuite(
params: Github.ChecksCreateSuiteParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateSuiteResponse>>;
get(
params: Github.ChecksGetParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetResponse>>;
getSuite(
params: Github.ChecksGetSuiteParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetSuiteResponse>>;
listAnnotations(
params: Github.ChecksListAnnotationsParams,
callback?: Github.Callback
): Promise<GitHub.Response<ListAnnotationsResponse>>;
listForRef(
params: Github.ChecksListForRefParams,
callback?: Github.Callback
): Promise<GitHub.Response<ListForRefResponse>>;
listForSuite(
params: Github.ChecksListForSuiteParams,
callback?: Github.Callback
): Promise<GitHub.Response<ListForSuiteResponse>>;
listSuitesForRef(
params: Github.ChecksListSuitesForRefParams,
callback?: Github.Callback
): Promise<GitHub.Response<ListSuitesForRefResponse>>;
requestSuites(
params: Github.ChecksRequestSuitesParams,
callback?: Github.Callback
): Promise<GitHub.Response<RequestSuitesResponse>>;
setSuitesPreferences(
params: Github.ChecksSetSuitesPreferencesParams,
callback?: Github.Callback
): Promise<GitHub.Response<SetSuitesPreferencesResponse>>;
update(
params: Github.ChecksUpdateParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateResponse>>;
};
enterprise: {
createOrg(
params: Github.EnterpriseCreateOrgParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
createPreReceiveEnvironment(
params: Github.EnterpriseCreatePreReceiveEnvironmentParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
createPreReceiveHook(
params: Github.EnterpriseCreatePreReceiveHookParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
deletePreReceiveEnvironment(
params: Github.EnterpriseDeletePreReceiveEnvironmentParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
deletePreReceiveHook(
params: Github.EnterpriseDeletePreReceiveHookParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
editPreReceiveEnvironment(
params: Github.EnterpriseEditPreReceiveEnvironmentParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
editPreReceiveHook(
params: Github.EnterpriseEditPreReceiveHookParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getLicense(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getPreReceiveEnvironment(
params: Github.EnterpriseGetPreReceiveEnvironmentParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getPreReceiveEnvironmentDownloadStatus(
params: Github.EnterpriseGetPreReceiveEnvironmentDownloadStatusParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getPreReceiveEnvironments(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getPreReceiveHook(
params: Github.EnterpriseGetPreReceiveHookParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getPreReceiveHooks(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
queueIndexingJob(
params: Github.EnterpriseQueueIndexingJobParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
stats(
params: Github.EnterpriseStatsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
syncLdapForTeam(
params: Github.EnterpriseSyncLdapForTeamParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
syncLdapForUser(
params: Github.EnterpriseSyncLdapForUserParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
triggerPreReceiveEnvironmentDownload(
params: Github.EnterpriseTriggerPreReceiveEnvironmentDownloadParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
updateLdapForTeam(
params: Github.EnterpriseUpdateLdapForTeamParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
updateLdapForUser(
params: Github.EnterpriseUpdateLdapForUserParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
};
gists: {
checkStar(
params: Github.GistsCheckStarParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
create(
params: Github.GistsCreateParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateResponse>>;
createComment(
params: Github.GistsCreateCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateCommentResponse>>;
delete(
params: Github.GistsDeleteParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteResponse>>;
deleteComment(
params: Github.GistsDeleteCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteCommentResponse>>;
edit(
params: Github.GistsEditParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditResponse>>;
editComment(
params: Github.GistsEditCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditCommentResponse>>;
fork(
params: Github.GistsForkParams,
callback?: Github.Callback
): Promise<GitHub.Response<ForkResponse>>;
get(
params: Github.GistsGetParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetResponse>>;
getAll(
params: Github.GistsGetAllParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetAllResponse>>;
getComment(
params: Github.GistsGetCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommentResponse>>;
getComments(
params: Github.GistsGetCommentsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommentsResponse>>;
getCommits(
params: Github.GistsGetCommitsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommitsResponse>>;
getForUser(
params: Github.GistsGetForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForUserResponse>>;
getForks(
params: Github.GistsGetForksParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForksResponse>>;
getPublic(
params: Github.GistsGetPublicParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetPublicResponse>>;
getRevision(
params: Github.GistsGetRevisionParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetRevisionResponse>>;
getStarred(
params: Github.GistsGetStarredParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStarredResponse>>;
star(
params: Github.GistsStarParams,
callback?: Github.Callback
): Promise<GitHub.Response<StarResponse>>;
unstar(
params: Github.GistsUnstarParams,
callback?: Github.Callback
): Promise<GitHub.Response<UnstarResponse>>;
};
gitdata: {
createBlob(
params: Github.GitdataCreateBlobParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateBlobResponse>>;
createCommit(
params: Github.GitdataCreateCommitParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateCommitResponse>>;
createReference(
params: Github.GitdataCreateReferenceParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateReferenceResponse>>;
createTag(
params: Github.GitdataCreateTagParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateTagResponse>>;
createTree(
params: Github.GitdataCreateTreeParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateTreeResponse>>;
deleteReference(
params: Github.GitdataDeleteReferenceParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteReferenceResponse>>;
getBlob(
params: Github.GitdataGetBlobParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetBlobResponse>>;
getCommit(
params: Github.GitdataGetCommitParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommitResponse>>;
getCommitSignatureVerification(
params: Github.GitdataGetCommitSignatureVerificationParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommitSignatureVerificationResponse>>;
getReference(
params: Github.GitdataGetReferenceParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getReferences(
params: Github.GitdataGetReferencesParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getTag(
params: Github.GitdataGetTagParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetTagResponse>>;
getTagSignatureVerification(
params: Github.GitdataGetTagSignatureVerificationParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetTagSignatureVerificationResponse>>;
getTags(
params: Github.GitdataGetTagsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getTree(
params: Github.GitdataGetTreeParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
updateReference(
params: Github.GitdataUpdateReferenceParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateReferenceResponse>>;
};
integrations: {
addRepoToInstallation(
params: Github.IntegrationsAddRepoToInstallationParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
createInstallationToken(
params: Github.IntegrationsCreateInstallationTokenParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getInstallationRepositories(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getInstallations(
params: Github.IntegrationsGetInstallationsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
removeRepoFromInstallation(
params: Github.IntegrationsRemoveRepoFromInstallationParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
};
issues: {
addAssigneesToIssue(
params: Github.IssuesAddAssigneesToIssueParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddAssigneesToIssueResponse>>;
addLabels(
params: Github.IssuesAddLabelsParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddLabelsResponse>>;
checkAssignee(
params: Github.IssuesCheckAssigneeParams,
callback?: Github.Callback
): Promise<GitHub.Response<CheckAssigneeResponse>>;
create(
params: Github.IssuesCreateParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateResponse>>;
createComment(
params: Github.IssuesCreateCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateCommentResponse>>;
createLabel(
params: Github.IssuesCreateLabelParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateLabelResponse>>;
createMilestone(
params: Github.IssuesCreateMilestoneParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateMilestoneResponse>>;
deleteComment(
params: Github.IssuesDeleteCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteCommentResponse>>;
deleteLabel(
params: Github.IssuesDeleteLabelParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteLabelResponse>>;
deleteMilestone(
params: Github.IssuesDeleteMilestoneParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteMilestoneResponse>>;
edit(
params: Github.IssuesEditParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditResponse>>;
editComment(
params: Github.IssuesEditCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditCommentResponse>>;
get(
params: Github.IssuesGetParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetResponse>>;
getAll(
params: Github.IssuesGetAllParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetAllResponse>>;
getAssignees(
params: Github.IssuesGetAssigneesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetAssigneesResponse>>;
getComment(
params: Github.IssuesGetCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommentResponse>>;
getComments(
params: Github.IssuesGetCommentsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommentsResponse>>;
getCommentsForRepo(
params: Github.IssuesGetCommentsForRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommentsForRepoResponse>>;
getEvent(
params: Github.IssuesGetEventParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetEventResponse>>;
getEvents(
params: Github.IssuesGetEventsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetEventsResponse>>;
getEventsForRepo(
params: Github.IssuesGetEventsForRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetEventsForRepoResponse>>;
getEventsTimeline(
params: Github.IssuesGetEventsTimelineParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetEventsTimelineResponse>>;
getForOrg(
params: Github.IssuesGetForOrgParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForOrgResponse>>;
getForRepo(
params: Github.IssuesGetForRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForRepoResponse>>;
getForUser(
params: Github.IssuesGetForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForUserResponse>>;
getIssueLabels(
params: Github.IssuesGetIssueLabelsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetIssueLabelsResponse>>;
getLabel(
params: Github.IssuesGetLabelParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetLabelResponse>>;
getLabels(
params: Github.IssuesGetLabelsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetLabelsResponse>>;
getMilestone(
params: Github.IssuesGetMilestoneParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMilestoneResponse>>;
getMilestoneLabels(
params: Github.IssuesGetMilestoneLabelsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMilestoneLabelsResponse>>;
getMilestones(
params: Github.IssuesGetMilestonesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMilestonesResponse>>;
lock(
params: Github.IssuesLockParams,
callback?: Github.Callback
): Promise<GitHub.Response<LockResponse>>;
removeAllLabels(
params: Github.IssuesRemoveAllLabelsParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveAllLabelsResponse>>;
removeAssigneesFromIssue(
params: Github.IssuesRemoveAssigneesFromIssueParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveAssigneesFromIssueResponse>>;
removeLabel(
params: Github.IssuesRemoveLabelParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
replaceAllLabels(
params: Github.IssuesReplaceAllLabelsParams,
callback?: Github.Callback
): Promise<GitHub.Response<ReplaceAllLabelsResponse>>;
unlock(
params: Github.IssuesUnlockParams,
callback?: Github.Callback
): Promise<GitHub.Response<UnlockResponse>>;
updateLabel(
params: Github.IssuesUpdateLabelParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateLabelResponse>>;
updateMilestone(
params: Github.IssuesUpdateMilestoneParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateMilestoneResponse>>;
};
migrations: {
cancelImport(
params: Github.MigrationsCancelImportParams,
callback?: Github.Callback
): Promise<GitHub.Response<CancelImportResponse>>;
deleteArchiveForAuthenticatedUser(
params: Github.MigrationsDeleteArchiveForAuthenticatedUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteArchiveForAuthenticatedUserResponse>>;
deleteMigrationArchive(
params: Github.MigrationsDeleteMigrationArchiveParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteMigrationArchiveResponse>>;
getArchiveForAuthenticatedUser(
params: Github.MigrationsGetArchiveForAuthenticatedUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetArchiveForAuthenticatedUserResponse>>;
getImportCommitAuthors(
params: Github.MigrationsGetImportCommitAuthorsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetImportCommitAuthorsResponse>>;
getImportProgress(
params: Github.MigrationsGetImportProgressParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetImportProgressResponse>>;
getLargeImportFiles(
params: Github.MigrationsGetLargeImportFilesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetLargeImportFilesResponse>>;
getMigrationArchiveLink(
params: Github.MigrationsGetMigrationArchiveLinkParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMigrationArchiveLinkResponse>>;
getMigrationStatus(
params: Github.MigrationsGetMigrationStatusParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMigrationStatusResponse>>;
getMigrations(
params: Github.MigrationsGetMigrationsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMigrationsResponse>>;
getStatusForAuthenticatedUser(
params: Github.MigrationsGetStatusForAuthenticatedUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStatusForAuthenticatedUserResponse>>;
listForAuthenticatedUser(
params: Github.MigrationsListForAuthenticatedUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<ListForAuthenticatedUserResponse>>;
mapImportCommitAuthor(
params: Github.MigrationsMapImportCommitAuthorParams,
callback?: Github.Callback
): Promise<GitHub.Response<MapImportCommitAuthorResponse>>;
setImportLfsPreference(
params: Github.MigrationsSetImportLfsPreferenceParams,
callback?: Github.Callback
): Promise<GitHub.Response<SetImportLfsPreferenceResponse>>;
startForAuthenticatedUser(
params: Github.MigrationsStartForAuthenticatedUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<StartForAuthenticatedUserResponse>>;
startImport(
params: Github.MigrationsStartImportParams,
callback?: Github.Callback
): Promise<GitHub.Response<StartImportResponse>>;
startMigration(
params: Github.MigrationsStartMigrationParams,
callback?: Github.Callback
): Promise<GitHub.Response<StartMigrationResponse>>;
unlockRepoForAuthenticatedUser(
params: Github.MigrationsUnlockRepoForAuthenticatedUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<UnlockRepoForAuthenticatedUserResponse>>;
unlockRepoLockedForMigration(
params: Github.MigrationsUnlockRepoLockedForMigrationParams,
callback?: Github.Callback
): Promise<GitHub.Response<UnlockRepoLockedForMigrationResponse>>;
updateImport(
params: Github.MigrationsUpdateImportParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateImportResponse>>;
};
misc: {
getCodeOfConduct(
params: Github.MiscGetCodeOfConductParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCodeOfConductResponse>>;
getCodesOfConduct(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCodesOfConductResponse>>;
getEmojis(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getGitignoreTemplate(
params: Github.MiscGetGitignoreTemplateParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetGitignoreTemplateResponse>>;
getGitignoreTemplates(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetGitignoreTemplatesResponse>>;
getLicense(
params: Github.MiscGetLicenseParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetLicenseResponse>>;
getLicenses(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetLicensesResponse>>;
getMeta(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getRateLimit(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetRateLimitResponse>>;
getRepoCodeOfConduct(
params: Github.MiscGetRepoCodeOfConductParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetRepoCodeOfConductResponse>>;
getRepoLicense(
params: Github.MiscGetRepoLicenseParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetRepoLicenseResponse>>;
renderMarkdown(
params: Github.MiscRenderMarkdownParams,
callback?: Github.Callback
): Promise<GitHub.Response<RenderMarkdownResponse>>;
renderMarkdownRaw(
params: Github.MiscRenderMarkdownRawParams,
callback?: Github.Callback
): Promise<GitHub.Response<RenderMarkdownRawResponse>>;
};
orgs: {
addOrgMembership(
params: Github.OrgsAddOrgMembershipParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
addTeamMembership(
params: Github.OrgsAddTeamMembershipParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
addTeamRepo(
params: Github.OrgsAddTeamRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddTeamRepoResponse>>;
blockUser(
params: Github.OrgsBlockUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<BlockUserResponse>>;
checkBlockedUser(
params: Github.OrgsCheckBlockedUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<CheckBlockedUserResponse>>;
checkMembership(
params: Github.OrgsCheckMembershipParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
checkPublicMembership(
params: Github.OrgsCheckPublicMembershipParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
checkTeamRepo(
params: Github.OrgsCheckTeamRepoParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
concealMembership(
params: Github.OrgsConcealMembershipParams,
callback?: Github.Callback
): Promise<GitHub.Response<ConcealMembershipResponse>>;
convertMemberToOutsideCollaborator(
params: Github.OrgsConvertMemberToOutsideCollaboratorParams,
callback?: Github.Callback
): Promise<GitHub.Response<ConvertMemberToOutsideCollaboratorResponse>>;
createHook(
params: Github.OrgsCreateHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateHookResponse>>;
createInvitation(
params: Github.OrgsCreateInvitationParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateInvitationResponse>>;
createTeam(
params: Github.OrgsCreateTeamParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateTeamResponse>>;
deleteHook(
params: Github.OrgsDeleteHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteHookResponse>>;
deleteTeam(
params: Github.OrgsDeleteTeamParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteTeamResponse>>;
deleteTeamRepo(
params: Github.OrgsDeleteTeamRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteTeamRepoResponse>>;
editHook(
params: Github.OrgsEditHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditHookResponse>>;
editTeam(
params: Github.OrgsEditTeamParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditTeamResponse>>;
get(
params: Github.OrgsGetParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetResponse>>;
getAll(
params: Github.OrgsGetAllParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetAllResponse>>;
getBlockedUsers(
params: Github.OrgsGetBlockedUsersParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetBlockedUsersResponse>>;
getChildTeams(
params: Github.OrgsGetChildTeamsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getForUser(
params: Github.OrgsGetForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForUserResponse>>;
getHook(
params: Github.OrgsGetHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetHookResponse>>;
getHooks(
params: Github.OrgsGetHooksParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetHooksResponse>>;
getInvitationTeams(
params: Github.OrgsGetInvitationTeamsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetInvitationTeamsResponse>>;
getMembers(
params: Github.OrgsGetMembersParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMembersResponse>>;
getOrgMembership(
params: Github.OrgsGetOrgMembershipParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getOutsideCollaborators(
params: Github.OrgsGetOutsideCollaboratorsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetOutsideCollaboratorsResponse>>;
getPendingOrgInvites(
params: Github.OrgsGetPendingOrgInvitesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetPendingOrgInvitesResponse>>;
getPendingTeamInvites(
params: Github.OrgsGetPendingTeamInvitesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetPendingTeamInvitesResponse>>;
getPublicMembers(
params: Github.OrgsGetPublicMembersParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetPublicMembersResponse>>;
getTeam(
params: Github.OrgsGetTeamParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetTeamResponse>>;
getTeamMembers(
params: Github.OrgsGetTeamMembersParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetTeamMembersResponse>>;
getTeamMembership(
params: Github.OrgsGetTeamMembershipParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getTeamRepos(
params: Github.OrgsGetTeamReposParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetTeamReposResponse>>;
getTeams(
params: Github.OrgsGetTeamsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetTeamsResponse>>;
pingHook(
params: Github.OrgsPingHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<PingHookResponse>>;
publicizeMembership(
params: Github.OrgsPublicizeMembershipParams,
callback?: Github.Callback
): Promise<GitHub.Response<PublicizeMembershipResponse>>;
removeMember(
params: Github.OrgsRemoveMemberParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveMemberResponse>>;
removeOrgMembership(
params: Github.OrgsRemoveOrgMembershipParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveOrgMembershipResponse>>;
removeOutsideCollaborator(
params: Github.OrgsRemoveOutsideCollaboratorParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveOutsideCollaboratorResponse>>;
removeTeamMembership(
params: Github.OrgsRemoveTeamMembershipParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveTeamMembershipResponse>>;
unblockUser(
params: Github.OrgsUnblockUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<UnblockUserResponse>>;
update(
params: Github.OrgsUpdateParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateResponse>>;
};
projects: {
addCollaborator(
params: Github.ProjectsAddCollaboratorParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddCollaboratorResponse>>;
createOrgProject(
params: Github.ProjectsCreateOrgProjectParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateOrgProjectResponse>>;
createProjectCard(
params: Github.ProjectsCreateProjectCardParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateProjectCardResponse>>;
createProjectColumn(
params: Github.ProjectsCreateProjectColumnParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
createRepoProject(
params: Github.ProjectsCreateRepoProjectParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateRepoProjectResponse>>;
deleteProject(
params: Github.ProjectsDeleteProjectParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
deleteProjectCard(
params: Github.ProjectsDeleteProjectCardParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteProjectCardResponse>>;
deleteProjectColumn(
params: Github.ProjectsDeleteProjectColumnParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteProjectColumnResponse>>;
getCollaborators(
params: Github.ProjectsGetCollaboratorsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCollaboratorsResponse>>;
getOrgProjects(
params: Github.ProjectsGetOrgProjectsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetOrgProjectsResponse>>;
getProject(
params: Github.ProjectsGetProjectParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetProjectResponse>>;
getProjectCard(
params: Github.ProjectsGetProjectCardParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getProjectCards(
params: Github.ProjectsGetProjectCardsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetProjectCardsResponse>>;
getProjectColumn(
params: Github.ProjectsGetProjectColumnParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getProjectColumns(
params: Github.ProjectsGetProjectColumnsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetProjectColumnsResponse>>;
getRepoProjects(
params: Github.ProjectsGetRepoProjectsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetRepoProjectsResponse>>;
getUserPermissionLevel(
params: Github.ProjectsGetUserPermissionLevelParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetUserPermissionLevelResponse>>;
moveProjectCard(
params: Github.ProjectsMoveProjectCardParams,
callback?: Github.Callback
): Promise<GitHub.Response<MoveProjectCardResponse>>;
moveProjectColumn(
params: Github.ProjectsMoveProjectColumnParams,
callback?: Github.Callback
): Promise<GitHub.Response<MoveProjectColumnResponse>>;
removeCollaborator(
params: Github.ProjectsRemoveCollaboratorParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveCollaboratorResponse>>;
updateProject(
params: Github.ProjectsUpdateProjectParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateProjectResponse>>;
updateProjectCard(
params: Github.ProjectsUpdateProjectCardParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
updateProjectColumn(
params: Github.ProjectsUpdateProjectColumnParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
};
pullRequests: {
checkMerged(
params: Github.PullRequestsCheckMergedParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
create(
params: Github.PullRequestsCreateParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateResponse>>;
createComment(
params: Github.PullRequestsCreateCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateCommentResponse>>;
createCommentReply(
params: Github.PullRequestsCreateCommentReplyParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateCommentReplyResponse>>;
createFromIssue(
params: Github.PullRequestsCreateFromIssueParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateFromIssueResponse>>;
createReview(
params: Github.PullRequestsCreateReviewParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateReviewResponse>>;
createReviewRequest(
params: Github.PullRequestsCreateReviewRequestParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateReviewRequestResponse>>;
deleteComment(
params: Github.PullRequestsDeleteCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteCommentResponse>>;
deletePendingReview(
params: Github.PullRequestsDeletePendingReviewParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeletePendingReviewResponse>>;
deleteReviewRequest(
params: Github.PullRequestsDeleteReviewRequestParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteReviewRequestResponse>>;
dismissReview(
params: Github.PullRequestsDismissReviewParams,
callback?: Github.Callback
): Promise<GitHub.Response<DismissReviewResponse>>;
editComment(
params: Github.PullRequestsEditCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditCommentResponse>>;
get(
params: Github.PullRequestsGetParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetResponse>>;
getAll(
params: Github.PullRequestsGetAllParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetAllResponse>>;
getComment(
params: Github.PullRequestsGetCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommentResponse>>;
getComments(
params: Github.PullRequestsGetCommentsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommentsResponse>>;
getCommentsForRepo(
params: Github.PullRequestsGetCommentsForRepoParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommentsForRepoResponse>>;
getCommits(
params: Github.PullRequestsGetCommitsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommitsResponse>>;
getFiles(
params: Github.PullRequestsGetFilesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetFilesResponse>>;
getReview(
params: Github.PullRequestsGetReviewParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetReviewResponse>>;
getReviewComments(
params: Github.PullRequestsGetReviewCommentsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetReviewCommentsResponse>>;
getReviewRequests(
params: Github.PullRequestsGetReviewRequestsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetReviewRequestsResponse>>;
getReviews(
params: Github.PullRequestsGetReviewsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetReviewsResponse>>;
merge(
params: Github.PullRequestsMergeParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
submitReview(
params: Github.PullRequestsSubmitReviewParams,
callback?: Github.Callback
): Promise<GitHub.Response<SubmitReviewResponse>>;
update(
params: Github.PullRequestsUpdateParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateResponse>>;
};
reactions: {
createForCommitComment(
params: Github.ReactionsCreateForCommitCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateForCommitCommentResponse>>;
createForIssue(
params: Github.ReactionsCreateForIssueParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateForIssueResponse>>;
createForIssueComment(
params: Github.ReactionsCreateForIssueCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateForIssueCommentResponse>>;
createForPullRequestReviewComment(
params: Github.ReactionsCreateForPullRequestReviewCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateForPullRequestReviewCommentResponse>>;
createForTeamDiscussion(
params: Github.ReactionsCreateForTeamDiscussionParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateForTeamDiscussionResponse>>;
createForTeamDiscussionComment(
params: Github.ReactionsCreateForTeamDiscussionCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateForTeamDiscussionCommentResponse>>;
delete(
params: Github.ReactionsDeleteParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteResponse>>;
getForCommitComment(
params: Github.ReactionsGetForCommitCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForCommitCommentResponse>>;
getForIssue(
params: Github.ReactionsGetForIssueParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForIssueResponse>>;
getForIssueComment(
params: Github.ReactionsGetForIssueCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForIssueCommentResponse>>;
getForPullRequestReviewComment(
params: Github.ReactionsGetForPullRequestReviewCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForPullRequestReviewCommentResponse>>;
getForTeamDiscussion(
params: Github.ReactionsGetForTeamDiscussionParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForTeamDiscussionResponse>>;
getForTeamDiscussionComment(
params: Github.ReactionsGetForTeamDiscussionCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForTeamDiscussionCommentResponse>>;
};
repos: {
addCollaborator(
params: Github.ReposAddCollaboratorParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
addDeployKey(
params: Github.ReposAddDeployKeyParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddDeployKeyResponse>>;
addProtectedBranchAdminEnforcement(
params: Github.ReposAddProtectedBranchAdminEnforcementParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddProtectedBranchAdminEnforcementResponse>>;
addProtectedBranchRequiredSignatures(
params: Github.ReposAddProtectedBranchRequiredSignaturesParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddProtectedBranchRequiredSignaturesResponse>>;
addProtectedBranchRequiredStatusChecksContexts(
params: Github.ReposAddProtectedBranchRequiredStatusChecksContextsParams,
callback?: Github.Callback
): Promise<
GitHub.Response<AddProtectedBranchRequiredStatusChecksContextsResponse>
>;
addProtectedBranchTeamRestrictions(
params: Github.ReposAddProtectedBranchTeamRestrictionsParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddProtectedBranchTeamRestrictionsResponse>>;
addProtectedBranchUserRestrictions(
params: Github.ReposAddProtectedBranchUserRestrictionsParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddProtectedBranchUserRestrictionsResponse>>;
checkCollaborator(
params: Github.ReposCheckCollaboratorParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
compareCommits(
params: Github.ReposCompareCommitsParams,
callback?: Github.Callback
): Promise<GitHub.Response<CompareCommitsResponse>>;
create(
params: Github.ReposCreateParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateResponse>>;
createCommitComment(
params: Github.ReposCreateCommitCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateCommitCommentResponse>>;
createDeployment(
params: Github.ReposCreateDeploymentParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
createDeploymentStatus(
params: Github.ReposCreateDeploymentStatusParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateDeploymentStatusResponse>>;
createFile(
params: Github.ReposCreateFileParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateFileResponse>>;
createForOrg(
params: Github.ReposCreateForOrgParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateForOrgResponse>>;
createHook(
params: Github.ReposCreateHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateHookResponse>>;
createRelease(
params: Github.ReposCreateReleaseParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateReleaseResponse>>;
createStatus(
params: Github.ReposCreateStatusParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateStatusResponse>>;
delete(
params: Github.ReposDeleteParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteResponse>>;
deleteAsset(
params: Github.ReposDeleteAssetParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteAssetResponse>>;
deleteCommitComment(
params: Github.ReposDeleteCommitCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteCommitCommentResponse>>;
deleteDeployKey(
params: Github.ReposDeleteDeployKeyParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteDeployKeyResponse>>;
deleteDownload(
params: Github.ReposDeleteDownloadParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteDownloadResponse>>;
deleteFile(
params: Github.ReposDeleteFileParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteFileResponse>>;
deleteHook(
params: Github.ReposDeleteHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteHookResponse>>;
deleteInvite(
params: Github.ReposDeleteInviteParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteInviteResponse>>;
deleteRelease(
params: Github.ReposDeleteReleaseParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteReleaseResponse>>;
edit(
params: Github.ReposEditParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditResponse>>;
editAsset(
params: Github.ReposEditAssetParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditAssetResponse>>;
editHook(
params: Github.ReposEditHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditHookResponse>>;
editRelease(
params: Github.ReposEditReleaseParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditReleaseResponse>>;
fork(
params: Github.ReposForkParams,
callback?: Github.Callback
): Promise<GitHub.Response<ForkResponse>>;
get(
params: Github.ReposGetParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetResponse>>;
getAll(
params: Github.ReposGetAllParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getAllCommitComments(
params: Github.ReposGetAllCommitCommentsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetAllCommitCommentsResponse>>;
getArchiveLink(
params: Github.ReposGetArchiveLinkParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetArchiveLinkResponse>>;
getAsset(
params: Github.ReposGetAssetParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetAssetResponse>>;
getAssets(
params: Github.ReposGetAssetsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetAssetsResponse>>;
getBranch(
params: Github.ReposGetBranchParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetBranchResponse>>;
getBranchProtection(
params: Github.ReposGetBranchProtectionParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetBranchProtectionResponse>>;
getBranches(
params: Github.ReposGetBranchesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetBranchesResponse>>;
getById(
params: Github.ReposGetByIdParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getClones(
params: Github.ReposGetClonesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetClonesResponse>>;
getCollaborators(
params: Github.ReposGetCollaboratorsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCollaboratorsResponse>>;
getCombinedStatusForRef(
params: Github.ReposGetCombinedStatusForRefParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCombinedStatusForRefResponse>>;
getCommit(
params: Github.ReposGetCommitParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommitResponse>>;
getCommitComment(
params: Github.ReposGetCommitCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommitCommentResponse>>;
getCommitComments(
params: Github.ReposGetCommitCommentsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommitCommentsResponse>>;
getCommits(
params: Github.ReposGetCommitsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommitsResponse>>;
getCommunityProfileMetrics(
params: Github.ReposGetCommunityProfileMetricsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetCommunityProfileMetricsResponse>>;
getContent(
params: Github.ReposGetContentParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getContributors(
params: Github.ReposGetContributorsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getDeployKey(
params: Github.ReposGetDeployKeyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetDeployKeyResponse>>;
getDeployKeys(
params: Github.ReposGetDeployKeysParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetDeployKeysResponse>>;
getDeployment(
params: Github.ReposGetDeploymentParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetDeploymentResponse>>;
getDeploymentStatus(
params: Github.ReposGetDeploymentStatusParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetDeploymentStatusResponse>>;
getDeploymentStatuses(
params: Github.ReposGetDeploymentStatusesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetDeploymentStatusesResponse>>;
getDeployments(
params: Github.ReposGetDeploymentsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetDeploymentsResponse>>;
getDownload(
params: Github.ReposGetDownloadParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetDownloadResponse>>;
getDownloads(
params: Github.ReposGetDownloadsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetDownloadsResponse>>;
getForOrg(
params: Github.ReposGetForOrgParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForOrgResponse>>;
getForUser(
params: Github.ReposGetForUserParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getForks(
params: Github.ReposGetForksParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForksResponse>>;
getHook(
params: Github.ReposGetHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetHookResponse>>;
getHooks(
params: Github.ReposGetHooksParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetHooksResponse>>;
getInvites(
params: Github.ReposGetInvitesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetInvitesResponse>>;
getLanguages(
params: Github.ReposGetLanguagesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetLanguagesResponse>>;
getLatestPagesBuild(
params: Github.ReposGetLatestPagesBuildParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getLatestRelease(
params: Github.ReposGetLatestReleaseParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetLatestReleaseResponse>>;
getPages(
params: Github.ReposGetPagesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetPagesResponse>>;
getPagesBuild(
params: Github.ReposGetPagesBuildParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getPagesBuilds(
params: Github.ReposGetPagesBuildsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getPaths(
params: Github.ReposGetPathsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetPathsResponse>>;
getProtectedBranchAdminEnforcement(
params: Github.ReposGetProtectedBranchAdminEnforcementParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getProtectedBranchPullRequestReviewEnforcement(
params: Github.ReposGetProtectedBranchPullRequestReviewEnforcementParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getProtectedBranchRequiredSignatures(
params: Github.ReposGetProtectedBranchRequiredSignaturesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetProtectedBranchRequiredSignaturesResponse>>;
getProtectedBranchRequiredStatusChecks(
params: Github.ReposGetProtectedBranchRequiredStatusChecksParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetProtectedBranchRequiredStatusChecksResponse>>;
getProtectedBranchRequiredStatusChecksContexts(
params: Github.ReposGetProtectedBranchRequiredStatusChecksContextsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getProtectedBranchRestrictions(
params: Github.ReposGetProtectedBranchRestrictionsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getProtectedBranchTeamRestrictions(
params: Github.ReposGetProtectedBranchTeamRestrictionsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetProtectedBranchTeamRestrictionsResponse>>;
getProtectedBranchUserRestrictions(
params: Github.ReposGetProtectedBranchUserRestrictionsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getPublic(
params: Github.ReposGetPublicParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetPublicResponse>>;
getReadme(
params: Github.ReposGetReadmeParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetReadmeResponse>>;
getReferrers(
params: Github.ReposGetReferrersParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetReferrersResponse>>;
getRelease(
params: Github.ReposGetReleaseParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetReleaseResponse>>;
getReleaseByTag(
params: Github.ReposGetReleaseByTagParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetReleaseByTagResponse>>;
getReleases(
params: Github.ReposGetReleasesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetReleasesResponse>>;
getShaOfCommitRef(
params: Github.ReposGetShaOfCommitRefParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetShaOfCommitRefResponse>>;
getStatsCodeFrequency(
params: Github.ReposGetStatsCodeFrequencyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStatsCodeFrequencyResponse>>;
getStatsCommitActivity(
params: Github.ReposGetStatsCommitActivityParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStatsCommitActivityResponse>>;
getStatsContributors(
params: Github.ReposGetStatsContributorsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStatsContributorsResponse>>;
getStatsParticipation(
params: Github.ReposGetStatsParticipationParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStatsParticipationResponse>>;
getStatsPunchCard(
params: Github.ReposGetStatsPunchCardParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStatsPunchCardResponse>>;
getStatuses(
params: Github.ReposGetStatusesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetStatusesResponse>>;
getTags(
params: Github.ReposGetTagsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetTagsResponse>>;
getTeams(
params: Github.ReposGetTeamsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetTeamsResponse>>;
getTopics(
params: Github.ReposGetTopicsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetTopicsResponse>>;
getViews(
params: Github.ReposGetViewsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetViewsResponse>>;
merge(
params: Github.ReposMergeParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
pingHook(
params: Github.ReposPingHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<PingHookResponse>>;
removeBranchProtection(
params: Github.ReposRemoveBranchProtectionParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveBranchProtectionResponse>>;
removeCollaborator(
params: Github.ReposRemoveCollaboratorParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveCollaboratorResponse>>;
removeProtectedBranchAdminEnforcement(
params: Github.ReposRemoveProtectedBranchAdminEnforcementParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
removeProtectedBranchPullRequestReviewEnforcement(
params: Github.ReposRemoveProtectedBranchPullRequestReviewEnforcementParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
removeProtectedBranchRequiredSignatures(
params: Github.ReposRemoveProtectedBranchRequiredSignaturesParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
removeProtectedBranchRequiredStatusChecks(
params: Github.ReposRemoveProtectedBranchRequiredStatusChecksParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
removeProtectedBranchRequiredStatusChecksContexts(
params: Github.ReposRemoveProtectedBranchRequiredStatusChecksContextsParams,
callback?: Github.Callback
): Promise<
GitHub.Response<RemoveProtectedBranchRequiredStatusChecksContextsResponse>
>;
removeProtectedBranchRestrictions(
params: Github.ReposRemoveProtectedBranchRestrictionsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
removeProtectedBranchTeamRestrictions(
params: Github.ReposRemoveProtectedBranchTeamRestrictionsParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveProtectedBranchTeamRestrictionsResponse>>;
removeProtectedBranchUserRestrictions(
params: Github.ReposRemoveProtectedBranchUserRestrictionsParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveProtectedBranchUserRestrictionsResponse>>;
replaceProtectedBranchRequiredStatusChecksContexts(
params: Github.ReposReplaceProtectedBranchRequiredStatusChecksContextsParams,
callback?: Github.Callback
): Promise<
GitHub.Response<
ReplaceProtectedBranchRequiredStatusChecksContextsResponse
>
>;
replaceProtectedBranchTeamRestrictions(
params: Github.ReposReplaceProtectedBranchTeamRestrictionsParams,
callback?: Github.Callback
): Promise<GitHub.Response<ReplaceProtectedBranchTeamRestrictionsResponse>>;
replaceProtectedBranchUserRestrictions(
params: Github.ReposReplaceProtectedBranchUserRestrictionsParams,
callback?: Github.Callback
): Promise<GitHub.Response<ReplaceProtectedBranchUserRestrictionsResponse>>;
replaceTopics(
params: Github.ReposReplaceTopicsParams,
callback?: Github.Callback
): Promise<GitHub.Response<ReplaceTopicsResponse>>;
requestPageBuild(
params: Github.ReposRequestPageBuildParams,
callback?: Github.Callback
): Promise<GitHub.Response<RequestPageBuildResponse>>;
reviewUserPermissionLevel(
params: Github.ReposReviewUserPermissionLevelParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
testHook(
params: Github.ReposTestHookParams,
callback?: Github.Callback
): Promise<GitHub.Response<TestHookResponse>>;
transfer(
params: Github.ReposTransferParams,
callback?: Github.Callback
): Promise<GitHub.Response<TransferResponse>>;
updateBranchProtection(
params: Github.ReposUpdateBranchProtectionParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateBranchProtectionResponse>>;
updateCommitComment(
params: Github.ReposUpdateCommitCommentParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateCommitCommentResponse>>;
updateFile(
params: Github.ReposUpdateFileParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateFileResponse>>;
updateInvite(
params: Github.ReposUpdateInviteParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateInviteResponse>>;
updateProtectedBranchPullRequestReviewEnforcement(
params: Github.ReposUpdateProtectedBranchPullRequestReviewEnforcementParams,
callback?: Github.Callback
): Promise<
GitHub.Response<UpdateProtectedBranchPullRequestReviewEnforcementResponse>
>;
updateProtectedBranchRequiredStatusChecks(
params: Github.ReposUpdateProtectedBranchRequiredStatusChecksParams,
callback?: Github.Callback
): Promise<
GitHub.Response<UpdateProtectedBranchRequiredStatusChecksResponse>
>;
uploadAsset(
params: Github.ReposUploadAssetParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
};
search: {
code(
params: Github.SearchCodeParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
commits(
params: Github.SearchCommitsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
issues(
params: Github.SearchIssuesParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
labels(
params: Github.SearchLabelsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
repos(
params: Github.SearchReposParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
topics(
params: Github.SearchTopicsParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
users(
params: Github.SearchUsersParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
};
users: {
acceptRepoInvite(
params: Github.UsersAcceptRepoInviteParams,
callback?: Github.Callback
): Promise<GitHub.Response<AcceptRepoInviteResponse>>;
addEmails(
params: Github.UsersAddEmailsParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddEmailsResponse>>;
addRepoToInstallation(
params: Github.UsersAddRepoToInstallationParams,
callback?: Github.Callback
): Promise<GitHub.Response<AddRepoToInstallationResponse>>;
blockUser(
params: Github.UsersBlockUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<BlockUserResponse>>;
checkBlockedUser(
params: Github.UsersCheckBlockedUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<CheckBlockedUserResponse>>;
checkFollowing(
params: Github.UsersCheckFollowingParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
checkIfOneFollowersOther(
params: Github.UsersCheckIfOneFollowersOtherParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
createGpgKey(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateGpgKeyResponse>>;
createKey(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.Response<CreateKeyResponse>>;
declineRepoInvite(
params: Github.UsersDeclineRepoInviteParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeclineRepoInviteResponse>>;
deleteEmails(
params: Github.UsersDeleteEmailsParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteEmailsResponse>>;
deleteGpgKey(
params: Github.UsersDeleteGpgKeyParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteGpgKeyResponse>>;
deleteKey(
params: Github.UsersDeleteKeyParams,
callback?: Github.Callback
): Promise<GitHub.Response<DeleteKeyResponse>>;
demote(
params: Github.UsersDemoteParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
editOrgMembership(
params: Github.UsersEditOrgMembershipParams,
callback?: Github.Callback
): Promise<GitHub.Response<EditOrgMembershipResponse>>;
followUser(
params: Github.UsersFollowUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<FollowUserResponse>>;
get(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getAll(
params: Github.UsersGetAllParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetAllResponse>>;
getBlockedUsers(
params: Github.EmptyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetBlockedUsersResponse>>;
getById(
params: Github.UsersGetByIdParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
getContextForUser(
params: Github.UsersGetContextForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetContextForUserResponse>>;
getEmails(
params: Github.UsersGetEmailsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetEmailsResponse>>;
getFollowers(
params: Github.UsersGetFollowersParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetFollowersResponse>>;
getFollowersForUser(
params: Github.UsersGetFollowersForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetFollowersForUserResponse>>;
getFollowing(
params: Github.UsersGetFollowingParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetFollowingResponse>>;
getFollowingForUser(
params: Github.UsersGetFollowingForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetFollowingForUserResponse>>;
getForUser(
params: Github.UsersGetForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetForUserResponse>>;
getGpgKey(
params: Github.UsersGetGpgKeyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetGpgKeyResponse>>;
getGpgKeys(
params: Github.UsersGetGpgKeysParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetGpgKeysResponse>>;
getGpgKeysForUser(
params: Github.UsersGetGpgKeysForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetGpgKeysForUserResponse>>;
getInstallationRepos(
params: Github.UsersGetInstallationReposParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetInstallationReposResponse>>;
getInstallations(
params: Github.UsersGetInstallationsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetInstallationsResponse>>;
getKey(
params: Github.UsersGetKeyParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetKeyResponse>>;
getKeys(
params: Github.UsersGetKeysParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetKeysResponse>>;
getKeysForUser(
params: Github.UsersGetKeysForUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetKeysForUserResponse>>;
getMarketplacePurchases(
params: Github.UsersGetMarketplacePurchasesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMarketplacePurchasesResponse>>;
getMarketplaceStubbedPurchases(
params: Github.UsersGetMarketplaceStubbedPurchasesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetMarketplaceStubbedPurchasesResponse>>;
getOrgMembership(
params: Github.UsersGetOrgMembershipParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetOrgMembershipResponse>>;
getOrgMemberships(
params: Github.UsersGetOrgMembershipsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetOrgMembershipsResponse>>;
getOrgs(
params: Github.UsersGetOrgsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetOrgsResponse>>;
getPublicEmails(
params: Github.UsersGetPublicEmailsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetPublicEmailsResponse>>;
getRepoInvites(
params: Github.UsersGetRepoInvitesParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetRepoInvitesResponse>>;
getTeams(
params: Github.UsersGetTeamsParams,
callback?: Github.Callback
): Promise<GitHub.Response<GetTeamsResponse>>;
promote(
params: Github.UsersPromoteParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
removeRepoFromInstallation(
params: Github.UsersRemoveRepoFromInstallationParams,
callback?: Github.Callback
): Promise<GitHub.Response<RemoveRepoFromInstallationResponse>>;
suspend(
params: Github.UsersSuspendParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
togglePrimaryEmailVisibility(
params: Github.UsersTogglePrimaryEmailVisibilityParams,
callback?: Github.Callback
): Promise<GitHub.Response<TogglePrimaryEmailVisibilityResponse>>;
unblockUser(
params: Github.UsersUnblockUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<UnblockUserResponse>>;
unfollowUser(
params: Github.UsersUnfollowUserParams,
callback?: Github.Callback
): Promise<GitHub.Response<UnfollowUserResponse>>;
unsuspend(
params: Github.UsersUnsuspendParams,
callback?: Github.Callback
): Promise<GitHub.AnyResponse>;
update(
params: Github.UsersUpdateParams,
callback?: Github.Callback
): Promise<GitHub.Response<UpdateResponse>>;
};
}
export = Github;
@patrickelectric
Copy link

You are a hero sir

@gimenete
Copy link
Author

Hey @patrickelectric , this was generated in 2018 using this library I made https://www.npmjs.com/package/@gimenete/type-writer

However now octokit already ships its own types. There's a dedicated package for that. Check it out: https://www.npmjs.com/package/@octokit/types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment