@broadcom/endevor-bridge-for-git-rest-api
Version:
Endevor Bridge for Git Rest client
15 lines (14 loc) • 523 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreateGlobalWebhook = void 0;
const GlobalAction_1 = require("../GlobalAction");
const AbstractRequest_1 = require("../../AbstractRequest");
class CreateGlobalWebhook extends GlobalAction_1.GlobalAction {
constructor(payload) {
super();
this.customPath = "/webhook";
this.payload = payload;
this.method = AbstractRequest_1.RequestMethod.POST;
}
}
exports.CreateGlobalWebhook = CreateGlobalWebhook;