/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 4c39f7032d00 */ import { realtimeSessionsCreate } from "../funcs/realtimeSessionsCreate.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Sessions extends ClientSDK { /** * Create Client Session * * @remarks * Create a client session. Requires the `create_client_session` permission. */ async create( request: operations.Body, options?: RequestOptions, ): Promise { return unwrapAsync(realtimeSessionsCreate( this, request, options, )); } }