// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as ColosAPI from 'cloudflaredev/resources/zero-trust/dex/colos';
import { SinglePage } from 'cloudflaredev/pagination';
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.getAPIList(`/accounts/${account_id}/dex/colos`, ColoListResponsesSinglePage, {
            query,
            ...options,
        });
    }
}
export class ColoListResponsesSinglePage extends SinglePage {
}
(function (Colos) {
    Colos.ColoListResponsesSinglePage = ColosAPI.ColoListResponsesSinglePage;
})(Colos || (Colos = {}));
//# sourceMappingURL=colos.mjs.map