// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
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.get(`/accounts/${account_id}/gateway/lists/${listId}/items`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (Items) {
})(Items || (Items = {}));
//# sourceMappingURL=items.mjs.map