/** * @deprecated */ export interface NotifyPayload { topicId: string; data: NotifyData; } /** * @deprecated */ export type NotifyData = CallActionData | PromptMessageData; /** * @deprecated */ export declare enum DataType { PROMPT_MESSAGE = "PROMPT_MESSAGE", CALL_ACTION = "CALL_ACTION" } /** * @deprecated */ export interface BaseData { type: DataType; } /** * @deprecated */ export interface PromptMessageData extends BaseData { type: DataType.PROMPT_MESSAGE; message: string; color?: string; } /** * @deprecated */ export declare enum CallActionType { GET_MENU = "GET_MENU", GET_STOCK = "GET_STOCK", GET_REWARD = "GET_REWARD", GET_ORDER = "GET_ORDER", DELIVERY_TIMEOUT = "DELIVERY_TIMEOUT" } /** * @deprecated */ export interface CallActionData extends BaseData { type: DataType.CALL_ACTION; action: CallActionType; data?: any; }