Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ partial void ProcessAssistantControllerCreateResponseContent(
/// </param>
/// <param name="clientMessages">
/// These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.<br/>
/// Example: [assistant.started, conversation-update, function-call, hang, model-output, speech-update, status-update, tool-calls, transcript, transfer-update, user-interrupted, voice-input, workflow.node.started]
/// Example: [conversation-update, function-call, hang, model-output, speech-update, status-update, transfer-update, transcript, tool-calls, user-interrupted, voice-input, workflow.node.started, assistant.started]
/// </param>
/// <param name="serverMessages">
/// These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,handoff-destination-request,user-interrupted,assistant.started. You can check the shape of the messages in ServerMessage schema.<br/>
/// Example: [assistant.started, conversation-update, end-of-call-report, function-call, handoff-destination-request, hang, speech-update, status-update, tool-calls, transfer-destination-request, user-interrupted]
/// Example: [conversation-update, end-of-call-report, function-call, hang, speech-update, status-update, tool-calls, transfer-destination-request, handoff-destination-request, user-interrupted, assistant.started]
/// </param>
/// <param name="maxDurationSeconds">
/// This is the maximum number of seconds that the call will last. When the call reaches this duration, it will be ended.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,11 @@ partial void ProcessAssistantControllerUpdateResponseContent(
/// </param>
/// <param name="clientMessages">
/// These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.<br/>
/// Example: [assistant.started, conversation-update, function-call, hang, model-output, speech-update, status-update, tool-calls, transcript, transfer-update, user-interrupted, voice-input, workflow.node.started]
/// Example: [conversation-update, function-call, hang, model-output, speech-update, status-update, transfer-update, transcript, tool-calls, user-interrupted, voice-input, workflow.node.started, assistant.started]
/// </param>
/// <param name="serverMessages">
/// These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,handoff-destination-request,user-interrupted,assistant.started. You can check the shape of the messages in ServerMessage schema.<br/>
/// Example: [assistant.started, conversation-update, end-of-call-report, function-call, handoff-destination-request, hang, speech-update, status-update, tool-calls, transfer-destination-request, user-interrupted]
/// Example: [conversation-update, end-of-call-report, function-call, hang, speech-update, status-update, tool-calls, transfer-destination-request, handoff-destination-request, user-interrupted, assistant.started]
/// </param>
/// <param name="maxDurationSeconds">
/// This is the maximum number of seconds that the call will last. When the call reaches this duration, it will be ended.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ public partial interface IAssistantsClient
/// </param>
/// <param name="clientMessages">
/// These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.<br/>
/// Example: [assistant.started, conversation-update, function-call, hang, model-output, speech-update, status-update, tool-calls, transcript, transfer-update, user-interrupted, voice-input, workflow.node.started]
/// Example: [conversation-update, function-call, hang, model-output, speech-update, status-update, transfer-update, transcript, tool-calls, user-interrupted, voice-input, workflow.node.started, assistant.started]
/// </param>
/// <param name="serverMessages">
/// These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,handoff-destination-request,user-interrupted,assistant.started. You can check the shape of the messages in ServerMessage schema.<br/>
/// Example: [assistant.started, conversation-update, end-of-call-report, function-call, handoff-destination-request, hang, speech-update, status-update, tool-calls, transfer-destination-request, user-interrupted]
/// Example: [conversation-update, end-of-call-report, function-call, hang, speech-update, status-update, tool-calls, transfer-destination-request, handoff-destination-request, user-interrupted, assistant.started]
/// </param>
/// <param name="maxDurationSeconds">
/// This is the maximum number of seconds that the call will last. When the call reaches this duration, it will be ended.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ public partial interface IAssistantsClient
/// </param>
/// <param name="clientMessages">
/// These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.<br/>
/// Example: [assistant.started, conversation-update, function-call, hang, model-output, speech-update, status-update, tool-calls, transcript, transfer-update, user-interrupted, voice-input, workflow.node.started]
/// Example: [conversation-update, function-call, hang, model-output, speech-update, status-update, transfer-update, transcript, tool-calls, user-interrupted, voice-input, workflow.node.started, assistant.started]
/// </param>
/// <param name="serverMessages">
/// These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,handoff-destination-request,user-interrupted,assistant.started. You can check the shape of the messages in ServerMessage schema.<br/>
/// Example: [assistant.started, conversation-update, end-of-call-report, function-call, handoff-destination-request, hang, speech-update, status-update, tool-calls, transfer-destination-request, user-interrupted]
/// Example: [conversation-update, end-of-call-report, function-call, hang, speech-update, status-update, tool-calls, transfer-destination-request, handoff-destination-request, user-interrupted, assistant.started]
/// </param>
/// <param name="maxDurationSeconds">
/// This is the maximum number of seconds that the call will last. When the call reaches this duration, it will be ended.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public partial interface ISessionsClient
/// <param name="assistantOverrides"></param>
/// <param name="number"></param>
/// <param name="sipUri"></param>
/// <param name="customerName"></param>
/// <param name="name2"></param>
/// <param name="email"></param>
/// <param name="externalId"></param>
/// <param name="customerNumberAny">
Expand Down Expand Up @@ -57,7 +57,7 @@ public partial interface ISessionsClient
object? assistantOverrides = default,
string? number = default,
string? sipUri = default,
string? customerName = default,
string? name2 = default,
string? email = default,
string? externalId = default,
string? customerNumberAny = default,
Expand Down
12 changes: 6 additions & 6 deletions src/libs/Vapi/Generated/Vapi.JsonConverters.CredentialsItem.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ public class CredentialsItemJsonConverter : global::System.Text.Json.Serializati
throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.CreateDeepSeekCredentialDTO)}");
deepSeek = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}
global::Vapi.CreateElevenLabsCredentialDTO? elevenlabs = default;
if (discriminator?.Provider == global::Vapi.WorkflowUserEditableCredentialDiscriminatorProvider.Elevenlabs)
global::Vapi.CreateElevenLabsCredentialDTO? x11labs = default;
if (discriminator?.Provider == global::Vapi.WorkflowUserEditableCredentialDiscriminatorProvider.x11labs)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.CreateElevenLabsCredentialDTO), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Vapi.CreateElevenLabsCredentialDTO> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.CreateElevenLabsCredentialDTO)}");
elevenlabs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
x11labs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}
global::Vapi.CreateGcpCredentialDTO? gcp = default;
if (discriminator?.Provider == global::Vapi.WorkflowUserEditableCredentialDiscriminatorProvider.Gcp)
Expand Down Expand Up @@ -444,7 +444,7 @@ public class CredentialsItemJsonConverter : global::System.Text.Json.Serializati

