UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

13 lines 506 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from 'cloudflare/resource'; export class Search extends APIResource { /** * Lets you search for locations, autonomous systems (AS) and reports. */ global(query, options) { return this._client.get('/radar/search/global', { query, ...options })._thenUnwrap((obj) => obj.result); } } (function (Search) { })(Search || (Search = {})); //# sourceMappingURL=search.mjs.map