UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

22 lines 1.08 kB
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.DeviceListResponsesV4PagePagination = exports.Devices = void 0; const resource_1 = require("../../../../resource.js"); const pagination_1 = require("../../../../pagination.js"); class Devices extends resource_1.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 }); } } exports.Devices = Devices; class DeviceListResponsesV4PagePagination extends pagination_1.V4PagePagination { } exports.DeviceListResponsesV4PagePagination = DeviceListResponsesV4PagePagination; Devices.DeviceListResponsesV4PagePagination = DeviceListResponsesV4PagePagination; //# sourceMappingURL=devices.js.map