shopee-client
Version:
Shoppe Open API Client
29 lines (28 loc) • 1.24 kB
TypeScript
import BaseModule from "../BaseModule";
import GetTopPickListResponse from "./response/GetTopPickListResponse";
import AddTopPickRequest from "./request/AddTopPickRequest";
import AddTopPickResponse from "./response/AddTopPickResponse";
import UpdateTopPickRequest from "./request/UpdateTopPickRequest";
import UpdateTopPickResponse from "./response/UpdateTopPickResponse";
import DeleteTopPickResponse from "./response/DeleteTopPickResponse";
export default class TopPickModule extends BaseModule {
/**
* Get the list of all collections.
*/
getTopPick(): Promise<GetTopPickListResponse>;
/**
* Add one collection. One shop can have up to 10 collections.
* @param request
*/
addTopPick(request: AddTopPickRequest): Promise<AddTopPickResponse>;
/**
* Use this API to update the collection name, the item list in a collection, or to activate a collection.
* @param request
*/
updateTopPick(request: UpdateTopPickRequest): Promise<UpdateTopPickResponse>;
/**
* Use this API to update the collection name, the item list in a collection, or to activate a collection.
* @param request
*/
deleteTopPick(top_picks_id: number): Promise<DeleteTopPickResponse>;
}