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
548 changes: 299 additions & 249 deletions src/libs/Vapi/Generated/Vapi.JsonSerializerContext.g.cs

Large diffs are not rendered by default.

4,776 changes: 2,398 additions & 2,378 deletions src/libs/Vapi/Generated/Vapi.JsonSerializerContextTypes.g.cs

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions src/libs/Vapi/Generated/Vapi.Models.CallEndedReason.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,22 @@ public enum CallEndedReason
/// <summary>
///
/// </summary>
CallInProgressErrorProviderfaultElevenLabsBlockedConcurrentRequestsAndRequestedUpgrade,
/// <summary>
///
/// </summary>
CallInProgressErrorProviderfaultElevenLabsSystemBusyAndRequestedUpgrade,
/// <summary>
///
/// </summary>
CallInProgressErrorProviderfaultElevenLabsVapiVoiceDisabledByOwner,
/// <summary>
///
/// </summary>
CallInProgressErrorProviderfaultElevenLabsVoiceDisabledByOwner,
/// <summary>
///
/// </summary>
CallInProgressErrorProviderfaultGoogle500ServerError,
/// <summary>
///
Expand Down Expand Up @@ -2485,7 +2497,10 @@ public static string ToValueString(this CallEndedReason value)
CallEndedReason.CallInProgressErrorProviderfaultDeepinfraLlmFailed => "call.in-progress.error-providerfault-deepinfra-llm-failed",
CallEndedReason.CallInProgressErrorProviderfaultElevenLabs500ServerError => "call.in-progress.error-providerfault-eleven-labs-500-server-error",
CallEndedReason.CallInProgressErrorProviderfaultElevenLabs503ServerError => "call.in-progress.error-providerfault-eleven-labs-503-server-error",
CallEndedReason.CallInProgressErrorProviderfaultElevenLabsBlockedConcurrentRequestsAndRequestedUpgrade => "call.in-progress.error-providerfault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade",
CallEndedReason.CallInProgressErrorProviderfaultElevenLabsSystemBusyAndRequestedUpgrade => "call.in-progress.error-providerfault-eleven-labs-system-busy-and-requested-upgrade",
CallEndedReason.CallInProgressErrorProviderfaultElevenLabsVapiVoiceDisabledByOwner => "call.in-progress.error-providerfault-eleven-labs-vapi-voice-disabled-by-owner",
CallEndedReason.CallInProgressErrorProviderfaultElevenLabsVoiceDisabledByOwner => "call.in-progress.error-providerfault-eleven-labs-voice-disabled-by-owner",
CallEndedReason.CallInProgressErrorProviderfaultGoogle500ServerError => "call.in-progress.error-providerfault-google-500-server-error",
CallEndedReason.CallInProgressErrorProviderfaultGoogle503ServerOverloadedError => "call.in-progress.error-providerfault-google-503-server-overloaded-error",
CallEndedReason.CallInProgressErrorProviderfaultGoogleLlmFailed => "call.in-progress.error-providerfault-google-llm-failed",
Expand Down Expand Up @@ -3095,7 +3110,10 @@ public static string ToValueString(this CallEndedReason value)
"call.in-progress.error-providerfault-deepinfra-llm-failed" => CallEndedReason.CallInProgressErrorProviderfaultDeepinfraLlmFailed,
"call.in-progress.error-providerfault-eleven-labs-500-server-error" => CallEndedReason.CallInProgressErrorProviderfaultElevenLabs500ServerError,
"call.in-progress.error-providerfault-eleven-labs-503-server-error" => CallEndedReason.CallInProgressErrorProviderfaultElevenLabs503ServerError,
"call.in-progress.error-providerfault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade" => CallEndedReason.CallInProgressErrorProviderfaultElevenLabsBlockedConcurrentRequestsAndRequestedUpgrade,
"call.in-progress.error-providerfault-eleven-labs-system-busy-and-requested-upgrade" => CallEndedReason.CallInProgressErrorProviderfaultElevenLabsSystemBusyAndRequestedUpgrade,
"call.in-progress.error-providerfault-eleven-labs-vapi-voice-disabled-by-owner" => CallEndedReason.CallInProgressErrorProviderfaultElevenLabsVapiVoiceDisabledByOwner,
"call.in-progress.error-providerfault-eleven-labs-voice-disabled-by-owner" => CallEndedReason.CallInProgressErrorProviderfaultElevenLabsVoiceDisabledByOwner,
"call.in-progress.error-providerfault-google-500-server-error" => CallEndedReason.CallInProgressErrorProviderfaultGoogle500ServerError,
"call.in-progress.error-providerfault-google-503-server-overloaded-error" => CallEndedReason.CallInProgressErrorProviderfaultGoogle503ServerOverloadedError,
"call.in-progress.error-providerfault-google-llm-failed" => CallEndedReason.CallInProgressErrorProviderfaultGoogleLlmFailed,
Expand Down
32 changes: 16 additions & 16 deletions src/libs/Vapi/Generated/Vapi.Models.ElevenLabsVoice.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,47 +41,47 @@ public sealed partial class ElevenLabsVoice
public double? Stability { get; set; }

