File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/api/resources/empathicVoice/resources/chat/client Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export declare namespace Chat {
2424 eventLimit ?: number | undefined ;
2525 resumedChatGroupId ?: string | undefined ;
2626 verboseTranscription ?: boolean | undefined ;
27+ allowConnection ?: boolean | undefined ;
2728 /** @deprecated Use sessionSettings.voiceId instead */
2829 voiceId ?: string | undefined ;
2930 apiKey ?: string | undefined ;
@@ -61,6 +62,7 @@ export class Chat {
6162 headers,
6263 debug,
6364 reconnectAttempts,
65+ allowConnection,
6466 } = args ;
6567 const _queryParams : Record < string , string | string [ ] | object | object [ ] | null > = { } ;
6668
@@ -97,6 +99,10 @@ export class Chat {
9799 _queryParams [ "api_key" ] = apiKey ;
98100 }
99101
102+ if ( allowConnection != null ) {
103+ _queryParams [ "allow_connection" ] = allowConnection === true ? "true" : "false" ;
104+ }
105+
100106 if ( sessionSettings != null ) {
101107 _queryParams [ "session_settings" ] = serializers . empathicVoice . ConnectSessionSettings . jsonOrThrow (
102108 sessionSettings ,
You can’t perform that action at this time.
0 commit comments