cloudflare
Version:
The official TypeScript library for the Cloudflare API
21 lines • 803 B
JavaScript
;
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.IPListsSinglePage = exports.IPLists = void 0;
const resource_1 = require("../../resource.js");
const pagination_1 = require("../../pagination.js");
class IPLists extends resource_1.APIResource {
/**
* Get IP Lists
*/
get(params, options) {
const { account_id } = params;
return this._client.getAPIList(`/accounts/${account_id}/intel/ip-list`, IPListsSinglePage, options);
}
}
exports.IPLists = IPLists;
class IPListsSinglePage extends pagination_1.SinglePage {
}
exports.IPListsSinglePage = IPListsSinglePage;
IPLists.IPListsSinglePage = IPListsSinglePage;
//# sourceMappingURL=ip-lists.js.map