// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class Pages extends 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);
    }
}
(function (Pages) {
})(Pages || (Pages = {}));
//# sourceMappingURL=pages.mjs.map