UNPKG

gitlab

Version:

Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.

17 lines (16 loc) 1.4 kB
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; import { ResourceId, LabelId } from '..'; declare class ResourceIssueBoards extends BaseService { constructor(resourceType: string, options: any); all(resourceId: ResourceId, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; create(resourceId: ResourceId, name: string, options?: Sudo): Promise<object>; createList(resourceId: ResourceId, boardId: number, labelId: LabelId, options?: Sudo): Promise<object>; edit(resourceId: ResourceId, boardId: number, options?: BaseRequestOptions): Promise<object>; editList(resourceId: ResourceId, boardId: number, listId: number, position: number, options?: Sudo): Promise<object>; lists(resourceId: ResourceId, boardId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; remove(resourceId: ResourceId, boardId: number, options?: Sudo): Promise<object>; removeList(resourceId: ResourceId, boardId: number, listId: number, options?: Sudo): Promise<object>; show(resourceId: ResourceId, boardId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; showList(resourceId: ResourceId, boardId: number, listId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; } export default ResourceIssueBoards;