"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Pages = void 0;
const resource_1 = require("cloudflare/resource");
class Pages extends resource_1.APIResource {
    /**
     * Lists all webpages which have been tested.
     */
    list(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/speed_api/pages`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.Pages = Pages;
(function (Pages) {
})(Pages = exports.Pages || (exports.Pages = {}));
//# sourceMappingURL=pages.js.map