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
8 changes: 8 additions & 0 deletions src/libs/ElevenLabs/Generated/AnyOf.2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ Value2 as object ??
Value1 as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Value1?.ToString() ??
Value2?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
9 changes: 9 additions & 0 deletions src/libs/ElevenLabs/Generated/AnyOf.3.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,15 @@ Value2 as object ??
Value1 as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Value1?.ToString() ??
Value2?.ToString() ??
Value3?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
10 changes: 10 additions & 0 deletions src/libs/ElevenLabs/Generated/AnyOf.4.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,16 @@ Value2 as object ??
Value1 as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Value1?.ToString() ??
Value2?.ToString() ??
Value3?.ToString() ??
Value4?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

#nullable enable

#pragma warning disable CS0618 // Type or member is obsolete

namespace ElevenLabs
{
public partial class AudioNativeClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ public partial interface ISpeechToSpeechClient
/// When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.<br/>
/// Default Value: true
/// </param>
/// <param name="optimizeStreamingLatency">
/// You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:<br/>
/// 0 - default mode (no latency optimizations)<br/>
/// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)<br/>
/// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)<br/>
/// 3 - max latency optimizations<br/>
/// 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).<br/>
/// Defaults to None.
/// </param>
/// <param name="outputFormat">
/// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.<br/>
/// Default Value: mp3_44100_128
Expand Down Expand Up @@ -92,6 +101,7 @@ public partial interface ISpeechToSpeechClient
byte[] audio,
string audioname,
bool? enableLogging = default,
int? optimizeStreamingLatency = default,
global::ElevenLabs.SpeechToSpeechV1SpeechToSpeechVoiceIdPostOutputFormat? outputFormat = default,
string? xiApiKey = default,
string? modelId = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ public partial interface ISpeechToSpeechClient
/// When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.<br/>
/// Default Value: true
/// </param>
/// <param name="optimizeStreamingLatency">
/// You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:<br/>
/// 0 - default mode (no latency optimizations)<br/>
/// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)<br/>
/// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)<br/>
/// 3 - max latency optimizations<br/>
/// 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).<br/>
/// Defaults to None.
/// </param>
/// <param name="outputFormat">
/// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.<br/>
/// Default Value: mp3_44100_128
Expand Down Expand Up @@ -92,6 +101,7 @@ public partial interface ISpeechToSpeechClient
byte[] audio,
string audioname,
bool? enableLogging = default,
int? optimizeStreamingLatency = default,
global::ElevenLabs.SpeechToSpeechStreamingV1SpeechToSpeechVoiceIdStreamPostOutputFormat? outputFormat = default,
string? xiApiKey = default,
string? modelId = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ public partial interface ITextToSpeechClient
/// When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.<br/>
/// Default Value: true
/// </param>
/// <param name="optimizeStreamingLatency">
/// You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:<br/>
/// 0 - default mode (no latency optimizations)<br/>
/// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)<br/>
/// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)<br/>
/// 3 - max latency optimizations<br/>
/// 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).<br/>
/// Defaults to None.
/// </param>
/// <param name="outputFormat">
/// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.<br/>
/// Default Value: mp3_44100_128
Expand Down Expand Up @@ -115,6 +124,7 @@ public partial interface ITextToSpeechClient
string voiceId,
string text,
bool? enableLogging = default,
int? optimizeStreamingLatency = default,
global::ElevenLabs.TextToSpeechV1TextToSpeechVoiceIdPostOutputFormat? outputFormat = default,
string? xiApiKey = default,
string? modelId = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ public partial interface ITextToSpeechClient
/// When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.<br/>
/// Default Value: true
/// </param>
/// <param name="optimizeStreamingLatency">
/// You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:<br/>
/// 0 - default mode (no latency optimizations)<br/>
/// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)<br/>
/// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)<br/>
/// 3 - max latency optimizations<br/>
/// 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).<br/>
/// Defaults to None.
/// </param>
/// <param name="outputFormat">
/// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.<br/>
/// Default Value: mp3_44100_128
Expand Down Expand Up @@ -115,6 +124,7 @@ public partial interface ITextToSpeechClient
string voiceId,
string text,
bool? enableLogging = default,
int? optimizeStreamingLatency = default,
global::ElevenLabs.TextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostOutputFormat? outputFormat = default,
string? xiApiKey = default,
string? modelId = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ public partial interface ITextToSpeechClient
/// When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.<br/>
/// Default Value: true
/// </param>
/// <param name="optimizeStreamingLatency">
/// You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:<br/>
/// 0 - default mode (no latency optimizations)<br/>
/// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)<br/>
/// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)<br/>
/// 3 - max latency optimizations<br/>
/// 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).<br/>
/// Defaults to None.
/// </param>
/// <param name="outputFormat">
/// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.<br/>
/// Default Value: mp3_44100_128
Expand Down Expand Up @@ -115,6 +124,7 @@ public partial interface ITextToSpeechClient
string voiceId,
string text,
bool? enableLogging = default,
int? optimizeStreamingLatency = default,
global::ElevenLabs.TextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostOutputFormat? outputFormat = default,
string? xiApiKey = default,
string? modelId = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ public partial interface ITextToSpeechClient
/// When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.<br/>
/// Default Value: true
/// </param>
/// <param name="optimizeStreamingLatency">
/// You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:<br/>
/// 0 - default mode (no latency optimizations)<br/>
/// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)<br/>
/// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)<br/>
/// 3 - max latency optimizations<br/>
/// 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).<br/>
/// Defaults to None.
/// </param>
/// <param name="outputFormat">
/// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.<br/>
/// Default Value: mp3_44100_128
Expand Down Expand Up @@ -115,6 +124,7 @@ public partial interface ITextToSpeechClient
string voiceId,
string text,
bool? enableLogging = default,
int? optimizeStreamingLatency = default,
global::ElevenLabs.TextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostOutputFormat? outputFormat = default,
string? xiApiKey = default,
string? modelId = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ Unknown as object ??
Available as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Available?.ToString() ??
Unknown?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ Unknown as object ??
Available as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Available?.ToString() ??
Unknown?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ Unknown as object ??
Available as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Available?.ToString() ??
Unknown?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ Unknown as object ??
Available as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Available?.ToString() ??
Unknown?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ File as object ??
Url as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Url?.ToString() ??
File?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ File as object ??
Url as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Url?.ToString() ??
File?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ File as object ??
Url as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Url?.ToString() ??
File?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ Unknown as object ??
Available as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Available?.ToString() ??
Unknown?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,15 @@ Client as object ??
Webhook as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Webhook?.ToString() ??
Client?.ToString() ??
System?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,15 @@ Client as object ??
Webhook as object
;

/// <summary>
///
/// </summary>
public override string? ToString() =>
Webhook?.ToString() ??
Client?.ToString() ??
System?.ToString()
;

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

#nullable enable

#pragma warning disable CS0618 // Type or member is obsolete

namespace ElevenLabs
{
public partial class SpeechToSpeechClient
Expand Down Expand Up @@ -317,6 +319,15 @@ partial void ProcessCreateSpeechToSpeechByVoiceIdResponseContent(
/// When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.<br/>
/// Default Value: true
/// </param>
/// <param name="optimizeStreamingLatency">
/// You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:<br/>
/// 0 - default mode (no latency optimizations)<br/>
/// 1 - normal latency optimizations (about 50% of possible latency improvement of option 3)<br/>
/// 2 - strong latency optimizations (about 75% of possible latency improvement of option 3)<br/>
/// 3 - max latency optimizations<br/>
/// 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).<br/>
/// Defaults to None.
/// </param>
/// <param name="outputFormat">
/// Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.<br/>
/// Default Value: mp3_44100_128
Expand Down Expand Up @@ -353,6 +364,7 @@ partial void ProcessCreateSpeechToSpeechByVoiceIdResponseContent(
byte[] audio,
string audioname,
bool? enableLogging = default,
int? optimizeStreamingLatency = default,
global::ElevenLabs.SpeechToSpeechV1SpeechToSpeechVoiceIdPostOutputFormat? outputFormat = default,
string? xiApiKey = default,
string? modelId = default,
Expand Down
Loading