1 | "use strict";
|
2 | var __extends = (this && this.__extends) || (function () {
|
3 | var extendStatics = function (d, b) {
|
4 | extendStatics = Object.setPrototypeOf ||
|
5 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6 | function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7 | return extendStatics(d, b);
|
8 | };
|
9 | return function (d, b) {
|
10 | if (typeof b !== "function" && b !== null)
|
11 | throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12 | extendStatics(d, b);
|
13 | function __() { this.constructor = d; }
|
14 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15 | };
|
16 | })();
|
17 | Object.defineProperty(exports, "__esModule", { value: true });
|
18 | exports.CreateWebhookRequest = exports.UpdateWebhookRequest = void 0;
|
19 | var UpdateWebhookRequest = (function () {
|
20 | function UpdateWebhookRequest(url, triggers, httpAuth, httpHeaders) {
|
21 | this.Url = url;
|
22 | this.HttpAuth = httpAuth;
|
23 | this.HttpHeaders = httpHeaders;
|
24 | this.Triggers = triggers;
|
25 | }
|
26 | return UpdateWebhookRequest;
|
27 | }());
|
28 | exports.UpdateWebhookRequest = UpdateWebhookRequest;
|
29 | var CreateWebhookRequest = (function (_super) {
|
30 | __extends(CreateWebhookRequest, _super);
|
31 | function CreateWebhookRequest(url, triggers, httpAuth, httpHeaders, messageStream) {
|
32 | var _this = _super.call(this, url, triggers, httpAuth, httpHeaders) || this;
|
33 | _this.MessageStream = messageStream;
|
34 | return _this;
|
35 | }
|
36 | return CreateWebhookRequest;
|
37 | }(UpdateWebhookRequest));
|
38 | exports.CreateWebhookRequest = CreateWebhookRequest;
|
39 |
|
\ | No newline at end of file |