"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Items = void 0;
const resource_1 = require("cloudflare/resource");
class Items extends resource_1.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);
    }
}
exports.Items = Items;
(function (Items) {
})(Items = exports.Items || (exports.Items = {}));
//# sourceMappingURL=items.js.map