UNPKG

shopee-openapi-v2

Version:
28 lines (27 loc) 772 B
import { ApiMethod } from "./utils/request"; declare type ConfigInfo = { callback_url: string; shut_time: number; blocked_shop_id: number[]; push_config: { order_status: 0 | 1; order_tracking_no: 0 | 1; shop_update: 0 | 1; banned_item: 0 | 1; item_promotion: 0 | 1; reserved_stock_change: 0 | 1; brand_register_result: 0 | 1; promotion_update: 0 | 1; webchat_update: 0 | 1; open_api_authorization_expiry: 0 | 1; shop_authorization_canceled_push: 0 | 1; shop_authorization_push: 0 | 1; }; }; export declare class PushApi { getPushConfig: ApiMethod<{}, ConfigInfo>; setPushConfig: ApiMethod<ConfigInfo, { status: string; }>; } export {};