@cotofe/service-of-model
Version:
OpenAPI client for @cotofe/service-of-model
61 lines (60 loc) • 2.35 kB
TypeScript
/**
* Platform
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { CommentCreateReq, CommentDeleteReq, ResponseClassCommentCreateResp, ResponseClassInt, ResponseClassPageDomainCommentListResp } from '../models/index';
import * as runtime from '../runtime';
interface CreateCommentUsingPOSTRequest {
commentCreateReq?: CommentCreateReq;
}
interface DeleteCommentUsingPOSTRequest {
commentDeleteReq?: CommentDeleteReq;
}
interface GetCommentsUsingGETRequest {
tokenAddress: string;
pageNum?: number;
pageSize?: number;
}
/**
*
*/
export declare class ModelTokenCommentApi extends runtime.BaseAPI {
/**
* create comment
* create
*/
createCommentUsingPOSTRaw(requestParameters: CreateCommentUsingPOSTRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResponseClassCommentCreateResp>>;
/**
* create comment
* create
*/
createCommentUsingPOST(requestParameters?: CreateCommentUsingPOSTRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResponseClassCommentCreateResp>;
/**
* delete comment
* delete
*/
deleteCommentUsingPOSTRaw(requestParameters: DeleteCommentUsingPOSTRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResponseClassInt>>;
/**
* delete comment
* delete
*/
deleteCommentUsingPOST(requestParameters?: DeleteCommentUsingPOSTRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResponseClassInt>;
/**
* list comments
* list
*/
getCommentsUsingGETRaw(requestParameters: GetCommentsUsingGETRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResponseClassPageDomainCommentListResp>>;
/**
* list comments
* list
*/
getCommentsUsingGET(requestParameters: GetCommentsUsingGETRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResponseClassPageDomainCommentListResp>;
}
export {};