import type { marketplace_application_TaskComment } from '../models/marketplace_application_TaskComment'; import type { marketplace_application_TaskCommentList } from '../models/marketplace_application_TaskCommentList'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class CommentsService { /** * List task comments * * Lists task comments from the Tasks marketplace app installed on the * workspace. The request is proxied to the app's comments API. Requires the * Tasks app to be installed. * * @param limit Maximum number of comments to return * @param nextToken Pagination cursor returned by a previous list response * @param taskId Filter comments to a single task by its id * * @example * await assembly.getV1Comments(); */ static getV1Comments({ limit, nextToken, taskId, }: { /** * Maximum number of comments to return */ limit?: number; /** * Pagination cursor returned by a previous list response */ nextToken?: string; /** * Filter comments to a single task by its id */ taskId?: string; }): CancelablePromise; /** * Delete a task comment * * Deletes a task comment by id via the Tasks marketplace app installed on * the workspace. The request is proxied to the app's comments API and * returns the deleted comment marker. Requires the Tasks app to be * installed. * * @param commentId Comment id * * @example * await assembly.deleteV1CommentsCommentid({ commentId: ... }); */ static deleteV1CommentsCommentid({ commentId, }: { /** * Comment id */ commentId: string; }): CancelablePromise; /** * Retrieve a task comment * * Retrieves a single task comment by id from the Tasks marketplace app * installed on the workspace. The request is proxied to the app's comments * API. Requires the Tasks app to be installed. * * @param commentId Comment id * * @example * await assembly.getV1CommentsCommentid({ commentId: ... }); */ static getV1CommentsCommentid({ commentId, }: { /** * Comment id */ commentId: string; }): CancelablePromise; }