UNPKG

@kontent-ai/management-sdk

Version:
20 lines 765 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeleteLegacyWebhookQuery = void 0; const base_query_1 = require("../base-query"); class DeleteLegacyWebhookQuery extends base_query_1.BaseQuery { constructor(config, queryService, identifier) { super(config, queryService); this.config = config; this.queryService = queryService; this.identifier = identifier; } toPromise() { return this.queryService.deleteWebhookAsync(this.getUrl(), this.queryConfig); } getAction() { return this.apiEndpoints.deleteLegacyWebhook(this.identifier); } } exports.DeleteLegacyWebhookQuery = DeleteLegacyWebhookQuery; //# sourceMappingURL=delete-legacy-webhook-query.class.js.map