deepSeek,

elevenlabs,
x11labs,

gcp,

Expand Down Expand Up @@ -625,11 +625,11 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.CreateDeepSeekCredentialDTO).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.DeepSeek, typeInfo);
}
else if (value.IsElevenlabs)
else if (value.Isx11labs)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.CreateElevenLabsCredentialDTO), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Vapi.CreateElevenLabsCredentialDTO?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.CreateElevenLabsCredentialDTO).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Elevenlabs, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.x11labs, typeInfo);
}
else if (value.IsGcp)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ public class CredentialsItem2JsonConverter : global::System.Text.Json.Serializat
throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.CreateDeepSeekCredentialDTO)}");
deepSeek = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}
global::Vapi.CreateElevenLabsCredentialDTO? elevenlabs = default;
if (discriminator?.Provider == global::Vapi.AssistantOverridesCredentialDiscriminatorProvider.Elevenlabs)
global::Vapi.CreateElevenLabsCredentialDTO? x11labs = default;
if (discriminator?.Provider == global::Vapi.AssistantOverridesCredentialDiscriminatorProvider.x11labs)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.CreateElevenLabsCredentialDTO), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Vapi.CreateElevenLabsCredentialDTO> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.CreateElevenLabsCredentialDTO)}");
elevenlabs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
x11labs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}
global::Vapi.CreateGcpCredentialDTO? gcp = default;
if (discriminator?.Provider == global::Vapi.AssistantOverridesCredentialDiscriminatorProvider.Gcp)
Expand Down Expand Up @@ -444,7 +444,7 @@ public class CredentialsItem2JsonConverter : global::System.Text.Json.Serializat

