import type { BaseResourceOptions } from '@gitbeaker/requester-utils'; import { ResourceIssueBoards } from '../templates'; import { IssueBoardListSchema, IssueBoardSchema } from '../templates/ResourceIssueBoards'; import type { GitlabAPIResponse, PaginationRequestOptions, PaginationTypes, ShowExpanded, Sudo, } from '../infrastructure'; import type { CondensedGroupSchema } from './Groups'; export interface GrouptIssueBoardSchema extends IssueBoardSchema { group: CondensedGroupSchema; } export interface GroupIssueBoards extends ResourceIssueBoards { all( groupId: string | number, options?: PaginationRequestOptions

& Sudo & ShowExpanded, ): Promise>; allLists( resourceId: string | number, boardId: number, options?: Sudo & ShowExpanded, ): 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?: { hideBacklogList?: boolean; hideClosedList?: boolean; name?: string; assigneeId?: number; milestoneId?: number; labels?: string; weight?: number; } & Sudo & ShowExpanded, ): Promise>; editList( groupId: string | number, boardId: number, listId: number, position: 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>; } export class GroupIssueBoards extends ResourceIssueBoards { constructor(options: BaseResourceOptions) { /* istanbul ignore next */ super('groups', options); } }