gitlab
Version:
Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.
14 lines (13 loc) • 810 B
TypeScript
import { BaseService, Sudo, BaseRequestOptions, PaginatedRequestOptions } from '../infrastructure';
import { ProjectId, KeyId } from '.';
declare class DeployKeys extends BaseService {
add(projectId: ProjectId, options?: Sudo): Promise<object>;
all({ projectId, ...options }: {
projectId?: ProjectId;
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
edit(projectId: ProjectId, keyId: KeyId, options?: BaseRequestOptions): Promise<object>;
enable(projectId: ProjectId, keyId: KeyId, options?: Sudo): Promise<object>;
remove(projectId: ProjectId, keyId: KeyId, options?: Sudo): Promise<object>;
show(projectId: ProjectId, keyId: KeyId, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
}
export default DeployKeys;