"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Top = void 0;
const resource_1 = require("cloudflaredev/resource");
class Top extends resource_1.APIResource {
    /**
     * Get top autonomous systems by DNS queries made to Cloudflare's public DNS
     * resolver.
     */
    ases(query, options) {
        return this._client.get('/radar/dns/top/ases', { query, ...options })._thenUnwrap((obj) => obj.result);
    }
    /**
     * Get top locations by DNS queries made to Cloudflare's public DNS resolver.
     */
    locations(query, options) {
        return this._client.get('/radar/dns/top/locations', { query, ...options })._thenUnwrap((obj) => obj.result);
    }
}
exports.Top = Top;
(function (Top) {
})(Top = exports.Top || (exports.Top = {}));
//# sourceMappingURL=top.js.map