import { APIClient as BareAPIClient, Options as BareOptions, Plugin } from '../src/client/types' import { Routes } from '../src/plugins/register-endpoints/types' import { PaginatedResponseData, Response } from '../src/request/types' import { AuthOptions } from '../src/plugins/auth/types' interface Options extends BareOptions { auth?: AuthOptions notice?: boolean } type AsyncResponse = Promise> export interface APIClient extends BareAPIClient { hasNextPage(data: PaginatedResponseData): boolean getNextPage(data: PaginatedResponseData): Response hasPreviousPage(data: PaginatedResponseData): boolean getPreviousPage(data: PaginatedResponseData): Response registerEndpoints(routes: Routes): void } export interface APIClientFactory { new (options?: Options): APIClient (options?: Options): APIClient plugins(plugins: Plugin[]): APIClientFactory } export namespace Schema { export type Any = any export type AnyObject = { [key: string]: any } export type Branch = Ref & { [k: string]: any } export type Commit = BaseCommit & { participants?: Participant[] repository?: Repository [k: string]: any } export type BaseCommit = Object & { author?: Author date?: string hash?: string message?: string parents?: BaseCommit[] summary?: { html?: string markup?: 'markdown' | 'creole' | 'plaintext' raw?: string } [k: string]: any } export type Author = Object & { raw?: string user?: Account [k: string]: any } export type Account = Object & { account_status?: string created_on?: string display_name?: string has_2fa_enabled?: boolean links?: { avatar?: { href?: string name?: string } followers?: { href?: string name?: string } following?: { href?: string name?: string } html?: { href?: string name?: string } repositories?: { href?: string name?: string } self?: { href?: string name?: string } } nickname?: string username?: string uuid?: string website?: string [k: string]: any } export type Participant = Object & { approved?: boolean participated_on?: string role?: 'PARTICIPANT' | 'REVIEWER' user?: User [k: string]: any } export type User = Account & { account_id?: string is_staff?: boolean [k: string]: any } export type Repository = Object & { created_on?: string description?: string fork_policy?: 'allow_forks' | 'no_public_forks' | 'no_forks' full_name?: string has_issues?: boolean has_wiki?: boolean is_private?: boolean language?: string links?: { avatar?: { href?: string name?: string } clone?: { href?: string name?: string }[] commits?: { href?: string name?: string } downloads?: { href?: string name?: string } forks?: { href?: string name?: string } hooks?: { href?: string name?: string } html?: { href?: string name?: string } pullrequests?: { href?: string name?: string } self?: { href?: string name?: string } watchers?: { href?: string name?: string } } mainbranch?: Branch name?: string owner?: Account parent?: Repository project?: Project scm?: 'hg' | 'git' size?: number updated_on?: string uuid?: string [k: string]: any } export type Project = Object & { created_on?: string description?: string is_private?: boolean key?: string links?: { avatar?: { href?: string name?: string } html?: { href?: string name?: string } } name?: string owner?: Team updated_on?: string uuid?: string [k: string]: any } export type Team = Account & { [k: string]: any } export type BranchingModel = Object & { branch_types?: | [] | [ { kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix: string } ] | [ { kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix: string }, { kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix: string } ] | [ { kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix: string }, { kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix: string }, { kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix: string } ] | [ { kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix: string }, { kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix: string }, { kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix: string }, { kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix: string } ] development?: { branch?: Branch name: string use_mainbranch: boolean } production?: { branch?: Branch name: string use_mainbranch: boolean } [k: string]: any } export type BranchingModelSettings = Object & { branch_types?: | [] | [ { enabled?: boolean kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix?: string } ] | [ { enabled?: boolean kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix?: string }, { enabled?: boolean kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix?: string } ] | [ { enabled?: boolean kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix?: string }, { enabled?: boolean kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix?: string }, { enabled?: boolean kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix?: string } ] | [ { enabled?: boolean kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix?: string }, { enabled?: boolean kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix?: string }, { enabled?: boolean kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix?: string }, { enabled?: boolean kind: 'feature' | 'bugfix' | 'release' | 'hotfix' prefix?: string } ] development?: { is_valid?: boolean name?: string use_mainbranch?: boolean } links?: { self?: { href?: string name?: string } } production?: { enabled?: boolean is_valid?: boolean name?: string use_mainbranch?: boolean } [k: string]: any } export type Branchrestriction = Object & { branch_match_kind: 'branching_model' | 'glob' branch_type?: | 'feature' | 'bugfix' | 'release' | 'hotfix' | 'development' | 'production' groups?: Group[] id?: number kind: | 'require_tasks_to_be_completed' | 'force' | 'restrict_merges' | 'enforce_merge_checks' | 'require_approvals_to_merge' | 'delete' | 'require_all_dependencies_merged' | 'push' | 'require_passing_builds_to_merge' | 'reset_pullrequest_approvals_on_change' | 'require_default_reviewer_approvals_to_merge' links?: { self?: { href?: string name?: string } } pattern: string users?: Account[] value?: number [k: string]: any } export type Group = Object & { full_slug?: string links?: { html?: { href?: string name?: string } self?: { href?: string name?: string } } members?: number name?: string owner?: Account slug?: string [k: string]: any } export type CommitComment = Comment & { commit?: Commit [k: string]: any } export type Comment = Object & { content?: { html?: string markup?: 'markdown' | 'creole' | 'plaintext' raw?: string } created_on?: string deleted?: boolean id?: number inline?: { from?: number path: string to?: number } links?: { code?: { href?: string name?: string } html?: { href?: string name?: string } self?: { href?: string name?: string } } parent?: Comment updated_on?: string user?: User [k: string]: any } export type Commitstatus = Object & { created_on?: string description?: string key?: string links?: { commit?: { href?: string name?: string } self?: { href?: string name?: string } } name?: string refname?: string state?: 'SUCCESSFUL' | 'FAILED' | 'INPROGRESS' | 'STOPPED' updated_on?: string url?: string uuid?: string [k: string]: any } export type Component = Object & { id?: number links?: { self?: { href?: string name?: string } } name?: string [k: string]: any } export type DeployKey = Object & { added_on?: string comment?: string key?: string label?: string last_used?: string links?: { self?: { href?: string name?: string } } owner?: Account repository?: Repository [k: string]: any } export type Deployment = Object & { environment?: DeploymentEnvironment release?: DeploymentRelease state?: DeploymentState uuid?: string [k: string]: any } export type DeploymentEnvironment = Object & { name?: string uuid?: string [k: string]: any } export type DeploymentRelease = Object & { commit?: Commit created_on?: string name?: string url?: string uuid?: string [k: string]: any } export type DeploymentState = Object & { [k: string]: any } export type DeploymentVariable = Object & { key?: string secured?: boolean uuid?: string value?: string [k: string]: any } export type Issue = Object & { assignee?: User component?: Component content?: { html?: string markup?: 'markdown' | 'creole' | 'plaintext' raw?: string } created_on?: string edited_on?: string id?: number kind?: 'bug' | 'enhancement' | 'proposal' | 'task' links?: { attachments?: { href?: string name?: string } comments?: { href?: string name?: string } html?: { href?: string name?: string } self?: { href?: string name?: string } vote?: { href?: string name?: string } watch?: { href?: string name?: string } } milestone?: Milestone priority?: 'trivial' | 'minor' | 'major' | 'critical' | 'blocker' reporter?: User repository?: Repository state?: | 'new' | 'open' | 'resolved' | 'on hold' | 'invalid' | 'duplicate' | 'wontfix' | 'closed' title?: string updated_on?: string version?: Version votes?: number [k: string]: any } export type Milestone = Object & { id?: number links?: { self?: { href?: string name?: string } } name?: string [k: string]: any } export type Version = Object & { id?: number links?: { self?: { href?: string name?: string } } name?: string [k: string]: any } export type IssueComment = Comment & { issue?: Issue [k: string]: any } export type IssueAttachment = Object & { links?: { self?: { href?: string name?: string } } name?: string [k: string]: any } export type PipelineKnownHost = Object & { hostname?: string public_key?: PipelineSshPublicKey uuid?: string [k: string]: any } export type PipelineSshPublicKey = Object & { key?: string key_type?: string md5_fingerprint?: string sha256_fingerprint?: string [k: string]: any } export type PipelineScheduleExecution = Object & { [k: string]: any } export type PipelineSchedule = Object & { created_on?: string cron_pattern?: string enabled?: boolean selector?: PipelineSelector target?: PipelineTarget updated_on?: string uuid?: string [k: string]: any } export type PipelineSelector = Object & { pattern?: string type?: 'branches' | 'tags' | 'bookmarks' | 'default' | 'custom' [k: string]: any } export type PipelineTarget = Object & { [k: string]: any } export type PipelineStep = Object & { completed_on?: string image?: PipelineImage script_commands?: PipelineCommand[] setup_commands?: PipelineCommand[] started_on?: string state?: PipelineStepState uuid?: string [k: string]: any } export type PipelineStepState = Object & { [k: string]: any } export type PipelineVariable = Object & { key?: string secured?: boolean uuid?: string value?: string [k: string]: any } export type Pipeline = Object & { build_number?: number build_seconds_used?: number completed_on?: string created_on?: string creator?: Account repository?: Repository state?: PipelineState target?: PipelineTarget trigger?: PipelineTrigger uuid?: string [k: string]: any } export type PipelineState = Object & { [k: string]: any } export type PipelineTrigger = Object & { [k: string]: any } export type PullrequestComment = Comment & { pullrequest?: Pullrequest [k: string]: any } export type Pullrequest = Object & { author?: Account close_source_branch?: boolean closed_by?: Account comment_count?: number created_on?: string destination?: PullrequestEndpoint id?: number links?: { activity?: { href?: string name?: string } approve?: { href?: string name?: string } comments?: { href?: string name?: string } commits?: { href?: string name?: string } decline?: { href?: string name?: string } diff?: { href?: string name?: string } diffstat?: { href?: string name?: string } html?: { href?: string name?: string } merge?: { href?: string name?: string } self?: { href?: string name?: string } } merge_commit?: { hash?: string } participants?: Participant[] reason?: string rendered?: { description?: { html?: string markup?: 'markdown' | 'creole' | 'plaintext' raw?: string } reason?: { html?: string markup?: 'markdown' | 'creole' | 'plaintext' raw?: string } title?: { html?: string markup?: 'markdown' | 'creole' | 'plaintext' raw?: string } } reviewers?: Account[] source?: PullrequestEndpoint state?: 'MERGED' | 'SUPERSEDED' | 'OPEN' | 'DECLINED' summary?: { html?: string markup?: 'markdown' | 'creole' | 'plaintext' raw?: string } task_count?: number title?: string updated_on?: string [k: string]: any } export type SnippetComment = Object & { links?: { html?: { href?: string name?: string } self?: { href?: string name?: string } } snippet?: Snippet [k: string]: any } export type Snippet = Object & { created_on?: string creator?: Account id?: number is_private?: boolean owner?: Account scm?: 'hg' | 'git' title?: string updated_on?: string [k: string]: any } export type SnippetCommit = BaseCommit & { links?: { diff?: { href?: string name?: string } html?: { href?: string name?: string } self?: { href?: string name?: string } } snippet?: Snippet [k: string]: any } export type SshAccountKey = SshKey & { owner?: Account [k: string]: any } export type SshKey = Object & { comment?: string created_on?: string key?: string label?: string last_used?: string links?: { self?: { href?: string name?: string } } uuid?: string [k: string]: any } export type Tag = Ref & { date?: string message?: string tagger?: Author [k: string]: any } export type WebhookSubscription = Object & { active?: boolean created_at?: string description?: string events?: ( | 'pullrequest:unapproved' | 'issue:comment_created' | 'pullrequest:approved' | 'repo:created' | 'repo:deleted' | 'repo:imported' | 'pullrequest:comment_updated' | 'issue:updated' | 'project:updated' | 'pullrequest:comment_created' | 'repo:commit_status_updated' | 'pullrequest:updated' | 'issue:created' | 'repo:fork' | 'pullrequest:comment_deleted' | 'repo:commit_status_created' | 'repo:updated' | 'pullrequest:rejected' | 'pullrequest:fulfilled' | 'repo:push' | 'pullrequest:created' | 'repo:transfer' | 'repo:commit_comment_created')[] subject?: Object subject_type?: 'workspace' | 'user' | 'repository' | 'team' url?: string uuid?: string [k: string]: any } export type PipelineBuildNumber = Object & { next?: number [k: string]: any } export type PipelineSshKeyPair = Object & { private_key?: string public_key?: string [k: string]: any } export type PipelinesConfig = Object & { enabled?: boolean repository?: Repository [k: string]: any } export interface Ref { links?: { commits?: { href?: string name?: string } html?: { href?: string name?: string } self?: { href?: string name?: string } } name?: string target?: Commit type: string [k: string]: any } export interface Object { type: string [k: string]: any } export interface Error { error?: { data?: { [k: string]: any } detail?: string message: string } type: string [k: string]: any } export interface IssueChange { changes?: { assignee?: { new?: string old?: string } component?: { new?: string old?: string } content?: { new?: string old?: string } kind?: { new?: string old?: string } milestone?: { new?: string old?: string } priority?: { new?: string old?: string } state?: { new?: string old?: string } title?: { new?: string old?: string } version?: { new?: string old?: string } } created_on?: string issue?: Issue links?: { issue?: { href?: string name?: string } self?: { href?: string name?: string } } message?: { html?: string markup?: 'markdown' | 'creole' | 'plaintext' raw?: string } name?: string type: string user?: User [k: string]: any } export interface IssueJobStatus { count?: number pct?: number phase?: string status?: 'ACCEPTED' | 'STARTED' | 'RUNNING' | 'FAILURE' total?: number type?: string } export interface PaginatedBranches { next?: string page?: number pagelen?: number previous?: string size?: number values?: Branch[] } export interface PaginatedBranchrestrictions { next?: string page?: number pagelen?: number previous?: string size?: number values?: Branchrestriction[] } export interface PaginatedCommitComments { next?: string page?: number pagelen?: number previous?: string size?: number values?: CommitComment[] } export interface PaginatedCommitstatuses { next?: string page?: number pagelen?: number previous?: string size?: number values?: Commitstatus[] } export interface PaginatedComponents { next?: string page?: number pagelen?: number previous?: string size?: number values?: Component[] } export interface PaginatedDeployKeys { next?: string page?: number pagelen?: number previous?: string size?: number values?: DeployKey[] } export interface PaginatedDeploymentVariable { next?: string page?: number pagelen?: number previous?: string size?: number values?: DeploymentVariable[] [k: string]: any } export interface PaginatedDeployments { next?: string page?: number pagelen?: number previous?: string size?: number values?: Deployment[] [k: string]: any } export interface PaginatedDiffstats { next?: string page?: number pagelen?: number previous?: string size?: number values?: Diffstat[] } export interface Diffstat { lines_added?: number lines_removed?: number new?: CommitFile old?: CommitFile status?: 'added' | 'removed' | 'modified' | 'renamed' type: string [k: string]: any } export interface CommitFile { attributes?: 'link' | 'executable' | 'subrepository' | 'binary' | 'lfs' commit?: Commit path?: string type: string [k: string]: any } export interface PaginatedEnvironments { next?: string page?: number pagelen?: number previous?: string size?: number values?: DeploymentEnvironment[] [k: string]: any } export interface PaginatedFiles { next?: string page?: number pagelen?: number previous?: string size?: number values?: CommitFile[] } export interface PaginatedHookEvents { next?: string page?: number pagelen?: number previous?: string size?: number values?: HookEvent[] } export interface HookEvent { category?: string description?: string event?: | 'pullrequest:unapproved' | 'issue:comment_created' | 'pullrequest:approved' | 'repo:created' | 'repo:deleted' | 'repo:imported' | 'pullrequest:comment_updated' | 'issue:updated' | 'project:updated' | 'pullrequest:comment_created' | 'repo:commit_status_updated' | 'pullrequest:updated' | 'issue:created' | 'repo:fork' | 'pullrequest:comment_deleted' | 'repo:commit_status_created' | 'repo:updated' | 'pullrequest:rejected' | 'pullrequest:fulfilled' | 'repo:push' | 'pullrequest:created' | 'repo:transfer' | 'repo:commit_comment_created' label?: string } export interface PaginatedIssueAttachments { next?: string page?: number pagelen?: number previous?: string size?: number values?: IssueAttachment[] } export interface PaginatedIssueComments { next?: string page?: number pagelen?: number previous?: string size?: number values?: IssueComment[] } export interface PaginatedIssues { next?: string page?: number pagelen?: number previous?: string size?: number values?: Issue[] } export interface PaginatedLogEntries { next?: string page?: number pagelen?: number previous?: string size?: number values?: IssueChange[] } export interface PaginatedMilestones { next?: string page?: number pagelen?: number previous?: string size?: number values?: Milestone[] } export interface PaginatedPipelineKnownHosts { next?: string page?: number pagelen?: number previous?: string size?: number values?: PipelineKnownHost[] [k: string]: any } export interface PaginatedPipelineScheduleExecutions { next?: string page?: number pagelen?: number previous?: string size?: number values?: PipelineScheduleExecution[] [k: string]: any } export interface PaginatedPipelineSchedules { next?: string page?: number pagelen?: number previous?: string size?: number values?: PipelineSchedule[] [k: string]: any } export interface PaginatedPipelineSteps { next?: string page?: number pagelen?: number previous?: string size?: number values?: PipelineStep[] [k: string]: any } export interface PipelineImage { email?: string name?: string password?: string username?: string [k: string]: any } export interface PipelineCommand { command?: string name?: string [k: string]: any } export interface PaginatedPipelineVariables { next?: string page?: number pagelen?: number previous?: string size?: number values?: PipelineVariable[] [k: string]: any } export interface PaginatedPipelines { next?: string page?: number pagelen?: number previous?: string size?: number values?: Pipeline[] [k: string]: any } export interface PaginatedProjects { next?: string page?: number pagelen?: number previous?: string size?: number values?: Project[] } export interface PaginatedPullrequestComments { next?: string page?: number pagelen?: number previous?: string size?: number values?: PullrequestComment[] } export interface PullrequestEndpoint { branch?: { default_merge_strategy?: string merge_strategies?: ('merge_commit' | 'squash' | 'fast_forward')[] name?: string } commit?: { hash?: string } repository?: Repository } export interface PaginatedPullrequests { next?: string page?: number pagelen?: number previous?: string size?: number values?: Pullrequest[] } export interface PaginatedRefs { next?: string page?: number pagelen?: number previous?: string size?: number values?: Ref[] } export interface PaginatedRepositories { next?: string page?: number pagelen?: number previous?: string size?: number values?: Repository[] } export interface PaginatedRepositoryPermissions { next?: string page?: number pagelen?: number previous?: string size?: number values?: RepositoryPermission[] } export interface RepositoryPermission { permission?: 'admin' | 'write' | 'read' repository?: Repository type: string user?: User [k: string]: any } export interface PaginatedSnippetComments { next?: string page?: number pagelen?: number previous?: string size?: number values?: SnippetComment[] } export interface PaginatedSnippetCommit { next?: string page?: number pagelen?: number previous?: string size?: number values?: SnippetCommit[] } export interface PaginatedSnippets { next?: string page?: number pagelen?: number previous?: string size?: number values?: Snippet[] } export interface PaginatedSshUserKeys { next?: string page?: number pagelen?: number previous?: string size?: number values?: SshAccountKey[] } export interface PaginatedTags { next?: string page?: number pagelen?: number previous?: string size?: number values?: Tag[] } export interface PaginatedTeamPermissions { next?: string page?: number pagelen?: number previous?: string size?: number values?: TeamPermission[] } export interface TeamPermission { permission?: 'admin' | 'collaborator' team?: Team type: string user?: User [k: string]: any } export interface PaginatedTeams { next?: string page?: number pagelen?: number previous?: string size?: number values?: Team[] } export interface PaginatedTreeentries { next?: string page?: number pagelen?: number previous?: string size?: number values?: Treeentry[] } export interface Treeentry { commit?: Commit path?: string type: string [k: string]: any } export interface PaginatedUsers { next?: string page?: number pagelen?: number previous?: string size?: number values?: User[] } export interface PaginatedVersions { next?: string page?: number pagelen?: number previous?: string size?: number values?: Version[] } export interface PaginatedWebhookSubscriptions { next?: string page?: number pagelen?: number previous?: string size?: number values?: WebhookSubscription[] } export interface PullrequestMergeParameters { close_source_branch?: boolean merge_strategy?: 'merge_commit' | 'squash' | 'fast_forward' message?: string type: string [k: string]: any } export interface SearchResultPage { next?: string page?: number pagelen?: number previous?: string query_substituted?: boolean size?: number values?: SearchCodeSearchResult[] [k: string]: any } export interface SearchCodeSearchResult { content_match_count?: number content_matches?: SearchContentMatch[] file?: CommitFile path_matches?: SearchSegment[] type?: string [k: string]: any } export interface SearchContentMatch { lines?: SearchLine[] [k: string]: any } export interface SearchLine { line?: number segments?: SearchSegment[] [k: string]: any } export interface SearchSegment { match?: boolean text?: string [k: string]: any } export interface SubjectTypes { repository?: { events?: { href?: string name?: string } } team?: { events?: { href?: string name?: string } } user?: { events?: { href?: string name?: string } } } } export namespace Params { export type Empty = {} export type BranchingModelGet = { repo_slug: string workspace: string fields?: string } export type BranchingModelGetSettings = { repo_slug: string workspace: string fields?: string } export type BranchingModelUpdateSettings = { _body?: Schema.BranchingModelSettings repo_slug: string workspace: string } export type BranchrestrictionsCreate = { _body: Schema.Branchrestriction repo_slug: string workspace: string } export type BranchrestrictionsDelete = { id: string repo_slug: string workspace: string } export type BranchrestrictionsGet = { id: string repo_slug: string workspace: string fields?: string } export type BranchrestrictionsList = { kind?: string pattern?: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type BranchrestrictionsUpdate = { _body: Schema.Branchrestriction id: string repo_slug: string workspace: string } export type CommitsCreateApproval = { node: string repo_slug: string workspace: string } export type CommitsCreateComment = { _body: Schema.CommitComment node: string repo_slug: string workspace: string } export type CommitsDeleteApproval = { node: string repo_slug: string workspace: string } export type CommitsGet = { node: string repo_slug: string workspace: string fields?: string } export type CommitsGetComment = { comment_id: number node: string repo_slug: string workspace: string fields?: string } export type CommitsGetDiff = { binary?: boolean context?: number ignore_whitespace?: boolean path?: string repo_slug: string spec: string workspace: string fields?: string } export type CommitsGetPatch = { repo_slug: string spec: string workspace: string fields?: string } export type CommitsList = { exclude?: string include?: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type CommitsListAlt = { exclude?: string include?: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string } export type CommitsListAt = { exclude?: string include?: string repo_slug: string revision: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type CommitsListAtAlt = { exclude?: string include?: string repo_slug: string revision: string workspace: string page?: string pagelen?: number q?: string sort?: string } export type CommitsListComments = { node: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type CommitstatusesCreateBuildStatus = { _body?: Schema.Commitstatus node: string repo_slug: string workspace: string } export type CommitstatusesGetBuildStatus = { key: string node: string repo_slug: string workspace: string fields?: string } export type CommitstatusesList = { node: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type CommitstatusesListPullRequestStatuses = { pull_request_id: number repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type CommitstatusesUpdateBuildStatus = { _body?: Schema.Commitstatus key: string node: string repo_slug: string workspace: string } export type DeployCreateKey = { key: string label: string repo_slug: string workspace: string } export type DeployDeleteKey = { key_id: string repo_slug: string workspace: string } export type DeployGetKey = { key_id: string repo_slug: string workspace: string fields?: string } export type DeployListKeys = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type DeployUpdateKey = { key_id: string repo_slug: string workspace: string } export type DeploymentsGet = { deployment_uuid: string repo_slug: string workspace: string fields?: string } export type DeploymentsGetEnvironment = { environment_uuid: string repo_slug: string workspace: string fields?: string } export type DeploymentsList = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type DeploymentsListEnvironments = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type DeploymentsUpdateEnvironment = { _body: any environment_uuid: string repo_slug: string workspace: string } export type DownloadsCreate = { _body: FormData repo_slug: string workspace: string } export type DownloadsDelete = { filename: string repo_slug: string workspace: string } export type DownloadsGet = { filename: string repo_slug: string workspace: string fields?: string } export type DownloadsList = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type HookEventsGetAllSubjectTypes = { fields?: string } export type HookEventsList = { subject_type: 'workspace' | 'user' | 'repository' | 'team' page?: string pagelen?: number q?: string sort?: string fields?: string } export type IssueTrackerCreate = { _body: Schema.Issue repo_slug: string workspace: string } export type IssueTrackerCreateAttachments = { _body: FormData issue_id: number repo_slug: string workspace: string } export type IssueTrackerCreateChange = { _body: Schema.IssueChange issue_id: string repo_slug: string workspace: string } export type IssueTrackerCreateComment = { _body: Schema.IssueComment issue_id: string repo_slug: string workspace: string } export type IssueTrackerCreateVote = { issue_id: string repo_slug: string workspace: string } export type IssueTrackerCreateWatch = { issue_id: string repo_slug: string workspace: string } export type IssueTrackerDelete = { issue_id: string repo_slug: string workspace: string } export type IssueTrackerDeleteAttachment = { issue_id: string path: string repo_slug: string workspace: string } export type IssueTrackerDeleteComment = { _body: Schema.IssueComment comment_id: string issue_id: string repo_slug: string workspace: string } export type IssueTrackerDeleteVote = { issue_id: string repo_slug: string workspace: string } export type IssueTrackerDeleteWatch = { issue_id: string repo_slug: string workspace: string } export type IssueTrackerGet = { issue_id: string repo_slug: string workspace: string fields?: string } export type IssueTrackerGetAttachment = { issue_id: string path: string repo_slug: string workspace: string fields?: string } export type IssueTrackerGetChange = { change_id: string issue_id: string repo_slug: string workspace: string fields?: string } export type IssueTrackerGetComment = { comment_id: string issue_id: string repo_slug: string workspace: string fields?: string } export type IssueTrackerGetComponent = { component_id: number repo_slug: string workspace: string fields?: string } export type IssueTrackerGetMilestone = { milestone_id: number repo_slug: string workspace: string fields?: string } export type IssueTrackerGetVersion = { repo_slug: string version_id: number workspace: string fields?: string } export type IssueTrackerGetVote = { issue_id: string repo_slug: string workspace: string fields?: string } export type IssueTrackerGetWatch = { issue_id: string repo_slug: string workspace: string fields?: string } export type IssueTrackerList = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type IssueTrackerListAttachments = { issue_id: number repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type IssueTrackerListChanges = { issue_id: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type IssueTrackerListComments = { issue_id: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type IssueTrackerListComponents = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type IssueTrackerListMilestones = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type IssueTrackerListVersions = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type IssueTrackerUpdate = { _body: Schema.Issue issue_id: string repo_slug: string workspace: string } export type IssueTrackerUpdateComment = { _body: Schema.IssueComment comment_id: string issue_id: string repo_slug: string workspace: string } export type PipelinesCreate = { _body: Schema.Pipeline repo_slug: string workspace: string } export type PipelinesCreateDeploymentVariable = { _body: Schema.DeploymentVariable environment_uuid: string repo_slug: string variable_uuid: string workspace: string } export type PipelinesCreateKnownHost = { _body: Schema.PipelineKnownHost repo_slug: string workspace: string } export type PipelinesCreateSchedule = { _body: Schema.PipelineSchedule repo_slug: string workspace: string } export type PipelinesCreateVariable = { _body: Schema.PipelineVariable repo_slug: string workspace: string } export type PipelinesCreateVariableForTeam = { _body?: Schema.PipelineVariable username: string } export type PipelinesCreateVariableForUser = { _body?: Schema.PipelineVariable username: string } export type PipelinesDeleteDeploymentVariable = { environment_uuid: string repo_slug: string variable_uuid: string workspace: string } export type PipelinesDeleteKnownHost = { known_host_uuid: string repo_slug: string workspace: string } export type PipelinesDeleteSchedule = { repo_slug: string schedule_uuid: string workspace: string } export type PipelinesDeleteSshKeyPair = { repo_slug: string workspace: string } export type PipelinesDeleteVariable = { repo_slug: string variable_uuid: string workspace: string } export type PipelinesDeleteVariableForTeam = { username: string variable_uuid: string } export type PipelinesDeleteVariableForUser = { username: string variable_uuid: string } export type PipelinesGet = { pipeline_uuid: string repo_slug: string workspace: string fields?: string } export type PipelinesGetConfig = { repo_slug: string workspace: string fields?: string } export type PipelinesGetKnownHost = { known_host_uuid: string repo_slug: string workspace: string fields?: string } export type PipelinesGetSchedule = { repo_slug: string schedule_uuid: string workspace: string fields?: string } export type PipelinesGetSshKeyPair = { repo_slug: string workspace: string fields?: string } export type PipelinesGetStep = { pipeline_uuid: string repo_slug: string step_uuid: string workspace: string fields?: string } export type PipelinesGetStepLog = { pipeline_uuid: string repo_slug: string step_uuid: string workspace: string fields?: string } export type PipelinesGetVariable = { repo_slug: string variable_uuid: string workspace: string fields?: string } export type PipelinesGetVariableForTeam = { username: string variable_uuid: string fields?: string } export type PipelinesGetVariableForUser = { username: string variable_uuid: string fields?: string } export type PipelinesList = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PipelinesListDeploymentVariables = { environment_uuid: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PipelinesListKnownHosts = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PipelinesListScheduleExecutions = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PipelinesListSchedules = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PipelinesListSteps = { pipeline_uuid: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PipelinesListVariablesForRepo = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PipelinesListVariablesForTeam = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PipelinesListVariablesForUser = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PipelinesStop = { pipeline_uuid: string repo_slug: string workspace: string } export type PipelinesUpdateBuildNumber = { _body: Schema.PipelineBuildNumber repo_slug: string workspace: string } export type PipelinesUpdateConfig = { _body: Schema.PipelinesConfig repo_slug: string workspace: string } export type PipelinesUpdateDeploymentVariable = { _body: Schema.DeploymentVariable environment_uuid: string repo_slug: string variable_uuid: string workspace: string } export type PipelinesUpdateKnownHost = { _body: Schema.PipelineKnownHost known_host_uuid: string repo_slug: string workspace: string } export type PipelinesUpdateSchedule = { _body: Schema.PipelineSchedule repo_slug: string schedule_uuid: string workspace: string } export type PipelinesUpdateSshKeyPair = { _body: Schema.PipelineSshKeyPair repo_slug: string workspace: string } export type PipelinesUpdateVariable = { _body: Schema.PipelineVariable repo_slug: string variable_uuid: string workspace: string } export type PipelinesUpdateVariableForTeam = { _body: Schema.PipelineVariable username: string variable_uuid: string } export type PipelinesUpdateVariableForUser = { _body: Schema.PipelineVariable username: string variable_uuid: string } export type ProjectsCreateForTeam = { _body: Schema.Project username: string } export type ProjectsDeleteForTeam = { project_key: string username: string } export type ProjectsGetForTeam = { project_key: string username: string fields?: string } export type ProjectsListForTeam = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type ProjectsUpdateForTeam = { _body: Schema.Project project_key: string username: string } export type PullrequestsAddDefaultReviewer = { repo_slug: string target_username: string workspace: string } export type PullrequestsCreate = { _body?: Schema.Pullrequest repo_slug: string workspace: string } export type PullrequestsCreateApproval = { pull_request_id: string repo_slug: string workspace: string } export type PullrequestsCreateComment = { _body: Schema.PullrequestComment pull_request_id: number repo_slug: string workspace: string } export type PullrequestsDecline = { pull_request_id: string repo_slug: string workspace: string } export type PullrequestsDeleteApproval = { pull_request_id: string repo_slug: string workspace: string } export type PullrequestsDeleteComment = { comment_id: string pull_request_id: string repo_slug: string workspace: string } export type PullrequestsDeleteDefaultReviewer = { repo_slug: string target_username: string workspace: string } export type PullrequestsGet = { pull_request_id: number repo_slug: string workspace: string fields?: string } export type PullrequestsGetComment = { comment_id: string pull_request_id: string repo_slug: string workspace: string fields?: string } export type PullrequestsGetDefaultReviewer = { repo_slug: string target_username: string workspace: string fields?: string } export type PullrequestsGetDiff = { pull_request_id: string repo_slug: string workspace: string fields?: string } export type PullrequestsGetDiffStat = { pull_request_id: string repo_slug: string workspace: string fields?: string } export type PullrequestsGetPatch = { pull_request_id: string repo_slug: string workspace: string fields?: string } export type PullrequestsList = { repo_slug: string state?: 'MERGED' | 'SUPERSEDED' | 'OPEN' | 'DECLINED' workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PullrequestsListActivities = { pull_request_id: number repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PullrequestsListActivitiesForRepo = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PullrequestsListComments = { pull_request_id: number repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PullrequestsListCommits = { pull_request_id: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PullrequestsListDefaultReviewers = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PullrequestsListForCommit = { commit: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PullrequestsListStatuses = { pull_request_id: number repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type PullrequestsMerge = { _body?: Schema.PullrequestMergeParameters pull_request_id: string repo_slug: string workspace: string } export type PullrequestsUpdate = { _body?: Schema.Pullrequest pull_request_id: number repo_slug: string workspace: string } export type PullrequestsUpdateComment = { _body: Schema.PullrequestComment comment_id: string pull_request_id: string repo_slug: string workspace: string } export type RefsCreateBranch = { _body: any repo_slug: string workspace: string } export type RefsCreateTag = { _body: Schema.Tag repo_slug: string workspace: string } export type RefsDeleteBranch = { name: string repo_slug: string workspace: string } export type RefsDeleteTag = { name: string repo_slug: string workspace: string } export type RefsGetBranch = { name: string repo_slug: string workspace: string fields?: string } export type RefsGetTag = { name: string repo_slug: string workspace: string fields?: string } export type RefsList = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RefsListBranches = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RefsListTags = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesAddDefaultReviewer = { repo_slug: string target_username: string workspace: string } export type RepositoriesCreate = { _body?: Schema.Repository repo_slug: string workspace: string } export type RepositoriesCreateBranch = { _body: any repo_slug: string workspace: string } export type RepositoriesCreateBranchRestriction = { _body: Schema.Branchrestriction repo_slug: string workspace: string } export type RepositoriesCreateCommitApproval = { node: string repo_slug: string workspace: string } export type RepositoriesCreateCommitBuildStatus = { _body?: Schema.Commitstatus node: string repo_slug: string workspace: string } export type RepositoriesCreateCommitComment = { _body: Schema.CommitComment node: string repo_slug: string workspace: string } export type RepositoriesCreateDeployKey = { key: string label: string repo_slug: string workspace: string } export type RepositoriesCreateDeploymentVariable = { _body: Schema.DeploymentVariable environment_uuid: string repo_slug: string variable_uuid: string workspace: string } export type RepositoriesCreateDownload = { _body: FormData repo_slug: string workspace: string } export type RepositoriesCreateEnvironment = { _body: Schema.DeploymentEnvironment repo_slug: string workspace: string } export type RepositoriesCreateFork = { _body?: Schema.Repository repo_slug: string workspace: string } export type RepositoriesCreateIssue = { _body: Schema.Issue repo_slug: string workspace: string } export type RepositoriesCreateIssueAttachments = { _body: FormData issue_id: number repo_slug: string workspace: string } export type RepositoriesCreateIssueChange = { _body: Schema.IssueChange issue_id: string repo_slug: string workspace: string } export type RepositoriesCreateIssueComment = { _body: Schema.IssueComment issue_id: string repo_slug: string workspace: string } export type RepositoriesCreateIssueExportJob = { repo_slug: string workspace: string } export type RepositoriesCreateIssueImportJob = { repo_slug: string workspace: string } export type RepositoriesCreateIssueVote = { issue_id: string repo_slug: string workspace: string } export type RepositoriesCreateIssueWatch = { issue_id: string repo_slug: string workspace: string } export type RepositoriesCreatePipeline = { _body: Schema.Pipeline repo_slug: string workspace: string } export type RepositoriesCreatePipelineKnownHost = { _body: Schema.PipelineKnownHost repo_slug: string workspace: string } export type RepositoriesCreatePipelineSchedule = { _body: Schema.PipelineSchedule repo_slug: string workspace: string } export type RepositoriesCreatePipelineVariable = { _body: Schema.PipelineVariable repo_slug: string workspace: string } export type RepositoriesCreatePullRequest = { _body?: Schema.Pullrequest repo_slug: string workspace: string } export type RepositoriesCreatePullRequestApproval = { pull_request_id: string repo_slug: string workspace: string } export type RepositoriesCreatePullRequestComment = { _body: Schema.PullrequestComment pull_request_id: number repo_slug: string workspace: string } export type RepositoriesCreateSrcFileCommit = { _body?: FormData | Schema.AnyObject author?: string branch?: string files?: string message?: string parents?: string repo_slug: string workspace: string } export type RepositoriesCreateTag = { _body: Schema.Tag repo_slug: string workspace: string } export type RepositoriesCreateWebhook = { _body: any repo_slug: string workspace: string } export type RepositoriesDeclinePullRequest = { pull_request_id: string repo_slug: string workspace: string } export type RepositoriesDelete = { redirect_to?: string repo_slug: string workspace: string } export type RepositoriesDeleteBranch = { name: string repo_slug: string workspace: string } export type RepositoriesDeleteBranchRestriction = { id: string repo_slug: string workspace: string } export type RepositoriesDeleteCommitApproval = { node: string repo_slug: string workspace: string } export type RepositoriesDeleteDefaultReviewer = { repo_slug: string target_username: string workspace: string } export type RepositoriesDeleteDeployKey = { key_id: string repo_slug: string workspace: string } export type RepositoriesDeleteDeploymentVariable = { environment_uuid: string repo_slug: string variable_uuid: string workspace: string } export type RepositoriesDeleteDownload = { filename: string repo_slug: string workspace: string } export type RepositoriesDeleteEnvironment = { environment_uuid: string repo_slug: string workspace: string } export type RepositoriesDeleteIssue = { issue_id: string repo_slug: string workspace: string } export type RepositoriesDeleteIssueAttachment = { issue_id: string path: string repo_slug: string workspace: string } export type RepositoriesDeleteIssueComment = { _body: Schema.IssueComment comment_id: string issue_id: string repo_slug: string workspace: string } export type RepositoriesDeleteIssueVote = { issue_id: string repo_slug: string workspace: string } export type RepositoriesDeleteIssueWatch = { issue_id: string repo_slug: string workspace: string } export type RepositoriesDeletePipelineKnownHost = { known_host_uuid: string repo_slug: string workspace: string } export type RepositoriesDeletePipelineSchedule = { repo_slug: string schedule_uuid: string workspace: string } export type RepositoriesDeletePipelineSshKeyPair = { repo_slug: string workspace: string } export type RepositoriesDeletePipelineVariable = { repo_slug: string variable_uuid: string workspace: string } export type RepositoriesDeletePullRequestApproval = { pull_request_id: string repo_slug: string workspace: string } export type RepositoriesDeletePullRequestComment = { comment_id: string pull_request_id: string repo_slug: string workspace: string } export type RepositoriesDeleteTag = { name: string repo_slug: string workspace: string } export type RepositoriesDeleteWebhook = { repo_slug: string uid: string workspace: string } export type RepositoriesGet = { repo_slug: string workspace: string fields?: string } export type RepositoriesGetBranch = { name: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetBranchingModel = { repo_slug: string workspace: string fields?: string } export type RepositoriesGetBranchingModelSettings = { repo_slug: string workspace: string fields?: string } export type RepositoriesGetBranchRestriction = { id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetCommit = { node: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetCommitBuildStatus = { key: string node: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetCommitComment = { comment_id: number node: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetDefaultReviewer = { repo_slug: string target_username: string workspace: string fields?: string } export type RepositoriesGetDeployKey = { key_id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetDeployment = { deployment_uuid: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetDiff = { binary?: boolean context?: number ignore_whitespace?: boolean path?: string repo_slug: string spec: string workspace: string fields?: string } export type RepositoriesGetDownload = { filename: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetEnvironment = { environment_uuid: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetIssue = { issue_id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetIssueAttachment = { issue_id: string path: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetIssueChange = { change_id: string issue_id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetIssueComment = { comment_id: string issue_id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetIssueComponent = { component_id: number repo_slug: string workspace: string fields?: string } export type RepositoriesGetIssueExportJobStatus = { repo_name: string repo_slug: string task_id: string workspace: string fields?: string } export type RepositoriesGetIssueImportJobStatus = { repo_slug: string workspace: string fields?: string } export type RepositoriesGetIssueMilestone = { milestone_id: number repo_slug: string workspace: string fields?: string } export type RepositoriesGetIssueVersion = { repo_slug: string version_id: number workspace: string fields?: string } export type RepositoriesGetIssueVote = { issue_id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetIssueWatch = { issue_id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetPatch = { repo_slug: string spec: string workspace: string fields?: string } export type RepositoriesGetPipeline = { pipeline_uuid: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetPipelineConfig = { repo_slug: string workspace: string fields?: string } export type RepositoriesGetPipelineKnownHost = { known_host_uuid: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetPipelineSchedule = { repo_slug: string schedule_uuid: string workspace: string fields?: string } export type RepositoriesGetPipelineSshKeyPair = { repo_slug: string workspace: string fields?: string } export type RepositoriesGetPipelineStep = { pipeline_uuid: string repo_slug: string step_uuid: string workspace: string fields?: string } export type RepositoriesGetPipelineStepLog = { pipeline_uuid: string repo_slug: string step_uuid: string workspace: string fields?: string } export type RepositoriesGetPipelineVariable = { repo_slug: string variable_uuid: string workspace: string fields?: string } export type RepositoriesGetPullRequest = { pull_request_id: number repo_slug: string workspace: string fields?: string } export type RepositoriesGetPullRequestComment = { comment_id: string pull_request_id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetPullRequestDiff = { pull_request_id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetPullRequestDiffStat = { pull_request_id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetPullRequestPatch = { pull_request_id: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetTag = { name: string repo_slug: string workspace: string fields?: string } export type RepositoriesGetWebhook = { repo_slug: string uid: string workspace: string fields?: string } export type RepositoriesList = { role?: 'admin' | 'contributor' | 'member' | 'owner' workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListBranches = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListBranchRestrictions = { kind?: string pattern?: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListCommitComments = { node: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListCommits = { exclude?: string include?: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListCommitsAlt = { exclude?: string include?: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string } export type RepositoriesListCommitsAt = { exclude?: string include?: string repo_slug: string revision: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListCommitsAtAlt = { exclude?: string include?: string repo_slug: string revision: string workspace: string page?: string pagelen?: number q?: string sort?: string } export type RepositoriesListCommitStatuses = { node: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListComponents = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListDefaultReviewers = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListDeployKeys = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListDeployments = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListDeploymentVariables = { environment_uuid: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListDiffStats = { ignore_whitespace?: boolean repo_slug: string spec: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListDownloads = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListEnvironments = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListFileHistory = { node: string path: string renames?: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListForks = { repo_slug: string role?: 'admin' | 'contributor' | 'member' | 'owner' workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListGlobal = { after?: string role?: 'admin' | 'contributor' | 'member' | 'owner' page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListIssueAttachments = { issue_id: number repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListIssueChanges = { issue_id: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListIssueComments = { issue_id: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListIssues = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListMilestones = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPermissions = { page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPipelineKnownHosts = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPipelines = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPipelineScheduleExecutions = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPipelineSchedules = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPipelineSteps = { pipeline_uuid: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPipelineVariables = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPullRequestActivities = { pull_request_id: number repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPullRequestActivitiesForRepo = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPullRequestComments = { pull_request_id: number repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPullRequestCommits = { pull_request_id: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPullRequests = { repo_slug: string state?: 'MERGED' | 'SUPERSEDED' | 'OPEN' | 'DECLINED' workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPullrequestsForCommit = { commit: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListPullRequestStatuses = { pull_request_id: number repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListRefs = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListTags = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListVersions = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListWatchers = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesListWebhooks = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesMergePullRequest = { _body?: Schema.PullrequestMergeParameters pull_request_id: string repo_slug: string workspace: string } export type RepositoriesReadSrc = { format?: 'meta' | 'rendered' max_depth?: number node: string path: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesReadSrcRoot = { format?: 'meta' repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type RepositoriesStopPipeline = { pipeline_uuid: string repo_slug: string workspace: string } export type RepositoriesUpdate = { _body?: Schema.Repository repo_slug: string workspace: string } export type RepositoriesUpdateBranchingModelSettings = { _body?: Schema.BranchingModelSettings repo_slug: string workspace: string } export type RepositoriesUpdateBranchRestriction = { _body: Schema.Branchrestriction id: string repo_slug: string workspace: string } export type RepositoriesUpdateCommitBuildStatus = { _body?: Schema.Commitstatus key: string node: string repo_slug: string workspace: string } export type RepositoriesUpdateDeployKey = { key_id: string repo_slug: string workspace: string } export type RepositoriesUpdateDeploymentVariable = { _body: Schema.DeploymentVariable environment_uuid: string repo_slug: string variable_uuid: string workspace: string } export type RepositoriesUpdateEnvironment = { _body: any environment_uuid: string repo_slug: string workspace: string } export type RepositoriesUpdateIssue = { _body: Schema.Issue issue_id: string repo_slug: string workspace: string } export type RepositoriesUpdateIssueComment = { _body: Schema.IssueComment comment_id: string issue_id: string repo_slug: string workspace: string } export type RepositoriesUpdatePipelineBuildNumber = { _body: Schema.PipelineBuildNumber repo_slug: string workspace: string } export type RepositoriesUpdatePipelineConfig = { _body: Schema.PipelinesConfig repo_slug: string workspace: string } export type RepositoriesUpdatePipelineKnownHost = { _body: Schema.PipelineKnownHost known_host_uuid: string repo_slug: string workspace: string } export type RepositoriesUpdatePipelineSchedule = { _body: Schema.PipelineSchedule repo_slug: string schedule_uuid: string workspace: string } export type RepositoriesUpdatePipelineSshKeyPair = { _body: Schema.PipelineSshKeyPair repo_slug: string workspace: string } export type RepositoriesUpdatePipelineVariable = { _body: Schema.PipelineVariable repo_slug: string variable_uuid: string workspace: string } export type RepositoriesUpdatePullRequest = { _body?: Schema.Pullrequest pull_request_id: number repo_slug: string workspace: string } export type RepositoriesUpdatePullRequestComment = { _body: Schema.PullrequestComment comment_id: string pull_request_id: string repo_slug: string workspace: string } export type RepositoriesUpdateWebhook = { repo_slug: string uid: string workspace: string } export type SearchCodeOfTeam = { search_query: string username: string fields?: string } export type SearchCodeOfUser = { search_query: string username: string fields?: string } export type SnippetGetRawFiles = { encoded_id: string path: string workspace: string fields?: string } export type SnippetsCheckWatch = { encoded_id: string workspace: string fields?: string } export type SnippetsCreate = { _body: Schema.Snippet } export type SnippetsCreateComment = { _body: Schema.Snippet encoded_id: string workspace: string } export type SnippetsCreateForUser = { _body: Schema.Snippet workspace: string } export type SnippetsDelete = { encoded_id: string workspace: string } export type SnippetsDeleteAt = { encoded_id: string node_id: string workspace: string } export type SnippetsDeleteComment = { comment_id: string encoded_id: string workspace: string } export type SnippetsGet = { encoded_id: string workspace: string fields?: string } export type SnippetsGetAt = { encoded_id: string node_id: string workspace: string fields?: string } export type SnippetsGetComment = { comment_id: string encoded_id: string workspace: string fields?: string } export type SnippetsGetCommit = { encoded_id: string revision: string workspace: string fields?: string } export type SnippetsGetDiff = { encoded_id: string path?: string revision: string workspace: string fields?: string } export type SnippetsGetFile = { encoded_id: string node_id: string path: string workspace: string fields?: string } export type SnippetsGetPatch = { encoded_id: string revision: string workspace: string fields?: string } export type SnippetsGetRawFiles = { encoded_id: string path: string workspace: string fields?: string } export type SnippetsList = { role?: 'owner' | 'contributor' | 'member' page?: string pagelen?: number q?: string sort?: string fields?: string } export type SnippetsListComments = { encoded_id: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type SnippetsListCommits = { encoded_id: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type SnippetsListForUser = { role?: 'owner' | 'contributor' | 'member' workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type SnippetsListWatchers = { encoded_id: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type SnippetsStartWatch = { encoded_id: string workspace: string } export type SnippetsStopWatch = { encoded_id: string workspace: string } export type SnippetsUpdate = { encoded_id: string workspace: string } export type SnippetsUpdateAt = { encoded_id: string node_id: string workspace: string } export type SnippetsUpdateComment = { comment_id: string encoded_id: string workspace: string } export type SourceCreateFileCommit = { _body?: FormData | Schema.AnyObject author?: string branch?: string files?: string message?: string parents?: string repo_slug: string workspace: string } export type SourceListHistory = { node: string path: string renames?: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type SourceRead = { format?: 'meta' | 'rendered' max_depth?: number node: string path: string repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type SourceReadRoot = { format?: 'meta' repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type SshCreateKey = { _body?: Schema.SshAccountKey username: string } export type SshDeleteKey = { key_id: string username: string } export type SshGetKey = { key_id: string username: string fields?: string } export type SshListKeys = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type SshUpdateKey = { _body?: Schema.SshAccountKey key_id: string username: string } export type TeamsCreatePipelineVariable = { _body?: Schema.PipelineVariable username: string } export type TeamsCreateProject = { _body: Schema.Project username: string } export type TeamsCreateWebhook = { username: string } export type TeamsDeletePipelineVariable = { username: string variable_uuid: string } export type TeamsDeleteProject = { project_key: string username: string } export type TeamsDeleteWebhook = { uid: string username: string } export type TeamsGet = { username: string fields?: string } export type TeamsGetAllMembers = { username: string fields?: string } export type TeamsGetMembers = { username: string fields?: string } export type TeamsGetPipelineVariable = { username: string variable_uuid: string fields?: string } export type TeamsGetProject = { project_key: string username: string fields?: string } export type TeamsGetWebhook = { uid: string username: string fields?: string } export type TeamsList = { role?: 'admin' | 'contributor' | 'member' page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsListFollowers = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsListFollowing = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsListPermissions = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsListPermissionsForRepo = { repo_slug: string username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsListPermissionsForRepos = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsListPipelineVariables = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsListProjects = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsListRepositories = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsListRepositoriesForUser = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsListWebhooks = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type TeamsSearchCode = { search_query: string username: string fields?: string } export type TeamsUpdatePipelineVariable = { _body: Schema.PipelineVariable username: string variable_uuid: string } export type TeamsUpdateProject = { _body: Schema.Project project_key: string username: string } export type TeamsUpdateWebhook = { uid: string username: string } export type UserGet = { fields?: string } export type UserGetEmail = { email: string fields?: string } export type UserListEmails = { page?: string pagelen?: number q?: string sort?: string fields?: string } export type UserListPermissionsForRepos = { page?: string pagelen?: number q?: string sort?: string fields?: string } export type UserListPermissionsForTeams = { page?: string pagelen?: number q?: string sort?: string fields?: string } export type UsersCreatePipelineVariable = { _body?: Schema.PipelineVariable username: string } export type UsersCreateSshKey = { _body?: Schema.SshAccountKey username: string } export type UsersCreateWebhook = { username: string } export type UsersDeletePipelineVariable = { username: string variable_uuid: string } export type UsersDeleteSshKey = { key_id: string username: string } export type UsersDeleteWebhook = { uid: string username: string } export type UsersGet = { username: string fields?: string } export type UsersGetAuthedUser = { fields?: string } export type UsersGetEmailForAuthedUser = { email: string fields?: string } export type UsersGetPipelineVariable = { username: string variable_uuid: string fields?: string } export type UsersGetSshKey = { key_id: string username: string fields?: string } export type UsersGetTeamMembers = { username: string fields?: string } export type UsersGetWebhook = { uid: string username: string fields?: string } export type UsersListEmailsForAuthedUser = { page?: string pagelen?: number q?: string sort?: string fields?: string } export type UsersListFollowers = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type UsersListFollowing = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type UsersListPipelineVariables = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type UsersListRepositories = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type UsersListRepositoriesForTeam = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type UsersListSshKeys = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type UsersListWebhooks = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type UsersSearchCode = { search_query: string username: string fields?: string } export type UsersUpdatePipelineVariable = { _body: Schema.PipelineVariable username: string variable_uuid: string } export type UsersUpdateSshKey = { _body?: Schema.SshAccountKey key_id: string username: string } export type UsersUpdateWebhook = { uid: string username: string } export type WebhooksCreate = { _body: any repo_slug: string workspace: string } export type WebhooksCreateForTeam = { username: string } export type WebhooksCreateForUser = { username: string } export type WebhooksDelete = { repo_slug: string uid: string workspace: string } export type WebhooksDeleteForTeam = { uid: string username: string } export type WebhooksDeleteForUser = { uid: string username: string } export type WebhooksGet = { repo_slug: string uid: string workspace: string fields?: string } export type WebhooksGetAllSubjectTypes = { fields?: string } export type WebhooksGetForTeam = { uid: string username: string fields?: string } export type WebhooksGetForUser = { uid: string username: string fields?: string } export type WebhooksList = { subject_type: 'workspace' | 'user' | 'repository' | 'team' page?: string pagelen?: number q?: string sort?: string fields?: string } export type WebhooksListForRepo = { repo_slug: string workspace: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type WebhooksListForTeam = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type WebhooksListForUser = { username: string page?: string pagelen?: number q?: string sort?: string fields?: string } export type WebhooksUpdate = { repo_slug: string uid: string workspace: string } export type WebhooksUpdateForTeam = { uid: string username: string } export type WebhooksUpdateForUser = { uid: string username: string } } export interface APIEndpoints { branching_model: { get: ( params: Params.BranchingModelGet ) => AsyncResponse getSettings: ( params: Params.BranchingModelGetSettings ) => AsyncResponse updateSettings: ( params: Params.BranchingModelUpdateSettings ) => AsyncResponse } branchrestrictions: { create: ( params: Params.BranchrestrictionsCreate ) => AsyncResponse delete: ( params: Params.BranchrestrictionsDelete ) => AsyncResponse get: ( params: Params.BranchrestrictionsGet ) => AsyncResponse list: ( params: Params.BranchrestrictionsList ) => AsyncResponse update: ( params: Params.BranchrestrictionsUpdate ) => AsyncResponse } commits: { createApproval: ( params: Params.CommitsCreateApproval ) => AsyncResponse createComment: ( params: Params.CommitsCreateComment ) => AsyncResponse deleteApproval: ( params: Params.CommitsDeleteApproval ) => AsyncResponse get: (params: Params.CommitsGet) => AsyncResponse getComment: ( params: Params.CommitsGetComment ) => AsyncResponse getDiff: (params: Params.CommitsGetDiff) => AsyncResponse getPatch: (params: Params.CommitsGetPatch) => AsyncResponse list: (params: Params.CommitsList) => AsyncResponse listAlt: (params: Params.CommitsListAlt) => AsyncResponse listAt: (params: Params.CommitsListAt) => AsyncResponse listAtAlt: (params: Params.CommitsListAtAlt) => AsyncResponse listComments: ( params: Params.CommitsListComments ) => AsyncResponse } commitstatuses: { createBuildStatus: ( params: Params.CommitstatusesCreateBuildStatus ) => AsyncResponse getBuildStatus: ( params: Params.CommitstatusesGetBuildStatus ) => AsyncResponse list: ( params: Params.CommitstatusesList ) => AsyncResponse listPullRequestStatuses: ( params: Params.CommitstatusesListPullRequestStatuses ) => AsyncResponse updateBuildStatus: ( params: Params.CommitstatusesUpdateBuildStatus ) => AsyncResponse } deploy: { createKey: ( params: Params.DeployCreateKey ) => AsyncResponse deleteKey: (params: Params.DeployDeleteKey) => AsyncResponse getKey: (params: Params.DeployGetKey) => AsyncResponse listKeys: ( params: Params.DeployListKeys ) => AsyncResponse updateKey: ( params: Params.DeployUpdateKey ) => AsyncResponse } deployments: { get: (params: Params.DeploymentsGet) => AsyncResponse getEnvironment: ( params: Params.DeploymentsGetEnvironment ) => AsyncResponse list: ( params: Params.DeploymentsList ) => AsyncResponse listEnvironments: ( params: Params.DeploymentsListEnvironments ) => AsyncResponse updateEnvironment: ( params: Params.DeploymentsUpdateEnvironment ) => AsyncResponse } downloads: { create: (params: Params.DownloadsCreate) => AsyncResponse delete: (params: Params.DownloadsDelete) => AsyncResponse get: (params: Params.DownloadsGet) => AsyncResponse list: (params: Params.DownloadsList) => AsyncResponse } hook_events: { getAllSubjectTypes: ( params: Params.HookEventsGetAllSubjectTypes ) => AsyncResponse list: ( params: Params.HookEventsList ) => AsyncResponse } issue_tracker: { create: (params: Params.IssueTrackerCreate) => AsyncResponse createAttachments: ( params: Params.IssueTrackerCreateAttachments ) => AsyncResponse createChange: ( params: Params.IssueTrackerCreateChange ) => AsyncResponse createComment: ( params: Params.IssueTrackerCreateComment ) => AsyncResponse createVote: ( params: Params.IssueTrackerCreateVote ) => AsyncResponse createWatch: ( params: Params.IssueTrackerCreateWatch ) => AsyncResponse delete: (params: Params.IssueTrackerDelete) => AsyncResponse deleteAttachment: ( params: Params.IssueTrackerDeleteAttachment ) => AsyncResponse deleteComment: ( params: Params.IssueTrackerDeleteComment ) => AsyncResponse deleteVote: ( params: Params.IssueTrackerDeleteVote ) => AsyncResponse deleteWatch: ( params: Params.IssueTrackerDeleteWatch ) => AsyncResponse get: (params: Params.IssueTrackerGet) => AsyncResponse getAttachment: ( params: Params.IssueTrackerGetAttachment ) => AsyncResponse getChange: ( params: Params.IssueTrackerGetChange ) => AsyncResponse getComment: ( params: Params.IssueTrackerGetComment ) => AsyncResponse getComponent: ( params: Params.IssueTrackerGetComponent ) => AsyncResponse getMilestone: ( params: Params.IssueTrackerGetMilestone ) => AsyncResponse getVersion: ( params: Params.IssueTrackerGetVersion ) => AsyncResponse getVote: (params: Params.IssueTrackerGetVote) => AsyncResponse getWatch: ( params: Params.IssueTrackerGetWatch ) => AsyncResponse list: ( params: Params.IssueTrackerList ) => AsyncResponse listAttachments: ( params: Params.IssueTrackerListAttachments ) => AsyncResponse listChanges: ( params: Params.IssueTrackerListChanges ) => AsyncResponse listComments: ( params: Params.IssueTrackerListComments ) => AsyncResponse listComponents: ( params: Params.IssueTrackerListComponents ) => AsyncResponse listMilestones: ( params: Params.IssueTrackerListMilestones ) => AsyncResponse listVersions: ( params: Params.IssueTrackerListVersions ) => AsyncResponse update: (params: Params.IssueTrackerUpdate) => AsyncResponse updateComment: ( params: Params.IssueTrackerUpdateComment ) => AsyncResponse } pipelines: { create: (params: Params.PipelinesCreate) => AsyncResponse createDeploymentVariable: ( params: Params.PipelinesCreateDeploymentVariable ) => AsyncResponse createKnownHost: ( params: Params.PipelinesCreateKnownHost ) => AsyncResponse createSchedule: ( params: Params.PipelinesCreateSchedule ) => AsyncResponse createVariable: ( params: Params.PipelinesCreateVariable ) => AsyncResponse createVariableForTeam: ( params: Params.PipelinesCreateVariableForTeam ) => AsyncResponse createVariableForUser: ( params: Params.PipelinesCreateVariableForUser ) => AsyncResponse deleteDeploymentVariable: ( params: Params.PipelinesDeleteDeploymentVariable ) => AsyncResponse deleteKnownHost: ( params: Params.PipelinesDeleteKnownHost ) => AsyncResponse deleteSchedule: ( params: Params.PipelinesDeleteSchedule ) => AsyncResponse deleteSshKeyPair: ( params: Params.PipelinesDeleteSshKeyPair ) => AsyncResponse deleteVariable: ( params: Params.PipelinesDeleteVariable ) => AsyncResponse deleteVariableForTeam: ( params: Params.PipelinesDeleteVariableForTeam ) => AsyncResponse deleteVariableForUser: ( params: Params.PipelinesDeleteVariableForUser ) => AsyncResponse get: (params: Params.PipelinesGet) => AsyncResponse getConfig: ( params: Params.PipelinesGetConfig ) => AsyncResponse getKnownHost: ( params: Params.PipelinesGetKnownHost ) => AsyncResponse getSchedule: ( params: Params.PipelinesGetSchedule ) => AsyncResponse getSshKeyPair: ( params: Params.PipelinesGetSshKeyPair ) => AsyncResponse getStep: ( params: Params.PipelinesGetStep ) => AsyncResponse getStepLog: ( params: Params.PipelinesGetStepLog ) => AsyncResponse getVariable: ( params: Params.PipelinesGetVariable ) => AsyncResponse getVariableForTeam: ( params: Params.PipelinesGetVariableForTeam ) => AsyncResponse getVariableForUser: ( params: Params.PipelinesGetVariableForUser ) => AsyncResponse list: ( params: Params.PipelinesList ) => AsyncResponse listDeploymentVariables: ( params: Params.PipelinesListDeploymentVariables ) => AsyncResponse listKnownHosts: ( params: Params.PipelinesListKnownHosts ) => AsyncResponse listScheduleExecutions: ( params: Params.PipelinesListScheduleExecutions ) => AsyncResponse listSchedules: ( params: Params.PipelinesListSchedules ) => AsyncResponse listSteps: ( params: Params.PipelinesListSteps ) => AsyncResponse listVariablesForRepo: ( params: Params.PipelinesListVariablesForRepo ) => AsyncResponse listVariablesForTeam: ( params: Params.PipelinesListVariablesForTeam ) => AsyncResponse listVariablesForUser: ( params: Params.PipelinesListVariablesForUser ) => AsyncResponse stop: (params: Params.PipelinesStop) => AsyncResponse updateBuildNumber: ( params: Params.PipelinesUpdateBuildNumber ) => AsyncResponse updateConfig: ( params: Params.PipelinesUpdateConfig ) => AsyncResponse updateDeploymentVariable: ( params: Params.PipelinesUpdateDeploymentVariable ) => AsyncResponse updateKnownHost: ( params: Params.PipelinesUpdateKnownHost ) => AsyncResponse updateSchedule: ( params: Params.PipelinesUpdateSchedule ) => AsyncResponse updateSshKeyPair: ( params: Params.PipelinesUpdateSshKeyPair ) => AsyncResponse updateVariable: ( params: Params.PipelinesUpdateVariable ) => AsyncResponse updateVariableForTeam: ( params: Params.PipelinesUpdateVariableForTeam ) => AsyncResponse updateVariableForUser: ( params: Params.PipelinesUpdateVariableForUser ) => AsyncResponse } projects: { createForTeam: ( params: Params.ProjectsCreateForTeam ) => AsyncResponse deleteForTeam: ( params: Params.ProjectsDeleteForTeam ) => AsyncResponse getForTeam: ( params: Params.ProjectsGetForTeam ) => AsyncResponse listForTeam: ( params: Params.ProjectsListForTeam ) => AsyncResponse updateForTeam: ( params: Params.ProjectsUpdateForTeam ) => AsyncResponse } pullrequests: { addDefaultReviewer: ( params: Params.PullrequestsAddDefaultReviewer ) => AsyncResponse create: ( params: Params.PullrequestsCreate ) => AsyncResponse createApproval: ( params: Params.PullrequestsCreateApproval ) => AsyncResponse createComment: ( params: Params.PullrequestsCreateComment ) => AsyncResponse decline: ( params: Params.PullrequestsDecline ) => AsyncResponse deleteApproval: ( params: Params.PullrequestsDeleteApproval ) => AsyncResponse deleteComment: ( params: Params.PullrequestsDeleteComment ) => AsyncResponse deleteDefaultReviewer: ( params: Params.PullrequestsDeleteDefaultReviewer ) => AsyncResponse get: (params: Params.PullrequestsGet) => AsyncResponse getComment: ( params: Params.PullrequestsGetComment ) => AsyncResponse getDefaultReviewer: ( params: Params.PullrequestsGetDefaultReviewer ) => AsyncResponse getDiff: (params: Params.PullrequestsGetDiff) => AsyncResponse getDiffStat: ( params: Params.PullrequestsGetDiffStat ) => AsyncResponse getPatch: (params: Params.PullrequestsGetPatch) => AsyncResponse list: ( params: Params.PullrequestsList ) => AsyncResponse listActivities: ( params: Params.PullrequestsListActivities ) => AsyncResponse listActivitiesForRepo: ( params: Params.PullrequestsListActivitiesForRepo ) => AsyncResponse listComments: ( params: Params.PullrequestsListComments ) => AsyncResponse listCommits: ( params: Params.PullrequestsListCommits ) => AsyncResponse listDefaultReviewers: ( params: Params.PullrequestsListDefaultReviewers ) => AsyncResponse listForCommit: ( params: Params.PullrequestsListForCommit ) => AsyncResponse listStatuses: ( params: Params.PullrequestsListStatuses ) => AsyncResponse merge: ( params: Params.PullrequestsMerge ) => AsyncResponse update: ( params: Params.PullrequestsUpdate ) => AsyncResponse updateComment: ( params: Params.PullrequestsUpdateComment ) => AsyncResponse } refs: { createBranch: ( params: Params.RefsCreateBranch ) => AsyncResponse createTag: (params: Params.RefsCreateTag) => AsyncResponse deleteBranch: (params: Params.RefsDeleteBranch) => AsyncResponse deleteTag: (params: Params.RefsDeleteTag) => AsyncResponse getBranch: (params: Params.RefsGetBranch) => AsyncResponse getTag: (params: Params.RefsGetTag) => AsyncResponse list: (params: Params.RefsList) => AsyncResponse listBranches: ( params: Params.RefsListBranches ) => AsyncResponse listTags: ( params: Params.RefsListTags ) => AsyncResponse } repositories: { addDefaultReviewer: ( params: Params.RepositoriesAddDefaultReviewer ) => AsyncResponse create: ( params: Params.RepositoriesCreate ) => AsyncResponse createBranch: ( params: Params.RepositoriesCreateBranch ) => AsyncResponse createBranchRestriction: ( params: Params.RepositoriesCreateBranchRestriction ) => AsyncResponse createCommitApproval: ( params: Params.RepositoriesCreateCommitApproval ) => AsyncResponse createCommitBuildStatus: ( params: Params.RepositoriesCreateCommitBuildStatus ) => AsyncResponse createCommitComment: ( params: Params.RepositoriesCreateCommitComment ) => AsyncResponse createDeployKey: ( params: Params.RepositoriesCreateDeployKey ) => AsyncResponse createDeploymentVariable: ( params: Params.RepositoriesCreateDeploymentVariable ) => AsyncResponse createDownload: ( params: Params.RepositoriesCreateDownload ) => AsyncResponse createEnvironment: ( params: Params.RepositoriesCreateEnvironment ) => AsyncResponse createFork: ( params: Params.RepositoriesCreateFork ) => AsyncResponse createIssue: ( params: Params.RepositoriesCreateIssue ) => AsyncResponse createIssueAttachments: ( params: Params.RepositoriesCreateIssueAttachments ) => AsyncResponse createIssueChange: ( params: Params.RepositoriesCreateIssueChange ) => AsyncResponse createIssueComment: ( params: Params.RepositoriesCreateIssueComment ) => AsyncResponse createIssueExportJob: ( params: Params.RepositoriesCreateIssueExportJob ) => AsyncResponse createIssueImportJob: ( params: Params.RepositoriesCreateIssueImportJob ) => AsyncResponse createIssueVote: ( params: Params.RepositoriesCreateIssueVote ) => AsyncResponse createIssueWatch: ( params: Params.RepositoriesCreateIssueWatch ) => AsyncResponse createPipeline: ( params: Params.RepositoriesCreatePipeline ) => AsyncResponse createPipelineKnownHost: ( params: Params.RepositoriesCreatePipelineKnownHost ) => AsyncResponse createPipelineSchedule: ( params: Params.RepositoriesCreatePipelineSchedule ) => AsyncResponse createPipelineVariable: ( params: Params.RepositoriesCreatePipelineVariable ) => AsyncResponse createPullRequest: ( params: Params.RepositoriesCreatePullRequest ) => AsyncResponse createPullRequestApproval: ( params: Params.RepositoriesCreatePullRequestApproval ) => AsyncResponse createPullRequestComment: ( params: Params.RepositoriesCreatePullRequestComment ) => AsyncResponse createSrcFileCommit: ( params: Params.RepositoriesCreateSrcFileCommit ) => AsyncResponse createTag: ( params: Params.RepositoriesCreateTag ) => AsyncResponse createWebhook: ( params: Params.RepositoriesCreateWebhook ) => AsyncResponse declinePullRequest: ( params: Params.RepositoriesDeclinePullRequest ) => AsyncResponse delete: (params: Params.RepositoriesDelete) => AsyncResponse deleteBranch: ( params: Params.RepositoriesDeleteBranch ) => AsyncResponse deleteBranchRestriction: ( params: Params.RepositoriesDeleteBranchRestriction ) => AsyncResponse deleteCommitApproval: ( params: Params.RepositoriesDeleteCommitApproval ) => AsyncResponse deleteDefaultReviewer: ( params: Params.RepositoriesDeleteDefaultReviewer ) => AsyncResponse deleteDeployKey: ( params: Params.RepositoriesDeleteDeployKey ) => AsyncResponse deleteDeploymentVariable: ( params: Params.RepositoriesDeleteDeploymentVariable ) => AsyncResponse deleteDownload: ( params: Params.RepositoriesDeleteDownload ) => AsyncResponse deleteEnvironment: ( params: Params.RepositoriesDeleteEnvironment ) => AsyncResponse deleteIssue: ( params: Params.RepositoriesDeleteIssue ) => AsyncResponse deleteIssueAttachment: ( params: Params.RepositoriesDeleteIssueAttachment ) => AsyncResponse deleteIssueComment: ( params: Params.RepositoriesDeleteIssueComment ) => AsyncResponse deleteIssueVote: ( params: Params.RepositoriesDeleteIssueVote ) => AsyncResponse deleteIssueWatch: ( params: Params.RepositoriesDeleteIssueWatch ) => AsyncResponse deletePipelineKnownHost: ( params: Params.RepositoriesDeletePipelineKnownHost ) => AsyncResponse deletePipelineSchedule: ( params: Params.RepositoriesDeletePipelineSchedule ) => AsyncResponse deletePipelineSshKeyPair: ( params: Params.RepositoriesDeletePipelineSshKeyPair ) => AsyncResponse deletePipelineVariable: ( params: Params.RepositoriesDeletePipelineVariable ) => AsyncResponse deletePullRequestApproval: ( params: Params.RepositoriesDeletePullRequestApproval ) => AsyncResponse deletePullRequestComment: ( params: Params.RepositoriesDeletePullRequestComment ) => AsyncResponse deleteTag: ( params: Params.RepositoriesDeleteTag ) => AsyncResponse deleteWebhook: ( params: Params.RepositoriesDeleteWebhook ) => AsyncResponse get: (params: Params.RepositoriesGet) => AsyncResponse getBranch: ( params: Params.RepositoriesGetBranch ) => AsyncResponse getBranchingModel: ( params: Params.RepositoriesGetBranchingModel ) => AsyncResponse getBranchingModelSettings: ( params: Params.RepositoriesGetBranchingModelSettings ) => AsyncResponse getBranchRestriction: ( params: Params.RepositoriesGetBranchRestriction ) => AsyncResponse getCommit: ( params: Params.RepositoriesGetCommit ) => AsyncResponse getCommitBuildStatus: ( params: Params.RepositoriesGetCommitBuildStatus ) => AsyncResponse getCommitComment: ( params: Params.RepositoriesGetCommitComment ) => AsyncResponse getDefaultReviewer: ( params: Params.RepositoriesGetDefaultReviewer ) => AsyncResponse getDeployKey: ( params: Params.RepositoriesGetDeployKey ) => AsyncResponse getDeployment: ( params: Params.RepositoriesGetDeployment ) => AsyncResponse getDiff: (params: Params.RepositoriesGetDiff) => AsyncResponse getDownload: ( params: Params.RepositoriesGetDownload ) => AsyncResponse getEnvironment: ( params: Params.RepositoriesGetEnvironment ) => AsyncResponse getIssue: ( params: Params.RepositoriesGetIssue ) => AsyncResponse getIssueAttachment: ( params: Params.RepositoriesGetIssueAttachment ) => AsyncResponse getIssueChange: ( params: Params.RepositoriesGetIssueChange ) => AsyncResponse getIssueComment: ( params: Params.RepositoriesGetIssueComment ) => AsyncResponse getIssueComponent: ( params: Params.RepositoriesGetIssueComponent ) => AsyncResponse getIssueExportJobStatus: ( params: Params.RepositoriesGetIssueExportJobStatus ) => AsyncResponse getIssueImportJobStatus: ( params: Params.RepositoriesGetIssueImportJobStatus ) => AsyncResponse getIssueMilestone: ( params: Params.RepositoriesGetIssueMilestone ) => AsyncResponse getIssueVersion: ( params: Params.RepositoriesGetIssueVersion ) => AsyncResponse getIssueVote: ( params: Params.RepositoriesGetIssueVote ) => AsyncResponse getIssueWatch: ( params: Params.RepositoriesGetIssueWatch ) => AsyncResponse getPatch: (params: Params.RepositoriesGetPatch) => AsyncResponse getPipeline: ( params: Params.RepositoriesGetPipeline ) => AsyncResponse getPipelineConfig: ( params: Params.RepositoriesGetPipelineConfig ) => AsyncResponse getPipelineKnownHost: ( params: Params.RepositoriesGetPipelineKnownHost ) => AsyncResponse getPipelineSchedule: ( params: Params.RepositoriesGetPipelineSchedule ) => AsyncResponse getPipelineSshKeyPair: ( params: Params.RepositoriesGetPipelineSshKeyPair ) => AsyncResponse getPipelineStep: ( params: Params.RepositoriesGetPipelineStep ) => AsyncResponse getPipelineStepLog: ( params: Params.RepositoriesGetPipelineStepLog ) => AsyncResponse getPipelineVariable: ( params: Params.RepositoriesGetPipelineVariable ) => AsyncResponse getPullRequest: ( params: Params.RepositoriesGetPullRequest ) => AsyncResponse getPullRequestComment: ( params: Params.RepositoriesGetPullRequestComment ) => AsyncResponse getPullRequestDiff: ( params: Params.RepositoriesGetPullRequestDiff ) => AsyncResponse getPullRequestDiffStat: ( params: Params.RepositoriesGetPullRequestDiffStat ) => AsyncResponse getPullRequestPatch: ( params: Params.RepositoriesGetPullRequestPatch ) => AsyncResponse getTag: (params: Params.RepositoriesGetTag) => AsyncResponse getWebhook: ( params: Params.RepositoriesGetWebhook ) => AsyncResponse list: ( params: Params.RepositoriesList ) => AsyncResponse listBranches: ( params: Params.RepositoriesListBranches ) => AsyncResponse listBranchRestrictions: ( params: Params.RepositoriesListBranchRestrictions ) => AsyncResponse listCommitComments: ( params: Params.RepositoriesListCommitComments ) => AsyncResponse listCommits: ( params: Params.RepositoriesListCommits ) => AsyncResponse listCommitsAlt: ( params: Params.RepositoriesListCommitsAlt ) => AsyncResponse listCommitsAt: ( params: Params.RepositoriesListCommitsAt ) => AsyncResponse listCommitsAtAlt: ( params: Params.RepositoriesListCommitsAtAlt ) => AsyncResponse listCommitStatuses: ( params: Params.RepositoriesListCommitStatuses ) => AsyncResponse listComponents: ( params: Params.RepositoriesListComponents ) => AsyncResponse listDefaultReviewers: ( params: Params.RepositoriesListDefaultReviewers ) => AsyncResponse listDeployKeys: ( params: Params.RepositoriesListDeployKeys ) => AsyncResponse listDeployments: ( params: Params.RepositoriesListDeployments ) => AsyncResponse listDeploymentVariables: ( params: Params.RepositoriesListDeploymentVariables ) => AsyncResponse listDiffStats: ( params: Params.RepositoriesListDiffStats ) => AsyncResponse listDownloads: ( params: Params.RepositoriesListDownloads ) => AsyncResponse listEnvironments: ( params: Params.RepositoriesListEnvironments ) => AsyncResponse listFileHistory: ( params: Params.RepositoriesListFileHistory ) => AsyncResponse listForks: ( params: Params.RepositoriesListForks ) => AsyncResponse listGlobal: ( params: Params.RepositoriesListGlobal ) => AsyncResponse listIssueAttachments: ( params: Params.RepositoriesListIssueAttachments ) => AsyncResponse listIssueChanges: ( params: Params.RepositoriesListIssueChanges ) => AsyncResponse listIssueComments: ( params: Params.RepositoriesListIssueComments ) => AsyncResponse listIssues: ( params: Params.RepositoriesListIssues ) => AsyncResponse listMilestones: ( params: Params.RepositoriesListMilestones ) => AsyncResponse listPermissions: ( params: Params.RepositoriesListPermissions ) => AsyncResponse listPipelineKnownHosts: ( params: Params.RepositoriesListPipelineKnownHosts ) => AsyncResponse listPipelines: ( params: Params.RepositoriesListPipelines ) => AsyncResponse listPipelineScheduleExecutions: ( params: Params.RepositoriesListPipelineScheduleExecutions ) => AsyncResponse listPipelineSchedules: ( params: Params.RepositoriesListPipelineSchedules ) => AsyncResponse listPipelineSteps: ( params: Params.RepositoriesListPipelineSteps ) => AsyncResponse listPipelineVariables: ( params: Params.RepositoriesListPipelineVariables ) => AsyncResponse listPullRequestActivities: ( params: Params.RepositoriesListPullRequestActivities ) => AsyncResponse listPullRequestActivitiesForRepo: ( params: Params.RepositoriesListPullRequestActivitiesForRepo ) => AsyncResponse listPullRequestComments: ( params: Params.RepositoriesListPullRequestComments ) => AsyncResponse listPullRequestCommits: ( params: Params.RepositoriesListPullRequestCommits ) => AsyncResponse listPullRequests: ( params: Params.RepositoriesListPullRequests ) => AsyncResponse listPullrequestsForCommit: ( params: Params.RepositoriesListPullrequestsForCommit ) => AsyncResponse listPullRequestStatuses: ( params: Params.RepositoriesListPullRequestStatuses ) => AsyncResponse listRefs: ( params: Params.RepositoriesListRefs ) => AsyncResponse listTags: ( params: Params.RepositoriesListTags ) => AsyncResponse listVersions: ( params: Params.RepositoriesListVersions ) => AsyncResponse listWatchers: ( params: Params.RepositoriesListWatchers ) => AsyncResponse listWebhooks: ( params: Params.RepositoriesListWebhooks ) => AsyncResponse mergePullRequest: ( params: Params.RepositoriesMergePullRequest ) => AsyncResponse readSrc: ( params: Params.RepositoriesReadSrc ) => AsyncResponse readSrcRoot: ( params: Params.RepositoriesReadSrcRoot ) => AsyncResponse stopPipeline: ( params: Params.RepositoriesStopPipeline ) => AsyncResponse update: ( params: Params.RepositoriesUpdate ) => AsyncResponse updateBranchingModelSettings: ( params: Params.RepositoriesUpdateBranchingModelSettings ) => AsyncResponse updateBranchRestriction: ( params: Params.RepositoriesUpdateBranchRestriction ) => AsyncResponse updateCommitBuildStatus: ( params: Params.RepositoriesUpdateCommitBuildStatus ) => AsyncResponse updateDeployKey: ( params: Params.RepositoriesUpdateDeployKey ) => AsyncResponse updateDeploymentVariable: ( params: Params.RepositoriesUpdateDeploymentVariable ) => AsyncResponse updateEnvironment: ( params: Params.RepositoriesUpdateEnvironment ) => AsyncResponse updateIssue: ( params: Params.RepositoriesUpdateIssue ) => AsyncResponse updateIssueComment: ( params: Params.RepositoriesUpdateIssueComment ) => AsyncResponse updatePipelineBuildNumber: ( params: Params.RepositoriesUpdatePipelineBuildNumber ) => AsyncResponse updatePipelineConfig: ( params: Params.RepositoriesUpdatePipelineConfig ) => AsyncResponse updatePipelineKnownHost: ( params: Params.RepositoriesUpdatePipelineKnownHost ) => AsyncResponse updatePipelineSchedule: ( params: Params.RepositoriesUpdatePipelineSchedule ) => AsyncResponse updatePipelineSshKeyPair: ( params: Params.RepositoriesUpdatePipelineSshKeyPair ) => AsyncResponse updatePipelineVariable: ( params: Params.RepositoriesUpdatePipelineVariable ) => AsyncResponse updatePullRequest: ( params: Params.RepositoriesUpdatePullRequest ) => AsyncResponse updatePullRequestComment: ( params: Params.RepositoriesUpdatePullRequestComment ) => AsyncResponse updateWebhook: ( params: Params.RepositoriesUpdateWebhook ) => AsyncResponse } search: { codeOfTeam: ( params: Params.SearchCodeOfTeam ) => AsyncResponse codeOfUser: ( params: Params.SearchCodeOfUser ) => AsyncResponse } snippet: { getRawFiles: ( params: Params.SnippetGetRawFiles ) => AsyncResponse } snippets: { checkWatch: (params: Params.SnippetsCheckWatch) => AsyncResponse create: (params: Params.SnippetsCreate) => AsyncResponse createComment: ( params: Params.SnippetsCreateComment ) => AsyncResponse createForUser: ( params: Params.SnippetsCreateForUser ) => AsyncResponse delete: (params: Params.SnippetsDelete) => AsyncResponse deleteAt: (params: Params.SnippetsDeleteAt) => AsyncResponse deleteComment: ( params: Params.SnippetsDeleteComment ) => AsyncResponse get: (params: Params.SnippetsGet) => AsyncResponse getAt: (params: Params.SnippetsGetAt) => AsyncResponse getComment: ( params: Params.SnippetsGetComment ) => AsyncResponse getCommit: ( params: Params.SnippetsGetCommit ) => AsyncResponse getDiff: (params: Params.SnippetsGetDiff) => AsyncResponse getFile: (params: Params.SnippetsGetFile) => AsyncResponse getPatch: (params: Params.SnippetsGetPatch) => AsyncResponse getRawFiles: ( params: Params.SnippetsGetRawFiles ) => AsyncResponse list: ( params: Params.SnippetsList ) => AsyncResponse listComments: ( params: Params.SnippetsListComments ) => AsyncResponse listCommits: ( params: Params.SnippetsListCommits ) => AsyncResponse listForUser: ( params: Params.SnippetsListForUser ) => AsyncResponse listWatchers: ( params: Params.SnippetsListWatchers ) => AsyncResponse startWatch: (params: Params.SnippetsStartWatch) => AsyncResponse stopWatch: (params: Params.SnippetsStopWatch) => AsyncResponse update: (params: Params.SnippetsUpdate) => AsyncResponse updateAt: (params: Params.SnippetsUpdateAt) => AsyncResponse updateComment: ( params: Params.SnippetsUpdateComment ) => AsyncResponse } source: { createFileCommit: ( params: Params.SourceCreateFileCommit ) => AsyncResponse listHistory: ( params: Params.SourceListHistory ) => AsyncResponse read: ( params: Params.SourceRead ) => AsyncResponse readRoot: ( params: Params.SourceReadRoot ) => AsyncResponse } ssh: { createKey: ( params: Params.SshCreateKey ) => AsyncResponse deleteKey: (params: Params.SshDeleteKey) => AsyncResponse getKey: (params: Params.SshGetKey) => AsyncResponse listKeys: ( params: Params.SshListKeys ) => AsyncResponse updateKey: ( params: Params.SshUpdateKey ) => AsyncResponse } teams: { createPipelineVariable: ( params: Params.TeamsCreatePipelineVariable ) => AsyncResponse createProject: ( params: Params.TeamsCreateProject ) => AsyncResponse createWebhook: ( params: Params.TeamsCreateWebhook ) => AsyncResponse deletePipelineVariable: ( params: Params.TeamsDeletePipelineVariable ) => AsyncResponse deleteProject: ( params: Params.TeamsDeleteProject ) => AsyncResponse deleteWebhook: ( params: Params.TeamsDeleteWebhook ) => AsyncResponse get: (params: Params.TeamsGet) => AsyncResponse getAllMembers: ( params: Params.TeamsGetAllMembers ) => AsyncResponse getMembers: (params: Params.TeamsGetMembers) => AsyncResponse getPipelineVariable: ( params: Params.TeamsGetPipelineVariable ) => AsyncResponse getProject: ( params: Params.TeamsGetProject ) => AsyncResponse getWebhook: ( params: Params.TeamsGetWebhook ) => AsyncResponse list: (params: Params.TeamsList) => AsyncResponse listFollowers: ( params: Params.TeamsListFollowers ) => AsyncResponse listFollowing: ( params: Params.TeamsListFollowing ) => AsyncResponse listPermissions: ( params: Params.TeamsListPermissions ) => AsyncResponse listPermissionsForRepo: ( params: Params.TeamsListPermissionsForRepo ) => AsyncResponse listPermissionsForRepos: ( params: Params.TeamsListPermissionsForRepos ) => AsyncResponse listPipelineVariables: ( params: Params.TeamsListPipelineVariables ) => AsyncResponse listProjects: ( params: Params.TeamsListProjects ) => AsyncResponse listRepositories: ( params: Params.TeamsListRepositories ) => AsyncResponse listRepositoriesForUser: ( params: Params.TeamsListRepositoriesForUser ) => AsyncResponse listWebhooks: ( params: Params.TeamsListWebhooks ) => AsyncResponse searchCode: ( params: Params.TeamsSearchCode ) => AsyncResponse updatePipelineVariable: ( params: Params.TeamsUpdatePipelineVariable ) => AsyncResponse updateProject: ( params: Params.TeamsUpdateProject ) => AsyncResponse updateWebhook: ( params: Params.TeamsUpdateWebhook ) => AsyncResponse } user: { get: (params: Params.UserGet) => AsyncResponse getEmail: (params: Params.UserGetEmail) => AsyncResponse listEmails: (params: Params.UserListEmails) => AsyncResponse listPermissionsForRepos: ( params: Params.UserListPermissionsForRepos ) => AsyncResponse listPermissionsForTeams: ( params: Params.UserListPermissionsForTeams ) => AsyncResponse } users: { createPipelineVariable: ( params: Params.UsersCreatePipelineVariable ) => AsyncResponse createSshKey: ( params: Params.UsersCreateSshKey ) => AsyncResponse createWebhook: ( params: Params.UsersCreateWebhook ) => AsyncResponse deletePipelineVariable: ( params: Params.UsersDeletePipelineVariable ) => AsyncResponse deleteSshKey: ( params: Params.UsersDeleteSshKey ) => AsyncResponse deleteWebhook: ( params: Params.UsersDeleteWebhook ) => AsyncResponse get: (params: Params.UsersGet) => AsyncResponse getAuthedUser: ( params: Params.UsersGetAuthedUser ) => AsyncResponse getEmailForAuthedUser: ( params: Params.UsersGetEmailForAuthedUser ) => AsyncResponse getPipelineVariable: ( params: Params.UsersGetPipelineVariable ) => AsyncResponse getSshKey: ( params: Params.UsersGetSshKey ) => AsyncResponse getTeamMembers: ( params: Params.UsersGetTeamMembers ) => AsyncResponse getWebhook: ( params: Params.UsersGetWebhook ) => AsyncResponse listEmailsForAuthedUser: ( params: Params.UsersListEmailsForAuthedUser ) => AsyncResponse listFollowers: ( params: Params.UsersListFollowers ) => AsyncResponse listFollowing: ( params: Params.UsersListFollowing ) => AsyncResponse listPipelineVariables: ( params: Params.UsersListPipelineVariables ) => AsyncResponse listRepositories: ( params: Params.UsersListRepositories ) => AsyncResponse listRepositoriesForTeam: ( params: Params.UsersListRepositoriesForTeam ) => AsyncResponse listSshKeys: ( params: Params.UsersListSshKeys ) => AsyncResponse listWebhooks: ( params: Params.UsersListWebhooks ) => AsyncResponse searchCode: ( params: Params.UsersSearchCode ) => AsyncResponse updatePipelineVariable: ( params: Params.UsersUpdatePipelineVariable ) => AsyncResponse updateSshKey: ( params: Params.UsersUpdateSshKey ) => AsyncResponse updateWebhook: ( params: Params.UsersUpdateWebhook ) => AsyncResponse } webhooks: { create: ( params: Params.WebhooksCreate ) => AsyncResponse createForTeam: ( params: Params.WebhooksCreateForTeam ) => AsyncResponse createForUser: ( params: Params.WebhooksCreateForUser ) => AsyncResponse delete: (params: Params.WebhooksDelete) => AsyncResponse deleteForTeam: ( params: Params.WebhooksDeleteForTeam ) => AsyncResponse deleteForUser: ( params: Params.WebhooksDeleteForUser ) => AsyncResponse get: ( params: Params.WebhooksGet ) => AsyncResponse getAllSubjectTypes: ( params: Params.WebhooksGetAllSubjectTypes ) => AsyncResponse getForTeam: ( params: Params.WebhooksGetForTeam ) => AsyncResponse getForUser: ( params: Params.WebhooksGetForUser ) => AsyncResponse list: ( params: Params.WebhooksList ) => AsyncResponse listForRepo: ( params: Params.WebhooksListForRepo ) => AsyncResponse listForTeam: ( params: Params.WebhooksListForTeam ) => AsyncResponse listForUser: ( params: Params.WebhooksListForUser ) => AsyncResponse update: ( params: Params.WebhooksUpdate ) => AsyncResponse updateForTeam: ( params: Params.WebhooksUpdateForTeam ) => AsyncResponse updateForUser: ( params: Params.WebhooksUpdateForUser ) => AsyncResponse } }