shopee-client
Version:
Shoppe Open API Client
27 lines (26 loc) • 1.03 kB
TypeScript
import BaseModule from "../BaseModule";
import GetShopResponse from "./response/getShop";
import UpdateShopInfo from "./request/updateShopInfo";
import UpdateResponse from "./response/updateResponse";
import setInstallmentResponse from "./response/setInstallmentResponse";
import SetInstallmentStatusRequest from "./request/SetInstallmentStatusRequest";
export default class ShopModule extends BaseModule {
/**
* Use this call to get information of shop
*/
getShop(): Promise<GetShopResponse>;
/**
* Use this call to update information of shop
* @param request
*/
updateShop(request: UpdateShopInfo): Promise<UpdateResponse>;
/**
* Shop performance includes the indexes from "My Performance" of Seller Center.
*/
getPerformance(): Promise<any>;
/**
* Only for TW whitelisted shop.Use this API to set the installment status of shop.
* @param request
*/
setInstallmentStatus(request: SetInstallmentStatusRequest): Promise<setInstallmentResponse>;
}