// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class Colos extends 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);
    }
}
(function (Colos) {
})(Colos || (Colos = {}));
//# sourceMappingURL=colos.mjs.map