UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

27 lines 841 B
import * as Core from 'cloudflare/core'; import { APIResource } from 'cloudflare/resource'; import * as IPListsAPI from 'cloudflare/resources/intel/ip-lists'; export declare class IPLists extends APIResource { /** * Get IP Lists */ get(params: IPListGetParams, options?: Core.RequestOptions): Core.APIPromise<IPListGetResponse | null>; } export interface IPList { id?: number; description?: string; name?: string; } export type IPListGetResponse = Array<IPList>; export interface IPListGetParams { /** * Identifier */ account_id: string; } export declare namespace IPLists { export import IPList = IPListsAPI.IPList; export import IPListGetResponse = IPListsAPI.IPListGetResponse; export import IPListGetParams = IPListsAPI.IPListGetParams; } //# sourceMappingURL=ip-lists.d.ts.map