UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

15 lines 687 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from 'cloudflare/resource'; export class Details extends APIResource { /** * Previews an event's configuration as if it was active. Inherited fields from the * waiting room will be displayed with their current values. */ get(waitingRoomId, eventId, params, options) { const { zone_id } = params; return this._client.get(`/zones/${zone_id}/waiting_rooms/${waitingRoomId}/events/${eventId}/details`, options)._thenUnwrap((obj) => obj.result); } } (function (Details) { })(Details || (Details = {})); //# sourceMappingURL=details.mjs.map