UNPKG

818 BTypeScriptView Raw
1import { BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure';
2export declare class ReleaseLinks extends BaseService {
3 all(projectId: string | number, tagName: string, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
4 create(projectId: string | number, tagName: string, name: string, url: string, options?: Sudo): Promise<object>;
5 edit(projectId: string | number, tagName: string, linkId: number, options?: Sudo & ({
6 name: string;
7 } | {
8 url: string;
9 })): Promise<object>;
10 remove(projectId: string | number, tagName: string, linkId: number, options?: Sudo): Promise<object>;
11 show(projectId: string | number, tagName: string, linkId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
12}