import { BaseResource, BaseResourceOptions } from '@gitbeaker/requester-utils'; interface UserAgentDetailSchema extends Record { user_agent: string; ip_address: string; akismet_submitted: boolean; } type CamelizeString = T extends string ? string extends T ? string : T extends `${infer F}_${infer R}` ? `${F}${Capitalize>}` : T : T; type Camelize = { [K in keyof T as CamelizeString]: T[K]; }; type Never = { [P in keyof T]?: never; }; type Only = Required & Never; type OnlyOrNone = Partial & Never; type OnlyOrNone3 = Partial & Never & Never; type OnlyOrNone4 = Partial & Never & Never & Never; type Either = Only | Only; type EitherOrNone = OnlyOrNone | OnlyOrNone; type EitherOrNone3 = OnlyOrNone3 | OnlyOrNone3 | OnlyOrNone3; type EitherOrNone4 = OnlyOrNone4 | OnlyOrNone4 | OnlyOrNone4 | OnlyOrNone4; interface Sudo { sudo?: string | number; } interface ShowExpanded { showExpanded?: E; } type PaginationTypes = 'keyset' | 'offset'; type BaseRequestOptions = Sudo & ShowExpanded & { [Key in string]?: any; }; interface KeysetPaginationRequestOptions { orderBy: string; sort: 'asc' | 'dec'; } interface OffsetPaginationRequestOptions { page?: number | string; maxPages?: number; } interface BasePaginationRequestOptions

{ pagination?: P; perPage?: number | string; } type PaginationRequestSubOptions

= P extends 'keyset' ? KeysetPaginationRequestOptions : P extends 'offset' ? OffsetPaginationRequestOptions : Record; type PaginationRequestOptions

= BasePaginationRequestOptions

& PaginationRequestSubOptions

