1 | import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure';
|
2 | export interface RunnerSchema {
|
3 | id: number;
|
4 | description: string;
|
5 | ip_address: string;
|
6 | active: boolean;
|
7 | is_shared: boolean;
|
8 | name: string;
|
9 | online: boolean;
|
10 | status: string;
|
11 | }
|
12 | export declare class Runners extends BaseService {
|
13 | all({ projectId, ...options }: {
|
14 | projectId: string | number;
|
15 | } & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
|
16 | allOwned(options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>;
|
17 | edit(runnerId: number, options?: BaseRequestOptions): Promise<object>;
|
18 | enable(projectId: string | number, runnerId: number, options?: Sudo): Promise<object>;
|
19 | disable(projectId: string | number, runnerId: number, options?: Sudo): Promise<object>;
|
20 | jobs(runnerId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
|
21 | remove(runnerId: number, options?: Sudo): Promise<object>;
|
22 | show(runnerId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
|
23 | }
|