/// <summary>
/// Defines the similarity boost for voice settings.<br/>
/// Defines the similarity boost for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0.75F
/// </summary>
/// <example>0.75F</example>
[global::System.Text.Json.Serialization.JsonPropertyName("similarityBoost")]
public double? SimilarityBoost { get; set; }

/// <summary>
/// Defines the style for voice settings.<br/>
/// Defines the style for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0
/// </summary>
/// <example>0</example>
[global::System.Text.Json.Serialization.JsonPropertyName("style")]
public double? Style { get; set; }

/// <summary>
/// Defines the use speaker boost for voice settings.<br/>
/// Defines the use speaker boost for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: false
/// </summary>
/// <example>false</example>
[global::System.Text.Json.Serialization.JsonPropertyName("useSpeakerBoost")]
public bool? UseSpeakerBoost { get; set; }

/// <summary>
/// Defines the speed for voice settings.<br/>
/// Defines the speed for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0.9F
/// </summary>
/// <example>0.9F</example>
[global::System.Text.Json.Serialization.JsonPropertyName("speed")]
public double? Speed { get; set; }

/// <summary>
/// Defines the optimize streaming latency for voice settings. Defaults to 3.<br/>
/// Defines the optimize streaming latency for voice settings. Defaults to 3. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 3
/// </summary>
/// <example>3</example>
[global::System.Text.Json.Serialization.JsonPropertyName("optimizeStreamingLatency")]
public double? OptimizeStreamingLatency { get; set; }

/// <summary>
/// This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.<br/>
/// This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency. Ignored by `eleven_v4_turbo`.<br/>
/// @default false<br/>
/// Example: false
/// </summary>
Expand All @@ -90,7 +90,7 @@ public sealed partial class ElevenLabsVoice
public bool? EnableSsmlParsing { get; set; }

/// <summary>
/// Defines the auto mode for voice settings. Defaults to false.<br/>
/// Defines the auto mode for voice settings. Defaults to false. Ignored by `eleven_v4_turbo`.<br/>
/// Example: false
/// </summary>
/// <example>false</example>
Expand All @@ -107,7 +107,7 @@ public sealed partial class ElevenLabsVoice
public global::Vapi.ElevenLabsVoiceModel? Model { get; set; }

