import { DeleteComment200Response } from '../../models/base/delete-comment200-response/index'; import { GetCommentReactions200Response } from '../../models/base/get-comment-reactions200-response/index'; import { PostCommentReactionRequest } from '../../models/base/post-comment-reaction-request/index'; import { Api, ApiClient, RequestMetadata } from '@ama-sdk/core'; /** Parameters object to CommentReactionsApi's deleteCommentReaction function */ export interface CommentReactionsApiDeleteCommentReactionRequestData { /** File to delete comment reaction from. This can be a file key or branch key. Use `GET /v1/files/:key` with the `branch_data` query param to get the branch key. */ 'file_key': string; /** ID of comment to delete reaction from. */ 'comment_id': string; /** */ 'emoji': string; } /** Parameters object to CommentReactionsApi's getCommentReactions function */ export interface CommentReactionsApiGetCommentReactionsRequestData { /** File to get comment containing reactions from. This can be a file key or branch key. Use `GET /v1/files/:key` with the `branch_data` query param to get the branch key. */ 'file_key': string; /** ID of comment to get reactions from. */ 'comment_id': string; /** Cursor for pagination, retrieved from the response of the previous call. */ 'cursor'?: string; } /** Parameters object to CommentReactionsApi's postCommentReaction function */ export interface CommentReactionsApiPostCommentReactionRequestData { /** File to post comment reactions to. This can be a file key or branch key. Use `GET /v1/files/:key` with the `branch_data` query param to get the branch key. */ 'file_key': string; /** ID of comment to react to. */ 'comment_id': string; /** Reaction to post. */ 'PostCommentReactionRequest': PostCommentReactionRequest; } export declare class CommentReactionsApi implements Api { /** API name */ static readonly apiName = "CommentReactionsApi"; /** @inheritDoc */ readonly apiName = "CommentReactionsApi"; /** Tokens of the parameters containing PII */ readonly piiParamTokens: { [key: string]: string; }; /** @inheritDoc */ client: ApiClient; /** * Initialize your interface * * @param apiClient Client used to process call to the API */ constructor(apiClient: ApiClient); /** * Delete a reaction * Deletes a specific comment reaction. Only the person who made the reaction is allowed to delete it. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ deleteCommentReaction(data: CommentReactionsApiDeleteCommentReactionRequestData, metadata?: RequestMetadata): Promise; /** * Get reactions for a comment * Gets a paginated list of reactions left on the comment. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ getCommentReactions(data: CommentReactionsApiGetCommentReactionsRequestData, metadata?: RequestMetadata): Promise; /** * Add a reaction to a comment * Posts a new comment reaction on a file comment. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ postCommentReaction(data: CommentReactionsApiPostCommentReactionRequestData, metadata?: RequestMetadata<'application/json', 'application/json'>): Promise; } //# sourceMappingURL=comment-reactions-api.d.ts.map