1 | import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure';
|
2 | export declare class Branches extends BaseService {
|
3 | all(projectId: string | number, options?: {
|
4 | search?: string;
|
5 | } & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
|
6 | create(projectId: string | number, branchName: string, ref: string, options?: Sudo): Promise<object>;
|
7 | protect(projectId: string | number, branchName: string, options?: BaseRequestOptions): Promise<object>;
|
8 | remove(projectId: string | number, branchName: string, options?: Sudo): Promise<object>;
|
9 | show(projectId: string | number, branchName: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
|
10 | unprotect(projectId: string | number, branchName: string, options?: Sudo): Promise<object>;
|
11 | }
|