/// <summary>
/// This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.
/// This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5, Flash v2.5 and v4 Turbo support language enforcement; other models ignore it.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("language")]
public string? Language { get; set; }
Expand Down Expand Up @@ -155,40 +155,40 @@ public sealed partial class ElevenLabsVoice
/// Example: 0.5F
/// </param>
/// <param name="similarityBoost">
/// Defines the similarity boost for voice settings.<br/>
/// Defines the similarity boost for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0.75F
/// </param>
/// <param name="style">
/// Defines the style for voice settings.<br/>
/// Defines the style for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0
/// </param>
/// <param name="useSpeakerBoost">
/// Defines the use speaker boost for voice settings.<br/>
/// Defines the use speaker boost for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: false
/// </param>
/// <param name="speed">
/// Defines the speed for voice settings.<br/>
/// Defines the speed for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0.9F
/// </param>
/// <param name="optimizeStreamingLatency">
/// Defines the optimize streaming latency for voice settings. Defaults to 3.<br/>
/// Defines the optimize streaming latency for voice settings. Defaults to 3. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 3
/// </param>
/// <param name="enableSsmlParsing">
/// This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.<br/>
/// This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency. Ignored by `eleven_v4_turbo`.<br/>
/// @default false<br/>
/// Example: false
/// </param>
/// <param name="autoMode">
/// Defines the auto mode for voice settings. Defaults to false.<br/>
/// Defines the auto mode for voice settings. Defaults to false. Ignored by `eleven_v4_turbo`.<br/>
/// Example: false
/// </param>
/// <param name="model">
/// This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.<br/>
/// Example: eleven_turbo_v2_5
/// </param>
/// <param name="language">
/// This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.
/// This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5, Flash v2.5 and v4 Turbo support language enforcement; other models ignore it.
/// </param>
/// <param name="chunkPlan">
/// This is the plan for chunking the model output before it is sent to the voice provider.
Expand Down
6 changes: 6 additions & 0 deletions src/libs/Vapi/Generated/Vapi.Models.ElevenLabsVoiceModel.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public enum ElevenLabsVoiceModel
///
/// </summary>
ElevenV3,
/// <summary>
///
/// </summary>
ElevenV4Turbo,
}

/// <summary>
Expand All @@ -58,6 +62,7 @@ public static string ToValueString(this ElevenLabsVoiceModel value)
ElevenLabsVoiceModel.ElevenTurboV2 => "eleven_turbo_v2",
ElevenLabsVoiceModel.ElevenTurboV25 => "eleven_turbo_v2_5",
ElevenLabsVoiceModel.ElevenV3 => "eleven_v3",
ElevenLabsVoiceModel.ElevenV4Turbo => "eleven_v4_turbo",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -75,6 +80,7 @@ public static string ToValueString(this ElevenLabsVoiceModel value)
"eleven_turbo_v2" => ElevenLabsVoiceModel.ElevenTurboV2,
"eleven_turbo_v2_5" => ElevenLabsVoiceModel.ElevenTurboV25,
"eleven_v3" => ElevenLabsVoiceModel.ElevenV3,
"eleven_v4_turbo" => ElevenLabsVoiceModel.ElevenV4Turbo,
_ => null,
};
}
Expand Down
32 changes: 16 additions & 16 deletions src/libs/Vapi/Generated/Vapi.Models.FallbackElevenLabsVoice.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,47 +41,47 @@ public sealed partial class FallbackElevenLabsVoice
public double? Stability { get; set; }

/// <summary>
/// Defines the similarity boost for voice settings.<br/>
/// Defines the similarity boost for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0.75F
/// </summary>
/// <example>0.75F</example>
[global::System.Text.Json.Serialization.JsonPropertyName("similarityBoost")]
public double? SimilarityBoost { get; set; }

/// <summary>
/// Defines the style for voice settings.<br/>
/// Defines the style for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0
/// </summary>
/// <example>0</example>
[global::System.Text.Json.Serialization.JsonPropertyName("style")]
public double? Style { get; set; }

/// <summary>
/// Defines the use speaker boost for voice settings.<br/>
/// Defines the use speaker boost for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: false
/// </summary>
/// <example>false</example>
[global::System.Text.Json.Serialization.JsonPropertyName("useSpeakerBoost")]
public bool? UseSpeakerBoost { get; set; }

/// <summary>
/// Defines the speed for voice settings.<br/>
/// Defines the speed for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0.9F
/// </summary>
/// <example>0.9F</example>
[global::System.Text.Json.Serialization.JsonPropertyName("speed")]
public double? Speed { get; set; }

/// <summary>
/// Defines the optimize streaming latency for voice settings. Defaults to 3.<br/>
/// Defines the optimize streaming latency for voice settings. Defaults to 3. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 3
/// </summary>
/// <example>3</example>
[global::System.Text.Json.Serialization.JsonPropertyName("optimizeStreamingLatency")]
public double? OptimizeStreamingLatency { get; set; }

