"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConnectionTampering = void 0;
const resource_1 = require("cloudflare/resource");
const core_1 = require("cloudflare/core");
class ConnectionTampering extends resource_1.APIResource {
    summary(query = {}, options) {
        if ((0, core_1.isRequestOptions)(query)) {
            return this.summary({}, query);
        }
        return this._client.get('/radar/connection_tampering/summary', { query, ...options })._thenUnwrap((obj) => obj.result);
    }
    timeseriesGroups(query = {}, options) {
        if ((0, core_1.isRequestOptions)(query)) {
            return this.timeseriesGroups({}, query);
        }
        return this._client.get('/radar/connection_tampering/timeseries_groups', {
            query,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
exports.ConnectionTampering = ConnectionTampering;
(function (ConnectionTampering) {
})(ConnectionTampering = exports.ConnectionTampering || (exports.ConnectionTampering = {}));
//# sourceMappingURL=connection-tampering.js.map