| 1234567891011121314151617 |
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
- import { APIResource } from "../../core/resource.mjs";
- export class ClientSecrets extends APIResource {
- /**
- * Create a Realtime client secret with an associated session configuration.
- *
- * @example
- * ```ts
- * const clientSecret =
- * await client.realtime.clientSecrets.create();
- * ```
- */
- create(body, options) {
- return this._client.post('/realtime/client_secrets', { body, ...options });
- }
- }
- //# sourceMappingURL=client-secrets.mjs.map
|