diff --git a/src/libs/Ultravox/Generated/Ultravox.IVoicesClient.VoicesCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.IVoicesClient.VoicesCreate.g.cs index a6b8868..0faa79a 100644 --- a/src/libs/Ultravox/Generated/Ultravox.IVoicesClient.VoicesCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.IVoicesClient.VoicesCreate.g.cs @@ -13,9 +13,11 @@ public partial interface IVoicesClient /// /// curl --request POST \
/// --url https://api.ultravox.ai/api/voices \
- /// --header 'Content-Type: application/json' \
+ /// --header 'Content-Type: multipart/form-data' \
/// --header 'X-API-Key: <your-api-key>' \
- /// -d '{"name": "My Custom Voice", "description": "Example ElevenLabs voice", "definition": {"elevenLabs": {"voiceId": "21m00Tcm4TlvDq8ikWAM", "model": "eleven_turbo_v2_5"}} }' + /// --form 'file=@/path/to/voice.mp3' \
+ /// --form 'name=My Custom Voice' \
+ /// --form 'description=Voice recorded on Jan 1, 2024' ///
global::System.Threading.Tasks.Task VoicesCreateAsync( diff --git a/src/libs/Ultravox/Generated/Ultravox..JsonSerializerContext.g.cs b/src/libs/Ultravox/Generated/Ultravox.JsonSerializerContext.g.cs similarity index 100% rename from src/libs/Ultravox/Generated/Ultravox..JsonSerializerContext.g.cs rename to src/libs/Ultravox/Generated/Ultravox.JsonSerializerContext.g.cs diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime..JsonSerializerContext.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.JsonSerializerContext.g.cs similarity index 100% rename from src/libs/Ultravox/Generated/Ultravox.Realtime..JsonSerializerContext.g.cs rename to src/libs/Ultravox/Generated/Ultravox.Realtime.JsonSerializerContext.g.cs diff --git a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesCreate.g.cs index 5a1c816..8bac2ba 100644 --- a/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.VoicesClient.VoicesCreate.g.cs @@ -30,9 +30,11 @@ partial void ProcessVoicesCreateResponseContent( /// /// curl --request POST \
/// --url https://api.ultravox.ai/api/voices \
- /// --header 'Content-Type: application/json' \
+ /// --header 'Content-Type: multipart/form-data' \
/// --header 'X-API-Key: <your-api-key>' \
- /// -d '{"name": "My Custom Voice", "description": "Example ElevenLabs voice", "definition": {"elevenLabs": {"voiceId": "21m00Tcm4TlvDq8ikWAM", "model": "eleven_turbo_v2_5"}} }' + /// --form 'file=@/path/to/voice.mp3' \
+ /// --form 'name=My Custom Voice' \
+ /// --form 'description=Voice recorded on Jan 1, 2024' ///
public async global::System.Threading.Tasks.Task VoicesCreateAsync(