import { discussionsApiRequestV2 } from "../discussions-api-request";
/**
 * create reaction to post
 *
 * @export
 * @param {ICreateReactionOptions} options
 * @return {*}  {Promise<IReaction>}
 */
export function createReactionV2(options) {
    options.httpMethod = "POST";
    return discussionsApiRequestV2(`/reactions`, options);
}
/**
 * remove reaction
 *
 * @export
 * @param {IRemoveReactionOptions} options
 * @return {*}  {Promise<IRemoveReactionResponse>}
 */
export function removeReactionV2(options) {
    const { reactionId } = options;
    options.httpMethod = "DELETE";
    return discussionsApiRequestV2(`/reactions/${reactionId}`, options);
}
//# sourceMappingURL=reactions.js.map