import BaseModule from "../BaseModules"; import RegisterWebhookRequest from "./request/RegisterWebhookRequest"; import RegisterWebhookResponse from "./response/RegisterWebhookResponse"; import ListRegisteredResponse from "./response/ListRegisteredResponse"; export default class WebhookModule extends BaseModule { /** * For receiving notifications for new order, order cancellations and order status changes from Tokopedia, you will need to first register as a fulfillment service by following endpoint: * @param request */ registerWebhook(request: RegisterWebhookRequest): Promise; /** * To check what are the urls that receiving the notifications, use the following endpoint: * @param request */ listWebhook(): Promise; }