// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as ItemsAPI from 'cloudflaredev/resources/zero-trust/gateway/lists/items';
import { SinglePage } from 'cloudflaredev/pagination';
export class Items extends APIResource {
    /**
     * Fetches all items in a single Zero Trust list.
     */
    list(listId, params, options) {
        const { account_id } = params;
        return this._client.getAPIList(`/accounts/${account_id}/gateway/lists/${listId}/items`, ItemListResponsesSinglePage, options);
    }
}
export class ItemListResponsesSinglePage extends SinglePage {
}
(function (Items) {
    Items.ItemListResponsesSinglePage = ItemsAPI.ItemListResponsesSinglePage;
})(Items || (Items = {}));
//# sourceMappingURL=items.mjs.map