"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Colos = void 0;
const resource_1 = require("cloudflare/resource");
class Colos extends resource_1.APIResource {
    /**
     * List Cloudflare colos that account's devices were connected to during a time
     * period, sorted by usage starting from the most used colo. Colos without traffic
     * are also returned and sorted alphabetically.
     */
    list(params, options) {
        const { account_id, ...query } = params;
        return this._client.get(`/accounts/${account_id}/dex/colos`, { query, ...options })._thenUnwrap((obj) => obj.result);
    }
}
exports.Colos = Colos;
(function (Colos) {
})(Colos = exports.Colos || (exports.Colos = {}));
//# sourceMappingURL=colos.js.map