UNPKG

@martymarron/cliff

Version:
18 lines (17 loc) 732 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeleteCommandProcessor = void 0; const liff_api_request_adapter_1 = require("../adapters/liff-api-request-adapter"); const liff_app_command_processor_1 = require("./liff-app-command-processor"); class DeleteCommandProcessor extends liff_app_command_processor_1.LiffAppCommandProcessorBase { constructor(options, flags) { super(options.baseUrl); this.request = new liff_api_request_adapter_1.LiffAppDeleteRequestAdapter({ accessToken: options.accessToken, }, flags); } async process() { await this.client.delete(this.request); } } exports.DeleteCommandProcessor = DeleteCommandProcessor;