@allofshop/aos-sdk-nodejs
Version:
AOS SDK for NodeJS
7 lines (6 loc) • 702 B
TypeScript
import * as lite from '@allofshop/aos-sdk-nodejs-lite';
import { CreateDto, FindByArticleIdDto, UpdateOneByIdDto } from './type';
export declare function createComment(boardId: string, articleId: string, body: CreateDto): Promise<lite.AllOfShopResponse<unknown>>;
export declare function updateComment(boardId: string, articleId: string, commentId: string, body: UpdateOneByIdDto): Promise<lite.AllOfShopResponse<unknown>>;
export declare function deleteComment(boardId: string, articleId: string, commentId: string): Promise<lite.AllOfShopResponse<unknown>>;
export declare function getComments(boardId: string, articleId: string, query: FindByArticleIdDto): Promise<lite.AllOfShopResponse<unknown>>;