/** * 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 AnyResponse { /** This is the data you would see in https://developer.github.com/v3/ */ data: any /** 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 } 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; } 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 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"; "details_url"?: string; "external_id"?: string; "head_branch": string; "head_sha": string; "name": string; "output"?: ChecksCreateParamsOutput; "owner": string; "repo": string; "started_at"?: string; "status"?: "queued"|"in_progress"|"completed"; }; export type ChecksCreateSuiteParams = & { "head_branch"?: string; "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"|"details_url"; "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 MigrationsDeleteMigrationArchiveParams = & { /** * @deprecated [object Object] */ "id": string; "migration_id": string; "org": 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 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 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 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; "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; "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; "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; "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 = & { "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 = & { "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; "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; "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 = & { "name": string; "owner": 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; "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; "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; "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; "id": string; "owner": string; "repo": string; }; export type ReposTransferParams = & { "new_owner"?: string; "owner": string; "repo": string; "team_id"?: 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; getNextPage(link: Github.Link, headers?: {[header: string]: any}, callback?: Github.Callback): Promise; getPreviousPage(link: Github.Link, callback?: Github.Callback): Promise; getPreviousPage(link: Github.Link, headers?: {[header: string]: any}, callback?: Github.Callback): Promise; getLastPage(link: Github.Link, callback?: Github.Callback): Promise; getLastPage(link: Github.Link, headers?: {[header: string]: any}, callback?: Github.Callback): Promise; getFirstPage(link: Github.Link, callback?: Github.Callback): Promise; getFirstPage(link: Github.Link, headers?: {[header: string]: any}, callback?: Github.Callback): Promise; activity: { checkNotificationThreadSubscription(params: Github.ActivityCheckNotificationThreadSubscriptionParams, callback?: Github.Callback): Promise; checkStarringRepo(params: Github.ActivityCheckStarringRepoParams, callback?: Github.Callback): Promise; deleteNotificationThreadSubscription(params: Github.ActivityDeleteNotificationThreadSubscriptionParams, callback?: Github.Callback): Promise; getEvents(params: Github.ActivityGetEventsParams, callback?: Github.Callback): Promise; getEventsForOrg(params: Github.ActivityGetEventsForOrgParams, callback?: Github.Callback): Promise; getEventsForRepo(params: Github.ActivityGetEventsForRepoParams, callback?: Github.Callback): Promise; getEventsForRepoIssues(params: Github.EmptyParams, callback?: Github.Callback): Promise; getEventsForRepoNetwork(params: Github.ActivityGetEventsForRepoNetworkParams, callback?: Github.Callback): Promise; getEventsForUser(params: Github.ActivityGetEventsForUserParams, callback?: Github.Callback): Promise; getEventsForUserOrg(params: Github.ActivityGetEventsForUserOrgParams, callback?: Github.Callback): Promise; getEventsForUserPublic(params: Github.ActivityGetEventsForUserPublicParams, callback?: Github.Callback): Promise; getEventsReceived(params: Github.ActivityGetEventsReceivedParams, callback?: Github.Callback): Promise; getEventsReceivedPublic(params: Github.ActivityGetEventsReceivedPublicParams, callback?: Github.Callback): Promise; getFeeds(params: Github.EmptyParams, callback?: Github.Callback): Promise; getNotificationThread(params: Github.ActivityGetNotificationThreadParams, callback?: Github.Callback): Promise; getNotifications(params: Github.ActivityGetNotificationsParams, callback?: Github.Callback): Promise; getNotificationsForUser(params: Github.ActivityGetNotificationsForUserParams, callback?: Github.Callback): Promise; getRepoSubscription(params: Github.ActivityGetRepoSubscriptionParams, callback?: Github.Callback): Promise; getStargazersForRepo(params: Github.ActivityGetStargazersForRepoParams, callback?: Github.Callback): Promise; getStarredRepos(params: Github.ActivityGetStarredReposParams, callback?: Github.Callback): Promise; getStarredReposForUser(params: Github.ActivityGetStarredReposForUserParams, callback?: Github.Callback): Promise; getWatchedRepos(params: Github.ActivityGetWatchedReposParams, callback?: Github.Callback): Promise; getWatchedReposForUser(params: Github.ActivityGetWatchedReposForUserParams, callback?: Github.Callback): Promise; getWatchersForRepo(params: Github.ActivityGetWatchersForRepoParams, callback?: Github.Callback): Promise; markNotificationThreadAsRead(params: Github.ActivityMarkNotificationThreadAsReadParams, callback?: Github.Callback): Promise; markNotificationsAsRead(params: Github.ActivityMarkNotificationsAsReadParams, callback?: Github.Callback): Promise; markNotificationsAsReadForRepo(params: Github.ActivityMarkNotificationsAsReadForRepoParams, callback?: Github.Callback): Promise; setNotificationThreadSubscription(params: Github.ActivitySetNotificationThreadSubscriptionParams, callback?: Github.Callback): Promise; setRepoSubscription(params: Github.ActivitySetRepoSubscriptionParams, callback?: Github.Callback): Promise; starRepo(params: Github.ActivityStarRepoParams, callback?: Github.Callback): Promise; unstarRepo(params: Github.ActivityUnstarRepoParams, callback?: Github.Callback): Promise; unwatchRepo(params: Github.ActivityUnwatchRepoParams, callback?: Github.Callback): Promise; }; apps: { addRepoToInstallation(params: Github.AppsAddRepoToInstallationParams, callback?: Github.Callback): Promise; checkMarketplaceListingAccount(params: Github.AppsCheckMarketplaceListingAccountParams, callback?: Github.Callback): Promise; checkMarketplaceListingStubbedAccount(params: Github.AppsCheckMarketplaceListingStubbedAccountParams, callback?: Github.Callback): Promise; createInstallationToken(params: Github.AppsCreateInstallationTokenParams, callback?: Github.Callback): Promise; get(params: Github.EmptyParams, callback?: Github.Callback): Promise; getForSlug(params: Github.AppsGetForSlugParams, callback?: Github.Callback): Promise; getInstallation(params: Github.AppsGetInstallationParams, callback?: Github.Callback): Promise; getInstallationRepositories(params: Github.AppsGetInstallationRepositoriesParams, callback?: Github.Callback): Promise; getInstallations(params: Github.AppsGetInstallationsParams, callback?: Github.Callback): Promise; getMarketplaceListingPlanAccounts(params: Github.AppsGetMarketplaceListingPlanAccountsParams, callback?: Github.Callback): Promise; getMarketplaceListingPlans(params: Github.AppsGetMarketplaceListingPlansParams, callback?: Github.Callback): Promise; getMarketplaceListingStubbedPlanAccounts(params: Github.AppsGetMarketplaceListingStubbedPlanAccountsParams, callback?: Github.Callback): Promise; getMarketplaceListingStubbedPlans(params: Github.AppsGetMarketplaceListingStubbedPlansParams, callback?: Github.Callback): Promise; removeRepoFromInstallation(params: Github.AppsRemoveRepoFromInstallationParams, callback?: Github.Callback): Promise; }; authorization: { check(params: Github.AuthorizationCheckParams, callback?: Github.Callback): Promise; create(params: Github.AuthorizationCreateParams, callback?: Github.Callback): Promise; delete(params: Github.AuthorizationDeleteParams, callback?: Github.Callback): Promise; deleteGrant(params: Github.AuthorizationDeleteGrantParams, callback?: Github.Callback): Promise; get(params: Github.AuthorizationGetParams, callback?: Github.Callback): Promise; getAll(params: Github.AuthorizationGetAllParams, callback?: Github.Callback): Promise; getGrant(params: Github.AuthorizationGetGrantParams, callback?: Github.Callback): Promise; getGrants(params: Github.AuthorizationGetGrantsParams, callback?: Github.Callback): Promise; getOrCreateAuthorizationForApp(params: Github.AuthorizationGetOrCreateAuthorizationForAppParams, callback?: Github.Callback): Promise; getOrCreateAuthorizationForAppAndFingerprint(params: Github.AuthorizationGetOrCreateAuthorizationForAppAndFingerprintParams, callback?: Github.Callback): Promise; reset(params: Github.AuthorizationResetParams, callback?: Github.Callback): Promise; revoke(params: Github.AuthorizationRevokeParams, callback?: Github.Callback): Promise; revokeGrant(params: Github.AuthorizationRevokeGrantParams, callback?: Github.Callback): Promise; update(params: Github.AuthorizationUpdateParams, callback?: Github.Callback): Promise; }; checks: { create(params: Github.ChecksCreateParams, callback?: Github.Callback): Promise; createSuite(params: Github.ChecksCreateSuiteParams, callback?: Github.Callback): Promise; get(params: Github.ChecksGetParams, callback?: Github.Callback): Promise; getSuite(params: Github.ChecksGetSuiteParams, callback?: Github.Callback): Promise; listAnnotations(params: Github.ChecksListAnnotationsParams, callback?: Github.Callback): Promise; listForRef(params: Github.ChecksListForRefParams, callback?: Github.Callback): Promise; listForSuite(params: Github.ChecksListForSuiteParams, callback?: Github.Callback): Promise; listSuitesForRef(params: Github.ChecksListSuitesForRefParams, callback?: Github.Callback): Promise; requestSuites(params: Github.ChecksRequestSuitesParams, callback?: Github.Callback): Promise; setSuitesPreferences(params: Github.ChecksSetSuitesPreferencesParams, callback?: Github.Callback): Promise; update(params: Github.ChecksUpdateParams, callback?: Github.Callback): Promise; }; enterprise: { createOrg(params: Github.EnterpriseCreateOrgParams, callback?: Github.Callback): Promise; createPreReceiveEnvironment(params: Github.EnterpriseCreatePreReceiveEnvironmentParams, callback?: Github.Callback): Promise; createPreReceiveHook(params: Github.EnterpriseCreatePreReceiveHookParams, callback?: Github.Callback): Promise; deletePreReceiveEnvironment(params: Github.EnterpriseDeletePreReceiveEnvironmentParams, callback?: Github.Callback): Promise; deletePreReceiveHook(params: Github.EnterpriseDeletePreReceiveHookParams, callback?: Github.Callback): Promise; editPreReceiveEnvironment(params: Github.EnterpriseEditPreReceiveEnvironmentParams, callback?: Github.Callback): Promise; editPreReceiveHook(params: Github.EnterpriseEditPreReceiveHookParams, callback?: Github.Callback): Promise; getLicense(params: Github.EmptyParams, callback?: Github.Callback): Promise; getPreReceiveEnvironment(params: Github.EnterpriseGetPreReceiveEnvironmentParams, callback?: Github.Callback): Promise; getPreReceiveEnvironmentDownloadStatus(params: Github.EnterpriseGetPreReceiveEnvironmentDownloadStatusParams, callback?: Github.Callback): Promise; getPreReceiveEnvironments(params: Github.EmptyParams, callback?: Github.Callback): Promise; getPreReceiveHook(params: Github.EnterpriseGetPreReceiveHookParams, callback?: Github.Callback): Promise; getPreReceiveHooks(params: Github.EmptyParams, callback?: Github.Callback): Promise; queueIndexingJob(params: Github.EnterpriseQueueIndexingJobParams, callback?: Github.Callback): Promise; stats(params: Github.EnterpriseStatsParams, callback?: Github.Callback): Promise; syncLdapForTeam(params: Github.EnterpriseSyncLdapForTeamParams, callback?: Github.Callback): Promise; syncLdapForUser(params: Github.EnterpriseSyncLdapForUserParams, callback?: Github.Callback): Promise; triggerPreReceiveEnvironmentDownload(params: Github.EnterpriseTriggerPreReceiveEnvironmentDownloadParams, callback?: Github.Callback): Promise; updateLdapForTeam(params: Github.EnterpriseUpdateLdapForTeamParams, callback?: Github.Callback): Promise; updateLdapForUser(params: Github.EnterpriseUpdateLdapForUserParams, callback?: Github.Callback): Promise; }; gists: { checkStar(params: Github.GistsCheckStarParams, callback?: Github.Callback): Promise; create(params: Github.GistsCreateParams, callback?: Github.Callback): Promise; createComment(params: Github.GistsCreateCommentParams, callback?: Github.Callback): Promise; delete(params: Github.GistsDeleteParams, callback?: Github.Callback): Promise; deleteComment(params: Github.GistsDeleteCommentParams, callback?: Github.Callback): Promise; edit(params: Github.GistsEditParams, callback?: Github.Callback): Promise; editComment(params: Github.GistsEditCommentParams, callback?: Github.Callback): Promise; fork(params: Github.GistsForkParams, callback?: Github.Callback): Promise; get(params: Github.GistsGetParams, callback?: Github.Callback): Promise; getAll(params: Github.GistsGetAllParams, callback?: Github.Callback): Promise; getComment(params: Github.GistsGetCommentParams, callback?: Github.Callback): Promise; getComments(params: Github.GistsGetCommentsParams, callback?: Github.Callback): Promise; getCommits(params: Github.GistsGetCommitsParams, callback?: Github.Callback): Promise; getForUser(params: Github.GistsGetForUserParams, callback?: Github.Callback): Promise; getForks(params: Github.GistsGetForksParams, callback?: Github.Callback): Promise; getPublic(params: Github.GistsGetPublicParams, callback?: Github.Callback): Promise; getRevision(params: Github.GistsGetRevisionParams, callback?: Github.Callback): Promise; getStarred(params: Github.GistsGetStarredParams, callback?: Github.Callback): Promise; star(params: Github.GistsStarParams, callback?: Github.Callback): Promise; unstar(params: Github.GistsUnstarParams, callback?: Github.Callback): Promise; }; gitdata: { createBlob(params: Github.GitdataCreateBlobParams, callback?: Github.Callback): Promise; createCommit(params: Github.GitdataCreateCommitParams, callback?: Github.Callback): Promise; createReference(params: Github.GitdataCreateReferenceParams, callback?: Github.Callback): Promise; createTag(params: Github.GitdataCreateTagParams, callback?: Github.Callback): Promise; createTree(params: Github.GitdataCreateTreeParams, callback?: Github.Callback): Promise; deleteReference(params: Github.GitdataDeleteReferenceParams, callback?: Github.Callback): Promise; getBlob(params: Github.GitdataGetBlobParams, callback?: Github.Callback): Promise; getCommit(params: Github.GitdataGetCommitParams, callback?: Github.Callback): Promise; getCommitSignatureVerification(params: Github.GitdataGetCommitSignatureVerificationParams, callback?: Github.Callback): Promise; getReference(params: Github.GitdataGetReferenceParams, callback?: Github.Callback): Promise; getReferences(params: Github.GitdataGetReferencesParams, callback?: Github.Callback): Promise; getTag(params: Github.GitdataGetTagParams, callback?: Github.Callback): Promise; getTagSignatureVerification(params: Github.GitdataGetTagSignatureVerificationParams, callback?: Github.Callback): Promise; getTags(params: Github.GitdataGetTagsParams, callback?: Github.Callback): Promise; getTree(params: Github.GitdataGetTreeParams, callback?: Github.Callback): Promise; updateReference(params: Github.GitdataUpdateReferenceParams, callback?: Github.Callback): Promise; }; integrations: { addRepoToInstallation(params: Github.IntegrationsAddRepoToInstallationParams, callback?: Github.Callback): Promise; createInstallationToken(params: Github.IntegrationsCreateInstallationTokenParams, callback?: Github.Callback): Promise; getInstallationRepositories(params: Github.EmptyParams, callback?: Github.Callback): Promise; getInstallations(params: Github.IntegrationsGetInstallationsParams, callback?: Github.Callback): Promise; removeRepoFromInstallation(params: Github.IntegrationsRemoveRepoFromInstallationParams, callback?: Github.Callback): Promise; }; issues: { addAssigneesToIssue(params: Github.IssuesAddAssigneesToIssueParams, callback?: Github.Callback): Promise; addLabels(params: Github.IssuesAddLabelsParams, callback?: Github.Callback): Promise; checkAssignee(params: Github.IssuesCheckAssigneeParams, callback?: Github.Callback): Promise; create(params: Github.IssuesCreateParams, callback?: Github.Callback): Promise; createComment(params: Github.IssuesCreateCommentParams, callback?: Github.Callback): Promise; createLabel(params: Github.IssuesCreateLabelParams, callback?: Github.Callback): Promise; createMilestone(params: Github.IssuesCreateMilestoneParams, callback?: Github.Callback): Promise; deleteComment(params: Github.IssuesDeleteCommentParams, callback?: Github.Callback): Promise; deleteLabel(params: Github.IssuesDeleteLabelParams, callback?: Github.Callback): Promise; deleteMilestone(params: Github.IssuesDeleteMilestoneParams, callback?: Github.Callback): Promise; edit(params: Github.IssuesEditParams, callback?: Github.Callback): Promise; editComment(params: Github.IssuesEditCommentParams, callback?: Github.Callback): Promise; get(params: Github.IssuesGetParams, callback?: Github.Callback): Promise; getAll(params: Github.IssuesGetAllParams, callback?: Github.Callback): Promise; getAssignees(params: Github.IssuesGetAssigneesParams, callback?: Github.Callback): Promise; getComment(params: Github.IssuesGetCommentParams, callback?: Github.Callback): Promise; getComments(params: Github.IssuesGetCommentsParams, callback?: Github.Callback): Promise; getCommentsForRepo(params: Github.IssuesGetCommentsForRepoParams, callback?: Github.Callback): Promise; getEvent(params: Github.IssuesGetEventParams, callback?: Github.Callback): Promise; getEvents(params: Github.IssuesGetEventsParams, callback?: Github.Callback): Promise; getEventsForRepo(params: Github.IssuesGetEventsForRepoParams, callback?: Github.Callback): Promise; getEventsTimeline(params: Github.IssuesGetEventsTimelineParams, callback?: Github.Callback): Promise; getForOrg(params: Github.IssuesGetForOrgParams, callback?: Github.Callback): Promise; getForRepo(params: Github.IssuesGetForRepoParams, callback?: Github.Callback): Promise; getForUser(params: Github.IssuesGetForUserParams, callback?: Github.Callback): Promise; getIssueLabels(params: Github.IssuesGetIssueLabelsParams, callback?: Github.Callback): Promise; getLabel(params: Github.IssuesGetLabelParams, callback?: Github.Callback): Promise; getLabels(params: Github.IssuesGetLabelsParams, callback?: Github.Callback): Promise; getMilestone(params: Github.IssuesGetMilestoneParams, callback?: Github.Callback): Promise; getMilestoneLabels(params: Github.IssuesGetMilestoneLabelsParams, callback?: Github.Callback): Promise; getMilestones(params: Github.IssuesGetMilestonesParams, callback?: Github.Callback): Promise; lock(params: Github.IssuesLockParams, callback?: Github.Callback): Promise; removeAllLabels(params: Github.IssuesRemoveAllLabelsParams, callback?: Github.Callback): Promise; removeAssigneesFromIssue(params: Github.IssuesRemoveAssigneesFromIssueParams, callback?: Github.Callback): Promise; removeLabel(params: Github.IssuesRemoveLabelParams, callback?: Github.Callback): Promise; replaceAllLabels(params: Github.IssuesReplaceAllLabelsParams, callback?: Github.Callback): Promise; unlock(params: Github.IssuesUnlockParams, callback?: Github.Callback): Promise; updateLabel(params: Github.IssuesUpdateLabelParams, callback?: Github.Callback): Promise; updateMilestone(params: Github.IssuesUpdateMilestoneParams, callback?: Github.Callback): Promise; }; migrations: { cancelImport(params: Github.MigrationsCancelImportParams, callback?: Github.Callback): Promise; deleteMigrationArchive(params: Github.MigrationsDeleteMigrationArchiveParams, callback?: Github.Callback): Promise; getImportCommitAuthors(params: Github.MigrationsGetImportCommitAuthorsParams, callback?: Github.Callback): Promise; getImportProgress(params: Github.MigrationsGetImportProgressParams, callback?: Github.Callback): Promise; getLargeImportFiles(params: Github.MigrationsGetLargeImportFilesParams, callback?: Github.Callback): Promise; getMigrationArchiveLink(params: Github.MigrationsGetMigrationArchiveLinkParams, callback?: Github.Callback): Promise; getMigrationStatus(params: Github.MigrationsGetMigrationStatusParams, callback?: Github.Callback): Promise; getMigrations(params: Github.MigrationsGetMigrationsParams, callback?: Github.Callback): Promise; mapImportCommitAuthor(params: Github.MigrationsMapImportCommitAuthorParams, callback?: Github.Callback): Promise; setImportLfsPreference(params: Github.MigrationsSetImportLfsPreferenceParams, callback?: Github.Callback): Promise; startImport(params: Github.MigrationsStartImportParams, callback?: Github.Callback): Promise; startMigration(params: Github.MigrationsStartMigrationParams, callback?: Github.Callback): Promise; unlockRepoLockedForMigration(params: Github.MigrationsUnlockRepoLockedForMigrationParams, callback?: Github.Callback): Promise; updateImport(params: Github.MigrationsUpdateImportParams, callback?: Github.Callback): Promise; }; misc: { getCodeOfConduct(params: Github.MiscGetCodeOfConductParams, callback?: Github.Callback): Promise; getCodesOfConduct(params: Github.EmptyParams, callback?: Github.Callback): Promise; getEmojis(params: Github.EmptyParams, callback?: Github.Callback): Promise; getGitignoreTemplate(params: Github.MiscGetGitignoreTemplateParams, callback?: Github.Callback): Promise; getGitignoreTemplates(params: Github.EmptyParams, callback?: Github.Callback): Promise; getLicense(params: Github.MiscGetLicenseParams, callback?: Github.Callback): Promise; getLicenses(params: Github.EmptyParams, callback?: Github.Callback): Promise; getMeta(params: Github.EmptyParams, callback?: Github.Callback): Promise; getRateLimit(params: Github.EmptyParams, callback?: Github.Callback): Promise; getRepoCodeOfConduct(params: Github.MiscGetRepoCodeOfConductParams, callback?: Github.Callback): Promise; getRepoLicense(params: Github.MiscGetRepoLicenseParams, callback?: Github.Callback): Promise; renderMarkdown(params: Github.MiscRenderMarkdownParams, callback?: Github.Callback): Promise; renderMarkdownRaw(params: Github.MiscRenderMarkdownRawParams, callback?: Github.Callback): Promise; }; orgs: { addOrgMembership(params: Github.OrgsAddOrgMembershipParams, callback?: Github.Callback): Promise; addTeamMembership(params: Github.OrgsAddTeamMembershipParams, callback?: Github.Callback): Promise; addTeamRepo(params: Github.OrgsAddTeamRepoParams, callback?: Github.Callback): Promise; blockUser(params: Github.OrgsBlockUserParams, callback?: Github.Callback): Promise; checkBlockedUser(params: Github.OrgsCheckBlockedUserParams, callback?: Github.Callback): Promise; checkMembership(params: Github.OrgsCheckMembershipParams, callback?: Github.Callback): Promise; checkPublicMembership(params: Github.OrgsCheckPublicMembershipParams, callback?: Github.Callback): Promise; checkTeamRepo(params: Github.OrgsCheckTeamRepoParams, callback?: Github.Callback): Promise; concealMembership(params: Github.OrgsConcealMembershipParams, callback?: Github.Callback): Promise; convertMemberToOutsideCollaborator(params: Github.OrgsConvertMemberToOutsideCollaboratorParams, callback?: Github.Callback): Promise; createHook(params: Github.OrgsCreateHookParams, callback?: Github.Callback): Promise; createInvitation(params: Github.OrgsCreateInvitationParams, callback?: Github.Callback): Promise; createTeam(params: Github.OrgsCreateTeamParams, callback?: Github.Callback): Promise; deleteHook(params: Github.OrgsDeleteHookParams, callback?: Github.Callback): Promise; deleteTeam(params: Github.OrgsDeleteTeamParams, callback?: Github.Callback): Promise; deleteTeamRepo(params: Github.OrgsDeleteTeamRepoParams, callback?: Github.Callback): Promise; editHook(params: Github.OrgsEditHookParams, callback?: Github.Callback): Promise; editTeam(params: Github.OrgsEditTeamParams, callback?: Github.Callback): Promise; get(params: Github.OrgsGetParams, callback?: Github.Callback): Promise; getAll(params: Github.OrgsGetAllParams, callback?: Github.Callback): Promise; getBlockedUsers(params: Github.OrgsGetBlockedUsersParams, callback?: Github.Callback): Promise; getChildTeams(params: Github.OrgsGetChildTeamsParams, callback?: Github.Callback): Promise; getForUser(params: Github.OrgsGetForUserParams, callback?: Github.Callback): Promise; getHook(params: Github.OrgsGetHookParams, callback?: Github.Callback): Promise; getHooks(params: Github.OrgsGetHooksParams, callback?: Github.Callback): Promise; getInvitationTeams(params: Github.OrgsGetInvitationTeamsParams, callback?: Github.Callback): Promise; getMembers(params: Github.OrgsGetMembersParams, callback?: Github.Callback): Promise; getOrgMembership(params: Github.OrgsGetOrgMembershipParams, callback?: Github.Callback): Promise; getOutsideCollaborators(params: Github.OrgsGetOutsideCollaboratorsParams, callback?: Github.Callback): Promise; getPendingOrgInvites(params: Github.OrgsGetPendingOrgInvitesParams, callback?: Github.Callback): Promise; getPendingTeamInvites(params: Github.OrgsGetPendingTeamInvitesParams, callback?: Github.Callback): Promise; getPublicMembers(params: Github.OrgsGetPublicMembersParams, callback?: Github.Callback): Promise; getTeam(params: Github.OrgsGetTeamParams, callback?: Github.Callback): Promise; getTeamMembers(params: Github.OrgsGetTeamMembersParams, callback?: Github.Callback): Promise; getTeamMembership(params: Github.OrgsGetTeamMembershipParams, callback?: Github.Callback): Promise; getTeamRepos(params: Github.OrgsGetTeamReposParams, callback?: Github.Callback): Promise; getTeams(params: Github.OrgsGetTeamsParams, callback?: Github.Callback): Promise; pingHook(params: Github.OrgsPingHookParams, callback?: Github.Callback): Promise; publicizeMembership(params: Github.OrgsPublicizeMembershipParams, callback?: Github.Callback): Promise; removeMember(params: Github.OrgsRemoveMemberParams, callback?: Github.Callback): Promise; removeOrgMembership(params: Github.OrgsRemoveOrgMembershipParams, callback?: Github.Callback): Promise; removeOutsideCollaborator(params: Github.OrgsRemoveOutsideCollaboratorParams, callback?: Github.Callback): Promise; removeTeamMembership(params: Github.OrgsRemoveTeamMembershipParams, callback?: Github.Callback): Promise; unblockUser(params: Github.OrgsUnblockUserParams, callback?: Github.Callback): Promise; update(params: Github.OrgsUpdateParams, callback?: Github.Callback): Promise; }; projects: { addCollaborator(params: Github.ProjectsAddCollaboratorParams, callback?: Github.Callback): Promise; createOrgProject(params: Github.ProjectsCreateOrgProjectParams, callback?: Github.Callback): Promise; createProjectCard(params: Github.ProjectsCreateProjectCardParams, callback?: Github.Callback): Promise; createProjectColumn(params: Github.ProjectsCreateProjectColumnParams, callback?: Github.Callback): Promise; createRepoProject(params: Github.ProjectsCreateRepoProjectParams, callback?: Github.Callback): Promise; deleteProject(params: Github.ProjectsDeleteProjectParams, callback?: Github.Callback): Promise; deleteProjectCard(params: Github.ProjectsDeleteProjectCardParams, callback?: Github.Callback): Promise; deleteProjectColumn(params: Github.ProjectsDeleteProjectColumnParams, callback?: Github.Callback): Promise; getCollaborators(params: Github.ProjectsGetCollaboratorsParams, callback?: Github.Callback): Promise; getOrgProjects(params: Github.ProjectsGetOrgProjectsParams, callback?: Github.Callback): Promise; getProject(params: Github.ProjectsGetProjectParams, callback?: Github.Callback): Promise; getProjectCard(params: Github.ProjectsGetProjectCardParams, callback?: Github.Callback): Promise; getProjectCards(params: Github.ProjectsGetProjectCardsParams, callback?: Github.Callback): Promise; getProjectColumn(params: Github.ProjectsGetProjectColumnParams, callback?: Github.Callback): Promise; getProjectColumns(params: Github.ProjectsGetProjectColumnsParams, callback?: Github.Callback): Promise; getRepoProjects(params: Github.ProjectsGetRepoProjectsParams, callback?: Github.Callback): Promise; getUserPermissionLevel(params: Github.ProjectsGetUserPermissionLevelParams, callback?: Github.Callback): Promise; moveProjectCard(params: Github.ProjectsMoveProjectCardParams, callback?: Github.Callback): Promise; moveProjectColumn(params: Github.ProjectsMoveProjectColumnParams, callback?: Github.Callback): Promise; removeCollaborator(params: Github.ProjectsRemoveCollaboratorParams, callback?: Github.Callback): Promise; updateProject(params: Github.ProjectsUpdateProjectParams, callback?: Github.Callback): Promise; updateProjectCard(params: Github.ProjectsUpdateProjectCardParams, callback?: Github.Callback): Promise; updateProjectColumn(params: Github.ProjectsUpdateProjectColumnParams, callback?: Github.Callback): Promise; }; pullRequests: { checkMerged(params: Github.PullRequestsCheckMergedParams, callback?: Github.Callback): Promise; create(params: Github.PullRequestsCreateParams, callback?: Github.Callback): Promise; createComment(params: Github.PullRequestsCreateCommentParams, callback?: Github.Callback): Promise; createCommentReply(params: Github.PullRequestsCreateCommentReplyParams, callback?: Github.Callback): Promise; createFromIssue(params: Github.PullRequestsCreateFromIssueParams, callback?: Github.Callback): Promise; createReview(params: Github.PullRequestsCreateReviewParams, callback?: Github.Callback): Promise; createReviewRequest(params: Github.PullRequestsCreateReviewRequestParams, callback?: Github.Callback): Promise; deleteComment(params: Github.PullRequestsDeleteCommentParams, callback?: Github.Callback): Promise; deletePendingReview(params: Github.PullRequestsDeletePendingReviewParams, callback?: Github.Callback): Promise; deleteReviewRequest(params: Github.PullRequestsDeleteReviewRequestParams, callback?: Github.Callback): Promise; dismissReview(params: Github.PullRequestsDismissReviewParams, callback?: Github.Callback): Promise; editComment(params: Github.PullRequestsEditCommentParams, callback?: Github.Callback): Promise; get(params: Github.PullRequestsGetParams, callback?: Github.Callback): Promise; getAll(params: Github.PullRequestsGetAllParams, callback?: Github.Callback): Promise; getComment(params: Github.PullRequestsGetCommentParams, callback?: Github.Callback): Promise; getComments(params: Github.PullRequestsGetCommentsParams, callback?: Github.Callback): Promise; getCommentsForRepo(params: Github.PullRequestsGetCommentsForRepoParams, callback?: Github.Callback): Promise; getCommits(params: Github.PullRequestsGetCommitsParams, callback?: Github.Callback): Promise; getFiles(params: Github.PullRequestsGetFilesParams, callback?: Github.Callback): Promise; getReview(params: Github.PullRequestsGetReviewParams, callback?: Github.Callback): Promise; getReviewComments(params: Github.PullRequestsGetReviewCommentsParams, callback?: Github.Callback): Promise; getReviewRequests(params: Github.PullRequestsGetReviewRequestsParams, callback?: Github.Callback): Promise; getReviews(params: Github.PullRequestsGetReviewsParams, callback?: Github.Callback): Promise; merge(params: Github.PullRequestsMergeParams, callback?: Github.Callback): Promise; submitReview(params: Github.PullRequestsSubmitReviewParams, callback?: Github.Callback): Promise; update(params: Github.PullRequestsUpdateParams, callback?: Github.Callback): Promise; }; reactions: { createForCommitComment(params: Github.ReactionsCreateForCommitCommentParams, callback?: Github.Callback): Promise; createForIssue(params: Github.ReactionsCreateForIssueParams, callback?: Github.Callback): Promise; createForIssueComment(params: Github.ReactionsCreateForIssueCommentParams, callback?: Github.Callback): Promise; createForPullRequestReviewComment(params: Github.ReactionsCreateForPullRequestReviewCommentParams, callback?: Github.Callback): Promise; createForTeamDiscussion(params: Github.ReactionsCreateForTeamDiscussionParams, callback?: Github.Callback): Promise; createForTeamDiscussionComment(params: Github.ReactionsCreateForTeamDiscussionCommentParams, callback?: Github.Callback): Promise; delete(params: Github.ReactionsDeleteParams, callback?: Github.Callback): Promise; getForCommitComment(params: Github.ReactionsGetForCommitCommentParams, callback?: Github.Callback): Promise; getForIssue(params: Github.ReactionsGetForIssueParams, callback?: Github.Callback): Promise; getForIssueComment(params: Github.ReactionsGetForIssueCommentParams, callback?: Github.Callback): Promise; getForPullRequestReviewComment(params: Github.ReactionsGetForPullRequestReviewCommentParams, callback?: Github.Callback): Promise; getForTeamDiscussion(params: Github.ReactionsGetForTeamDiscussionParams, callback?: Github.Callback): Promise; getForTeamDiscussionComment(params: Github.ReactionsGetForTeamDiscussionCommentParams, callback?: Github.Callback): Promise; }; repos: { addCollaborator(params: Github.ReposAddCollaboratorParams, callback?: Github.Callback): Promise; addDeployKey(params: Github.ReposAddDeployKeyParams, callback?: Github.Callback): Promise; addProtectedBranchAdminEnforcement(params: Github.ReposAddProtectedBranchAdminEnforcementParams, callback?: Github.Callback): Promise; addProtectedBranchRequiredSignatures(params: Github.ReposAddProtectedBranchRequiredSignaturesParams, callback?: Github.Callback): Promise; addProtectedBranchRequiredStatusChecksContexts(params: Github.ReposAddProtectedBranchRequiredStatusChecksContextsParams, callback?: Github.Callback): Promise; addProtectedBranchTeamRestrictions(params: Github.ReposAddProtectedBranchTeamRestrictionsParams, callback?: Github.Callback): Promise; addProtectedBranchUserRestrictions(params: Github.ReposAddProtectedBranchUserRestrictionsParams, callback?: Github.Callback): Promise; checkCollaborator(params: Github.ReposCheckCollaboratorParams, callback?: Github.Callback): Promise; compareCommits(params: Github.ReposCompareCommitsParams, callback?: Github.Callback): Promise; create(params: Github.ReposCreateParams, callback?: Github.Callback): Promise; createCommitComment(params: Github.ReposCreateCommitCommentParams, callback?: Github.Callback): Promise; createDeployment(params: Github.ReposCreateDeploymentParams, callback?: Github.Callback): Promise; createDeploymentStatus(params: Github.ReposCreateDeploymentStatusParams, callback?: Github.Callback): Promise; createFile(params: Github.ReposCreateFileParams, callback?: Github.Callback): Promise; createForOrg(params: Github.ReposCreateForOrgParams, callback?: Github.Callback): Promise; createHook(params: Github.ReposCreateHookParams, callback?: Github.Callback): Promise; createRelease(params: Github.ReposCreateReleaseParams, callback?: Github.Callback): Promise; createStatus(params: Github.ReposCreateStatusParams, callback?: Github.Callback): Promise; delete(params: Github.ReposDeleteParams, callback?: Github.Callback): Promise; deleteAsset(params: Github.ReposDeleteAssetParams, callback?: Github.Callback): Promise; deleteCommitComment(params: Github.ReposDeleteCommitCommentParams, callback?: Github.Callback): Promise; deleteDeployKey(params: Github.ReposDeleteDeployKeyParams, callback?: Github.Callback): Promise; deleteDownload(params: Github.ReposDeleteDownloadParams, callback?: Github.Callback): Promise; deleteFile(params: Github.ReposDeleteFileParams, callback?: Github.Callback): Promise; deleteHook(params: Github.ReposDeleteHookParams, callback?: Github.Callback): Promise; deleteInvite(params: Github.ReposDeleteInviteParams, callback?: Github.Callback): Promise; deleteRelease(params: Github.ReposDeleteReleaseParams, callback?: Github.Callback): Promise; edit(params: Github.ReposEditParams, callback?: Github.Callback): Promise; editAsset(params: Github.ReposEditAssetParams, callback?: Github.Callback): Promise; editHook(params: Github.ReposEditHookParams, callback?: Github.Callback): Promise; editRelease(params: Github.ReposEditReleaseParams, callback?: Github.Callback): Promise; fork(params: Github.ReposForkParams, callback?: Github.Callback): Promise; get(params: Github.ReposGetParams, callback?: Github.Callback): Promise; getAll(params: Github.ReposGetAllParams, callback?: Github.Callback): Promise; getAllCommitComments(params: Github.ReposGetAllCommitCommentsParams, callback?: Github.Callback): Promise; getArchiveLink(params: Github.ReposGetArchiveLinkParams, callback?: Github.Callback): Promise; getAsset(params: Github.ReposGetAssetParams, callback?: Github.Callback): Promise; getAssets(params: Github.ReposGetAssetsParams, callback?: Github.Callback): Promise; getBranch(params: Github.ReposGetBranchParams, callback?: Github.Callback): Promise; getBranchProtection(params: Github.ReposGetBranchProtectionParams, callback?: Github.Callback): Promise; getBranches(params: Github.ReposGetBranchesParams, callback?: Github.Callback): Promise; getById(params: Github.ReposGetByIdParams, callback?: Github.Callback): Promise; getClones(params: Github.ReposGetClonesParams, callback?: Github.Callback): Promise; getCollaborators(params: Github.ReposGetCollaboratorsParams, callback?: Github.Callback): Promise; getCombinedStatusForRef(params: Github.ReposGetCombinedStatusForRefParams, callback?: Github.Callback): Promise; getCommit(params: Github.ReposGetCommitParams, callback?: Github.Callback): Promise; getCommitComment(params: Github.ReposGetCommitCommentParams, callback?: Github.Callback): Promise; getCommitComments(params: Github.ReposGetCommitCommentsParams, callback?: Github.Callback): Promise; getCommits(params: Github.ReposGetCommitsParams, callback?: Github.Callback): Promise; getCommunityProfileMetrics(params: Github.ReposGetCommunityProfileMetricsParams, callback?: Github.Callback): Promise; getContent(params: Github.ReposGetContentParams, callback?: Github.Callback): Promise; getContributors(params: Github.ReposGetContributorsParams, callback?: Github.Callback): Promise; getDeployKey(params: Github.ReposGetDeployKeyParams, callback?: Github.Callback): Promise; getDeployKeys(params: Github.ReposGetDeployKeysParams, callback?: Github.Callback): Promise; getDeployment(params: Github.ReposGetDeploymentParams, callback?: Github.Callback): Promise; getDeploymentStatus(params: Github.ReposGetDeploymentStatusParams, callback?: Github.Callback): Promise; getDeploymentStatuses(params: Github.ReposGetDeploymentStatusesParams, callback?: Github.Callback): Promise; getDeployments(params: Github.ReposGetDeploymentsParams, callback?: Github.Callback): Promise; getDownload(params: Github.ReposGetDownloadParams, callback?: Github.Callback): Promise; getDownloads(params: Github.ReposGetDownloadsParams, callback?: Github.Callback): Promise; getForOrg(params: Github.ReposGetForOrgParams, callback?: Github.Callback): Promise; getForUser(params: Github.ReposGetForUserParams, callback?: Github.Callback): Promise; getForks(params: Github.ReposGetForksParams, callback?: Github.Callback): Promise; getHook(params: Github.ReposGetHookParams, callback?: Github.Callback): Promise; getHooks(params: Github.ReposGetHooksParams, callback?: Github.Callback): Promise; getInvites(params: Github.ReposGetInvitesParams, callback?: Github.Callback): Promise; getLanguages(params: Github.ReposGetLanguagesParams, callback?: Github.Callback): Promise; getLatestPagesBuild(params: Github.ReposGetLatestPagesBuildParams, callback?: Github.Callback): Promise; getLatestRelease(params: Github.ReposGetLatestReleaseParams, callback?: Github.Callback): Promise; getPages(params: Github.ReposGetPagesParams, callback?: Github.Callback): Promise; getPagesBuild(params: Github.ReposGetPagesBuildParams, callback?: Github.Callback): Promise; getPagesBuilds(params: Github.ReposGetPagesBuildsParams, callback?: Github.Callback): Promise; getPaths(params: Github.ReposGetPathsParams, callback?: Github.Callback): Promise; getProtectedBranchAdminEnforcement(params: Github.ReposGetProtectedBranchAdminEnforcementParams, callback?: Github.Callback): Promise; getProtectedBranchPullRequestReviewEnforcement(params: Github.ReposGetProtectedBranchPullRequestReviewEnforcementParams, callback?: Github.Callback): Promise; getProtectedBranchRequiredSignatures(params: Github.ReposGetProtectedBranchRequiredSignaturesParams, callback?: Github.Callback): Promise; getProtectedBranchRequiredStatusChecks(params: Github.ReposGetProtectedBranchRequiredStatusChecksParams, callback?: Github.Callback): Promise; getProtectedBranchRequiredStatusChecksContexts(params: Github.ReposGetProtectedBranchRequiredStatusChecksContextsParams, callback?: Github.Callback): Promise; getProtectedBranchRestrictions(params: Github.ReposGetProtectedBranchRestrictionsParams, callback?: Github.Callback): Promise; getProtectedBranchTeamRestrictions(params: Github.ReposGetProtectedBranchTeamRestrictionsParams, callback?: Github.Callback): Promise; getProtectedBranchUserRestrictions(params: Github.ReposGetProtectedBranchUserRestrictionsParams, callback?: Github.Callback): Promise; getPublic(params: Github.ReposGetPublicParams, callback?: Github.Callback): Promise; getReadme(params: Github.ReposGetReadmeParams, callback?: Github.Callback): Promise; getReferrers(params: Github.ReposGetReferrersParams, callback?: Github.Callback): Promise; getRelease(params: Github.ReposGetReleaseParams, callback?: Github.Callback): Promise; getReleaseByTag(params: Github.ReposGetReleaseByTagParams, callback?: Github.Callback): Promise; getReleases(params: Github.ReposGetReleasesParams, callback?: Github.Callback): Promise; getShaOfCommitRef(params: Github.ReposGetShaOfCommitRefParams, callback?: Github.Callback): Promise; getStatsCodeFrequency(params: Github.ReposGetStatsCodeFrequencyParams, callback?: Github.Callback): Promise; getStatsCommitActivity(params: Github.ReposGetStatsCommitActivityParams, callback?: Github.Callback): Promise; getStatsContributors(params: Github.ReposGetStatsContributorsParams, callback?: Github.Callback): Promise; getStatsParticipation(params: Github.ReposGetStatsParticipationParams, callback?: Github.Callback): Promise; getStatsPunchCard(params: Github.ReposGetStatsPunchCardParams, callback?: Github.Callback): Promise; getStatuses(params: Github.ReposGetStatusesParams, callback?: Github.Callback): Promise; getTags(params: Github.ReposGetTagsParams, callback?: Github.Callback): Promise; getTeams(params: Github.ReposGetTeamsParams, callback?: Github.Callback): Promise; getTopics(params: Github.ReposGetTopicsParams, callback?: Github.Callback): Promise; getViews(params: Github.ReposGetViewsParams, callback?: Github.Callback): Promise; merge(params: Github.ReposMergeParams, callback?: Github.Callback): Promise; pingHook(params: Github.ReposPingHookParams, callback?: Github.Callback): Promise; removeBranchProtection(params: Github.ReposRemoveBranchProtectionParams, callback?: Github.Callback): Promise; removeCollaborator(params: Github.ReposRemoveCollaboratorParams, callback?: Github.Callback): Promise; removeProtectedBranchAdminEnforcement(params: Github.ReposRemoveProtectedBranchAdminEnforcementParams, callback?: Github.Callback): Promise; removeProtectedBranchPullRequestReviewEnforcement(params: Github.ReposRemoveProtectedBranchPullRequestReviewEnforcementParams, callback?: Github.Callback): Promise; removeProtectedBranchRequiredSignatures(params: Github.ReposRemoveProtectedBranchRequiredSignaturesParams, callback?: Github.Callback): Promise; removeProtectedBranchRequiredStatusChecks(params: Github.ReposRemoveProtectedBranchRequiredStatusChecksParams, callback?: Github.Callback): Promise; removeProtectedBranchRequiredStatusChecksContexts(params: Github.ReposRemoveProtectedBranchRequiredStatusChecksContextsParams, callback?: Github.Callback): Promise; removeProtectedBranchRestrictions(params: Github.ReposRemoveProtectedBranchRestrictionsParams, callback?: Github.Callback): Promise; removeProtectedBranchTeamRestrictions(params: Github.ReposRemoveProtectedBranchTeamRestrictionsParams, callback?: Github.Callback): Promise; removeProtectedBranchUserRestrictions(params: Github.ReposRemoveProtectedBranchUserRestrictionsParams, callback?: Github.Callback): Promise; replaceProtectedBranchRequiredStatusChecksContexts(params: Github.ReposReplaceProtectedBranchRequiredStatusChecksContextsParams, callback?: Github.Callback): Promise; replaceProtectedBranchTeamRestrictions(params: Github.ReposReplaceProtectedBranchTeamRestrictionsParams, callback?: Github.Callback): Promise; replaceProtectedBranchUserRestrictions(params: Github.ReposReplaceProtectedBranchUserRestrictionsParams, callback?: Github.Callback): Promise; replaceTopics(params: Github.ReposReplaceTopicsParams, callback?: Github.Callback): Promise; requestPageBuild(params: Github.ReposRequestPageBuildParams, callback?: Github.Callback): Promise; reviewUserPermissionLevel(params: Github.ReposReviewUserPermissionLevelParams, callback?: Github.Callback): Promise; testHook(params: Github.ReposTestHookParams, callback?: Github.Callback): Promise; transfer(params: Github.ReposTransferParams, callback?: Github.Callback): Promise; updateBranchProtection(params: Github.ReposUpdateBranchProtectionParams, callback?: Github.Callback): Promise; updateCommitComment(params: Github.ReposUpdateCommitCommentParams, callback?: Github.Callback): Promise; updateFile(params: Github.ReposUpdateFileParams, callback?: Github.Callback): Promise; updateInvite(params: Github.ReposUpdateInviteParams, callback?: Github.Callback): Promise; updateProtectedBranchPullRequestReviewEnforcement(params: Github.ReposUpdateProtectedBranchPullRequestReviewEnforcementParams, callback?: Github.Callback): Promise; updateProtectedBranchRequiredStatusChecks(params: Github.ReposUpdateProtectedBranchRequiredStatusChecksParams, callback?: Github.Callback): Promise; uploadAsset(params: Github.ReposUploadAssetParams, callback?: Github.Callback): Promise; }; search: { code(params: Github.SearchCodeParams, callback?: Github.Callback): Promise; commits(params: Github.SearchCommitsParams, callback?: Github.Callback): Promise; issues(params: Github.SearchIssuesParams, callback?: Github.Callback): Promise; labels(params: Github.SearchLabelsParams, callback?: Github.Callback): Promise; repos(params: Github.SearchReposParams, callback?: Github.Callback): Promise; topics(params: Github.SearchTopicsParams, callback?: Github.Callback): Promise; users(params: Github.SearchUsersParams, callback?: Github.Callback): Promise; }; users: { acceptRepoInvite(params: Github.UsersAcceptRepoInviteParams, callback?: Github.Callback): Promise; addEmails(params: Github.UsersAddEmailsParams, callback?: Github.Callback): Promise; addRepoToInstallation(params: Github.UsersAddRepoToInstallationParams, callback?: Github.Callback): Promise; blockUser(params: Github.UsersBlockUserParams, callback?: Github.Callback): Promise; checkBlockedUser(params: Github.UsersCheckBlockedUserParams, callback?: Github.Callback): Promise; checkFollowing(params: Github.UsersCheckFollowingParams, callback?: Github.Callback): Promise; checkIfOneFollowersOther(params: Github.UsersCheckIfOneFollowersOtherParams, callback?: Github.Callback): Promise; createGpgKey(params: Github.EmptyParams, callback?: Github.Callback): Promise; createKey(params: Github.EmptyParams, callback?: Github.Callback): Promise; declineRepoInvite(params: Github.UsersDeclineRepoInviteParams, callback?: Github.Callback): Promise; deleteEmails(params: Github.UsersDeleteEmailsParams, callback?: Github.Callback): Promise; deleteGpgKey(params: Github.UsersDeleteGpgKeyParams, callback?: Github.Callback): Promise; deleteKey(params: Github.UsersDeleteKeyParams, callback?: Github.Callback): Promise; demote(params: Github.UsersDemoteParams, callback?: Github.Callback): Promise; editOrgMembership(params: Github.UsersEditOrgMembershipParams, callback?: Github.Callback): Promise; followUser(params: Github.UsersFollowUserParams, callback?: Github.Callback): Promise; get(params: Github.EmptyParams, callback?: Github.Callback): Promise; getAll(params: Github.UsersGetAllParams, callback?: Github.Callback): Promise; getBlockedUsers(params: Github.EmptyParams, callback?: Github.Callback): Promise; getById(params: Github.UsersGetByIdParams, callback?: Github.Callback): Promise; getContextForUser(params: Github.UsersGetContextForUserParams, callback?: Github.Callback): Promise; getEmails(params: Github.UsersGetEmailsParams, callback?: Github.Callback): Promise; getFollowers(params: Github.UsersGetFollowersParams, callback?: Github.Callback): Promise; getFollowersForUser(params: Github.UsersGetFollowersForUserParams, callback?: Github.Callback): Promise; getFollowing(params: Github.UsersGetFollowingParams, callback?: Github.Callback): Promise; getFollowingForUser(params: Github.UsersGetFollowingForUserParams, callback?: Github.Callback): Promise; getForUser(params: Github.UsersGetForUserParams, callback?: Github.Callback): Promise; getGpgKey(params: Github.UsersGetGpgKeyParams, callback?: Github.Callback): Promise; getGpgKeys(params: Github.UsersGetGpgKeysParams, callback?: Github.Callback): Promise; getGpgKeysForUser(params: Github.UsersGetGpgKeysForUserParams, callback?: Github.Callback): Promise; getInstallationRepos(params: Github.UsersGetInstallationReposParams, callback?: Github.Callback): Promise; getInstallations(params: Github.UsersGetInstallationsParams, callback?: Github.Callback): Promise; getKey(params: Github.UsersGetKeyParams, callback?: Github.Callback): Promise; getKeys(params: Github.UsersGetKeysParams, callback?: Github.Callback): Promise; getKeysForUser(params: Github.UsersGetKeysForUserParams, callback?: Github.Callback): Promise; getMarketplacePurchases(params: Github.UsersGetMarketplacePurchasesParams, callback?: Github.Callback): Promise; getMarketplaceStubbedPurchases(params: Github.UsersGetMarketplaceStubbedPurchasesParams, callback?: Github.Callback): Promise; getOrgMembership(params: Github.UsersGetOrgMembershipParams, callback?: Github.Callback): Promise; getOrgMemberships(params: Github.UsersGetOrgMembershipsParams, callback?: Github.Callback): Promise; getOrgs(params: Github.UsersGetOrgsParams, callback?: Github.Callback): Promise; getPublicEmails(params: Github.UsersGetPublicEmailsParams, callback?: Github.Callback): Promise; getRepoInvites(params: Github.UsersGetRepoInvitesParams, callback?: Github.Callback): Promise; getTeams(params: Github.UsersGetTeamsParams, callback?: Github.Callback): Promise; promote(params: Github.UsersPromoteParams, callback?: Github.Callback): Promise; removeRepoFromInstallation(params: Github.UsersRemoveRepoFromInstallationParams, callback?: Github.Callback): Promise; suspend(params: Github.UsersSuspendParams, callback?: Github.Callback): Promise; togglePrimaryEmailVisibility(params: Github.UsersTogglePrimaryEmailVisibilityParams, callback?: Github.Callback): Promise; unblockUser(params: Github.UsersUnblockUserParams, callback?: Github.Callback): Promise; unfollowUser(params: Github.UsersUnfollowUserParams, callback?: Github.Callback): Promise; unsuspend(params: Github.UsersUnsuspendParams, callback?: Github.Callback): Promise; update(params: Github.UsersUpdateParams, callback?: Github.Callback): Promise; }; } export = Github;