// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as DevicesAPI from 'cloudflaredev/resources/zero-trust/dex/fleet-status/devices';
import { V4PagePaginationArray } from 'cloudflaredev/pagination';
export class Devices extends APIResource {
    /**
     * List details for devices using WARP
     */
    list(params, options) {
        const { account_id, ...query } = params;
        return this._client.getAPIList(`/accounts/${account_id}/dex/fleet-status/devices`, DeviceListResponsesV4PagePaginationArray, { query, ...options });
    }
}
export class DeviceListResponsesV4PagePaginationArray extends V4PagePaginationArray {
}
(function (Devices) {
    Devices.DeviceListResponsesV4PagePaginationArray = DevicesAPI.DeviceListResponsesV4PagePaginationArray;
})(Devices || (Devices = {}));
//# sourceMappingURL=devices.mjs.map