UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

23 lines 935 B
import { APIResource } from "../../../../resource.js"; import * as Core from "../../../../core.js"; import * as ListsAPI from "./lists.js"; import { SinglePage } from "../../../../pagination.js"; export declare class Items extends APIResource { /** * Fetches all items in a single Zero Trust list. */ list(listId: string, params: ItemListParams, options?: Core.RequestOptions): Core.PagePromise<ItemListResponsesSinglePage, ItemListResponse>; } export declare class ItemListResponsesSinglePage extends SinglePage<ItemListResponse> { } /** * The items in the list. */ export type ItemListResponse = Array<ListsAPI.GatewayItem>; export interface ItemListParams { account_id: string; } export declare namespace Items { export { type ItemListResponse as ItemListResponse, ItemListResponsesSinglePage as ItemListResponsesSinglePage, type ItemListParams as ItemListParams, }; } //# sourceMappingURL=items.d.ts.map