"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebhookSchema = exports.Webhook = void 0;
const WebhookSchema_1 = require("../../schemas/webhook/WebhookSchema");
Object.defineProperty(exports, "WebhookSchema", { enumerable: true, get: function () { return WebhookSchema_1.WebhookSchema; } });
class Webhook {
    constructor(values) {
        return Object.assign(this, values);
    }
    isValid() {
        return WebhookSchema_1.WebhookSchema.isValid(this);
    }
    validate() {
        return WebhookSchema_1.WebhookSchema.validate(this);
    }
}
exports.Webhook = Webhook;
