1 | import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure';
|
2 | import { JobScope } from './Jobs';
|
3 | export interface PipelineSchema {
|
4 | id: number;
|
5 | sha: string;
|
6 | ref: string;
|
7 | status: string;
|
8 | created_at: Date;
|
9 | updated_at: Date;
|
10 | web_url: string;
|
11 | }
|
12 | export declare class Pipelines extends BaseService {
|
13 | all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
|
14 | create(projectId: string | number, ref: string, options?: BaseRequestOptions): Promise<object>;
|
15 | delete(projectId: string | number, pipelineId: number, options?: Sudo): Promise<object>;
|
16 | show(projectId: string | number, pipelineId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
|
17 | retry(projectId: string | number, pipelineId: number, options?: Sudo): Promise<object>;
|
18 | cancel(projectId: string | number, pipelineId: number, options?: Sudo): Promise<object>;
|
19 | showJobs(projectId: string | number, pipelineId: number, options?: {
|
20 | scope: JobScope;
|
21 | } & Sudo): Promise<import("../infrastructure").GetResponse>;
|
22 | allVariables(projectId: string | number, pipelineId: number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
|
23 | }
|