UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

24 lines 915 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.DNSV4PagePagination = exports.DNS = void 0; const resource_1 = require("../../resource.js"); const pagination_1 = require("../../pagination.js"); class DNS extends resource_1.APIResource { /** * Gets a list of all the domains that have resolved to a specific IP address. */ list(params, options) { const { account_id, ...query } = params; return this._client.getAPIList(`/accounts/${account_id}/intel/dns`, DNSV4PagePagination, { query, ...options, }); } } exports.DNS = DNS; class DNSV4PagePagination extends pagination_1.V4PagePagination { } exports.DNSV4PagePagination = DNSV4PagePagination; DNS.DNSV4PagePagination = DNSV4PagePagination; //# sourceMappingURL=dns.js.map