"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RestWebservice = void 0;
var bfastnode_1 = require("bfastnode");
var restController;
var RestWebservice = (function () {
    function RestWebservice(rest) {
        restController = rest;
    }
    RestWebservice.prototype.rulesV2 = function () {
        return bfastnode_1.BFast.functions().onPostHttpRequest('/v2', [
            restController.verifyMethod,
            restController.verifyBodyData,
            restController.verifyApplicationId,
            restController.verifyToken,
            restController.handleRuleBlocks
        ]);
    };
    return RestWebservice;
}());
exports.RestWebservice = RestWebservice;
