"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.DNS = void 0;
const resource_1 = require("cloudflare/resource");
class DNS extends resource_1.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);
    }
}
exports.DNS = DNS;
(function (DNS) {
})(DNS = exports.DNS || (exports.DNS = {}));
//# sourceMappingURL=dns.js.map