; type CamelizedResponse = C extends true ? Camelize : T; interface OffsetPagination { total: number; next: number | null; current: number; previous: number | null; perPage: number; totalPages: number; } interface KeysetPagination { idAfter: number; perPage: number; orderBy: string; sort: 'asc' | 'dec'; } interface ExpandedResponse { data: T; headers: Record; status: number; } type PaginatedResponse = { [U in P]: { paginationInfo: P extends 'keyset' ? KeysetPagination : OffsetPagination; data: T; }; }[P]; type GitlabAPIExpandedResponse = E extends true ? P extends PaginationTypes ? PaginatedResponse : ExpandedResponse : T; type GitlabAPISingleResponse = T extends Record ? GitlabAPIExpandedResponse, E, undefined> : GitlabAPIExpandedResponse; type GitlabAPIMultiResponse = T extends Record ? GitlabAPIExpandedResponse[], E, P> : GitlabAPIExpandedResponse; type GitlabAPIResponse = T extends (infer R)[] ? GitlabAPIMultiResponse : GitlabAPISingleResponse; interface ProjectRemoteMirrorSchema extends Record { enabled: boolean; id: number; last_error?: string; last_successful_update_at: string; last_update_at: string; last_update_started_at: string; only_protected_branches: boolean; keep_divergent_refs: boolean; update_status: string; url: string; } declare class ProjectRemoteMirrors extends BaseResource { all(projectId: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; createPullMirror(projectId: string | number, url: string, mirror: boolean, options?: { onlyProtectedBranches?: boolean; } & Sudo & ShowExpanded): Promise>; createPushMirror(projectId: string | number, url: string, options?: { enabled?: boolean; onlyProtectedBranches?: boolean; keepDivergentRefs?: boolean; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, mirrorId: number, options?: { enabled?: boolean; onlyProtectedBranches?: boolean; keepDivergentRefs?: boolean; } & Sudo & ShowExpanded): Promise>; remove(name: string, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, mirrorId: number, options?: Sudo & ShowExpanded): Promise>; } interface EventOptions { action?: 'created' | 'updated' | 'closed' | 'reopened' | 'pushed' | 'commented' | 'merged' | 'joined' | 'left' | 'destroyed' | 'expired'; targetType?: 'issue' | 'milestone' | 'merge_request' | 'note' | 'project' | 'snippet' | 'user'; before?: string; after?: string; scope?: string; sort?: 'asc' | 'desc'; } interface EventSchema extends Record { id: number; title?: string; project_id: number; action_name: string; target_id: number; target_type: string; author_id: number; target_title: string; created_at: string; author: Omit; author_username: string; } declare class Events extends BaseResource { all({ projectId, userId, ...options }?: EitherOrNone<{ projectId?: string | number; }, { userId: string | number; }> & PaginationRequestOptions

& BaseRequestOptions & EventOptions): Promise>; } type AccessLevel = 0 | 5 | 10 | 20 | 30 | 40 | 50; interface AccessRequestSchema extends Record { id: number; username: string; name: string; state: string; created_at: string; requested_at: string; } declare class ResourceAccessRequests extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; request(resourceId: string | number, options?: Sudo & ShowExpanded): Promise>; approve(resourceId: string | number, userId: number, options?: { accessLevel?: AccessLevel; } & Sudo & ShowExpanded): Promise>; deny(resourceId: string | number, userId: number, options?: Sudo & ShowExpanded): Promise>; } type AccessTokenScopes = 'api' | 'read_api' | 'read_registry' | 'write_registry' | 'read_repository' | 'write_repository'; interface AccessTokenSchema extends Record { user_id: number; scopes?: AccessTokenScopes[]; name: string; expires_at: string; id: number; active: boolean; created_at: string; revoked: boolean; access_level: AccessLevel; } declare class ResourceAccessTokens extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(resourceId: string | number, name: string, scopes: AccessTokenScopes[], options?: { accessLevel?: AccessLevel; expiresAt?: string; } & Sudo & ShowExpanded): Promise>; revoke(resourceId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface AwardEmojiSchema extends Record { id: number; name: string; user: UserSchema; created_at: string; updated_at: string; awardable_id: number; awardable_type: string; } declare class ResourceAwardEmojis extends BaseResource { protected resourceType2: string; constructor(resourceType1: string, resourceType2: string, options: BaseResourceOptions); all(resourceId: string | number, resourceIId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; award(resourceId: string | number, resourceIId: number, name: string, options?: Sudo & ShowExpanded): Promise>; remove(resourceId: string | number, resourceIId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, resourceIId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; } interface BadgeSchema extends Record { name: string; id: number; link_url: string; image_url: string; rendered_link_url: string; rendered_image_url: string; kind: 'project' | 'group'; } type CondensedBadgeSchema = Omit; declare class ResourceBadges extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); add(resourceId: string | number, linkUrl: string, imageUrl: string, options?: BaseRequestOptions): Promise>; all(resourceId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(resourceId: string | number, badgeId: number, options?: BaseRequestOptions): Promise>; preview(resourceId: string | number, linkUrl: string, imageUrl: string, options?: Sudo & ShowExpanded): Promise>; remove(resourceId: string | number, badgeId: number, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, badgeId: number, options?: Sudo & ShowExpanded): Promise>; } interface CustomAttributeSchema extends Record { key: string; value: string; } declare class ResourceCustomAttributes extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; remove(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded): Promise>; set(resourceId: string | number, customAttributeId: string, value: string, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded): Promise>; } interface DiscussionNotePositionBaseSchema extends Record { base_sha: string; start_sha: string; head_sha: string; position_type: 'text' | 'image'; old_path?: string; new_path?: string; } type DiscussionNotePositionSchema = (DiscussionNotePositionBaseSchema & { position_type: 'text'; new_line?: string; old_line?: string; }) | (DiscussionNotePositionBaseSchema & { position_type: 'image'; width?: string; height?: string; x?: number; y?: number; }); interface DiscussionNoteSchema extends Record { id: number; type?: string; body: string; attachment?: string; author: Omit; created_at: string; updated_at: string; system: boolean; noteable_id: number; noteable_type: string; noteable_iid?: number; resolvable?: boolean; } interface DiscussionSchema extends Record { id: string; individual_note: boolean; notes?: DiscussionNoteSchema[]; } declare class ResourceDiscussions extends BaseResource { protected resource2Type: string; constructor(resourceType: string, resource2Type: string, options: BaseResourceOptions); addNote(resourceId: string | number, resource2Id: string | number, discussionId: string | number, noteId: number, body: string, options?: BaseRequestOptions): Promise>; all(resourceId: string | number, resource2Id: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(resourceId: string | number, resource2Id: string | number, body: string, { position, ...options }?: { position?: DiscussionNotePositionSchema; commitId?: string; createdAt?: string; } & Sudo & ShowExpanded): Promise>; editNote(resourceId: string | number, resource2Id: string | number, discussionId: string | number, noteId: number, { body, ...options }?: Sudo & ShowExpanded & { body?: string; resolved?: boolean; }): Promise>; removeNote(resourceId: string | number, resource2Id: string | number, discussionId: string | number, noteId: number, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, resource2Id: string | number, discussionId: string | number, options?: Sudo & ShowExpanded): Promise>; } type MetricType = 'deployment_frequency' | 'lead_time_for_changes'; interface DORA4MetricSchema extends Record { date: string; value: number; } declare class ResourceDORA4Metrics extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, metric: MetricType, options?: { startDate?: string; endDate?: string; interval?: string; environmentTier?: string; } & BaseRequestOptions): Promise>; } interface HookSchema extends Record { id: number; url: string; created_at: string; push_events: boolean; tag_push_events: boolean; merge_requests_events: boolean; repository_update_events: boolean; enable_ssl_verification: boolean; } interface ExpandedHookSchema extends HookSchema { push_events_branch_filter: string; issues_events: boolean; confidential_issues_events: boolean; note_events: boolean; confidential_note_events: boolean; job_events: boolean; pipeline_events: boolean; wiki_page_events: boolean; deployment_events: boolean; releases_events: boolean; } declare class ResourceHooks extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); add(resourceId: string | number, url: string, options?: BaseRequestOptions): Promise>; all(resourceId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(resourceId: string | number, hookId: number, url: string, options?: BaseRequestOptions): Promise>; remove(resourceId: string | number, hookId: number, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, hookId: number, options?: Sudo & ShowExpanded): Promise>; } interface InvitationSchema extends Record { id: number; invite_email: string; created_at: string; access_level: number; expires_at: string; user_name: string; created_by_name: string; } declare class ResourceInvitations extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); add(resourceId: string | number, accessLevel: AccessLevel, options?: Either<{ email: string; }, { userId: string; }> & BaseRequestOptions): Promise>; all(resourceId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(resourceId: string | number, email: string, options?: BaseRequestOptions): Promise>; remove(resourceId: string | number, email: string, options?: Sudo & ShowExpanded): Promise>; } interface CommitAction { /** The action to perform */ action: 'create' | 'delete' | 'move' | 'update' | 'chmod'; /** Full path to the file. Ex. lib/class.rb */ filePath: string; /** Original full path to the file being moved.Ex.lib / class1.rb */ previousPath?: string; /** File content, required for all except delete. Optional for move */ content?: string; /** text or base64. text is default. */ encoding?: string; /** Last known file commit id. Will be only considered in update, move and delete actions. */ lastCommitId?: string; /** When true/false enables/disables the execute flag on the file. Only considered for chmod action. */ execute_filemode?: boolean; } interface CondensedCommitSchema extends Record { id: string; short_id: string; message: string; title: string; author_email: string; author_name: string; created_at: string; } interface CommitSchema extends CondensedCommitSchema { parent_ids?: string[]; message: string; authored_date?: string; committer_name?: string; committer_email?: string; committed_date?: string; web_url: string; } interface CommitExpandedSchema extends CommitSchema { last_pipeline: { id: number; ref: string; sha: string; status: string; }; stats: { additions: number; deletions: number; total: number; }; status: string; } interface GPGSignatureSchema extends Record { signature_type: 'PGP'; verification_status: 'verified' | 'unverified'; gpg_key_id: number; gpg_key_primary_keyid: string; gpg_key_user_name: string; gpg_key_user_email: string; gpg_key_subkey_id?: number; commit_source: string; } interface X509SignatureSchema extends Record { signature_type: 'X509'; verification_status: 'verified' | 'unverified'; x509_certificate: { id: number; subject: string; subject_key_identifier: string; email: string; serial_number: string; certificate_status: string; x509_issuer: { id: number; subject: string; subject_key_identifier: string; crl_url: string; }; }; commit_source: string; } interface MissingSignatureSchema extends Record { message: string; } type CommitSignatureSchema = GPGSignatureSchema | X509SignatureSchema | MissingSignatureSchema; interface CommitCommentSchema extends Record { note: string; line_type: 'new' | 'old'; path: string; line: number; author: Omit; } interface CommitDiffSchema extends Record { diff: string; new_path: string; old_path: string; a_mode?: string; b_mode: string; new_file: boolean; renamed_file: boolean; deleted_file: boolean; } interface CommitStatusSchema extends Record { status: string; created_at: string; started_at?: string; name: string; allow_failure: boolean; author: Omit; description?: string; sha: string; target_url: string; finished_at?: string; id: number; ref: string; } interface CommitReferenceSchema extends Record { type: 'branch' | 'tag' | 'all'; name: string; } interface CommitDiscussionNoteSchema extends Omit { confidential?: boolean; commands_changes: Record; } interface CommitDiscussionSchema extends Record { id: string; individual_note: boolean; notes?: CommitDiscussionNoteSchema[]; } declare class Commits extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; cherryPick(projectId: string | number, sha: string, branch: string, options?: Sudo & ShowExpanded): Promise>; allComments(projectId: string | number, sha: string, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, branch: string, message: string, actions?: CommitAction[], options?: BaseRequestOptions): Promise>; createComment(projectId: string | number, sha: string, note: string, options?: BaseRequestOptions): Promise>; diff(projectId: string | number, sha: string, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allDiscussions(projectId: string | number, sha: string, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; editStatus(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise>; allReferences(projectId: string | number, sha: string, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; revert(projectId: string | number, sha: string, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise>; allStatuses(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise>; allMergeRequests(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise>; signature(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise>; } interface PipelineVariableSchema extends Record { key: string; variable_type?: string; value: string; } declare class PipelineScheduleVariables extends BaseResource { all(projectId: string | number, pipelineScheduleId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, pipelineScheduleId: number, key: string, value: string, options?: { variableType?: 'env_var' | 'file'; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, pipelineScheduleId: number, key: string, value: string, options?: { variableType?: 'env_var' | 'file'; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, pipelineScheduleId: number, key: string, options?: Sudo & ShowExpanded): Promise>; } type PipelineStatus = 'created' | 'waiting_for_resource' | 'preparing' | 'pending' | 'running' | 'failed' | 'success' | 'canceled' | 'skipped' | 'manual' | 'scheduled'; interface PipelineSchema extends Record { id: number; iid: number; project_id: number; sha: string; ref: string; status: string; source: string; created_at: string; updated_at: string; web_url: string; } interface ExpandedPipelineSchema extends PipelineSchema { before_sha: string; tag: boolean; yaml_errors?: unknown; user: Omit; started_at: string; finished_at: string; committed_at?: string; duration: number; queued_duration?: unknown; coverage?: unknown; detailed_status: { icon: string; text: string; label: string; group: string; tooltip: string; has_details: boolean; details_path: string; illustration?: null; favicon: string; }; } interface PipelineTestCaseSchema { status: string; name: string; classname: string; execution_time: number; system_output?: string; stack_trace?: string; } interface PipelineTestSuiteSchema { name: string; total_time: number; total_count: number; success_count: number; failed_count: number; skipped_count: number; error_count: number; test_cases?: PipelineTestCaseSchema[]; } interface PipelineTestReportSchema extends Record { total_time: number; total_count: number; success_count: number; failed_count: number; skipped_count: number; error_count: number; test_suites?: PipelineTestSuiteSchema[]; } interface PipelineTestReportSummarySchema extends Record { total: { time: number; count: number; success: number; failed: number; skipped: number; error: number; suite_error?: null; }; test_suites?: PipelineTestSuiteSchema[]; } declare class Pipelines extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allVariables(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded): Promise>; cancel(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded): Promise>; create(projectId: string | number, ref: string, options?: { variables?: PipelineVariableSchema[]; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded): Promise>; retry(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded): Promise>; showTestReport(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded): Promise>; showTestReportSummary(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded): Promise>; } type TodoAction = 'assigned' | 'mentioned' | 'build_failed' | 'marked' | 'approval_required' | 'unmergeable' | 'directly_addressed' | 'merge_train_removed'; type TodoType = 'Issue' | 'MergeRequest' | 'Commit' | 'Epic' | 'DesignManagement::Design' | 'AlertManagement::Alert'; type TodoState = 'pending' | 'done'; interface TodoSchema extends Record { id: number; author: Omit; project: Pick; action_name: TodoAction; target_type: TodoType; target: Record; target_url: string; body: string; state: TodoState; created_at: string; updated_at: string; } declare class TodoLists extends BaseResource { all(options?: { action?: TodoAction; authorId?: number; projectId?: string | number; groupId?: string | number; state?: TodoState; type?: TodoType; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; done(options: { todoId: number; } & Sudo & ShowExpanded): Promise>; done(options?: Sudo & ShowExpanded): Promise>; } interface AllMergeRequestsOptions { state?: 'opened' | 'closed' | 'locked' | 'merged'; orderBy?: 'created_at' | 'updated_at'; sort?: 'asc' | 'desc'; milestone?: 'None' | string; view?: string; labels?: string | Array; withLabelsDetails?: boolean; withMergeStatusRecheck?: boolean; createdAfter?: string; createdBefore?: string; updatedBefore?: string; updatedAfter?: string; scope?: 'created_by_me' | 'assigned_to_me' | 'all'; authorId?: number; authorUsername?: string; assigneeId?: number; approverIds?: Array; approvedByIds?: Array; reviewerId?: number | 'Any' | 'None'; reviewerUsername?: string; myReactionEmoji?: string; sourceBranch?: string; targetBranch?: string; search?: string; in?: string; wip?: string; not?: { labels?: string | Array; milestone?: string; authorId?: number; authorUsername?: string; assigneeId?: number; assigneeUsername?: string; reviewerId?: number; reviewerUsername?: string; myReactionEmoji?: string; }; environment?: string; deployedBefore?: string; deployedAfter?: string; } interface AcceptMergeRequestOptions { mergeCommitMessage?: string; squashCommitMessage?: string; squash?: boolean; shouldRemoveSourceBranch?: boolean; mergeWhenPipelineSucceeds?: boolean; sha?: string; } interface CreateMergeRequestOptions { assigneeId?: number; description?: string; targetProjectId?: number; labels?: string | Array; milestoneId?: number; removeSourceBranch?: boolean; allowCollaboration?: boolean; allowMaintainerToPush?: boolean; squash?: boolean; } interface UpdateMergeRequestOptions { targetBranch?: number; title?: string; assigneeId?: number; reviewerId?: number; milestoneId?: number; labels?: string | Array; description?: string; stateEvent?: string; removeSourceBranch?: boolean; squash?: boolean; discussionLocked?: boolean; allowCollaboration?: boolean; allowMaintainerToPush?: boolean; } interface DiffRefsSchema { base_sha: string; head_sha: string; start_sha: string; } interface MergeRequestChanges { old_path: string; new_path: string; a_mode: string; b_mode: string; new_file: boolean; renamed_file: boolean; deleted_file: boolean; diff: string; } interface ReferenceSchema { short: string; relative: string; full: string; } interface TaskCompletionStatusSchema { count: number; completed_count: number; } interface MergeRequestDiffVersionsSchema extends Record { id: number; head_commit_sha: string; base_commit_sha: string; start_commit_sha: string; created_at: string; merge_request_id: number; state: string; real_size: string; } interface ExpandedMergeRequestDiffVersionsSchema extends Record { id: number; head_commit_sha: string; base_commit_sha: string; start_commit_sha: string; created_at: string; merge_request_id: number; state: string; real_size: string; commits: CommitSchema[]; diffs: CommitDiffSchema[]; } interface MergeRequestRebaseSchema extends Record { rebase_in_progress?: boolean; merge_error?: string; } interface CondensedMergeRequestSchema extends Record { id: number; iid: number; project_id: number; title: string; description: string; state: string; created_at: string; updated_at: string; web_url: string; } interface MergeRequestSchema extends CondensedMergeRequestSchema { merged_by: Omit; merged_at: string; closed_by?: Omit; closed_at?: Omit; target_branch: string; source_branch: string; user_notes_count: number; upvotes: number; downvotes: number; author: Omit; assignees?: Omit[]; assignee?: Omit; reviewers?: Omit[]; source_project_id: number; target_project_id: number; labels?: string[]; draft: boolean; work_in_progress: boolean; milestone?: MilestoneSchema; merge_when_pipeline_succeeds: boolean; merge_status: 'unchecked' | 'checking' | 'can_be_merged' | 'cannot_be_merged' | 'cannot_be_merged_recheck'; sha: string; merge_commit_sha: string; squash_commit_sha?: string; discussion_locked?: boolean; should_remove_source_branch?: boolean; force_remove_source_branch: boolean; reference: string; references: ReferenceSchema; time_stats: TimeStatsSchema; squash: boolean; task_completion_status: TaskCompletionStatusSchema; has_conflicts: boolean; blocking_discussions_resolved: boolean; approvals_before_merge?: unknown; } interface ExpandedMergeRequestSchema extends MergeRequestSchema { subscribed: boolean; changes_count: string; latest_build_started_at: string; latest_build_finished_at: string; first_deployed_to_production_at?: null; pipeline: PipelineSchema; head_pipeline: ExpandedPipelineSchema; diff_refs: DiffRefsSchema; merge_error?: null; first_contribution: boolean; user: { can_merge: boolean; }; } interface MergeRequestWithChangesSchema extends ExpandedMergeRequestSchema { changes?: MergeRequestChanges[]; overflow: boolean; } interface MergeRequestTodoSchema extends TodoSchema { project: SimpleProjectSchema; target_type: 'MergeRequest'; target: ExpandedMergeRequestSchema; } declare class MergeRequests extends BaseResource { accept(projectId: string | number, mergerequestIId: number, options?: AcceptMergeRequestOptions & BaseRequestOptions): Promise>; addSpentTime(projectId: string | number, mergerequestIId: number, duration: string, options?: Sudo & ShowExpanded): Promise>; all({ projectId, groupId, ...options }?: AllMergeRequestsOptions & Either<{ projectId: string | number; }, { groupId: string | number; }> & PaginationRequestOptions

& BaseRequestOptions): Promise>; cancelOnPipelineSuccess(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; allChanges(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; allIssuesClosed(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; allCommits(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; create(projectId: string | number, sourceBranch: string, targetBranch: string, title: string, options?: CreateMergeRequestOptions & BaseRequestOptions): Promise>; createPipeline(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; createTodo(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; allDiffVersions(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; edit(projectId: string | number, mergerequestIId: number, options?: UpdateMergeRequestOptions & BaseRequestOptions): Promise>; merge(projectId: string | number, mergerequestIId: number, options?: AcceptMergeRequestOptions & BaseRequestOptions): Promise>; mergeToDefault(projectId: string | number, mergerequestIId: number, options?: UpdateMergeRequestOptions & BaseRequestOptions): Promise>; allParticipants(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise[], C, E, void>>; allPipelines(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise[], C, E, void>>; rebase(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; resetSpentTime(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; resetTimeEstimate(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; setTimeEstimate(projectId: string | number, mergerequestIId: number, duration: string, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, mergerequestIId: number, options?: { renderHtml?: boolean; includeDivergedCommitsCount?: true; includeRebaseInProgress?: boolean; } & Sudo & ShowExpanded): Promise>; showDiffVersion(projectId: string | number, mergerequestIId: number, versionId: number, options?: Sudo & ShowExpanded): Promise>; showTimeStats(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; subscribe(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; unsubscribe(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; } interface MetricImageSchema extends Record { id: number; created_at: string; filename: string; file_path: string; url: string; url_text: string; } declare class AlertManagement extends BaseResource { all(projectId: string | number, alertIId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(projectId: string | number, alertIId: number, imageId: number, options?: { url?: string; urlText?: string; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, alertIId: number, imageId: number, options?: Sudo & ShowExpanded): Promise>; upload(projectId: string | number, alertIId: number, content: Blob, { filename, url, urlText, ...options }?: { url?: string; urlText?: string; filename?: string; } & Sudo & ShowExpanded): Promise>; } interface TimeStatsSchema extends Record { time_estimate: number; total_time_spent: number; human_time_estimate: string; human_total_time_spent: string; } interface IssueSchema extends Record { state: string; description: string; health_status?: string; weight?: number; author: Omit; milestone: MilestoneSchema; project_id: number; assignees?: Omit[]; type: string; updated_at: string; closed_at?: string; closed_by?: string; id: number; title: string; created_at: string; moved_to_id?: string; iid: number; labels?: string[]; upvotes: number; downvotes: number; merge_requests_count: number; user_notes_count: number; due_date: string; web_url: string; references: { short: string; relative: string; full: string; }; time_stats: TimeStatsSchema; has_tasks: boolean; task_status: string; confidential: boolean; discussion_locked: boolean; _links: { self: string; notes: string; award_emoji: string; project: string; }; task_completion_status: { count: number; completed_count: number; }; subscribed: boolean; epic?: { id: number; iid: number; title: string; url: string; group_id: number; }; } declare class Issues extends BaseResource { addSpentTime(projectId: string | number, issueIId: number, duration: string, options?: Sudo & ShowExpanded): Promise>; addTimeEstimate(projectId: string | number, issueIId: number, duration: string, options?: Sudo & ShowExpanded): Promise>; all({ projectId, groupId, ...options }?: EitherOrNone<{ projectId?: string | number; }, { groupId?: string | number; }> & PaginationRequestOptions

& BaseRequestOptions): Promise>; allMetricImages(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; create(projectId: string | number, options?: BaseRequestOptions): Promise>; createTodo(projectId: string | number, issueIId: number, options?: BaseRequestOptions): Promise>; clone(projectId: string | number, issueIId: number, destinationProjectId: string | number, options?: Sudo & ShowExpanded): Promise>; edit(projectId: string | number, issueIId: number, options?: BaseRequestOptions): Promise>; editMetricImage(projectId: string | number, issueIId: number, imageId: number, options?: { url?: string; urlText?: string; } & Sudo & ShowExpanded): Promise>; move(projectId: string | number, issueIId: number, destinationProjectId: string | number, options?: Sudo & ShowExpanded): Promise>; allParticipants(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise[], C, E, void>>; promote(projectId: string | number, issueIId: number, body: string, options?: Sudo & ShowExpanded): Promise>; allRelatedMergeRequests(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; removeMetricImage(projectId: string | number, issueIId: number, imageId: number, options?: Sudo & ShowExpanded): Promise>; reorder(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; resetSpentTime(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; resetTimeEstimate(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; show(issueId: number, { projectId, ...options }?: { projectId?: string | number; } & Sudo & ShowExpanded): Promise>; subscribe(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; allClosedByMergeRequestst(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; showTimeStats(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; unsubscribe(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; uploadMetricImage(projectId: string | number, issueIId: number, content: Blob, { filename, ...options }?: { filename?: string; } & Sudo & ShowExpanded): Promise>; showUserAgentDetails(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded): Promise>; } interface MilestoneSchema extends Record { id: number; iid: number; project_id: number; title: string; description: string; due_date?: string; start_date: string; state: string; updated_at: string; created_at: string; expired: boolean; web_url: string; } declare class ResourceMilestones extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allAssignedIssues(resourceId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; allAssignedMergeRequests(resourceId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; create(resourceId: string | number, title: string, options?: { description?: string; dueDate?: string; startDate?: string; } & Sudo & ShowExpanded): Promise>; edit(resourceId: string | number, milestoneId: number, options?: { title?: string; description?: string; dueDate?: string; startDate?: string; startEvent?: 'close' | 'activate'; } & Sudo & ShowExpanded): Promise>; remove(resourceId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; showBurndownChartEvents(resourceId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; } interface LabelSchema extends Record { id: number; name: string; color: string; text_color: string; description: string; description_html: string; open_issues_count: number; closed_issues_count: number; open_merge_requests_count: number; subscribed: boolean; priority: number; is_project_label: boolean; } declare class ResourceLabels extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(resourceId: string | number, labelName: string, color: string, options?: { description?: string; priority?: number; } & Sudo & ShowExpanded): Promise>; edit(resourceId: number | string, labelId: number | string, options: Either<{ newName: string; }, { color: string; }> & { description?: string; priority?: number; } & Sudo & ShowExpanded): Promise>; promote(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; remove(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; subscribe(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; unsubscribe(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; } interface IssueBoardListSchema extends Record { id: number; label: Pick; position: number; max_issue_count: number; max_issue_weight: number; limit_metric?: string; } interface IssueBoardSchema extends Record { id: number; name: string; milestone: Pick; lists?: IssueBoardListSchema[]; } declare class ResourceIssueBoards extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(resourceId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; createList(resourceId: string | number, boardId: number, options?: EitherOrNone3<{ labelId?: number; }, { assigneeId?: number; }, { milestoneId?: number; }> & Sudo & ShowExpanded): Promise>; edit(resourceId: string | number, boardId: number, options?: BaseRequestOptions): Promise>; editList(resourceId: string | number, boardId: number, listId: number, position: number, options?: Sudo & ShowExpanded): Promise>; lists(resourceId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; remove(resourceId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; removeList(resourceId: string | number, boardId: number, listId: number, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; showList(resourceId: string | number, boardId: number, listId: number, options?: Sudo & ShowExpanded): Promise>; } interface IterationSchema extends Record { id: number; iid: number; group_id: number; title: string; description: string; state: number; created_at: string; updated_at: string; due_date: string; start_date: string; web_url: string; } declare class ResourceIterations extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, options?: { state?: 'opened' | 'upcoming' | 'current' | 'closed' | 'all'; search?: string; includeAncestors?: boolean; } & BaseRequestOptions & PaginationRequestOptions

): Promise>; } interface IterationEventSchema extends Record { id: number; user: Omit; created_at: string; resource_type: 'Issue'; resource_id: number; iteration: IterationSchema; action: 'add' | 'remove'; } declare class ResourceIterationEvents extends BaseResource { protected resource2Type: string; constructor(resourceType: string, resource2Type: string, options: BaseResourceOptions); all(resourceId: string | number, resource2Id: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(resourceId: string | number, resource2Id: string | number, iterationEventId: number, options?: Sudo & ShowExpanded): Promise>; } interface LabelEventSchema extends Record { id: number; user: Omit; created_at: string; resource_type: 'Issue' | 'Epic' | 'MergeRequest'; resource_id: number; label: LabelSchema; action: 'add' | 'remove'; } declare class ResourceLabelEvents extends BaseResource { protected resource2Type: string; constructor(resourceType: string, resource2Type: string, options: BaseResourceOptions); all(resourceId: string | number, resource2Id: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(resourceId: string | number, resource2Id: string | number, labelEventId: number, options?: Sudo & ShowExpanded): Promise>; } interface IncludeInherited { includeInherited?: boolean; } interface CondensedMemberSchema extends Record { id: number; username: string; name: string; state: string; avatar_url: string; web_url: string; } interface SimpleMemberSchema extends CondensedMemberSchema { expires_at: string; access_level: AccessLevel; email: string; } interface MemberSchema extends SimpleMemberSchema { group_saml_identity: { extern_uid: string; provider: string; saml_provider_id: number; }; } declare class ResourceMembers extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); add(resourceId: string | number, userId: number, accessLevel: AccessLevel, options?: BaseRequestOptions): Promise>; all(resourceId: string | number, { includeInherited, ...options }?: IncludeInherited & PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(resourceId: string | number, userId: number, accessLevel: AccessLevel, options?: BaseRequestOptions): Promise>; show(resourceId: string | number, userId: number, { includeInherited, ...options }?: IncludeInherited & Sudo & ShowExpanded): Promise>; remove(resourceId: string | number, userId: number, options?: Sudo & ShowExpanded): Promise>; } interface MilestoneEventSchema extends Record { id: number; user: Omit; created_at: string; resource_type: 'Issue' | 'MergeRequest'; resource_id: number; milestone: MilestoneSchema; action: 'add' | 'remove'; } declare class ResourceMilestoneEvents extends BaseResource { protected resource2Type: string; constructor(resourceType: string, resource2Type: string, options: BaseResourceOptions); all(resourceId: string | number, resource2Id: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(resourceId: string | number, resource2Id: string | number, milestoneEventId: number, options?: Sudo & ShowExpanded): Promise>; } interface NoteSchema extends Record { id: number; body: string; author: Omit; created_at: string; updated_at: string; } declare class ResourceNotes extends BaseResource { protected resource2Type: string; constructor(resourceType: string, resource2Type: string, options: BaseResourceOptions); all(resourceId: string | number, resource2Id: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(resourceId: string | number, resource2Id: string | number, body: string, options?: Sudo & ShowExpanded): Promise>; edit(resourceId: string | number, resource2Id: string | number, noteId: number, options?: { body?: string; } & Sudo & ShowExpanded): Promise>; remove(resourceId: string | number, resource2Id: string | number, noteId: number, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, resource2Id: string | number, noteId: number, options?: Sudo & ShowExpanded): Promise, E, undefined>>; } interface ProtectedEnvironmentAccessLevel { access_level: 30 | 40 | 60; access_level_description: string; user_id?: number; group_id?: number; } interface ProtectedEnvironmentSchema extends Record { name: string; deploy_access_levels?: ProtectedEnvironmentAccessLevel[]; required_approval_count: number; } declare class ResourceProtectedEnvironments extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, options: { search?: string; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; protect(resourceId: string | number, name: string, deployAccessLevel: ProtectedEnvironmentAccessLevel[], options?: { requiredApprovalCount?: number; } & Sudo & ShowExpanded): Promise>; edit(resourceId: string | number, name: string, options?: { deploy_access_levels?: ProtectedEnvironmentAccessLevel[]; required_approval_count?: number; approval_rules?: ProtectedEnvironmentAccessLevel[]; } & Sudo & ShowExpanded): Promise>; show(resourceId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; unprotect(resourceId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; } interface PushRuleSchema extends Record { id: number; commit_message_regex: string; commit_message_negative_regex: string; branch_name_regex: string; deny_delete_tag: boolean; created_at: string; member_check: boolean; prevent_secrets: boolean; author_email_regex: string; file_name_regex: string; max_file_size: number; } declare class ResourcePushRules extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); create(resourceId: string | number, options?: BaseRequestOptions): Promise>; edit(resourceId: string | number, options?: BaseRequestOptions): Promise>; remove(resourceId: string | number, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface RepositoryStorageMoveSchema extends Record { id: number; created_at: string; state: string; source_storage_name: string; destination_storage_name: string; } declare class ResourceRepositoryStorageMoves extends BaseResource { protected resourceType: string; protected resourceTypeSingular: string; constructor(resourceType: string, options: BaseResourceOptions); all(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; show(repositoryStorageId: number, options?: Sudo & ShowExpanded): Promise>; schedule(sourceStorageName: string, options?: Sudo & ShowExpanded): Promise>; } interface StateEventSchema extends Record { id: number; user: Omit; created_at: string; resource_type: 'Issue'; resource_id: number; action: 'add' | 'remove'; state: 'opened' | 'closed'; } declare class ResourceStateEvents extends BaseResource { protected resource2Type: string; constructor(resourceType: string, resource2Type: string, options: BaseResourceOptions); all(resourceId: string | number, resource2Id: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(resourceId: string | number, resource2Id: string | number, stateEventId: number, options?: Sudo & ShowExpanded): Promise>; } interface TemplateSchema extends Record { name: string; content: string; } declare class ResourceTemplates extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; show(key: string | number, options?: Sudo & ShowExpanded): Promise>; } type VariableType = 'env_var' | 'file'; interface VariableSchema extends Record { variable_type: VariableType; value: string; protected: boolean; masked: boolean; key: string; } type VariableFilter = Record<'environment_scope', number | string>; declare class ResourceVariables extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(resourceId: string | number, key: string, value: string, options?: { variableType?: VariableType; protected?: boolean; masked?: boolean; environmentScope?: string; } & Sudo & ShowExpanded): Promise>; edit(resourceId: string | number, key: string, value: string, options?: { variableType?: VariableType; protected?: boolean; masked?: boolean; environmentScope?: string; filter: VariableFilter; } & Sudo & ShowExpanded): Promise>; show(resourceId: string | number, key: string, options?: { filter?: VariableFilter; } & Sudo & ShowExpanded): Promise>; remove(resourceId: string | number, key: string, options?: { filter?: VariableFilter; } & Sudo & ShowExpanded): Promise>; } interface WeightEventSchema extends Record { id: number; user: Omit; created_at: string; issue_id: number; weight: number; } interface WikiSchema extends Record { content: string; format: string; slug: string; title: string; encoding: string; } interface WikiAttachmentSchema extends Record { file_name: string; file_path: string; branch: string; link: { url: string; markdown: string; }; } declare class ResourceWikis extends BaseResource { constructor(resourceType: string, options: BaseResourceOptions); all(resourceId: string | number, options?: { withContent?: boolean; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(resourceId: string | number, content: string, title: string, options?: { format?: string; } & Sudo & ShowExpanded): Promise>; edit(resourceId: string | number, slug: string, options?: Either<{ content: string; }, { title: string; }> & { format?: string; } & Sudo & ShowExpanded): Promise>; remove(resourceId: string | number, slug: string, options?: Sudo & ShowExpanded): Promise>; show(resourceId: string | number, slug: string, options?: { renderHtml?: boolean; version?: string; } & Sudo & ShowExpanded): Promise>; uploadAttachment(resourceId: string | number, content: Blob, { filename, ...options }?: { filename?: string; branch?: string; } & Sudo & ShowExpanded): Promise>; } interface PersonalAccessTokenSchema extends Record { id: number; name: string; revoked: boolean; created_at: string; scopes?: string[]; user_id: number; last_used_at: string; active: boolean; expires_at?: string; } type PersonalAccessTokenScopes = 'api' | 'read_user' | 'read_api' | 'read_repository' | 'write_repository'; interface AllPersonalAccessTokenOptions extends Record { userId?: number; state?: string; search?: string; revoked?: boolean; last_used_before?: string; last_used_after?: string; created_before?: string; created_after?: string; } declare class PersonalAccessTokens extends BaseResource { all(options?: AllPersonalAccessTokenOptions & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(userId: number, name: string, scopes: PersonalAccessTokenScopes, options?: { expires_at?: string; } & Sudo & ShowExpanded): Promise>; remove({ tokenId, ...options }?: { tokenId?: string | number; } & Sudo & ShowExpanded): Promise>; show({ tokenId, ...options }?: { tokenId?: string | number; } & Sudo & ShowExpanded): Promise>; } interface UserSchema extends Record { id: number; name: string; username: string; state: string; avatar_url: string; web_url: string; created_at?: string; } interface ExpandedUserSchema extends UserSchema { bio?: string; location?: string; public_email: string; skype: string; linkedin: string; twitter: string; website_url: string; organization?: string; last_sign_in_at: string; confirmed_at: string; last_activity_on: string; email: string; theme_id: number; color_scheme_id: number; projects_limit: number; current_sign_in_at?: string; can_create_group: boolean; can_create_project: boolean; two_factor_enabled: boolean; external: boolean; private_profile?: string; current_sign_in_ip: string; last_sign_in_ip: string; shared_runners_minutes_limit?: number; extra_shared_runners_minutes_limit?: number; is_auditor?: boolean; using_license_seat?: boolean; identities?: { provider: string; extern_uid: string; saml_provider_id?: number; }[]; provisioned_by_group_id?: number; } interface UserActivitySchema extends Record { username: string; last_activity_on: string; last_activity_at: string; } interface UserStatusSchema extends Record { emoji: string; availability: string; message: string; message_html: string; clear_status_at: string; } interface UserPreferenceSchema extends Record { id: number; user_id: number; view_diffs_file_by_file: boolean; show_whitespace_in_diffs: boolean; } interface UserCountSchema extends Record { merge_requests: number; assigned_issues: number; assigned_merge_requests: number; review_requested_merge_requests: number; todos: number; } interface UserMembershipSchema extends Record { source_id: number; source_name: string; source_type: 'Project' | 'Namespace'; access_level: AccessLevel; } declare class Users extends BaseResource { activate(userId: number, options?: Sudo & ShowExpanded): Promise>; all(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allActivities(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allEvents(userId: number, options?: PaginationRequestOptions

& BaseRequestOptions & EventOptions): Promise[], E, void>>; allFollowers(userId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allFollowing(userId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allMemberships(userId: number, options?: { type?: 'Project' | 'Namespace'; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; allProjects(userId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allStarredProjects(userId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; approve(userId: number, options?: Sudo & ShowExpanded): Promise>; ban(userId: number, options?: Sudo & ShowExpanded): Promise>; block(userId: number, options?: Sudo & ShowExpanded): Promise>; deactivate(userId: number, options?: Sudo & ShowExpanded): Promise>; disableTwoFactor(userId: number, options?: Sudo & ShowExpanded): Promise>; follow(userId: number, options?: Sudo & ShowExpanded): Promise>; create(options?: BaseRequestOptions): Promise>; createPersonalAccessToken(userId: number, name: string, scopes: string[], options?: { expiresAt?: string; } & Sudo & ShowExpanded): Promise>; edit(userId: number, options?: BaseRequestOptions): Promise, E, undefined>>; editStatus(options?: { emoji?: string; message?: string; clearStatusAfter?: '30_minutes' | '3_hours' | '8_hours' | '1_day' | '3_days' | '7_days' | '30_days'; } & Sudo & ShowExpanded): Promise>; editCurrentUserPreferences(viewDiffsFileByFile: boolean, showWhitespaceInDiffs: boolean, options?: Sudo & ShowExpanded): Promise>; reject(userId: number, options?: Sudo & ShowExpanded): Promise>; show(userId: number, options?: Sudo & ShowExpanded): Promise>; showCounts(options?: Sudo & ShowExpanded): Promise>; showCurrentUser(options?: Sudo & ShowExpanded): Promise>; showCurrentUserPreferences(options?: Sudo & ShowExpanded): Promise>; showStatus(options?: { iDOrUsername?: string | number; } & Sudo & ShowExpanded): Promise>; remove(userId: number, options?: Sudo & ShowExpanded): Promise>; removeAuthenticationIdentity(userId: number, provider: string, options?: Sudo & ShowExpanded): Promise>; unban(userId: number, options?: Sudo & ShowExpanded): Promise>; unblock(userId: number, options?: Sudo & ShowExpanded): Promise>; unfollow(userId: number, options?: Sudo & ShowExpanded): Promise>; } interface CondensedNamespaceSchema extends Record { id: number; name: string; path: string; kind: string; full_path: string; parent_id?: number; avatar_url: string; web_url: string; } interface NamespaceSchema extends CondensedNamespaceSchema { members_count_with_descendants: number; billable_members_count: number; plan: string; trial_ends_on?: string; trial: boolean; } declare class Namespaces extends BaseResource { all(options?: { search?: string; ownedOnly?: string; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; exists(namespaceId: string | number, options?: { parentId?: string; } & Sudo & ShowExpanded): Promise>; show(namespaceId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface GroupStatisticsSchema { storage_size: number; repository_size: number; wiki_size: number; lfs_objects_size: number; job_artifacts_size: number; pipeline_artifacts_size: number; packages_size: number; snippets_size: number; uploads_size: number; } interface CondensedGroupSchema extends Record { id: number; web_url: string; name: string; } interface SimpleGroupSchema extends CondensedGroupSchema { avatar_url: string; full_name: string; full_path: string; } interface GroupSchema extends SimpleGroupSchema { path: string; description: string; visibility: string; share_with_group_lock: boolean; require_two_factor_authentication: boolean; two_factor_grace_period: number; project_creation_level: string; auto_devops_enabled?: boolean; subgroup_creation_level: string; emails_disabled?: boolean; mentions_disabled?: boolean; lfs_enabled: boolean; default_branch_protection: number; request_access_enabled: boolean; created_at: string; parent_id: number; ldap_cn?: string; ldap_access?: string; marked_for_deletion_on?: string; membership_lock?: boolean; } interface ExpandedGroupSchema extends GroupSchema { runners_token: string; file_template_project_id: number; shared_with_groups?: ExpandedProjectSchema[]; projects?: ExpandedProjectSchema[]; shared_projects?: ExpandedProjectSchema[]; } declare class Groups extends BaseResource { all(options?: { statistics: true; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; allDescendantGroups(groupId: string | number, options: { statistics: true; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; allProjects(groupId: string | number, options?: { simple: true; sharedOnly?: boolean; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; allSharedProjects(groupId: string | number, options?: { simple: true; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; allSubgroups(groupId: string | number, options?: { statistics: true; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; allProvisionedUsers(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allTransferLocations(groupId: string | number, options?: { search?: string; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; create(name: string, path: string, options?: BaseRequestOptions): Promise>; downloadAvatar(groupId: string | number, options?: Sudo & ShowExpanded): Promise>; edit(groupId: string | number, options?: BaseRequestOptions): Promise>; remove(groupId: string | number, options?: Sudo & ShowExpanded): Promise>; removeAvatar(groupId: string | number, options?: Sudo & ShowExpanded): Promise>; restore(groupId: string | number, options?: Sudo & ShowExpanded): Promise>; search(nameOrPath: string, options?: Sudo & ShowExpanded): Promise>; share(groupId: string | number, sharedGroupId: string | number, groupAccess: number, options: BaseRequestOptions): Promise>; show(groupId: string | number, options?: BaseRequestOptions): Promise>; transfer(groupId: string | number, options?: BaseRequestOptions): Promise>; transferProject(groupId: string | number, projectId: string | number, options?: BaseRequestOptions): Promise>; unshare(groupId: string | number, sharedGroupId: string | number, options: BaseRequestOptions): Promise>; uploadAvatar(groupId: string | number, content: Blob, { filename, ...options }?: { filename?: string; } & Sudo & ShowExpanded): Promise>; } interface ProjectStarrerSchema extends Record { starred_since: string; user: Omit; } interface ProjectStoragePath extends Record { project_id: string | number; disk_path: string; created_at: string; repository_storage: string; } interface ProjectStatisticsSchema { commit_count: number; storage_size: number; repository_size: number; wiki_size: number; lfs_objects_size: number; job_artifacts_size: number; pipeline_artifacts_size: number; packages_size: number; snippets_size: number; uploads_size: number; } interface CondensedProjectSchema extends Record { id: number; web_url: string; name: string; path: string; } interface SimpleProjectSchema extends CondensedProjectSchema { description?: null; name_with_namespace: string; path_with_namespace: string; created_at: string; } interface ProjectSchema extends SimpleProjectSchema { id: number; default_branch: string; ssh_url_to_repo: string; http_url_to_repo: string; web_url: string; readme_url: string; topics?: string[]; name: string; path: string; last_activity_at: string; forks_count: number; avatar_url: string; star_count: number; } interface ExpandedProjectSchema extends ProjectSchema { issues_template?: string; merge_requests_template?: string; visibility: string; owner: Pick; issues_enabled: boolean; open_issues_count: number; merge_requests_enabled: boolean; jobs_enabled: boolean; wiki_enabled: boolean; snippets_enabled: boolean; can_create_merge_request_in: boolean; resolve_outdated_diff_discussions: boolean; container_registry_enabled: boolean; container_registry_access_level: string; creator_id: number; namespace: CondensedNamespaceSchema; import_status: string; archived: boolean; shared_runners_enabled: boolean; runners_token: string; ci_default_git_depth: number; ci_forward_deployment_enabled: boolean; public_jobs: boolean; shared_with_groups?: string[]; only_allow_merge_if_pipeline_succeeds: boolean; allow_merge_on_skipped_pipeline: boolean; restrict_user_defined_variables: boolean; only_allow_merge_if_all_discussions_are_resolved: boolean; remove_source_branch_after_merge: boolean; request_access_enabled: boolean; merge_method: string; squash_option: string; autoclose_referenced_issues: boolean; suggestion_commit_message?: string; merge_commit_template?: null; squash_commit_template?: null; marked_for_deletion_on: string; approvals_before_merge: number; container_registry_image_prefix: string; _links: { self: string; issues: string; merge_requests: string; repo_branches: string; labels: string; events: string; members: string; }; } interface ProjectFileUploadSchema extends Record { alt: string; url: string; full_path: string; markdown: string; } declare class Projects extends BaseResource { all(options: { simple: true; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; all(options: { statistics: true; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; all(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allTransferLocations(projectId: string | number, options?: { search?: string; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; archive(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; create({ userId, ...options }?: ({ name: string; } | { path: string; }) & { userId?: number; } & BaseRequestOptions): Promise>; createForkRelationship(projectId: string | number, forkedFromId: string | number, options?: Sudo & ShowExpanded): Promise>; createPullMirror(projectId: string | number, url: string, mirror: boolean, options?: { onlyProtectedBranches?: boolean; } & Sudo & ShowExpanded): Promise>; downloadSnapshot(projectId: string | number, options?: { wiki?: boolean; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, options?: BaseRequestOptions): Promise>; fork(projectId: string | number, options?: BaseRequestOptions): Promise>; housekeeping(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; importProjectMembers(projectId: string | number, sourceProjectId: string | number, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; removeForkRelationship(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; removeAvatar(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; restore(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; search(projectName: string, options?: { sort?: string; orderBy?: string; } & Sudo & ShowExpanded): Promise>; share(projectId: string | number, groupId: string | number, groupAccess: number, options?: { expiresAt?: string; } & Sudo & ShowExpanded): Promise>; show(projectId: string | number, options?: { license?: boolean; statistics?: boolean; withCustomAttributes?: boolean; } & Sudo & ShowExpanded): Promise>; showForks(projectId: string | number, options: { simple: true; } & BaseRequestOptions): Promise>; showForks(projectId: string | number, options: { statistics: true; } & BaseRequestOptions): Promise>; showGroups(projectId: string | number, options?: { search?: string; skipGroups?: number[]; withShared?: boolean; sharedMinAccessLevel?: AccessLevel; sharedVisibleOnly?: boolean; } & Sudo & ShowExpanded): Promise>; showLanguages(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; showStarrers(projectId: string | number, options?: { search?: string; } & Sudo & ShowExpanded): Promise>; showStoragePaths(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; showUsers(projectId: string | number, options?: { search?: string; skipUsers?: number[]; } & Sudo & ShowExpanded): Promise[], C, E, void>>; showPullMirror(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; star(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; transfer(projectId: string | number, namespaceId: string | number, options?: Sudo & ShowExpanded): Promise, E, undefined>>; unarchive(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; unshare(projectId: string | number, groupId: string | number, options?: Sudo & ShowExpanded): Promise>; unstar(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; upload(projectId: string | number, content: Blob, { filename, ...options }?: { filename?: string; } & Sudo & ShowExpanded): Promise>; uploadAvatar(projectId: string | number, content: Blob, { filename, ...options }?: { filename?: string; } & Sudo & ShowExpanded): Promise>; } interface ClusterAgentSchema extends Record { id: number; name: string; config_project: SimpleProjectSchema; created_at: string; created_by_user_id: number; } interface ClusterAgentTokenSchema extends Record { id: number; name: string; description: string; agent_id: number; status: string; token?: string; created_at: string; created_by_user_id: number; } declare class Agents extends BaseResource { all(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; allTokens(projectId: string | number, agentId: number, options?: Sudo & ShowExpanded): Promise>; createToken(projectId: string | number, agentId: number, name: string, options?: { description?: string; } & Sudo & ShowExpanded): Promise>; show(projectId: string | number, agentId: number, options?: Sudo & ShowExpanded): Promise>; showToken(projectId: string | number, agentId: number, tokenId: number, options?: Sudo & ShowExpanded): Promise>; register(projectId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; removeToken(projectId: string | number, agentId: number, tokenId: number, options?: Sudo & ShowExpanded): Promise>; deregister(projectId: string | number, agentId: number, options?: Sudo & ShowExpanded): Promise>; } interface ApplicationAppearanceSchema extends Record { title: string; description: string; logo: string; header_logo: string; favicon: string; new_project_guidelines: string; profile_image_guidelines: string; header_message: string; footer_message: string; message_background_color: string; message_font_color: string; email_header_and_footer_enabled: boolean; } declare class ApplicationAppearance extends BaseResource { show(options?: Sudo & ShowExpanded): Promise>; edit(options?: BaseRequestOptions): Promise>; } interface ApplicationPlanLimitSchema extends Record { conan_max_file_size: number; generic_packages_max_file_size: number; helm_max_file_size: number; maven_max_file_size: number; npm_max_file_size: number; nuget_max_file_size: number; pypi_max_file_size: number; terraform_module_max_file_size: number; } type ApplicationPlanLimitOptions = Partial>; declare class ApplicationPlanLimits extends BaseResource { show(options?: { planName?: string; } & Sudo & ShowExpanded): Promise>; edit(planName: string, options?: ApplicationPlanLimitOptions & Sudo & ShowExpanded): Promise>; } interface ApplicationSchema extends Record { id: number; application_id: string; application_name: string; secret: string; callback_url: string; confidential: boolean; } declare class Applications extends BaseResource { all(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(name: string, redirectUri: string, scopes: string, options?: BaseRequestOptions): Promise>; remove(applicationId: number, options?: BaseRequestOptions): Promise>; } interface ApplicationSettingsSchema extends Record { default_projects_limit: number; signup_enabled: boolean; id: number; default_branch_protection: number; restricted_visibility_levels?: string[]; password_authentication_enabled_for_web: boolean; after_sign_out_path?: string; max_attachment_size: number; max_import_size: number; user_oauth_applications: boolean; updated_at: string; session_expire_delay: number; home_page_url?: string; default_snippet_visibility: string; outbound_local_requests_whitelist?: string[]; domain_allowlist?: string[]; domain_denylist_enabled: boolean; domain_denylist?: string[]; created_at: string; default_ci_config_path?: string; default_project_visibility: string; default_group_visibility: string; gravatar_enabled: boolean; sign_in_text?: string; container_expiration_policies_enable_historic_entries: boolean; container_registry_token_expire_delay: number; repository_storages_weighted: { [name: string]: number; }; plantuml_enabled: boolean; plantuml_url?: string; kroki_enabled: boolean; kroki_url?: string; terminal_max_session_time: number; polling_interval_multiplier: number; rsa_key_restriction: number; dsa_key_restriction: number; ecdsa_key_restriction: number; ed25519_key_restriction: number; first_day_of_week: number; enforce_terms: boolean; terms: string; performance_bar_allowed_group_id: number; user_show_add_ssh_key_message: boolean; local_markdown_version: number; allow_local_requests_from_hooks_and_services: boolean; allow_local_requests_from_web_hooks_and_services: boolean; allow_local_requests_from_system_hooks: boolean; asset_proxy_enabled: boolean; asset_proxy_url: string; asset_proxy_whitelist?: string[]; asset_proxy_allowlist?: string[]; npm_package_requests_forwarding: boolean; snippet_size_limit: number; issues_create_limit: number; raw_blob_request_limit: number; wiki_page_max_content_bytes: number; require_admin_approval_after_user_signup: boolean; personal_access_token_prefix: string; rate_limiting_response_text?: string; keep_latest_artifact: boolean; } declare class ApplicationSettings extends BaseResource { show(options?: Sudo & ShowExpanded): Promise>; edit(options?: BaseRequestOptions): Promise>; } interface ApplicationStatisticSchema extends Record { forks: string; issues: string; merge_requests: string; notes: string; snippets: string; ssh_keys: string; milestones: string; users: string; groups: string; projects: string; active_users: string; } declare class ApplicationStatistics extends BaseResource { show(options?: Sudo & ShowExpanded): Promise>; } interface AuditEventSchema extends Record { id: number; author_id: number; entity_id: number; entity_type: string; details: { custom_message: string; author_name: string; target_id: string; target_type: string; target_details: string; ip_address: string; entity_path: string; }; created_at: string; } declare class AuditEvents extends BaseResource { all(options: EitherOrNone<{ projectId?: string | number; }, { groupId?: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; show(auditEventId: number, options?: EitherOrNone<{ projectId?: string | number; }, { groupId?: string | number; }> & Sudo & ShowExpanded): Promise>; } interface AvatarSchema extends Record { avatar_url: string; } declare class Avatar extends BaseResource { show(email: string, options?: BaseRequestOptions): Promise>; } interface BroadcastMessageSchema extends Record { message: string; starts_at: string; ends_at: string; color: string; font: string; id: number; active: boolean; target_path: string; broadcast_type: string; dismissable: boolean; } type BroadcastMessageOptions = Camelize>; declare class BroadcastMessages extends BaseResource { all(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(options?: BroadcastMessageOptions & Sudo & ShowExpanded): Promise>; edit(broadcastMessageId: number, options?: BroadcastMessageOptions & Sudo & ShowExpanded): Promise>; remove(broadcastMessageId: number, options?: Sudo & ShowExpanded): Promise>; show(broadcastMessageId: number, options?: BaseRequestOptions): Promise>; } interface ComposerV1BaseRepositorySchema extends Record { packages?: string[]; 'metadata-url': string; 'provider-includes': Record>; 'providers-url': string; } interface ComposerV2BaseRepositorySchema extends Record { packages?: string[]; 'metadata-url': string; } interface ComposerV1PackagesSchema extends Record { providers: { [name: string]: { sha256: string; }; }; } interface PackageMetadata { name: string; type: string; license: string; version: string; dist: { type: string; url: string; reference: string; shasum: string; }; source: { type: string; url: string; reference: string; }; uid: number; } interface ComposerPackageMetadataSchema extends Record { packages: { [name: string]: { [version: string]: PackageMetadata; }; }; } declare class Composer extends BaseResource { create(projectId: string | number, options?: { tag?: string; branch?: string; } & ShowExpanded): Promise>; download(projectId: string | number, packageName: string, sha: string, options?: ShowExpanded): Promise>; showMetadata(groupId: string | number, packageName: string, options?: { sha?: string; } & ShowExpanded): Promise>; showPackages(groupId: string | number, sha: string, options?: ShowExpanded): Promise>; showBaseRepository(groupId: string | number, options?: { composerVersion: '1'; } & ShowExpanded): Promise>; showBaseRepository(groupId: string | number, options?: { composerVersion: '2'; } & ShowExpanded): Promise>; } interface PackageSnapshotSchema extends Record { 'conan_package.tgz': string; 'conanfile.py': string; 'conanmanifest.txt': string; } interface RecipeSnapshotSchema extends Record { 'conan_sources.tgz': string; 'conanfile.py': string; 'conanmanifest.txt': string; } declare class Conan extends BaseResource { authenticate(options?: { projectId?: string | number; } & ShowExpanded): Promise>; checkCredentials(options?: { projectId?: string | number; } & ShowExpanded): Promise>; downloadPackageFile(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, conanPackageReference: string, recipeRevision: string, packageRevision: string, filename: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; downloadRecipeFile(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, recipeRevision: string, filename: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; showPackageUploadUrls(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, conanPackageReference: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; showPackageDownloadUrls(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, conanPackageReference: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; showPackageManifest(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, conanPackageReference: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; showPackageSnapshot(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, conanPackageReference: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; ping(options?: { projectId?: string | number; } & ShowExpanded): Promise>; recipeUploadUrls(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; showRecipeDownloadUrls(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; showRecipeManifest(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; showRecipeSnapshot(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; removePackageFile(packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; search(options?: { projectId?: string | number; } & ShowExpanded): Promise>; uploadPackageFile(content: Blob, packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, conanPackageReference: string, recipeRevision: string, packageRevision: string, filename: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; uploadRecipeFile(content: Blob, packageName: string, packageVersion: string, packageUsername: string, packageChannel: string, recipeRevision: string, filename: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; } interface DashboardAnnotationSchema extends Record { id: number; starting_at: string; ending_at?: null; dashboard_path: string; description: string; environment_id: number; cluster_id?: null; } declare class DashboardAnnotations extends BaseResource { create(dashboardPath: string, startingAt: string, description: string, { environmentId, clusterId, ...options }: Either<{ environmentId: number; }, { clusterId: number; }> & { endingAt?: string; } & Sudo & ShowExpanded): Promise>; } declare class Debian extends BaseResource { downloadBinaryFileIndex(distribution: string, component: string, architecture: string, { projectId, groupId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & ShowExpanded): Promise>; downloadDistributionReleaseFile(distribution: string, { projectId, groupId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & ShowExpanded): Promise>; downloadSignedDistributionReleaseFile(distribution: string, { projectId, groupId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & ShowExpanded): Promise>; downloadReleaseFileSignature(distribution: string, { projectId, groupId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & ShowExpanded): Promise>; downloadPackageFile(projectId: string | number, distribution: string, letter: string, packageName: string, packageVersion: string, filename: string, options?: ShowExpanded): Promise>; uploadPackageFile(projectId: string | number, content: Blob, filename: string, options?: ShowExpanded): Promise>; } declare class DependencyProxy extends BaseResource { remove(groupId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface DeployKeySchema extends Record { id: number; title: string; key: string; can_push?: boolean; created_at: string; } type CondensedDeployKeySchema = Omit; interface ExpandedDeployKeySchema extends CondensedDeployKeySchema { fingerprint: string; projects_with_write_access?: SimpleProjectSchema[]; } declare class DeployKeys extends BaseResource { all({ projectId, ...options }?: { projectId?: string | number; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, title: string, key: string, options?: { canPush?: boolean; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, keyId: number, options?: BaseRequestOptions): Promise>; enable(projectId: string | number, keyId: number, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, keyId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, keyId: number, options?: Sudo & ShowExpanded): Promise>; } type DeployTokenScope = 'read_repository' | 'read_registry' | 'write_registry' | 'read_package_registry' | 'write_package_registry'; interface DeployTokenSchema extends Record { id: number; name: string; username: string; expires_at: string; revoked: boolean; expired: boolean; scopes?: DeployTokenScope[]; } declare class DeployTokens extends BaseResource { all({ projectId, groupId, ...options }?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & PaginationRequestOptions

& BaseRequestOptions): Promise>; create(name: string, scopes: string[], { projectId, groupId, ...options }?: Either<{ projectId: string | number; }, { groupId: string | number; }> & Sudo & ShowExpanded): Promise>; remove(tokenId: number, { projectId, groupId, ...options }?: Either<{ projectId: string | number; }, { groupId: string | number; }> & Sudo & ShowExpanded): Promise>; } declare class ResourceNoteAwardEmojis extends BaseResource { protected resourceType: string; constructor(resourceType: string, options: BaseResourceOptions); all(projectId: string | number, resourceIId: number, noteId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; award(projectId: string | number, resourceIId: number, noteId: number, name: string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, resourceIId: number, noteId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, resourceIId: number, noteId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; } declare class DockerfileTemplates extends ResourceTemplates { constructor(options: BaseResourceOptions); } interface ExperimentGateSchema { key: string; value: boolean | number; } interface ExperimentSchema extends Record { key: string; definition: { name: string; introduced_by_url: string; rollout_issue_url: string; milestone: string; type: string; group: string; default_enabled: boolean; }; current_status: { state: string; gates?: ExperimentGateSchema[]; }; } declare class Experiments extends BaseResource { all(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; } interface GeoNodeSchema extends Record { id: number; name: string; url: string; internal_url: string; primary: boolean; enabled: boolean; current: boolean; files_max_capacity: number; repos_max_capacity: number; verification_max_capacity: number; selective_sync_type: string; selective_sync_shards?: string[]; selective_sync_namespace_ids?: number[]; minimum_reverification_interval: number; container_repositories_max_capacity: number; sync_object_storage: boolean; clone_protocol: string; web_edit_url: string; web_geo_projects_url: string; _links: { self: string; status: string; repair: string; }; } interface GeoNodeFailureSchema extends Record { project_id: number; last_repository_synced_at: string; last_repository_successful_sync_at: string; last_wiki_synced_at: string; last_wiki_successful_sync_at: string; repository_retry_count?: number; wiki_retry_count: number; last_repository_sync_failure?: string; last_wiki_sync_failure: string; last_repository_verification_failure: string; last_wiki_verification_failure: string; repository_verification_checksum_sha: string; wiki_verification_checksum_sha: string; repository_checksum_mismatch: boolean; wiki_checksum_mismatch: boolean; } interface GeoNodeStatusSchema extends Record { geo_node_id: number; healthy: boolean; health: string; health_status: string; missing_oauth_application: boolean; attachments_count: number; attachments_synced_count?: number; attachments_failed_count?: number; attachments_synced_missing_on_primary_count: number; attachments_synced_in_percentage: string; db_replication_lag_seconds?: number; lfs_objects_count: number; lfs_objects_synced_count?: number; lfs_objects_failed_count?: number; lfs_objects_synced_missing_on_primary_count: number; lfs_objects_synced_in_percentage: string; job_artifacts_count: number; job_artifacts_synced_count?: number; job_artifacts_failed_count?: number; job_artifacts_synced_missing_on_primary_count: number; job_artifacts_synced_in_percentage: string; container_repositories_count: number; container_repositories_synced_count?: number; container_repositories_failed_count?: number; container_repositories_synced_in_percentage: string; design_repositories_count: number; design_repositories_synced_count?: number; design_repositories_failed_count?: number; design_repositories_synced_in_percentage: string; projects_count: number; repositories_count: number; repositories_failed_count?: number; repositories_synced_count?: number; repositories_synced_in_percentage: string; wikis_count: number; wikis_failed_count?: number; wikis_synced_count?: number; wikis_synced_in_percentage: string; replication_slots_count: number; replication_slots_used_count: number; replication_slots_used_in_percentage: string; replication_slots_max_retained_wal_bytes: number; repositories_checked_count: number; repositories_checked_failed_count: number; repositories_checked_in_percentage: string; repositories_checksummed_count: number; repositories_checksum_failed_count: number; repositories_checksummed_in_percentage: string; wikis_checksummed_count: number; wikis_checksum_failed_count: number; wikis_checksummed_in_percentage: string; repositories_verified_count: number; repositories_verification_failed_count: number; repositories_verified_in_percentage: string; repositories_checksum_mismatch_count: number; wikis_verified_count: number; wikis_verification_failed_count: number; wikis_verified_in_percentage: string; wikis_checksum_mismatch_count: number; repositories_retrying_verification_count: number; wikis_retrying_verification_count: number; last_event_id: number; last_event_timestamp: number; cursor_last_event_id?: number; cursor_last_event_timestamp: number; last_successful_status_check_timestamp: number; version: string; revision: string; package_files_count: number; package_files_checksummed_count: number; package_files_checksum_failed_count: number; package_files_registry_count: number; package_files_synced_count: number; package_files_failed_count: number; snippet_repositories_count: number; snippet_repositories_checksummed_count: number; snippet_repositories_checksum_failed_count: number; snippet_repositories_registry_count: number; snippet_repositories_synced_count: number; snippet_repositories_failed_count: number; group_wiki_repositories_checksummed_count: number; group_wiki_repositories_checksum_failed_count: number; group_wiki_repositories_registry_count: number; group_wiki_repositories_synced_count: number; group_wiki_repositories_failed_count: number; } declare class GeoNodes extends BaseResource { all(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allStatuses(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allFailures(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(name: string, options?: BaseRequestOptions): Promise>; edit(geonodeId: number, name: string, url: string, options?: BaseRequestOptions): Promise>; repair(geonodeId: number, options?: Sudo & ShowExpanded): Promise>; remove(geonodeId: number, options?: Sudo & ShowExpanded): Promise>; show(geonodeId: number, options?: Sudo & ShowExpanded): Promise>; showStatus(geonodeId: number, options?: Sudo & ShowExpanded): Promise>; } declare class GitignoreTemplates extends ResourceTemplates { constructor(options: BaseResourceOptions); } declare class GitLabCIYMLTemplates extends ResourceTemplates { constructor(options: BaseResourceOptions); } interface RepositoryImportStatusSchema extends Record { id: number; name: string; full_path: string; full_name: string; } declare class Import extends BaseResource { importGithubRepository(personalAccessToken: string, repositoryId: number, targetNamespace: string, options?: BaseRequestOptions): Promise>; cancelGithubRepositoryImport(projectId: number, options?: Sudo & ShowExpanded): Promise>; importBitbucketServerRepository(bitbucketServerUrl: string, bitbucketServerUsername: string, personalAccessToken: string, bitbucketServerProject: string, bitbucketServerRepository: string, options?: BaseRequestOptions): Promise>; } interface CICDVariableSchema extends Record { key: string; variable_type: string; value: string; protected: boolean; masked: boolean; } declare class InstanceLevelCICDVariables extends BaseResource { all(options?: Sudo & ShowExpanded): Promise>; create(key: string, value: string, options?: BaseRequestOptions): Promise>; edit(keyId: string, value: string, options?: BaseRequestOptions): Promise>; show(keyId: string, options?: Sudo & ShowExpanded): Promise>; remove(keyId: string, options?: Sudo & ShowExpanded): Promise>; } interface KeySchema extends Record { id: number; title: string; key: string; created_at: string; expires_at: string; user: ExpandedUserSchema; } declare class Keys extends BaseResource { show({ keyId, fingerprint, ...options }: Either<{ keyId: number; }, { fingerprint: string; }> & Sudo & ShowExpanded): Promise>; } interface LicenseSchema extends Record { id: number; plan: string; created_at: string; starts_at: string; expires_at: string; historical_max: number; maximum_user_count: number; expired: boolean; overage: number; user_limit: number; active_users: number; licensee: { Name: string; }; add_ons: { GitLab_FileLocks: number; GitLab_Auditor_User: number; }; } declare class License extends BaseResource { add(license: string, options?: Sudo & ShowExpanded): Promise>; all(options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(options?: Sudo & ShowExpanded): Promise>; remove(licenceId: number, options?: Sudo & ShowExpanded): Promise>; } interface LicenseTemplateSchema extends Record { key: string; name: string; nickname?: string; featured: boolean; html_url: string; source_url: string; description: string; conditions?: string[]; permissions?: string[]; limitations?: string[]; content: string; } interface LicenseTemplates extends ResourceTemplates { all(options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; show(key: string | number, options?: Sudo): Promise>; } declare class LicenseTemplates extends ResourceTemplates { constructor(options: BaseResourceOptions); } interface LintSchema extends Record { status: string; errors?: string[]; warnings?: string[]; merged_yaml?: string; } interface ContextualLintSchema extends Omit { valid: boolean; } declare class Lint extends BaseResource { check(projectId: string | number, options: BaseRequestOptions): Promise>; lint(content: string, options?: BaseRequestOptions): Promise>; lint(content: string, options?: { projectId: string | number; } & BaseRequestOptions): Promise>; } interface ManagedLicenseSchema extends Record { id: number; name: string; approval_status: 'approved' | 'blacklisted'; } declare class ManagedLicenses extends BaseResource { all(projectId: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, name: string, approvalStatus: 'approved' | 'blacklisted', options?: Sudo & ShowExpanded): Promise>; edit(projectId: string | number, managedLicenceId: number, approvalStatus: 'approved' | 'blacklisted', options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, managedLicenceId: number, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, managedLicenceId: number, options?: Sudo & ShowExpanded): Promise>; } interface MarkdownSchema extends Record { html: string; } declare class Markdown extends BaseResource { render(text: string, options?: { gfm?: string; project?: string | number; } & Sudo & ShowExpanded): Promise>; } declare class Maven extends BaseResource { downloadPackageFile(path: string, filename: string, { projectId, groupId, ...options }: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & ShowExpanded): Promise>; uploadPackageFile(projectId: string | number, content: Blob, path: string, filename: string, options?: ShowExpanded): Promise>; } interface MetadataSchema extends Record { version: string; revision: string; kas: { enabled: boolean; externalUrl: string; version: string; }; enterprise: boolean; } declare class Metadata extends BaseResource { show(options?: Sudo & ShowExpanded): Promise>; } interface MigrationEntityOptions { sourceFullPath: string; sourceType: string; destinationName: string; destinationNamespace: string; destinationNamespacePace?: string; } interface MigrationEntityFailure { pipeline_class: string; pipeline_step: string; exception_class: string; correlation_id_value: string; created_at: string; } interface MigrationEntitySchema extends Record { id: number; bulk_import_id: number; status: string; source_full_path: string; destination_name: string; destination_namespace: string; parent_id?: number; namespace_id: number; project_id?: string | number; created_at: string; updated_at: string; failures?: MigrationEntityFailure[]; } interface MigrationStatusSchema extends Record { id: number; status: string; source_type: string; created_at: string; updated_at: string; } declare class Migrations extends BaseResource { all(options?: { status?: 'created' | 'started' | 'finished' | 'finished'; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; create(configuration: { url: string; access_token: string; }, entities: MigrationEntityOptions[], options?: Sudo & ShowExpanded): Promise>; allEntities({ bulkImportId, ...options }?: { status?: 'created' | 'started' | 'finished' | 'finished'; bulkImportId?: number; } & PaginationRequestOptions<'offset'> & BaseRequestOptions): Promise>; show(bulkImportId: number, options?: Sudo & ShowExpanded): Promise>; showEntity(bulkImportId: number, entitityId: number, options?: Sudo & ShowExpanded): Promise>; } type NotificationSettingLevel = 'disabled' | 'participating' | 'watch' | 'global' | 'mention' | 'custom'; type CustomSettingLevelEmailEvents = 'new_note' | 'new_issue' | 'reopen_issue' | 'close_issue' | 'reassign_issue' | 'issue_due' | 'new_merge_request' | 'push_to_merge_request' | 'reopen_merge_request' | 'close_merge_request' | 'reassign_merge_request' | 'merge_merge_request' | 'failed_pipeline' | 'fixed_pipeline' | 'success_pipeline' | 'moved_project' | 'merge_when_pipeline_succeeds' | 'new_epic '; interface NotificationSettingSchema extends Record { level: NotificationSettingLevel; notification_email: string; } declare class NotificationSettings extends BaseResource { edit({ groupId, projectId, ...options }?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions): Promise>; show({ groupId, projectId, ...options }?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & Sudo & ShowExpanded): Promise>; } interface NPMVersionSchema { name: string; version: string; dist: { shasum: string; tarball: string; }; } interface NPMPackageMetadataSchema extends Record { name: string; versions: { [version: string]: NPMVersionSchema; }; 'dist-tags': { [tag: string]: string; }; } declare class NPM extends BaseResource { downloadPackageFile(projectId: string | number, packageName: string, filename: string, options?: ShowExpanded): Promise>; removeDistTag(packageName: string, tag: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; setDistTag(packageName: string, tag: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; showDistTags(packageName: string, options?: { projectId?: string | number; } & ShowExpanded): Promise, C, E, void>>; showMetadata(packageName: string, options?: { projectId?: string | number; } & ShowExpanded): Promise>; uploadPackageFile(projectId: string | number, packageName: string, versions: string, options?: ShowExpanded): Promise, C, E, void>>; } interface NuGetPackageIndexSchema extends Record { versions: string[]; } interface NuGetResourceSchema extends Record { '@id': string; '@type': string; comment: string; } interface NuGetServiceIndexSchema extends Record { version: string; resources: NuGetResourceSchema[]; } interface NuGetServiceMetadataVersionSchema extends Record { '@id': string; packageContent: string; catalogEntry: { '@id': string; authors: string; dependencyGroups: unknown[]; id: string; version: string; tags: string; packageContent: string; summary: string; }; } interface NuGetServiceMetadataItemSchema extends Record { '@id': string; lower: string; upper: string; count: number; items: NuGetServiceMetadataVersionSchema; } interface NuGetServiceMetadataSchema extends Record { count: number; items: NuGetServiceMetadataItemSchema[]; resources: NuGetResourceSchema[]; } interface NuGetSearchResultSchema extends Record { '@type': string; authors: string; id: string; title: string; version: string; verified: boolean; summary: string; totalDownloads: number; versions: { '@id': string; version: string; download: number; }[]; } interface NuGetSearchResultsSchema extends Record { totalHits: number; data: NuGetSearchResultSchema[]; } declare class NuGet extends BaseResource { downloadPackageFile(projectId: string | number, packageName: string, packageVersion: string, filename: string, options?: ShowExpanded): Promise>; search(q: string, { projectId, groupId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & { skip?: number; take?: number; prerelease?: boolean; } & ShowExpanded): Promise>; showMetadata(packageName: string, { projectId, groupId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & ShowExpanded): Promise>; showPackageIndex(projectId: string | number, packageName: string, options?: ShowExpanded): Promise>; showServiceIndex({ projectId, groupId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & ShowExpanded): Promise>; showVersionMetadata(packageName: string, packageVersion: string, { projectId, groupId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & ShowExpanded): Promise>; uploadPackageFile(projectId: string | number, packageName: string, packageVersion: string, content: Blob, filename: string, options?: ShowExpanded): Promise>; uploadSymbolPackage(projectId: string | number, packageName: string, packageVersion: string, content: Blob, filename: string, options?: ShowExpanded): Promise>; } declare class PyPI extends BaseResource { downloadPackageFile(sha: string, fileIdentifier: string, { projectId, groupId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & ShowExpanded): Promise>; showPackageDescriptor(packageName: string, { projectId, groupId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & ShowExpanded): Promise>; uploadPackageFile(projectId: string | number, content: Blob, filename: string, options?: ShowExpanded): Promise>; } type SnippetVisibility = 'private' | 'public' | 'internal'; interface SimpleSnippetSchema extends Record { id: number; title: string; file_name: string; description?: string; author: Omit; updated_at: string; created_at: string; project_id?: string | number; web_url: string; } interface SnippetSchema extends SimpleSnippetSchema { visibility: SnippetVisibility; raw_url: string; } interface ExpandedSnippetSchema extends SnippetSchema { expires_at?: string; ssh_url_to_repo: string; http_url_to_repo: string; files?: { path: string; raw_url: string; }[]; } declare class Snippets extends BaseResource { all({ public: ppublic, ...options }?: { public?: boolean; } & Sudo & ShowExpanded): Promise>; create(title: string, options?: BaseRequestOptions): Promise, E, undefined>>; edit(snippetId: number, options?: BaseRequestOptions): Promise, E, undefined>>; remove(snippetId: number, options?: Sudo & ShowExpanded): Promise>; show(snippetId: number, options?: Sudo & ShowExpanded): Promise>; showContent(snippetId: number, options?: Sudo & ShowExpanded): Promise>; showRepositoryFileContent(snippetId: number, ref: string, filePath: string, options?: Sudo & ShowExpanded): Promise>; showUserAgentDetails(snippetId: number, options?: Sudo & ShowExpanded): Promise, E, undefined>>; } interface BlobSchema extends Record { id: number; basename: string; data: string; path: string; filename: string; ref: string; startline: number; project_id: number; } type SearchScopes = 'projects' | 'issues' | 'merge_requests' | 'milestones' | 'snippet_titles' | 'wiki_blobs' | 'commits' | 'blobs' | 'notes' | 'users'; declare class Search extends BaseResource { all(scope: 'users', search: string, options?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; all(scope: 'notes', search: string, options?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; all(scope: 'blobs', search: string, options?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; all(scope: 'commits', search: string, options?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; all(scope: 'wiki_blobs', search: string, options?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; all(scope: 'snippet_titles', search: string, options?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; all(scope: 'milestones', search: string, options?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; all(scope: 'merge_requests', search: string, options?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; all(scope: 'issues', search: string, options?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; all(scope: 'projects', search: string, options?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; } declare class ServiceData extends BaseResource { showMetricDefinitions(options?: Sudo & ShowExpanded): Promise>; showServicePingSQLQueries(options?: Sudo & ShowExpanded): Promise, C, E, void>>; showUsageDataNonSQLMetrics(options?: Sudo & ShowExpanded): Promise, C, E, void>>; } interface ProcessMetricSchema { hostname: string; pid: number; tag: string; started_at: string; queues?: string[]; labels?: string[]; concurrency: number; busy: number; } interface SidekickProcessMetricsSchema extends Record { processes?: ProcessMetricSchema[]; } interface SidekickQueueMetricsSchema extends Record { queues: { default: { backlog: number; latency: number; }; }; } interface SidekickJobStatsSchema extends Record { jobs: { processed: number; failed: number; enqueued: number; dead: number; }; } type SidekickCompoundMetricsSchema = SidekickJobStatsSchema & SidekickQueueMetricsSchema & SidekickProcessMetricsSchema; declare class SidekiqMetrics extends BaseResource { queueMetrics(): Promise>; processMetrics(): Promise>; jobStats(): Promise>; compoundMetrics(): Promise>; } interface SidekiqQueueStatus extends Record { completed: boolean; deleted_jobs: number; queue_size: number; } declare class SidekiqQueues extends BaseResource { remove(queueName: string, options?: BaseRequestOptions): Promise>; } interface SnippetRepositoryStorageMoveSchema extends RepositoryStorageMoveSchema { snippet: Pick; } interface SnippetRepositoryStorageMoves extends ResourceRepositoryStorageMoves { all(options?: { snippetId?: string | number; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; show(repositoryStorageId: number, options?: { snippetId?: string | number; } & Sudo & ShowExpanded): Promise>; schedule(sourceStorageName: string, options?: { snippetId?: string | number; } & Sudo & ShowExpanded): Promise>; } declare class SnippetRepositoryStorageMoves extends ResourceRepositoryStorageMoves { constructor(options: BaseResourceOptions); } interface SuggestionSchema extends Record { id: number; from_line: number; to_line: number; appliable: boolean; applied: boolean; from_content: string; to_content: string; } declare class Suggestions extends BaseResource { edit(suggestionId: number, options?: { commitMessage?: string; } & Sudo & ShowExpanded): Promise>; } interface SystemHookTestResponse extends Record { project_id: number; owner_email: string; owner_name: string; name: string; path: string; event_name: string; } declare class SystemHooks extends BaseResource { add(url: string, options?: BaseRequestOptions): Promise>; all(options?: Sudo & ShowExpanded): Promise>; create(url: string, options?: BaseRequestOptions): Promise>; test(hookId: number, options?: Sudo & ShowExpanded): Promise>; remove(hookId: number, options?: Sudo & ShowExpanded): Promise>; show(hookId: number, options?: Sudo & ShowExpanded): Promise>; } interface TopicSchema extends Record { id: number; name: string; description: string; total_projects_count: number; avatar_url: string; } declare class Topics extends BaseResource { all(options?: { search?: string; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; create(name: string, { avatar, ...options }?: { avatar?: { content: Blob; filename: string; }; description?: string; } & Sudo & ShowExpanded): Promise>; edit(topicId: number, { avatar, ...options }?: { name?: string; avatar?: { content: Blob; filename: string; }; description?: string; } & Sudo & ShowExpanded): Promise>; merge(sourceTopicId: number, targetTopicId: number, options?: Sudo & ShowExpanded): Promise>; remove(topicId: number, options?: Sudo & ShowExpanded): Promise>; show(topicId: number, options?: Sudo & ShowExpanded): Promise>; } interface VersionSchema extends Record { version: string; revision: string; } declare class Version extends BaseResource { show(options?: Sudo & ShowExpanded): Promise>; } interface VulnerabilitySchema extends Record { id: number; title: string; description?: string; state: string; severity: string; confidence: string; report_type: string; project: SimpleProjectSchema; author_id: number; updated_by_id?: number; last_edited_by_id?: number; closed_by_id?: number; start_date?: string; due_date?: string; created_at: string; updated_at: string; last_edited_at?: string; closed_at?: string; } declare class Vulnerabilities extends BaseResource { confirm(vulnerabilityId: string | number, options?: Sudo & ShowExpanded): Promise>; dismiss(vulnerabilityId: string | number, options?: Sudo & ShowExpanded): Promise>; revert(vulnerabilityId: string | number, options?: Sudo & ShowExpanded): Promise>; resolve(vulnerabilityId: string | number, options?: Sudo & ShowExpanded): Promise>; show(vulnerabilityId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface BranchSchema extends Record { name: string; merged: boolean; protected: boolean; default: boolean; developers_can_push: boolean; developers_can_merge: boolean; can_push: boolean; web_url: string; commit: Omit; } declare class Branches extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, branchName: string, ref: string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, branchName: string, options?: Sudo & ShowExpanded): Promise>; removeMerged(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, branchName: string, options?: Sudo & ShowExpanded): Promise>; } interface CommitDiscussions extends ResourceDiscussions { addNote(projectId: string | number, commitId: number, discussionId: string, noteId: number, body: string, options?: BaseRequestOptions): Promise>; all(projectId: string | number, commitId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, commitId: number, body: string, options: { position?: DiscussionNotePositionSchema; } & BaseRequestOptions): Promise>; editNote(projectId: string | number, commitId: number, discussionId: string, noteId: number, options?: BaseRequestOptions & { body?: string; }): Promise>; removeNote(projectId: string | number, commitId: number, discussionId: string, noteId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, commitId: number, discussionId: string, options?: Sudo & ShowExpanded): Promise>; } declare class CommitDiscussions extends ResourceDiscussions { constructor(options: BaseResourceOptions); } interface RegistryRepositoryTagSchema extends Record { name: string; path: string; location: string; revision: string; short_revision: string; digest: string; created_at: string; total_size: number; } type CondensedRegistryRepositoryTagSchema = Pick; interface RegistryRepositorySchema extends Record { id: number; name: string; path: string; project_id: number; location: string; created_at: string; cleanup_policy_started_at: string; tags_count?: number; tags?: Pick[]; } type CondensedRegistryRepositorySchema = Omit; declare class ContainerRegistry extends BaseResource { allRepositories({ groupId, projectId, ...options }: Either<{ projectId: string | number; }, { groupId: string | number; }> & PaginationRequestOptions

& BaseRequestOptions): Promise>; allTags(projectId: string | number, repositoryId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; editRegistryVisibility(projectId: string | number, options?: { containerRegistryAccessLevel: 'enabled' | 'private' | 'disabled'; } & Sudo & ShowExpanded): Promise, E, undefined>>; removeRepository(projectId: string | number, repositoryId: number, options?: Sudo & ShowExpanded): Promise>; removeTag(projectId: string | number, repositoryId: number, tagName: string, options?: Sudo & ShowExpanded): Promise>; removeTags(projectId: string | number, repositoryId: number, nameRegexDelete: string, options?: Sudo & { nameRegexKeep: string; keepN: string; olderThan: string; } & ShowExpanded): Promise>; showRepository(repositoryId: number, options?: Sudo & ShowExpanded): Promise>; showTag(projectId: string | number, repositoryId: number, tagName: string, options?: Sudo & ShowExpanded): Promise>; } type JobScope = 'created' | 'pending' | 'running' | 'failed' | 'success' | 'canceled' | 'skipped' | 'manual'; interface ArtifactSchema extends Record { file_type: string; size: number; filename: string; file_format?: string; } interface CondensedJobSchema extends Record { id: number; name: string; stage: string; project_id: string | number; project_name: string; } interface JobSchema extends Record { id: number; name: string; stage: string; status: string; ref: string; tag: boolean; coverage?: string; allow_failure: boolean; created_at: string; started_at?: string; finished_at?: string; erased_at?: string; duration?: number; user: ExpandedUserSchema; commit: CondensedCommitSchema; pipeline: PipelineSchema; web_url: string; artifacts: ArtifactSchema[]; queued_duration: number; artifacts_file: { filename: string; size: number; }; runner: RunnerSchema; artifacts_expire_at?: string; tag_list?: string[]; } interface BridgeSchema extends Record { commit: CondensedCommitSchema; coverage?: string; allow_failure: boolean; created_at: string; started_at: string; finished_at: string; erased_at?: string; duration: number; queued_duration: number; id: number; name: string; pipeline: Omit; ref: string; stage: string; status: string; tag: boolean; web_url: string; user: ExpandedUserSchema; downstream_pipeline: Omit; } interface AllowedAgentSchema extends Record { id: number; config_project: Omit; } interface JobKubernetesAgentsSchema extends Record { allowed_agents: AllowedAgentSchema[]; job: CondensedJobSchema; pipeline: PipelineSchema; project: Omit; user: UserSchema; } interface JobVariableAttributeOption extends Record { key: string; value: string; } declare class Jobs extends BaseResource { all(projectId: string | number, { pipelineId, ...options }?: { pipelineId?: number; scope?: JobScope; includeRetried?: boolean; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; allPipelineBridges(projectId: string | number, pipelineId: number, options?: { scope?: JobScope; } & Sudo & ShowExpanded): Promise>; cancel(projectId: string | number, jobId: number, options?: Sudo & ShowExpanded): Promise>; downloadTraceFile(projectId: string | number, jobId: number, options?: Sudo & ShowExpanded): Promise>; erase(projectId: string | number, jobId: number, options?: Sudo & ShowExpanded): Promise>; play(projectId: string | number, jobId: number, options?: { jobVariablesAttributes: JobVariableAttributeOption[]; } & Sudo & ShowExpanded): Promise>; retry(projectId: string | number, jobId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, jobId: number, options?: Sudo & ShowExpanded): Promise>; showConnectedJob(options?: Sudo & ShowExpanded): Promise>; showConnectedJobK8Agents(options?: Sudo & ShowExpanded): Promise>; } interface RunnerToken extends Record { id: number; token: string; token_expires_at: string; } interface RunnerSchema extends Record { id: number; paused: boolean; description: string; ip_address: string; is_shared: boolean; runner_type: 'instance_type' | 'group_type' | 'project_type'; name: string; online: boolean; status: 'online' | 'offline'; } interface ExpandedRunnerSchema extends RunnerSchema { architecture?: string; description: string; contacted_at: string; platform?: string; projects?: Pick; revision?: string; tag_list?: string[]; version?: string; access_level: string; maximum_timeout?: number; } declare class Runners extends BaseResource { all({ projectId, groupId, owned, ...options }?: EitherOrNone3<{ projectId?: string | number; }, { owned?: boolean; }, { groupId?: string | number; }> & BaseRequestOptions & PaginationRequestOptions

): Promise>; create(token: string, options?: BaseRequestOptions): Promise>; edit(runnerId: number, options?: BaseRequestOptions): Promise>; enable(projectId: string | number, runnerId: number, options?: Sudo & ShowExpanded): Promise>; disable(projectId: string | number, runnerId: number, options?: Sudo & ShowExpanded): Promise>; allJobs(runnerId: number, options?: Sudo & ShowExpanded & { status?: string; orderBy?: string; sort?: string; }): Promise>; register(token: string, options?: BaseRequestOptions): Promise>; remove({ runnerId, token, ...options }: Either<{ runnerId: number; }, { token: string; }> & Sudo & ShowExpanded): Promise>; resetRegistrationToken({ projectId, groupId, runnerId, token, ...options }?: EitherOrNone4<{ projectId: string | number; }, { groupId: string | number; }, { runnerId: string; }, { token: string; }> & Sudo & ShowExpanded): Promise>; show(runnerId: number, options?: Sudo & ShowExpanded): Promise>; verify(options?: Sudo & ShowExpanded): Promise>; } interface EnvironmentSchema extends Record { id: number; name: string; slug: string; external_url: string; state: string; created_at: string; updated_at: string; last_deployment: DeploymentSchema; deployable: DeployableSchema; } type CondensedEnvironmentSchema = Omit; type ReviewAppSchema = Omit; declare class Environments extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, name: string, options?: { externalUrl?: string; } & BaseRequestOptions): Promise>; edit(projectId: string | number, environmentId: number, options?: { externalUrl?: string; } & BaseRequestOptions): Promise>; remove(projectId: string | number, environmentId: number, options?: Sudo & ShowExpanded): Promise>; removeReviewApps(projectId: string | number, options?: { before?: string; limit?: number; dryRun?: boolean; } & BaseRequestOptions): Promise>; show(projectId: string | number, environmentId: number, options?: Sudo & ShowExpanded): Promise>; stop(projectId: string | number, environmentId: number, options?: Sudo & ShowExpanded): Promise>; } type DeploymentStatus = 'created' | 'running' | 'success' | 'failed' | 'canceled'; interface DeployableSchema extends Record { id: number; ref: string; name: string; runner?: RunnerSchema; stage?: string; started_at?: string; status?: DeploymentStatus; tag: boolean; commit?: CommitSchema; coverage?: string; created_at?: string; finished_at?: string; user?: UserSchema; pipeline?: PipelineSchema; } interface DeploymentStatusSchema extends Record { user: UserSchema; status: 'approved' | 'rejected'; } interface DeploymentSchema extends Record { id: number; iid: number; ref: string; sha: string; created_at: string; updated_at: string; status: DeploymentStatus; user: UserSchema; deployable: DeployableSchema; environment: EnvironmentSchema; } interface AllDeploymentsOptions { orderBy?: 'id' | 'iid' | 'created_at' | 'updated_at' | 'ref'; sort?: 'asc' | 'desc'; updatedAfter?: string; updatedBefore?: string; environment?: string; status?: 'created' | 'running' | 'success' | 'failed' | 'canceled' | 'blocked'; } declare class Deployments extends BaseResource { all(projectId: string | number, options?: AllDeploymentsOptions & PaginationRequestOptions

& BaseRequestOptions): Promise>; allMergeRequests(projectId: string | number, deploymentId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, environment: string, sha: string, ref: string, tag: string, options?: { status?: DeploymentStatus; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, deploymentId: number, options?: { status?: DeploymentStatus; } & Sudo & ShowExpanded): Promise>; setApproval(projectId: string | number, deploymentId: number, options?: { status?: 'approved' | 'rejected'; } & Sudo & ShowExpanded): Promise>; show(projectId: string | number, deploymentId: number, options?: Sudo & ShowExpanded): Promise>; } interface ErrorTrackingClientKeySchema extends Record { id: number; active: boolean; public_key: string; sentry_dsn: string; } declare class ErrorTrackingClientKeys extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface ErrorTrackingSettingsSchema extends Record { active: boolean; project_name: string; sentry_external_url: string; api_url: string; integrated: boolean; } declare class ErrorTrackingSettings extends BaseResource { show(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; edit(projectId: string | number, active: boolean, { integrated, ...options }?: BaseRequestOptions): Promise>; } interface BaseExternalStatusCheckSchema extends Record { id: number; name: string; external_url: string; status: string; } type MergeRequestExternalStatusCheckSchema = BaseExternalStatusCheckSchema; interface ExternalStatusCheckProtectedBranchesSchema { id: number; project_id: number; name: string; created_at: string; updated_at: string; code_owner_approval_required: boolean; } interface ProjectExternalStatusCheckSchema extends BaseExternalStatusCheckSchema { project_id: number; protected_branches?: ExternalStatusCheckProtectedBranchesSchema[]; } declare class ExternalStatusChecks extends BaseResource { all(projectId: string | number, options: { mergerequestIId: number; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, name: string, externalUrl: string, options?: { protectedBrancheIds: number[]; } & BaseRequestOptions): Promise>; edit(projectId: string | number, externalStatusCheckId: number, options?: { protectedBrancheIds?: number[]; externalUrl?: string; name?: string; } & BaseRequestOptions): Promise>; remove(projectId: string | number, externalStatusCheckId: number, options?: { protectedBrancheIds?: number[]; } & BaseRequestOptions): Promise>; set(projectId: string | number, mergerequestIId: number, sha: string, externalCheckStatusId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, mergerequestIId: number, sha: string, externalCheckStatusId: number, options?: Sudo & ShowExpanded): Promise>; } interface FeatureFlagStrategyScope { id: number; environment_scope: string; } interface FeatureFlagStrategy { id: number; name: string; parameters: { user_ids: string; }; scopes?: FeatureFlagStrategyScope[]; } interface FeatureFlagSchema extends Record { name: string; description: string; active: boolean; version: string; created_at: string; updated_at: string; scopes?: string[]; strategies?: FeatureFlagStrategy[]; } declare class FeatureFlags extends BaseResource { all(projectId: string | number, options?: { scopes?: 'enabled' | 'disabled'; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, flagName: string, version: string, options?: BaseRequestOptions): Promise>; edit(projectId: string | number, featureFlagName: string, options?: BaseRequestOptions): Promise>; remove(projectId: string | number, flagName: string, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, flagName: string, options?: Sudo & ShowExpanded): Promise>; } interface FeatureFlagUserListSchema extends Record { name: string; user_xids: string; id: number; iid: number; project_id: string | number; created_at: string; updated_at: string; } declare class FeatureFlagUserLists extends BaseResource { all(projectId: string | number, options?: { scopes?: 'enabled' | 'disabled'; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, name: string, userXIds: string, options?: Sudo & ShowExpanded): Promise>; edit(projectId: string | number, featureFlagUserListIId: string, options?: { name?: string; userXIds?: string; } & BaseRequestOptions): Promise>; remove(projectId: string | number, featureFlagUserListIId: string, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, featureFlagUserListIId: string, options?: Sudo & ShowExpanded): Promise>; } interface FreezePeriodSchema extends Record { id: number; freeze_start: string; freeze_end: string; cron_timezone: string; created_at: string; updated_at: string; } declare class FreezePeriods extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; show(projectId: string | number, freezePeriodId: string | number, options?: BaseRequestOptions): Promise>; create(projectId: string | number, freezeStart: string, freezeEnd: string, options?: { cronTimezone?: string; } & BaseRequestOptions): Promise>; edit(projectId: string | number, freezePeriodId: string | number, options?: { freezeStart?: string; freezeEnd?: string; cronTimezone?: string; } & BaseRequestOptions): Promise>; remove(projectId: string | number, freezePeriodId: string | number, options?: BaseRequestOptions): Promise>; } declare class GitlabPages extends BaseResource { remove(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface GoProxyModuleVersionSchema extends Record { Version: string; Time: string; } declare class GoProxy extends BaseResource { all(projectId: string | number, moduleName: string, options?: BaseRequestOptions): Promise>; showVersionMetadata(projectId: string | number, moduleName: string, moduleVersion: string, options?: BaseRequestOptions): Promise>; downloadModuleFile(projectId: string | number, moduleName: string, moduleVersion: string, options?: BaseRequestOptions): Promise>; downloadModuleSource(projectId: string | number, moduleName: string, moduleVersion: string, options?: BaseRequestOptions): Promise>; } declare class Helm extends BaseResource { downloadChartIndex(projectId: string | number, channel: string, options?: Sudo & ShowExpanded): Promise>; downloadChart(projectId: string | number, channel: string, filename: string, options?: Sudo & ShowExpanded): Promise>; import(projectId: string | number, content: Blob, channel: string, { filename, parentId, ...options }?: { parentId?: number; filename?: string; } & Sudo & ShowExpanded): Promise>; } type SupportedIntegration = 'asana' | 'assembla' | 'bamboo' | 'bugzilla' | 'buildkite' | 'campfire' | 'custom-issue-tracker' | 'drone-ci' | 'emails-on-push' | 'external-wiki' | 'flowdock' | 'hangouts_chat' | 'hipchat' | 'irker' | 'jira' | 'kubernetes' | 'slack-slash-commands' | 'slack' | 'packagist' | 'pipelines-email' | 'pivotaltracker' | 'prometheus' | 'pushover' | 'redmine' | 'microsoft-teams' | 'mattermost' | 'mattermost-slash-commands' | 'teamcity' | 'jenkins' | 'jenkins-deprecated' | 'mock-ci' | 'youtrack'; interface IntegrationSchema extends Record { id: number; title: string; slug: string; created_at: string; updated_at: string; active: boolean; commit_events: boolean; push_events: boolean; issues_events: boolean; confidential_issues_events: boolean; merge_requests_events: boolean; tag_push_events: boolean; note_events: boolean; confidential_note_events: boolean; pipeline_events: boolean; wiki_page_events: boolean; job_events: boolean; comment_on_event_enabled: boolean; } declare class Integrations extends BaseResource { all(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; edit(projectId: string | number, integrationName: SupportedIntegration, options?: BaseRequestOptions): Promise>; disable(projectId: string | number, integrationName: SupportedIntegration, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, integrationName: SupportedIntegration, options?: Sudo & ShowExpanded): Promise>; } interface IssueAwardEmojis extends ResourceAwardEmojis { all(projectId: string | number, issueIId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; award(projectId: string | number, issueIId: number, name: string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, issueIId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, issueIId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; } declare class IssueAwardEmojis extends ResourceAwardEmojis { constructor(options: BaseResourceOptions); } interface IssueDiscussions extends ResourceDiscussions { addNote(projectId: string | number, issueIId: number, discussionId: string, noteId: number, body: string, options?: BaseRequestOptions): Promise>; all(projectId: string | number, issueIId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, issueIId: number, body: string, options?: BaseRequestOptions): Promise>; editNote(projectId: string | number, issueIId: number, discussionId: string, noteId: number, options: BaseRequestOptions & { body: string; }): Promise>; removeNote(projectId: string | number, issueIId: number, discussionId: string, noteId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, issueIId: number, discussionId: string, options?: Sudo & ShowExpanded): Promise>; } declare class IssueDiscussions extends ResourceDiscussions { constructor(options: BaseResourceOptions); } interface IssueIterationEvents { all(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(projectId: string | number, issueIId: number, iterationEventId: number, options?: Sudo & ShowExpanded): Promise>; } declare class IssueIterationEvents extends ResourceIterationEvents { constructor(options: BaseResourceOptions); } interface IssueLabelEvents { all(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(projectId: string | number, issueIId: number, labelEventId: number, options?: Sudo & ShowExpanded): Promise>; } declare class IssueLabelEvents extends ResourceLabelEvents { constructor(options: BaseResourceOptions); } interface IssueLinkSchema extends Record { id: number; iid: number; project_id: number; issue_link_id: number; state: string; description: string; weight?: number; author: Omit; milestone: MilestoneSchema; assignees?: Omit[]; title: string; labels?: string[]; user_notes_count: number; due_date: string; web_url: string; confidential: boolean; updated_at: string; link_created_at: string; link_updated_at: string; link_type: 'relates_to' | 'blocks' | 'is_blocked_by'; } interface ExpandedIssueLinkSchema extends Record { source_issue: Omit; target_issue: Omit; link_type: 'relates_to' | 'blocks' | 'is_blocked_by'; } declare class IssueLinks extends BaseResource { all(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, issueIId: number, targetProjectId: string | number, targetIssueIId: number, options?: { linkType?: string; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, issueIId: number, issueLinkId: number, options?: { linkType?: string; } & Sudo & ShowExpanded): Promise>; } interface IssueMilestoneEvents { all(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(projectId: string | number, issueIId: number, milestoneEventId: number, options?: Sudo & ShowExpanded): Promise>; } declare class IssueMilestoneEvents extends ResourceMilestoneEvents { constructor(options: BaseResourceOptions); } interface IssueNoteAwardEmojis extends ResourceNoteAwardEmojis { all(projectId: string | number, issueIId: number, noteId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; award(projectId: string | number, issueIId: number, noteId: number, name: string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, issueIId: number, noteId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, issueIId: number, noteId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; } declare class IssueNoteAwardEmojis extends ResourceNoteAwardEmojis { constructor(options: BaseResourceOptions); } interface IssueNoteSchema extends NoteSchema { confidential: boolean; attachment?: string; system: boolean; noteable_id: number; noteable_type: string; noteable_iid: number; resolvable: boolean; } interface IssueNotes extends ResourceNotes { all(projectId: string | number, issueIId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, issueIId: number, body: string, options?: { created_at?: string; confidential?: boolean; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, issueIId: number, noteId: number, options: { body?: string; confidential?: boolean; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, issueIId: number, noteId: number, options?: Sudo): Promise>; show(projectId: string | number, issueIId: number, noteId: number, options?: Sudo & ShowExpanded): Promise>; } declare class IssueNotes extends ResourceNotes { constructor(options: BaseResourceOptions); } interface StatisticsSchema extends Record { statistics: { counts: { all: number; closed: number; opened: number; }; }; } declare class IssuesStatistics extends BaseResource { all({ projectId, groupId, ...options }?: EitherOrNone<{ projectId: string | number; }, { groupId: string | number; }> & BaseRequestOptions): Promise>; } interface IssueStateEvents { all(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(projectId: string | number, issueIId: number, stateEventId: number, options?: Sudo & ShowExpanded): Promise>; } declare class IssueStateEvents extends ResourceStateEvents { constructor(options: BaseResourceOptions); } interface IssueWeightEvents { all(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(projectId: string | number, issueIId: number, weightEventId: number, options?: Sudo & ShowExpanded): Promise>; } declare class IssueWeightEvents extends ResourceStateEvents { constructor(options: BaseResourceOptions); } declare class JobArtifacts extends BaseResource { download(projectId: string | number, { jobId, jobToken, artifactPath, ref, job, ...options }?: ({ jobId: number; artifactPath?: undefined; job?: undefined; ref?: undefined; } | { jobId: number; artifactPath: string; job?: undefined; ref?: undefined; } | { ref: string; job: string; jobId?: undefined; artifactPath?: undefined; } | { ref: string; job: string; artifactPath: string; jobId?: undefined; }) & { jobToken?: string; } & Sudo & ShowExpanded): Promise>; downloadArchive(projectId: string | number, ref: string, job: string, { jobToken, ...options }?: { jobToken?: string; } & Sudo & ShowExpanded): Promise>; keep(projectId: string | number, jobId: number, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, { jobId, ...options }?: { jobId?: number; } & Sudo & ShowExpanded): Promise>; } interface ProtectedBranchAccessLevel { access_level: 0 | 30 | 40 | 60; access_level_description: string; user_id?: number; group_id?: number; } interface ProtectedBranchSchema extends Record { id: number; name: string; push_access_levels?: ProtectedBranchAccessLevel[]; merge_access_levels?: ProtectedBranchAccessLevel[]; unprotect_access_levels?: ProtectedBranchAccessLevel[]; allow_force_push: boolean; code_owner_approval_required: boolean; } declare class ProtectedBranches extends BaseResource { all(projectId: string | number, options?: { search?: string; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; edit(projectId: string | number, branchName: string, options?: { codeOwnerApprovalRequired?: boolean; } & Sudo & ShowExpanded): Promise>; protect(projectId: string | number, branchName: string, options?: BaseRequestOptions): Promise>; show(projectId: string | number, branchName: string, options?: Sudo & ShowExpanded): Promise>; unprotect(projectId: string | number, branchName: string, options?: Sudo & ShowExpanded): Promise>; } interface ProjectLevelMergeRequestApprovalSchema extends Record { approvals_before_merge: number; reset_approvals_on_push: boolean; disable_overriding_approvers_per_merge_request: boolean; merge_requests_author_approval: boolean; merge_requests_disable_committers_approval: boolean; require_password_to_approve: boolean; } interface ApprovedByEntity { user: Omit; } interface MergeRequestLevelMergeRequestApprovalSchema extends Record { id: number; iid: number; project_id: number; title: string; description: string; state: string; created_at: string; updated_at: string; merge_status: string; approvals_required: number; approvals_left: number; approved_by?: ApprovedByEntity[]; } type ApprovalRulesRequestOptions = { userIds?: number[]; groupIds?: number[]; protectedBranchIds?: number[]; }; interface ApprovalRuleSchema extends Record { id: number; name: string; rule_type: string; eligible_approvers?: Omit[]; approvals_required: number; users?: Omit[]; groups?: GroupSchema[]; contains_hidden_groups: boolean; overridden: boolean; } interface ProjectLevelApprovalRuleSchema extends ApprovalRuleSchema { protected_branches?: ProtectedBranchSchema[]; } interface MergeRequestLevelApprovalRuleSchema extends ApprovalRuleSchema { source_rule?: string; } interface ApprovalStateSchema extends Record { approval_rules_overwritten: boolean; rules: ({ approved: boolean; } & MergeRequestLevelApprovalRuleSchema)[]; } declare class MergeRequestApprovals extends BaseResource { allApprovalRules(projectId: string | number, options: { mergerequestIId: number; } & BaseRequestOptions): Promise>; allApprovalRules(projectId: string | number, options?: BaseRequestOptions): Promise>; approve(projectId: string | number, mergerequestIId: number, options?: { sha?: string; approval_password?: string; } & Sudo & ShowExpanded): Promise, E, undefined>>; createApprovalRule(projectId: string | number, name: string, approvalsRequired: number, options: { mergerequestIId: number; } & ApprovalRulesRequestOptions & BaseRequestOptions): Promise>; createApprovalRule(projectId: string | number, name: string, approvalsRequired: number, options?: ApprovalRulesRequestOptions & BaseRequestOptions): Promise>; editApprovalRule(projectId: string | number, approvalRuleId: number, name: string, approvalsRequired: number, options: { mergerequestIId: number; } & ApprovalRulesRequestOptions & BaseRequestOptions): Promise>; editApprovalRule(projectId: string | number, approvalRuleId: number, name: string, approvalsRequired: number, options?: ApprovalRulesRequestOptions & BaseRequestOptions): Promise>; editConfiguration(projectId: string | number, options?: BaseRequestOptions): Promise>; removeApprovalRule(projectId: string | number, approvalRuleId: number, { mergerequestIId, ...options }?: { mergerequestIId?: number; } & Sudo & ShowExpanded): Promise>; showApprovalRule(projectId: string | number, approvalRuleId: number, options: BaseRequestOptions): Promise>; showApprovalState(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; showConfiguration(projectId: string | number, options: { mergerequestIId: number; } & BaseRequestOptions): Promise>; showConfiguration(projectId: string | number, options?: BaseRequestOptions): Promise>; unapprove(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; } interface MergeRequestAwardEmojis extends ResourceAwardEmojis { all(projectId: string | number, mergerequestIId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; award(projectId: string | number, mergerequestIId: number, name: string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, mergerequestIId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, mergerequestIId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; } declare class MergeRequestAwardEmojis extends ResourceAwardEmojis { constructor(options: BaseResourceOptions); } interface MergeRequestContextCommitSchema extends Record { id: string; short_id: string; created_at: string; parent_ids?: null; title: string; message: string; author_name: string; author_email: string; authored_date: string; committer_name: string; committer_email: string; committed_date: string; } declare class MergeRequestContextCommits extends BaseResource { all(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, commits: string[], { mergerequestIId, ...options }?: { mergerequestIId?: number; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded): Promise>; } interface MergeRequestDiscussionNoteSchema extends DiscussionNoteSchema { resolved_by: string; resolved_at: string; position?: DiscussionNotePositionSchema; } type DiscussionNotePositionOptions = DiscussionNotePositionSchema & { line_range?: { start?: { line_code: string; type: 'new' | 'old'; }; end?: { line_code: string; type: 'new' | 'old'; }; }; }; interface MergeRequestDiscussions extends ResourceDiscussions { addNote(projectId: string | number, mergerequestId: string | number, discussionId: string, noteId: number, body: string, options?: BaseRequestOptions): Promise>; all(projectId: string | number, mergerequestId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, mergerequestId: string | number, body: string, options?: { position?: DiscussionNotePositionOptions; } & BaseRequestOptions): Promise>; editNote(projectId: string | number, mergerequestId: string | number, discussionId: string, noteId: number, options: BaseRequestOptions & { body: string; }): Promise>; removeNote(projectId: string | number, mergerequestId: string | number, discussionId: string, noteId: number, options?: Sudo & ShowExpanded): Promise>; resolve(projectId: string | number, mergerequestId: string | number, discussionId: string, resolve: boolean, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, mergerequestId: string | number, discussionId: string, options?: Sudo & ShowExpanded): Promise>; } declare class MergeRequestDiscussions extends ResourceDiscussions { constructor(options: BaseResourceOptions); } interface MergeRequestLabelEvents { all(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(projectId: string | number, mergerequestIId: number, labelEventId: number, options?: Sudo & ShowExpanded): Promise>; } declare class MergeRequestLabelEvents extends ResourceLabelEvents { constructor(options: BaseResourceOptions); } interface MergeRequestMilestoneEvents { all(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; show(projectId: string | number, mergerequestIId: number, milestoneEventId: number, options?: Sudo & ShowExpanded): Promise>; } declare class MergeRequestMilestoneEvents extends ResourceMilestoneEvents { constructor(options: BaseResourceOptions); } interface MergeRequestNoteSchema extends NoteSchema { confidential: boolean; attachment?: string; system: boolean; noteable_id: number; noteable_type: string; noteable_iid: number; resolvable: boolean; } interface MergeRequestNotes extends ResourceNotes { all(projectId: string | number, mergerequestIId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, mergerequestIId: number, body: string, options?: { created_at?: string; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, mergerequestIId: number, noteId: number, options: { body: string; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, mergerequestIId: number, noteId: number, options?: Sudo): Promise>; show(projectId: string | number, mergerequestIId: number, noteId: number, options?: Sudo & ShowExpanded): Promise>; } declare class MergeRequestNotes extends ResourceNotes { constructor(options: BaseResourceOptions); } interface MergeTrainSchema extends Record { id: number; merge_request: CondensedMergeRequestSchema; user: Omit; pipeline: PipelineSchema; created_at: string; updated_at: string; target_branch: string; status: string; merged_at: string; duration: number; } declare class MergeTrains extends BaseResource { all(projectId: string | number, options: { targetBranch?: string; scope?: 'active' | 'complete'; sort?: 'asc' | 'desc'; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; showStatus(projectId: string | number, mergeRequestIId: number, options?: Sudo & ShowExpanded): Promise>; } interface PackageRegistrySchema extends Record { id: number; package_id: number; created_at: string; updated_at: string; size: number; file_store: number; file_md5?: string; file_sha1?: string; file_name: string; file: { url: string; }; file_sha256: string; verification_retry_at?: string; verified_at?: string; verification_failure?: string; verification_retry_count?: string; verification_checksum?: string; verification_state: number; verification_started_at?: string; new_file_path?: string; } declare class PackageRegistry extends BaseResource { publish(projectId: string | number, packageName: string, packageVersion: string, filename: string, content: Blob, options: { select: 'package_file'; contentType?: string; status?: 'default' | 'hidden'; } & Sudo & ShowExpanded): Promise>; publish(projectId: string | number, packageName: string, packageVersion: string, filename: string, content: Blob, options?: { contentType?: string; status?: 'default' | 'hidden'; } & Sudo & ShowExpanded): Promise>; download(projectId: string | number, packageName: string, packageVersion: string, filename: string, options?: Sudo & ShowExpanded): Promise, E, undefined>>; } interface PackageSchema extends Record { id: number; name: string; version: string; package_type: string; created_at: string; } interface ExpandedPackageSchema extends PackageSchema { _links: Record; pipelines: PipelineSchema[]; versions: Omit; } interface PackageFileSchema extends Record { id: number; package_id: number; created_at: string; file_name: string; size: number; file_md5: string; file_sha1: string; pipelines?: PipelineSchema[]; } declare class Packages extends BaseResource { all({ projectId, groupId, ...options }?: Either<{ projectId: string | number; }, { groupId: string | number; }> & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; remove(projectId: string | number, packageId: number, options?: Sudo & ShowExpanded): Promise>; removeFile(projectId: string | number, packageId: number, projectFileId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, packageId: number, options?: Sudo & ShowExpanded): Promise>; allFiles(projectId: string | number, packageId: number, options?: Sudo & ShowExpanded): Promise>; } interface PagesDomainSchema extends Record { domain: string; url: string; project_id: number; auto_ssl_enabled?: boolean; certificate?: { expired: boolean; expiration: string; certificate: string; certificate_text: string; }; } declare class PagesDomains extends BaseResource { all({ projectId, ...options }?: { projectId?: string | number; } & Sudo & ShowExpanded): Promise>; create(projectId: string | number, domain: string, options?: { autoSslEnabled?: string; certificate?: string; key?: string; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, domain: string, options?: { autoSslEnabled?: string; certificate?: string; key?: string; } & Sudo & ShowExpanded): Promise>; show(projectId: string | number, domain: string, options?: { autoSslEnabled?: string; certificate?: string; key?: string; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, domain: string, options?: Sudo & ShowExpanded): Promise>; } interface CondensedPipelineScheduleSchema extends Record { id: number; description: string; ref: string; cron: string; cron_timezone: string; next_run_at: string; active: boolean; created_at: string; updated_at: string; owner: Omit; } interface PipelineScheduleSchema extends CondensedPipelineScheduleSchema { last_pipeline: Pick; } interface ExpandedPipelineScheduleSchema extends PipelineScheduleSchema { last_pipeline: Pick; variables: PipelineVariableSchema[]; } declare class PipelineSchedules extends BaseResource { all(projectId: string | number, options?: { scope?: 'active' | 'inactive'; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; allTriggeredPipelines(projectId: string | number, pipelineScheduleId: number, options?: Sudo & ShowExpanded): Promise>; create(projectId: string | number, description: string, ref: string, cron: string, options?: { cronTimezone?: string; active?: boolean; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, pipelineScheduleId: number, options?: { description?: string; ref?: string; cron?: string; cronTimezone?: string; active?: boolean; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, pipelineScheduleId: number, options?: Sudo & ShowExpanded): Promise>; run(projectId: string | number, pipelineScheduleId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, pipelineScheduleId: number, options?: Sudo & ShowExpanded): Promise>; takeOwnership(projectId: string | number, pipelineScheduleId: number, options?: Sudo & ShowExpanded): Promise>; } interface PipelineTriggerTokenSchema extends Record { id: number; description: string; created_at: string; last_used?: null; token: string; updated_at: string; owner?: null; } declare class PipelineTriggerTokens extends BaseResource { all(projectId: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, description: string, options?: Sudo & ShowExpanded): Promise>; edit(projectId: string | number, triggerId: number, options?: { description?: string; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, triggerId: number, options?: Sudo & ShowExpanded): Promise>; trigger(projectId: string | number, ref: string, token: string, options?: { variables?: Record; } & Sudo & ShowExpanded): Promise>; } declare class ProductAnalytics extends BaseResource { load(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; dryRun(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; showMetadata(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface ProjectAccessRequests extends ResourceAccessRequests { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; request(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; approve(projectId: string | number, userId: number, options?: { accessLevel?: AccessLevel; } & Sudo & ShowExpanded): Promise>; deny(groupId: string | number, userId: number): Promise>; } declare class ProjectAccessRequests extends ResourceAccessRequests { constructor(options: BaseResourceOptions); } interface ProjectAccessTokens extends ResourceAccessTokens { all(projectId: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, name: string, scopes: AccessTokenScopes[], options?: { accessLevel?: AccessLevel; expiresAt?: string; } & Sudo & ShowExpanded): Promise>; revoke(projectId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectAccessTokens extends ResourceAccessTokens { constructor(options: BaseResourceOptions); } interface ProjectAliasSchema extends Record { id: number; project_id: string | number; name: string; } declare class ProjectAliases extends BaseResource { all(options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; edit(name: string, options?: Sudo & ShowExpanded): Promise>; remove(name: string, options?: Sudo & ShowExpanded): Promise>; } interface ProjectBadgeSchema extends BadgeSchema { kind: 'project'; } type ProjectBadgePreviewSchema = Omit; interface ProjectBadges extends ResourceBadges { add(groupId: string | number, linkUrl: string, imageUrl: string, options?: BaseRequestOptions): Promise>; all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(groupId: string | number, badgeId: number, options?: BaseRequestOptions): Promise>; preview(groupId: string | number, linkUrl: string, imageUrl: string, options?: Sudo & ShowExpanded): Promise>; remove(groupId: string | number, badgeId: number, options?: Sudo & ShowExpanded): Promise>; show(groupId: string | number, badgeId: number, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectBadges extends ResourceBadges { constructor(options: BaseResourceOptions); } interface ProjectCustomAttributes extends ResourceCustomAttributes { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; set(projectId: string | number, customAttributeId: string, value: string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, customAttributeId: string, options?: Sudo): Promise>; show(projectId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectCustomAttributes extends ResourceCustomAttributes { constructor(options: BaseResourceOptions); } declare class ProjectDORA4Metrics extends ResourceDORA4Metrics { constructor(options: BaseResourceOptions); } interface ProjectHookSchema extends ExpandedHookSchema { projectId: number; } interface ProjectHooks { add(projectId: string | number, url: string, options?: BaseRequestOptions): Promise>; all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(projectId: string | number, hookId: number, url: string, options?: BaseRequestOptions): Promise>; remove(projectId: string | number, hookId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, hookId: number, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectHooks extends ResourceHooks { constructor(options: BaseResourceOptions); } interface ExportStatusSchema$1 extends Record { id: number; description: string; name: string; name_with_namespace: string; path: string; path_with_namespace: string; created_at: string; export_status: string; _links: { api_url: string; web_url: string; }; } interface FailedRelationSchema { id: number; created_at: string; exception_class: string; exception_message: string; source: string; relation_name: string; } interface ImportStatusSchema extends Record { id: number; description: string; name: string; name_with_namespace: string; path: string; path_with_namespace: string; created_at: string; import_status: string; correlation_id: string; failed_relations?: FailedRelationSchema[]; } declare class ProjectImportExport extends BaseResource { download(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; import(content: Blob, name: string, path: string, { filename, parentId, ...options }?: { parentId?: number; filename?: string; } & Sudo & ShowExpanded): Promise>; showExportStatus(projectId: string | number, options?: Sudo): Promise>; showImportStatus(projectId: string | number, options?: Sudo): Promise>; scheduleExport(projectId: string | number, options?: BaseRequestOptions): Promise>; } interface ProjectInvitations { add(projectId: string | number, accessLevel: AccessLevel, options: Either<{ email: string; }, { userId: string; }> & BaseRequestOptions): Promise>; all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(projectId: string | number, email: string, options?: BaseRequestOptions): Promise>; remove(projectId: string | number, email: string, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectInvitations extends ResourceInvitations { constructor(options: BaseResourceOptions); } interface ProjectIssueBoardSchema extends IssueBoardSchema { project: SimpleProjectSchema; } interface ProjectIssueBoards extends ResourceIssueBoards { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; createList(projectId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; edit(projectId: string | number, boardId: number, options?: BaseRequestOptions): Promise>; editList(projectId: string | number, boardId: number, listId: number, position: number, options?: Sudo & ShowExpanded): Promise>; alllists(projectId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; removeList(projectId: string | number, boardId: number, listId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; showList(projectId: string | number, boardId: number, listId: number, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectIssueBoards extends ResourceIssueBoards { constructor(options: BaseResourceOptions); } interface ProjectIterations { all(projectId: string | number, options?: { state?: 'opened' | 'upcoming' | 'current' | 'closed' | 'all'; search?: string; includeAncestors?: boolean; } & BaseRequestOptions & PaginationRequestOptions

): Promise>; } declare class ProjectIterations extends ResourceIterations { constructor(options: BaseResourceOptions); } interface ProjectLabels extends ResourceLabels { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, labelName: string, color: string, options?: { description?: string; priority?: number; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, labelId: number | string, options: Either<{ newName: string; }, { color: string; }> & { description?: string; priority?: number; } & Sudo & ShowExpanded): Promise>; promote(projectId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; subscribe(projectId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; unsubscribe(projectId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectLabels extends ResourceLabels { constructor(options: BaseResourceOptions); } interface ProjectMembers extends ResourceMembers { add(projectId: string | number, userId: number, accessLevel: AccessLevel, options?: BaseRequestOptions): Promise>; all(projectId: string | number, options: IncludeInherited & PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(projectId: string | number, userId: number, accessLevel: AccessLevel, options?: BaseRequestOptions): Promise>; show(projectId: string | number, userId: number, options?: IncludeInherited & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, userId: number, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectMembers extends ResourceMembers { constructor(options: BaseResourceOptions); } interface ProjectMilestones extends ResourceMilestones { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allAssignedIssues(projectId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; allAssignedMergeRequests(projectId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; create(projectId: string | number, title: string, options?: { description?: string; dueDate?: string; startDate?: string; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, milestoneId: number, options?: { title?: string; description?: string; dueDate?: string; startDate?: string; startEvent?: 'close' | 'activate'; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; showBurndownChartEvents(projectId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectMilestones extends ResourceMilestones { constructor(options: BaseResourceOptions); promote(projectId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; } interface ProjectProtectedEnvironments { all(projectId: string | number, options: { search?: string; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; edit(projectId: string | number, name: string, options?: { deploy_access_levels?: ProtectedEnvironmentAccessLevel[]; required_approval_count?: number; approval_rules?: ProtectedEnvironmentAccessLevel[]; } & Sudo & ShowExpanded): Promise>; protect(projectId: string | number, name: string, deployAccessLevel: ProtectedEnvironmentAccessLevel[], options?: { requiredApprovalCount?: number; } & Sudo & ShowExpanded): Promise>; show(projectId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; unprotect(projectId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectProtectedEnvironments extends ResourceProtectedEnvironments { constructor(options: BaseResourceOptions); } interface ProjectPushRules extends ResourcePushRules { create(projectId: string | number, options?: BaseRequestOptions): Promise>; edit(projectId: string | number, options?: BaseRequestOptions): Promise>; remove(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectPushRules extends ResourcePushRules { constructor(options: BaseResourceOptions); } interface ExportStatusSchema extends Record { id: number; description: string; name: string; name_with_namespace: string; path: string; path_with_namespace: string; created_at: string; export_status: string; _links: { api_url: string; web_url: string; }; } declare class ProjectRelationsExport extends BaseResource { download(projectId: string | number, relation: string, options?: Sudo & ShowExpanded): Promise>; showExportStatus(projectId: string | number, options?: Sudo): Promise>; scheduleExport(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface ReleaseEvidence { sha: string; filepath: string; collected_at: string; } interface ReleaseAssetSource { format: string; url: string; } interface ReleaseAssetLink { id: number; name: string; url: string; external: boolean; link_type: string; } interface ReleaseSchema extends Record { tag_name: string; description: string; name: string; description_html: string; created_at: string; released_at: string; user: Omit; commit: CommitSchema; milestones?: MilestoneSchema[]; commit_path: string; tag_path: string; assets: { count: number; sources?: ReleaseAssetSource[]; links?: ReleaseAssetLink[]; evidence_file_path: string; }; evidences?: ReleaseEvidence[]; } declare class ProjectReleases extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, options?: BaseRequestOptions): Promise>; createEvidence(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded): Promise>; edit(projectId: string | number, tagName: string, options?: BaseRequestOptions): Promise>; download(projectId: string | number, tagName: string, filepath: string, options?: Sudo & ShowExpanded): Promise>; downloadLatest(projectId: string | number, filepath: string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, tagName: string, options?: { includeHtmlDescription?: boolean; } & Sudo & ShowExpanded): Promise>; showLatest(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; showLatestEvidence(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface ProjectRepositoryStorageMoveSchema extends RepositoryStorageMoveSchema { project: SimpleProjectSchema; } interface ProjectRepositoryStorageMoves extends ResourceRepositoryStorageMoves { all(options?: { projectId?: string | number; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; show(repositoryStorageId: number, options?: { projectId?: string | number; } & Sudo & ShowExpanded): Promise>; schedule(sourceStorageName: string, options?: { projectId?: string | number; } & Sudo & ShowExpanded): Promise>; } declare class ProjectRepositoryStorageMoves extends ResourceRepositoryStorageMoves { constructor(options: BaseResourceOptions); } interface ProjectSnippetAwardEmojis extends ResourceAwardEmojis { all(projectId: string | number, snippetId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; award(projectId: string | number, snippetId: number, name: string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, snippetId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, snippetId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectSnippetAwardEmojis extends ResourceAwardEmojis { constructor(options: BaseResourceOptions); } interface ProjectSnippetDiscussions extends ResourceDiscussions { addNote(projectId: string | number, snippetId: string | number, discussionId: string, noteId: number, body: string, options?: BaseRequestOptions): Promise>; all(projectId: string | number, issueId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, snippetId: string | number, body: string, options?: BaseRequestOptions): Promise>; editNote(projectId: string | number, snippetId: string | number, discussionId: string, noteId: number, options: BaseRequestOptions & { body: string; }): Promise>; removeNote(projectId: string | number, snippetId: string | number, discussionId: string, noteId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, snippetId: string | number, discussionId: string, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectSnippetDiscussions extends ResourceDiscussions { constructor(options: BaseResourceOptions); } interface SnippetNoteSchema extends NoteSchema { confidential: boolean; file_name: string; expires_at: string; } interface ProjectSnippetNotes extends ResourceNotes { all(projectId: string | number, snippedId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, snippedId: number, body: string, options?: { created_at?: string; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, snippedId: number, noteId: number, options: { body: string; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, snippedId: number, noteId: number, options?: Sudo): Promise>; show(projectId: string | number, snippedId: number, noteId: number, options?: Sudo & ShowExpanded): Promise>; } declare class ProjectSnippetNotes extends ResourceNotes { constructor(options: BaseResourceOptions); } declare class ProjectSnippets extends BaseResource { all(projectId: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, title: string, options?: BaseRequestOptions): Promise, E, undefined>>; edit(projectId: string | number, snippetId: number, options?: BaseRequestOptions): Promise, E, undefined>>; remove(projectId: string | number, snippetId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, snippetId: number, options?: Sudo & ShowExpanded): Promise>; showContent(projectId: string | number, snippetId: number, options?: Sudo & ShowExpanded): Promise>; showRepositoryFileContent(projectId: string | number, snippetId: number, ref: string, filePath: string, options?: Sudo & ShowExpanded): Promise>; showUserAgentDetails(projectId: string | number, snippetId: number, options?: Sudo & ShowExpanded): Promise, E, undefined>>; } interface ProjectStatisticSchema extends Record { fetches: { total: number; days: { count: number; date: string; }[]; }; } declare class ProjectStatistics extends BaseResource { show(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; } type ProjectTemplateType = 'dockerfiles' | 'gitignores' | 'gitlab_ci_ymls' | 'licenses' | 'issues' | 'merge_requests'; interface ProjectTemplateSchema extends Record { name: string; content: string; } declare class ProjectTemplates extends BaseResource { all(projectId: string | number, type: ProjectTemplateType, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; show(projectId: string | number, type: ProjectTemplateType, name: string, options?: { project?: string; fullname?: string; sourceTemplateProjectId?: number; } & Sudo & ShowExpanded): Promise>; } interface ProjectVariableSchema extends VariableSchema { environment_scope: string; } interface ProjectVariables extends ResourceVariables { all(projectId: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, key: string, value: string, options?: { variableType?: VariableType; protected?: boolean; masked?: boolean; environmentScope?: string; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, key: string, value: string, options?: { variableType?: VariableType; protected?: boolean; masked?: boolean; environmentScope?: string; filter: VariableFilter; } & Sudo & ShowExpanded): Promise>; show(projectId: string | number, key: string, options?: { filter?: VariableFilter; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, key: string, options?: { filter?: VariableFilter; } & Sudo & ShowExpanded): Promise>; } declare class ProjectVariables extends ResourceVariables { constructor(options: BaseResourceOptions); } interface ProjectVulnerabilitySchema extends Record { author_id: number; confidence: string; created_at: string; description?: string; dismissed_at?: string; dismissed_by_id?: number; due_date?: string; finding: { confidence: string; created_at: string; id: number; location_fingerprint: string; metadata_version: string; name: string; primary_identifier_id: number; project_fingerprint: string; project_id: number; raw_metadata: string; report_type: string; scanner_id: number; severity: string; updated_at: string; uuid: string; vulnerability_id: number; }; id: number; last_edited_at?: string; last_edited_by_id?: number; project: SimpleProjectSchema; project_default_branch: string; report_type: string; resolved_at?: string; resolved_by_id?: number; resolved_on_default_branch: boolean; severity: string; start_date?: string; state: string; title: string; updated_at: string; updated_by_id?: number; } declare class ProjectVulnerabilities extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, findingId: number, options?: Sudo & ShowExpanded): Promise>; } interface ProjectWikis extends ResourceWikis { all(projectId: string | number, options?: { withContent?: boolean; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, content: string, title: string, options?: { format?: string; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, slug: string, options?: Either<{ content: string; }, { title: string; }> & { format?: string; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, slug: string, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, slug: string, options?: { renderHtml?: boolean; version?: string; } & Sudo & ShowExpanded): Promise>; uploadAttachment(projectId: string | number, content: Blob, options?: { filename?: string; branch?: string; } & Sudo & ShowExpanded): Promise>; } declare class ProjectWikis extends ResourceWikis { constructor(options: BaseResourceOptions); } interface ProtectedTagAccessLevel { access_level: 0 | 30 | 40 | 60; access_level_description: string; } interface ProtectedTagSchema extends Record { name: string; create_access_levels?: ProtectedTagAccessLevel[]; } declare class ProtectedTags extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; protect(projectId: string | number, tagName: string, options?: { createAccessLevel?: string; } & Sudo & ShowExpanded): Promise>; show(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded): Promise>; unprotect(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded): Promise>; } interface ReleaseLinkSchema extends Record { id: number; name: string; url: string; external: boolean; link_type: string; } declare class ReleaseLinks extends BaseResource { all(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, tagName: string, name: string, url: string, options?: Sudo & { filePath?: string; linkType?: string; }): Promise>; edit(projectId: string | number, tagName: string, linkId: number, options?: Sudo & ShowExpanded & { name?: string; url?: string; filePath?: string; linkType?: string; }): Promise>; remove(projectId: string | number, tagName: string, linkId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, tagName: string, linkId: number, options?: Sudo & ShowExpanded): Promise, E, undefined>>; } type ArchiveType = 'tar.gz' | 'tar.bz2' | 'tbz' | 'tbz2' | 'tb2' | 'bz2' | 'tar' | 'zip'; interface RepositoryChangelogSchema extends Record { notes: string; } interface RepositoryCompareSchema extends Record { commit: Omit; commits?: Omit[]; diffs?: CommitDiffSchema[]; compare_timeout: boolean; compare_same_ref: boolean; } interface RepositoryContributorSchema extends Record { name: string; email: string; commits: number; additions: number; deletions: number; } interface RepositoryTreeSchema extends Record { id: string; name: string; type: string; path: string; mode: string; } interface RepositoryBlobSchema extends Record { size: number; encoding: string; content: string; sha: string; } declare class Repositories extends BaseResource { compare(projectId: string | number, from: string, to: string, options?: { fromProjectId?: string | number; straight?: string; } & Sudo & ShowExpanded): Promise>; allContributors(projectId: string | number, options?: { orderBy?: string; sort?: string; } & Sudo & ShowExpanded): Promise>; editChangelog(projectId: string | number, version: string, options?: BaseRequestOptions): Promise>; mergeBase(projectId: string | number, refs: string[], options?: Sudo & ShowExpanded): Promise>; showArchive(projectId: string | number, options: { fileType?: ArchiveType; sha?: string; path?: string; asStream: true; } & Sudo & ShowExpanded): Promise>; showArchive(projectId: string | number, options?: { fileType?: ArchiveType; sha?: string; path?: string; asStream?: boolean; } & Sudo & ShowExpanded): Promise>; showBlob(projectId: string | number, sha: string, options?: Sudo & ShowExpanded): Promise>; showBlobRaw(projectId: string | number, sha: string, options?: Sudo & ShowExpanded): Promise>; showChangelog(projectId: string | number, version: string, options?: BaseRequestOptions): Promise>; allRepositoryTrees(projectId: string | number, options?: PaginationRequestOptions<'keyset'> & BaseRequestOptions): Promise>; } interface RepositoryFileExpandedSchema extends Record { file_name: string; file_path: string; size: number; encoding: string; content: string; content_sha256: string; ref: string; blob_id: string; commit_id: string; last_commit_id: string; } interface RepositoryFileBlameSchema extends Record { commit: CommitSchema; lines?: string[]; } interface RepositoryFileSchema extends Record { file_path: string; branch: string; } declare class RepositoryFiles extends BaseResource { create(projectId: string | number, filePath: string, branch: string, content: Blob, commitMessage: string, options?: BaseRequestOptions): Promise>; edit(projectId: string | number, filePath: string, branch: string, content: Blob, commitMessage: string, options?: BaseRequestOptions): Promise>; remove(projectId: string | number, filePath: string, branch: string, commitMessage: string, options?: BaseRequestOptions): Promise>; show(projectId: string | number, filePath: string, ref: string, options?: Sudo & ShowExpanded): Promise>; allFileBlames(projectId: string | number, filePath: string, ref: string, options?: { range?: { start: number; end: number; }; } & Sudo & ShowExpanded): Promise>; showRaw(projectId: string | number, filePath: string, ref: string, options?: Sudo & ShowExpanded): Promise>; } interface RepositorySubmoduleSchema extends CommitSchema { status?: string; } declare class RepositorySubmodules extends BaseResource { edit(projectId: string | number, submodule: string, branch: string, commitSha: string, options?: BaseRequestOptions): Promise>; } interface ResourceGroupSchema extends Record { id: number; key: string; process_mode: string; created_at: string; updated_at: string; } declare class ResourceGroups extends BaseResource { all(projectId: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, title: string, options?: BaseRequestOptions): Promise, E, undefined>>; edit(projectId: string | number, key: string, options?: { processMode?: string; } & Sudo & ShowExpanded): Promise, E, undefined>>; show(projectId: string | number, key: string, options?: Sudo & ShowExpanded): Promise>; allUpcomingJobs(projectId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface SecureFileSchema extends Record { id: number; name: string; checksum: string; checksum_algorithm: string; created_at: string; expires_at: string; metadata: { id: string; issuer: { C: string; O: string; CN: string; OU: string; }; subject: { C: string; O: string; CN: string; OU: string; UID: string; }; expires_at: string; }; } declare class SecureFiles extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(projectId: string | number, content: Blob, name: string, path: string, { filename, parentId, ...options }?: { parentId?: number; filename?: string; } & Sudo & ShowExpanded): Promise>; download(projectId: string | number, secureFileId: number, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, secureFileId: number, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, secureFileId: string, options?: Sudo & ShowExpanded): Promise>; } interface TagSchema extends Record { commit: CommitSchema; release: Pick; name: string; target: string; message?: string; protected: boolean; } interface TagSignatureSchema extends Record { signature_type: string; verification_status: string; x509_certificate: { id: number; subject: string; subject_key_identifier: string; email: string; serial_number: number; certificate_status: string; x509_issuer: { id: number; subject: string; subject_key_identifier: string; crl_url: string; }; }; } declare class Tags extends BaseResource { all(projectId: string | number, options?: { orderBy?: 'name' | 'updated'; sort?: 'asc' | 'desc'; search?: string; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, tagName: string, ref: string, options?: { message?: string; } & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded): Promise>; showSignature(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded): Promise>; } interface StarredDashboardSchema extends Record { id: number; dashboard_path: string; user_id: number; project_id: number; } declare class UserStarredMetricsDashboard extends BaseResource { create(projectId: string | number, dashboardPath: string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, options?: { dashboard_path?: string; } & Sudo & ShowExpanded): Promise>; } declare class VisualReviewDiscussions extends BaseResource { create(projectId: string | number, mergerequestIId: number, body: string, options?: { position?: DiscussionNotePositionSchema; } & Sudo & ShowExpanded): Promise>; } interface VulnerabilityFindingSchema extends Record { id: number; title: string; description?: string; state: string; severity: string; confidence: string; report_type: string; project: SimpleProjectSchema; author_id: number; updated_by_id?: number; last_edited_by_id?: number; closed_by_id?: number; start_date?: string; due_date?: string; created_at: string; updated_at: string; last_edited_at?: string; closed_at?: string; } declare class VulnerabilityFindings extends BaseResource { all(projectId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; } interface EpicAwardEmojis extends ResourceAwardEmojis { all(epicId: string | number, issueIId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; award(epicId: string | number, issueIId: number, name: string, options?: Sudo & ShowExpanded): Promise>; remove(epicId: string | number, issueIId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; show(epicId: string | number, issueIId: number, awardId: number, options?: Sudo & ShowExpanded): Promise>; } declare class EpicAwardEmojis extends ResourceAwardEmojis { constructor(options: BaseResourceOptions); } interface EpicDiscussions extends ResourceDiscussions { addNote(groupId: string | number, epicId: number, discussionId: string, noteId: number, body: string, options?: BaseRequestOptions): Promise>; all(groupId: string | number, epicId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(groupId: string | number, epicId: number, body: string, options?: BaseRequestOptions): Promise>; editNote(groupId: string | number, epicId: number, discussionId: string, noteId: number, options: BaseRequestOptions & { body: string; }): Promise>; removeNote(groupId: string | number, epicId: number, discussionId: string, noteId: number, options?: Sudo & ShowExpanded): Promise>; show(groupId: string | number, epicId: number, discussionId: string, options?: Sudo & ShowExpanded): Promise>; } declare class EpicDiscussions extends ResourceDiscussions { constructor(options: BaseResourceOptions); } interface EpicIssueSchema extends Omit { epic_issue_id: number; } interface ExpandedEpicIssueSchema extends EpicIssueSchema { subscribed: boolean; relative_position: number; } declare class EpicIssues extends BaseResource { all(groupId: string | number, epicIId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; assign(groupId: string | number, epicIId: number, epicIssueId: number, options?: Sudo & ShowExpanded): Promise>; edit(groupId: string | number, epicIId: number, epicIssueId: number, options?: BaseRequestOptions): Promise>; remove(groupId: string | number, epicIId: number, epicIssueId: number, options?: Sudo & ShowExpanded): Promise>; } interface EpicLabelEvents { all(groupId: string | number, epidId: number, options?: BaseRequestOptions & PaginationRequestOptions

): Promise>; show(groupId: string | number, epidId: number, labelEventId: number, options?: Sudo & ShowExpanded): Promise>; } declare class EpicLabelEvents extends ResourceLabelEvents { constructor(options: BaseResourceOptions); } interface CondensedEpicLinkSchema extends Record { id: number; iid: number; group_id: number; parent_id: number; title: string; has_children: boolean; has_issues: boolean; reference: string; url: string; relation_url: string; } interface EpicLinkSchema extends Record { id: number; iid: number; group_id: number; parent_id: number; title: string; description: string; author: UserSchema; start_date?: string; start_date_is_fixed: boolean; start_date_fixed?: string; start_date_from_inherited_source?: string; due_date: string; due_date_is_fixed: boolean; due_date_fixed?: string; due_date_from_inherited_source: string; created_at: string; updated_at: string; labels?: string[]; } declare class EpicLinks extends BaseResource { all(groupId: string | number, epicIId: number, options?: BaseRequestOptions & PaginationRequestOptions

): Promise>; assign(groupId: string | number, epicIId: number, childEpicId: number, options?: Sudo & ShowExpanded): Promise>; create(groupId: string | number, epicIId: number, title: string, options?: { confidential?: boolean; } & Sudo & ShowExpanded): Promise>; reorder(groupId: string | number, epicIId: number, childEpicId: number, options?: { moveBeforeId?: number; moveAfterId?: number; } & Sudo & ShowExpanded): Promise>; unassign(groupId: string | number, epicIId: number, childEpicId: number, options?: Sudo & ShowExpanded): Promise>; } interface EpicNoteSchema extends NoteSchema { confidential: boolean; file_name: string; expires_at: string; } interface EpicNotes extends ResourceNotes { all(groupId: string | number, epicId: number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(groupId: string | number, epicId: number, body: string, options?: Sudo & ShowExpanded): Promise>; edit(groupId: string | number, epicId: number, noteId: number, options: { body: string; } & Sudo & ShowExpanded): Promise>; remove(groupId: string | number, epicId: number, noteId: number, options?: Sudo): Promise>; show(groupId: string | number, epicId: number, noteId: number, options?: Sudo & ShowExpanded): Promise>; } declare class EpicNotes extends ResourceNotes { constructor(options: BaseResourceOptions); } interface EpicSchema extends Record { id: number; iid: number; group_id: number; parent_id: number; parent_iid: number; title: string; description: string; state: string; confidential: string; web_url: string; references: { short: string; relative: string; full: string; }; author: Omit; start_date?: string; start_date_is_fixed: boolean; start_date_fixed?: string; start_date_from_inherited_source?: string; due_date: string; due_date_is_fixed: boolean; due_date_fixed?: string; due_date_from_inherited_source: string; created_at: string; updated_at: string; closed_at: string; labels?: string[]; upvotes: number; downvotes: number; _links: { self: string; epic_issues: string; group: string; }; } interface EpicTodoSchema extends TodoSchema { group: Pick; target_type: 'Epic'; target: EpicSchema; } declare class Epics extends BaseResource { all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(groupId: string | number, title: string, options?: BaseRequestOptions): Promise>; createTodo(groupId: string | number, epicIId: number, options?: BaseRequestOptions): Promise>; edit(groupId: string | number, epicIId: number, options?: BaseRequestOptions): Promise, C, E, void>>; remove(groupId: string | number, epicIId: number, options?: Sudo & ShowExpanded): Promise>; show(groupId: string | number, epicIId: number, options?: Sudo & ShowExpanded): Promise>; } interface GroupAccessRequests extends ResourceAccessRequests { all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; request(groupId: string | number, options?: Sudo & ShowExpanded): Promise>; approve(groupId: string | number, userId: number, options?: { accessLevel?: AccessLevel; } & Sudo & ShowExpanded): Promise>; deny(groupId: string | number, userId: number): Promise>; } declare class GroupAccessRequests extends ResourceAccessRequests { constructor(options: BaseResourceOptions); } interface GroupAccessTokens extends ResourceAccessTokens { all(groupId: string | number, options?: BaseRequestOptions & PaginationRequestOptions

): Promise>; create(groupId: string | number, name: string, scopes: AccessTokenScopes[], options?: { accessLevel?: AccessLevel; expiresAt?: string; } & Sudo & ShowExpanded): Promise>; revoke(groupId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded): Promise>; show(groupId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded): Promise>; } declare class GroupAccessTokens extends ResourceAccessTokens { constructor(options: BaseResourceOptions); } interface GroupAnalyticsIssuesCountSchema extends Record { issues_count: number; } interface GroupAnalyticsMRsCountSchema extends Record { merge_requests_count: number; } interface GroupAnalyticsNewMembersCountSchema extends Record { new_members_count: number; } declare class GroupActivityAnalytics extends BaseResource { showIssuesCount(groupPath: string, options?: Sudo & ShowExpanded): Promise>; showMergeRequestsCount(groupPath: string, options?: Sudo & ShowExpanded): Promise>; showNewMembersCount(groupPath: string, options?: Sudo & ShowExpanded): Promise>; } interface GroupBadgeSchema extends BadgeSchema { kind: 'group'; } type GroupBadgePreviewSchema = Omit; interface GroupBadges extends ResourceBadges { add(groupId: string | number, linkUrl: string, imageUrl: string, options?: BaseRequestOptions): Promise>; all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(groupId: string | number, badgeId: number, options?: BaseRequestOptions): Promise>; preview(groupId: string | number, linkUrl: string, imageUrl: string, options?: Sudo & ShowExpanded): Promise>; remove(groupId: string | number, badgeId: number, options?: Sudo & ShowExpanded): Promise>; show(groupId: string | number, badgeId: number, options?: Sudo & ShowExpanded): Promise>; } declare class GroupBadges extends ResourceBadges { constructor(options: BaseResourceOptions); } interface GroupCustomAttributes extends ResourceCustomAttributes { all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; set(groupId: string | number, customAttributeId: string, value: string, options?: Sudo & ShowExpanded): Promise>; remove(groupId: string | number, customAttributeId: string, options?: Sudo): Promise>; show(groupId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded): Promise>; } declare class GroupCustomAttributes extends ResourceCustomAttributes { constructor(options: BaseResourceOptions); } declare class GroupDORA4Metrics extends ResourceDORA4Metrics { constructor(options: BaseResourceOptions); } interface GroupHookSchema extends ExpandedHookSchema { groupId: number; } interface GroupHooks { add(groupId: string | number, url: string, options?: BaseRequestOptions): Promise>; all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(groupId: string | number, hookId: number, url: string, options?: BaseRequestOptions): Promise>; remove(groupId: string | number, hookId: number, options?: Sudo & ShowExpanded): Promise>; show(groupId: string | number, hookId: number, options?: Sudo & ShowExpanded): Promise>; } declare class GroupHooks extends ResourceHooks { constructor(options: BaseResourceOptions); } declare class GroupImportExports extends BaseResource { download(groupId: string | number, options?: Sudo & ShowExpanded): Promise>; import(content: Blob, name: string, path: string, { filename, parentId, ...options }?: { parentId?: number; filename?: string; } & Sudo & ShowExpanded): Promise>; scheduleExport(groupId: string | number, options?: BaseRequestOptions): Promise>; } interface GroupInvitations { add(groupId: string | number, accessLevel: AccessLevel, options: Either<{ email: string; }, { userId: string; }> & BaseRequestOptions): Promise>; all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(groupId: string | number, email: string, options?: BaseRequestOptions): Promise>; remove(groupId: string | number, email: string, options?: Sudo & ShowExpanded): Promise>; } declare class GroupInvitations extends ResourceInvitations { constructor(options: BaseResourceOptions); } interface GrouptIssueBoardSchema extends IssueBoardSchema { group: CondensedGroupSchema; } interface GroupIssueBoards extends ResourceIssueBoards { all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(groupId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; createList(groupId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; edit(groupId: string | number, boardId: number, options?: BaseRequestOptions): Promise>; editList(groupId: string | number, boardId: number, listId: number, position: number, options?: Sudo & ShowExpanded): Promise>; allLists(groupId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; remove(groupId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; removeList(groupId: string | number, boardId: number, listId: number, options?: Sudo & ShowExpanded): Promise>; show(groupId: string | number, boardId: number, options?: Sudo & ShowExpanded): Promise>; showList(groupId: string | number, boardId: number, listId: number, options?: Sudo & ShowExpanded): Promise>; } declare class GroupIssueBoards extends ResourceIssueBoards { constructor(options: BaseResourceOptions); } interface GroupIterations { all(groupId: string | number, options?: { state?: 'opened' | 'upcoming' | 'current' | 'closed' | 'all'; search?: string; includeAncestors?: boolean; } & BaseRequestOptions & PaginationRequestOptions

): Promise>; } declare class GroupIterations extends ResourceIterations { constructor(options: BaseResourceOptions); } interface GroupLabels extends ResourceLabels { all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; create(groupId: string | number, labelName: string, color: string, options?: { description?: string; priority?: number; } & Sudo & ShowExpanded): Promise>; edit(groupId: string | number, labelId: number | string, options: Either<{ newName: string; }, { color: string; }> & { description?: string; priority?: number; } & Sudo & ShowExpanded): Promise>; promote(groupId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; remove(groupId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; show(projectId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; subscribe(groupId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; unsubscribe(groupId: string | number, labelId: number | string, options?: Sudo & ShowExpanded): Promise>; } declare class GroupLabels extends ResourceLabels { constructor(options: BaseResourceOptions); } declare class GroupLDAPLinks extends BaseResource { add(groupId: string | number, groupAccess: number, provider: string, options?: BaseRequestOptions): Promise>; all(groupId: string | number, options: PaginationRequestOptions

& BaseRequestOptions): Promise>; remove(groupId: string | number, provider: string, options?: BaseRequestOptions): Promise>; sync(groupId: string | number, options?: Sudo & ShowExpanded): Promise | Blob | string[] | CamelizedResponse, C> | CamelizedResponse, C>[]>; } interface BillableGroupMemberSchema extends CondensedMemberSchema { last_activity_on: string; membership_type: string; removable: boolean; created_at: string; } interface BillableGroupMemberMembershipSchema extends Record { id: number; source_id: number; source_full_name: string; source_members_url: string; created_at: string; expires_at: string; access_level: { string_value: string; integer_value: AccessLevel; }; } interface OverrodeGroupMemberSchema extends SimpleMemberSchema { override: boolean; } interface GroupMembers extends ResourceMembers { add(projectId: string | number, userId: number, accessLevel: AccessLevel, options?: BaseRequestOptions): Promise>; all(projectId: string | number, options?: IncludeInherited & PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(projectId: string | number, userId: number, accessLevel: AccessLevel, options?: BaseRequestOptions): Promise>; show(projectId: string | number, userId: number, options?: IncludeInherited & Sudo & ShowExpanded): Promise>; remove(projectId: string | number, userId: number, options?: Sudo & ShowExpanded): Promise>; } declare class GroupMembers extends ResourceMembers { constructor(options: BaseResourceOptions); allBillable(groupId: string | number, options: PaginationRequestOptions

& BaseRequestOptions): Promise>; approve(groupId: string | number, userId: number, options: Sudo & ShowExpanded): Promise>; approveAll(groupId: string | number, options: Sudo & ShowExpanded): Promise>; removeBillable(groupId: string | number, userId: number, options?: Sudo & ShowExpanded): Promise>; removeOverrideFlag(groupId: string | number, userId: number, options: Sudo & ShowExpanded): Promise>; setOverrideFlag(groupId: string | number, userId: number, options: Sudo & ShowExpanded): Promise>; allBillableMemberships(groupId: string | number, userId: number, options: Sudo & ShowExpanded): Promise>; } interface GroupMilestones extends ResourceMilestones { all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; allAssignedIssues(groupId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; allAssignedMergeRequests(groupId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; create(groupId: string | number, title: string, options?: { description?: string; dueDate?: string; startDate?: string; } & Sudo & ShowExpanded): Promise>; edit(groupId: string | number, milestoneId: number, options?: { title?: string; description?: string; dueDate?: string; startDate?: string; startEvent?: 'close' | 'activate'; } & Sudo & ShowExpanded): Promise>; remove(groupId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; show(groupId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; showBurndownChartEvents(groupId: string | number, milestoneId: number, options?: Sudo & ShowExpanded): Promise>; } declare class GroupMilestones extends ResourceMilestones { constructor(options: BaseResourceOptions); } interface GroupProtectedEnvironments { all(groupId: string | number, options: { search?: string; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; edit(groupId: string | number, name: string, options?: { deploy_access_levels?: ProtectedEnvironmentAccessLevel[]; required_approval_count?: number; approval_rules?: ProtectedEnvironmentAccessLevel[]; } & Sudo & ShowExpanded): Promise>; protect(groupId: string | number, name: string, deployAccessLevel: ProtectedEnvironmentAccessLevel[], options?: { requiredApprovalCount?: number; } & Sudo & ShowExpanded): Promise>; show(groupId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; unprotect(groupId: string | number, name: string, options?: Sudo & ShowExpanded): Promise>; } declare class GroupProtectedEnvironments extends ResourceProtectedEnvironments { constructor(options: BaseResourceOptions); } interface GroupPushRules extends ResourcePushRules { create(groupId: string | number, options?: BaseRequestOptions): Promise>; edit(groupId: string | number, options?: BaseRequestOptions): Promise>; remove(groupId: string | number, options?: Sudo & ShowExpanded): Promise>; show(groupId: string | number, options?: Sudo & ShowExpanded): Promise>; } declare class GroupPushRules extends ResourcePushRules { constructor(options: BaseResourceOptions); } interface GroupRelationExportStatusSchema extends Record { relation: string; status: number; error?: string; updated_at: string; } declare class GroupRelationExports extends BaseResource { download(groupId: string | number, relation: string, options?: Sudo & ShowExpanded): Promise>; exportStatus(groupId: string | number, options?: Sudo & ShowExpanded): Promise>; scheduleExport(groupId: string | number, options?: BaseRequestOptions): Promise>; } declare class GroupReleases extends BaseResource { all(groupId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; } interface GroupRepositoryStorageMoveSchema extends RepositoryStorageMoveSchema { group: Pick; } interface GroupRepositoryStorageMoves extends ResourceRepositoryStorageMoves { all(options?: { groupId?: string | number; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; show(repositoryStorageId: number, options?: { groupId?: string | number; } & Sudo & ShowExpanded): Promise>; schedule(sourceStorageName: string, options?: { groupId?: string | number; } & Sudo & ShowExpanded): Promise>; } declare class GroupRepositoryStorageMoves extends ResourceRepositoryStorageMoves { constructor(options: BaseResourceOptions); } interface IdentitySchema extends Record { extern_uid: string; user_id: number; } declare class GroupSAMLIdentities extends BaseResource { all(groupId: string | number, options: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(groupId: string | number, identityId: string, options: Sudo & ShowExpanded): Promise>; } declare class GroupSCIMIdentities extends BaseResource { all(groupId: string | number, options: PaginationRequestOptions

& BaseRequestOptions): Promise>; edit(groupId: string | number, identityId: string, options: Sudo & ShowExpanded): Promise>; } interface GroupVariables extends ResourceVariables { all(projectId: string | number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(projectId: string | number, key: string, value: string, options?: { variableType?: VariableType; protected?: boolean; masked?: boolean; environmentScope?: string; } & Sudo & ShowExpanded): Promise>; edit(projectId: string | number, key: string, value: string, options?: { variableType?: VariableType; protected?: boolean; masked?: boolean; environmentScope?: string; } & Sudo & ShowExpanded): Promise>; show(projectId: string | number, key: string, options?: Sudo & ShowExpanded): Promise>; remove(projectId: string | number, key: string, options?: Sudo & ShowExpanded): Promise>; } declare class GroupVariables extends ResourceVariables { constructor(options: BaseResourceOptions); } interface GroupWikis extends ResourceWikis { all(groupId: string | number, options?: { withContent?: boolean; } & Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(groupId: string | number, content: string, title: string, options?: { format?: string; } & Sudo & ShowExpanded): Promise>; edit(groupId: string | number, slug: string, options?: Either<{ content: string; }, { title: string; }> & { format?: string; } & Sudo & ShowExpanded): Promise>; remove(groupId: string | number, slug: string, options?: Sudo & ShowExpanded): Promise>; show(groupId: string | number, slug: string, options?: { renderHtml?: boolean; version?: string; } & Sudo & ShowExpanded): Promise>; uploadAttachment(groupId: string | number, content: Blob, options?: { filename?: string; branch?: string; } & Sudo & ShowExpanded): Promise>; } declare class GroupWikis extends ResourceWikis { constructor(options: BaseResourceOptions); } interface RelatedEpicSchema extends EpicSchema { related_epic_link_id: number; } interface RelatedEpicLinkSchema extends Record { source_epic: RelatedEpicSchema; target_epic: RelatedEpicSchema; } type RelatedEpicLinkType = 'relates_to' | 'blocks' | 'is_blocked_by'; declare class LinkedEpics extends BaseResource { all(groupId: string | number, epicIId: number, options?: Sudo & ShowExpanded & PaginationRequestOptions

): Promise>; create(groupId: string | number, epicIId: number, targetEpicIId: string | number, targetGroupId: string | number, options?: { link_type?: RelatedEpicLinkType; } & Sudo & ShowExpanded): Promise>; remove(groupId: string | number, epicIId: number, relatedEpicLinkId: string | number, options?: Sudo & ShowExpanded): Promise>; } interface UserCustomAttributes extends ResourceCustomAttributes { all(userId: string | number, options?: PaginationRequestOptions

& BaseRequestOptions): Promise>; set(userId: string | number, customAttributeId: string, value: string, options?: Sudo & ShowExpanded): Promise>; remove(userId: string | number, customAttributeId: string, options?: Sudo): Promise>; show(userId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded): Promise>; } declare class UserCustomAttributes extends ResourceCustomAttributes { constructor(options: BaseResourceOptions); } interface UserEmailSchema extends Record { id: number; email: string; confirmed_at: string; } declare class UserEmails extends BaseResource { add(email: string, options?: { userId?: number; } & Sudo & ShowExpanded): Promise>; all({ userId, ...options }?: { userId?: number; } & Sudo & ShowExpanded): Promise>; create(email: string, { userId, ...options }?: { userId?: number; } & Sudo & ShowExpanded): Promise>; show(emailId: number, options?: Sudo & ShowExpanded): Promise>; remove(emailId: number, { userId, ...options }?: { userId?: number; } & Sudo & ShowExpanded): Promise>; } interface UserGPGKeySchema extends Record { id: number; key: string; created_at: string; } declare class UserGPGKeys extends BaseResource { add(key: string, options?: { userId?: number; } & Sudo & ShowExpanded): Promise>; all({ userId, ...options }?: { userId?: number; } & Sudo & ShowExpanded): Promise>; create(key: string, { userId, ...options }?: { userId?: number; } & Sudo & ShowExpanded): Promise>; show(keyId: number, { userId, ...options }?: { userId?: number; } & Sudo & ShowExpanded): Promise>; remove(keyId: number, { userId, ...options }?: { userId?: number; } & Sudo & ShowExpanded): Promise>; } type ImpersonationTokenScope = 'api' | 'read_user'; type ImpersonationTokenState = 'all' | 'active' | 'inactive'; interface UserImpersonationTokenSchema extends Record { active: boolean; user_id: number; scopes?: string[]; revoked: boolean; name: string; id: number; created_at: string; impersonation: boolean; expires_at: string; } declare class UserImpersonationTokens extends BaseResource { all(userId: number, options?: { state?: ImpersonationTokenState; } & PaginationRequestOptions

& BaseRequestOptions): Promise>; create(userId: number, name: string, scopes: ImpersonationTokenScope[], options?: { expiresAt?: string; } & Sudo & ShowExpanded): Promise>; show(userId: number, tokenId: number, options?: Sudo & ShowExpanded): Promise>; remove(userId: number, tokenId: number, options?: Sudo & ShowExpanded): Promise>; revoke(userId: number, tokenId: number, options?: Sudo & ShowExpanded): Promise>; } interface UserSSHKeySchema extends Record { id: number; key: string; title: string; created_at: string; } declare class UserSSHKeys extends BaseResource { add(title: string, key: string, options?: { userId?: number; expiresAt?: string; } & Sudo & ShowExpanded): Promise>; all({ userId, ...options }?: { userId?: number; } & Sudo & ShowExpanded): Promise>; create(title: string, key: string, { userId, ...options }?: { userId?: number; expiresAt?: string; } & Sudo & ShowExpanded): Promise>; show(keyId: number, { userId, ...options }?: { userId?: number; } & Sudo & ShowExpanded): Promise>; remove(keyId: number, { userId, ...options }?: { userId?: number; } & Sudo & ShowExpanded): Promise>; } interface Gitlab extends BaseResource { Agents: Agents; AlertManagement: AlertManagement; ApplicationAppearance: ApplicationAppearance; ApplicationPlanLimits: ApplicationPlanLimits; Applications: Applications; ApplicationSettings: ApplicationSettings; ApplicationStatistics: ApplicationStatistics; AuditEvents: AuditEvents; Avatar: Avatar; BroadcastMessages: BroadcastMessages; Composer: Composer; Conan: Conan; DashboardAnnotations: DashboardAnnotations; Debian: Debian; DependencyProxy: DependencyProxy; DeployKeys: DeployKeys; DeployTokens: DeployTokens; DockerfileTemplates: DockerfileTemplates; Events: Events; Experiments: Experiments; GeoNodes: GeoNodes; GitignoreTemplates: GitignoreTemplates; GitLabCIYMLTemplates: GitLabCIYMLTemplates; Import: Import; InstanceLevelCICDVariables: InstanceLevelCICDVariables; Keys: Keys; License: License; LicenseTemplates: LicenseTemplates; Lint: Lint; ManagedLicenses: ManagedLicenses; Markdown: Markdown; Maven: Maven; Metadata: Metadata; Migrations: Migrations; Namespaces: Namespaces; NotificationSettings: NotificationSettings; NPM: NPM; NuGet: NuGet; PersonalAccessTokens: PersonalAccessTokens; PyPI: PyPI; Search: Search; ServiceData: ServiceData; SidekiqMetrics: SidekiqMetrics; SidekiqQueues: SidekiqQueues; SnippetRepositoryStorageMoves: SnippetRepositoryStorageMoves; Snippets: Snippets; Suggestions: Suggestions; SystemHooks: SystemHooks; TodoLists: TodoLists; Topics: Topics; Version: Version; Vulnerabilities: Vulnerabilities; Branches: Branches; CommitDiscussions: CommitDiscussions; Commits: Commits; ContainerRegistry: ContainerRegistry; Deployments: Deployments; Environments: Environments; ErrorTrackingClientKeys: ErrorTrackingClientKeys; ErrorTrackingSettings: ErrorTrackingSettings; ExternalStatusChecks: ExternalStatusChecks; FeatureFlags: FeatureFlags; FeatureFlagUserLists: FeatureFlagUserLists; FreezePeriods: FreezePeriods; GitlabPages: GitlabPages; GoProxy: GoProxy; Helm: Helm; Integrations: Integrations; IssueAwardEmojis: IssueAwardEmojis; IssueDiscussions: IssueDiscussions; IssueIterationEvents: IssueIterationEvents; IssueLabelEvents: IssueLabelEvents; IssueLinks: IssueLinks; IssueMilestoneEvents: IssueMilestoneEvents; IssueNoteAwardEmojis: IssueNoteAwardEmojis; IssueNotes: IssueNotes; Issues: Issues; IssuesStatistics: IssuesStatistics; IssueStateEvents: IssueStateEvents; IssueWeightEvents: IssueWeightEvents; JobArtifacts: JobArtifacts; Jobs: Jobs; MergeRequestApprovals: MergeRequestApprovals; MergeRequestAwardEmojis: MergeRequestAwardEmojis; MergeRequestContextCommits: MergeRequestContextCommits; MergeRequestDiscussions: MergeRequestDiscussions; MergeRequestLabelEvents: MergeRequestLabelEvents; MergeRequestMilestoneEvents: MergeRequestMilestoneEvents; MergeRequestNotes: MergeRequestNotes; MergeRequests: MergeRequests; MergeTrains: MergeTrains; PackageRegistry: PackageRegistry; Packages: Packages; PagesDomains: PagesDomains; Pipelines: Pipelines; PipelineSchedules: PipelineSchedules; PipelineScheduleVariables: PipelineScheduleVariables; PipelineTriggerTokens: PipelineTriggerTokens; ProductAnalytics: ProductAnalytics; ProjectAccessRequests: ProjectAccessRequests; ProjectAccessTokens: ProjectAccessTokens; ProjectAliases: ProjectAliases; ProjectBadges: ProjectBadges; ProjectCustomAttributes: ProjectCustomAttributes; ProjectDORA4Metrics: ProjectDORA4Metrics; ProjectHooks: ProjectHooks; ProjectImportExport: ProjectImportExport; ProjectInvitations: ProjectInvitations; ProjectIssueBoards: ProjectIssueBoards; ProjectIterations: ProjectIterations; ProjectLabels: ProjectLabels; ProjectMembers: ProjectMembers; ProjectMilestones: ProjectMilestones; ProjectProtectedEnvironments: ProjectProtectedEnvironments; ProjectPushRules: ProjectPushRules; ProjectRelationsExport: ProjectRelationsExport; ProjectReleases: ProjectReleases; ProjectRemoteMirrors: ProjectRemoteMirrors; ProjectRepositoryStorageMoves: ProjectRepositoryStorageMoves; Projects: Projects; ProjectSnippetAwardEmojis: ProjectSnippetAwardEmojis; ProjectSnippetDiscussions: ProjectSnippetDiscussions; ProjectSnippetNotes: ProjectSnippetNotes; ProjectSnippets: ProjectSnippets; ProjectStatistics: ProjectStatistics; ProjectTemplates: ProjectTemplates; ProjectVariables: ProjectVariables; ProjectVulnerabilities: ProjectVulnerabilities; ProjectWikis: ProjectWikis; ProtectedBranches: ProtectedBranches; ProtectedTags: ProtectedTags; ReleaseLinks: ReleaseLinks; Repositories: Repositories; RepositoryFiles: RepositoryFiles; RepositorySubmodules: RepositorySubmodules; ResourceGroups: ResourceGroups; Runners: Runners; SecureFiles: SecureFiles; Tags: Tags; UserStarredMetricsDashboard: UserStarredMetricsDashboard; VisualReviewDiscussions: VisualReviewDiscussions; VulnerabilityFindings: VulnerabilityFindings; EpicAwardEmojis: EpicAwardEmojis; EpicDiscussions: EpicDiscussions; EpicIssues: EpicIssues; EpicLabelEvents: EpicLabelEvents; EpicLinks: EpicLinks; EpicNotes: EpicNotes; Epics: Epics; GroupAccessRequests: GroupAccessRequests; GroupAccessTokens: GroupAccessTokens; GroupActivityAnalytics: GroupActivityAnalytics; GroupBadges: GroupBadges; GroupCustomAttributes: GroupCustomAttributes; GroupDORA4Metrics: GroupDORA4Metrics; GroupHooks: GroupHooks; GroupImportExports: GroupImportExports; GroupInvitations: GroupInvitations; GroupIssueBoards: GroupIssueBoards; GroupIterations: GroupIterations; GroupLabels: GroupLabels; GroupLDAPLinks: GroupLDAPLinks; GroupMembers: GroupMembers; GroupMilestones: GroupMilestones; GroupProtectedEnvironments: GroupProtectedEnvironments; GroupPushRules: GroupPushRules; GroupRelationExports: GroupRelationExports; GroupReleases: GroupReleases; GroupRepositoryStorageMoves: GroupRepositoryStorageMoves; Groups: Groups; GroupSAMLIdentities: GroupSAMLIdentities; GroupSCIMIdentities: GroupSCIMIdentities; GroupVariables: GroupVariables; GroupWikis: GroupWikis; LinkedEpics: LinkedEpics; UserCustomAttributes: UserCustomAttributes; UserEmails: UserEmails; UserGPGKeys: UserGPGKeys; UserImpersonationTokens: UserImpersonationTokens; Users: Users; UserSSHKeys: UserSSHKeys; } declare class Gitlab extends BaseResource { constructor(options: BaseResourceOptions); } type index_Agents = Agents; declare const index_Agents: typeof Agents; type index_AlertManagement = AlertManagement; declare const index_AlertManagement: typeof AlertManagement; type index_ApplicationAppearance = ApplicationAppearance; declare const index_ApplicationAppearance: typeof ApplicationAppearance; type index_ApplicationPlanLimits = ApplicationPlanLimits; declare const index_ApplicationPlanLimits: typeof ApplicationPlanLimits; type index_ApplicationSettings = ApplicationSettings; declare const index_ApplicationSettings: typeof ApplicationSettings; type index_ApplicationStatistics = ApplicationStatistics; declare const index_ApplicationStatistics: typeof ApplicationStatistics; type index_Applications = Applications; declare const index_Applications: typeof Applications; type index_AuditEvents = AuditEvents; declare const index_AuditEvents: typeof AuditEvents; type index_Avatar = Avatar; declare const index_Avatar: typeof Avatar; type index_Branches = Branches; declare const index_Branches: typeof Branches; type index_BroadcastMessages = BroadcastMessages; declare const index_BroadcastMessages: typeof BroadcastMessages; type index_CommitDiscussions = CommitDiscussions; declare const index_CommitDiscussions: typeof CommitDiscussions; type index_Commits = Commits; declare const index_Commits: typeof Commits; type index_Composer = Composer; declare const index_Composer: typeof Composer; type index_Conan = Conan; declare const index_Conan: typeof Conan; type index_ContainerRegistry = ContainerRegistry; declare const index_ContainerRegistry: typeof ContainerRegistry; type index_DashboardAnnotations = DashboardAnnotations; declare const index_DashboardAnnotations: typeof DashboardAnnotations; type index_Debian = Debian; declare const index_Debian: typeof Debian; type index_DependencyProxy = DependencyProxy; declare const index_DependencyProxy: typeof DependencyProxy; type index_DeployKeys = DeployKeys; declare const index_DeployKeys: typeof DeployKeys; type index_DeployTokens = DeployTokens; declare const index_DeployTokens: typeof DeployTokens; type index_Deployments = Deployments; declare const index_Deployments: typeof Deployments; type index_DockerfileTemplates = DockerfileTemplates; declare const index_DockerfileTemplates: typeof DockerfileTemplates; type index_Environments = Environments; declare const index_Environments: typeof Environments; type index_EpicAwardEmojis = EpicAwardEmojis; declare const index_EpicAwardEmojis: typeof EpicAwardEmojis; type index_EpicDiscussions = EpicDiscussions; declare const index_EpicDiscussions: typeof EpicDiscussions; type index_EpicIssues = EpicIssues; declare const index_EpicIssues: typeof EpicIssues; type index_EpicLabelEvents = EpicLabelEvents; declare const index_EpicLabelEvents: typeof EpicLabelEvents; type index_EpicLinks = EpicLinks; declare const index_EpicLinks: typeof EpicLinks; type index_EpicNotes = EpicNotes; declare const index_EpicNotes: typeof EpicNotes; type index_Epics = Epics; declare const index_Epics: typeof Epics; type index_ErrorTrackingClientKeys = ErrorTrackingClientKeys; declare const index_ErrorTrackingClientKeys: typeof ErrorTrackingClientKeys; type index_ErrorTrackingSettings = ErrorTrackingSettings; declare const index_ErrorTrackingSettings: typeof ErrorTrackingSettings; type index_Events = Events; declare const index_Events: typeof Events; type index_Experiments = Experiments; declare const index_Experiments: typeof Experiments; type index_ExternalStatusChecks = ExternalStatusChecks; declare const index_ExternalStatusChecks: typeof ExternalStatusChecks; type index_FeatureFlagUserLists = FeatureFlagUserLists; declare const index_FeatureFlagUserLists: typeof FeatureFlagUserLists; type index_FeatureFlags = FeatureFlags; declare const index_FeatureFlags: typeof FeatureFlags; type index_FreezePeriods = FreezePeriods; declare const index_FreezePeriods: typeof FreezePeriods; type index_GeoNodes = GeoNodes; declare const index_GeoNodes: typeof GeoNodes; type index_GitLabCIYMLTemplates = GitLabCIYMLTemplates; declare const index_GitLabCIYMLTemplates: typeof GitLabCIYMLTemplates; type index_GitignoreTemplates = GitignoreTemplates; declare const index_GitignoreTemplates: typeof GitignoreTemplates; type index_Gitlab = Gitlab; declare const index_Gitlab: typeof Gitlab; type index_GitlabPages = GitlabPages; declare const index_GitlabPages: typeof GitlabPages; type index_GoProxy = GoProxy; declare const index_GoProxy: typeof GoProxy; type index_GroupAccessRequests = GroupAccessRequests; declare const index_GroupAccessRequests: typeof GroupAccessRequests; type index_GroupAccessTokens = GroupAccessTokens; declare const index_GroupAccessTokens: typeof GroupAccessTokens; type index_GroupActivityAnalytics = GroupActivityAnalytics; declare const index_GroupActivityAnalytics: typeof GroupActivityAnalytics; type index_GroupBadges = GroupBadges; declare const index_GroupBadges: typeof GroupBadges; type index_GroupCustomAttributes = GroupCustomAttributes; declare const index_GroupCustomAttributes: typeof GroupCustomAttributes; type index_GroupDORA4Metrics = GroupDORA4Metrics; declare const index_GroupDORA4Metrics: typeof GroupDORA4Metrics; type index_GroupHooks = GroupHooks; declare const index_GroupHooks: typeof GroupHooks; type index_GroupImportExports = GroupImportExports; declare const index_GroupImportExports: typeof GroupImportExports; type index_GroupInvitations = GroupInvitations; declare const index_GroupInvitations: typeof GroupInvitations; type index_GroupIssueBoards = GroupIssueBoards; declare const index_GroupIssueBoards: typeof GroupIssueBoards; type index_GroupIterations = GroupIterations; declare const index_GroupIterations: typeof GroupIterations; type index_GroupLDAPLinks = GroupLDAPLinks; declare const index_GroupLDAPLinks: typeof GroupLDAPLinks; type index_GroupLabels = GroupLabels; declare const index_GroupLabels: typeof GroupLabels; type index_GroupMembers = GroupMembers; declare const index_GroupMembers: typeof GroupMembers; type index_GroupMilestones = GroupMilestones; declare const index_GroupMilestones: typeof GroupMilestones; type index_GroupProtectedEnvironments = GroupProtectedEnvironments; declare const index_GroupProtectedEnvironments: typeof GroupProtectedEnvironments; type index_GroupPushRules = GroupPushRules; declare const index_GroupPushRules: typeof GroupPushRules; type index_GroupRelationExports = GroupRelationExports; declare const index_GroupRelationExports: typeof GroupRelationExports; type index_GroupReleases = GroupReleases; declare const index_GroupReleases: typeof GroupReleases; type index_GroupRepositoryStorageMoves = GroupRepositoryStorageMoves; declare const index_GroupRepositoryStorageMoves: typeof GroupRepositoryStorageMoves; type index_GroupSAMLIdentities = GroupSAMLIdentities; declare const index_GroupSAMLIdentities: typeof GroupSAMLIdentities; type index_GroupSCIMIdentities = GroupSCIMIdentities; declare const index_GroupSCIMIdentities: typeof GroupSCIMIdentities; type index_GroupVariables = GroupVariables; declare const index_GroupVariables: typeof GroupVariables; type index_GroupWikis = GroupWikis; declare const index_GroupWikis: typeof GroupWikis; type index_Groups = Groups; declare const index_Groups: typeof Groups; type index_Helm = Helm; declare const index_Helm: typeof Helm; type index_Import = Import; declare const index_Import: typeof Import; type index_InstanceLevelCICDVariables = InstanceLevelCICDVariables; declare const index_InstanceLevelCICDVariables: typeof InstanceLevelCICDVariables; type index_Integrations = Integrations; declare const index_Integrations: typeof Integrations; type index_IssueAwardEmojis = IssueAwardEmojis; declare const index_IssueAwardEmojis: typeof IssueAwardEmojis; type index_IssueDiscussions = IssueDiscussions; declare const index_IssueDiscussions: typeof IssueDiscussions; type index_IssueIterationEvents = IssueIterationEvents; declare const index_IssueIterationEvents: typeof IssueIterationEvents; type index_IssueLabelEvents = IssueLabelEvents; declare const index_IssueLabelEvents: typeof IssueLabelEvents; type index_IssueLinks = IssueLinks; declare const index_IssueLinks: typeof IssueLinks; type index_IssueMilestoneEvents = IssueMilestoneEvents; declare const index_IssueMilestoneEvents: typeof IssueMilestoneEvents; type index_IssueNoteAwardEmojis = IssueNoteAwardEmojis; declare const index_IssueNoteAwardEmojis: typeof IssueNoteAwardEmojis; type index_IssueNotes = IssueNotes; declare const index_IssueNotes: typeof IssueNotes; type index_IssueStateEvents = IssueStateEvents; declare const index_IssueStateEvents: typeof IssueStateEvents; type index_IssueWeightEvents = IssueWeightEvents; declare const index_IssueWeightEvents: typeof IssueWeightEvents; type index_Issues = Issues; declare const index_Issues: typeof Issues; type index_IssuesStatistics = IssuesStatistics; declare const index_IssuesStatistics: typeof IssuesStatistics; type index_JobArtifacts = JobArtifacts; declare const index_JobArtifacts: typeof JobArtifacts; type index_Jobs = Jobs; declare const index_Jobs: typeof Jobs; type index_Keys = Keys; declare const index_Keys: typeof Keys; type index_License = License; declare const index_License: typeof License; type index_LicenseTemplates = LicenseTemplates; declare const index_LicenseTemplates: typeof LicenseTemplates; type index_LinkedEpics = LinkedEpics; declare const index_LinkedEpics: typeof LinkedEpics; type index_Lint = Lint; declare const index_Lint: typeof Lint; type index_ManagedLicenses = ManagedLicenses; declare const index_ManagedLicenses: typeof ManagedLicenses; type index_Markdown = Markdown; declare const index_Markdown: typeof Markdown; type index_Maven = Maven; declare const index_Maven: typeof Maven; type index_MergeRequestApprovals = MergeRequestApprovals; declare const index_MergeRequestApprovals: typeof MergeRequestApprovals; type index_MergeRequestAwardEmojis = MergeRequestAwardEmojis; declare const index_MergeRequestAwardEmojis: typeof MergeRequestAwardEmojis; type index_MergeRequestContextCommits = MergeRequestContextCommits; declare const index_MergeRequestContextCommits: typeof MergeRequestContextCommits; type index_MergeRequestDiscussions = MergeRequestDiscussions; declare const index_MergeRequestDiscussions: typeof MergeRequestDiscussions; type index_MergeRequestLabelEvents = MergeRequestLabelEvents; declare const index_MergeRequestLabelEvents: typeof MergeRequestLabelEvents; type index_MergeRequestMilestoneEvents = MergeRequestMilestoneEvents; declare const index_MergeRequestMilestoneEvents: typeof MergeRequestMilestoneEvents; type index_MergeRequestNotes = MergeRequestNotes; declare const index_MergeRequestNotes: typeof MergeRequestNotes; type index_MergeRequests = MergeRequests; declare const index_MergeRequests: typeof MergeRequests; type index_MergeTrains = MergeTrains; declare const index_MergeTrains: typeof MergeTrains; type index_Metadata = Metadata; declare const index_Metadata: typeof Metadata; type index_Migrations = Migrations; declare const index_Migrations: typeof Migrations; type index_NPM = NPM; declare const index_NPM: typeof NPM; type index_Namespaces = Namespaces; declare const index_Namespaces: typeof Namespaces; type index_NotificationSettings = NotificationSettings; declare const index_NotificationSettings: typeof NotificationSettings; type index_NuGet = NuGet; declare const index_NuGet: typeof NuGet; type index_PackageRegistry = PackageRegistry; declare const index_PackageRegistry: typeof PackageRegistry; type index_Packages = Packages; declare const index_Packages: typeof Packages; type index_PagesDomains = PagesDomains; declare const index_PagesDomains: typeof PagesDomains; type index_PersonalAccessTokens = PersonalAccessTokens; declare const index_PersonalAccessTokens: typeof PersonalAccessTokens; type index_PipelineScheduleVariables = PipelineScheduleVariables; declare const index_PipelineScheduleVariables: typeof PipelineScheduleVariables; type index_PipelineSchedules = PipelineSchedules; declare const index_PipelineSchedules: typeof PipelineSchedules; type index_PipelineTriggerTokens = PipelineTriggerTokens; declare const index_PipelineTriggerTokens: typeof PipelineTriggerTokens; type index_Pipelines = Pipelines; declare const index_Pipelines: typeof Pipelines; type index_ProductAnalytics = ProductAnalytics; declare const index_ProductAnalytics: typeof ProductAnalytics; type index_ProjectAccessRequests = ProjectAccessRequests; declare const index_ProjectAccessRequests: typeof ProjectAccessRequests; type index_ProjectAccessTokens = ProjectAccessTokens; declare const index_ProjectAccessTokens: typeof ProjectAccessTokens; type index_ProjectAliases = ProjectAliases; declare const index_ProjectAliases: typeof ProjectAliases; type index_ProjectBadges = ProjectBadges; declare const index_ProjectBadges: typeof ProjectBadges; type index_ProjectCustomAttributes = ProjectCustomAttributes; declare const index_ProjectCustomAttributes: typeof ProjectCustomAttributes; type index_ProjectDORA4Metrics = ProjectDORA4Metrics; declare const index_ProjectDORA4Metrics: typeof ProjectDORA4Metrics; type index_ProjectHooks = ProjectHooks; declare const index_ProjectHooks: typeof ProjectHooks; type index_ProjectImportExport = ProjectImportExport; declare const index_ProjectImportExport: typeof ProjectImportExport; type index_ProjectInvitations = ProjectInvitations; declare const index_ProjectInvitations: typeof ProjectInvitations; type index_ProjectIssueBoards = ProjectIssueBoards; declare const index_ProjectIssueBoards: typeof ProjectIssueBoards; type index_ProjectIterations = ProjectIterations; declare const index_ProjectIterations: typeof ProjectIterations; type index_ProjectLabels = ProjectLabels; declare const index_ProjectLabels: typeof ProjectLabels; type index_ProjectMembers = ProjectMembers; declare const index_ProjectMembers: typeof ProjectMembers; type index_ProjectMilestones = ProjectMilestones; declare const index_ProjectMilestones: typeof ProjectMilestones; type index_ProjectProtectedEnvironments = ProjectProtectedEnvironments; declare const index_ProjectProtectedEnvironments: typeof ProjectProtectedEnvironments; type index_ProjectPushRules = ProjectPushRules; declare const index_ProjectPushRules: typeof ProjectPushRules; type index_ProjectRelationsExport = ProjectRelationsExport; declare const index_ProjectRelationsExport: typeof ProjectRelationsExport; type index_ProjectReleases = ProjectReleases; declare const index_ProjectReleases: typeof ProjectReleases; type index_ProjectRemoteMirrors = ProjectRemoteMirrors; declare const index_ProjectRemoteMirrors: typeof ProjectRemoteMirrors; type index_ProjectRepositoryStorageMoves = ProjectRepositoryStorageMoves; declare const index_ProjectRepositoryStorageMoves: typeof ProjectRepositoryStorageMoves; type index_ProjectSnippetAwardEmojis = ProjectSnippetAwardEmojis; declare const index_ProjectSnippetAwardEmojis: typeof ProjectSnippetAwardEmojis; type index_ProjectSnippetDiscussions = ProjectSnippetDiscussions; declare const index_ProjectSnippetDiscussions: typeof ProjectSnippetDiscussions; type index_ProjectSnippetNotes = ProjectSnippetNotes; declare const index_ProjectSnippetNotes: typeof ProjectSnippetNotes; type index_ProjectSnippets = ProjectSnippets; declare const index_ProjectSnippets: typeof ProjectSnippets; type index_ProjectStatistics = ProjectStatistics; declare const index_ProjectStatistics: typeof ProjectStatistics; type index_ProjectTemplates = ProjectTemplates; declare const index_ProjectTemplates: typeof ProjectTemplates; type index_ProjectVariables = ProjectVariables; declare const index_ProjectVariables: typeof ProjectVariables; type index_ProjectVulnerabilities = ProjectVulnerabilities; declare const index_ProjectVulnerabilities: typeof ProjectVulnerabilities; type index_ProjectWikis = ProjectWikis; declare const index_ProjectWikis: typeof ProjectWikis; type index_Projects = Projects; declare const index_Projects: typeof Projects; type index_ProtectedBranches = ProtectedBranches; declare const index_ProtectedBranches: typeof ProtectedBranches; type index_ProtectedTags = ProtectedTags; declare const index_ProtectedTags: typeof ProtectedTags; type index_PyPI = PyPI; declare const index_PyPI: typeof PyPI; type index_ReleaseLinks = ReleaseLinks; declare const index_ReleaseLinks: typeof ReleaseLinks; type index_Repositories = Repositories; declare const index_Repositories: typeof Repositories; type index_RepositoryFiles = RepositoryFiles; declare const index_RepositoryFiles: typeof RepositoryFiles; type index_RepositorySubmodules = RepositorySubmodules; declare const index_RepositorySubmodules: typeof RepositorySubmodules; type index_ResourceGroups = ResourceGroups; declare const index_ResourceGroups: typeof ResourceGroups; type index_Runners = Runners; declare const index_Runners: typeof Runners; type index_Search = Search; declare const index_Search: typeof Search; type index_SecureFiles = SecureFiles; declare const index_SecureFiles: typeof SecureFiles; type index_ServiceData = ServiceData; declare const index_ServiceData: typeof ServiceData; type index_SidekiqMetrics = SidekiqMetrics; declare const index_SidekiqMetrics: typeof SidekiqMetrics; type index_SidekiqQueues = SidekiqQueues; declare const index_SidekiqQueues: typeof SidekiqQueues; type index_SnippetRepositoryStorageMoves = SnippetRepositoryStorageMoves; declare const index_SnippetRepositoryStorageMoves: typeof SnippetRepositoryStorageMoves; type index_Snippets = Snippets; declare const index_Snippets: typeof Snippets; type index_Suggestions = Suggestions; declare const index_Suggestions: typeof Suggestions; type index_SystemHooks = SystemHooks; declare const index_SystemHooks: typeof SystemHooks; type index_Tags = Tags; declare const index_Tags: typeof Tags; type index_TodoLists = TodoLists; declare const index_TodoLists: typeof TodoLists; type index_Topics = Topics; declare const index_Topics: typeof Topics; type index_UserCustomAttributes = UserCustomAttributes; declare const index_UserCustomAttributes: typeof UserCustomAttributes; type index_UserEmails = UserEmails; declare const index_UserEmails: typeof UserEmails; type index_UserGPGKeys = UserGPGKeys; declare const index_UserGPGKeys: typeof UserGPGKeys; type index_UserImpersonationTokens = UserImpersonationTokens; declare const index_UserImpersonationTokens: typeof UserImpersonationTokens; type index_UserSSHKeys = UserSSHKeys; declare const index_UserSSHKeys: typeof UserSSHKeys; type index_UserStarredMetricsDashboard = UserStarredMetricsDashboard; declare const index_UserStarredMetricsDashboard: typeof UserStarredMetricsDashboard; type index_Users = Users; declare const index_Users: typeof Users; type index_Version = Version; declare const index_Version: typeof Version; type index_VisualReviewDiscussions = VisualReviewDiscussions; declare const index_VisualReviewDiscussions: typeof VisualReviewDiscussions; type index_Vulnerabilities = Vulnerabilities; declare const index_Vulnerabilities: typeof Vulnerabilities; type index_VulnerabilityFindings = VulnerabilityFindings; declare const index_VulnerabilityFindings: typeof VulnerabilityFindings; declare namespace index { export { index_Agents as Agents, index_AlertManagement as AlertManagement, index_ApplicationAppearance as ApplicationAppearance, index_ApplicationPlanLimits as ApplicationPlanLimits, index_ApplicationSettings as ApplicationSettings, index_ApplicationStatistics as ApplicationStatistics, index_Applications as Applications, index_AuditEvents as AuditEvents, index_Avatar as Avatar, index_Branches as Branches, index_BroadcastMessages as BroadcastMessages, index_CommitDiscussions as CommitDiscussions, index_Commits as Commits, index_Composer as Composer, index_Conan as Conan, index_ContainerRegistry as ContainerRegistry, index_DashboardAnnotations as DashboardAnnotations, index_Debian as Debian, index_DependencyProxy as DependencyProxy, index_DeployKeys as DeployKeys, index_DeployTokens as DeployTokens, index_Deployments as Deployments, index_DockerfileTemplates as DockerfileTemplates, index_Environments as Environments, index_EpicAwardEmojis as EpicAwardEmojis, index_EpicDiscussions as EpicDiscussions, index_EpicIssues as EpicIssues, index_EpicLabelEvents as EpicLabelEvents, index_EpicLinks as EpicLinks, index_EpicNotes as EpicNotes, index_Epics as Epics, index_ErrorTrackingClientKeys as ErrorTrackingClientKeys, index_ErrorTrackingSettings as ErrorTrackingSettings, index_Events as Events, index_Experiments as Experiments, index_ExternalStatusChecks as ExternalStatusChecks, index_FeatureFlagUserLists as FeatureFlagUserLists, index_FeatureFlags as FeatureFlags, index_FreezePeriods as FreezePeriods, index_GeoNodes as GeoNodes, index_GitLabCIYMLTemplates as GitLabCIYMLTemplates, index_GitignoreTemplates as GitignoreTemplates, index_Gitlab as Gitlab, index_GitlabPages as GitlabPages, index_GoProxy as GoProxy, index_GroupAccessRequests as GroupAccessRequests, index_GroupAccessTokens as GroupAccessTokens, index_GroupActivityAnalytics as GroupActivityAnalytics, index_GroupBadges as GroupBadges, index_GroupCustomAttributes as GroupCustomAttributes, index_GroupDORA4Metrics as GroupDORA4Metrics, index_GroupHooks as GroupHooks, index_GroupImportExports as GroupImportExports, index_GroupInvitations as GroupInvitations, index_GroupIssueBoards as GroupIssueBoards, index_GroupIterations as GroupIterations, index_GroupLDAPLinks as GroupLDAPLinks, index_GroupLabels as GroupLabels, index_GroupMembers as GroupMembers, index_GroupMilestones as GroupMilestones, index_GroupProtectedEnvironments as GroupProtectedEnvironments, index_GroupPushRules as GroupPushRules, index_GroupRelationExports as GroupRelationExports, index_GroupReleases as GroupReleases, index_GroupRepositoryStorageMoves as GroupRepositoryStorageMoves, index_GroupSAMLIdentities as GroupSAMLIdentities, index_GroupSCIMIdentities as GroupSCIMIdentities, index_GroupVariables as GroupVariables, index_GroupWikis as GroupWikis, index_Groups as Groups, index_Helm as Helm, index_Import as Import, index_InstanceLevelCICDVariables as InstanceLevelCICDVariables, index_Integrations as Integrations, index_IssueAwardEmojis as IssueAwardEmojis, index_IssueDiscussions as IssueDiscussions, index_IssueIterationEvents as IssueIterationEvents, index_IssueLabelEvents as IssueLabelEvents, index_IssueLinks as IssueLinks, index_IssueMilestoneEvents as IssueMilestoneEvents, index_IssueNoteAwardEmojis as IssueNoteAwardEmojis, index_IssueNotes as IssueNotes, index_IssueStateEvents as IssueStateEvents, index_IssueWeightEvents as IssueWeightEvents, index_Issues as Issues, index_IssuesStatistics as IssuesStatistics, index_JobArtifacts as JobArtifacts, index_Jobs as Jobs, index_Keys as Keys, index_License as License, index_LicenseTemplates as LicenseTemplates, index_LinkedEpics as LinkedEpics, index_Lint as Lint, index_ManagedLicenses as ManagedLicenses, index_Markdown as Markdown, index_Maven as Maven, index_MergeRequestApprovals as MergeRequestApprovals, index_MergeRequestAwardEmojis as MergeRequestAwardEmojis, index_MergeRequestContextCommits as MergeRequestContextCommits, index_MergeRequestDiscussions as MergeRequestDiscussions, index_MergeRequestLabelEvents as MergeRequestLabelEvents, index_MergeRequestMilestoneEvents as MergeRequestMilestoneEvents, index_MergeRequestNotes as MergeRequestNotes, index_MergeRequests as MergeRequests, index_MergeTrains as MergeTrains, index_Metadata as Metadata, index_Migrations as Migrations, index_NPM as NPM, index_Namespaces as Namespaces, index_NotificationSettings as NotificationSettings, index_NuGet as NuGet, index_PackageRegistry as PackageRegistry, index_Packages as Packages, index_PagesDomains as PagesDomains, index_PersonalAccessTokens as PersonalAccessTokens, index_PipelineScheduleVariables as PipelineScheduleVariables, index_PipelineSchedules as PipelineSchedules, index_PipelineTriggerTokens as PipelineTriggerTokens, index_Pipelines as Pipelines, index_ProductAnalytics as ProductAnalytics, index_ProjectAccessRequests as ProjectAccessRequests, index_ProjectAccessTokens as ProjectAccessTokens, index_ProjectAliases as ProjectAliases, index_ProjectBadges as ProjectBadges, index_ProjectCustomAttributes as ProjectCustomAttributes, index_ProjectDORA4Metrics as ProjectDORA4Metrics, index_ProjectHooks as ProjectHooks, index_ProjectImportExport as ProjectImportExport, index_ProjectInvitations as ProjectInvitations, index_ProjectIssueBoards as ProjectIssueBoards, index_ProjectIterations as ProjectIterations, index_ProjectLabels as ProjectLabels, index_ProjectMembers as ProjectMembers, index_ProjectMilestones as ProjectMilestones, index_ProjectProtectedEnvironments as ProjectProtectedEnvironments, index_ProjectPushRules as ProjectPushRules, index_ProjectRelationsExport as ProjectRelationsExport, index_ProjectReleases as ProjectReleases, index_ProjectRemoteMirrors as ProjectRemoteMirrors, index_ProjectRepositoryStorageMoves as ProjectRepositoryStorageMoves, index_ProjectSnippetAwardEmojis as ProjectSnippetAwardEmojis, index_ProjectSnippetDiscussions as ProjectSnippetDiscussions, index_ProjectSnippetNotes as ProjectSnippetNotes, index_ProjectSnippets as ProjectSnippets, index_ProjectStatistics as ProjectStatistics, index_ProjectTemplates as ProjectTemplates, index_ProjectVariables as ProjectVariables, index_ProjectVulnerabilities as ProjectVulnerabilities, index_ProjectWikis as ProjectWikis, index_Projects as Projects, index_ProtectedBranches as ProtectedBranches, index_ProtectedTags as ProtectedTags, index_PyPI as PyPI, index_ReleaseLinks as ReleaseLinks, index_Repositories as Repositories, index_RepositoryFiles as RepositoryFiles, index_RepositorySubmodules as RepositorySubmodules, index_ResourceGroups as ResourceGroups, index_Runners as Runners, index_Search as Search, index_SecureFiles as SecureFiles, index_ServiceData as ServiceData, index_SidekiqMetrics as SidekiqMetrics, index_SidekiqQueues as SidekiqQueues, index_SnippetRepositoryStorageMoves as SnippetRepositoryStorageMoves, index_Snippets as Snippets, index_Suggestions as Suggestions, index_SystemHooks as SystemHooks, index_Tags as Tags, index_TodoLists as TodoLists, index_Topics as Topics, index_UserCustomAttributes as UserCustomAttributes, index_UserEmails as UserEmails, index_UserGPGKeys as UserGPGKeys, index_UserImpersonationTokens as UserImpersonationTokens, index_UserSSHKeys as UserSSHKeys, index_UserStarredMetricsDashboard as UserStarredMetricsDashboard, index_Users as Users, index_Version as Version, index_VisualReviewDiscussions as VisualReviewDiscussions, index_Vulnerabilities as Vulnerabilities, index_VulnerabilityFindings as VulnerabilityFindings, }; } interface SAMLGroupSchema extends Record { name: string; access_level: number; } type types_AcceptMergeRequestOptions = AcceptMergeRequestOptions; type types_AccessLevel = AccessLevel; type types_AccessRequestSchema = AccessRequestSchema; type types_AccessTokenSchema = AccessTokenSchema; type types_AccessTokenScopes = AccessTokenScopes; type types_AllMergeRequestsOptions = AllMergeRequestsOptions; type types_AllowedAgentSchema = AllowedAgentSchema; type types_ApplicationAppearanceSchema = ApplicationAppearanceSchema; type types_ApplicationPlanLimitOptions = ApplicationPlanLimitOptions; type types_ApplicationPlanLimitSchema = ApplicationPlanLimitSchema; type types_ApplicationSchema = ApplicationSchema; type types_ApplicationSettingsSchema = ApplicationSettingsSchema; type types_ApplicationStatisticSchema = ApplicationStatisticSchema; type types_ApprovalRuleSchema = ApprovalRuleSchema; type types_ApprovalRulesRequestOptions = ApprovalRulesRequestOptions; type types_ApprovalStateSchema = ApprovalStateSchema; type types_ApprovedByEntity = ApprovedByEntity; type types_ArchiveType = ArchiveType; type types_ArtifactSchema = ArtifactSchema; type types_AuditEventSchema = AuditEventSchema; type types_AvatarSchema = AvatarSchema; type types_AwardEmojiSchema = AwardEmojiSchema; type types_BadgeSchema = BadgeSchema; type types_BaseExternalStatusCheckSchema = BaseExternalStatusCheckSchema; type types_BasePaginationRequestOptions

= BasePaginationRequestOptions

; type types_BaseRequestOptions = BaseRequestOptions; type types_BillableGroupMemberMembershipSchema = BillableGroupMemberMembershipSchema; type types_BillableGroupMemberSchema = BillableGroupMemberSchema; type types_BlobSchema = BlobSchema; type types_BranchSchema = BranchSchema; type types_BridgeSchema = BridgeSchema; type types_BroadcastMessageOptions = BroadcastMessageOptions; type types_BroadcastMessageSchema = BroadcastMessageSchema; type types_CICDVariableSchema = CICDVariableSchema; type types_CamelizedResponse = CamelizedResponse; type types_ClusterAgentSchema = ClusterAgentSchema; type types_ClusterAgentTokenSchema = ClusterAgentTokenSchema; type types_CommitAction = CommitAction; type types_CommitCommentSchema = CommitCommentSchema; type types_CommitDiffSchema = CommitDiffSchema; type types_CommitDiscussionNoteSchema = CommitDiscussionNoteSchema; type types_CommitDiscussionSchema = CommitDiscussionSchema; type types_CommitExpandedSchema = CommitExpandedSchema; type types_CommitReferenceSchema = CommitReferenceSchema; type types_CommitSchema = CommitSchema; type types_CommitSignatureSchema = CommitSignatureSchema; type types_CommitStatusSchema = CommitStatusSchema; type types_ComposerPackageMetadataSchema = ComposerPackageMetadataSchema; type types_ComposerV1BaseRepositorySchema = ComposerV1BaseRepositorySchema; type types_ComposerV1PackagesSchema = ComposerV1PackagesSchema; type types_ComposerV2BaseRepositorySchema = ComposerV2BaseRepositorySchema; type types_CondensedCommitSchema = CondensedCommitSchema; type types_CondensedEnvironmentSchema = CondensedEnvironmentSchema; type types_CondensedEpicLinkSchema = CondensedEpicLinkSchema; type types_CondensedGroupSchema = CondensedGroupSchema; type types_CondensedJobSchema = CondensedJobSchema; type types_CondensedMemberSchema = CondensedMemberSchema; type types_CondensedMergeRequestSchema = CondensedMergeRequestSchema; type types_CondensedNamespaceSchema = CondensedNamespaceSchema; type types_CondensedPipelineScheduleSchema = CondensedPipelineScheduleSchema; type types_CondensedProjectSchema = CondensedProjectSchema; type types_CondensedRegistryRepositorySchema = CondensedRegistryRepositorySchema; type types_CondensedRegistryRepositoryTagSchema = CondensedRegistryRepositoryTagSchema; type types_ContextualLintSchema = ContextualLintSchema; type types_CreateMergeRequestOptions = CreateMergeRequestOptions; type types_CustomAttributeSchema = CustomAttributeSchema; type types_CustomSettingLevelEmailEvents = CustomSettingLevelEmailEvents; type types_DORA4MetricSchema = DORA4MetricSchema; type types_DashboardAnnotationSchema = DashboardAnnotationSchema; type types_DeployKeys = DeployKeys; declare const types_DeployKeys: typeof DeployKeys; type types_DeployTokenSchema = DeployTokenSchema; type types_DeployTokenScope = DeployTokenScope; type types_DeployableSchema = DeployableSchema; type types_DeploymentSchema = DeploymentSchema; type types_DeploymentStatus = DeploymentStatus; type types_DeploymentStatusSchema = DeploymentStatusSchema; type types_DiffRefsSchema = DiffRefsSchema; type types_DiscussionNotePositionBaseSchema = DiscussionNotePositionBaseSchema; type types_DiscussionNotePositionOptions = DiscussionNotePositionOptions; type types_DiscussionNotePositionSchema = DiscussionNotePositionSchema; type types_DiscussionNoteSchema = DiscussionNoteSchema; type types_DiscussionSchema = DiscussionSchema; type types_EnvironmentSchema = EnvironmentSchema; type types_EpicIssueSchema = EpicIssueSchema; type types_EpicLinkSchema = EpicLinkSchema; type types_EpicNoteSchema = EpicNoteSchema; type types_EpicSchema = EpicSchema; type types_EpicTodoSchema = EpicTodoSchema; type types_ErrorTrackingClientKeySchema = ErrorTrackingClientKeySchema; type types_ErrorTrackingSettingsSchema = ErrorTrackingSettingsSchema; type types_EventOptions = EventOptions; type types_EventSchema = EventSchema; type types_ExpandedEpicIssueSchema = ExpandedEpicIssueSchema; type types_ExpandedGroupSchema = ExpandedGroupSchema; type types_ExpandedHookSchema = ExpandedHookSchema; type types_ExpandedIssueLinkSchema = ExpandedIssueLinkSchema; type types_ExpandedMergeRequestDiffVersionsSchema = ExpandedMergeRequestDiffVersionsSchema; type types_ExpandedMergeRequestSchema = ExpandedMergeRequestSchema; type types_ExpandedPackageSchema = ExpandedPackageSchema; type types_ExpandedPipelineScheduleSchema = ExpandedPipelineScheduleSchema; type types_ExpandedPipelineSchema = ExpandedPipelineSchema; type types_ExpandedProjectSchema = ExpandedProjectSchema; type types_ExpandedResponse = ExpandedResponse; type types_ExpandedRunnerSchema = ExpandedRunnerSchema; type types_ExpandedSnippetSchema = ExpandedSnippetSchema; type types_ExpandedUserSchema = ExpandedUserSchema; type types_ExperimentGateSchema = ExperimentGateSchema; type types_ExperimentSchema = ExperimentSchema; type types_ExternalStatusCheckProtectedBranchesSchema = ExternalStatusCheckProtectedBranchesSchema; type types_FailedRelationSchema = FailedRelationSchema; type types_FeatureFlagSchema = FeatureFlagSchema; type types_FeatureFlagStrategy = FeatureFlagStrategy; type types_FeatureFlagStrategyScope = FeatureFlagStrategyScope; type types_FeatureFlagUserListSchema = FeatureFlagUserListSchema; type types_FreezePeriodSchema = FreezePeriodSchema; type types_GPGSignatureSchema = GPGSignatureSchema; type types_GeoNodeFailureSchema = GeoNodeFailureSchema; type types_GeoNodeSchema = GeoNodeSchema; type types_GeoNodeStatusSchema = GeoNodeStatusSchema; type types_Gitlab = Gitlab; declare const types_Gitlab: typeof Gitlab; type types_GoProxyModuleVersionSchema = GoProxyModuleVersionSchema; type types_GroupAnalyticsIssuesCountSchema = GroupAnalyticsIssuesCountSchema; type types_GroupAnalyticsMRsCountSchema = GroupAnalyticsMRsCountSchema; type types_GroupAnalyticsNewMembersCountSchema = GroupAnalyticsNewMembersCountSchema; type types_GroupBadgePreviewSchema = GroupBadgePreviewSchema; type types_GroupBadgeSchema = GroupBadgeSchema; type types_GroupHookSchema = GroupHookSchema; type types_GroupRelationExportStatusSchema = GroupRelationExportStatusSchema; type types_GroupRepositoryStorageMoveSchema = GroupRepositoryStorageMoveSchema; type types_GroupSchema = GroupSchema; type types_GroupStatisticsSchema = GroupStatisticsSchema; type types_GrouptIssueBoardSchema = GrouptIssueBoardSchema; type types_HookSchema = HookSchema; type types_IdentitySchema = IdentitySchema; type types_ImpersonationTokenScope = ImpersonationTokenScope; type types_ImpersonationTokenState = ImpersonationTokenState; type types_ImportStatusSchema = ImportStatusSchema; type types_IncludeInherited = IncludeInherited; type types_IntegrationSchema = IntegrationSchema; type types_InvitationSchema = InvitationSchema; type types_IssueBoardListSchema = IssueBoardListSchema; type types_IssueBoardSchema = IssueBoardSchema; type types_IssueLinkSchema = IssueLinkSchema; type types_IssueNoteSchema = IssueNoteSchema; type types_IssueSchema = IssueSchema; type types_IterationEventSchema = IterationEventSchema; type types_IterationSchema = IterationSchema; type types_JobKubernetesAgentsSchema = JobKubernetesAgentsSchema; type types_JobSchema = JobSchema; type types_JobScope = JobScope; type types_KeySchema = KeySchema; type types_LabelEventSchema = LabelEventSchema; type types_LabelSchema = LabelSchema; type types_LicenseSchema = LicenseSchema; type types_LicenseTemplateSchema = LicenseTemplateSchema; type types_LintSchema = LintSchema; type types_ManagedLicenseSchema = ManagedLicenseSchema; type types_MarkdownSchema = MarkdownSchema; type types_MemberSchema = MemberSchema; type types_MergeRequestChanges = MergeRequestChanges; type types_MergeRequestContextCommitSchema = MergeRequestContextCommitSchema; type types_MergeRequestDiffVersionsSchema = MergeRequestDiffVersionsSchema; type types_MergeRequestDiscussionNoteSchema = MergeRequestDiscussionNoteSchema; type types_MergeRequestExternalStatusCheckSchema = MergeRequestExternalStatusCheckSchema; type types_MergeRequestLevelApprovalRuleSchema = MergeRequestLevelApprovalRuleSchema; type types_MergeRequestLevelMergeRequestApprovalSchema = MergeRequestLevelMergeRequestApprovalSchema; type types_MergeRequestNoteSchema = MergeRequestNoteSchema; type types_MergeRequestRebaseSchema = MergeRequestRebaseSchema; type types_MergeRequestSchema = MergeRequestSchema; type types_MergeRequestTodoSchema = MergeRequestTodoSchema; type types_MergeRequestWithChangesSchema = MergeRequestWithChangesSchema; type types_MergeTrainSchema = MergeTrainSchema; type types_MetadataSchema = MetadataSchema; type types_MetricImageSchema = MetricImageSchema; type types_MetricType = MetricType; type types_MigrationEntityFailure = MigrationEntityFailure; type types_MigrationEntityOptions = MigrationEntityOptions; type types_MigrationEntitySchema = MigrationEntitySchema; type types_MigrationStatusSchema = MigrationStatusSchema; type types_MilestoneEventSchema = MilestoneEventSchema; type types_MilestoneSchema = MilestoneSchema; type types_MissingSignatureSchema = MissingSignatureSchema; type types_NPMPackageMetadataSchema = NPMPackageMetadataSchema; type types_NPMVersionSchema = NPMVersionSchema; type types_NamespaceSchema = NamespaceSchema; type types_NoteSchema = NoteSchema; type types_NotificationSettingLevel = NotificationSettingLevel; type types_NotificationSettingSchema = NotificationSettingSchema; type types_NuGetPackageIndexSchema = NuGetPackageIndexSchema; type types_NuGetResourceSchema = NuGetResourceSchema; type types_NuGetSearchResultSchema = NuGetSearchResultSchema; type types_NuGetSearchResultsSchema = NuGetSearchResultsSchema; type types_NuGetServiceIndexSchema = NuGetServiceIndexSchema; type types_NuGetServiceMetadataItemSchema = NuGetServiceMetadataItemSchema; type types_NuGetServiceMetadataSchema = NuGetServiceMetadataSchema; type types_NuGetServiceMetadataVersionSchema = NuGetServiceMetadataVersionSchema; type types_OffsetPaginationRequestOptions = OffsetPaginationRequestOptions; type types_OverrodeGroupMemberSchema = OverrodeGroupMemberSchema; type types_PackageFileSchema = PackageFileSchema; type types_PackageMetadata = PackageMetadata; type types_PackageRegistrySchema = PackageRegistrySchema; type types_PackageSchema = PackageSchema; type types_PackageSnapshotSchema = PackageSnapshotSchema; type types_PagesDomainSchema = PagesDomainSchema; type types_PaginatedResponse = PaginatedResponse; type types_PaginationRequestOptions

= PaginationRequestOptions

; type types_PaginationTypes = PaginationTypes; type types_PersonalAccessTokenSchema = PersonalAccessTokenSchema; type types_PersonalAccessTokenScopes = PersonalAccessTokenScopes; type types_PipelineScheduleSchema = PipelineScheduleSchema; type types_PipelineSchema = PipelineSchema; type types_PipelineStatus = PipelineStatus; type types_PipelineTestCaseSchema = PipelineTestCaseSchema; type types_PipelineTestReportSchema = PipelineTestReportSchema; type types_PipelineTestReportSummarySchema = PipelineTestReportSummarySchema; type types_PipelineTestSuiteSchema = PipelineTestSuiteSchema; type types_PipelineTriggerTokenSchema = PipelineTriggerTokenSchema; type types_PipelineVariableSchema = PipelineVariableSchema; type types_ProcessMetricSchema = ProcessMetricSchema; type types_ProjectAliasSchema = ProjectAliasSchema; type types_ProjectBadgePreviewSchema = ProjectBadgePreviewSchema; type types_ProjectBadgeSchema = ProjectBadgeSchema; type types_ProjectExternalStatusCheckSchema = ProjectExternalStatusCheckSchema; type types_ProjectFileUploadSchema = ProjectFileUploadSchema; type types_ProjectHookSchema = ProjectHookSchema; type types_ProjectIssueBoardSchema = ProjectIssueBoardSchema; type types_ProjectLevelApprovalRuleSchema = ProjectLevelApprovalRuleSchema; type types_ProjectLevelMergeRequestApprovalSchema = ProjectLevelMergeRequestApprovalSchema; type types_ProjectRemoteMirrorSchema = ProjectRemoteMirrorSchema; type types_ProjectRepositoryStorageMoveSchema = ProjectRepositoryStorageMoveSchema; type types_ProjectSchema = ProjectSchema; type types_ProjectStarrerSchema = ProjectStarrerSchema; type types_ProjectStatisticSchema = ProjectStatisticSchema; type types_ProjectStatisticsSchema = ProjectStatisticsSchema; type types_ProjectStoragePath = ProjectStoragePath; type types_ProjectTemplateSchema = ProjectTemplateSchema; type types_ProjectTemplateType = ProjectTemplateType; type types_ProjectVariableSchema = ProjectVariableSchema; type types_ProjectVulnerabilitySchema = ProjectVulnerabilitySchema; type types_ProtectedBranchAccessLevel = ProtectedBranchAccessLevel; type types_ProtectedBranchSchema = ProtectedBranchSchema; type types_ProtectedEnvironmentAccessLevel = ProtectedEnvironmentAccessLevel; type types_ProtectedEnvironmentSchema = ProtectedEnvironmentSchema; type types_ProtectedTagAccessLevel = ProtectedTagAccessLevel; type types_ProtectedTagSchema = ProtectedTagSchema; type types_PushRuleSchema = PushRuleSchema; type types_RecipeSnapshotSchema = RecipeSnapshotSchema; type types_ReferenceSchema = ReferenceSchema; type types_RegistryRepositorySchema = RegistryRepositorySchema; type types_RegistryRepositoryTagSchema = RegistryRepositoryTagSchema; type types_RelatedEpicLinkSchema = RelatedEpicLinkSchema; type types_RelatedEpicSchema = RelatedEpicSchema; type types_ReleaseAssetLink = ReleaseAssetLink; type types_ReleaseAssetSource = ReleaseAssetSource; type types_ReleaseEvidence = ReleaseEvidence; type types_ReleaseLinkSchema = ReleaseLinkSchema; type types_ReleaseSchema = ReleaseSchema; type types_RepositoryChangelogSchema = RepositoryChangelogSchema; type types_RepositoryCompareSchema = RepositoryCompareSchema; type types_RepositoryContributorSchema = RepositoryContributorSchema; type types_RepositoryFileBlameSchema = RepositoryFileBlameSchema; type types_RepositoryFileExpandedSchema = RepositoryFileExpandedSchema; type types_RepositoryFileSchema = RepositoryFileSchema; type types_RepositoryImportStatusSchema = RepositoryImportStatusSchema; type types_RepositoryStorageMoveSchema = RepositoryStorageMoveSchema; type types_RepositorySubmoduleSchema = RepositorySubmoduleSchema; type types_RepositoryTreeSchema = RepositoryTreeSchema; type types_ResourceGroupSchema = ResourceGroupSchema; type types_ReviewAppSchema = ReviewAppSchema; type types_RunnerSchema = RunnerSchema; type types_RunnerToken = RunnerToken; type types_SAMLGroupSchema = SAMLGroupSchema; type types_SearchScopes = SearchScopes; type types_SecureFileSchema = SecureFileSchema; type types_ShowExpanded = ShowExpanded; type types_SidekickCompoundMetricsSchema = SidekickCompoundMetricsSchema; type types_SidekickJobStatsSchema = SidekickJobStatsSchema; type types_SidekickProcessMetricsSchema = SidekickProcessMetricsSchema; type types_SidekickQueueMetricsSchema = SidekickQueueMetricsSchema; type types_SidekiqQueueStatus = SidekiqQueueStatus; type types_SimpleGroupSchema = SimpleGroupSchema; type types_SimpleMemberSchema = SimpleMemberSchema; type types_SimpleProjectSchema = SimpleProjectSchema; type types_SimpleSnippetSchema = SimpleSnippetSchema; type types_SnippetNoteSchema = SnippetNoteSchema; type types_SnippetRepositoryStorageMoveSchema = SnippetRepositoryStorageMoveSchema; type types_SnippetSchema = SnippetSchema; type types_SnippetVisibility = SnippetVisibility; type types_StarredDashboardSchema = StarredDashboardSchema; type types_StateEventSchema = StateEventSchema; type types_StatisticsSchema = StatisticsSchema; type types_Sudo = Sudo; type types_SuggestionSchema = SuggestionSchema; type types_SupportedIntegration = SupportedIntegration; type types_SystemHookTestResponse = SystemHookTestResponse; type types_TagSchema = TagSchema; type types_TaskCompletionStatusSchema = TaskCompletionStatusSchema; type types_TemplateSchema = TemplateSchema; type types_TimeStatsSchema = TimeStatsSchema; type types_TodoAction = TodoAction; type types_TodoSchema = TodoSchema; type types_TodoState = TodoState; type types_TodoType = TodoType; type types_TopicSchema = TopicSchema; type types_UpdateMergeRequestOptions = UpdateMergeRequestOptions; type types_UserActivitySchema = UserActivitySchema; type types_UserCountSchema = UserCountSchema; type types_UserEmailSchema = UserEmailSchema; type types_UserGPGKeySchema = UserGPGKeySchema; type types_UserImpersonationTokenSchema = UserImpersonationTokenSchema; type types_UserMembershipSchema = UserMembershipSchema; type types_UserPreferenceSchema = UserPreferenceSchema; type types_UserSSHKeySchema = UserSSHKeySchema; type types_UserSchema = UserSchema; type types_UserStatusSchema = UserStatusSchema; type types_VariableFilter = VariableFilter; type types_VariableSchema = VariableSchema; type types_VariableType = VariableType; type types_VersionSchema = VersionSchema; type types_VulnerabilityFindingSchema = VulnerabilityFindingSchema; type types_VulnerabilitySchema = VulnerabilitySchema; type types_WeightEventSchema = WeightEventSchema; type types_WikiAttachmentSchema = WikiAttachmentSchema; type types_WikiSchema = WikiSchema; type types_X509SignatureSchema = X509SignatureSchema; declare namespace types { export { types_AcceptMergeRequestOptions as AcceptMergeRequestOptions, types_AccessLevel as AccessLevel, types_AccessRequestSchema as AccessRequestSchema, types_AccessTokenSchema as AccessTokenSchema, types_AccessTokenScopes as AccessTokenScopes, types_AllMergeRequestsOptions as AllMergeRequestsOptions, types_AllowedAgentSchema as AllowedAgentSchema, types_ApplicationAppearanceSchema as ApplicationAppearanceSchema, types_ApplicationPlanLimitOptions as ApplicationPlanLimitOptions, types_ApplicationPlanLimitSchema as ApplicationPlanLimitSchema, types_ApplicationSchema as ApplicationSchema, types_ApplicationSettingsSchema as ApplicationSettingsSchema, types_ApplicationStatisticSchema as ApplicationStatisticSchema, types_ApprovalRuleSchema as ApprovalRuleSchema, types_ApprovalRulesRequestOptions as ApprovalRulesRequestOptions, types_ApprovalStateSchema as ApprovalStateSchema, types_ApprovedByEntity as ApprovedByEntity, types_ArchiveType as ArchiveType, types_ArtifactSchema as ArtifactSchema, types_AuditEventSchema as AuditEventSchema, types_AvatarSchema as AvatarSchema, types_AwardEmojiSchema as AwardEmojiSchema, types_BadgeSchema as BadgeSchema, types_BaseExternalStatusCheckSchema as BaseExternalStatusCheckSchema, types_BasePaginationRequestOptions as BasePaginationRequestOptions, types_BaseRequestOptions as BaseRequestOptions, types_BillableGroupMemberMembershipSchema as BillableGroupMemberMembershipSchema, types_BillableGroupMemberSchema as BillableGroupMemberSchema, types_BlobSchema as BlobSchema, types_BranchSchema as BranchSchema, types_BridgeSchema as BridgeSchema, types_BroadcastMessageOptions as BroadcastMessageOptions, types_BroadcastMessageSchema as BroadcastMessageSchema, types_CICDVariableSchema as CICDVariableSchema, types_CamelizedResponse as CamelizedResponse, types_ClusterAgentSchema as ClusterAgentSchema, types_ClusterAgentTokenSchema as ClusterAgentTokenSchema, types_CommitAction as CommitAction, types_CommitCommentSchema as CommitCommentSchema, types_CommitDiffSchema as CommitDiffSchema, types_CommitDiscussionNoteSchema as CommitDiscussionNoteSchema, types_CommitDiscussionSchema as CommitDiscussionSchema, types_CommitExpandedSchema as CommitExpandedSchema, types_CommitReferenceSchema as CommitReferenceSchema, types_CommitSchema as CommitSchema, types_CommitSignatureSchema as CommitSignatureSchema, types_CommitStatusSchema as CommitStatusSchema, types_ComposerPackageMetadataSchema as ComposerPackageMetadataSchema, types_ComposerV1BaseRepositorySchema as ComposerV1BaseRepositorySchema, types_ComposerV1PackagesSchema as ComposerV1PackagesSchema, types_ComposerV2BaseRepositorySchema as ComposerV2BaseRepositorySchema, types_CondensedCommitSchema as CondensedCommitSchema, types_CondensedEnvironmentSchema as CondensedEnvironmentSchema, types_CondensedEpicLinkSchema as CondensedEpicLinkSchema, types_CondensedGroupSchema as CondensedGroupSchema, types_CondensedJobSchema as CondensedJobSchema, types_CondensedMemberSchema as CondensedMemberSchema, types_CondensedMergeRequestSchema as CondensedMergeRequestSchema, types_CondensedNamespaceSchema as CondensedNamespaceSchema, types_CondensedPipelineScheduleSchema as CondensedPipelineScheduleSchema, types_CondensedProjectSchema as CondensedProjectSchema, types_CondensedRegistryRepositorySchema as CondensedRegistryRepositorySchema, types_CondensedRegistryRepositoryTagSchema as CondensedRegistryRepositoryTagSchema, types_ContextualLintSchema as ContextualLintSchema, types_CreateMergeRequestOptions as CreateMergeRequestOptions, types_CustomAttributeSchema as CustomAttributeSchema, types_CustomSettingLevelEmailEvents as CustomSettingLevelEmailEvents, types_DORA4MetricSchema as DORA4MetricSchema, types_DashboardAnnotationSchema as DashboardAnnotationSchema, types_DeployKeys as DeployKeys, types_DeployTokenSchema as DeployTokenSchema, types_DeployTokenScope as DeployTokenScope, types_DeployableSchema as DeployableSchema, types_DeploymentSchema as DeploymentSchema, types_DeploymentStatus as DeploymentStatus, types_DeploymentStatusSchema as DeploymentStatusSchema, types_DiffRefsSchema as DiffRefsSchema, types_DiscussionNotePositionBaseSchema as DiscussionNotePositionBaseSchema, types_DiscussionNotePositionOptions as DiscussionNotePositionOptions, types_DiscussionNotePositionSchema as DiscussionNotePositionSchema, types_DiscussionNoteSchema as DiscussionNoteSchema, types_DiscussionSchema as DiscussionSchema, types_EnvironmentSchema as EnvironmentSchema, types_EpicIssueSchema as EpicIssueSchema, types_EpicLinkSchema as EpicLinkSchema, types_EpicNoteSchema as EpicNoteSchema, types_EpicSchema as EpicSchema, types_EpicTodoSchema as EpicTodoSchema, types_ErrorTrackingClientKeySchema as ErrorTrackingClientKeySchema, types_ErrorTrackingSettingsSchema as ErrorTrackingSettingsSchema, types_EventOptions as EventOptions, types_EventSchema as EventSchema, types_ExpandedEpicIssueSchema as ExpandedEpicIssueSchema, types_ExpandedGroupSchema as ExpandedGroupSchema, types_ExpandedHookSchema as ExpandedHookSchema, types_ExpandedIssueLinkSchema as ExpandedIssueLinkSchema, types_ExpandedMergeRequestDiffVersionsSchema as ExpandedMergeRequestDiffVersionsSchema, types_ExpandedMergeRequestSchema as ExpandedMergeRequestSchema, types_ExpandedPackageSchema as ExpandedPackageSchema, types_ExpandedPipelineScheduleSchema as ExpandedPipelineScheduleSchema, types_ExpandedPipelineSchema as ExpandedPipelineSchema, types_ExpandedProjectSchema as ExpandedProjectSchema, types_ExpandedResponse as ExpandedResponse, types_ExpandedRunnerSchema as ExpandedRunnerSchema, types_ExpandedSnippetSchema as ExpandedSnippetSchema, types_ExpandedUserSchema as ExpandedUserSchema, types_ExperimentGateSchema as ExperimentGateSchema, types_ExperimentSchema as ExperimentSchema, ExportStatusSchema$1 as ExportStatusSchema, types_ExternalStatusCheckProtectedBranchesSchema as ExternalStatusCheckProtectedBranchesSchema, types_FailedRelationSchema as FailedRelationSchema, types_FeatureFlagSchema as FeatureFlagSchema, types_FeatureFlagStrategy as FeatureFlagStrategy, types_FeatureFlagStrategyScope as FeatureFlagStrategyScope, types_FeatureFlagUserListSchema as FeatureFlagUserListSchema, types_FreezePeriodSchema as FreezePeriodSchema, types_GPGSignatureSchema as GPGSignatureSchema, types_GeoNodeFailureSchema as GeoNodeFailureSchema, types_GeoNodeSchema as GeoNodeSchema, types_GeoNodeStatusSchema as GeoNodeStatusSchema, types_Gitlab as Gitlab, types_GoProxyModuleVersionSchema as GoProxyModuleVersionSchema, types_GroupAnalyticsIssuesCountSchema as GroupAnalyticsIssuesCountSchema, types_GroupAnalyticsMRsCountSchema as GroupAnalyticsMRsCountSchema, types_GroupAnalyticsNewMembersCountSchema as GroupAnalyticsNewMembersCountSchema, types_GroupBadgePreviewSchema as GroupBadgePreviewSchema, types_GroupBadgeSchema as GroupBadgeSchema, types_GroupHookSchema as GroupHookSchema, types_GroupRelationExportStatusSchema as GroupRelationExportStatusSchema, types_GroupRepositoryStorageMoveSchema as GroupRepositoryStorageMoveSchema, types_GroupSchema as GroupSchema, types_GroupStatisticsSchema as GroupStatisticsSchema, types_GrouptIssueBoardSchema as GrouptIssueBoardSchema, types_HookSchema as HookSchema, types_IdentitySchema as IdentitySchema, types_ImpersonationTokenScope as ImpersonationTokenScope, types_ImpersonationTokenState as ImpersonationTokenState, types_ImportStatusSchema as ImportStatusSchema, types_IncludeInherited as IncludeInherited, types_IntegrationSchema as IntegrationSchema, types_InvitationSchema as InvitationSchema, types_IssueBoardListSchema as IssueBoardListSchema, types_IssueBoardSchema as IssueBoardSchema, types_IssueLinkSchema as IssueLinkSchema, types_IssueNoteSchema as IssueNoteSchema, types_IssueSchema as IssueSchema, types_IterationEventSchema as IterationEventSchema, types_IterationSchema as IterationSchema, types_JobKubernetesAgentsSchema as JobKubernetesAgentsSchema, types_JobSchema as JobSchema, types_JobScope as JobScope, types_KeySchema as KeySchema, types_LabelEventSchema as LabelEventSchema, types_LabelSchema as LabelSchema, types_LicenseSchema as LicenseSchema, types_LicenseTemplateSchema as LicenseTemplateSchema, types_LintSchema as LintSchema, types_ManagedLicenseSchema as ManagedLicenseSchema, types_MarkdownSchema as MarkdownSchema, types_MemberSchema as MemberSchema, types_MergeRequestChanges as MergeRequestChanges, types_MergeRequestContextCommitSchema as MergeRequestContextCommitSchema, types_MergeRequestDiffVersionsSchema as MergeRequestDiffVersionsSchema, types_MergeRequestDiscussionNoteSchema as MergeRequestDiscussionNoteSchema, types_MergeRequestExternalStatusCheckSchema as MergeRequestExternalStatusCheckSchema, types_MergeRequestLevelApprovalRuleSchema as MergeRequestLevelApprovalRuleSchema, types_MergeRequestLevelMergeRequestApprovalSchema as MergeRequestLevelMergeRequestApprovalSchema, types_MergeRequestNoteSchema as MergeRequestNoteSchema, types_MergeRequestRebaseSchema as MergeRequestRebaseSchema, types_MergeRequestSchema as MergeRequestSchema, types_MergeRequestTodoSchema as MergeRequestTodoSchema, types_MergeRequestWithChangesSchema as MergeRequestWithChangesSchema, types_MergeTrainSchema as MergeTrainSchema, types_MetadataSchema as MetadataSchema, types_MetricImageSchema as MetricImageSchema, types_MetricType as MetricType, types_MigrationEntityFailure as MigrationEntityFailure, types_MigrationEntityOptions as MigrationEntityOptions, types_MigrationEntitySchema as MigrationEntitySchema, types_MigrationStatusSchema as MigrationStatusSchema, types_MilestoneEventSchema as MilestoneEventSchema, types_MilestoneSchema as MilestoneSchema, types_MissingSignatureSchema as MissingSignatureSchema, types_NPMPackageMetadataSchema as NPMPackageMetadataSchema, types_NPMVersionSchema as NPMVersionSchema, types_NamespaceSchema as NamespaceSchema, types_NoteSchema as NoteSchema, types_NotificationSettingLevel as NotificationSettingLevel, types_NotificationSettingSchema as NotificationSettingSchema, types_NuGetPackageIndexSchema as NuGetPackageIndexSchema, types_NuGetResourceSchema as NuGetResourceSchema, types_NuGetSearchResultSchema as NuGetSearchResultSchema, types_NuGetSearchResultsSchema as NuGetSearchResultsSchema, types_NuGetServiceIndexSchema as NuGetServiceIndexSchema, types_NuGetServiceMetadataItemSchema as NuGetServiceMetadataItemSchema, types_NuGetServiceMetadataSchema as NuGetServiceMetadataSchema, types_NuGetServiceMetadataVersionSchema as NuGetServiceMetadataVersionSchema, types_OffsetPaginationRequestOptions as OffsetPaginationRequestOptions, types_OverrodeGroupMemberSchema as OverrodeGroupMemberSchema, types_PackageFileSchema as PackageFileSchema, types_PackageMetadata as PackageMetadata, types_PackageRegistrySchema as PackageRegistrySchema, types_PackageSchema as PackageSchema, types_PackageSnapshotSchema as PackageSnapshotSchema, types_PagesDomainSchema as PagesDomainSchema, types_PaginatedResponse as PaginatedResponse, types_PaginationRequestOptions as PaginationRequestOptions, types_PaginationTypes as PaginationTypes, types_PersonalAccessTokenSchema as PersonalAccessTokenSchema, types_PersonalAccessTokenScopes as PersonalAccessTokenScopes, types_PipelineScheduleSchema as PipelineScheduleSchema, types_PipelineSchema as PipelineSchema, types_PipelineStatus as PipelineStatus, types_PipelineTestCaseSchema as PipelineTestCaseSchema, types_PipelineTestReportSchema as PipelineTestReportSchema, types_PipelineTestReportSummarySchema as PipelineTestReportSummarySchema, types_PipelineTestSuiteSchema as PipelineTestSuiteSchema, types_PipelineTriggerTokenSchema as PipelineTriggerTokenSchema, types_PipelineVariableSchema as PipelineVariableSchema, types_ProcessMetricSchema as ProcessMetricSchema, types_ProjectAliasSchema as ProjectAliasSchema, types_ProjectBadgePreviewSchema as ProjectBadgePreviewSchema, types_ProjectBadgeSchema as ProjectBadgeSchema, types_ProjectExternalStatusCheckSchema as ProjectExternalStatusCheckSchema, types_ProjectFileUploadSchema as ProjectFileUploadSchema, types_ProjectHookSchema as ProjectHookSchema, types_ProjectIssueBoardSchema as ProjectIssueBoardSchema, types_ProjectLevelApprovalRuleSchema as ProjectLevelApprovalRuleSchema, types_ProjectLevelMergeRequestApprovalSchema as ProjectLevelMergeRequestApprovalSchema, types_ProjectRemoteMirrorSchema as ProjectRemoteMirrorSchema, types_ProjectRepositoryStorageMoveSchema as ProjectRepositoryStorageMoveSchema, types_ProjectSchema as ProjectSchema, types_ProjectStarrerSchema as ProjectStarrerSchema, types_ProjectStatisticSchema as ProjectStatisticSchema, types_ProjectStatisticsSchema as ProjectStatisticsSchema, types_ProjectStoragePath as ProjectStoragePath, types_ProjectTemplateSchema as ProjectTemplateSchema, types_ProjectTemplateType as ProjectTemplateType, types_ProjectVariableSchema as ProjectVariableSchema, types_ProjectVulnerabilitySchema as ProjectVulnerabilitySchema, types_ProtectedBranchAccessLevel as ProtectedBranchAccessLevel, types_ProtectedBranchSchema as ProtectedBranchSchema, types_ProtectedEnvironmentAccessLevel as ProtectedEnvironmentAccessLevel, types_ProtectedEnvironmentSchema as ProtectedEnvironmentSchema, types_ProtectedTagAccessLevel as ProtectedTagAccessLevel, types_ProtectedTagSchema as ProtectedTagSchema, types_PushRuleSchema as PushRuleSchema, types_RecipeSnapshotSchema as RecipeSnapshotSchema, types_ReferenceSchema as ReferenceSchema, types_RegistryRepositorySchema as RegistryRepositorySchema, types_RegistryRepositoryTagSchema as RegistryRepositoryTagSchema, types_RelatedEpicLinkSchema as RelatedEpicLinkSchema, types_RelatedEpicSchema as RelatedEpicSchema, types_ReleaseAssetLink as ReleaseAssetLink, types_ReleaseAssetSource as ReleaseAssetSource, types_ReleaseEvidence as ReleaseEvidence, types_ReleaseLinkSchema as ReleaseLinkSchema, types_ReleaseSchema as ReleaseSchema, types_RepositoryChangelogSchema as RepositoryChangelogSchema, types_RepositoryCompareSchema as RepositoryCompareSchema, types_RepositoryContributorSchema as RepositoryContributorSchema, types_RepositoryFileBlameSchema as RepositoryFileBlameSchema, types_RepositoryFileExpandedSchema as RepositoryFileExpandedSchema, types_RepositoryFileSchema as RepositoryFileSchema, types_RepositoryImportStatusSchema as RepositoryImportStatusSchema, types_RepositoryStorageMoveSchema as RepositoryStorageMoveSchema, types_RepositorySubmoduleSchema as RepositorySubmoduleSchema, types_RepositoryTreeSchema as RepositoryTreeSchema, types_ResourceGroupSchema as ResourceGroupSchema, types_ReviewAppSchema as ReviewAppSchema, types_RunnerSchema as RunnerSchema, types_RunnerToken as RunnerToken, types_SAMLGroupSchema as SAMLGroupSchema, types_SearchScopes as SearchScopes, types_SecureFileSchema as SecureFileSchema, types_ShowExpanded as ShowExpanded, types_SidekickCompoundMetricsSchema as SidekickCompoundMetricsSchema, types_SidekickJobStatsSchema as SidekickJobStatsSchema, types_SidekickProcessMetricsSchema as SidekickProcessMetricsSchema, types_SidekickQueueMetricsSchema as SidekickQueueMetricsSchema, types_SidekiqQueueStatus as SidekiqQueueStatus, types_SimpleGroupSchema as SimpleGroupSchema, types_SimpleMemberSchema as SimpleMemberSchema, types_SimpleProjectSchema as SimpleProjectSchema, types_SimpleSnippetSchema as SimpleSnippetSchema, types_SnippetNoteSchema as SnippetNoteSchema, types_SnippetRepositoryStorageMoveSchema as SnippetRepositoryStorageMoveSchema, types_SnippetSchema as SnippetSchema, types_SnippetVisibility as SnippetVisibility, types_StarredDashboardSchema as StarredDashboardSchema, types_StateEventSchema as StateEventSchema, types_StatisticsSchema as StatisticsSchema, types_Sudo as Sudo, types_SuggestionSchema as SuggestionSchema, types_SupportedIntegration as SupportedIntegration, types_SystemHookTestResponse as SystemHookTestResponse, types_TagSchema as TagSchema, types_TaskCompletionStatusSchema as TaskCompletionStatusSchema, types_TemplateSchema as TemplateSchema, types_TimeStatsSchema as TimeStatsSchema, types_TodoAction as TodoAction, types_TodoSchema as TodoSchema, types_TodoState as TodoState, types_TodoType as TodoType, types_TopicSchema as TopicSchema, types_UpdateMergeRequestOptions as UpdateMergeRequestOptions, types_UserActivitySchema as UserActivitySchema, types_UserCountSchema as UserCountSchema, types_UserEmailSchema as UserEmailSchema, types_UserGPGKeySchema as UserGPGKeySchema, types_UserImpersonationTokenSchema as UserImpersonationTokenSchema, types_UserMembershipSchema as UserMembershipSchema, types_UserPreferenceSchema as UserPreferenceSchema, types_UserSSHKeySchema as UserSSHKeySchema, types_UserSchema as UserSchema, types_UserStatusSchema as UserStatusSchema, types_VariableFilter as VariableFilter, types_VariableSchema as VariableSchema, types_VariableType as VariableType, types_VersionSchema as VersionSchema, types_VulnerabilityFindingSchema as VulnerabilityFindingSchema, types_VulnerabilitySchema as VulnerabilitySchema, types_WeightEventSchema as WeightEventSchema, types_WikiAttachmentSchema as WikiAttachmentSchema, types_WikiSchema as WikiSchema, types_X509SignatureSchema as X509SignatureSchema, }; } export { Agents, AlertManagement, ApplicationAppearance, ApplicationPlanLimits, ApplicationSettings, ApplicationStatistics, Applications, AuditEvents, Avatar, Branches, BroadcastMessages, CommitDiscussions, Commits, Composer, Conan, ContainerRegistry, DashboardAnnotations, Debian, DependencyProxy, DeployKeys, DeployTokens, Deployments, DockerfileTemplates, Environments, EpicAwardEmojis, EpicDiscussions, EpicIssues, EpicLabelEvents, EpicLinks, EpicNotes, Epics, ErrorTrackingClientKeys, ErrorTrackingSettings, Events, Experiments, ExternalStatusChecks, FeatureFlagUserLists, FeatureFlags, FreezePeriods, GeoNodes, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, GitlabPages, GoProxy, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, GroupRelationExports, GroupReleases, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSCIMIdentities, GroupVariables, GroupWikis, Groups, Helm, Import, InstanceLevelCICDVariables, Integrations, IssueAwardEmojis, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, IssueNotes, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, JobArtifacts, Jobs, Keys, License, LicenseTemplates, LinkedEpics, Lint, ManagedLicenses, Markdown, Maven, MergeRequestApprovals, MergeRequestAwardEmojis, MergeRequestContextCommits, MergeRequestDiscussions, MergeRequestLabelEvents, MergeRequestMilestoneEvents, MergeRequestNotes, MergeRequests, MergeTrains, Metadata, Migrations, NPM, Namespaces, NotificationSettings, NuGet, PackageRegistry, Packages, PagesDomains, PersonalAccessTokens, PipelineScheduleVariables, PipelineSchedules, PipelineTriggerTokens, Pipelines, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, ProjectAliases, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, ProjectHooks, ProjectImportExport, ProjectInvitations, ProjectIssueBoards, ProjectIterations, ProjectLabels, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, ProjectRemoteMirrors, ProjectRepositoryStorageMoves, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, ProjectStatistics, ProjectTemplates, ProjectVariables, ProjectVulnerabilities, ProjectWikis, Projects, ProtectedBranches, ProtectedTags, PyPI, ReleaseLinks, Repositories, RepositoryFiles, RepositorySubmodules, ResourceGroups, index as Resources, Runners, Search, SecureFiles, ServiceData, SidekiqMetrics, SidekiqQueues, SnippetRepositoryStorageMoves, Snippets, Suggestions, SystemHooks, Tags, TodoLists, Topics, types as Types, UserCustomAttributes, UserEmails, UserGPGKeys, UserImpersonationTokens, UserSSHKeys, UserStarredMetricsDashboard, Users, Version, VisualReviewDiscussions, Vulnerabilities, VulnerabilityFindings };