cloudflare
Version:
The official TypeScript library for the Cloudflare API
24 lines • 900 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../../../resource.mjs";
import * as UniqueDevicesAPI from "./unique-devices.mjs";
import { V4PagePagination } from "../../../../pagination.mjs";
export class Tests extends APIResource {
constructor() {
super(...arguments);
this.uniqueDevices = new UniqueDevicesAPI.UniqueDevices(this._client);
}
/**
* List DEX tests with overview metrics
*/
list(params, options) {
const { account_id, ...query } = params;
return this._client.getAPIList(`/accounts/${account_id}/dex/tests/overview`, TestsV4PagePagination, {
query,
...options,
});
}
}
export class TestsV4PagePagination extends V4PagePagination {
}
Tests.TestsV4PagePagination = TestsV4PagePagination;
//# sourceMappingURL=tests.mjs.map