"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Summaries = void 0;
const resource_1 = require("cloudflare/resource");
const core_1 = require("cloudflare/core");
class Summaries extends resource_1.APIResource {
    get(zone, query = {}, options) {
        if ((0, core_1.isRequestOptions)(query)) {
            return this.get(zone, {}, query);
        }
        return this._client.get(`/zones/${zone}/spectrum/analytics/events/summary`, {
            query,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
exports.Summaries = Summaries;
(function (Summaries) {
})(Summaries = exports.Summaries || (exports.Summaries = {}));
//# sourceMappingURL=summaries.js.map