cloudflare
Version:
The official TypeScript library for the Cloudflare API
14 lines • 505 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflare/resource';
export class DNS extends APIResource {
/**
* Get Passive DNS by IP
*/
get(params, options) {
const { account_id, ...query } = params;
return this._client.get(`/accounts/${account_id}/intel/dns`, { query, ...options })._thenUnwrap((obj) => obj.result);
}
}
(function (DNS) {
})(DNS || (DNS = {}));
//# sourceMappingURL=dns.mjs.map