1 | import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure';
|
2 | export declare class Issues extends BaseService {
|
3 | addSpentTime(projectId: string | number, issueId: number, duration: string, options?: Sudo): Promise<object>;
|
4 | addTimeEstimate(projectId: string | number, issueId: number, duration: string, options?: Sudo): Promise<object>;
|
5 | all({ projectId, groupId, ...options }?: ({
|
6 | projectId?: string | number;
|
7 | } | {
|
8 | groupId?: string | number;
|
9 | } | {}) & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
|
10 | create(projectId: string | number, options?: BaseRequestOptions): Promise<object>;
|
11 | edit(projectId: string | number, issueId: number, options?: BaseRequestOptions): Promise<object>;
|
12 | link(projectId: string | number, issueIId: number, targetProjectId: string | number, targetIssueId: number, options?: BaseRequestOptions): Promise<object>;
|
13 | participants(projectId: string | number, issueId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
|
14 | remove(projectId: string | number, issueId: number, options?: Sudo): Promise<object>;
|
15 | resetSpentTime(projectId: string | number, issueId: number, options?: BaseRequestOptions): Promise<object>;
|
16 | resetTimeEstimate(projectId: string | number, issueId: number, options?: Sudo): Promise<object>;
|
17 | show(projectId: string | number, issueId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
|
18 | subscribe(projectId: string | number, issueId: number, options?: Sudo): Promise<object>;
|
19 | timeStats(projectId: string | number, issueId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
|
20 | unsubscribe(projectId: string | number, issueId: number, options?: Sudo): Promise<object>;
|
21 | }
|