/// <summary>
/// This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.<br/>
/// This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency. Ignored by `eleven_v4_turbo`.<br/>
/// @default false<br/>
/// Example: false
/// </summary>
Expand All @@ -90,7 +90,7 @@ public sealed partial class FallbackElevenLabsVoice
public bool? EnableSsmlParsing { get; set; }

/// <summary>
/// Defines the auto mode for voice settings. Defaults to false.<br/>
/// Defines the auto mode for voice settings. Defaults to false. Ignored by `eleven_v4_turbo`.<br/>
/// Example: false
/// </summary>
/// <example>false</example>
Expand All @@ -107,7 +107,7 @@ public sealed partial class FallbackElevenLabsVoice
public global::Vapi.FallbackElevenLabsVoiceModel? Model { get; set; }

/// <summary>
/// This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.
/// This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5, Flash v2.5 and v4 Turbo support language enforcement; other models ignore it.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("language")]
public string? Language { get; set; }
Expand Down Expand Up @@ -149,40 +149,40 @@ public sealed partial class FallbackElevenLabsVoice
/// Example: 0.5F
/// </param>
/// <param name="similarityBoost">
/// Defines the similarity boost for voice settings.<br/>
/// Defines the similarity boost for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0.75F
/// </param>
/// <param name="style">
/// Defines the style for voice settings.<br/>
/// Defines the style for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0
/// </param>
/// <param name="useSpeakerBoost">
/// Defines the use speaker boost for voice settings.<br/>
/// Defines the use speaker boost for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: false
/// </param>
/// <param name="speed">
/// Defines the speed for voice settings.<br/>
/// Defines the speed for voice settings. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 0.9F
/// </param>
/// <param name="optimizeStreamingLatency">
/// Defines the optimize streaming latency for voice settings. Defaults to 3.<br/>
/// Defines the optimize streaming latency for voice settings. Defaults to 3. Ignored by `eleven_v4_turbo`.<br/>
/// Example: 3
/// </param>
/// <param name="enableSsmlParsing">
/// This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.<br/>
/// This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency. Ignored by `eleven_v4_turbo`.<br/>
/// @default false<br/>
/// Example: false
/// </param>
/// <param name="autoMode">
/// Defines the auto mode for voice settings. Defaults to false.<br/>
/// Defines the auto mode for voice settings. Defaults to false. Ignored by `eleven_v4_turbo`.<br/>
/// Example: false
/// </param>
/// <param name="model">
/// This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.<br/>
/// Example: eleven_turbo_v2_5
/// </param>
/// <param name="language">
/// This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.
/// This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5, Flash v2.5 and v4 Turbo support language enforcement; other models ignore it.
/// </param>
/// <param name="pronunciationDictionaryLocators">
/// This is the pronunciation dictionary locators to use.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public enum FallbackElevenLabsVoiceModel
///
/// </summary>
ElevenV3,
/// <summary>
///
/// </summary>
ElevenV4Turbo,
}

/// <summary>
Expand All @@ -58,6 +62,7 @@ public static string ToValueString(this FallbackElevenLabsVoiceModel value)
FallbackElevenLabsVoiceModel.ElevenTurboV2 => "eleven_turbo_v2",
FallbackElevenLabsVoiceModel.ElevenTurboV25 => "eleven_turbo_v2_5",
FallbackElevenLabsVoiceModel.ElevenV3 => "eleven_v3",
FallbackElevenLabsVoiceModel.ElevenV4Turbo => "eleven_v4_turbo",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -75,6 +80,7 @@ public static string ToValueString(this FallbackElevenLabsVoiceModel value)
"eleven_turbo_v2" => FallbackElevenLabsVoiceModel.ElevenTurboV2,
"eleven_turbo_v2_5" => FallbackElevenLabsVoiceModel.ElevenTurboV25,
"eleven_v3" => FallbackElevenLabsVoiceModel.ElevenV3,
"eleven_v4_turbo" => FallbackElevenLabsVoiceModel.ElevenV4Turbo,
_ => null,
};
}
Expand Down
Loading
Loading