cloudflare
Version:
The official TypeScript library for the Cloudflare API
17 lines • 813 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../../../resource.mjs";
import { V4PagePagination } from "../../../../pagination.mjs";
export class Devices extends APIResource {
/**
* List devices with WARP client support for remote captures which have been
* connected in the last 1 hour.
*/
list(params, options) {
const { account_id, ...query } = params;
return this._client.getAPIList(`/accounts/${account_id}/dex/commands/devices`, DeviceListResponsesV4PagePagination, { query, ...options });
}
}
export class DeviceListResponsesV4PagePagination extends V4PagePagination {
}
Devices.DeviceListResponsesV4PagePagination = DeviceListResponsesV4PagePagination;
//# sourceMappingURL=devices.mjs.map