UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

20 lines 779 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.UniqueDevices = void 0; const resource_1 = require("../../../../resource.js"); class UniqueDevices extends resource_1.APIResource { /** * Returns unique count of devices that have run synthetic application monitoring * tests in the past 7 days. */ list(params, options) { const { account_id, ...query } = params; return this._client.get(`/accounts/${account_id}/dex/tests/unique-devices`, { query, ...options, })._thenUnwrap((obj) => obj.result); } } exports.UniqueDevices = UniqueDevices; //# sourceMappingURL=unique-devices.js.map