UNPKG

620 BTypeScriptView Raw
1import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure';
2export declare class ProtectedBranches extends BaseService {
3 all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
4 protect(projectId: string | number, branchName: string, options?: BaseRequestOptions): Promise<object>;
5 show(projectId: string | number, branchName: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
6 unprotect(projectId: string | number, branchName: string, options?: Sudo): Promise<object>;
7}