From 1fc8256a0fc3bf5cdf33d0da9fd325117070e1d8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 28 Mar 2026 15:36:28 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Ultravox.IVoicesClient.VoicesCreate.g.cs | 6 ++++-- ...izerContext.g.cs => Ultravox.JsonSerializerContext.g.cs} | 0 ...xt.g.cs => Ultravox.Realtime.JsonSerializerContext.g.cs} | 0 .../Generated/Ultravox.VoicesClient.VoicesCreate.g.cs | 6 ++++-- 4 files changed, 8 insertions(+), 4 deletions(-) rename src/libs/Ultravox/Generated/{Ultravox..JsonSerializerContext.g.cs => Ultravox.JsonSerializerContext.g.cs} (100%) rename src/libs/Ultravox/Generated/{Ultravox.Realtime..JsonSerializerContext.g.cs => Ultravox.Realtime.JsonSerializerContext.g.cs} (100%) 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(