diff --git a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Upload.g.cs b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Upload.g.cs
index cc030242..4c2451e6 100644
--- a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Upload.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Upload.g.cs
@@ -28,12 +28,12 @@ public partial class AudioAssetsClient
partial void PrepareUploadArguments(
global::System.Net.Http.HttpClient httpClient,
ref string? speechifyVersion,
- global::Speechify.AudioAssetsUploadRequest request);
+ global::Speechify.UploadRequest request);
partial void PrepareUploadRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string? speechifyVersion,
- global::Speechify.AudioAssetsUploadRequest request);
+ global::Speechify.UploadRequest request);
partial void ProcessUploadResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -61,7 +61,7 @@ partial void ProcessUploadResponseContent(
///
public async global::System.Threading.Tasks.Task UploadAsync(
- global::Speechify.AudioAssetsUploadRequest request,
+ global::Speechify.UploadRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -94,7 +94,7 @@ partial void ProcessUploadResponseContent(
///
public async global::System.Threading.Tasks.Task> UploadAsResponseAsync(
- global::Speechify.AudioAssetsUploadRequest request,
+ global::Speechify.UploadRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -616,7 +616,7 @@ request.Filename is null
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
- var __request = new global::Speechify.AudioAssetsUploadRequest
+ var __request = new global::Speechify.UploadRequest
{
ProjectId = projectId,
File = file,
@@ -668,7 +668,7 @@ request.Filename is null
{
file = file ?? throw new global::System.ArgumentNullException(nameof(file));
- var request = new global::Speechify.AudioAssetsUploadRequest
+ var request = new global::Speechify.UploadRequest
{
ProjectId = projectId,
File = global::System.Array.Empty(),
@@ -1183,7 +1183,7 @@ request.Filename is null
{
file = file ?? throw new global::System.ArgumentNullException(nameof(file));
- var request = new global::Speechify.AudioAssetsUploadRequest
+ var request = new global::Speechify.UploadRequest
{
ProjectId = projectId,
File = global::System.Array.Empty(),
diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.CancelPrompt.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.CancelPrompt.g.cs
new file mode 100644
index 00000000..964e3e33
--- /dev/null
+++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.CancelPrompt.g.cs
@@ -0,0 +1,586 @@
+
+#nullable enable
+
+namespace Speechify
+{
+ public partial class ConversationsClient
+ {
+
+
+ private static readonly global::Speechify.EndPointSecurityRequirement s_CancelPromptSecurityRequirement0 =
+ new global::Speechify.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Speechify.EndPointAuthorizationRequirement[]
+ { new global::Speechify.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Speechify.EndPointSecurityRequirement[] s_CancelPromptSecurityRequirements =
+ new global::Speechify.EndPointSecurityRequirement[]
+ { s_CancelPromptSecurityRequirement0,
+ };
+ partial void PrepareCancelPromptArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string conversationId,
+ ref string promptId,
+ ref string? speechifyVersion,
+ ref string? idempotencyKey);
+ partial void PrepareCancelPromptRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string conversationId,
+ string promptId,
+ string? speechifyVersion,
+ string? idempotencyKey);
+ partial void ProcessCancelPromptResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessCancelPromptResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Cancel Conversation Prompt
+ /// Cancel an agent-initiated turn the worker has not started. Idempotent:
+ /// a `pending` prompt moves to `cancelled` and nothing is posted; a
+ /// prompt already `running` or terminal is returned unchanged - a
+ /// running turn is seconds from posting and its reply is already the
+ /// agent's own words, so there is nothing to recall.
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Optional idempotency key. When omitted, the SDK generates one for this request.
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CancelPromptAsync(
+ string conversationId,
+ string promptId,
+ string? speechifyVersion = default,
+ string? idempotencyKey = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await CancelPromptAsResponseAsync(
+ conversationId: conversationId,
+ promptId: promptId,
+ speechifyVersion: speechifyVersion,
+ idempotencyKey: idempotencyKey,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Cancel Conversation Prompt
+ /// Cancel an agent-initiated turn the worker has not started. Idempotent:
+ /// a `pending` prompt moves to `cancelled` and nothing is posted; a
+ /// prompt already `running` or terminal is returned unchanged - a
+ /// running turn is seconds from posting and its reply is already the
+ /// agent's own words, so there is nothing to recall.
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Optional idempotency key. When omitted, the SDK generates one for this request.
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> CancelPromptAsResponseAsync(
+ string conversationId,
+ string promptId,
+ string? speechifyVersion = default,
+ string? idempotencyKey = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareCancelPromptArguments(
+ httpClient: HttpClient,
+ conversationId: ref conversationId,
+ promptId: ref promptId,
+ speechifyVersion: ref speechifyVersion,
+ idempotencyKey: ref idempotencyKey);
+
+
+ var __authorizations = global::Speechify.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CancelPromptSecurityRequirements,
+ operationName: "CancelPromptAsync");
+
+ using var __timeoutCancellationTokenSource = global::Speechify.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Speechify.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Speechify.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Speechify.PathBuilder(
+ path: $"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Speechify.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Post,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+
+ if (speechifyVersion != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Speechify-Version", speechifyVersion.ToString());
+ }
+ var __idempotencyKey = global::System.String.IsNullOrWhiteSpace(idempotencyKey)
+ ? CreateIdempotencyKey()
+ : idempotencyKey;
+ __httpRequest.Headers.TryAddWithoutValidation("Idempotency-Key", __idempotencyKey);
+
+ global::Speechify.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareCancelPromptRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ conversationId: conversationId!,
+ promptId: promptId!,
+ speechifyVersion: speechifyVersion,
+ idempotencyKey: idempotencyKey);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CancelPrompt",
+ methodName: "CancelPromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Speechify.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CancelPrompt",
+ methodName: "CancelPromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Speechify.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Speechify.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Speechify.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CancelPrompt",
+ methodName: "CancelPromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Speechify.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessCancelPromptResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CancelPrompt",
+ methodName: "CancelPromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CancelPrompt",
+ methodName: "CancelPromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ // Authentication is missing or invalid. The request did not carry a recognised credential (console session token, API key, or worker JWT).
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ global::Speechify.Error? __value_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_401 = global::Speechify.Error.FromJson(__content_401, JsonSerializerContext);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_401 = global::Speechify.Error.FromJson(__content_401, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseObject: __value_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // The referenced resource does not exist or is not visible to the caller's workspace.
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ global::Speechify.Error? __value_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_404 = global::Speechify.Error.FromJson(__content_404, JsonSerializerContext);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_404 = global::Speechify.Error.FromJson(__content_404, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseObject: __value_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // The request conflicts with the current resource state - e.g. duplicate, optimistic-concurrency mismatch, or last-owner guard.
+ if ((int)__response.StatusCode == 409)
+ {
+ string? __content_409 = null;
+ global::System.Exception? __exception_409 = null;
+ global::Speechify.Error? __value_409 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_409 = global::Speechify.Error.FromJson(__content_409, JsonSerializerContext);
+ }
+ else
+ {
+ __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_409 = global::Speechify.Error.FromJson(__content_409, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_409 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_409 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_409,
+ responseBody: __content_409,
+ responseObject: __value_409,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessCancelPromptResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Speechify.ConversationPrompt.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Speechify.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Speechify.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = await global::Speechify.ConversationPrompt.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Speechify.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Speechify.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.GetPrompt.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.GetPrompt.g.cs
new file mode 100644
index 00000000..77997415
--- /dev/null
+++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.GetPrompt.g.cs
@@ -0,0 +1,567 @@
+
+#nullable enable
+
+namespace Speechify
+{
+ public partial class ConversationsClient
+ {
+
+
+ private static readonly global::Speechify.EndPointSecurityRequirement s_GetPromptSecurityRequirement0 =
+ new global::Speechify.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Speechify.EndPointAuthorizationRequirement[]
+ { new global::Speechify.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Speechify.EndPointSecurityRequirement[] s_GetPromptSecurityRequirements =
+ new global::Speechify.EndPointSecurityRequirement[]
+ { s_GetPromptSecurityRequirement0,
+ };
+ partial void PrepareGetPromptArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string conversationId,
+ ref string promptId,
+ ref string? speechifyVersion);
+ partial void PrepareGetPromptRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string conversationId,
+ string promptId,
+ string? speechifyVersion);
+ partial void ProcessGetPromptResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessGetPromptResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Get Conversation Prompt
+ /// Poll an agent-initiated turn. `pending` is queued, `running` is on the
+ /// worker, `completed` means the reply reached the thread (or the agent
+ /// chose to say nothing), `failed` carries `error` saying why it never
+ /// posted, and `cancelled` means a cancel got there before the worker.
+ ///
+ ///
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task GetPromptAsync(
+ string conversationId,
+ string promptId,
+ string? speechifyVersion = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await GetPromptAsResponseAsync(
+ conversationId: conversationId,
+ promptId: promptId,
+ speechifyVersion: speechifyVersion,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Get Conversation Prompt
+ /// Poll an agent-initiated turn. `pending` is queued, `running` is on the
+ /// worker, `completed` means the reply reached the thread (or the agent
+ /// chose to say nothing), `failed` carries `error` saying why it never
+ /// posted, and `cancelled` means a cancel got there before the worker.
+ ///
+ ///
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> GetPromptAsResponseAsync(
+ string conversationId,
+ string promptId,
+ string? speechifyVersion = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareGetPromptArguments(
+ httpClient: HttpClient,
+ conversationId: ref conversationId,
+ promptId: ref promptId,
+ speechifyVersion: ref speechifyVersion);
+
+
+ var __authorizations = global::Speechify.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetPromptSecurityRequirements,
+ operationName: "GetPromptAsync");
+
+ using var __timeoutCancellationTokenSource = global::Speechify.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Speechify.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Speechify.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Speechify.PathBuilder(
+ path: $"/v1/agents/conversations/{conversationId}/prompts/{promptId}",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Speechify.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Get,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+
+ if (speechifyVersion != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Speechify-Version", speechifyVersion.ToString());
+ }
+
+ global::Speechify.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareGetPromptRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ conversationId: conversationId!,
+ promptId: promptId!,
+ speechifyVersion: speechifyVersion);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetPrompt",
+ methodName: "GetPromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Speechify.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetPrompt",
+ methodName: "GetPromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Speechify.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Speechify.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Speechify.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetPrompt",
+ methodName: "GetPromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Speechify.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessGetPromptResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetPrompt",
+ methodName: "GetPromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetPrompt",
+ methodName: "GetPromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ // Authentication is missing or invalid. The request did not carry a recognised credential (console session token, API key, or worker JWT).
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ global::Speechify.Error? __value_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_401 = global::Speechify.Error.FromJson(__content_401, JsonSerializerContext);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_401 = global::Speechify.Error.FromJson(__content_401, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseObject: __value_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // The referenced resource does not exist or is not visible to the caller's workspace.
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ global::Speechify.Error? __value_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_404 = global::Speechify.Error.FromJson(__content_404, JsonSerializerContext);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_404 = global::Speechify.Error.FromJson(__content_404, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseObject: __value_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // Rate limit or concurrency limit exceeded. `error.code` says which ceiling, and they need different responses: `rate_limited` is the request-rate budget (slow down), `concurrency_limit_reached` is a workspace-wide concurrency ceiling (fewer at once, or raise it), and `conversation_turn_in_progress` is contention over one named conversation (keep one message in flight on it). Every 429 carries `Retry-After` and the request-rate budget headers; the active-call cap also carries `RateLimit-Remaining-Calls: 0`.
+ if ((int)__response.StatusCode == 429)
+ {
+ string? __content_429 = null;
+ global::System.Exception? __exception_429 = null;
+ global::Speechify.Error? __value_429 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_429 = global::Speechify.Error.FromJson(__content_429, JsonSerializerContext);
+ }
+ else
+ {
+ __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_429 = global::Speechify.Error.FromJson(__content_429, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_429 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_429 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_429,
+ responseBody: __content_429,
+ responseObject: __value_429,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessGetPromptResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Speechify.ConversationPrompt.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Speechify.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Speechify.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = await global::Speechify.ConversationPrompt.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Speechify.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Speechify.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.Prompt.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.Prompt.g.cs
new file mode 100644
index 00000000..02d2a156
--- /dev/null
+++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.Prompt.g.cs
@@ -0,0 +1,884 @@
+
+#nullable enable
+
+namespace Speechify
+{
+ public partial class ConversationsClient
+ {
+
+
+ private static readonly global::Speechify.EndPointSecurityRequirement s_PromptSecurityRequirement0 =
+ new global::Speechify.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Speechify.EndPointAuthorizationRequirement[]
+ { new global::Speechify.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Speechify.EndPointSecurityRequirement[] s_PromptSecurityRequirements =
+ new global::Speechify.EndPointSecurityRequirement[]
+ { s_PromptSecurityRequirement0,
+ };
+ partial void PreparePromptArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string conversationId,
+ ref string? speechifyVersion,
+ ref string? idempotencyKey,
+ global::Speechify.ConversationPromptRequest request);
+ partial void PreparePromptRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string conversationId,
+ string? speechifyVersion,
+ string? idempotencyKey,
+ global::Speechify.ConversationPromptRequest request);
+ partial void ProcessPromptResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessPromptResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Prompt Conversation
+ /// Start an agent-initiated turn in an existing conversation. The agent
+ /// runs the instruction with its normal tools on the conversation's own
+ /// context - it can see what it said earlier in the thread - and whatever
+ /// it writes in reply is delivered into that thread, unasked. The typical
+ /// use is a follow-up on something the agent already said: a figure that
+ /// was re-certified after the answer went out, a correction, a heads-up.
+ /// The turn is queued, not run inline: it answers `202` with the prompt
+ /// as a job (`pending`), lands in the thread within the turn's own
+ /// budget, and survives a deploy and waits for the thread's in-flight
+ /// turn the way a person's message does. Poll it with
+ /// `GET /v1/agents/conversations/{conversation_id}/prompts/{prompt_id}`:
+ /// `completed` means the reply was delivered (or the agent chose to say
+ /// nothing), `failed` carries `error` saying why it never posted - the
+ /// conversation ended before the turn ran, a grant withdrawn, the
+ /// runtime giving up. A `pending` prompt can be cancelled. Its two
+ /// transcript rows - the instruction as the `user` row and the reply as
+ /// the `assistant` row - carry `initiated_by: api`, so
+ /// `GET /v1/agents/conversations/{conversation_id}/messages` and any
+ /// evaluation can tell it from an answer to a person.
+ /// Only a conversation answered over a messaging channel (Slack) can take
+ /// one, because an unasked reply needs somewhere to go: a conversation
+ /// driven over the message API returns its replies in the response, so it
+ /// answers `409 conversation_not_reachable`, as does a voice call or a
+ /// thread whose channel has since been removed. A conversation that has
+ /// ended answers `409 conversation_closed`: nothing reopens it, and the
+ /// next message a person sends in that thread opens a fresh conversation
+ /// to address instead.
+ /// Bounded per workspace at 60 turns an hour (`429 rate_limited` with
+ /// `Retry-After`) on top of the text channel's own gates: the same plan
+ /// grants, monthly message cap, spend budget and in-flight cap a person's
+ /// message takes, refused here with the same `402`s before anything is
+ /// queued.
+ /// Send an `Idempotency-Key` header to make a network retry safe: a repeat
+ /// with the same key replays the first `202` instead of queueing a second
+ /// turn.
+ /// A field this endpoint does not define is refused with `400
+ /// validation_failed` naming every unknown field, rather than accepted
+ /// and silently dropped.
+ ///
+ ///
+ ///
+ ///
+ /// Optional idempotency key. When omitted, the SDK generates one for this request.
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task PromptAsync(
+ string conversationId,
+
+ global::Speechify.ConversationPromptRequest request,
+ string? speechifyVersion = default,
+ string? idempotencyKey = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await PromptAsResponseAsync(
+ conversationId: conversationId,
+
+ request: request,
+ speechifyVersion: speechifyVersion,
+ idempotencyKey: idempotencyKey,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Prompt Conversation
+ /// Start an agent-initiated turn in an existing conversation. The agent
+ /// runs the instruction with its normal tools on the conversation's own
+ /// context - it can see what it said earlier in the thread - and whatever
+ /// it writes in reply is delivered into that thread, unasked. The typical
+ /// use is a follow-up on something the agent already said: a figure that
+ /// was re-certified after the answer went out, a correction, a heads-up.
+ /// The turn is queued, not run inline: it answers `202` with the prompt
+ /// as a job (`pending`), lands in the thread within the turn's own
+ /// budget, and survives a deploy and waits for the thread's in-flight
+ /// turn the way a person's message does. Poll it with
+ /// `GET /v1/agents/conversations/{conversation_id}/prompts/{prompt_id}`:
+ /// `completed` means the reply was delivered (or the agent chose to say
+ /// nothing), `failed` carries `error` saying why it never posted - the
+ /// conversation ended before the turn ran, a grant withdrawn, the
+ /// runtime giving up. A `pending` prompt can be cancelled. Its two
+ /// transcript rows - the instruction as the `user` row and the reply as
+ /// the `assistant` row - carry `initiated_by: api`, so
+ /// `GET /v1/agents/conversations/{conversation_id}/messages` and any
+ /// evaluation can tell it from an answer to a person.
+ /// Only a conversation answered over a messaging channel (Slack) can take
+ /// one, because an unasked reply needs somewhere to go: a conversation
+ /// driven over the message API returns its replies in the response, so it
+ /// answers `409 conversation_not_reachable`, as does a voice call or a
+ /// thread whose channel has since been removed. A conversation that has
+ /// ended answers `409 conversation_closed`: nothing reopens it, and the
+ /// next message a person sends in that thread opens a fresh conversation
+ /// to address instead.
+ /// Bounded per workspace at 60 turns an hour (`429 rate_limited` with
+ /// `Retry-After`) on top of the text channel's own gates: the same plan
+ /// grants, monthly message cap, spend budget and in-flight cap a person's
+ /// message takes, refused here with the same `402`s before anything is
+ /// queued.
+ /// Send an `Idempotency-Key` header to make a network retry safe: a repeat
+ /// with the same key replays the first `202` instead of queueing a second
+ /// turn.
+ /// A field this endpoint does not define is refused with `400
+ /// validation_failed` naming every unknown field, rather than accepted
+ /// and silently dropped.
+ ///
+ ///
+ ///
+ ///
+ /// Optional idempotency key. When omitted, the SDK generates one for this request.
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> PromptAsResponseAsync(
+ string conversationId,
+
+ global::Speechify.ConversationPromptRequest request,
+ string? speechifyVersion = default,
+ string? idempotencyKey = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ request = request ?? throw new global::System.ArgumentNullException(nameof(request));
+
+ PrepareArguments(
+ client: HttpClient);
+ PreparePromptArguments(
+ httpClient: HttpClient,
+ conversationId: ref conversationId,
+ speechifyVersion: ref speechifyVersion,
+ idempotencyKey: ref idempotencyKey,
+ request: request);
+
+
+ var __authorizations = global::Speechify.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_PromptSecurityRequirements,
+ operationName: "PromptAsync");
+
+ using var __timeoutCancellationTokenSource = global::Speechify.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Speechify.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Speechify.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Speechify.PathBuilder(
+ path: $"/v1/agents/conversations/{conversationId}/prompts",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Speechify.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Post,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+
+ if (speechifyVersion != default)
+ {
+ __httpRequest.Headers.TryAddWithoutValidation("Speechify-Version", speechifyVersion.ToString());
+ }
+ var __idempotencyKey = global::System.String.IsNullOrWhiteSpace(idempotencyKey)
+ ? CreateIdempotencyKey()
+ : idempotencyKey;
+ __httpRequest.Headers.TryAddWithoutValidation("Idempotency-Key", __idempotencyKey);
+
+ var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
+ var __httpRequestContent = new global::System.Net.Http.StringContent(
+ content: __httpRequestContentBody,
+ encoding: global::System.Text.Encoding.UTF8,
+ mediaType: "application/json");
+ __httpRequest.Content = __httpRequestContent;
+ global::Speechify.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PreparePromptRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ conversationId: conversationId!,
+ speechifyVersion: speechifyVersion,
+ idempotencyKey: idempotencyKey,
+ request: request);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "Prompt",
+ methodName: "PromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Speechify.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "Prompt",
+ methodName: "PromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Speechify.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Speechify.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Speechify.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "Prompt",
+ methodName: "PromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Speechify.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessPromptResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "Prompt",
+ methodName: "PromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Speechify.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Speechify.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "Prompt",
+ methodName: "PromptAsync",
+ pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ // The request was malformed or failed validation. The response body is the standard `Error` envelope; for validation failures `error.fields` enumerates the offending fields as a `path -> message` map (code = `validation_failed`).
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ global::Speechify.Error? __value_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_400 = global::Speechify.Error.FromJson(__content_400, JsonSerializerContext);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_400 = global::Speechify.Error.FromJson(__content_400, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_400 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_400,
+ responseBody: __content_400,
+ responseObject: __value_400,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // Authentication is missing or invalid. The request did not carry a recognised credential (console session token, API key, or worker JWT).
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ global::Speechify.Error? __value_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_401 = global::Speechify.Error.FromJson(__content_401, JsonSerializerContext);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_401 = global::Speechify.Error.FromJson(__content_401, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseObject: __value_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // The workspace has insufficient credits, or the request needs a plan tier the workspace is not on (e.g. voice cloning). Distinct from `Forbidden` so SDK consumers can drive upgrade UX.
+ if ((int)__response.StatusCode == 402)
+ {
+ string? __content_402 = null;
+ global::System.Exception? __exception_402 = null;
+ global::Speechify.Error? __value_402 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_402 = global::Speechify.Error.FromJson(__content_402, JsonSerializerContext);
+ }
+ else
+ {
+ __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_402 = global::Speechify.Error.FromJson(__content_402, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_402 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_402 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_402,
+ responseBody: __content_402,
+ responseObject: __value_402,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // The credential authenticated, but is not authorised for this resource - typically a workspace-role gate (owner / admin required) or a cross-tenant access attempt.
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ global::Speechify.Error? __value_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_403 = global::Speechify.Error.FromJson(__content_403, JsonSerializerContext);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_403 = global::Speechify.Error.FromJson(__content_403, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ responseBody: __content_403,
+ responseObject: __value_403,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // The referenced resource does not exist or is not visible to the caller's workspace.
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ global::Speechify.Error? __value_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_404 = global::Speechify.Error.FromJson(__content_404, JsonSerializerContext);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_404 = global::Speechify.Error.FromJson(__content_404, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseObject: __value_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // The request conflicts with the current resource state - e.g. duplicate, optimistic-concurrency mismatch, or last-owner guard.
+ if ((int)__response.StatusCode == 409)
+ {
+ string? __content_409 = null;
+ global::System.Exception? __exception_409 = null;
+ global::Speechify.Error? __value_409 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_409 = global::Speechify.Error.FromJson(__content_409, JsonSerializerContext);
+ }
+ else
+ {
+ __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_409 = global::Speechify.Error.FromJson(__content_409, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_409 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_409 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_409,
+ responseBody: __content_409,
+ responseObject: __value_409,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // Rate limit or concurrency limit exceeded. `error.code` says which ceiling, and they need different responses: `rate_limited` is the request-rate budget (slow down), `concurrency_limit_reached` is a workspace-wide concurrency ceiling (fewer at once, or raise it), and `conversation_turn_in_progress` is contention over one named conversation (keep one message in flight on it). Every 429 carries `Retry-After` and the request-rate budget headers; the active-call cap also carries `RateLimit-Remaining-Calls: 0`.
+ if ((int)__response.StatusCode == 429)
+ {
+ string? __content_429 = null;
+ global::System.Exception? __exception_429 = null;
+ global::Speechify.Error? __value_429 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_429 = global::Speechify.Error.FromJson(__content_429, JsonSerializerContext);
+ }
+ else
+ {
+ __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_429 = global::Speechify.Error.FromJson(__content_429, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_429 = __ex;
+ }
+
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_429 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_429,
+ responseBody: __content_429,
+ responseObject: __value_429,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessPromptResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Speechify.ConversationPrompt.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Speechify.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Speechify.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = await global::Speechify.ConversationPrompt.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Speechify.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Speechify.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Speechify.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ ///
+ /// Prompt Conversation
+ /// Start an agent-initiated turn in an existing conversation. The agent
+ /// runs the instruction with its normal tools on the conversation's own
+ /// context - it can see what it said earlier in the thread - and whatever
+ /// it writes in reply is delivered into that thread, unasked. The typical
+ /// use is a follow-up on something the agent already said: a figure that
+ /// was re-certified after the answer went out, a correction, a heads-up.
+ /// The turn is queued, not run inline: it answers `202` with the prompt
+ /// as a job (`pending`), lands in the thread within the turn's own
+ /// budget, and survives a deploy and waits for the thread's in-flight
+ /// turn the way a person's message does. Poll it with
+ /// `GET /v1/agents/conversations/{conversation_id}/prompts/{prompt_id}`:
+ /// `completed` means the reply was delivered (or the agent chose to say
+ /// nothing), `failed` carries `error` saying why it never posted - the
+ /// conversation ended before the turn ran, a grant withdrawn, the
+ /// runtime giving up. A `pending` prompt can be cancelled. Its two
+ /// transcript rows - the instruction as the `user` row and the reply as
+ /// the `assistant` row - carry `initiated_by: api`, so
+ /// `GET /v1/agents/conversations/{conversation_id}/messages` and any
+ /// evaluation can tell it from an answer to a person.
+ /// Only a conversation answered over a messaging channel (Slack) can take
+ /// one, because an unasked reply needs somewhere to go: a conversation
+ /// driven over the message API returns its replies in the response, so it
+ /// answers `409 conversation_not_reachable`, as does a voice call or a
+ /// thread whose channel has since been removed. A conversation that has
+ /// ended answers `409 conversation_closed`: nothing reopens it, and the
+ /// next message a person sends in that thread opens a fresh conversation
+ /// to address instead.
+ /// Bounded per workspace at 60 turns an hour (`429 rate_limited` with
+ /// `Retry-After`) on top of the text channel's own gates: the same plan
+ /// grants, monthly message cap, spend budget and in-flight cap a person's
+ /// message takes, refused here with the same `402`s before anything is
+ /// queued.
+ /// Send an `Idempotency-Key` header to make a network retry safe: a repeat
+ /// with the same key replays the first `202` instead of queueing a second
+ /// turn.
+ /// A field this endpoint does not define is refused with `400
+ /// validation_failed` naming every unknown field, rather than accepted
+ /// and silently dropped.
+ ///
+ ///
+ ///
+ ///
+ /// Optional idempotency key. When omitted, the SDK generates one for this request.
+ ///
+ ///
+ /// What the agent is asked to do in the conversation. It is the turn's input, run with the agent's normal tools on the thread's own context; what the agent writes in reply is what the thread sees.
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task PromptAsync(
+ string conversationId,
+ string instruction,
+ string? speechifyVersion = default,
+ string? idempotencyKey = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __request = new global::Speechify.ConversationPromptRequest
+ {
+ Instruction = instruction,
+ };
+
+ return await PromptAsync(
+ conversationId: conversationId,
+ speechifyVersion: speechifyVersion,
+ idempotencyKey: idempotencyKey,
+ request: __request,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Speechify/Generated/Speechify.FilesClient.Upload.g.cs b/src/libs/Speechify/Generated/Speechify.FilesClient.Upload.g.cs
index 4d881b87..eca352f7 100644
--- a/src/libs/Speechify/Generated/Speechify.FilesClient.Upload.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.FilesClient.Upload.g.cs
@@ -28,12 +28,12 @@ public partial class FilesClient
partial void PrepareUploadArguments(
global::System.Net.Http.HttpClient httpClient,
ref string? speechifyVersion,
- global::Speechify.FilesUploadRequest request);
+ global::Speechify.UploadRequest2 request);
partial void PrepareUploadRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string? speechifyVersion,
- global::Speechify.FilesUploadRequest request);
+ global::Speechify.UploadRequest2 request);
partial void ProcessUploadResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -77,7 +77,7 @@ partial void ProcessUploadResponseContent(
///
public async global::System.Threading.Tasks.Task UploadAsync(
- global::Speechify.FilesUploadRequest request,
+ global::Speechify.UploadRequest2 request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -126,7 +126,7 @@ partial void ProcessUploadResponseContent(
///
public async global::System.Threading.Tasks.Task> UploadAsResponseAsync(
- global::Speechify.FilesUploadRequest request,
+ global::Speechify.UploadRequest2 request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -905,7 +905,7 @@ request.Filename is null
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
- var __request = new global::Speechify.FilesUploadRequest
+ var __request = new global::Speechify.UploadRequest2
{
File = file,
Filename = filename,
@@ -1007,7 +1007,7 @@ request.Filename is null
{
file = file ?? throw new global::System.ArgumentNullException(nameof(file));
- var request = new global::Speechify.FilesUploadRequest
+ var request = new global::Speechify.UploadRequest2
{
File = global::System.Array.Empty(),
Filename = filename,
@@ -1782,7 +1782,7 @@ request.Filename is null
{
file = file ?? throw new global::System.ArgumentNullException(nameof(file));
- var request = new global::Speechify.FilesUploadRequest
+ var request = new global::Speechify.UploadRequest2
{
File = global::System.Array.Empty(),
Filename = filename,
diff --git a/src/libs/Speechify/Generated/Speechify.IAudioAssetsClient.Upload.g.cs b/src/libs/Speechify/Generated/Speechify.IAudioAssetsClient.Upload.g.cs
index cc86fb61..551e8b57 100644
--- a/src/libs/Speechify/Generated/Speechify.IAudioAssetsClient.Upload.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.IAudioAssetsClient.Upload.g.cs
@@ -22,7 +22,7 @@ public partial interface IAudioAssetsClient
///
global::System.Threading.Tasks.Task UploadAsync(
- global::Speechify.AudioAssetsUploadRequest request,
+ global::Speechify.UploadRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
@@ -44,7 +44,7 @@ public partial interface IAudioAssetsClient
///
global::System.Threading.Tasks.Task> UploadAsResponseAsync(
- global::Speechify.AudioAssetsUploadRequest request,
+ global::Speechify.UploadRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Speechify/Generated/Speechify.IConversationsClient.CancelPrompt.g.cs b/src/libs/Speechify/Generated/Speechify.IConversationsClient.CancelPrompt.g.cs
new file mode 100644
index 00000000..85068d32
--- /dev/null
+++ b/src/libs/Speechify/Generated/Speechify.IConversationsClient.CancelPrompt.g.cs
@@ -0,0 +1,56 @@
+#nullable enable
+
+namespace Speechify
+{
+ public partial interface IConversationsClient
+ {
+ ///
+ /// Cancel Conversation Prompt
+ /// Cancel an agent-initiated turn the worker has not started. Idempotent:
+ /// a `pending` prompt moves to `cancelled` and nothing is posted; a
+ /// prompt already `running` or terminal is returned unchanged - a
+ /// running turn is seconds from posting and its reply is already the
+ /// agent's own words, so there is nothing to recall.
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Optional idempotency key. When omitted, the SDK generates one for this 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 CancelPromptAsync(
+ string conversationId,
+ string promptId,
+ string? speechifyVersion = default,
+ string? idempotencyKey = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Cancel Conversation Prompt
+ /// Cancel an agent-initiated turn the worker has not started. Idempotent:
+ /// a `pending` prompt moves to `cancelled` and nothing is posted; a
+ /// prompt already `running` or terminal is returned unchanged - a
+ /// running turn is seconds from posting and its reply is already the
+ /// agent's own words, so there is nothing to recall.
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Optional idempotency key. When omitted, the SDK generates one for this 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> CancelPromptAsResponseAsync(
+ string conversationId,
+ string promptId,
+ string? speechifyVersion = default,
+ string? idempotencyKey = 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.IConversationsClient.GetPrompt.g.cs b/src/libs/Speechify/Generated/Speechify.IConversationsClient.GetPrompt.g.cs
new file mode 100644
index 00000000..7f09b70d
--- /dev/null
+++ b/src/libs/Speechify/Generated/Speechify.IConversationsClient.GetPrompt.g.cs
@@ -0,0 +1,46 @@
+#nullable enable
+
+namespace Speechify
+{
+ public partial interface IConversationsClient
+ {
+ ///
+ /// Get Conversation Prompt
+ /// Poll an agent-initiated turn. `pending` is queued, `running` is on the
+ /// worker, `completed` means the reply reached the thread (or the agent
+ /// chose to say nothing), `failed` carries `error` saying why it never
+ /// posted, and `cancelled` means a cancel got there before the worker.
+ ///
+ ///
+ ///
+ ///
+ /// 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 GetPromptAsync(
+ string conversationId,
+ string promptId,
+ string? speechifyVersion = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Get Conversation Prompt
+ /// Poll an agent-initiated turn. `pending` is queued, `running` is on the
+ /// worker, `completed` means the reply reached the thread (or the agent
+ /// chose to say nothing), `failed` carries `error` saying why it never
+ /// posted, and `cancelled` means a cancel got there before the worker.
+ ///
+ ///
+ ///
+ ///
+ /// 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> GetPromptAsResponseAsync(
+ string conversationId,
+ string promptId,
+ string? speechifyVersion = 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.IConversationsClient.Prompt.g.cs b/src/libs/Speechify/Generated/Speechify.IConversationsClient.Prompt.g.cs
new file mode 100644
index 00000000..9e89f289
--- /dev/null
+++ b/src/libs/Speechify/Generated/Speechify.IConversationsClient.Prompt.g.cs
@@ -0,0 +1,183 @@
+#nullable enable
+
+namespace Speechify
+{
+ public partial interface IConversationsClient
+ {
+ ///
+ /// Prompt Conversation
+ /// Start an agent-initiated turn in an existing conversation. The agent
+ /// runs the instruction with its normal tools on the conversation's own
+ /// context - it can see what it said earlier in the thread - and whatever
+ /// it writes in reply is delivered into that thread, unasked. The typical
+ /// use is a follow-up on something the agent already said: a figure that
+ /// was re-certified after the answer went out, a correction, a heads-up.
+ /// The turn is queued, not run inline: it answers `202` with the prompt
+ /// as a job (`pending`), lands in the thread within the turn's own
+ /// budget, and survives a deploy and waits for the thread's in-flight
+ /// turn the way a person's message does. Poll it with
+ /// `GET /v1/agents/conversations/{conversation_id}/prompts/{prompt_id}`:
+ /// `completed` means the reply was delivered (or the agent chose to say
+ /// nothing), `failed` carries `error` saying why it never posted - the
+ /// conversation ended before the turn ran, a grant withdrawn, the
+ /// runtime giving up. A `pending` prompt can be cancelled. Its two
+ /// transcript rows - the instruction as the `user` row and the reply as
+ /// the `assistant` row - carry `initiated_by: api`, so
+ /// `GET /v1/agents/conversations/{conversation_id}/messages` and any
+ /// evaluation can tell it from an answer to a person.
+ /// Only a conversation answered over a messaging channel (Slack) can take
+ /// one, because an unasked reply needs somewhere to go: a conversation
+ /// driven over the message API returns its replies in the response, so it
+ /// answers `409 conversation_not_reachable`, as does a voice call or a
+ /// thread whose channel has since been removed. A conversation that has
+ /// ended answers `409 conversation_closed`: nothing reopens it, and the
+ /// next message a person sends in that thread opens a fresh conversation
+ /// to address instead.
+ /// Bounded per workspace at 60 turns an hour (`429 rate_limited` with
+ /// `Retry-After`) on top of the text channel's own gates: the same plan
+ /// grants, monthly message cap, spend budget and in-flight cap a person's
+ /// message takes, refused here with the same `402`s before anything is
+ /// queued.
+ /// Send an `Idempotency-Key` header to make a network retry safe: a repeat
+ /// with the same key replays the first `202` instead of queueing a second
+ /// turn.
+ /// A field this endpoint does not define is refused with `400
+ /// validation_failed` naming every unknown field, rather than accepted
+ /// and silently dropped.
+ ///
+ ///
+ ///
+ ///
+ /// Optional idempotency key. When omitted, the SDK generates one for this 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 PromptAsync(
+ string conversationId,
+
+ global::Speechify.ConversationPromptRequest request,
+ string? speechifyVersion = default,
+ string? idempotencyKey = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Prompt Conversation
+ /// Start an agent-initiated turn in an existing conversation. The agent
+ /// runs the instruction with its normal tools on the conversation's own
+ /// context - it can see what it said earlier in the thread - and whatever
+ /// it writes in reply is delivered into that thread, unasked. The typical
+ /// use is a follow-up on something the agent already said: a figure that
+ /// was re-certified after the answer went out, a correction, a heads-up.
+ /// The turn is queued, not run inline: it answers `202` with the prompt
+ /// as a job (`pending`), lands in the thread within the turn's own
+ /// budget, and survives a deploy and waits for the thread's in-flight
+ /// turn the way a person's message does. Poll it with
+ /// `GET /v1/agents/conversations/{conversation_id}/prompts/{prompt_id}`:
+ /// `completed` means the reply was delivered (or the agent chose to say
+ /// nothing), `failed` carries `error` saying why it never posted - the
+ /// conversation ended before the turn ran, a grant withdrawn, the
+ /// runtime giving up. A `pending` prompt can be cancelled. Its two
+ /// transcript rows - the instruction as the `user` row and the reply as
+ /// the `assistant` row - carry `initiated_by: api`, so
+ /// `GET /v1/agents/conversations/{conversation_id}/messages` and any
+ /// evaluation can tell it from an answer to a person.
+ /// Only a conversation answered over a messaging channel (Slack) can take
+ /// one, because an unasked reply needs somewhere to go: a conversation
+ /// driven over the message API returns its replies in the response, so it
+ /// answers `409 conversation_not_reachable`, as does a voice call or a
+ /// thread whose channel has since been removed. A conversation that has
+ /// ended answers `409 conversation_closed`: nothing reopens it, and the
+ /// next message a person sends in that thread opens a fresh conversation
+ /// to address instead.
+ /// Bounded per workspace at 60 turns an hour (`429 rate_limited` with
+ /// `Retry-After`) on top of the text channel's own gates: the same plan
+ /// grants, monthly message cap, spend budget and in-flight cap a person's
+ /// message takes, refused here with the same `402`s before anything is
+ /// queued.
+ /// Send an `Idempotency-Key` header to make a network retry safe: a repeat
+ /// with the same key replays the first `202` instead of queueing a second
+ /// turn.
+ /// A field this endpoint does not define is refused with `400
+ /// validation_failed` naming every unknown field, rather than accepted
+ /// and silently dropped.
+ ///
+ ///
+ ///
+ ///
+ /// Optional idempotency key. When omitted, the SDK generates one for this 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> PromptAsResponseAsync(
+ string conversationId,
+
+ global::Speechify.ConversationPromptRequest request,
+ string? speechifyVersion = default,
+ string? idempotencyKey = default,
+ global::Speechify.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Prompt Conversation
+ /// Start an agent-initiated turn in an existing conversation. The agent
+ /// runs the instruction with its normal tools on the conversation's own
+ /// context - it can see what it said earlier in the thread - and whatever
+ /// it writes in reply is delivered into that thread, unasked. The typical
+ /// use is a follow-up on something the agent already said: a figure that
+ /// was re-certified after the answer went out, a correction, a heads-up.
+ /// The turn is queued, not run inline: it answers `202` with the prompt
+ /// as a job (`pending`), lands in the thread within the turn's own
+ /// budget, and survives a deploy and waits for the thread's in-flight
+ /// turn the way a person's message does. Poll it with
+ /// `GET /v1/agents/conversations/{conversation_id}/prompts/{prompt_id}`:
+ /// `completed` means the reply was delivered (or the agent chose to say
+ /// nothing), `failed` carries `error` saying why it never posted - the
+ /// conversation ended before the turn ran, a grant withdrawn, the
+ /// runtime giving up. A `pending` prompt can be cancelled. Its two
+ /// transcript rows - the instruction as the `user` row and the reply as
+ /// the `assistant` row - carry `initiated_by: api`, so
+ /// `GET /v1/agents/conversations/{conversation_id}/messages` and any
+ /// evaluation can tell it from an answer to a person.
+ /// Only a conversation answered over a messaging channel (Slack) can take
+ /// one, because an unasked reply needs somewhere to go: a conversation
+ /// driven over the message API returns its replies in the response, so it
+ /// answers `409 conversation_not_reachable`, as does a voice call or a
+ /// thread whose channel has since been removed. A conversation that has
+ /// ended answers `409 conversation_closed`: nothing reopens it, and the
+ /// next message a person sends in that thread opens a fresh conversation
+ /// to address instead.
+ /// Bounded per workspace at 60 turns an hour (`429 rate_limited` with
+ /// `Retry-After`) on top of the text channel's own gates: the same plan
+ /// grants, monthly message cap, spend budget and in-flight cap a person's
+ /// message takes, refused here with the same `402`s before anything is
+ /// queued.
+ /// Send an `Idempotency-Key` header to make a network retry safe: a repeat
+ /// with the same key replays the first `202` instead of queueing a second
+ /// turn.
+ /// A field this endpoint does not define is refused with `400
+ /// validation_failed` naming every unknown field, rather than accepted
+ /// and silently dropped.
+ ///
+ ///
+ ///
+ ///
+ /// Optional idempotency key. When omitted, the SDK generates one for this request.
+ ///
+ ///
+ /// What the agent is asked to do in the conversation. It is the turn's input, run with the agent's normal tools on the thread's own context; what the agent writes in reply is what the thread sees.
+ ///
+ /// 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 PromptAsync(
+ string conversationId,
+ string instruction,
+ string? speechifyVersion = default,
+ string? idempotencyKey = 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.IFilesClient.Upload.g.cs b/src/libs/Speechify/Generated/Speechify.IFilesClient.Upload.g.cs
index cf47976b..ec826bca 100644
--- a/src/libs/Speechify/Generated/Speechify.IFilesClient.Upload.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.IFilesClient.Upload.g.cs
@@ -38,7 +38,7 @@ public partial interface IFilesClient
///
global::System.Threading.Tasks.Task UploadAsync(
- global::Speechify.FilesUploadRequest request,
+ global::Speechify.UploadRequest2 request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
@@ -76,7 +76,7 @@ public partial interface IFilesClient
///
global::System.Threading.Tasks.Task> UploadAsResponseAsync(
- global::Speechify.FilesUploadRequest request,
+ global::Speechify.UploadRequest2 request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Speechify/Generated/Speechify.IKnowledgeBasesClient.UpdateDocument.g.cs b/src/libs/Speechify/Generated/Speechify.IKnowledgeBasesClient.UpdateDocument.g.cs
index 82ffcf5f..3b27a38d 100644
--- a/src/libs/Speechify/Generated/Speechify.IKnowledgeBasesClient.UpdateDocument.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.IKnowledgeBasesClient.UpdateDocument.g.cs
@@ -23,7 +23,7 @@ public partial interface IKnowledgeBasesClient
string kbId,
string documentId,
- global::Speechify.KnowledgeBasesUpdateDocumentRequest request,
+ global::Speechify.UpdateDocumentRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
@@ -46,7 +46,7 @@ public partial interface IKnowledgeBasesClient
string kbId,
string documentId,
- global::Speechify.KnowledgeBasesUpdateDocumentRequest request,
+ global::Speechify.UpdateDocumentRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Speechify/Generated/Speechify.IKnowledgeBasesClient.UploadDocument.g.cs b/src/libs/Speechify/Generated/Speechify.IKnowledgeBasesClient.UploadDocument.g.cs
index b83686f1..ba0d5aeb 100644
--- a/src/libs/Speechify/Generated/Speechify.IKnowledgeBasesClient.UploadDocument.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.IKnowledgeBasesClient.UploadDocument.g.cs
@@ -20,7 +20,7 @@ public partial interface IKnowledgeBasesClient
global::System.Threading.Tasks.Task UploadDocumentAsync(
string kbId,
- global::Speechify.KnowledgeBasesUploadDocumentRequest request,
+ global::Speechify.UploadDocumentRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
@@ -40,7 +40,7 @@ public partial interface IKnowledgeBasesClient
global::System.Threading.Tasks.Task> UploadDocumentAsResponseAsync(
string kbId,
- global::Speechify.KnowledgeBasesUploadDocumentRequest request,
+ global::Speechify.UploadDocumentRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Speechify/Generated/Speechify.ITestsClient.RunTest.g.cs b/src/libs/Speechify/Generated/Speechify.ITestsClient.RunTest.g.cs
index 1a669bf1..b9c7b9a8 100644
--- a/src/libs/Speechify/Generated/Speechify.ITestsClient.RunTest.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.ITestsClient.RunTest.g.cs
@@ -32,7 +32,7 @@ public partial interface ITestsClient
global::System.Threading.Tasks.Task RunTestAsync(
string testId,
- global::Speechify.TestsRunTestRequest request,
+ global::Speechify.RunTestRequest request,
string? speechifyVersion = default,
string? idempotencyKey = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
@@ -65,7 +65,7 @@ public partial interface ITestsClient
global::System.Threading.Tasks.Task> RunTestAsResponseAsync(
string testId,
- global::Speechify.TestsRunTestRequest request,
+ global::Speechify.RunTestRequest request,
string? speechifyVersion = default,
string? idempotencyKey = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
diff --git a/src/libs/Speechify/Generated/Speechify.IVoicesClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.IVoicesClient.Create.g.cs
index ff190f45..7a388aaa 100644
--- a/src/libs/Speechify/Generated/Speechify.IVoicesClient.Create.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.IVoicesClient.Create.g.cs
@@ -21,7 +21,7 @@ public partial interface IVoicesClient
///
global::System.Threading.Tasks.Task CreateAsync(
- global::Speechify.VoicesCreateRequest request,
+ global::Speechify.CreateRequest request,
string? speechifyVersion = default,
string? idempotencyKey = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
@@ -43,7 +43,7 @@ public partial interface IVoicesClient
///
global::System.Threading.Tasks.Task> CreateAsResponseAsync(
- global::Speechify.VoicesCreateRequest request,
+ global::Speechify.CreateRequest request,
string? speechifyVersion = default,
string? idempotencyKey = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
diff --git a/src/libs/Speechify/Generated/Speechify.IWatermarkClient.Detect.g.cs b/src/libs/Speechify/Generated/Speechify.IWatermarkClient.Detect.g.cs
index e2410a23..18b9efb2 100644
--- a/src/libs/Speechify/Generated/Speechify.IWatermarkClient.Detect.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.IWatermarkClient.Detect.g.cs
@@ -26,7 +26,7 @@ public partial interface IWatermarkClient
///
global::System.Threading.Tasks.Task DetectAsync(
- global::Speechify.WatermarkDetectRequest request,
+ global::Speechify.DetectRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
@@ -52,7 +52,7 @@ public partial interface IWatermarkClient
///
global::System.Threading.Tasks.Task> DetectAsResponseAsync(
- global::Speechify.WatermarkDetectRequest request,
+ global::Speechify.DetectRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Speechify/Generated/Speechify.IWatermarkClient.Verify.g.cs b/src/libs/Speechify/Generated/Speechify.IWatermarkClient.Verify.g.cs
index bdaa8954..f06f20d1 100644
--- a/src/libs/Speechify/Generated/Speechify.IWatermarkClient.Verify.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.IWatermarkClient.Verify.g.cs
@@ -38,7 +38,7 @@ public partial interface IWatermarkClient
///
global::System.Threading.Tasks.Task VerifyAsync(
- global::Speechify.WatermarkVerifyRequest request,
+ global::Speechify.VerifyRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
@@ -76,7 +76,7 @@ public partial interface IWatermarkClient
///
global::System.Threading.Tasks.Task> VerifyAsResponseAsync(
- global::Speechify.WatermarkVerifyRequest request,
+ global::Speechify.VerifyRequest request,
string? speechifyVersion = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.MessageInitiatedBy.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.MessageInitiatedBy.g.cs
new file mode 100644
index 00000000..b9ee5a58
--- /dev/null
+++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.MessageInitiatedBy.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Speechify.JsonConverters
+{
+ ///
+ public sealed class MessageInitiatedByJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Speechify.MessageInitiatedBy 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.MessageInitiatedByExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Speechify.MessageInitiatedBy)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Speechify.MessageInitiatedBy);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Speechify.MessageInitiatedBy value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Speechify.MessageInitiatedByExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.MessageInitiatedByNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.MessageInitiatedByNullable.g.cs
new file mode 100644
index 00000000..e75caff0
--- /dev/null
+++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.MessageInitiatedByNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Speechify.JsonConverters
+{
+ ///
+ public sealed class MessageInitiatedByNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Speechify.MessageInitiatedBy? 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.MessageInitiatedByExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Speechify.MessageInitiatedBy)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Speechify.MessageInitiatedBy?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Speechify.MessageInitiatedBy? 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.MessageInitiatedByExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs b/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs
index d47cbc51..c15f8879 100644
--- a/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs
@@ -219,6 +219,7 @@ namespace Speechify
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ConversationStats))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.MessageRole), TypeInfoPropertyName = "MessageRole2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.MessageInitiatedBy), TypeInfoPropertyName = "MessageInitiatedBy2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.Message))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListMessagesResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
@@ -241,6 +242,9 @@ namespace Speechify
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.WebhookDelivery))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListWebhookDeliveriesResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ConversationPromptRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.JobStatus), TypeInfoPropertyName = "JobStatus2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ConversationPrompt))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ShadowConversationResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PublishAgentRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PublishAgentResponse))]
@@ -312,7 +316,6 @@ namespace Speechify
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateKnowledgeBaseEvalCaseRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateKnowledgeBaseEvalCaseRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.JobStatus), TypeInfoPropertyName = "JobStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.KnowledgeBaseEvaluationResults))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.KnowledgeBaseEvaluationMetrics))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.KnowledgeBaseEvaluation))]
@@ -511,9 +514,6 @@ namespace Speechify
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateShareLinkSessionRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ShareLinkSession))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PhoneNumberProvider), TypeInfoPropertyName = "PhoneNumberProvider2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PhoneNumberCapability), TypeInfoPropertyName = "PhoneNumberCapability2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PhoneNumberReputationRisk), TypeInfoPropertyName = "PhoneNumberReputationRisk2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PhoneNumberReputation))]
internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -526,6 +526,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
Converters = new global::System.Type[]
{
})]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PhoneNumberCapability), TypeInfoPropertyName = "PhoneNumberCapability2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PhoneNumberReputationRisk), TypeInfoPropertyName = "PhoneNumberReputationRisk2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PhoneNumberReputation))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PhoneNumber))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListPhoneNumbersResponse))]
@@ -596,6 +599,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.TriggerWebhookConfigUserIdentitySource), TypeInfoPropertyName = "TriggerWebhookConfigUserIdentitySource2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.TriggerWebhookConfig))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentTriggerLastFireStatus), TypeInfoPropertyName = "AgentTriggerLastFireStatus2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.TriggerThread))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentTrigger))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListAgentTriggersResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
@@ -756,14 +760,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ProjectMembersResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.GrantProjectMemberRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.VoicesCreateRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.WatermarkDetectRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.WatermarkVerifyRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.KnowledgeBasesUploadDocumentRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.KnowledgeBasesUpdateDocumentRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.TestsRunTestRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AudioAssetsUploadRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.FilesUploadRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.DetectRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.VerifyRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UploadDocumentRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateDocumentRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.RunTestRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UploadRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UploadRequest2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.GetSpeechRequestAudioFormat?), TypeInfoPropertyName = "NullableGetSpeechRequestAudioFormat2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.GetSpeechRequestModel?), TypeInfoPropertyName = "NullableGetSpeechRequestModel2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))]
@@ -819,10 +823,12 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentSnapshotBackgroundNoisePreset?), TypeInfoPropertyName = "NullableAgentSnapshotBackgroundNoisePreset2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ConversationIvrSurrenderReason?), TypeInfoPropertyName = "NullableConversationIvrSurrenderReason2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.MessageRole?), TypeInfoPropertyName = "NullableMessageRole2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.MessageInitiatedBy?), TypeInfoPropertyName = "NullableMessageInitiatedBy2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.EvaluationKind?), TypeInfoPropertyName = "NullableEvaluationKind2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.EvaluationStatus?), TypeInfoPropertyName = "NullableEvaluationStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.RetrievalCoverage?), TypeInfoPropertyName = "NullableRetrievalCoverage2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.WebhookDeliveryStatus?), TypeInfoPropertyName = "NullableWebhookDeliveryStatus2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.JobStatus?), TypeInfoPropertyName = "NullableJobStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PublishGateRunDecision?), TypeInfoPropertyName = "NullablePublishGateRunDecision2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentRunStatus?), TypeInfoPropertyName = "NullableAgentRunStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentRunIncompleteReason?), TypeInfoPropertyName = "NullableAgentRunIncompleteReason2")]
@@ -841,7 +847,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentRunStreamEventVariant3Type?), TypeInfoPropertyName = "NullableAgentRunStreamEventVariant3Type2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentRunStreamEventDiscriminatorType?), TypeInfoPropertyName = "NullableAgentRunStreamEventDiscriminatorType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.KnowledgeBaseDocumentSourceKind?), TypeInfoPropertyName = "NullableKnowledgeBaseDocumentSourceKind2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.JobStatus?), TypeInfoPropertyName = "NullableJobStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.KnowledgeBaseDocumentInjectionMode?), TypeInfoPropertyName = "NullableKnowledgeBaseDocumentInjectionMode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.KnowledgeBaseDocumentStatus?), TypeInfoPropertyName = "NullableKnowledgeBaseDocumentStatus2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.KnowledgeBaseDocumentDetailInjectionMode?), TypeInfoPropertyName = "NullableKnowledgeBaseDocumentDetailInjectionMode2")]
@@ -1021,11 +1026,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -1038,6 +1038,11 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex
Converters = new global::System.Type[]
{
})]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
@@ -1334,6 +1339,10 @@ public override bool CanConvert(global::System.Type typeToConvert)
|| typeToConvert == typeof(global::Speechify.MessageRole?)
+ || typeToConvert == typeof(global::Speechify.MessageInitiatedBy)
+
+ || typeToConvert == typeof(global::Speechify.MessageInitiatedBy?)
+
|| typeToConvert == typeof(global::Speechify.EvaluationKind)
|| typeToConvert == typeof(global::Speechify.EvaluationKind?)
@@ -1350,6 +1359,10 @@ public override bool CanConvert(global::System.Type typeToConvert)
|| typeToConvert == typeof(global::Speechify.WebhookDeliveryStatus?)
+ || typeToConvert == typeof(global::Speechify.JobStatus)
+
+ || typeToConvert == typeof(global::Speechify.JobStatus?)
+
|| typeToConvert == typeof(global::Speechify.PublishGateRunDecision)
|| typeToConvert == typeof(global::Speechify.PublishGateRunDecision?)
@@ -1418,10 +1431,6 @@ public override bool CanConvert(global::System.Type typeToConvert)
|| typeToConvert == typeof(global::Speechify.KnowledgeBaseDocumentSourceKind?)
- || typeToConvert == typeof(global::Speechify.JobStatus)
-
- || typeToConvert == typeof(global::Speechify.JobStatus?)
-
|| typeToConvert == typeof(global::Speechify.KnowledgeBaseDocumentInjectionMode)
|| typeToConvert == typeof(global::Speechify.KnowledgeBaseDocumentInjectionMode?)
@@ -2229,6 +2238,16 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::Speechify.JsonConverters.MessageRoleNullableJsonConverter();
}
+ if (typeToConvert == typeof(global::Speechify.MessageInitiatedBy))
+ {
+ return new global::Speechify.JsonConverters.MessageInitiatedByJsonConverter();
+ }
+
+ if (typeToConvert == typeof(global::Speechify.MessageInitiatedBy?))
+ {
+ return new global::Speechify.JsonConverters.MessageInitiatedByNullableJsonConverter();
+ }
+
if (typeToConvert == typeof(global::Speechify.EvaluationKind))
{
return new global::Speechify.JsonConverters.EvaluationKindJsonConverter();
@@ -2269,6 +2288,16 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::Speechify.JsonConverters.WebhookDeliveryStatusNullableJsonConverter();
}
+ if (typeToConvert == typeof(global::Speechify.JobStatus))
+ {
+ return new global::Speechify.JsonConverters.JobStatusJsonConverter();
+ }
+
+ if (typeToConvert == typeof(global::Speechify.JobStatus?))
+ {
+ return new global::Speechify.JsonConverters.JobStatusNullableJsonConverter();
+ }
+
if (typeToConvert == typeof(global::Speechify.PublishGateRunDecision))
{
return new global::Speechify.JsonConverters.PublishGateRunDecisionJsonConverter();
@@ -2439,16 +2468,6 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::Speechify.JsonConverters.KnowledgeBaseDocumentSourceKindNullableJsonConverter();
}
- if (typeToConvert == typeof(global::Speechify.JobStatus))
- {
- return new global::Speechify.JsonConverters.JobStatusJsonConverter();
- }
-
- if (typeToConvert == typeof(global::Speechify.JobStatus?))
- {
- return new global::Speechify.JsonConverters.JobStatusNullableJsonConverter();
- }
-
if (typeToConvert == typeof(global::Speechify.KnowledgeBaseDocumentInjectionMode))
{
return new global::Speechify.JsonConverters.KnowledgeBaseDocumentInjectionModeJsonConverter();
diff --git a/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs b/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs
index e3c366fb..aa6a396f 100644
--- a/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs
+++ b/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs
@@ -841,2135 +841,2151 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Speechify.Message? Type202 { get; set; }
+ public global::Speechify.MessageInitiatedBy? Type202 { get; set; }
///
///
///
- public global::Speechify.ListMessagesResponse? Type203 { get; set; }
+ public global::Speechify.Message? Type203 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type204 { get; set; }
+ public global::Speechify.ListMessagesResponse? Type204 { get; set; }
///
///
///
- public global::Speechify.EvaluationKind? Type205 { get; set; }
+ public global::System.Collections.Generic.IList? Type205 { get; set; }
///
///
///
- public global::Speechify.EvaluationStatus? Type206 { get; set; }
+ public global::Speechify.EvaluationKind? Type206 { get; set; }
///
///
///
- public global::Speechify.Evaluation? Type207 { get; set; }
+ public global::Speechify.EvaluationStatus? Type207 { get; set; }
///
///
///
- public global::Speechify.ListEvaluationsResponse? Type208 { get; set; }
+ public global::Speechify.Evaluation? Type208 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type209 { get; set; }
+ public global::Speechify.ListEvaluationsResponse? Type209 { get; set; }
///
///
///
- public global::Speechify.Memory? Type210 { get; set; }
+ public global::System.Collections.Generic.IList? Type210 { get; set; }
///
///
///
- public global::Speechify.ListMemoriesResponse? Type211 { get; set; }
+ public global::Speechify.Memory? Type211 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type212 { get; set; }
+ public global::Speechify.ListMemoriesResponse? Type212 { get; set; }
///
///
///
- public global::Speechify.SearchHitRanking? Type213 { get; set; }
+ public global::System.Collections.Generic.IList? Type213 { get; set; }
///
///
///
- public global::Speechify.RetrievalLogResult? Type214 { get; set; }
+ public global::Speechify.SearchHitRanking? Type214 { get; set; }
///
///
///
- public global::Speechify.RetrievalCoverage? Type215 { get; set; }
+ public global::Speechify.RetrievalLogResult? Type215 { get; set; }
///
///
///
- public global::Speechify.RetrievalLogEntry? Type216 { get; set; }
+ public global::Speechify.RetrievalCoverage? Type216 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type217 { get; set; }
+ public global::Speechify.RetrievalLogEntry? Type217 { get; set; }
///
///
///
- public global::Speechify.ListRetrievalLogsResponse? Type218 { get; set; }
+ public global::System.Collections.Generic.IList? Type218 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type219 { get; set; }
+ public global::Speechify.ListRetrievalLogsResponse? Type219 { get; set; }
///
///
///
- public global::Speechify.WebhookDeliveryStatus? Type220 { get; set; }
+ public global::System.Collections.Generic.IList? Type220 { get; set; }
///
///
///
- public global::Speechify.WebhookDelivery? Type221 { get; set; }
+ public global::Speechify.WebhookDeliveryStatus? Type221 { get; set; }
///
///
///
- public global::Speechify.ListWebhookDeliveriesResponse? Type222 { get; set; }
+ public global::Speechify.WebhookDelivery? Type222 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type223 { get; set; }
+ public global::Speechify.ListWebhookDeliveriesResponse? Type223 { get; set; }
///
///
///
- public global::Speechify.ShadowConversationResponse? Type224 { get; set; }
+ public global::System.Collections.Generic.IList? Type224 { get; set; }
///
///
///
- public global::Speechify.PublishAgentRequest? Type225 { get; set; }
+ public global::Speechify.ConversationPromptRequest? Type225 { get; set; }
///
///
///
- public global::Speechify.PublishAgentResponse? Type226 { get; set; }
+ public global::Speechify.JobStatus? Type226 { get; set; }
///
///
///
- public global::Speechify.PublishGateRunDecision? Type227 { get; set; }
+ public global::Speechify.ConversationPrompt? Type227 { get; set; }
///
///
///
- public global::Speechify.PublishGateRun? Type228 { get; set; }
+ public global::Speechify.ShadowConversationResponse? Type228 { get; set; }
///
///
///
- public global::Speechify.LatestPublishGateRunResponse? Type229 { get; set; }
+ public global::Speechify.PublishAgentRequest? Type229 { get; set; }
///
///
///
- public global::Speechify.CreateAgentRunRequest? Type230 { get; set; }
+ public global::Speechify.PublishAgentResponse? Type230 { get; set; }
///
///
///
- public global::Speechify.AgentRunStatus? Type231 { get; set; }
+ public global::Speechify.PublishGateRunDecision? Type231 { get; set; }
///
///
///
- public global::Speechify.AgentRunInputDelegationTargetsItems? Type232 { get; set; }
+ public global::Speechify.PublishGateRun? Type232 { get; set; }
///
///
///
- public global::Speechify.AgentRunInput? Type233 { get; set; }
+ public global::Speechify.LatestPublishGateRunResponse? Type233 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type234 { get; set; }
+ public global::Speechify.CreateAgentRunRequest? Type234 { get; set; }
///
///
///
- public global::Speechify.AgentRunOutputTranscriptItems? Type235 { get; set; }
+ public global::Speechify.AgentRunStatus? Type235 { get; set; }
///
///
///
- public global::Speechify.AgentRunOutput? Type236 { get; set; }
+ public global::Speechify.AgentRunInputDelegationTargetsItems? Type236 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type237 { get; set; }
+ public global::Speechify.AgentRunInput? Type237 { get; set; }
///
///
///
- public global::Speechify.AgentRunError? Type238 { get; set; }
+ public global::System.Collections.Generic.IList? Type238 { get; set; }
///
///
///
- public global::Speechify.AgentRunIncompleteReason? Type239 { get; set; }
+ public global::Speechify.AgentRunOutputTranscriptItems? Type239 { get; set; }
///
///
///
- public global::Speechify.AgentRunUsageModelsItems? Type240 { get; set; }
+ public global::Speechify.AgentRunOutput? Type240 { get; set; }
///
///
///
- public global::Speechify.AgentRunUsageToolsItems? Type241 { get; set; }
+ public global::System.Collections.Generic.IList? Type241 { get; set; }
///
///
///
- public global::Speechify.AgentRunUsage? Type242 { get; set; }
+ public global::Speechify.AgentRunError? Type242 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type243 { get; set; }
+ public global::Speechify.AgentRunIncompleteReason? Type243 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type244 { get; set; }
+ public global::Speechify.AgentRunUsageModelsItems? Type244 { get; set; }
///
///
///
- public global::Speechify.PendingActionDefaultDecision? Type245 { get; set; }
+ public global::Speechify.AgentRunUsageToolsItems? Type245 { get; set; }
///
///
///
- public global::Speechify.PendingAction? Type246 { get; set; }
+ public global::Speechify.AgentRunUsage? Type246 { get; set; }
///
///
///
- public global::Speechify.AgentRun? Type247 { get; set; }
+ public global::System.Collections.Generic.IList? Type247 { get; set; }
///
///
///
- public global::Speechify.V1AgentsAgentIdRunsGetParametersStatus? Type248 { get; set; }
+ public global::System.Collections.Generic.IList? Type248 { get; set; }
///
///
///
- public global::Speechify.ListAgentRunsResponse? Type249 { get; set; }
+ public global::Speechify.PendingActionDefaultDecision? Type249 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type250 { get; set; }
+ public global::Speechify.PendingAction? Type250 { get; set; }
///
///
///
- public global::Speechify.V1AgentsRunsGetParametersStatus? Type251 { get; set; }
+ public global::Speechify.AgentRun? Type251 { get; set; }
///
///
///
- public global::Speechify.SubmitAgentRunRequestDecision? Type252 { get; set; }
+ public global::Speechify.V1AgentsAgentIdRunsGetParametersStatus? Type252 { get; set; }
///
///
///
- public global::Speechify.SubmitAgentRunRequest? Type253 { get; set; }
+ public global::Speechify.ListAgentRunsResponse? Type253 { get; set; }
///
///
///
- public global::Speechify.AgentRunStepKind? Type254 { get; set; }
+ public global::System.Collections.Generic.IList? Type254 { get; set; }
///
///
///
- public global::Speechify.RunStepDelegationChildStatus? Type255 { get; set; }
+ public global::Speechify.V1AgentsRunsGetParametersStatus? Type255 { get; set; }
///
///
///
- public global::Speechify.RunStepDelegation? Type256 { get; set; }
+ public global::Speechify.SubmitAgentRunRequestDecision? Type256 { get; set; }
///
///
///
- public global::Speechify.AgentRunStep? Type257 { get; set; }
+ public global::Speechify.SubmitAgentRunRequest? Type257 { get; set; }
///
///
///
- public global::Speechify.ListAgentRunStepsResponse? Type258 { get; set; }
+ public global::Speechify.AgentRunStepKind? Type258 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type259 { get; set; }
+ public global::Speechify.RunStepDelegationChildStatus? Type259 { get; set; }
///
///
///
- public global::Speechify.AgentRunStepAddedEventKind? Type260 { get; set; }
+ public global::Speechify.RunStepDelegation? Type260 { get; set; }
///
///
///
- public global::Speechify.AgentRunStatusChangedEventStatus? Type261 { get; set; }
+ public global::Speechify.AgentRunStep? Type261 { get; set; }
///
///
///
- public global::Speechify.AgentRunEndedEventStatus? Type262 { get; set; }
+ public global::Speechify.ListAgentRunStepsResponse? Type262 { get; set; }
///
///
///
- public global::Speechify.AgentRunEndedEventOutput? Type263 { get; set; }
+ public global::System.Collections.Generic.IList? Type263 { get; set; }
///
///
///
- public global::Speechify.AgentRunStreamEvent? Type264 { get; set; }
+ public global::Speechify.AgentRunStepAddedEventKind? Type264 { get; set; }
///
///
///
- public global::Speechify.AgentRunStreamEventVariant1? Type265 { get; set; }
+ public global::Speechify.AgentRunStatusChangedEventStatus? Type265 { get; set; }
///
///
///
- public global::Speechify.AgentRunStreamEventVariant1Type? Type266 { get; set; }
+ public global::Speechify.AgentRunEndedEventStatus? Type266 { get; set; }
///
///
///
- public global::Speechify.AgentRunStreamEventVariant2? Type267 { get; set; }
+ public global::Speechify.AgentRunEndedEventOutput? Type267 { get; set; }
///
///
///
- public global::Speechify.AgentRunStreamEventVariant2Type? Type268 { get; set; }
+ public global::Speechify.AgentRunStreamEvent? Type268 { get; set; }
///
///
///
- public global::Speechify.AgentRunStreamEventVariant3? Type269 { get; set; }
+ public global::Speechify.AgentRunStreamEventVariant1? Type269 { get; set; }
///
///
///
- public global::Speechify.AgentRunStreamEventVariant3Type? Type270 { get; set; }
+ public global::Speechify.AgentRunStreamEventVariant1Type? Type270 { get; set; }
///
///
///
- public global::Speechify.AgentRunStreamEventDiscriminator? Type271 { get; set; }
+ public global::Speechify.AgentRunStreamEventVariant2? Type271 { get; set; }
///
///
///
- public global::Speechify.AgentRunStreamEventDiscriminatorType? Type272 { get; set; }
+ public global::Speechify.AgentRunStreamEventVariant2Type? Type272 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseInjection? Type273 { get; set; }
+ public global::Speechify.AgentRunStreamEventVariant3? Type273 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBase? Type274 { get; set; }
+ public global::Speechify.AgentRunStreamEventVariant3Type? Type274 { get; set; }
///
///
///
- public global::Speechify.ListKnowledgeBasesResponse? Type275 { get; set; }
+ public global::Speechify.AgentRunStreamEventDiscriminator? Type275 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type276 { get; set; }
+ public global::Speechify.AgentRunStreamEventDiscriminatorType? Type276 { get; set; }
///
///
///
- public global::Speechify.CreateKnowledgeBaseRequest? Type277 { get; set; }
+ public global::Speechify.KnowledgeBaseInjection? Type277 { get; set; }
///
///
///
- public global::Speechify.SearchKnowledgeBasesRequest? Type278 { get; set; }
+ public global::Speechify.KnowledgeBase? Type278 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseSearchHit? Type279 { get; set; }
+ public global::Speechify.ListKnowledgeBasesResponse? Type279 { get; set; }
///
///
///
- public global::Speechify.SearchKnowledgeBasesResponse? Type280 { get; set; }
+ public global::System.Collections.Generic.IList? Type280 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type281 { get; set; }
+ public global::Speechify.CreateKnowledgeBaseRequest? Type281 { get; set; }
///
///
///
- public global::Speechify.UpdateKnowledgeBaseRequest? Type282 { get; set; }
+ public global::Speechify.SearchKnowledgeBasesRequest? Type282 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseCoverageHealth? Type283 { get; set; }
+ public global::Speechify.KnowledgeBaseSearchHit? Type283 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseCoverageGap? Type284 { get; set; }
+ public global::Speechify.SearchKnowledgeBasesResponse? Type284 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseDocumentSourceKind? Type285 { get; set; }
+ public global::System.Collections.Generic.IList? Type285 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseCoverageDocument? Type286 { get; set; }
+ public global::Speechify.UpdateKnowledgeBaseRequest? Type286 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseCoverage? Type287 { get; set; }
+ public global::Speechify.KnowledgeBaseCoverageHealth? Type287 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type288 { get; set; }
+ public global::Speechify.KnowledgeBaseCoverageGap? Type288 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type289 { get; set; }
+ public global::Speechify.KnowledgeBaseDocumentSourceKind? Type289 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseEvalCase? Type290 { get; set; }
+ public global::Speechify.KnowledgeBaseCoverageDocument? Type290 { get; set; }
///
///
///
- public global::Speechify.ListKnowledgeBaseEvalCasesResponse? Type291 { get; set; }
+ public global::Speechify.KnowledgeBaseCoverage? Type291 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type292 { get; set; }
+ public global::System.Collections.Generic.IList? Type292 { get; set; }
///
///
///
- public global::Speechify.CreateKnowledgeBaseEvalCaseRequest? Type293 { get; set; }
+ public global::System.Collections.Generic.IList? Type293 { get; set; }
///
///
///
- public global::Speechify.UpdateKnowledgeBaseEvalCaseRequest? Type294 { get; set; }
+ public global::Speechify.KnowledgeBaseEvalCase? Type294 { get; set; }
///
///
///
- public global::Speechify.JobStatus? Type295 { get; set; }
+ public global::Speechify.ListKnowledgeBaseEvalCasesResponse? Type295 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseEvaluationResults? Type296 { get; set; }
+ public global::System.Collections.Generic.IList? Type296 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseEvaluationMetrics? Type297 { get; set; }
+ public global::Speechify.CreateKnowledgeBaseEvalCaseRequest? Type297 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseEvaluation? Type298 { get; set; }
+ public global::Speechify.UpdateKnowledgeBaseEvalCaseRequest? Type298 { get; set; }
///
///
///
- public global::Speechify.ListKnowledgeBaseEvaluationsResponse? Type299 { get; set; }
+ public global::Speechify.KnowledgeBaseEvaluationResults? Type299 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type300 { get; set; }
+ public global::Speechify.KnowledgeBaseEvaluationMetrics? Type300 { get; set; }
///
///
///
- public global::Speechify.StartKnowledgeBaseEvaluationRequest? Type301 { get; set; }
+ public global::Speechify.KnowledgeBaseEvaluation? Type301 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseEvaluationHit? Type302 { get; set; }
+ public global::Speechify.ListKnowledgeBaseEvaluationsResponse? Type302 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseEvaluationResult? Type303 { get; set; }
+ public global::System.Collections.Generic.IList? Type303 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type304 { get; set; }
+ public global::Speechify.StartKnowledgeBaseEvaluationRequest? Type304 { get; set; }
///
///
///
- public global::Speechify.ListKnowledgeBaseEvaluationResultsResponse? Type305 { get; set; }
+ public global::Speechify.KnowledgeBaseEvaluationHit? Type305 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type306 { get; set; }
+ public global::Speechify.KnowledgeBaseEvaluationResult? Type306 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseDocumentInjectionMode? Type307 { get; set; }
+ public global::System.Collections.Generic.IList? Type307 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseDocumentStatus? Type308 { get; set; }
+ public global::Speechify.ListKnowledgeBaseEvaluationResultsResponse? Type308 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseDocument? Type309 { get; set; }
+ public global::System.Collections.Generic.IList? Type309 { get; set; }
///
///
///
- public global::Speechify.ListKnowledgeBaseDocumentsResponse? Type310 { get; set; }
+ public global::Speechify.KnowledgeBaseDocumentInjectionMode? Type310 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type311 { get; set; }
+ public global::Speechify.KnowledgeBaseDocumentStatus? Type311 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseDocumentDetailInjectionMode? Type312 { get; set; }
+ public global::Speechify.KnowledgeBaseDocument? Type312 { get; set; }
///
///
///
- public global::Speechify.DependentAgent? Type313 { get; set; }
+ public global::Speechify.ListKnowledgeBaseDocumentsResponse? Type313 { get; set; }
///
///
///
- public global::Speechify.RefreshConfig? Type314 { get; set; }
+ public global::System.Collections.Generic.IList? Type314 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseDocumentDetail? Type315 { get; set; }
+ public global::Speechify.KnowledgeBaseDocumentDetailInjectionMode? Type315 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type316 { get; set; }
+ public global::Speechify.DependentAgent? Type316 { get; set; }
///
///
///
- public global::Speechify.V1AgentsKnowledgeBasesKbIdDocumentsDocumentIdPatchRequestBodyContentApplicationJsonSchemaInjectionMode? Type317 { get; set; }
+ public global::Speechify.RefreshConfig? Type317 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseChunk? Type318 { get; set; }
+ public global::Speechify.KnowledgeBaseDocumentDetail? Type318 { get; set; }
///
///
///
- public global::Speechify.ListKnowledgeBaseChunksResponse? Type319 { get; set; }
+ public global::System.Collections.Generic.IList? Type319 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type320 { get; set; }
+ public global::Speechify.V1AgentsKnowledgeBasesKbIdDocumentsDocumentIdPatchRequestBodyContentApplicationJsonSchemaInjectionMode? Type320 { get; set; }
///
///
///
- public global::Speechify.CreateCrawlImportRequest? Type321 { get; set; }
+ public global::Speechify.KnowledgeBaseChunk? Type321 { get; set; }
///
///
///
- public global::Speechify.ImportJobKind? Type322 { get; set; }
+ public global::Speechify.ListKnowledgeBaseChunksResponse? Type322 { get; set; }
///
///
///
- public global::Speechify.ImportJob? Type323 { get; set; }
+ public global::System.Collections.Generic.IList? Type323 { get; set; }
///
///
///
- public global::Speechify.CreateSitemapImportRequest? Type324 { get; set; }
+ public global::Speechify.CreateCrawlImportRequest? Type324 { get; set; }
///
///
///
- public global::Speechify.CreateTextDocumentRequest? Type325 { get; set; }
+ public global::Speechify.ImportJobKind? Type325 { get; set; }
///
///
///
- public global::Speechify.CreateURLDocumentRequest? Type326 { get; set; }
+ public global::Speechify.ImportJob? Type326 { get; set; }
///
///
///
- public global::Speechify.CreateURLBatchImportRequest? Type327 { get; set; }
+ public global::Speechify.CreateSitemapImportRequest? Type327 { get; set; }
///
///
///
- public global::Speechify.BatchDeleteDocumentsRequest? Type328 { get; set; }
+ public global::Speechify.CreateTextDocumentRequest? Type328 { get; set; }
///
///
///
- public global::Speechify.BatchMoveDocumentsRequest? Type329 { get; set; }
+ public global::Speechify.CreateURLDocumentRequest? Type329 { get; set; }
///
///
///
- public global::Speechify.BatchMoveDocumentsResponse? Type330 { get; set; }
+ public global::Speechify.CreateURLBatchImportRequest? Type330 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type331 { get; set; }
+ public global::Speechify.BatchDeleteDocumentsRequest? Type331 { get; set; }
///
///
///
- public global::Speechify.UpdateRefreshConfigRequest? Type332 { get; set; }
+ public global::Speechify.BatchMoveDocumentsRequest? Type332 { get; set; }
///
///
///
- public global::Speechify.RefreshHistoryEntryStatus? Type333 { get; set; }
+ public global::Speechify.BatchMoveDocumentsResponse? Type333 { get; set; }
///
///
///
- public global::Speechify.RefreshHistoryEntry? Type334 { get; set; }
+ public global::System.Collections.Generic.IList? Type334 { get; set; }
///
///
///
- public global::Speechify.ListRefreshHistoryResponse? Type335 { get; set; }
+ public global::Speechify.UpdateRefreshConfigRequest? Type335 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type336 { get; set; }
+ public global::Speechify.RefreshHistoryEntryStatus? Type336 { get; set; }
///
///
///
- public global::Speechify.KnowledgeBaseFolder? Type337 { get; set; }
+ public global::Speechify.RefreshHistoryEntry? Type337 { get; set; }
///
///
///
- public global::Speechify.ListKnowledgeBaseFoldersResponse? Type338 { get; set; }
+ public global::Speechify.ListRefreshHistoryResponse? Type338 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type339 { get; set; }
+ public global::System.Collections.Generic.IList? Type339 { get; set; }
///
///
///
- public global::Speechify.CreateFolderRequest? Type340 { get; set; }
+ public global::Speechify.KnowledgeBaseFolder? Type340 { get; set; }
///
///
///
- public global::Speechify.UpdateFolderRequest? Type341 { get; set; }
+ public global::Speechify.ListKnowledgeBaseFoldersResponse? Type341 { get; set; }
///
///
///
- public global::Speechify.ListImportJobsResponse? Type342 { get; set; }
+ public global::System.Collections.Generic.IList? Type342 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type343 { get; set; }
+ public global::Speechify.CreateFolderRequest? Type343 { get; set; }
///
///
///
- public global::Speechify.AttachedKnowledgeBasesResponseInjection? Type344 { get; set; }
+ public global::Speechify.UpdateFolderRequest? Type344 { get; set; }
///
///
///
- public global::Speechify.AttachedKnowledgeBasesResponse? Type345 { get; set; }
+ public global::Speechify.ListImportJobsResponse? Type345 { get; set; }
///
///
///
- public global::Speechify.ToolKind? Type346 { get; set; }
+ public global::System.Collections.Generic.IList? Type346 { get; set; }
///
///
///
- public global::Speechify.ToolParamType? Type347 { get; set; }
+ public global::Speechify.AttachedKnowledgeBasesResponseInjection? Type347 { get; set; }
///
///
///
- public global::Speechify.ToolParam? Type348 { get; set; }
+ public global::Speechify.AttachedKnowledgeBasesResponse? Type348 { get; set; }
///
///
///
- public global::Speechify.BuiltinToolConfig? Type349 { get; set; }
+ public global::Speechify.ToolKind? Type349 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type350 { get; set; }
+ public global::Speechify.ToolParamType? Type350 { get; set; }
///
///
///
- public global::Speechify.WebhookToolConfigMethod? Type351 { get; set; }
+ public global::Speechify.ToolParam? Type351 { get; set; }
///
///
///
- public global::Speechify.LongRunningToolConfigWaitAudioPreset? Type352 { get; set; }
+ public global::Speechify.BuiltinToolConfig? Type352 { get; set; }
///
///
///
- public global::Speechify.LongRunningToolConfigWaitAudio? Type353 { get; set; }
+ public global::System.Collections.Generic.IList? Type353 { get; set; }
///
///
///
- public global::Speechify.LongRunningToolConfigOnDuplicate? Type354 { get; set; }
+ public global::Speechify.WebhookToolConfigMethod? Type354 { get; set; }
///
///
///
- public global::Speechify.LongRunningToolConfig? Type355 { get; set; }
+ public global::Speechify.LongRunningToolConfigWaitAudioPreset? Type355 { get; set; }
///
///
///
- public global::Speechify.WebhookToolConfig? Type356 { get; set; }
+ public global::Speechify.LongRunningToolConfigWaitAudio? Type356 { get; set; }
///
///
///
- public global::Speechify.ClientToolConfig? Type357 { get; set; }
+ public global::Speechify.LongRunningToolConfigOnDuplicate? Type357 { get; set; }
///
///
///
- public global::Speechify.MCPTransport? Type358 { get; set; }
+ public global::Speechify.LongRunningToolConfig? Type358 { get; set; }
///
///
///
- public global::Speechify.MCPAuth? Type359 { get; set; }
+ public global::Speechify.WebhookToolConfig? Type359 { get; set; }
///
///
///
- public global::Speechify.MCPAuthVariant1? Type360 { get; set; }
+ public global::Speechify.ClientToolConfig? Type360 { get; set; }
///
///
///
- public global::Speechify.MCPAuthVariant1Type? Type361 { get; set; }
+ public global::Speechify.MCPTransport? Type361 { get; set; }
///
///
///
- public global::Speechify.MCPAuthVariant2? Type362 { get; set; }
+ public global::Speechify.MCPAuth? Type362 { get; set; }
///
///
///
- public global::Speechify.MCPAuthVariant2Type? Type363 { get; set; }
+ public global::Speechify.MCPAuthVariant1? Type363 { get; set; }
///
///
///
- public global::Speechify.MCPAuthVariant3? Type364 { get; set; }
+ public global::Speechify.MCPAuthVariant1Type? Type364 { get; set; }
///
///
///
- public global::Speechify.MCPAuthVariant3Type? Type365 { get; set; }
+ public global::Speechify.MCPAuthVariant2? Type365 { get; set; }
///
///
///
- public global::Speechify.MCPAuthDiscriminator? Type366 { get; set; }
+ public global::Speechify.MCPAuthVariant2Type? Type366 { get; set; }
///
///
///
- public global::Speechify.MCPAuthDiscriminatorType? Type367 { get; set; }
+ public global::Speechify.MCPAuthVariant3? Type367 { get; set; }
///
///
///
- public global::Speechify.ToolActionClass? Type368 { get; set; }
+ public global::Speechify.MCPAuthVariant3Type? Type368 { get; set; }
///
///
///
- public global::Speechify.MCPToolConfig? Type369 { get; set; }
+ public global::Speechify.MCPAuthDiscriminator? Type369 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type370 { get; set; }
+ public global::Speechify.MCPAuthDiscriminatorType? Type370 { get; set; }
///
///
///
- public global::Speechify.AgentToolConfig? Type371 { get; set; }
+ public global::Speechify.ToolActionClass? Type371 { get; set; }
///
///
///
- public global::Speechify.ToolApprovalClass? Type372 { get; set; }
+ public global::Speechify.MCPToolConfig? Type372 { get; set; }
///
///
///
- public global::Speechify.ToolReach? Type373 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type373 { get; set; }
///
///
///
- public global::Speechify.AgentTool? Type374 { get; set; }
+ public global::Speechify.AgentToolConfig? Type374 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type375 { get; set; }
+ public global::Speechify.ToolApprovalClass? Type375 { get; set; }
///
///
///
- public global::Speechify.ListAgentToolsResponse? Type376 { get; set; }
+ public global::Speechify.ToolReach? Type376 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type377 { get; set; }
+ public global::Speechify.AgentTool? Type377 { get; set; }
///
///
///
- public global::Speechify.CreateAgentToolRequestConfig? Type378 { get; set; }
+ public global::System.Collections.Generic.IList? Type378 { get; set; }
///
///
///
- public global::Speechify.CreateAgentToolRequest? Type379 { get; set; }
+ public global::Speechify.ListAgentToolsResponse? Type379 { get; set; }
///
///
///
- public global::Speechify.ToolNameHolderKind? Type380 { get; set; }
+ public global::System.Collections.Generic.IList? Type380 { get; set; }
///
///
///
- public global::Speechify.ToolNameHolder? Type381 { get; set; }
+ public global::Speechify.CreateAgentToolRequestConfig? Type381 { get; set; }
///
///
///
- public global::Speechify.ToolNameTakenErrorDetailDetails? Type382 { get; set; }
+ public global::Speechify.CreateAgentToolRequest? Type382 { get; set; }
///
///
///
- public global::Speechify.ToolNameTakenErrorDetail? Type383 { get; set; }
+ public global::Speechify.ToolNameHolderKind? Type383 { get; set; }
///
///
///
- public global::Speechify.ToolNameTakenError? Type384 { get; set; }
+ public global::Speechify.ToolNameHolder? Type384 { get; set; }
///
///
///
- public global::Speechify.UpdateAgentToolRequestConfig? Type385 { get; set; }
+ public global::Speechify.ToolNameTakenErrorDetailDetails? Type385 { get; set; }
///
///
///
- public global::Speechify.UpdateAgentToolRequest? Type386 { get; set; }
+ public global::Speechify.ToolNameTakenErrorDetail? Type386 { get; set; }
///
///
///
- public global::Speechify.ToolConfig? Type387 { get; set; }
+ public global::Speechify.ToolNameTakenError? Type387 { get; set; }
///
///
///
- public global::Speechify.Tool? Type388 { get; set; }
+ public global::Speechify.UpdateAgentToolRequestConfig? Type388 { get; set; }
///
///
///
- public global::Speechify.ListToolsResponse? Type389 { get; set; }
+ public global::Speechify.UpdateAgentToolRequest? Type389 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type390 { get; set; }
+ public global::Speechify.ToolConfig? Type390 { get; set; }
///
///
///
- public global::Speechify.CreateToolRequestConfig? Type391 { get; set; }
+ public global::Speechify.Tool? Type391 { get; set; }
///
///
///
- public global::Speechify.CreateToolRequest? Type392 { get; set; }
+ public global::Speechify.ListToolsResponse? Type392 { get; set; }
///
///
///
- public global::Speechify.UpdateToolRequestConfig? Type393 { get; set; }
+ public global::System.Collections.Generic.IList? Type393 { get; set; }
///
///
///
- public global::Speechify.UpdateToolRequest? Type394 { get; set; }
+ public global::Speechify.CreateToolRequestConfig? Type394 { get; set; }
///
///
///
- public global::Speechify.ToolAttachedAgent? Type395 { get; set; }
+ public global::Speechify.CreateToolRequest? Type395 { get; set; }
///
///
///
- public global::Speechify.ListToolAttachedAgentsResponse? Type396 { get; set; }
+ public global::Speechify.UpdateToolRequestConfig? Type396 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type397 { get; set; }
+ public global::Speechify.UpdateToolRequest? Type397 { get; set; }
///
///
///
- public global::Speechify.TestMCPConnectionRequest? Type398 { get; set; }
+ public global::Speechify.ToolAttachedAgent? Type398 { get; set; }
///
///
///
- public global::Speechify.MCPProbeTool? Type399 { get; set; }
+ public global::Speechify.ListToolAttachedAgentsResponse? Type399 { get; set; }
///
///
///
- public global::Speechify.McpProbeErrorDetailsStage? Type400 { get; set; }
+ public global::System.Collections.Generic.IList? Type400 { get; set; }
///
///
///
- public global::Speechify.MCPProbeErrorDetails? Type401 { get; set; }
+ public global::Speechify.TestMCPConnectionRequest? Type401 { get; set; }
///
///
///
- public global::Speechify.MCPProbeResult? Type402 { get; set; }
+ public global::Speechify.MCPProbeTool? Type402 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type403 { get; set; }
+ public global::Speechify.McpProbeErrorDetailsStage? Type403 { get; set; }
///
///
///
- public global::Speechify.TestWebhookConnectionRequest? Type404 { get; set; }
+ public global::Speechify.MCPProbeErrorDetails? Type404 { get; set; }
///
///
///
- public global::Speechify.WebhookProbeResult? Type405 { get; set; }
+ public global::Speechify.MCPProbeResult? Type405 { get; set; }
///
///
///
- public global::Speechify.SystemBuiltinInfoExecution? Type406 { get; set; }
+ public global::System.Collections.Generic.IList? Type406 { get; set; }
///
///
///
- public global::Speechify.SystemBuiltinInfo? Type407 { get; set; }
+ public global::Speechify.TestWebhookConnectionRequest? Type407 { get; set; }
///
///
///
- public global::Speechify.ListSystemBuiltinsResponse? Type408 { get; set; }
+ public global::Speechify.WebhookProbeResult? Type408 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type409 { get; set; }
+ public global::Speechify.SystemBuiltinInfoExecution? Type409 { get; set; }
///
///
///
- public global::Speechify.TestType? Type410 { get; set; }
+ public global::Speechify.SystemBuiltinInfo? Type410 { get; set; }
///
///
///
- public global::Speechify.SimulationMessageRole? Type411 { get; set; }
+ public global::Speechify.ListSystemBuiltinsResponse? Type411 { get; set; }
///
///
///
- public global::Speechify.SimulationMessage? Type412 { get; set; }
+ public global::System.Collections.Generic.IList? Type412 { get; set; }
///
///
///
- public global::Speechify.ReplyConfig? Type413 { get; set; }
+ public global::Speechify.TestType? Type413 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type414 { get; set; }
+ public global::Speechify.SimulationMessageRole? Type414 { get; set; }
///
///
///
- public global::Speechify.ParameterCheckMode? Type415 { get; set; }
+ public global::Speechify.SimulationMessage? Type415 { get; set; }
///
///
///
- public global::Speechify.ParameterCheck? Type416 { get; set; }
+ public global::Speechify.ReplyConfig? Type416 { get; set; }
///
///
///
- public global::Speechify.ToolCallConfig? Type417 { get; set; }
+ public global::System.Collections.Generic.IList? Type417 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type418 { get; set; }
+ public global::Speechify.ParameterCheckMode? Type418 { get; set; }
///
///
///
- public global::Speechify.DataAssertionMode? Type419 { get; set; }
+ public global::Speechify.ParameterCheck? Type419 { get; set; }
///
///
///
- public global::Speechify.DataAssertion? Type420 { get; set; }
+ public global::Speechify.ToolCallConfig? Type420 { get; set; }
///
///
///
- public global::Speechify.SimulationConfig? Type421 { get; set; }
+ public global::System.Collections.Generic.IList? Type421 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type422 { get; set; }
+ public global::Speechify.DataAssertionMode? Type422 { get; set; }
///
///
///
- public global::Speechify.CreateAgentTestRequestConfig? Type423 { get; set; }
+ public global::Speechify.DataAssertion? Type423 { get; set; }
///
///
///
- public global::Speechify.MockingStrategy? Type424 { get; set; }
+ public global::Speechify.SimulationConfig? Type424 { get; set; }
///
///
///
- public global::Speechify.ToolMock? Type425 { get; set; }
+ public global::System.Collections.Generic.IList? Type425 { get; set; }
///
///
///
- public global::Speechify.NoMatchBehavior? Type426 { get; set; }
+ public global::Speechify.CreateAgentTestRequestConfig? Type426 { get; set; }
///
///
///
- public global::Speechify.ToolMockConfig? Type427 { get; set; }
+ public global::Speechify.MockingStrategy? Type427 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type428 { get; set; }
+ public global::Speechify.ToolMock? Type428 { get; set; }
///
///
///
- public global::Speechify.CreateAgentTestRequest? Type429 { get; set; }
+ public global::Speechify.NoMatchBehavior? Type429 { get; set; }
///
///
///
- public global::Speechify.AgentTestConfig? Type430 { get; set; }
+ public global::Speechify.ToolMockConfig? Type430 { get; set; }
///
///
///
- public global::Speechify.AgentTest? Type431 { get; set; }
+ public global::System.Collections.Generic.IList? Type431 { get; set; }
///
///
///
- public global::Speechify.TestVerdict? Type432 { get; set; }
+ public global::Speechify.CreateAgentTestRequest? Type432 { get; set; }
///
///
///
- public global::Speechify.ReplyResult? Type433 { get; set; }
+ public global::Speechify.AgentTestConfig? Type433 { get; set; }
///
///
///
- public global::Speechify.ParameterCheckResult? Type434 { get; set; }
+ public global::Speechify.AgentTest? Type434 { get; set; }
///
///
///
- public global::Speechify.ToolCallResult? Type435 { get; set; }
+ public global::Speechify.TestVerdict? Type435 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type436 { get; set; }
+ public global::Speechify.ReplyResult? Type436 { get; set; }
///
///
///
- public global::Speechify.SimulationToolCall? Type437 { get; set; }
+ public global::Speechify.ParameterCheckResult? Type437 { get; set; }
///
///
///
- public global::Speechify.SimulationResultSentiment? Type438 { get; set; }
+ public global::Speechify.ToolCallResult? Type438 { get; set; }
///
///
///
- public global::Speechify.SimulationCriterionResultStatus? Type439 { get; set; }
+ public global::System.Collections.Generic.IList? Type439 { get; set; }
///
///
///
- public global::Speechify.SimulationCriterionResult? Type440 { get; set; }
+ public global::Speechify.SimulationToolCall? Type440 { get; set; }
///
///
///
- public global::Speechify.DataAssertionResultMode? Type441 { get; set; }
+ public global::Speechify.SimulationResultSentiment? Type441 { get; set; }
///
///
///
- public global::Speechify.DataAssertionResult? Type442 { get; set; }
+ public global::Speechify.SimulationCriterionResultStatus? Type442 { get; set; }
///
///
///
- public global::Speechify.SimulationResult? Type443 { get; set; }
+ public global::Speechify.SimulationCriterionResult? Type443 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type444 { get; set; }
+ public global::Speechify.DataAssertionResultMode? Type444 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type445 { get; set; }
+ public global::Speechify.DataAssertionResult? Type445 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type446 { get; set; }
+ public global::Speechify.SimulationResult? Type446 { get; set; }
///
///
///
- public global::Speechify.TestRunResult? Type447 { get; set; }
+ public global::System.Collections.Generic.IList? Type447 { get; set; }
///
///
///
- public global::Speechify.AgentTestRun? Type448 { get; set; }
+ public global::System.Collections.Generic.IList? Type448 { get; set; }
///
///
///
- public global::Speechify.AgentTestWithLastRun? Type449 { get; set; }
+ public global::System.Collections.Generic.IList? Type449 { get; set; }
///
///
///
- public global::Speechify.ListTestsResponse? Type450 { get; set; }
+ public global::Speechify.TestRunResult? Type450 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type451 { get; set; }
+ public global::Speechify.AgentTestRun? Type451 { get; set; }
///
///
///
- public global::Speechify.UpdateAgentTestRequestConfig? Type452 { get; set; }
+ public global::Speechify.AgentTestWithLastRun? Type452 { get; set; }
///
///
///
- public global::Speechify.UpdateAgentTestRequest? Type453 { get; set; }
+ public global::Speechify.ListTestsResponse? Type453 { get; set; }
///
///
///
- public global::Speechify.AgentTestFolder? Type454 { get; set; }
+ public global::System.Collections.Generic.IList? Type454 { get; set; }
///
///
///
- public global::Speechify.ListAgentTestFoldersResponse? Type455 { get; set; }
+ public global::Speechify.UpdateAgentTestRequestConfig? Type455 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type456 { get; set; }
+ public global::Speechify.UpdateAgentTestRequest? Type456 { get; set; }
///
///
///
- public global::Speechify.CreateAgentTestFolderRequest? Type457 { get; set; }
+ public global::Speechify.AgentTestFolder? Type457 { get; set; }
///
///
///
- public global::Speechify.UpdateAgentTestFolderRequest? Type458 { get; set; }
+ public global::Speechify.ListAgentTestFoldersResponse? Type458 { get; set; }
///
///
///
- public global::Speechify.ListAgentTestRunsResponse? Type459 { get; set; }
+ public global::System.Collections.Generic.IList? Type459 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type460 { get; set; }
+ public global::Speechify.CreateAgentTestFolderRequest? Type460 { get; set; }
///
///
///
- public global::Speechify.RunTarget? Type461 { get; set; }
+ public global::Speechify.UpdateAgentTestFolderRequest? Type461 { get; set; }
///
///
///
- public global::Speechify.TestRunConfigOverride? Type462 { get; set; }
+ public global::Speechify.ListAgentTestRunsResponse? Type462 { get; set; }
///
///
///
- public global::Speechify.RunTargetedTestsRequest? Type463 { get; set; }
+ public global::System.Collections.Generic.IList? Type463 { get; set; }
///
///
///
- public global::Speechify.SuiteRunTrigger? Type464 { get; set; }
+ public global::Speechify.RunTarget? Type464 { get; set; }
///
///
///
- public global::Speechify.AgentTestSuiteRunResults? Type465 { get; set; }
+ public global::Speechify.TestRunConfigOverride? Type465 { get; set; }
///
///
///
- public global::Speechify.AgentTestSuiteRun? Type466 { get; set; }
+ public global::Speechify.RunTargetedTestsRequest? Type466 { get; set; }
///
///
///
- public global::Speechify.RunAgentTestsResponse? Type467 { get; set; }
+ public global::Speechify.SuiteRunTrigger? Type467 { get; set; }
///
///
///
- public global::Speechify.BatchRunEntry? Type468 { get; set; }
+ public global::Speechify.AgentTestSuiteRunResults? Type468 { get; set; }
///
///
///
- public global::Speechify.RunBatchRequest? Type469 { get; set; }
+ public global::Speechify.AgentTestSuiteRun? Type469 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type470 { get; set; }
+ public global::Speechify.RunAgentTestsResponse? Type470 { get; set; }
///
///
///
- public global::Speechify.ListSuiteRunsResponse? Type471 { get; set; }
+ public global::Speechify.BatchRunEntry? Type471 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type472 { get; set; }
+ public global::Speechify.RunBatchRequest? Type472 { get; set; }
///
///
///
- public global::Speechify.AgentTestSuiteRunWithRunsResults? Type473 { get; set; }
+ public global::System.Collections.Generic.IList? Type473 { get; set; }
///
///
///
- public global::Speechify.SuiteChildRun? Type474 { get; set; }
+ public global::Speechify.ListSuiteRunsResponse? Type474 { get; set; }
///
///
///
- public global::Speechify.AgentTestSuiteRunWithRuns? Type475 { get; set; }
+ public global::System.Collections.Generic.IList? Type475 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type476 { get; set; }
+ public global::Speechify.AgentTestSuiteRunWithRunsResults? Type476 { get; set; }
///
///
///
- public global::Speechify.RunAllTestsRequest? Type477 { get; set; }
+ public global::Speechify.SuiteChildRun? Type477 { get; set; }
///
///
///
- public global::Speechify.TestStatsBucket? Type478 { get; set; }
+ public global::Speechify.AgentTestSuiteRunWithRuns? Type478 { get; set; }
///
///
///
- public global::Speechify.TestStats? Type479 { get; set; }
+ public global::System.Collections.Generic.IList? Type479 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type480 { get; set; }
+ public global::Speechify.RunAllTestsRequest? Type480 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type481 { get; set; }
+ public global::Speechify.TestStatsBucket? Type481 { get; set; }
///
///
///
- public global::Speechify.ShareLinkStatus? Type482 { get; set; }
+ public global::Speechify.TestStats? Type482 { get; set; }
///
///
///
- public global::Speechify.ShareLink? Type483 { get; set; }
+ public global::System.Collections.Generic.IList? Type483 { get; set; }
///
///
///
- public global::Speechify.ListShareLinksResponse? Type484 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type484 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type485 { get; set; }
+ public global::Speechify.ShareLinkStatus? Type485 { get; set; }
///
///
///
- public global::Speechify.CreateShareLinkRequest? Type486 { get; set; }
+ public global::Speechify.ShareLink? Type486 { get; set; }
///
///
///
- public global::Speechify.CreateShareLinkResponseStatus? Type487 { get; set; }
+ public global::Speechify.ListShareLinksResponse? Type487 { get; set; }
///
///
///
- public global::Speechify.CreateShareLinkResponse? Type488 { get; set; }
+ public global::System.Collections.Generic.IList? Type488 { get; set; }
///
///
///
- public global::Speechify.RevealShareLinkTokenResponse? Type489 { get; set; }
+ public global::Speechify.CreateShareLinkRequest? Type489 { get; set; }
///
///
///
- public global::Speechify.ShareLinkPreview? Type490 { get; set; }
+ public global::Speechify.CreateShareLinkResponseStatus? Type490 { get; set; }
///
///
///
- public global::Speechify.CreateShareLinkSessionRequest? Type491 { get; set; }
+ public global::Speechify.CreateShareLinkResponse? Type491 { get; set; }
///
///
///
- public global::Speechify.ShareLinkSession? Type492 { get; set; }
+ public global::Speechify.RevealShareLinkTokenResponse? Type492 { get; set; }
///
///
///
- public global::Speechify.PhoneNumberProvider? Type493 { get; set; }
+ public global::Speechify.ShareLinkPreview? Type493 { get; set; }
///
///
///
- public global::Speechify.PhoneNumberCapability? Type494 { get; set; }
+ public global::Speechify.CreateShareLinkSessionRequest? Type494 { get; set; }
///
///
///
- public global::Speechify.PhoneNumberReputationRisk? Type495 { get; set; }
+ public global::Speechify.ShareLinkSession? Type495 { get; set; }
///
///
///
- public global::Speechify.PhoneNumberReputation? Type496 { get; set; }
+ public global::Speechify.PhoneNumberProvider? Type496 { get; set; }
///
///
///
- public global::Speechify.PhoneNumber? Type497 { get; set; }
+ public global::Speechify.PhoneNumberCapability? Type497 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type498 { get; set; }
+ public global::Speechify.PhoneNumberReputationRisk? Type498 { get; set; }
///
///
///
- public global::Speechify.ListPhoneNumbersResponse? Type499 { get; set; }
+ public global::Speechify.PhoneNumberReputation? Type499 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type500 { get; set; }
+ public global::Speechify.PhoneNumber? Type500 { get; set; }
///
///
///
- public global::Speechify.TwilioImportSpec? Type501 { get; set; }
+ public global::System.Collections.Generic.IList? Type501 { get; set; }
///
///
///
- public global::Speechify.TelnyxImportSpec? Type502 { get; set; }
+ public global::Speechify.ListPhoneNumbersResponse? Type502 { get; set; }
///
///
///
- public global::Speechify.ImportPhoneNumberRequest? Type503 { get; set; }
+ public global::System.Collections.Generic.IList? Type503 { get; set; }
///
///
///
- public global::Speechify.PurchasedPhoneNumberProvider? Type504 { get; set; }
+ public global::Speechify.TwilioImportSpec? Type504 { get; set; }
///
///
///
- public global::Speechify.AvailablePhoneNumber? Type505 { get; set; }
+ public global::Speechify.TelnyxImportSpec? Type505 { get; set; }
///
///
///
- public global::Speechify.SearchAvailablePhoneNumbersResponse? Type506 { get; set; }
+ public global::Speechify.ImportPhoneNumberRequest? Type506 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type507 { get; set; }
+ public global::Speechify.PurchasedPhoneNumberProvider? Type507 { get; set; }
///
///
///
- public global::Speechify.IntendedUseMarketingOrInformational? Type508 { get; set; }
+ public global::Speechify.AvailablePhoneNumber? Type508 { get; set; }
///
///
///
- public global::Speechify.IntendedUse? Type509 { get; set; }
+ public global::Speechify.SearchAvailablePhoneNumbersResponse? Type509 { get; set; }
///
///
///
- public global::Speechify.PurchasePhoneNumberRequest? Type510 { get; set; }
+ public global::System.Collections.Generic.IList? Type510 { get; set; }
///
///
///
- public global::Speechify.UpdatePhoneNumberRequest? Type511 { get; set; }
+ public global::Speechify.IntendedUseMarketingOrInformational? Type511 { get; set; }
///
///
///
- public global::Speechify.CreateOutboundCallRequest? Type512 { get; set; }
+ public global::Speechify.IntendedUse? Type512 { get; set; }
///
///
///
- public global::Speechify.CreateOutboundCallResponse? Type513 { get; set; }
+ public global::Speechify.PurchasePhoneNumberRequest? Type513 { get; set; }
///
///
///
- public global::Speechify.BatchCall? Type514 { get; set; }
+ public global::Speechify.UpdatePhoneNumberRequest? Type514 { get; set; }
///
///
///
- public global::Speechify.ListBatchCallsResponse? Type515 { get; set; }
+ public global::Speechify.CreateOutboundCallRequest? Type515 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type516 { get; set; }
+ public global::Speechify.CreateOutboundCallResponse? Type516 { get; set; }
///
///
///
- public global::Speechify.BatchRecipientRequest? Type517 { get; set; }
+ public global::Speechify.BatchCall? Type517 { get; set; }
///
///
///
- public global::Speechify.CreateBatchCallRequest? Type518 { get; set; }
+ public global::Speechify.ListBatchCallsResponse? Type518 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type519 { get; set; }
+ public global::System.Collections.Generic.IList? Type519 { get; set; }
///
///
///
- public global::Speechify.BatchRecipientStatus? Type520 { get; set; }
+ public global::Speechify.BatchRecipientRequest? Type520 { get; set; }
///
///
///
- public global::Speechify.BatchRecipient? Type521 { get; set; }
+ public global::Speechify.CreateBatchCallRequest? Type521 { get; set; }
///
///
///
- public global::Speechify.ListBatchRecipientsResponse? Type522 { get; set; }
+ public global::System.Collections.Generic.IList? Type522 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type523 { get; set; }
+ public global::Speechify.BatchRecipientStatus? Type523 { get; set; }
///
///
///
- public global::Speechify.IvrMenuListEntryMenuTree? Type524 { get; set; }
+ public global::Speechify.BatchRecipient? Type524 { get; set; }
///
///
///
- public global::Speechify.IVRMenuListEntry? Type525 { get; set; }
+ public global::Speechify.ListBatchRecipientsResponse? Type525 { get; set; }
///
///
///
- public global::Speechify.ListIVRMenusResponse? Type526 { get; set; }
+ public global::System.Collections.Generic.IList? Type526 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type527 { get; set; }
+ public global::Speechify.IvrMenuListEntryMenuTree? Type527 { get; set; }
///
///
///
- public global::Speechify.IvrMenuMenuTree? Type528 { get; set; }
+ public global::Speechify.IVRMenuListEntry? Type528 { get; set; }
///
///
///
- public global::Speechify.IVRMenu? Type529 { get; set; }
+ public global::Speechify.ListIVRMenusResponse? Type529 { get; set; }
///
///
///
- public global::Speechify.UpdateIVRMenuLabelRequest? Type530 { get; set; }
+ public global::System.Collections.Generic.IList? Type530 { get; set; }
///
///
///
- public global::Speechify.InvalidateIVRMenuRequest? Type531 { get; set; }
+ public global::Speechify.IvrMenuMenuTree? Type531 { get; set; }
///
///
///
- public global::Speechify.SIPTrunkProvider? Type532 { get; set; }
+ public global::Speechify.IVRMenu? Type532 { get; set; }
///
///
///
- public global::Speechify.SIPTrunkDirection? Type533 { get; set; }
+ public global::Speechify.UpdateIVRMenuLabelRequest? Type533 { get; set; }
///
///
///
- public global::Speechify.SIPTransport? Type534 { get; set; }
+ public global::Speechify.InvalidateIVRMenuRequest? Type534 { get; set; }
///
///
///
- public global::Speechify.SIPMediaEncryption? Type535 { get; set; }
+ public global::Speechify.SIPTrunkProvider? Type535 { get; set; }
///
///
///
- public global::Speechify.SIPTrunk? Type536 { get; set; }
+ public global::Speechify.SIPTrunkDirection? Type536 { get; set; }
///
///
///
- public global::Speechify.ListSIPTrunksResponse? Type537 { get; set; }
+ public global::Speechify.SIPTransport? Type537 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type538 { get; set; }
+ public global::Speechify.SIPMediaEncryption? Type538 { get; set; }
///
///
///
- public global::Speechify.CreateSipTrunkRequestCredentials? Type539 { get; set; }
+ public global::Speechify.SIPTrunk? Type539 { get; set; }
///
///
///
- public global::Speechify.CreateSIPTrunkRequest? Type540 { get; set; }
+ public global::Speechify.ListSIPTrunksResponse? Type540 { get; set; }
///
///
///
- public global::Speechify.Caller? Type541 { get; set; }
+ public global::System.Collections.Generic.IList? Type541 { get; set; }
///
///
///
- public global::Speechify.ListCallersResponse? Type542 { get; set; }
+ public global::Speechify.CreateSipTrunkRequestCredentials? Type542 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type543 { get; set; }
+ public global::Speechify.CreateSIPTrunkRequest? Type543 { get; set; }
///
///
///
- public global::Speechify.UpdateCallerRequest? Type544 { get; set; }
+ public global::Speechify.Caller? Type544 { get; set; }
///
///
///
- public global::Speechify.DeleteCallerResponse? Type545 { get; set; }
+ public global::Speechify.ListCallersResponse? Type545 { get; set; }
///
///
///
- public global::Speechify.ListCallerConversationsResponse? Type546 { get; set; }
+ public global::System.Collections.Generic.IList? Type546 { get; set; }
///
///
///
- public global::Speechify.ListCallerMemoriesResponse? Type547 { get; set; }
+ public global::Speechify.UpdateCallerRequest? Type547 { get; set; }
///
///
///
- public global::Speechify.AudioAsset? Type548 { get; set; }
+ public global::Speechify.DeleteCallerResponse? Type548 { get; set; }
///
///
///
- public global::Speechify.ListAudioAssetsResponse? Type549 { get; set; }
+ public global::Speechify.ListCallerConversationsResponse? Type549 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type550 { get; set; }
+ public global::Speechify.ListCallerMemoriesResponse? Type550 { get; set; }
///
///
///
- public global::Speechify.TeamMember? Type551 { get; set; }
+ public global::Speechify.AudioAsset? Type551 { get; set; }
///
///
///
- public global::Speechify.Team? Type552 { get; set; }
+ public global::Speechify.ListAudioAssetsResponse? Type552 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type553 { get; set; }
+ public global::System.Collections.Generic.IList? Type553 { get; set; }
///
///
///
- public global::Speechify.ListTeamsResponse? Type554 { get; set; }
+ public global::Speechify.TeamMember? Type554 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type555 { get; set; }
+ public global::Speechify.Team? Type555 { get; set; }
///
///
///
- public global::Speechify.TeamMemberInput? Type556 { get; set; }
+ public global::System.Collections.Generic.IList? Type556 { get; set; }
///
///
///
- public global::Speechify.CreateTeamRequest? Type557 { get; set; }
+ public global::Speechify.ListTeamsResponse? Type557 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type558 { get; set; }
+ public global::System.Collections.Generic.IList? Type558 { get; set; }
///
///
///
- public global::Speechify.UpdateTeamRequest? Type559 { get; set; }
+ public global::Speechify.TeamMemberInput? Type559 { get; set; }
///
///
///
- public global::Speechify.CreateTeamRunRequest? Type560 { get; set; }
+ public global::Speechify.CreateTeamRequest? Type560 { get; set; }
///
///
///
- public global::Speechify.AgentTriggerType? Type561 { get; set; }
+ public global::System.Collections.Generic.IList? Type561 { get; set; }
///
///
///
- public global::Speechify.TriggerRunSpec? Type562 { get; set; }
+ public global::Speechify.UpdateTeamRequest? Type562 { get; set; }
///
///
///
- public global::Speechify.TriggerScheduleConfig? Type563 { get; set; }
+ public global::Speechify.CreateTeamRunRequest? Type563 { get; set; }
///
///
///
- public global::Speechify.TriggerWebhookConfigUserIdentitySource? Type564 { get; set; }
+ public global::Speechify.AgentTriggerType? Type564 { get; set; }
///
///
///
- public global::Speechify.TriggerWebhookConfig? Type565 { get; set; }
+ public global::Speechify.TriggerRunSpec? Type565 { get; set; }
///
///
///
- public global::Speechify.AgentTriggerLastFireStatus? Type566 { get; set; }
+ public global::Speechify.TriggerScheduleConfig? Type566 { get; set; }
///
///
///
- public global::Speechify.AgentTrigger? Type567 { get; set; }
+ public global::Speechify.TriggerWebhookConfigUserIdentitySource? Type567 { get; set; }
///
///
///
- public global::Speechify.ListAgentTriggersResponse? Type568 { get; set; }
+ public global::Speechify.TriggerWebhookConfig? Type568 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type569 { get; set; }
+ public global::Speechify.AgentTriggerLastFireStatus? Type569 { get; set; }
///
///
///
- public global::Speechify.CreateAgentTriggerRequestType? Type570 { get; set; }
+ public global::Speechify.TriggerThread? Type570 { get; set; }
///
///
///
- public global::Speechify.CreateAgentTriggerRequest? Type571 { get; set; }
+ public global::Speechify.AgentTrigger? Type571 { get; set; }
///
///
///
- public global::Speechify.UpdateAgentTriggerRequest? Type572 { get; set; }
+ public global::Speechify.ListAgentTriggersResponse? Type572 { get; set; }
///
///
///
- public global::Speechify.AgentTriggerFireResponseStatus? Type573 { get; set; }
+ public global::System.Collections.Generic.IList? Type573 { get; set; }
///
///
///
- public global::Speechify.AgentTriggerFireResponse? Type574 { get; set; }
+ public global::Speechify.CreateAgentTriggerRequestType? Type574 { get; set; }
///
///
///
- public global::Speechify.Skill? Type575 { get; set; }
+ public global::Speechify.CreateAgentTriggerRequest? Type575 { get; set; }
///
///
///
- public global::Speechify.ListSkillsResponse? Type576 { get; set; }
+ public global::Speechify.UpdateAgentTriggerRequest? Type576 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type577 { get; set; }
+ public global::Speechify.AgentTriggerFireResponseStatus? Type577 { get; set; }
///
///
///
- public global::Speechify.CreateSkillRequest? Type578 { get; set; }
+ public global::Speechify.AgentTriggerFireResponse? Type578 { get; set; }
///
///
///
- public global::Speechify.UpdateSkillRequest? Type579 { get; set; }
+ public global::Speechify.Skill? Type579 { get; set; }
///
///
///
- public global::Speechify.SkillVersion? Type580 { get; set; }
+ public global::Speechify.ListSkillsResponse? Type580 { get; set; }
///
///
///
- public global::Speechify.ListSkillVersionsResponse? Type581 { get; set; }
+ public global::System.Collections.Generic.IList? Type581 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type582 { get; set; }
+ public global::Speechify.CreateSkillRequest? Type582 { get; set; }
///
///
///
- public global::Speechify.AgentSkill? Type583 { get; set; }
+ public global::Speechify.UpdateSkillRequest? Type583 { get; set; }
///
///
///
- public global::Speechify.ListAgentSkillsResponse? Type584 { get; set; }
+ public global::Speechify.SkillVersion? Type584 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type585 { get; set; }
+ public global::Speechify.ListSkillVersionsResponse? Type585 { get; set; }
///
///
///
- public global::Speechify.AttachSkillRequest? Type586 { get; set; }
+ public global::System.Collections.Generic.IList? Type586 { get; set; }
///
///
///
- public global::Speechify.UpdateAgentSkillRequest? Type587 { get; set; }
+ public global::Speechify.AgentSkill? Type587 { get; set; }
///
///
///
- public global::Speechify.V1FilesGetParametersKind? Type588 { get; set; }
+ public global::Speechify.ListAgentSkillsResponse? Type588 { get; set; }
///
///
///
- public global::Speechify.FileKind? Type589 { get; set; }
+ public global::System.Collections.Generic.IList? Type589 { get; set; }
///
///
///
- public global::Speechify.FileSource? Type590 { get; set; }
+ public global::Speechify.AttachSkillRequest? Type590 { get; set; }
///
///
///
- public global::Speechify.File? Type591 { get; set; }
+ public global::Speechify.UpdateAgentSkillRequest? Type591 { get; set; }
///
///
///
- public global::Speechify.ListFilesResponse? Type592 { get; set; }
+ public global::Speechify.V1FilesGetParametersKind? Type592 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type593 { get; set; }
+ public global::Speechify.FileKind? Type593 { get; set; }
///
///
///
- public global::Speechify.V1FilesPostRequestBodyContentMultipartFormDataSchemaKind? Type594 { get; set; }
+ public global::Speechify.FileSource? Type594 { get; set; }
///
///
///
- public global::Speechify.Store? Type595 { get; set; }
+ public global::Speechify.File? Type595 { get; set; }
///
///
///
- public global::Speechify.ListStoresResponse? Type596 { get; set; }
+ public global::Speechify.ListFilesResponse? Type596 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type597 { get; set; }
+ public global::System.Collections.Generic.IList? Type597 { get; set; }
///
///
///
- public global::Speechify.CreateStoreRequest? Type598 { get; set; }
+ public global::Speechify.V1FilesPostRequestBodyContentMultipartFormDataSchemaKind? Type598 { get; set; }
///
///
///
- public global::Speechify.UpdateStoreRequest? Type599 { get; set; }
+ public global::Speechify.Store? Type599 { get; set; }
///
///
///
- public global::Speechify.StoreCollection? Type600 { get; set; }
+ public global::Speechify.ListStoresResponse? Type600 { get; set; }
///
///
///
- public global::Speechify.ListStoreCollectionsResponse? Type601 { get; set; }
+ public global::System.Collections.Generic.IList? Type601 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type602 { get; set; }
+ public global::Speechify.CreateStoreRequest? Type602 { get; set; }
///
///
///
- public global::Speechify.StoreDocumentSource? Type603 { get; set; }
+ public global::Speechify.UpdateStoreRequest? Type603 { get; set; }
///
///
///
- public global::Speechify.StoreDocument? Type604 { get; set; }
+ public global::Speechify.StoreCollection? Type604 { get; set; }
///
///
///
- public global::Speechify.QueryStoreDocumentsResponse? Type605 { get; set; }
+ public global::Speechify.ListStoreCollectionsResponse? Type605 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type606 { get; set; }
+ public global::System.Collections.Generic.IList? Type606 { get; set; }
///
///
///
- public global::Speechify.WriteStoreDocumentRequest? Type607 { get; set; }
+ public global::Speechify.StoreDocumentSource? Type607 { get; set; }
///
///
///
- public global::Speechify.StoreWhereClauseOp? Type608 { get; set; }
+ public global::Speechify.StoreDocument? Type608 { get; set; }
///
///
///
- public global::Speechify.StoreWhereClause? Type609 { get; set; }
+ public global::Speechify.QueryStoreDocumentsResponse? Type609 { get; set; }
///
///
///
- public global::Speechify.StoreOrderByDirection? Type610 { get; set; }
+ public global::System.Collections.Generic.IList? Type610 { get; set; }
///
///
///
- public global::Speechify.StoreOrderBy? Type611 { get; set; }
+ public global::Speechify.WriteStoreDocumentRequest? Type611 { get; set; }
///
///
///
- public global::Speechify.StoreDocumentQuery? Type612 { get; set; }
+ public global::Speechify.StoreWhereClauseOp? Type612 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type613 { get; set; }
+ public global::Speechify.StoreWhereClause? Type613 { get; set; }
///
///
///
- public global::Speechify.StoreAggregateMetricOp? Type614 { get; set; }
+ public global::Speechify.StoreOrderByDirection? Type614 { get; set; }
///
///
///
- public global::Speechify.StoreAggregateMetric? Type615 { get; set; }
+ public global::Speechify.StoreOrderBy? Type615 { get; set; }
///
///
///
- public global::Speechify.StoreAggregateQuery? Type616 { get; set; }
+ public global::Speechify.StoreDocumentQuery? Type616 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type617 { get; set; }
+ public global::System.Collections.Generic.IList? Type617 { get; set; }
///
///
///
- public global::Speechify.StoreAggregateGroup? Type618 { get; set; }
+ public global::Speechify.StoreAggregateMetricOp? Type618 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type619 { get; set; }
+ public global::Speechify.StoreAggregateMetric? Type619 { get; set; }
///
///
///
- public global::Speechify.StoreAggregateResponse? Type620 { get; set; }
+ public global::Speechify.StoreAggregateQuery? Type620 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type621 { get; set; }
+ public global::System.Collections.Generic.IList? Type621 { get; set; }
///
///
///
- public global::Speechify.StoreBatchWriteOp? Type622 { get; set; }
+ public global::Speechify.StoreAggregateGroup? Type622 { get; set; }
///
///
///
- public global::Speechify.StoreBatchWrite? Type623 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type623 { get; set; }
///
///
///
- public global::Speechify.StoreBatchRequest? Type624 { get; set; }
+ public global::Speechify.StoreAggregateResponse? Type624 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type625 { get; set; }
+ public global::System.Collections.Generic.IList? Type625 { get; set; }
///
///
///
- public global::Speechify.StoreBatchResultOp? Type626 { get; set; }
+ public global::Speechify.StoreBatchWriteOp? Type626 { get; set; }
///
///
///
- public global::Speechify.StoreBatchResult? Type627 { get; set; }
+ public global::Speechify.StoreBatchWrite? Type627 { get; set; }
///
///
///
- public global::Speechify.StoreBatchResponse? Type628 { get; set; }
+ public global::Speechify.StoreBatchRequest? Type628 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type629 { get; set; }
+ public global::System.Collections.Generic.IList? Type629 { get; set; }
///
///
///
- public global::Speechify.ListAgentStoresResponse? Type630 { get; set; }
+ public global::Speechify.StoreBatchResultOp? Type630 { get; set; }
///
///
///
- public global::Speechify.HostedApiAuthMode? Type631 { get; set; }
+ public global::Speechify.StoreBatchResult? Type631 { get; set; }
///
///
///
- public global::Speechify.HostedAPI? Type632 { get; set; }
+ public global::Speechify.StoreBatchResponse? Type632 { get; set; }
///
///
///
- public global::Speechify.ListHostedAPIsResponse? Type633 { get; set; }
+ public global::System.Collections.Generic.IList? Type633 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type634 { get; set; }
+ public global::Speechify.ListAgentStoresResponse? Type634 { get; set; }
///
///
///
- public global::Speechify.CreateHostedApiRequestAuthMode? Type635 { get; set; }
+ public global::Speechify.HostedApiAuthMode? Type635 { get; set; }
///
///
///
- public global::Speechify.CreateHostedAPIRequest? Type636 { get; set; }
+ public global::Speechify.HostedAPI? Type636 { get; set; }
///
///
///
- public global::Speechify.UpdateHostedApiRequestAuthMode? Type637 { get; set; }
+ public global::Speechify.ListHostedAPIsResponse? Type637 { get; set; }
///
///
///
- public global::Speechify.UpdateHostedAPIRequest? Type638 { get; set; }
+ public global::System.Collections.Generic.IList? Type638 { get; set; }
///
///
///
- public global::Speechify.HostedApiUsageRoutesItems? Type639 { get; set; }
+ public global::Speechify.CreateHostedApiRequestAuthMode? Type639 { get; set; }
///
///
///
- public global::Speechify.HostedAPIUsage? Type640 { get; set; }
+ public global::Speechify.CreateHostedAPIRequest? Type640 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type641 { get; set; }
+ public global::Speechify.UpdateHostedApiRequestAuthMode? Type641 { get; set; }
///
///
///
- public global::Speechify.HostedApiRouteMethod? Type642 { get; set; }
+ public global::Speechify.UpdateHostedAPIRequest? Type642 { get; set; }
///
///
///
- public global::Speechify.HostedApiResolverType? Type643 { get; set; }
+ public global::Speechify.HostedApiUsageRoutesItems? Type643 { get; set; }
///
///
///
- public global::Speechify.HostedApiResolverWriteMode? Type644 { get; set; }
+ public global::Speechify.HostedAPIUsage? Type644 { get; set; }
///
///
///
- public global::Speechify.HostedApiResolverWhereItemsOp? Type645 { get; set; }
+ public global::System.Collections.Generic.IList? Type645 { get; set; }
///
///
///
- public global::Speechify.HostedApiResolverWhereItems? Type646 { get; set; }
+ public global::Speechify.HostedApiRouteMethod? Type646 { get; set; }
///
///
///
- public global::Speechify.HostedApiResolverOrderByDirection? Type647 { get; set; }
+ public global::Speechify.HostedApiResolverType? Type647 { get; set; }
///
///
///
- public global::Speechify.HostedApiResolverOrderBy? Type648 { get; set; }
+ public global::Speechify.HostedApiResolverWriteMode? Type648 { get; set; }
///
///
///
- public global::Speechify.HostedAPIResolver? Type649 { get; set; }
+ public global::Speechify.HostedApiResolverWhereItemsOp? Type649 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type650 { get; set; }
+ public global::Speechify.HostedApiResolverWhereItems? Type650 { get; set; }
///
///
///
- public global::Speechify.HostedAPIRoute? Type651 { get; set; }
+ public global::Speechify.HostedApiResolverOrderByDirection? Type651 { get; set; }
///
///
///
- public global::Speechify.ListHostedAPIRoutesResponse? Type652 { get; set; }
+ public global::Speechify.HostedApiResolverOrderBy? Type652 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type653 { get; set; }
+ public global::Speechify.HostedAPIResolver? Type653 { get; set; }
///
///
///
- public global::Speechify.CreateHostedApiRouteRequestMethod? Type654 { get; set; }
+ public global::System.Collections.Generic.IList? Type654 { get; set; }
///
///
///
- public global::Speechify.CreateHostedAPIRouteRequest? Type655 { get; set; }
+ public global::Speechify.HostedAPIRoute? Type655 { get; set; }
///
///
///
- public global::Speechify.UpdateHostedApiRouteRequestMethod? Type656 { get; set; }
+ public global::Speechify.ListHostedAPIRoutesResponse? Type656 { get; set; }
///
///
///
- public global::Speechify.UpdateHostedAPIRouteRequest? Type657 { get; set; }
+ public global::System.Collections.Generic.IList? Type657 { get; set; }
///
///
///
- public global::Speechify.HostedAPIKey? Type658 { get; set; }
+ public global::Speechify.CreateHostedApiRouteRequestMethod? Type658 { get; set; }
///
///
///
- public global::Speechify.ListHostedAPIKeysResponse? Type659 { get; set; }
+ public global::Speechify.CreateHostedAPIRouteRequest? Type659 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type660 { get; set; }
+ public global::Speechify.UpdateHostedApiRouteRequestMethod? Type660 { get; set; }
///
///
///
- public global::Speechify.CreateHostedAPIKeyRequest? Type661 { get; set; }
+ public global::Speechify.UpdateHostedAPIRouteRequest? Type661 { get; set; }
///
///
///
- public global::Speechify.HostedAPIUserTokenSecret? Type662 { get; set; }
+ public global::Speechify.HostedAPIKey? Type662 { get; set; }
///
///
///
- public global::Speechify.ContactIdentifierKind? Type663 { get; set; }
+ public global::Speechify.ListHostedAPIKeysResponse? Type663 { get; set; }
///
///
///
- public global::Speechify.ContactIdentifierAssertedBy? Type664 { get; set; }
+ public global::System.Collections.Generic.IList? Type664 { get; set; }
///
///
///
- public global::Speechify.ContactIdentifier? Type665 { get; set; }
+ public global::Speechify.CreateHostedAPIKeyRequest? Type665 { get; set; }
///
///
///
- public global::Speechify.Contact? Type666 { get; set; }
+ public global::Speechify.HostedAPIUserTokenSecret? Type666 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type667 { get; set; }
+ public global::Speechify.ContactIdentifierKind? Type667 { get; set; }
///
///
///
- public global::Speechify.ListContactsResponse? Type668 { get; set; }
+ public global::Speechify.ContactIdentifierAssertedBy? Type668 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type669 { get; set; }
+ public global::Speechify.ContactIdentifier? Type669 { get; set; }
///
///
///
- public global::Speechify.UpdateContactRequest? Type670 { get; set; }
+ public global::Speechify.Contact? Type670 { get; set; }
///
///
///
- public global::Speechify.DeleteContactResponse? Type671 { get; set; }
+ public global::System.Collections.Generic.IList? Type671 { get; set; }
///
///
///
- public global::Speechify.AttachContactIdentifierRequestKind? Type672 { get; set; }
+ public global::Speechify.ListContactsResponse? Type672 { get; set; }
///
///
///
- public global::Speechify.AttachContactIdentifierRequest? Type673 { get; set; }
+ public global::System.Collections.Generic.IList? Type673 { get; set; }
///
///
///
- public global::Speechify.MergeContactsRequest? Type674 { get; set; }
+ public global::Speechify.UpdateContactRequest? Type674 { get; set; }
///
///
///
- public global::Speechify.MergeContactsResponseMerged? Type675 { get; set; }
+ public global::Speechify.DeleteContactResponse? Type675 { get; set; }
///
///
///
- public global::Speechify.MergeContactsResponse? Type676 { get; set; }
+ public global::Speechify.AttachContactIdentifierRequestKind? Type676 { get; set; }
///
///
///
- public global::Speechify.BillingEntitlementsMaxLlmModelClass? Type677 { get; set; }
+ public global::Speechify.AttachContactIdentifierRequest? Type677 { get; set; }
///
///
///
- public global::Speechify.BillingEntitlements? Type678 { get; set; }
+ public global::Speechify.MergeContactsRequest? Type678 { get; set; }
///
///
///
- public global::Speechify.EntitlementsResponse? Type679 { get; set; }
+ public global::Speechify.MergeContactsResponseMerged? Type679 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type680 { get; set; }
+ public global::Speechify.MergeContactsResponse? Type680 { get; set; }
///
///
///
- public global::Speechify.ContactResolver? Type681 { get; set; }
+ public global::Speechify.BillingEntitlementsMaxLlmModelClass? Type681 { get; set; }
///
///
///
- public global::Speechify.PutContactResolverRequest? Type682 { get; set; }
+ public global::Speechify.BillingEntitlements? Type682 { get; set; }
///
///
///
- public global::Speechify.WebhookEndpoint? Type683 { get; set; }
+ public global::Speechify.EntitlementsResponse? Type683 { get; set; }
///
///
///
- public global::Speechify.ListWebhookEndpointsResponse? Type684 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type684 { get; set; }
///