// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as UniqueDevicesAPI from 'cloudflaredev/resources/zero-trust/dex/tests/unique-devices';
export class UniqueDevices extends 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);
    }
}
(function (UniqueDevices) {
    UniqueDevices.UniqueDevices = UniqueDevicesAPI.UniqueDevices;
})(UniqueDevices || (UniqueDevices = {}));
//# sourceMappingURL=unique-devices.mjs.map