diff --git a/src/libs/Speechify/Generated/Speechify.AutoSDKHttpResponse.g.cs b/src/libs/Speechify/Generated/Speechify.AutoSDKHttpResponse.g.cs
new file mode 100644
index 0000000..e8baa2e
--- /dev/null
+++ b/src/libs/Speechify/Generated/Speechify.AutoSDKHttpResponse.g.cs
@@ -0,0 +1,121 @@
+
+#nullable enable
+
+namespace Speechify
+{
+ ///
+ /// Represents a successful HTTP response with status code and headers.
+ ///
+ public partial class AutoSDKHttpResponse
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public AutoSDKHttpResponse(
+ global::System.Net.HttpStatusCode statusCode,
+ global::System.Collections.Generic.Dictionary> headers)
+ : this(
+ statusCode: statusCode,
+ headers: headers,
+ requestUri: null)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public AutoSDKHttpResponse(
+ global::System.Net.HttpStatusCode statusCode,
+ global::System.Collections.Generic.Dictionary> headers,
+ global::System.Uri? requestUri)
+ {
+ StatusCode = statusCode;
+ Headers = headers ?? throw new global::System.ArgumentNullException(nameof(headers));
+ RequestUri = requestUri;
+ }
+
+ ///
+ /// Gets the HTTP status code.
+ ///
+ public global::System.Net.HttpStatusCode StatusCode { get; }
+ ///
+ /// Gets the response headers.
+ ///
+ public global::System.Collections.Generic.Dictionary> Headers { get; }
+ ///
+ /// Gets the final request URI associated with the response.
+ ///
+ public global::System.Uri? RequestUri { get; }
+
+ internal static global::System.Collections.Generic.Dictionary> CreateHeaders(
+ global::System.Net.Http.HttpResponseMessage response)
+ {
+ response = response ?? throw new global::System.ArgumentNullException(nameof(response));
+
+ var headers = global::System.Linq.Enumerable.ToDictionary(
+ response.Headers,
+ static header => header.Key,
+ static header => (global::System.Collections.Generic.IEnumerable)global::System.Linq.Enumerable.ToArray(header.Value),
+ global::System.StringComparer.OrdinalIgnoreCase);
+
+ if (response.Content?.Headers == null)
+ {
+ return headers;
+ }
+
+ foreach (var header in response.Content.Headers)
+ {
+ if (headers.TryGetValue(header.Key, out var existingValues))
+ {
+ headers[header.Key] = global::System.Linq.Enumerable.ToArray(
+ global::System.Linq.Enumerable.Concat(existingValues, header.Value));
+ }
+ else
+ {
+ headers[header.Key] = global::System.Linq.Enumerable.ToArray(header.Value);
+ }
+ }
+
+ return headers;
+ }
+ }
+
+ ///
+ /// Represents a successful HTTP response with status code, headers, and body.
+ ///
+ public partial class AutoSDKHttpResponse : AutoSDKHttpResponse
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public AutoSDKHttpResponse(
+ global::System.Net.HttpStatusCode statusCode,
+ global::System.Collections.Generic.Dictionary> headers,
+ T body)
+ : this(
+ statusCode: statusCode,
+ headers: headers,
+ requestUri: null,
+ body: body)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public AutoSDKHttpResponse(
+ global::System.Net.HttpStatusCode statusCode,
+ global::System.Collections.Generic.Dictionary> headers,
+ global::System.Uri? requestUri,
+ T body)
+ : base(statusCode, headers, requestUri)
+ {
+ Body = body;
+ }
+
+ ///
+ /// Gets the response body.
+ ///
+ public T Body { get; }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.Exceptions.g.cs b/src/libs/Speechify/Generated/Speechify.Exceptions.g.cs
index 71af4df..2c4e32e 100644
--- a/src/libs/Speechify/Generated/Speechify.Exceptions.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.Exceptions.g.cs
@@ -12,16 +12,19 @@ public partial class ApiException : global::System.Exception
/// The HTTP status code of the response.
///
public global::System.Net.HttpStatusCode StatusCode { get; }
+
///
/// The response body as a string, or null if the body could not be read.
/// This is always populated for error responses regardless of the ReadResponseAsString setting.
/// For success-path failures (e.g. deserialization errors), the client attempts a best-effort read.
///
public string? ResponseBody { get; set; }
+
///
/// The response headers.
///
public global::System.Collections.Generic.Dictionary>? ResponseHeaders { get; set; }
+
///
/// Initializes a new instance of the class.
///
@@ -49,6 +52,103 @@ public ApiException(string message, global::System.Exception? innerException, gl
{
StatusCode = statusCode;
}
+
+ ///
+ /// Constructs an instance whose runtime type matches the response status code when the typed exception hierarchy is enabled. Always returns a plain when the hierarchy is disabled.
+ ///
+ /// The HTTP status code of the response.
+ /// The error message.
+ /// An inner exception, when one is available.
+ /// The response headers; consulted for 429 Retry-After parsing when present.
+ public static global::Speechify.ApiException Create(
+ global::System.Net.HttpStatusCode statusCode,
+ string message,
+ global::System.Exception? innerException = null,
+ global::System.Collections.Generic.IDictionary>? responseHeaders = null)
+ {
+ return new global::Speechify.ApiException(message, innerException, statusCode);
+ }
+
+ ///
+ /// Convenience overload that constructs an with response body and headers populated.
+ ///
+ public static global::Speechify.ApiException Create(
+ global::System.Net.HttpStatusCode statusCode,
+ string message,
+ global::System.Exception? innerException,
+ string? responseBody,
+ global::System.Collections.Generic.Dictionary>? responseHeaders)
+ {
+ var exception = global::Speechify.ApiException.Create(statusCode, message, innerException, responseHeaders);
+ exception.ResponseBody = responseBody;
+ exception.ResponseHeaders = responseHeaders;
+ return exception;
+ }
+
+ ///
+ /// Parses a Retry-After response header (delta-seconds or HTTP-date) into a .
+ /// Returns null when the header is missing or unparseable. Public so consumer code that observes
+ /// directly can recover the value without re-implementing the parser.
+ ///
+ public static global::System.TimeSpan? TryParseRetryAfter(
+ global::System.Collections.Generic.IDictionary>? headers)
+ {
+ if (headers == null)
+ {
+ return null;
+ }
+
+ global::System.Collections.Generic.IEnumerable? values = null;
+ foreach (var entry in headers)
+ {
+ if (string.Equals(entry.Key, "Retry-After", global::System.StringComparison.OrdinalIgnoreCase))
+ {
+ values = entry.Value;
+ break;
+ }
+ }
+
+ if (values == null)
+ {
+ return null;
+ }
+
+ string? raw = null;
+ foreach (var value in values)
+ {
+ if (!string.IsNullOrWhiteSpace(value))
+ {
+ raw = value.Trim();
+ break;
+ }
+ }
+
+ if (string.IsNullOrEmpty(raw))
+ {
+ return null;
+ }
+
+ if (int.TryParse(
+ raw,
+ global::System.Globalization.NumberStyles.Integer,
+ global::System.Globalization.CultureInfo.InvariantCulture,
+ out var seconds) && seconds >= 0)
+ {
+ return global::System.TimeSpan.FromSeconds(seconds);
+ }
+
+ if (global::System.DateTimeOffset.TryParse(
+ raw,
+ global::System.Globalization.CultureInfo.InvariantCulture,
+ global::System.Globalization.DateTimeStyles.AssumeUniversal | global::System.Globalization.DateTimeStyles.AdjustToUniversal,
+ out var when))
+ {
+ var delta = when - global::System.DateTimeOffset.UtcNow;
+ return delta > global::System.TimeSpan.Zero ? delta : global::System.TimeSpan.Zero;
+ }
+
+ return null;
+ }
}
///
@@ -88,5 +188,39 @@ public ApiException(string message, global::System.Net.HttpStatusCode statusCode
public ApiException(string message, global::System.Exception? innerException, global::System.Net.HttpStatusCode statusCode) : base(message, innerException, statusCode)
{
}
+
+ ///
+ /// Constructs an whose runtime type matches the response status code when the typed exception hierarchy is enabled.
+ ///
+ /// The HTTP status code of the response.
+ /// The error message.
+ /// An inner exception, when one is available.
+ /// The response headers; consulted for 429 Retry-After parsing when present.
+ public static new global::Speechify.ApiException Create(
+ global::System.Net.HttpStatusCode statusCode,
+ string message,
+ global::System.Exception? innerException = null,
+ global::System.Collections.Generic.IDictionary>? responseHeaders = null)
+ {
+ return new global::Speechify.ApiException(message, innerException, statusCode);
+ }
+
+ ///
+ /// Convenience overload that constructs an with response body, object, and headers populated.
+ ///
+ public static global::Speechify.ApiException Create(
+ global::System.Net.HttpStatusCode statusCode,
+ string message,
+ global::System.Exception? innerException,
+ string? responseBody,
+ T? responseObject,
+ global::System.Collections.Generic.Dictionary>? responseHeaders)
+ {
+ var exception = global::Speechify.ApiException.Create(statusCode, message, innerException, responseHeaders);
+ exception.ResponseBody = responseBody;
+ exception.ResponseObject = responseObject;
+ exception.ResponseHeaders = responseHeaders;
+ return exception;
+ }
}
}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISpeechifyClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISpeechifyClient.g.cs
index f77aaea..cbc674f 100644
--- a/src/libs/Speechify/Generated/Speechify.ISpeechifyClient.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.ISpeechifyClient.g.cs
@@ -44,65 +44,15 @@ public partial interface ISpeechifyClient : global::System.IDisposable
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
- ///
- ///
- ///
- public SubpackageTtsSubpackageTtsAgentsClient SubpackageTtsSubpackageTtsAgents { get; }
-
///
///
///
public SubpackageTtsSubpackageTtsAudioClient SubpackageTtsSubpackageTtsAudio { get; }
- ///
- ///
- ///
- public SubpackageTtsSubpackageTtsAuthClient SubpackageTtsSubpackageTtsAuth { get; }
-
- ///
- ///
- ///
- public SubpackageTtsSubpackageTtsConversationsClient SubpackageTtsSubpackageTtsConversations { get; }
-
- ///
- ///
- ///
- public SubpackageTtsSubpackageTtsKnowledgeBasesClient SubpackageTtsSubpackageTtsKnowledgeBases { get; }
-
- ///
- ///
- ///
- public SubpackageTtsSubpackageTtsMemoriesClient SubpackageTtsSubpackageTtsMemories { get; }
-
- ///
- ///
- ///
- public SubpackageTtsSubpackageTtsOutboundCallsClient SubpackageTtsSubpackageTtsOutboundCalls { get; }
-
- ///
- ///
- ///
- public SubpackageTtsSubpackageTtsPhoneNumbersClient SubpackageTtsSubpackageTtsPhoneNumbers { get; }
-
- ///
- ///
- ///
- public SubpackageTtsSubpackageTtsSipTrunksClient SubpackageTtsSubpackageTtsSipTrunks { get; }
-
- ///
- ///
- ///
- public SubpackageTtsSubpackageTtsToolsClient SubpackageTtsSubpackageTtsTools { get; }
-
///
///
///
public SubpackageTtsSubpackageTtsVoicesClient SubpackageTtsSubpackageTtsVoices { get; }
- ///
- ///
- ///
- public SubpackageTtsSubpackageTtsWorkspacesClient SubpackageTtsSubpackageTtsWorkspaces { get; }
-
}
}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.AttachKnowledgeBase.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.AttachKnowledgeBase.g.cs
deleted file mode 100644
index 5f10fb8..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.AttachKnowledgeBase.g.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Attach Knowledge Base
- /// Attach a knowledge base to an agent. The `search_knowledge` tool
- /// is auto-registered on the next conversation and can only query the
- /// attached knowledge bases.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task AttachKnowledgeBaseAsync(
- string id,
- string kbId,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.AttachTest.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.AttachTest.g.cs
deleted file mode 100644
index a005a18..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.AttachTest.g.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Attach Test
- /// Attach a test to an additional agent. After this call, the test
- /// will also run as part of that agent's regression suite (and
- /// against its prompt + tool config when invoked with
- /// `agent_id = {agentId}`). Idempotent.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task AttachTestAsync(
- string id,
- string agentId,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.AttachTool.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.AttachTool.g.cs
deleted file mode 100644
index c2baa7a..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.AttachTool.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Attach Tool
- /// Attach an existing tool to the agent so the LLM can call it.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task AttachToolAsync(
- string id,
- string toolId,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Create.g.cs
deleted file mode 100644
index 0581525..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Create.g.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Create
- /// Create a voice agent.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
-
- global::Speechify.TtsCreateAgentRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create
- /// Create a voice agent.
- ///
- ///
- ///
- /// Optional. Server derives slug from name with a random suffix when omitted; if you supply your own, a collision returns 400 'slug already taken'.
- ///
- ///
- ///
- /// Spoken verbatim at session start — no LLM round trip.
- ///
- ///
- /// Default Value: en
- ///
- ///
- /// Optional chat model slug. Leave empty to use the Speechify default.
- ///
- ///
- /// Voice slug from the VMS catalog (see GET /v1/voices). Required — the server rejects writes with an unknown or empty slug.
- ///
- ///
- ///
- ///
- /// Default Value: false
- ///
- ///
- ///
- /// Optional per-agent hostname allowlist (see Agent schema).
- ///
- ///
- /// Default Value: false
- ///
- ///
- /// Default Value: 90
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
- string name,
- string voiceId,
- string? slug = default,
- string? prompt = default,
- string? firstMessage = default,
- string? language = default,
- string? llmModel = default,
- double? temperature = default,
- object? config = default,
- bool? isPublic = default,
- global::System.Collections.Generic.IList? allowedOrigins = default,
- global::System.Collections.Generic.IList? hostnameAllowlist = default,
- bool? memoryEnabled = default,
- int? memoryRetentionDays = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateConversation.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateConversation.g.cs
deleted file mode 100644
index cd7631f..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateConversation.g.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Create Conversation
- /// Start a new voice conversation with the agent. Returns a realtime
- /// voice session + short-lived client token so the caller can
- /// connect the audio pipeline directly. The agent is dispatched
- /// server-side; no additional client action required.
- /// Pass `dynamic_variables` to supply per-session values that override
- /// the agent's stored variable defaults for this one conversation.
- /// Keys in the `system__` namespace are rejected at this boundary.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateConversationAsync(
- string id,
-
- global::Speechify.TtsCreateConversationRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create Conversation
- /// Start a new voice conversation with the agent. Returns a realtime
- /// voice session + short-lived client token so the caller can
- /// connect the audio pipeline directly. The agent is dispatched
- /// server-side; no additional client action required.
- /// Pass `dynamic_variables` to supply per-session values that override
- /// the agent's stored variable defaults for this one conversation.
- /// Keys in the `system__` namespace are rejected at this boundary.
- ///
- ///
- ///
- /// Transport hint. Omit to use the agent's default.
- ///
- ///
- /// Per-session variable overrides that merge on top of the agent's
- /// stored variable defaults for this one conversation. Keys in the
- /// reserved `system__` namespace are rejected. Values must match the
- /// declared type of the corresponding variable definition on the agent.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateConversationAsync(
- string id,
- string? transport = default,
- object? dynamicVariables = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateSession.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateSession.g.cs
deleted file mode 100644
index ee4a30a..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateSession.g.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Create Session
- /// Mint a realtime voice session for the given agent. Widget-friendly
- /// counterpart to `createConversation` — same response shape, dual
- /// authentication:
- /// * **Authenticated (Bearer)**: works for any agent the caller
- /// owns. Typical server-to-server flow where the embedding
- /// site's backend mints a token and hands it to the browser so
- /// the API key never reaches the client.
- /// * **Unauthenticated**: works only when `agent.is_public = true`
- /// AND the request's `Origin` header matches `agent.allowed_origins`
- /// (or that list is empty). When `agent.hostname_allowlist` is
- /// non-empty, the `Origin` hostname must additionally be a
- /// member of that list. Used directly by the
- /// `<speechify-agent>` web component.
- /// Responds with the same `CreateConversationResponse` as
- /// `createConversation`.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateSessionAsync(
- string id,
-
- global::Speechify.TtsCreateSessionRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create Session
- /// Mint a realtime voice session for the given agent. Widget-friendly
- /// counterpart to `createConversation` — same response shape, dual
- /// authentication:
- /// * **Authenticated (Bearer)**: works for any agent the caller
- /// owns. Typical server-to-server flow where the embedding
- /// site's backend mints a token and hands it to the browser so
- /// the API key never reaches the client.
- /// * **Unauthenticated**: works only when `agent.is_public = true`
- /// AND the request's `Origin` header matches `agent.allowed_origins`
- /// (or that list is empty). When `agent.hostname_allowlist` is
- /// non-empty, the `Origin` hostname must additionally be a
- /// member of that list. Used directly by the
- /// `<speechify-agent>` web component.
- /// Responds with the same `CreateConversationResponse` as
- /// `createConversation`.
- ///
- ///
- ///
- /// Opaque identifier for the end-user (e.g. your app's user ID). Stamped onto the conversation. Optional - defaults to an anonymous per-session ID.
- ///
- ///
- /// Per-session variable overrides that merge on top of the agent's
- /// stored variable defaults for this one session. Keys in the
- /// reserved `system__` namespace are rejected at this boundary.
- /// Values must match the declared type of the corresponding variable
- /// definition on the agent (a `string` type expects a JSON string,
- /// `number` expects a JSON number, etc.).
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateSessionAsync(
- string id,
- string? userIdentity = default,
- object? dynamicVariables = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateTest.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateTest.g.cs
deleted file mode 100644
index 6d325d9..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateTest.g.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Create Test
- /// Create a new test for the agent.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateTestAsync(
- string id,
-
- global::Speechify.TtsCreateAgentTestRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create Test
- /// Create a new test for the agent.
- ///
- ///
- ///
- /// Short human-readable label for the test.
- ///
- ///
- /// Optional longer description of what this test verifies.
- ///
- ///
- /// Discriminates the shape of `AgentTest.config`.
- /// - `scenario` - send one message to the agent and judge the response with an LLM.
- /// - `tool` - assert that the agent calls a specific tool given a context.
- /// - `simulation` - run a multi-turn conversation between the agent and an AI caller.
- ///
- ///
- /// Type-specific configuration. Must match the shape for the given `type`.
- ///
- ///
- /// Optional tool-mocking config applied during every run of this test.
- ///
- ///
- /// Per-test variable values substituted into string fields of the
- /// config at run-start. Keys use the same rules as agent-level
- /// `DynamicVariable` keys.
- ///
- ///
- /// Folder to place the test in. Omit for root.
- ///
- ///
- /// Optional list of additional agents this test should also run
- /// against. The owner agent (path param) is always attached
- /// implicitly.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateTestAsync(
- string id,
- string name,
- global::Speechify.TtsTestType type,
- global::Speechify.TtsCreateAgentTestRequestConfig config,
- string? description = default,
- global::Speechify.TtsToolMockConfig? toolMockConfig = default,
- object? variables = default,
- string? folderId = default,
- global::System.Collections.Generic.IList? attachedAgentIds = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateTestFolder.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateTestFolder.g.cs
deleted file mode 100644
index b4efc3b..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.CreateTestFolder.g.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Create Test Folder
- /// Create a test folder. Max depth is 3.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateTestFolderAsync(
-
- global::Speechify.TtsCreateAgentTestFolderRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create Test Folder
- /// Create a test folder. Max depth is 3.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateTestFolderAsync(
- string name,
- string? parentFolderId = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Delete.g.cs
deleted file mode 100644
index df07394..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Delete.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Delete
- /// Delete a voice agent. Conversations and attached tools remain.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DeleteMemoriesByCaller.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DeleteMemoriesByCaller.g.cs
deleted file mode 100644
index c642418..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DeleteMemoriesByCaller.g.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Delete Memories By Caller
- /// Delete every memory ever extracted for a specific caller on
- /// this agent. Privacy / GDPR surface. Returns the count of rows
- /// soft-deleted; rows become permanently unreachable immediately
- /// and are hard-deleted by the retention job after the tenant's
- /// configured retention window.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteMemoriesByCallerAsync(
- string id,
-
- global::Speechify.TtsDeleteMemoriesByCallerRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Delete Memories By Caller
- /// Delete every memory ever extracted for a specific caller on
- /// this agent. Privacy / GDPR surface. Returns the count of rows
- /// soft-deleted; rows become permanently unreachable immediately
- /// and are hard-deleted by the retention job after the tenant's
- /// configured retention window.
- ///
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteMemoriesByCallerAsync(
- string id,
- string agentId,
- string callerIdentity,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DeleteTest.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DeleteTest.g.cs
deleted file mode 100644
index f479adb..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DeleteTest.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Delete Test
- /// Delete a test and all its run history.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteTestAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DeleteTestFolder.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DeleteTestFolder.g.cs
deleted file mode 100644
index 9ee3098..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DeleteTestFolder.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Delete Test Folder
- /// Soft-delete a folder. Child tests drop back to root.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteTestFolderAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DetachKnowledgeBase.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DetachKnowledgeBase.g.cs
deleted file mode 100644
index 6825d40..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DetachKnowledgeBase.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Detach Knowledge Base
- /// Detach a knowledge base from an agent.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DetachKnowledgeBaseAsync(
- string id,
- string kbId,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DetachTest.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DetachTest.g.cs
deleted file mode 100644
index e0f2a55..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DetachTest.g.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Detach Test
- /// Detach a test from an agent. The owner agent (the agent the test
- /// was authored against) cannot be detached; delete the test
- /// instead.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DetachTestAsync(
- string id,
- string agentId,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DetachTool.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DetachTool.g.cs
deleted file mode 100644
index 41333e7..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.DetachTool.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Detach Tool
- /// Detach a tool from the agent.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DetachToolAsync(
- string id,
- string toolId,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Get.g.cs
deleted file mode 100644
index b7c96a7..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Get.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Get
- /// Retrieve a voice agent by ID.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetDynamicVariables.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetDynamicVariables.g.cs
deleted file mode 100644
index 541c707..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetDynamicVariables.g.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Get Dynamic Variables
- /// Retrieve the agent's customer-scope dynamic variables and the read-only
- /// catalogue of reserved `system__*` keys. The system variables list is
- /// provided so editor UIs can render the reference list without maintaining
- /// a client-side copy of the catalogue.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetDynamicVariablesAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetEvaluationConfig.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetEvaluationConfig.g.cs
deleted file mode 100644
index 5aaf1e2..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetEvaluationConfig.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Get Evaluation Config
- /// Retrieve the agent's post-call evaluation criteria + data-collection config.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetEvaluationConfigAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetTest.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetTest.g.cs
deleted file mode 100644
index 149ae26..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetTest.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Get Test
- /// Retrieve a test by ID.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetTestAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetTestRun.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetTestRun.g.cs
deleted file mode 100644
index 7542d0c..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetTestRun.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Get Test Run
- /// Retrieve a single test run by ID. Poll this endpoint until
- /// `status` reaches a terminal state (`passed`, `failed`, or `error`).
- /// The `result` field is populated on terminal states.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetTestRunAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetTestStats.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetTestStats.g.cs
deleted file mode 100644
index 1d7bf86..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.GetTestStats.g.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Get Test Stats
- /// Aggregate pass-rate metrics over the last N days. Returns dense
- /// daily buckets (one entry per day, zero-filled) plus totals and a
- /// per-type breakdown. Powers the header chart on the global tests
- /// page. Default window is 30 days, max 90.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetTestStatsAsync(
- int? windowDays = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.List.g.cs
deleted file mode 100644
index 61799fe..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.List.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// List
- /// List voice agents owned by the caller.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListAgentKnowledgeBases.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListAgentKnowledgeBases.g.cs
deleted file mode 100644
index 6c83d5a..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListAgentKnowledgeBases.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// List Agent Knowledge Bases
- /// List knowledge bases attached to an agent.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListAgentKnowledgeBasesAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListAllTests.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListAllTests.g.cs
deleted file mode 100644
index 70f3607..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListAllTests.g.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// List All Tests
- /// Workspace-wide list of tests across every agent the caller owns.
- /// Supports filters (agent, type, last-run status, folder), full-text
- /// search on name/description, and cursor pagination. Each row carries
- /// its newest run and attached agent IDs so the list renders without
- /// N+1 round-trips.
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListAllTestsAsync(
- string? agentId = default,
- string? type = default,
- string? status = default,
- string? folderId = default,
- string? updatedAfter = default,
- string? q = default,
- int? limit = default,
- string? cursor = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListMemories.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListMemories.g.cs
deleted file mode 100644
index eaffdcc..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListMemories.g.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// List Memories
- /// List per-caller memories extracted for an agent. Memories are
- /// written post-call by the built-in extractor when `memory_enabled`
- /// is true on the agent; the list is sorted newest-first.
- ///
- ///
- ///
- /// Default Value: 100
- ///
- ///
- /// Default Value: 0
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListMemoriesAsync(
- string id,
- int? limit = default,
- int? offset = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTestAttachments.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTestAttachments.g.cs
deleted file mode 100644
index c9fe984..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTestAttachments.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// List Test Attachments
- /// List every agent a test is attached to.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListTestAttachmentsAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTestFolders.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTestFolders.g.cs
deleted file mode 100644
index a777a22..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTestFolders.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// List Test Folders
- /// List every test folder the caller owns. Flat list; build the tree client-side.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListTestFoldersAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTestRuns.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTestRuns.g.cs
deleted file mode 100644
index ef11bd1..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTestRuns.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// List Test Runs
- /// List the run history for a test, newest first.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListTestRunsAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTests.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTests.g.cs
deleted file mode 100644
index a448711..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTests.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// List Tests
- /// List all tests configured for the agent. Each entry includes the
- /// most recent run so the console can render pass/fail badges without
- /// an extra round-trip.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListTestsAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTools.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTools.g.cs
deleted file mode 100644
index f061423..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.ListTools.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// List Tools
- /// List tools currently attached to the agent.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListToolsAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.MoveTest.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.MoveTest.g.cs
deleted file mode 100644
index dd94895..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.MoveTest.g.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Move Test
- /// Move a test into a folder. Pass `folder_id: null` for root.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task MoveTestAsync(
- string id,
-
- global::Speechify.TtsMoveAgentTestRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Move Test
- /// Move a test into a folder. Pass `folder_id: null` for root.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task MoveTestAsync(
- string id,
- string? folderId = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.RunAllTests.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.RunAllTests.g.cs
deleted file mode 100644
index 629029a..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.RunAllTests.g.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Run All Tests
- /// Enqueue runs for every test on the agent concurrently. Up to 50
- /// tests are dispatched in one call. Each returned run starts in
- /// `queued` status; poll `GET /v1/test-runs/{id}` for the terminal
- /// result.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task RunAllTestsAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.RunTest.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.RunTest.g.cs
deleted file mode 100644
index 90a089d..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.RunTest.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Run Test
- /// Enqueue a single run of the test. The returned run starts in
- /// `queued` status. Poll `GET /v1/test-runs/{id}` until the status
- /// reaches a terminal state (`passed`, `failed`, or `error`).
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task RunTestAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.RunTestsBatch.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.RunTestsBatch.g.cs
deleted file mode 100644
index 38ec735..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.RunTestsBatch.g.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Run Tests Batch
- /// Queue runs for every (test, agent) pair in the body. Entries
- /// without an `agent_id` fan out to every agent the test is
- /// attached to. Total expanded runs are capped at 100 per call.
- /// Each entry in the response is a queued run; poll
- /// `GET /v1/test-runs/{id}` for each.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task RunTestsBatchAsync(
-
- global::Speechify.TtsRunBatchRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Run Tests Batch
- /// Queue runs for every (test, agent) pair in the body. Entries
- /// without an `agent_id` fan out to every agent the test is
- /// attached to. Total expanded runs are capped at 100 per call.
- /// Each entry in the response is a queued run; poll
- /// `GET /v1/test-runs/{id}` for each.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task RunTestsBatchAsync(
- global::System.Collections.Generic.IList entries,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Update.g.cs
deleted file mode 100644
index 8cd55b6..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.Update.g.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Update
- /// Update a voice agent. Only fields present on the request body are changed.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateAsync(
- string id,
-
- global::Speechify.TtsUpdateAgentRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Update
- /// Update a voice agent. Only fields present on the request body are changed.
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- /// When supplied, replaces the stored list. Pass an empty
- /// array to clear enforcement (public agent is open again).
- /// Omit the field to leave the existing value unchanged.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateAsync(
- string id,
- string? name = default,
- string? prompt = default,
- string? firstMessage = default,
- string? language = default,
- string? llmModel = default,
- string? voiceId = default,
- double? temperature = default,
- object? config = default,
- bool? isPublic = default,
- global::System.Collections.Generic.IList? allowedOrigins = default,
- global::System.Collections.Generic.IList? hostnameAllowlist = default,
- bool? memoryEnabled = default,
- int? memoryRetentionDays = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateDynamicVariables.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateDynamicVariables.g.cs
deleted file mode 100644
index 2e049c6..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateDynamicVariables.g.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Update Dynamic Variables
- /// Replace the agent's customer-scope dynamic variable definitions.
- /// The supplied list overwrites the stored list wholesale (same
- /// semantics as `updateEvaluationConfig`). Pass an empty array to
- /// clear all variables. Up to 20 variables per agent. Keys must
- /// match `[a-zA-Z0-9_]+` and must not start with the reserved
- /// `system__` prefix.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateDynamicVariablesAsync(
- string id,
-
- global::Speechify.TtsUpdateDynamicVariablesRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Update Dynamic Variables
- /// Replace the agent's customer-scope dynamic variable definitions.
- /// The supplied list overwrites the stored list wholesale (same
- /// semantics as `updateEvaluationConfig`). Pass an empty array to
- /// clear all variables. Up to 20 variables per agent. Keys must
- /// match `[a-zA-Z0-9_]+` and must not start with the reserved
- /// `system__` prefix.
- ///
- ///
- ///
- /// The new variable list. Replaces the existing list entirely.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateDynamicVariablesAsync(
- string id,
- global::System.Collections.Generic.IList variables,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateEvaluationConfig.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateEvaluationConfig.g.cs
deleted file mode 100644
index 172b60e..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateEvaluationConfig.g.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Update Evaluation Config
- /// Replace the agent's evaluation criteria + data-collection fields.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateEvaluationConfigAsync(
- string id,
-
- global::Speechify.TtsUpdateEvaluationConfigRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Update Evaluation Config
- /// Replace the agent's evaluation criteria + data-collection fields.
- ///
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateEvaluationConfigAsync(
- string id,
- global::System.Collections.Generic.IList criteria,
- global::System.Collections.Generic.IList dataCollection,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateTest.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateTest.g.cs
deleted file mode 100644
index 159c5eb..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateTest.g.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Update Test
- /// Update a test. Only fields present on the request body are changed.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateTestAsync(
- string id,
-
- global::Speechify.TtsUpdateAgentTestRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Update Test
- /// Update a test. Only fields present on the request body are changed.
- ///
- ///
- ///
- ///
- ///
- /// Replaces the test config when present.
- ///
- ///
- /// Replaces the tool-mock config when present.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateTestAsync(
- string id,
- string? name = default,
- string? description = default,
- global::Speechify.TtsUpdateAgentTestRequestConfig? config = default,
- global::Speechify.TtsToolMockConfig? toolMockConfig = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateTestFolder.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateTestFolder.g.cs
deleted file mode 100644
index 32abc79..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.UpdateTestFolder.g.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient
- {
- ///
- /// Update Test Folder
- /// Rename or reparent a test folder. Cycles are rejected.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateTestFolderAsync(
- string id,
-
- global::Speechify.TtsUpdateAgentTestFolderRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Update Test Folder
- /// Rename or reparent a test folder. Cycles are rejected.
- ///
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateTestFolderAsync(
- string id,
- string? name = default,
- string? parentFolderId = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.g.cs
deleted file mode 100644
index f220426..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAgentsClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Speechify
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface ISubpackageTtsSubpackageTtsAgentsClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Speechify.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAudioClient.Speech.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAudioClient.Speech.g.cs
index 1c8a5ae..ecc3459 100644
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAudioClient.Speech.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAudioClient.Speech.g.cs
@@ -5,8 +5,10 @@ namespace Speechify
public partial interface ISubpackageTtsSubpackageTtsAudioClient
{
///
- /// Speech
- /// Gets the speech data for the given input
+ /// Create Speech
+ /// Synthesize speech audio from text or SSML. Returns the complete audio
+ /// file plus billing and speech-mark metadata in a single response. For
+ /// low-latency playback or long-form text, use POST /v1/audio/stream.
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -18,8 +20,25 @@ public partial interface ISubpackageTtsSubpackageTtsAudioClient
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
- /// Speech
- /// Gets the speech data for the given input
+ /// Create Speech
+ /// Synthesize speech audio from text or SSML. Returns the complete audio
+ /// file plus billing and speech-mark metadata in a single response. For
+ /// low-latency playback or long-form text, use POST /v1/audio/stream.
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> SpeechAsResponseAsync(
+
+ global::Speechify.TtsGetSpeechRequest request,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Create Speech
+ /// Synthesize speech audio from text or SSML. Returns the complete audio
+ /// file plus billing and speech-mark metadata in a single response. For
+ /// low-latency playback or long-form text, use POST /v1/audio/stream.
///
///
/// The format for the output audio. Note, that the current default is "wav", but there's no guarantee it will not change in the future. We recommend always passing the specific param you expect.
@@ -35,7 +54,7 @@ public partial interface ISubpackageTtsSubpackageTtsAudioClient
/// Please refer to the list of the supported languages and recommendations regarding this parameter: https://docs.speechify.ai/docs/language-support.
///
///
- /// Model used for audio synthesis. `simba-base` and `simba-turbo` are deprecated. Use `simba-english` or `simba-multilingual` instead.
+ /// Model used for audio synthesis. `simba-english` is optimized for English, `simba-multilingual` for non-English or mixed input. `simba-3.0` is the streaming-native model with lower TTFB and richer expressivity. Currently English only; multilingual coming soon. Non-English voices return 400 until multilingual support ships.
/// Default Value: simba-english
///
///
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAudioClient.Stream.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAudioClient.Stream.g.cs
index 30bf339..f0deb1a 100644
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAudioClient.Stream.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAudioClient.Stream.g.cs
@@ -5,23 +5,65 @@ namespace Speechify
public partial interface ISubpackageTtsSubpackageTtsAudioClient
{
///
- /// Stream
- /// Gets the stream speech for the given input
+ /// Stream Speech
+ /// Synthesize speech and stream the audio back as it is generated, for
+ /// low-latency playback. The Accept header selects the audio container.
+ /// For short text where receiving the whole file at once is fine, use
+ /// POST /v1/audio/speech.
///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
- global::System.Threading.Tasks.Task StreamAsync(
+ global::System.Threading.Tasks.Task StreamAsync(
global::Speechify.TtsV1AudioStreamPostParametersAccept accept,
global::Speechify.TtsGetStreamRequest request,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
- /// Stream
- /// Gets the stream speech for the given input
+ /// Stream Speech
+ /// Synthesize speech and stream the audio back as it is generated, for
+ /// low-latency playback. The Accept header selects the audio container.
+ /// For short text where receiving the whole file at once is fine, use
+ /// POST /v1/audio/speech.
+ ///
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task StreamAsStreamAsync(
+ global::Speechify.TtsV1AudioStreamPostParametersAccept accept,
+
+ global::Speechify.TtsGetStreamRequest request,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Stream Speech
+ /// Synthesize speech and stream the audio back as it is generated, for
+ /// low-latency playback. The Accept header selects the audio container.
+ /// For short text where receiving the whole file at once is fine, use
+ /// POST /v1/audio/speech.
+ ///
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> StreamAsResponseAsync(
+ global::Speechify.TtsV1AudioStreamPostParametersAccept accept,
+
+ global::Speechify.TtsGetStreamRequest request,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Stream Speech
+ /// Synthesize speech and stream the audio back as it is generated, for
+ /// low-latency playback. The Accept header selects the audio container.
+ /// For short text where receiving the whole file at once is fine, use
+ /// POST /v1/audio/speech.
///
///
///
@@ -34,7 +76,7 @@ public partial interface ISubpackageTtsSubpackageTtsAudioClient
/// Please refer to the list of the supported languages and recommendations regarding this parameter: https://docs.speechify.ai/docs/language-support.
///
///
- /// Model used for audio synthesis. `simba-base` and `simba-turbo` are deprecated. Use `simba-english` or `simba-multilingual` instead.
+ /// Model used for audio synthesis. `simba-english` is optimized for English, `simba-multilingual` for non-English or mixed input. `simba-3.0` is the streaming-native model with lower TTFB and richer expressivity. Currently English only; multilingual coming soon. Non-English voices return 400 until multilingual support ships.
/// Default Value: simba-english
///
///
@@ -46,7 +88,7 @@ public partial interface ISubpackageTtsSubpackageTtsAudioClient
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
- global::System.Threading.Tasks.Task StreamAsync(
+ global::System.Threading.Tasks.Task StreamAsync(
global::Speechify.TtsV1AudioStreamPostParametersAccept accept,
string input,
string voiceId,
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAuthClient.CreateAccessToken.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAuthClient.CreateAccessToken.g.cs
deleted file mode 100644
index d794e44..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAuthClient.CreateAccessToken.g.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsAuthClient
- {
- ///
- /// Create Access Token
- /// WARNING: This endpoint is deprecated. Create a new API token for the logged in user.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAccessTokenAsync(
-
- global::Speechify.TtsCreateAccessTokenRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create Access Token
- /// WARNING: This endpoint is deprecated. Create a new API token for the logged in user.
- ///
- ///
- /// in: body
- ///
- ///
- /// The scope, or a space-delimited list of scopes the token is requested for
- /// in: body
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAccessTokenAsync(
- global::Speechify.TtsCreateAccessTokenRequestGrantType grantType = default,
- global::Speechify.TtsCreateAccessTokenRequestScope? scope = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAuthClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAuthClient.g.cs
deleted file mode 100644
index d17bee3..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsAuthClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Speechify
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface ISubpackageTtsSubpackageTtsAuthClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Speechify.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.Get.g.cs
deleted file mode 100644
index cb6ff8e..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.Get.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsConversationsClient
- {
- ///
- /// Get
- /// Retrieve a conversation by ID.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.List.g.cs
deleted file mode 100644
index 2792f5b..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.List.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsConversationsClient
- {
- ///
- /// List
- /// List conversations owned by the caller, ordered by most recent.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.ListEvaluations.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.ListEvaluations.g.cs
deleted file mode 100644
index d0f04cb..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.ListEvaluations.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsConversationsClient
- {
- ///
- /// List Evaluations
- /// Retrieve post-call evaluation results for a conversation.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListEvaluationsAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.ListMemories.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.ListMemories.g.cs
deleted file mode 100644
index e438e03..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.ListMemories.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsConversationsClient
- {
- ///
- /// List Memories
- /// List memories extracted from a specific conversation.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListMemoriesAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.ListMessages.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.ListMessages.g.cs
deleted file mode 100644
index a0878cf..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.ListMessages.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsConversationsClient
- {
- ///
- /// List Messages
- /// Retrieve the full transcript for a conversation, in order.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListMessagesAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.g.cs
deleted file mode 100644
index 9ebdf0a..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsConversationsClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Speechify
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface ISubpackageTtsSubpackageTtsConversationsClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Speechify.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Create.g.cs
deleted file mode 100644
index f24a7ff..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Create.g.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// Create
- /// Create a new knowledge base.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
-
- global::Speechify.TtsCreateKnowledgeBaseRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create
- /// Create a new knowledge base.
- ///
- ///
- /// Human-readable label.
- ///
- ///
- /// Optional description.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
- string name,
- string? description = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Delete.g.cs
deleted file mode 100644
index 5c6070c..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Delete.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// Delete
- /// Soft-delete a knowledge base. Documents and chunks are cascaded.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.DeleteDocument.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.DeleteDocument.g.cs
deleted file mode 100644
index ff44b84..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.DeleteDocument.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// Delete Document
- /// Delete a document and all its chunks.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteDocumentAsync(
- string docId,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Get.g.cs
deleted file mode 100644
index cf4d93e..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Get.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// Get
- /// Retrieve a knowledge base by ID.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.GetDocument.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.GetDocument.g.cs
deleted file mode 100644
index 04cd831..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.GetDocument.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// Get Document
- /// Retrieve a document by ID.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetDocumentAsync(
- string docId,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.List.g.cs
deleted file mode 100644
index 9bb12ce..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.List.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// List
- /// List knowledge bases owned by the caller.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.ListChunks.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.ListChunks.g.cs
deleted file mode 100644
index 37cd39f..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.ListChunks.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// List Chunks
- /// List the chunks for a document.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListChunksAsync(
- string docId,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.ListDocuments.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.ListDocuments.g.cs
deleted file mode 100644
index 158d176..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.ListDocuments.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// List Documents
- /// List documents ingested into a knowledge base.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListDocumentsAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Search.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Search.g.cs
deleted file mode 100644
index da2b478..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Search.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// Search
- /// Semantic search across a caller-owned list of knowledge bases.
- /// Returns ranked chunks with source filename and a cosine-similarity
- /// score. Limited to 50 results per request.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task SearchAsync(
-
- global::Speechify.TtsSearchKnowledgeBasesRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Search
- /// Semantic search across a caller-owned list of knowledge bases.
- /// Returns ranked chunks with source filename and a cosine-similarity
- /// score. Limited to 50 results per request.
- ///
- ///
- /// Natural-language search query.
- ///
- ///
- /// Knowledge bases to search across. Results scoped to caller-owned entries; unknown IDs are silently ignored.
- ///
- ///
- /// Max hits to return (default 5, capped at 50).
- /// Default Value: 5
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task SearchAsync(
- string query,
- global::System.Collections.Generic.IList kbIds,
- int? topK = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Update.g.cs
deleted file mode 100644
index d4c2740..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.Update.g.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// Update
- /// Update a knowledge base.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateAsync(
- string id,
-
- global::Speechify.TtsUpdateKnowledgeBaseRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Update
- /// Update a knowledge base.
- ///
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateAsync(
- string id,
- string? name = default,
- string? description = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.UploadDocument.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.UploadDocument.g.cs
deleted file mode 100644
index 7b43940..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.UploadDocument.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient
- {
- ///
- /// Upload Document
- /// Upload a document (PDF, plain text, markdown, or HTML) to a
- /// knowledge base. The document is extracted, chunked, embedded, and
- /// indexed synchronously; expect a few seconds per MB of input.
- /// Maximum 10 MB per upload.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UploadDocumentAsync(
- string id,
-
- global::Speechify.UploadDocumentRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Upload Document
- /// Upload a document (PDF, plain text, markdown, or HTML) to a
- /// knowledge base. The document is extracted, chunked, embedded, and
- /// indexed synchronously; expect a few seconds per MB of input.
- /// Maximum 10 MB per upload.
- ///
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UploadDocumentAsync(
- string id,
- byte[] file,
- string filename,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.g.cs
deleted file mode 100644
index c537db6..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsKnowledgeBasesClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Speechify
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface ISubpackageTtsSubpackageTtsKnowledgeBasesClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Speechify.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsMemoriesClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsMemoriesClient.Delete.g.cs
deleted file mode 100644
index 79eff11..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsMemoriesClient.Delete.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsMemoriesClient
- {
- ///
- /// Delete
- /// Soft-delete one memory row.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteAsync(
- string memoryId,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsMemoriesClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsMemoriesClient.g.cs
deleted file mode 100644
index da0f9e0..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsMemoriesClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Speechify
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface ISubpackageTtsSubpackageTtsMemoriesClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Speechify.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsOutboundCallsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsOutboundCallsClient.Create.g.cs
deleted file mode 100644
index 9c719b8..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsOutboundCallsClient.Create.g.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsOutboundCallsClient
- {
- ///
- /// Create
- /// Place an outbound call from an agent to a phone number. LiveKit
- /// originates the SIP INVITE through the outbound trunk bound to the
- /// agent's workspace; the agent worker is dispatched into the room
- /// automatically.
- /// The response is returned as soon as LiveKit accepts the INVITE.
- /// Poll `GET /v1/conversations/{conversation_id}` for status
- /// transitions: `pending` → `active` (answered) → `completed`.
- /// Requires a Twilio or BYOC trunk. LiveKit-native numbers are
- /// inbound-only.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
-
- object request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create
- /// Place an outbound call from an agent to a phone number. LiveKit
- /// originates the SIP INVITE through the outbound trunk bound to the
- /// agent's workspace; the agent worker is dispatched into the room
- /// automatically.
- /// The response is returned as soon as LiveKit accepts the INVITE.
- /// Poll `GET /v1/conversations/{conversation_id}` for status
- /// transitions: `pending` → `active` (answered) → `completed`.
- /// Requires a Twilio or BYOC trunk. LiveKit-native numbers are
- /// inbound-only.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsOutboundCallsClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsOutboundCallsClient.g.cs
deleted file mode 100644
index 9d7794e..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsOutboundCallsClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Speechify
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface ISubpackageTtsSubpackageTtsOutboundCallsClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Speechify.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Delete.g.cs
deleted file mode 100644
index f6b2437..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Delete.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsPhoneNumbersClient
- {
- ///
- /// Delete
- /// Delete a phone number from the workspace. For Twilio and LiveKit
- /// numbers this also deprovisions the backing SIP trunk and dispatch
- /// rule on LiveKit Cloud.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Get.g.cs
deleted file mode 100644
index 973f17b..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Get.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsPhoneNumbersClient
- {
- ///
- /// Get
- /// Retrieve a phone number by ID.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Import.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Import.g.cs
deleted file mode 100644
index f771720..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Import.g.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsPhoneNumbersClient
- {
- ///
- /// Import
- /// Import a phone number into the workspace. The `source` field
- /// determines the provisioning path:
- /// - `livekit` - LiveKit purchases the number on your behalf. US
- /// inbound only. Quickest path for local testing.
- /// - `twilio` - Provide your Twilio Account SID, Auth Token, and
- /// the E.164 number you already own. We provision an Elastic SIP
- /// Trunk on your Twilio account automatically.
- /// - `byoc` - Provide an existing SIP trunk ID. The number is
- /// registered against that trunk.
- /// Returns 402 when the workspace has reached the 100-number cap.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ImportAsync(
-
- object request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Import
- /// Import a phone number into the workspace. The `source` field
- /// determines the provisioning path:
- /// - `livekit` - LiveKit purchases the number on your behalf. US
- /// inbound only. Quickest path for local testing.
- /// - `twilio` - Provide your Twilio Account SID, Auth Token, and
- /// the E.164 number you already own. We provision an Elastic SIP
- /// Trunk on your Twilio account automatically.
- /// - `byoc` - Provide an existing SIP trunk ID. The number is
- /// registered against that trunk.
- /// Returns 402 when the workspace has reached the 100-number cap.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ImportAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.List.g.cs
deleted file mode 100644
index 91d9b54..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.List.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsPhoneNumbersClient
- {
- ///
- /// List
- /// List all phone numbers in the caller's workspace.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Update.g.cs
deleted file mode 100644
index bab09a3..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.Update.g.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsPhoneNumbersClient
- {
- ///
- /// Update
- /// Update a phone number. Only `label` and `agent_id` are mutable;
- /// `source` and `e164` are immutable after import. Pass `null` for
- /// `agent_id` to unbind the number from its current agent.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateAsync(
- string id,
-
- object request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Update
- /// Update a phone number. Only `label` and `agent_id` are mutable;
- /// `source` and `e164` are immutable after import. Pass `null` for
- /// `agent_id` to unbind the number from its current agent.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.g.cs
deleted file mode 100644
index 5448e9c..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsPhoneNumbersClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Speechify
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface ISubpackageTtsSubpackageTtsPhoneNumbersClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Speechify.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.Create.g.cs
deleted file mode 100644
index f765553..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.Create.g.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsSipTrunksClient
- {
- ///
- /// Create
- /// Create a SIP trunk. For `kind=byoc` supply `sip_address` plus
- /// optional digest credentials and IP allowlist. For `kind=twilio`
- /// use `ImportPhoneNumber` with a `twilio` spec instead - trunk
- /// creation is handled automatically. Returns 402 when the workspace
- /// has reached the 20-trunk cap.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
-
- object request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create
- /// Create a SIP trunk. For `kind=byoc` supply `sip_address` plus
- /// optional digest credentials and IP allowlist. For `kind=twilio`
- /// use `ImportPhoneNumber` with a `twilio` spec instead - trunk
- /// creation is handled automatically. Returns 402 when the workspace
- /// has reached the 20-trunk cap.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.Delete.g.cs
deleted file mode 100644
index c64159a..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.Delete.g.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsSipTrunksClient
- {
- ///
- /// Delete
- /// Delete a SIP trunk. This also removes the backing LiveKit inbound
- /// trunk, outbound trunk, and dispatch rule if they were provisioned
- /// by us. Phone numbers attached to this trunk are left in place but
- /// become non-functional until rebound to a new trunk.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.Get.g.cs
deleted file mode 100644
index c16f578..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.Get.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsSipTrunksClient
- {
- ///
- /// Get
- /// Retrieve a SIP trunk by ID.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.List.g.cs
deleted file mode 100644
index f93f776..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.List.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsSipTrunksClient
- {
- ///
- /// List
- /// List all SIP trunks in the caller's workspace.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.g.cs
deleted file mode 100644
index 2f5a9fe..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsSipTrunksClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Speechify
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface ISubpackageTtsSubpackageTtsSipTrunksClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Speechify.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Create.g.cs
deleted file mode 100644
index adb6db2..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Create.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsToolsClient
- {
- ///
- /// Create
- /// Create a tool. For webhook tools, the response includes the HMAC
- /// `webhook_secret` exactly once — store it immediately; subsequent
- /// reads return a masked placeholder.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
-
- global::Speechify.TtsCreateToolRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create
- /// Create a tool. For webhook tools, the response includes the HMAC
- /// `webhook_secret` exactly once — store it immediately; subsequent
- /// reads return a masked placeholder.
- ///
- ///
- ///
- ///
- /// Where the tool executes.
- /// - `system`: worker-resident built-in (e.g. end_call, transfer_to_number)
- /// - `webhook`: worker signs a payload and POSTs it to your URL
- /// - `client`: worker dispatches to the caller's browser/SDK via data channel
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
- string name,
- string description,
- global::Speechify.TtsToolKind kind,
- global::Speechify.TtsCreateToolRequestConfig config,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Delete.g.cs
deleted file mode 100644
index 1eb405b..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Delete.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsToolsClient
- {
- ///
- /// Delete
- /// Delete a tool. Agents that had it attached get a soft-detach.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task DeleteAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Get.g.cs
deleted file mode 100644
index 91b813e..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Get.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsToolsClient
- {
- ///
- /// Get
- /// Retrieve a tool by ID. Webhook secrets are always masked here.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.List.g.cs
deleted file mode 100644
index c0987e9..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.List.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsToolsClient
- {
- ///
- /// List
- /// List tools owned by the caller.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Update.g.cs
deleted file mode 100644
index 28b5141..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.Update.g.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsToolsClient
- {
- ///
- /// Update
- /// Update a tool. Tool kind is immutable — create a new tool to change it.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateAsync(
- string id,
-
- global::Speechify.TtsUpdateToolRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Update
- /// Update a tool. Tool kind is immutable — create a new tool to change it.
- ///
- ///
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateAsync(
- string id,
- string? name = default,
- string? description = default,
- global::Speechify.TtsUpdateToolRequestConfig? config = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.g.cs
deleted file mode 100644
index 25be947..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsToolsClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Speechify
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface ISubpackageTtsSubpackageTtsToolsClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Speechify.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.Create.g.cs
index 4c4f060..65d344e 100644
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.Create.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.Create.g.cs
@@ -5,7 +5,7 @@ namespace Speechify
public partial interface ISubpackageTtsSubpackageTtsVoicesClient
{
///
- /// Create
+ /// Create Voice
/// Create a personal (cloned) voice for the user
///
///
@@ -18,7 +18,20 @@ public partial interface ISubpackageTtsSubpackageTtsVoicesClient
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
- /// Create
+ /// Create Voice
+ /// Create a personal (cloned) voice for the user
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> CreateAsResponseAsync(
+
+ global::Speechify.CreateRequest request,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Create Voice
/// Create a personal (cloned) voice for the user
///
///
@@ -65,5 +78,102 @@ public partial interface ISubpackageTtsSubpackageTtsVoicesClient
string? avatarname = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
+
+ ///
+ /// Create Voice
+ /// Create a personal (cloned) voice for the user
+ ///
+ ///
+ /// Name of the personal voice
+ ///
+ ///
+ /// Native language (locale) of the personal voice (e.g. en-US, es-ES, etc.)
+ /// Default Value: en-US
+ ///
+ ///
+ /// Gender marker for the personal voice
+ /// male GenderMale
+ /// female GenderFemale
+ /// notSpecified GenderNotSpecified
+ ///
+ ///
+ /// Audio sample file
+ ///
+ ///
+ /// Audio sample file
+ ///
+ ///
+ /// Avatar image file
+ ///
+ ///
+ /// Avatar image file
+ ///
+ ///
+ /// A **string** representing the user consent information in JSON format
+ /// This should include the fullName and email of the consenting individual.
+ /// For example, `{"fullName": "John Doe", "email": "john@example.com"}`
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CreateAsync(
+ string name,
+ global::Speechify.TtsV1VoicesPostRequestBodyContentMultipartFormDataSchemaGender gender,
+ global::System.IO.Stream sample,
+ string samplename,
+ string consent,
+ string? locale = default,
+ global::System.IO.Stream? avatar = default,
+ string? avatarname = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Create Voice
+ /// Create a personal (cloned) voice for the user
+ ///
+ ///
+ /// Name of the personal voice
+ ///
+ ///
+ /// Native language (locale) of the personal voice (e.g. en-US, es-ES, etc.)
+ /// Default Value: en-US
+ ///
+ ///
+ /// Gender marker for the personal voice
+ /// male GenderMale
+ /// female GenderFemale
+ /// notSpecified GenderNotSpecified
+ ///
+ ///
+ /// Audio sample file
+ ///
+ ///
+ /// Audio sample file
+ ///
+ ///
+ /// Avatar image file
+ ///
+ ///
+ /// Avatar image file
+ ///
+ ///
+ /// A **string** representing the user consent information in JSON format
+ /// This should include the fullName and email of the consenting individual.
+ /// For example, `{"fullName": "John Doe", "email": "john@example.com"}`
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> CreateAsResponseAsync(
+ string name,
+ global::Speechify.TtsV1VoicesPostRequestBodyContentMultipartFormDataSchemaGender gender,
+ global::System.IO.Stream sample,
+ string samplename,
+ string consent,
+ string? locale = default,
+ global::System.IO.Stream? avatar = default,
+ string? avatarname = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.Delete.g.cs
index a94a15e..2593ed6 100644
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.Delete.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.Delete.g.cs
@@ -5,14 +5,26 @@ namespace Speechify
public partial interface ISubpackageTtsSubpackageTtsVoicesClient
{
///
- /// Delete
+ /// Delete Voice
/// Delete a personal (cloned) voice
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
- global::System.Threading.Tasks.Task DeleteAsync(
+ global::System.Threading.Tasks.Task DeleteAsync(
+ string id,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Delete Voice
+ /// Delete a personal (cloned) voice
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> DeleteAsResponseAsync(
string id,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.DownloadSample.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.DownloadSample.g.cs
index 34c9263..e2a73e6 100644
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.DownloadSample.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.DownloadSample.g.cs
@@ -5,7 +5,7 @@ namespace Speechify
public partial interface ISubpackageTtsSubpackageTtsVoicesClient
{
///
- /// Download Sample
+ /// Download Voice Sample
/// Download a personal (cloned) voice sample
///
///
@@ -16,5 +16,29 @@ public partial interface ISubpackageTtsSubpackageTtsVoicesClient
string id,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Download Voice Sample
+ /// Download a personal (cloned) voice sample
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task DownloadSampleAsStreamAsync(
+ string id,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Download Voice Sample
+ /// Download a personal (cloned) voice sample
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> DownloadSampleAsResponseAsync(
+ string id,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.List.g.cs
index 90d2180..a8e5d3c 100644
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.List.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsVoicesClient.List.g.cs
@@ -5,7 +5,7 @@ namespace Speechify
public partial interface ISubpackageTtsSubpackageTtsVoicesClient
{
///
- /// List
+ /// List Voices
/// Gets the list of voices available for the user
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -14,5 +14,15 @@ public partial interface ISubpackageTtsSubpackageTtsVoicesClient
global::System.Threading.Tasks.Task> ListAsync(
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// List Voices
+ /// Gets the list of voices available for the user
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task>> ListAsResponseAsync(
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.AcceptInvite.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.AcceptInvite.g.cs
deleted file mode 100644
index 1222249..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.AcceptInvite.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Accept Invite
- /// Accept a workspace invite. The authenticated caller is joined
- /// to the invite's workspace as a member. Expired, revoked, or
- /// already-accepted tokens return 404 to avoid token enumeration.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task AcceptInviteAsync(
- string token,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.Create.g.cs
deleted file mode 100644
index 58de683..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.Create.g.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Create
- /// Create a new workspace with the authenticated user as owner.
- /// The caller must switch their active workspace client-side via
- /// the `X-Tenant-ID` header to act on the new tenant.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
-
- global::Speechify.TtsCreateWorkspaceRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create
- /// Create a new workspace with the authenticated user as owner.
- /// The caller must switch their active workspace client-side via
- /// the `X-Tenant-ID` header to act on the new tenant.
- ///
- ///
- /// Display name for the new workspace. Trimmed; must be 120 characters or fewer.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateAsync(
- string? name = default,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.CreateInvite.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.CreateInvite.g.cs
deleted file mode 100644
index 4e214af..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.CreateInvite.g.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Create Invite
- /// Create an invite to the current workspace. Owner or admin only.
- /// The response contains the invite token ONCE — subsequent list
- /// calls redact it.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateInviteAsync(
-
- global::Speechify.TtsCreateInviteRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Create Invite
- /// Create an invite to the current workspace. Owner or admin only.
- /// The response contains the invite token ONCE — subsequent list
- /// calls redact it.
- ///
- ///
- /// Email of the person to invite. Validated as an RFC 5322 address.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateInviteAsync(
- string email,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.GetCurrent.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.GetCurrent.g.cs
deleted file mode 100644
index 912cb64..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.GetCurrent.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Get Current
- /// Retrieve the workspace currently selected by the caller (via `X-Tenant-ID` or auto-resolved).
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task GetCurrentAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.Leave.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.Leave.g.cs
deleted file mode 100644
index 4553649..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.Leave.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Leave
- /// Remove the authenticated caller from the current workspace.
- /// Refused with 409 when the caller is the last owner — promote
- /// another member to owner first.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task LeaveAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.List.g.cs
deleted file mode 100644
index 7457c1e..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.List.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// List
- /// List every workspace the authenticated user belongs to. Powers the workspace switcher.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.ListInvites.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.ListInvites.g.cs
deleted file mode 100644
index 6abeb1f..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.ListInvites.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// List Invites
- /// List outstanding invites for the current workspace. Invite tokens are redacted.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListInvitesAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.ListMembers.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.ListMembers.g.cs
deleted file mode 100644
index e323a1b..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.ListMembers.g.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// List Members
- /// List every member of the current workspace. Any member may call this.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task ListMembersAsync(
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.PreviewInvite.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.PreviewInvite.g.cs
deleted file mode 100644
index d70451b..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.PreviewInvite.g.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Preview Invite
- /// Preview a workspace invite without authenticating. Returns the
- /// workspace name, inviter details, and expiry so the `/join/{token}`
- /// page can render before the recipient signs in. Anyone with the
- /// token can already accept, so this endpoint deliberately surfaces
- /// the same information a caller would see after accepting. Invalid
- /// tokens (unknown, expired, revoked, already-accepted, or pointing
- /// at a soft-deleted workspace) collapse to a single 404 to prevent
- /// enumeration.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task PreviewInviteAsync(
- string token,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.RemoveMember.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.RemoveMember.g.cs
deleted file mode 100644
index 7e52961..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.RemoveMember.g.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Remove Member
- /// Remove a member from the current workspace. Owner or admin
- /// only. The caller cannot remove themselves — use
- /// `POST /v1/tenants/current/members/leave` instead.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task RemoveMemberAsync(
- string userUid,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.RevokeInvite.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.RevokeInvite.g.cs
deleted file mode 100644
index dfe188d..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.RevokeInvite.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Revoke Invite
- /// Revoke an outstanding invite. Owner or admin only. Idempotent.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task RevokeInviteAsync(
- string id,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.TransferWorkspaceOwner.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.TransferWorkspaceOwner.g.cs
deleted file mode 100644
index d598b83..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.TransferWorkspaceOwner.g.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Transfer Workspace Owner
- /// Transfer ownership of the current workspace atomically. Promotes
- /// the target member to owner and demotes the caller to admin in a
- /// single transaction. Owner-only; admins cannot hand off a role
- /// they were never granted. Prefer this over two PATCH calls to
- /// `/v1/tenants/current/members/{user_uid}`: a sole-owner caller
- /// cannot demote themselves first without tripping the last-owner
- /// guard, which this endpoint sidesteps by promoting before
- /// demoting.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task TransferWorkspaceOwnerAsync(
-
- global::Speechify.TtsTransferOwnershipRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Transfer Workspace Owner
- /// Transfer ownership of the current workspace atomically. Promotes
- /// the target member to owner and demotes the caller to admin in a
- /// single transaction. Owner-only; admins cannot hand off a role
- /// they were never granted. Prefer this over two PATCH calls to
- /// `/v1/tenants/current/members/{user_uid}`: a sole-owner caller
- /// cannot demote themselves first without tripping the last-owner
- /// guard, which this endpoint sidesteps by promoting before
- /// demoting.
- ///
- ///
- /// Firebase UID of the member who will become the new owner.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task TransferWorkspaceOwnerAsync(
- string userUid,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.UpdateCurrent.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.UpdateCurrent.g.cs
deleted file mode 100644
index 491d0b7..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.UpdateCurrent.g.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Update Current
- /// Rename the current workspace. Owner or admin only.
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateCurrentAsync(
-
- global::Speechify.TtsUpdateWorkspaceRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Update Current
- /// Rename the current workspace. Owner or admin only.
- ///
- ///
- /// New display name. Required; must be 120 characters or fewer.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateCurrentAsync(
- string name,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.UpdateMemberRole.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.UpdateMemberRole.g.cs
deleted file mode 100644
index f25da99..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.UpdateMemberRole.g.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-#nullable enable
-
-namespace Speechify
-{
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient
- {
- ///
- /// Update Member Role
- /// Change a member's role. Owner only — admins may add or remove
- /// members but may not change roles. Refused with 409 when
- /// demoting the last remaining owner.
- ///
- ///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateMemberRoleAsync(
- string userUid,
-
- global::Speechify.TtsUpdateMemberRoleRequest request,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Update Member Role
- /// Change a member's role. Owner only — admins may add or remove
- /// members but may not change roles. Refused with 409 when
- /// demoting the last remaining owner.
- ///
- ///
- ///
- /// Member's role within the workspace.
- /// - `owner` - Full control, including deleting the workspace.
- /// - `admin` - Manage members and invites; cannot change roles.
- /// - `member` - Standard access, no administrative rights.
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task UpdateMemberRoleAsync(
- string userUid,
- global::Speechify.TtsMemberRole role,
- global::Speechify.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.g.cs b/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.g.cs
deleted file mode 100644
index 9ad3c8b..0000000
--- a/src/libs/Speechify/Generated/Speechify.ISubpackageTtsSubpackageTtsWorkspacesClient.g.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#nullable enable
-
-namespace Speechify
-{
- ///
- /// If no httpClient is provided, a new one will be created.
- /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
- ///
- public partial interface ISubpackageTtsSubpackageTtsWorkspacesClient : global::System.IDisposable
- {
- ///
- /// The HttpClient instance.
- ///
- public global::System.Net.Http.HttpClient HttpClient { get; }
-
- ///
- /// The base URL for the API.
- ///
- public System.Uri? BaseUri { get; }
-
- ///
- /// The authorizations to use for the requests.
- ///
- public global::System.Collections.Generic.List Authorizations { get; }
-
- ///
- /// Gets or sets a value indicating whether the response content should be read as a string.
- /// True by default in debug builds, false otherwise.
- /// When false, successful responses are deserialized directly from the response stream for better performance.
- /// Error responses are always read as strings regardless of this setting,
- /// ensuring is populated.
- ///
- public bool ReadResponseAsString { get; set; }
- ///
- /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
- ///
- public global::Speechify.AutoSDKClientOptions Options { get; }
-
-
- ///
- ///
- ///
- global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.OneOf2.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.OneOf2.g.cs
deleted file mode 100644
index 2a92ef5..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.OneOf2.g.cs
+++ /dev/null
@@ -1,158 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public class OneOfJsonConverter<[global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T1, [global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T2> : global::System.Text.Json.Serialization.JsonConverter>
- {
- ///
- public override global::Speechify.OneOf Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
-
- using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
- var __rawJson = __jsonDocument.RootElement.GetRawText();
- var __jsonProps = new global::System.Collections.Generic.HashSet();
- if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
- {
- foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
- {
- __jsonProps.Add(__jsonProp.Name);
- }
- }
-
- var __score0 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T1), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score0++;
- }
- }
- }
- var __score1 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T2), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score1++;
- }
- }
- }
- var __bestScore = 0;
- var __bestIndex = -1;
- if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
- if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
-
- T1? value1 = default;
- T2? value2 = default;
- if (__bestIndex >= 0)
- {
- if (__bestIndex == 0)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
- value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- else if (__bestIndex == 1)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
- value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- }
-
- if (value1 == null && value2 == null)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
- value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
- value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- var __value = new global::Speechify.OneOf(
- value1,
-
- value2
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.OneOf value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- if (value.IsValue1)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo);
- }
- else if (value.IsValue2)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenScope.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenScope.g.cs
deleted file mode 100644
index 78da3d0..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenScope.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsAccessTokenScopeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsAccessTokenScope Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsAccessTokenScopeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsAccessTokenScope)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsAccessTokenScope);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsAccessTokenScope value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsAccessTokenScopeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenScopeNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenScopeNullable.g.cs
deleted file mode 100644
index 8b2f4fb..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenScopeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsAccessTokenScopeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsAccessTokenScope? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsAccessTokenScopeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsAccessTokenScope)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsAccessTokenScope?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsAccessTokenScope? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsAccessTokenScopeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenTokenType.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenTokenType.g.cs
deleted file mode 100644
index c363402..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenTokenType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsAccessTokenTokenTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsAccessTokenTokenType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsAccessTokenTokenTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsAccessTokenTokenType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsAccessTokenTokenType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsAccessTokenTokenType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsAccessTokenTokenTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenTokenTypeNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenTokenTypeNullable.g.cs
deleted file mode 100644
index 73a191f..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAccessTokenTokenTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsAccessTokenTokenTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsAccessTokenTokenType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsAccessTokenTokenTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsAccessTokenTokenType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsAccessTokenTokenType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsAccessTokenTokenType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsAccessTokenTokenTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAgentTestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAgentTestConfig.g.cs
deleted file mode 100644
index 54dd292..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsAgentTestConfig.g.cs
+++ /dev/null
@@ -1,193 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618 // Type or member is obsolete
-
-namespace Speechify.JsonConverters
-{
- ///
- public class TtsAgentTestConfigJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsAgentTestConfig Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
- var __rawJson = __jsonDocument.RootElement.GetRawText();
- var __jsonProps = new global::System.Collections.Generic.HashSet();
- if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
- {
- foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
- {
- __jsonProps.Add(__jsonProp.Name);
-
- }
- }
-
- var __score0 = 0;
- if (__jsonProps.Contains("context")) __score0++;
- if (__jsonProps.Contains("failure_examples")) __score0++;
- if (__jsonProps.Contains("first_message_override")) __score0++;
- if (__jsonProps.Contains("initial_chat_history")) __score0++;
- if (__jsonProps.Contains("model_override")) __score0++;
- if (__jsonProps.Contains("success_criteria")) __score0++;
- if (__jsonProps.Contains("success_examples")) __score0++;
- if (__jsonProps.Contains("system_prompt_override")) __score0++;
- var __score1 = 0;
- if (__jsonProps.Contains("context")) __score1++;
- if (__jsonProps.Contains("expected_tool")) __score1++;
- if (__jsonProps.Contains("initial_chat_history")) __score1++;
- if (__jsonProps.Contains("model_override")) __score1++;
- if (__jsonProps.Contains("parameter_checks")) __score1++;
- if (__jsonProps.Contains("system_prompt_override")) __score1++;
- var __score2 = 0;
- if (__jsonProps.Contains("initial_chat_history")) __score2++;
- if (__jsonProps.Contains("max_turns")) __score2++;
- if (__jsonProps.Contains("model_override")) __score2++;
- if (__jsonProps.Contains("scenario")) __score2++;
- if (__jsonProps.Contains("success_condition")) __score2++;
- if (__jsonProps.Contains("system_prompt_override")) __score2++;
- var __bestScore = 0;
- var __bestIndex = -1;
- if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
- if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
- if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; }
-
- global::Speechify.TtsScenarioConfig? scenarioConfig = default;
- global::Speechify.TtsToolCallConfig? toolCallConfig = default;
- global::Speechify.TtsSimulationConfig? simulationConfig = default;
- if (__bestIndex >= 0)
- {
- if (__bestIndex == 0)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsScenarioConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsScenarioConfig).Name}");
- scenarioConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- else if (__bestIndex == 1)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsToolCallConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsToolCallConfig).Name}");
- toolCallConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- else if (__bestIndex == 2)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSimulationConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSimulationConfig).Name}");
- simulationConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- }
-
- if (scenarioConfig == null && toolCallConfig == null && simulationConfig == null)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsScenarioConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsScenarioConfig).Name}");
- scenarioConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsToolCallConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsToolCallConfig).Name}");
- toolCallConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSimulationConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSimulationConfig).Name}");
- simulationConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- var __value = new global::Speechify.TtsAgentTestConfig(
- scenarioConfig,
-
- toolCallConfig,
-
- simulationConfig
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsAgentTestConfig value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- if (value.IsScenarioConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsScenarioConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsScenarioConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ScenarioConfig!, typeInfo);
- }
- else if (value.IsToolCallConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsToolCallConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsToolCallConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ToolCallConfig!, typeInfo);
- }
- else if (value.IsSimulationConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSimulationConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSimulationConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.SimulationConfig!, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationStatus.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationStatus.g.cs
deleted file mode 100644
index eb0bf86..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationStatus.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsConversationStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsConversationStatus Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsConversationStatusExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsConversationStatus)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsConversationStatus);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsConversationStatus value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsConversationStatusExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationStatusNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationStatusNullable.g.cs
deleted file mode 100644
index ea39ac4..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationStatusNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsConversationStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsConversationStatus? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsConversationStatusExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsConversationStatus)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsConversationStatus?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsConversationStatus? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsConversationStatusExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationTransport.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationTransport.g.cs
deleted file mode 100644
index 1264246..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationTransport.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsConversationTransportJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsConversationTransport Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsConversationTransportExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsConversationTransport)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsConversationTransport);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsConversationTransport value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsConversationTransportExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationTransportNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationTransportNullable.g.cs
deleted file mode 100644
index 4e0ac37..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsConversationTransportNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsConversationTransportNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsConversationTransport? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsConversationTransportExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsConversationTransport)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsConversationTransport?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsConversationTransport? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsConversationTransportExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestGrantType.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestGrantType.g.cs
deleted file mode 100644
index 3e246db..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestGrantType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsCreateAccessTokenRequestGrantTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsCreateAccessTokenRequestGrantType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsCreateAccessTokenRequestGrantTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsCreateAccessTokenRequestGrantType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsCreateAccessTokenRequestGrantType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsCreateAccessTokenRequestGrantType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsCreateAccessTokenRequestGrantTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestGrantTypeNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestGrantTypeNullable.g.cs
deleted file mode 100644
index 8688301..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestGrantTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsCreateAccessTokenRequestGrantTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsCreateAccessTokenRequestGrantType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsCreateAccessTokenRequestGrantTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsCreateAccessTokenRequestGrantType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsCreateAccessTokenRequestGrantType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsCreateAccessTokenRequestGrantType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsCreateAccessTokenRequestGrantTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestScope.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestScope.g.cs
deleted file mode 100644
index 1082236..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestScope.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsCreateAccessTokenRequestScopeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsCreateAccessTokenRequestScope Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsCreateAccessTokenRequestScopeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsCreateAccessTokenRequestScope)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsCreateAccessTokenRequestScope);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsCreateAccessTokenRequestScope value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsCreateAccessTokenRequestScopeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestScopeNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestScopeNullable.g.cs
deleted file mode 100644
index 88907be..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAccessTokenRequestScopeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsCreateAccessTokenRequestScopeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsCreateAccessTokenRequestScope? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsCreateAccessTokenRequestScopeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsCreateAccessTokenRequestScope)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsCreateAccessTokenRequestScope?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsCreateAccessTokenRequestScope? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsCreateAccessTokenRequestScopeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAgentTestRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAgentTestRequestConfig.g.cs
deleted file mode 100644
index e710e90..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateAgentTestRequestConfig.g.cs
+++ /dev/null
@@ -1,193 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618 // Type or member is obsolete
-
-namespace Speechify.JsonConverters
-{
- ///
- public class TtsCreateAgentTestRequestConfigJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsCreateAgentTestRequestConfig Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
- var __rawJson = __jsonDocument.RootElement.GetRawText();
- var __jsonProps = new global::System.Collections.Generic.HashSet();
- if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
- {
- foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
- {
- __jsonProps.Add(__jsonProp.Name);
-
- }
- }
-
- var __score0 = 0;
- if (__jsonProps.Contains("context")) __score0++;
- if (__jsonProps.Contains("failure_examples")) __score0++;
- if (__jsonProps.Contains("first_message_override")) __score0++;
- if (__jsonProps.Contains("initial_chat_history")) __score0++;
- if (__jsonProps.Contains("model_override")) __score0++;
- if (__jsonProps.Contains("success_criteria")) __score0++;
- if (__jsonProps.Contains("success_examples")) __score0++;
- if (__jsonProps.Contains("system_prompt_override")) __score0++;
- var __score1 = 0;
- if (__jsonProps.Contains("context")) __score1++;
- if (__jsonProps.Contains("expected_tool")) __score1++;
- if (__jsonProps.Contains("initial_chat_history")) __score1++;
- if (__jsonProps.Contains("model_override")) __score1++;
- if (__jsonProps.Contains("parameter_checks")) __score1++;
- if (__jsonProps.Contains("system_prompt_override")) __score1++;
- var __score2 = 0;
- if (__jsonProps.Contains("initial_chat_history")) __score2++;
- if (__jsonProps.Contains("max_turns")) __score2++;
- if (__jsonProps.Contains("model_override")) __score2++;
- if (__jsonProps.Contains("scenario")) __score2++;
- if (__jsonProps.Contains("success_condition")) __score2++;
- if (__jsonProps.Contains("system_prompt_override")) __score2++;
- var __bestScore = 0;
- var __bestIndex = -1;
- if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
- if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
- if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; }
-
- global::Speechify.TtsScenarioConfig? scenarioConfig = default;
- global::Speechify.TtsToolCallConfig? toolCallConfig = default;
- global::Speechify.TtsSimulationConfig? simulationConfig = default;
- if (__bestIndex >= 0)
- {
- if (__bestIndex == 0)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsScenarioConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsScenarioConfig).Name}");
- scenarioConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- else if (__bestIndex == 1)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsToolCallConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsToolCallConfig).Name}");
- toolCallConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- else if (__bestIndex == 2)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSimulationConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSimulationConfig).Name}");
- simulationConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- }
-
- if (scenarioConfig == null && toolCallConfig == null && simulationConfig == null)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsScenarioConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsScenarioConfig).Name}");
- scenarioConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsToolCallConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsToolCallConfig).Name}");
- toolCallConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSimulationConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSimulationConfig).Name}");
- simulationConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- var __value = new global::Speechify.TtsCreateAgentTestRequestConfig(
- scenarioConfig,
-
- toolCallConfig,
-
- simulationConfig
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsCreateAgentTestRequestConfig value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- if (value.IsScenarioConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsScenarioConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsScenarioConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ScenarioConfig!, typeInfo);
- }
- else if (value.IsToolCallConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsToolCallConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsToolCallConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ToolCallConfig!, typeInfo);
- }
- else if (value.IsSimulationConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSimulationConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSimulationConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.SimulationConfig!, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateToolRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateToolRequestConfig.g.cs
deleted file mode 100644
index 27dba30..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsCreateToolRequestConfig.g.cs
+++ /dev/null
@@ -1,183 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618 // Type or member is obsolete
-
-namespace Speechify.JsonConverters
-{
- ///
- public class TtsCreateToolRequestConfigJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsCreateToolRequestConfig Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
- var __rawJson = __jsonDocument.RootElement.GetRawText();
- var __jsonProps = new global::System.Collections.Generic.HashSet();
- if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
- {
- foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
- {
- __jsonProps.Add(__jsonProp.Name);
-
- }
- }
-
- var __score0 = 0;
- if (__jsonProps.Contains("builtin")) __score0++;
- if (__jsonProps.Contains("builtin_config")) __score0++;
- if (__jsonProps.Contains("params")) __score0++;
- var __score1 = 0;
- if (__jsonProps.Contains("headers")) __score1++;
- if (__jsonProps.Contains("method")) __score1++;
- if (__jsonProps.Contains("params")) __score1++;
- if (__jsonProps.Contains("timeout_ms")) __score1++;
- if (__jsonProps.Contains("url")) __score1++;
- var __score2 = 0;
- if (__jsonProps.Contains("params")) __score2++;
- if (__jsonProps.Contains("timeout_ms")) __score2++;
- var __bestScore = 0;
- var __bestIndex = -1;
- if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
- if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
- if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; }
-
- global::Speechify.TtsSystemToolConfig? systemToolConfig = default;
- global::Speechify.TtsWebhookToolConfig? webhookToolConfig = default;
- global::Speechify.TtsClientToolConfig? clientToolConfig = default;
- if (__bestIndex >= 0)
- {
- if (__bestIndex == 0)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSystemToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSystemToolConfig).Name}");
- systemToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- else if (__bestIndex == 1)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsWebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsWebhookToolConfig).Name}");
- webhookToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- else if (__bestIndex == 2)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsClientToolConfig).Name}");
- clientToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- }
-
- if (systemToolConfig == null && webhookToolConfig == null && clientToolConfig == null)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSystemToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSystemToolConfig).Name}");
- systemToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsWebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsWebhookToolConfig).Name}");
- webhookToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsClientToolConfig).Name}");
- clientToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- var __value = new global::Speechify.TtsCreateToolRequestConfig(
- systemToolConfig,
-
- webhookToolConfig,
-
- clientToolConfig
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsCreateToolRequestConfig value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- if (value.IsSystemToolConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSystemToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSystemToolConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.SystemToolConfig!, typeInfo);
- }
- else if (value.IsWebhookToolConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsWebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsWebhookToolConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebhookToolConfig!, typeInfo);
- }
- else if (value.IsClientToolConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsClientToolConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ClientToolConfig!, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDataCollectionFieldType.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDataCollectionFieldType.g.cs
deleted file mode 100644
index cc88f5b..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDataCollectionFieldType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsDataCollectionFieldTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsDataCollectionFieldType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsDataCollectionFieldTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsDataCollectionFieldType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsDataCollectionFieldType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsDataCollectionFieldType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsDataCollectionFieldTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDataCollectionFieldTypeNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDataCollectionFieldTypeNullable.g.cs
deleted file mode 100644
index 13c1896..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDataCollectionFieldTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsDataCollectionFieldTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsDataCollectionFieldType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsDataCollectionFieldTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsDataCollectionFieldType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsDataCollectionFieldType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsDataCollectionFieldType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsDataCollectionFieldTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDynamicVariableType.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDynamicVariableType.g.cs
deleted file mode 100644
index 126f4ca..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDynamicVariableType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsDynamicVariableTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsDynamicVariableType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsDynamicVariableTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsDynamicVariableType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsDynamicVariableType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsDynamicVariableType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsDynamicVariableTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDynamicVariableTypeNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDynamicVariableTypeNullable.g.cs
deleted file mode 100644
index f16ecb1..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsDynamicVariableTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsDynamicVariableTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsDynamicVariableType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsDynamicVariableTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsDynamicVariableType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsDynamicVariableType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsDynamicVariableType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsDynamicVariableTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolKind.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsErrorCode.g.cs
similarity index 70%
rename from src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolKind.g.cs
rename to src/libs/Speechify/Generated/Speechify.JsonConverters.TtsErrorCode.g.cs
index ae54b55..2c1cee7 100644
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolKind.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsErrorCode.g.cs
@@ -3,10 +3,10 @@
namespace Speechify.JsonConverters
{
///
- public sealed class TtsToolKindJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class TtsErrorCodeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Speechify.TtsToolKind Read(
+ public override global::Speechify.TtsErrorCode Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class TtsToolKindJsonConverter : global::System.Text.Json.Serializ
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Speechify.TtsToolKindExtensions.ToEnum(stringValue) ?? default;
+ return global::Speechify.TtsErrorCodeExtensions.ToEnum(stringValue) ?? default;
}
break;
@@ -26,11 +26,11 @@ public sealed class TtsToolKindJsonConverter : global::System.Text.Json.Serializ
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Speechify.TtsToolKind)numValue;
+ return (global::Speechify.TtsErrorCode)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Speechify.TtsToolKind);
+ return default(global::Speechify.TtsErrorCode);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,12 +42,12 @@ public sealed class TtsToolKindJsonConverter : global::System.Text.Json.Serializ
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsToolKind value,
+ global::Speechify.TtsErrorCode value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
- writer.WriteStringValue(global::Speechify.TtsToolKindExtensions.ToValueString(value));
+ writer.WriteStringValue(global::Speechify.TtsErrorCodeExtensions.ToValueString(value));
}
}
}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolKindNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsErrorCodeNullable.g.cs
similarity index 71%
rename from src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolKindNullable.g.cs
rename to src/libs/Speechify/Generated/Speechify.JsonConverters.TtsErrorCodeNullable.g.cs
index 61df498..e557a0c 100644
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolKindNullable.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsErrorCodeNullable.g.cs
@@ -3,10 +3,10 @@
namespace Speechify.JsonConverters
{
///
- public sealed class TtsToolKindNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ public sealed class TtsErrorCodeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
{
///
- public override global::Speechify.TtsToolKind? Read(
+ public override global::Speechify.TtsErrorCode? Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -18,7 +18,7 @@ public sealed class TtsToolKindNullableJsonConverter : global::System.Text.Json.
var stringValue = reader.GetString();
if (stringValue != null)
{
- return global::Speechify.TtsToolKindExtensions.ToEnum(stringValue);
+ return global::Speechify.TtsErrorCodeExtensions.ToEnum(stringValue);
}
break;
@@ -26,11 +26,11 @@ public sealed class TtsToolKindNullableJsonConverter : global::System.Text.Json.
case global::System.Text.Json.JsonTokenType.Number:
{
var numValue = reader.GetInt32();
- return (global::Speechify.TtsToolKind)numValue;
+ return (global::Speechify.TtsErrorCode)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
- return default(global::Speechify.TtsToolKind?);
+ return default(global::Speechify.TtsErrorCode?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
@@ -42,7 +42,7 @@ public sealed class TtsToolKindNullableJsonConverter : global::System.Text.Json.
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsToolKind? value,
+ global::Speechify.TtsErrorCode? value,
global::System.Text.Json.JsonSerializerOptions options)
{
writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
@@ -53,7 +53,7 @@ public override void Write(
}
else
{
- writer.WriteStringValue(global::Speechify.TtsToolKindExtensions.ToValueString(value.Value));
+ writer.WriteStringValue(global::Speechify.TtsErrorCodeExtensions.ToValueString(value.Value));
}
}
}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationKind.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationKind.g.cs
deleted file mode 100644
index 6956d95..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationKind.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsEvaluationKindJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsEvaluationKind Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsEvaluationKindExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsEvaluationKind)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsEvaluationKind);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsEvaluationKind value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsEvaluationKindExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationKindNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationKindNullable.g.cs
deleted file mode 100644
index 05909ff..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationKindNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsEvaluationKindNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsEvaluationKind? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsEvaluationKindExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsEvaluationKind)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsEvaluationKind?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsEvaluationKind? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsEvaluationKindExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationStatus.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationStatus.g.cs
deleted file mode 100644
index af205a1..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationStatus.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsEvaluationStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsEvaluationStatus Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsEvaluationStatusExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsEvaluationStatus)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsEvaluationStatus);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsEvaluationStatus value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsEvaluationStatusExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationStatusNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationStatusNullable.g.cs
deleted file mode 100644
index 1fd758e..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsEvaluationStatusNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsEvaluationStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsEvaluationStatus? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsEvaluationStatusExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsEvaluationStatus)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsEvaluationStatus?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsEvaluationStatus? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsEvaluationStatusExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsKnowledgeBaseDocumentStatus.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsKnowledgeBaseDocumentStatus.g.cs
deleted file mode 100644
index 1cca807..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsKnowledgeBaseDocumentStatus.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsKnowledgeBaseDocumentStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsKnowledgeBaseDocumentStatus Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsKnowledgeBaseDocumentStatusExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsKnowledgeBaseDocumentStatus)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsKnowledgeBaseDocumentStatus);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsKnowledgeBaseDocumentStatus value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsKnowledgeBaseDocumentStatusExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsKnowledgeBaseDocumentStatusNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsKnowledgeBaseDocumentStatusNullable.g.cs
deleted file mode 100644
index 1a7dc68..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsKnowledgeBaseDocumentStatusNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsKnowledgeBaseDocumentStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsKnowledgeBaseDocumentStatus? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsKnowledgeBaseDocumentStatusExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsKnowledgeBaseDocumentStatus)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsKnowledgeBaseDocumentStatus?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsKnowledgeBaseDocumentStatus? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsKnowledgeBaseDocumentStatusExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMemberRole.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMemberRole.g.cs
deleted file mode 100644
index 6adb96f..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMemberRole.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsMemberRoleJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsMemberRole Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsMemberRoleExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsMemberRole)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsMemberRole);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsMemberRole value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsMemberRoleExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMemberRoleNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMemberRoleNullable.g.cs
deleted file mode 100644
index 10f8e1b..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMemberRoleNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsMemberRoleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsMemberRole? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsMemberRoleExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsMemberRole)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsMemberRole?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsMemberRole? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsMemberRoleExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMessageRole.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMessageRole.g.cs
deleted file mode 100644
index ead2579..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMessageRole.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsMessageRoleJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsMessageRole Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsMessageRoleExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsMessageRole)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsMessageRole);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsMessageRole value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsMessageRoleExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMessageRoleNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMessageRoleNullable.g.cs
deleted file mode 100644
index 2354cc5..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMessageRoleNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsMessageRoleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsMessageRole? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsMessageRoleExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsMessageRole)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsMessageRole?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsMessageRole? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsMessageRoleExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMockingStrategy.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMockingStrategy.g.cs
deleted file mode 100644
index d8a1423..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMockingStrategy.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsMockingStrategyJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsMockingStrategy Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsMockingStrategyExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsMockingStrategy)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsMockingStrategy);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsMockingStrategy value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsMockingStrategyExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMockingStrategyNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMockingStrategyNullable.g.cs
deleted file mode 100644
index 95a38c4..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsMockingStrategyNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsMockingStrategyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsMockingStrategy? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsMockingStrategyExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsMockingStrategy)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsMockingStrategy?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsMockingStrategy? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsMockingStrategyExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsNoMatchBehavior.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsNoMatchBehavior.g.cs
deleted file mode 100644
index ccab43a..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsNoMatchBehavior.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsNoMatchBehaviorJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsNoMatchBehavior Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsNoMatchBehaviorExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsNoMatchBehavior)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsNoMatchBehavior);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsNoMatchBehavior value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsNoMatchBehaviorExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsNoMatchBehaviorNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsNoMatchBehaviorNullable.g.cs
deleted file mode 100644
index 47ea6ce..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsNoMatchBehaviorNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsNoMatchBehaviorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsNoMatchBehavior? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsNoMatchBehaviorExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsNoMatchBehavior)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsNoMatchBehavior?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsNoMatchBehavior? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsNoMatchBehaviorExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsOAuthErrorError.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsOAuthErrorError.g.cs
deleted file mode 100644
index 1abc001..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsOAuthErrorError.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsOAuthErrorErrorJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsOAuthErrorError Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsOAuthErrorErrorExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsOAuthErrorError)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsOAuthErrorError);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsOAuthErrorError value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsOAuthErrorErrorExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsOAuthErrorErrorNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsOAuthErrorErrorNullable.g.cs
deleted file mode 100644
index 2cef1f1..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsOAuthErrorErrorNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsOAuthErrorErrorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsOAuthErrorError? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsOAuthErrorErrorExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsOAuthErrorError)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsOAuthErrorError?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsOAuthErrorError? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsOAuthErrorErrorExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsParameterCheckMode.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsParameterCheckMode.g.cs
deleted file mode 100644
index 1e6d8d9..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsParameterCheckMode.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsParameterCheckModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsParameterCheckMode Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsParameterCheckModeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsParameterCheckMode)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsParameterCheckMode);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsParameterCheckMode value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsParameterCheckModeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsParameterCheckModeNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsParameterCheckModeNullable.g.cs
deleted file mode 100644
index bf00ec6..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsParameterCheckModeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsParameterCheckModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsParameterCheckMode? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsParameterCheckModeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsParameterCheckMode)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsParameterCheckMode?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsParameterCheckMode? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsParameterCheckModeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSimulationMessageRole.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSimulationMessageRole.g.cs
deleted file mode 100644
index 35d8e3c..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSimulationMessageRole.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsSimulationMessageRoleJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsSimulationMessageRole Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsSimulationMessageRoleExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsSimulationMessageRole)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsSimulationMessageRole);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsSimulationMessageRole value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsSimulationMessageRoleExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSimulationMessageRoleNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSimulationMessageRoleNullable.g.cs
deleted file mode 100644
index 197f070..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSimulationMessageRoleNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsSimulationMessageRoleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsSimulationMessageRole? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsSimulationMessageRoleExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsSimulationMessageRole)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsSimulationMessageRole?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsSimulationMessageRole? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsSimulationMessageRoleExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSystemToolConfigBuiltin.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSystemToolConfigBuiltin.g.cs
deleted file mode 100644
index 59c5609..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSystemToolConfigBuiltin.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsSystemToolConfigBuiltinJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsSystemToolConfigBuiltin Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsSystemToolConfigBuiltinExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsSystemToolConfigBuiltin)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsSystemToolConfigBuiltin);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsSystemToolConfigBuiltin value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsSystemToolConfigBuiltinExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSystemToolConfigBuiltinNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSystemToolConfigBuiltinNullable.g.cs
deleted file mode 100644
index 8e5a701..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsSystemToolConfigBuiltinNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsSystemToolConfigBuiltinNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsSystemToolConfigBuiltin? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsSystemToolConfigBuiltinExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsSystemToolConfigBuiltin)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsSystemToolConfigBuiltin?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsSystemToolConfigBuiltin? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsSystemToolConfigBuiltinExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantDataRegion.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantDataRegion.g.cs
deleted file mode 100644
index a123bc8..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantDataRegion.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsTenantDataRegionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsTenantDataRegion Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsTenantDataRegionExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsTenantDataRegion)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsTenantDataRegion);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsTenantDataRegion value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsTenantDataRegionExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantDataRegionNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantDataRegionNullable.g.cs
deleted file mode 100644
index 577f9e3..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantDataRegionNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsTenantDataRegionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsTenantDataRegion? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsTenantDataRegionExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsTenantDataRegion)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsTenantDataRegion?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsTenantDataRegion? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsTenantDataRegionExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantPlan.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantPlan.g.cs
deleted file mode 100644
index 2caa901..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantPlan.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsTenantPlanJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsTenantPlan Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsTenantPlanExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsTenantPlan)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsTenantPlan);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsTenantPlan value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsTenantPlanExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantPlanNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantPlanNullable.g.cs
deleted file mode 100644
index b3ce4d1..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTenantPlanNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsTenantPlanNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsTenantPlan? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsTenantPlanExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsTenantPlan)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsTenantPlan?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsTenantPlan? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsTenantPlanExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestRunStatus.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestRunStatus.g.cs
deleted file mode 100644
index 2a39341..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestRunStatus.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsTestRunStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsTestRunStatus Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsTestRunStatusExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsTestRunStatus)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsTestRunStatus);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsTestRunStatus value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsTestRunStatusExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestRunStatusNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestRunStatusNullable.g.cs
deleted file mode 100644
index 0b77c18..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestRunStatusNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsTestRunStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsTestRunStatus? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsTestRunStatusExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsTestRunStatus)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsTestRunStatus?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsTestRunStatus? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsTestRunStatusExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestType.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestType.g.cs
deleted file mode 100644
index 41a0a93..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsTestTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsTestType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsTestTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsTestType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsTestType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsTestType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Speechify.TtsTestTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestTypeNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestTypeNullable.g.cs
deleted file mode 100644
index 2036360..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsTestTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///
- public sealed class TtsTestTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsTestType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Speechify.TtsTestTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Speechify.TtsTestType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Speechify.TtsTestType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsTestType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Speechify.TtsTestTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolConfig.g.cs
deleted file mode 100644
index f659f30..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolConfig.g.cs
+++ /dev/null
@@ -1,183 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618 // Type or member is obsolete
-
-namespace Speechify.JsonConverters
-{
- ///
- public class TtsToolConfigJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Speechify.TtsToolConfig Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
- var __rawJson = __jsonDocument.RootElement.GetRawText();
- var __jsonProps = new global::System.Collections.Generic.HashSet();
- if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
- {
- foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
- {
- __jsonProps.Add(__jsonProp.Name);
-
- }
- }
-
- var __score0 = 0;
- if (__jsonProps.Contains("builtin")) __score0++;
- if (__jsonProps.Contains("builtin_config")) __score0++;
- if (__jsonProps.Contains("params")) __score0++;
- var __score1 = 0;
- if (__jsonProps.Contains("headers")) __score1++;
- if (__jsonProps.Contains("method")) __score1++;
- if (__jsonProps.Contains("params")) __score1++;
- if (__jsonProps.Contains("timeout_ms")) __score1++;
- if (__jsonProps.Contains("url")) __score1++;
- var __score2 = 0;
- if (__jsonProps.Contains("params")) __score2++;
- if (__jsonProps.Contains("timeout_ms")) __score2++;
- var __bestScore = 0;
- var __bestIndex = -1;
- if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
- if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
- if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; }
-
- global::Speechify.TtsSystemToolConfig? systemToolConfig = default;
- global::Speechify.TtsWebhookToolConfig? webhookToolConfig = default;
- global::Speechify.TtsClientToolConfig? clientToolConfig = default;
- if (__bestIndex >= 0)
- {
- if (__bestIndex == 0)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSystemToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSystemToolConfig).Name}");
- systemToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- else if (__bestIndex == 1)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsWebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsWebhookToolConfig).Name}");
- webhookToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- else if (__bestIndex == 2)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsClientToolConfig).Name}");
- clientToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- }
-
- if (systemToolConfig == null && webhookToolConfig == null && clientToolConfig == null)
- {
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSystemToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSystemToolConfig).Name}");
- systemToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsWebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsWebhookToolConfig).Name}");
- webhookToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsClientToolConfig).Name}");
- clientToolConfig = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- var __value = new global::Speechify.TtsToolConfig(
- systemToolConfig,
-
- webhookToolConfig,
-
- clientToolConfig
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Speechify.TtsToolConfig value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- if (value.IsSystemToolConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsSystemToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsSystemToolConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.SystemToolConfig!, typeInfo);
- }
- else if (value.IsWebhookToolConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsWebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsWebhookToolConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebhookToolConfig!, typeInfo);
- }
- else if (value.IsClientToolConfig)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.TtsClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.TtsClientToolConfig).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.ClientToolConfig!, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolParamType.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolParamType.g.cs
deleted file mode 100644
index f3b66f3..0000000
--- a/src/libs/Speechify/Generated/Speechify.JsonConverters.TtsToolParamType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Speechify.JsonConverters
-{
- ///