// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as DNSAPI from 'cloudflaredev/resources/intel/dns';
import { V4PagePagination } from 'cloudflaredev/pagination';
export class DNS extends APIResource {
    /**
     * Get Passive DNS by IP
     */
    list(params, options) {
        const { account_id, ...query } = params;
        return this._client.getAPIList(`/accounts/${account_id}/intel/dns`, DNSListResponsesV4PagePagination, {
            query,
            ...options,
        });
    }
}
export class DNSListResponsesV4PagePagination extends V4PagePagination {
}
(function (DNS) {
    DNS.DNS = DNSAPI.DNS;
    DNS.DNSListResponsesV4PagePagination = DNSAPI.DNSListResponsesV4PagePagination;
})(DNS || (DNS = {}));
//# sourceMappingURL=dns.mjs.map