UNPKG

gitlab

Version:

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

12 lines (11 loc) 943 B
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; import { ProjectId, PipelineScheduleId } from '.'; declare class PipelineSchedules extends BaseService { all(projectId: ProjectId, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; create(projectId: ProjectId, description: string, ref: string, cron: string, options?: BaseRequestOptions): Promise<object>; edit(projectId: ProjectId, scheduleId: PipelineScheduleId, options?: BaseRequestOptions): Promise<object>; remove(projectId: ProjectId, scheduleId: PipelineScheduleId, options?: Sudo): Promise<object>; show(projectId: ProjectId, scheduleId: PipelineScheduleId, options?: Sudo): Promise<import("../infrastructure").GetResponse>; takeOwnership(projectId: ProjectId, scheduleId: PipelineScheduleId, options?: Sudo): Promise<object>; } export default PipelineSchedules;