deepSeek,

elevenlabs,
x11labs,

gcp,

Expand Down Expand Up @@ -625,11 +625,11 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.CreateDeepSeekCredentialDTO).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.DeepSeek, typeInfo);
}
else if (value.IsElevenlabs)
else if (value.Isx11labs)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.CreateElevenLabsCredentialDTO), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Vapi.CreateElevenLabsCredentialDTO?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.CreateElevenLabsCredentialDTO).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Elevenlabs, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.x11labs, typeInfo);
}
else if (value.IsGcp)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ public class CredentialsItem3JsonConverter : global::System.Text.Json.Serializat
throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.CreateDeepSeekCredentialDTO)}");
deepSeek = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}
global::Vapi.CreateElevenLabsCredentialDTO? elevenlabs = default;
if (discriminator?.Provider == global::Vapi.CreateAssistantDTOCredentialDiscriminatorProvider.Elevenlabs)
global::Vapi.CreateElevenLabsCredentialDTO? x11labs = default;
if (discriminator?.Provider == global::Vapi.CreateAssistantDTOCredentialDiscriminatorProvider.x11labs)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.CreateElevenLabsCredentialDTO), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Vapi.CreateElevenLabsCredentialDTO> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.CreateElevenLabsCredentialDTO)}");
elevenlabs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
x11labs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}
global::Vapi.CreateGcpCredentialDTO? gcp = default;
if (discriminator?.Provider == global::Vapi.CreateAssistantDTOCredentialDiscriminatorProvider.Gcp)
Expand Down Expand Up @@ -444,7 +444,7 @@ public class CredentialsItem3JsonConverter : global::System.Text.Json.Serializat

deepSeek,

elevenlabs,
x11labs,

gcp,

Expand Down Expand Up @@ -625,11 +625,11 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.CreateDeepSeekCredentialDTO).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.DeepSeek, typeInfo);
}
else if (value.IsElevenlabs)
else if (value.Isx11labs)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.CreateElevenLabsCredentialDTO), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Vapi.CreateElevenLabsCredentialDTO?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.CreateElevenLabsCredentialDTO).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Elevenlabs, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.x11labs, typeInfo);
}
else if (value.IsGcp)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ public class CredentialsItem4JsonConverter : global::System.Text.Json.Serializat
throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.CreateDeepSeekCredentialDTO)}");
deepSeek = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}
global::Vapi.CreateElevenLabsCredentialDTO? elevenlabs = default;
if (discriminator?.Provider == global::Vapi.AssistantCredentialDiscriminatorProvider.Elevenlabs)
global::Vapi.CreateElevenLabsCredentialDTO? x11labs = default;
if (discriminator?.Provider == global::Vapi.AssistantCredentialDiscriminatorProvider.x11labs)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.CreateElevenLabsCredentialDTO), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Vapi.CreateElevenLabsCredentialDTO> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vapi.CreateElevenLabsCredentialDTO)}");
elevenlabs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
x11labs = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}
global::Vapi.CreateGcpCredentialDTO? gcp = default;
if (discriminator?.Provider == global::Vapi.AssistantCredentialDiscriminatorProvider.Gcp)
Expand Down Expand Up @@ -444,7 +444,7 @@ public class CredentialsItem4JsonConverter : global::System.Text.Json.Serializat

deepSeek,

elevenlabs,
x11labs,

gcp,

Expand Down Expand Up @@ -625,11 +625,11 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.CreateDeepSeekCredentialDTO).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.DeepSeek, typeInfo);
}
else if (value.IsElevenlabs)
else if (value.Isx11labs)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vapi.CreateElevenLabsCredentialDTO), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Vapi.CreateElevenLabsCredentialDTO?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vapi.CreateElevenLabsCredentialDTO).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Elevenlabs, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.x11labs, typeInfo);
}
else if (value.IsGcp)
{
Expand Down
Loading