From dfd91532165bfbd9a16aaddf17594c8f61a9d940 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 15 Sep 2026 18:39:09 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...chify.Documents.JsonSerializerContext.g.cs | 38 +- .../Speechify.HostedApisClient.Create.g.cs | 74 + .../Speechify.HostedApisClient.Delete.g.cs | 74 + .../Speechify.HostedApisClient.Get.g.cs | 74 + ...eechify.HostedApisClient.GetAnalytics.g.cs | 74 + ...Speechify.HostedApisClient.GetOpenApi.g.cs | 74 + .../Speechify.HostedApisClient.GetUsage.g.cs | 74 + .../Speechify.HostedApisClient.List.g.cs | 74 + ...ostedApisClient.RotateUserTokenSecret.g.cs | 74 + .../Speechify.HostedApisClient.Update.g.cs | 74 + .../Speechify.IRoutesClient.CreateRoute.g.cs | 5 +- .../Speechify.IRoutesClient.MountRoutes.g.cs | 65 +- .../Speechify.IRoutesClient.UpdateRoute.g.cs | 5 +- .../Speechify.JsonSerializerContext.g.cs | 615 +++--- .../Speechify.JsonSerializerContextTypes.g.cs | 1786 +++++++++-------- .../Speechify.KeysClient.CreateKey.g.cs | 74 + .../Speechify.KeysClient.ListKeys.g.cs | 74 + .../Speechify.KeysClient.RevokeKey.g.cs | 74 + .../Speechify.Models.AgentMemoryConfig.g.cs | 35 +- ...fy.Models.CreateHostedAPIRouteRequest.g.cs | 10 +- .../Generated/Speechify.Models.ErrorCode.g.cs | 6 + .../Speechify.Models.HostedAPIMount.g.cs | 20 +- ...dels.HostedAPIMountConflictError.Json.g.cs | 141 ++ ...fy.Models.HostedAPIMountConflictError.g.cs | 56 + .../Speechify.Models.HostedAPIResolver.g.cs | 5 +- .../Speechify.Models.HostedAPIRoute.g.cs | 10 +- ...HostedApiMountConflictErrorError.Json.g.cs | 141 ++ ...dels.HostedApiMountConflictErrorError.g.cs | 86 + ...piMountConflictErrorErrorDetails.Json.g.cs | 141 ++ ...stedApiMountConflictErrorErrorDetails.g.cs | 44 + ...ApiMountConflictErrorErrorFields.Json.g.cs | 141 ++ ...ostedApiMountConflictErrorErrorFields.g.cs | 19 + ...fy.Models.MountHostedAPIRoutesRequest.g.cs | 21 +- ...fy.Models.UpdateHostedAPIRouteRequest.g.cs | 10 +- ...peechify.Routes.JsonSerializerContext.g.cs | 41 +- .../Speechify.RoutesClient.CreateRoute.g.cs | 79 +- .../Speechify.RoutesClient.DeleteRoute.g.cs | 74 + .../Speechify.RoutesClient.GetRoute.g.cs | 74 + .../Speechify.RoutesClient.ListRoutes.g.cs | 74 + .../Speechify.RoutesClient.MountRoutes.g.cs | 150 +- .../Speechify.RoutesClient.UpdateRoute.g.cs | 79 +- src/libs/Speechify/openapi.yaml | 2 +- 42 files changed, 3586 insertions(+), 1275 deletions(-) create mode 100644 src/libs/Speechify/Generated/Speechify.Models.HostedAPIMountConflictError.Json.g.cs create mode 100644 src/libs/Speechify/Generated/Speechify.Models.HostedAPIMountConflictError.g.cs create mode 100644 src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorError.Json.g.cs create mode 100644 src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorError.g.cs create mode 100644 src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorDetails.Json.g.cs create mode 100644 src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorDetails.g.cs create mode 100644 src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorFields.Json.g.cs create mode 100644 src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorFields.g.cs diff --git a/src/libs/Speechify/Generated/Speechify.Documents.JsonSerializerContext.g.cs b/src/libs/Speechify/Generated/Speechify.Documents.JsonSerializerContext.g.cs index a7d1fd12..7fe385b1 100644 --- a/src/libs/Speechify/Generated/Speechify.Documents.JsonSerializerContext.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Documents.JsonSerializerContext.g.cs @@ -28,6 +28,9 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.Error))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp), TypeInfoPropertyName = "StoreAggregateMetricOp2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetric))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreDocumentSource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreDocument))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.QueryStoreDocumentsResponse))] @@ -39,10 +42,7 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreOrderBy))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreDocumentQuery))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp), TypeInfoPropertyName = "StoreAggregateMetricOp2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetric))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateQuery))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateGroup))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateResponse))] @@ -61,14 +61,14 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ErrorCode?), TypeInfoPropertyName = "NullableErrorCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp?), TypeInfoPropertyName = "NullableStoreAggregateMetricOp2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreWhereClauseOp?), TypeInfoPropertyName = "NullableStoreWhereClauseOp2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreOrderByDirection?), TypeInfoPropertyName = "NullableStoreOrderByDirection2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp?), TypeInfoPropertyName = "NullableStoreAggregateMetricOp2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreBatchWriteOp?), TypeInfoPropertyName = "NullableStoreBatchWriteOp2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreBatchResultOp?), TypeInfoPropertyName = "NullableStoreBatchResultOp2")] + [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))] @@ -142,6 +142,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Speechify.ErrorCode?) + || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp) + + || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?) + || typeToConvert == typeof(global::Speechify.StoreWhereClauseOp) || typeToConvert == typeof(global::Speechify.StoreWhereClauseOp?) @@ -150,10 +154,6 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Speechify.StoreOrderByDirection?) - || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp) - - || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?) - || typeToConvert == typeof(global::Speechify.StoreBatchWriteOp) || typeToConvert == typeof(global::Speechify.StoreBatchWriteOp?) @@ -177,6 +177,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Speechify.JsonConverters.ErrorCodeNullableJsonConverter(); } + if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp)) + { + return new global::Speechify.JsonConverters.StoreAggregateMetricOpJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?)) + { + return new global::Speechify.JsonConverters.StoreAggregateMetricOpNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Speechify.StoreWhereClauseOp)) { return new global::Speechify.JsonConverters.StoreWhereClauseOpJsonConverter(); @@ -197,16 +207,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Speechify.JsonConverters.StoreOrderByDirectionNullableJsonConverter(); } - if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp)) - { - return new global::Speechify.JsonConverters.StoreAggregateMetricOpJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?)) - { - return new global::Speechify.JsonConverters.StoreAggregateMetricOpNullableJsonConverter(); - } - if (typeToConvert == typeof(global::Speechify.StoreBatchWriteOp)) { return new global::Speechify.JsonConverters.StoreBatchWriteOpJsonConverter(); diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Create.g.cs index 1921f079..110fe625 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Create.g.cs @@ -590,6 +590,80 @@ partial void ProcessCreateResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Delete.g.cs index 86238765..48932f68 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Delete.g.cs @@ -491,6 +491,80 @@ partial void ProcessDeleteResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Get.g.cs index 813aa16b..1c23184b 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Get.g.cs @@ -491,6 +491,80 @@ partial void ProcessGetResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetAnalytics.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetAnalytics.g.cs index dc35c75c..62deca4b 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetAnalytics.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetAnalytics.g.cs @@ -551,6 +551,80 @@ partial void ProcessGetAnalyticsResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } // An upstream dependency (the TTS composer or voice-metadata service) returned a 5xx. The raw upstream detail is not forwarded - the cause is in the server log; the response is a fixed `upstream_failure` envelope. Safe to retry. if ((int)__response.StatusCode == 502) { diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetOpenApi.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetOpenApi.g.cs index 4288a7d2..45f74dc8 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetOpenApi.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetOpenApi.g.cs @@ -503,6 +503,80 @@ partial void ProcessGetOpenApiResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetUsage.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetUsage.g.cs index 6faede14..b3a35eed 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetUsage.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetUsage.g.cs @@ -501,6 +501,80 @@ partial void ProcessGetUsageResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.List.g.cs index 09b9f1d6..e5ec4960 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.List.g.cs @@ -524,6 +524,80 @@ partial void ProcessListResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.RotateUserTokenSecret.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.RotateUserTokenSecret.g.cs index 782b44bb..10564684 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.RotateUserTokenSecret.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.RotateUserTokenSecret.g.cs @@ -522,6 +522,80 @@ partial void ProcessRotateUserTokenSecretResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Update.g.cs index 0ac78e27..ebdf57cb 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Update.g.cs @@ -531,6 +531,80 @@ partial void ProcessUpdateResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.IRoutesClient.CreateRoute.g.cs b/src/libs/Speechify/Generated/Speechify.IRoutesClient.CreateRoute.g.cs index 52e930fe..5aa279aa 100644 --- a/src/libs/Speechify/Generated/Speechify.IRoutesClient.CreateRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.IRoutesClient.CreateRoute.g.cs @@ -240,7 +240,10 @@ public partial interface IRoutesClient /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
diff --git a/src/libs/Speechify/Generated/Speechify.IRoutesClient.MountRoutes.g.cs b/src/libs/Speechify/Generated/Speechify.IRoutesClient.MountRoutes.g.cs index 7eb50e19..e6a7d485 100644 --- a/src/libs/Speechify/Generated/Speechify.IRoutesClient.MountRoutes.g.cs +++ b/src/libs/Speechify/Generated/Speechify.IRoutesClient.MountRoutes.g.cs @@ -22,6 +22,19 @@ public partial interface IRoutesClient /// since a consumer may still call it). The same call without `dry_run`
/// writes every create and update in one transaction and returns the
/// written `route` on each.
+ /// Every answer carries a `plan_digest`. Send the preview's digest with
+ /// the apply: the apply plans again inside its transaction and writes
+ /// only when that plan still has the digest, so a tool the server changed
+ /// or a route edited after you reviewed is never written unseen. When it
+ /// differs the apply writes nothing and answers 409 `mount_plan_changed`
+ /// with the current plan, as a dry run answers it, in
+ /// `error.details.plan`; review that and apply again with its digest,
+ /// under a new `Idempotency-Key` if you sent one, since a key replays its
+ /// first answer, this 409 included. The digest covers every operation the
+ /// connector offers and every route the API holds for it whatever
+ /// `operations` selects, so a preview of everything and an apply of a
+ /// selection share one. An apply without it writes whatever the mount
+ /// plans at that moment.
/// Mounting again is the refresh. Every route the API holds for the
/// connector is compared with what it offers now, whatever its name,
/// path or the selection, so an upstream change is seen as a diff before
@@ -33,9 +46,9 @@ public partial interface IRoutesClient /// must be reachable with its credential to be listed (400
/// `validation_failed` on `tool_id` with the server's reason), and a
/// public API mounts nothing. An API holds at most 200 routes; a mount
- /// that would pass the cap skips what does not fit. A route changed while
- /// the mount was being planned answers 409 `api_route_conflict`; mount
- /// again.
+ /// that would pass the cap skips what does not fit. Without a
+ /// `plan_digest`, a route changed while the mount was being planned
+ /// answers 409 `api_route_conflict`; mount again.
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise). /// /// @@ -73,6 +86,19 @@ public partial interface IRoutesClient /// since a consumer may still call it). The same call without `dry_run`
/// writes every create and update in one transaction and returns the
/// written `route` on each.
+ /// Every answer carries a `plan_digest`. Send the preview's digest with
+ /// the apply: the apply plans again inside its transaction and writes
+ /// only when that plan still has the digest, so a tool the server changed
+ /// or a route edited after you reviewed is never written unseen. When it
+ /// differs the apply writes nothing and answers 409 `mount_plan_changed`
+ /// with the current plan, as a dry run answers it, in
+ /// `error.details.plan`; review that and apply again with its digest,
+ /// under a new `Idempotency-Key` if you sent one, since a key replays its
+ /// first answer, this 409 included. The digest covers every operation the
+ /// connector offers and every route the API holds for it whatever
+ /// `operations` selects, so a preview of everything and an apply of a
+ /// selection share one. An apply without it writes whatever the mount
+ /// plans at that moment.
/// Mounting again is the refresh. Every route the API holds for the
/// connector is compared with what it offers now, whatever its name,
/// path or the selection, so an upstream change is seen as a diff before
@@ -84,9 +110,9 @@ public partial interface IRoutesClient /// must be reachable with its credential to be listed (400
/// `validation_failed` on `tool_id` with the server's reason), and a
/// public API mounts nothing. An API holds at most 200 routes; a mount
- /// that would pass the cap skips what does not fit. A route changed while
- /// the mount was being planned answers 409 `api_route_conflict`; mount
- /// again.
+ /// that would pass the cap skips what does not fit. Without a
+ /// `plan_digest`, a route changed while the mount was being planned
+ /// answers 409 `api_route_conflict`; mount again.
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise). /// /// @@ -124,6 +150,19 @@ public partial interface IRoutesClient /// since a consumer may still call it). The same call without `dry_run`
/// writes every create and update in one transaction and returns the
/// written `route` on each.
+ /// Every answer carries a `plan_digest`. Send the preview's digest with
+ /// the apply: the apply plans again inside its transaction and writes
+ /// only when that plan still has the digest, so a tool the server changed
+ /// or a route edited after you reviewed is never written unseen. When it
+ /// differs the apply writes nothing and answers 409 `mount_plan_changed`
+ /// with the current plan, as a dry run answers it, in
+ /// `error.details.plan`; review that and apply again with its digest,
+ /// under a new `Idempotency-Key` if you sent one, since a key replays its
+ /// first answer, this 409 included. The digest covers every operation the
+ /// connector offers and every route the API holds for it whatever
+ /// `operations` selects, so a preview of everything and an apply of a
+ /// selection share one. An apply without it writes whatever the mount
+ /// plans at that moment.
/// Mounting again is the refresh. Every route the API holds for the
/// connector is compared with what it offers now, whatever its name,
/// path or the selection, so an upstream change is seen as a diff before
@@ -135,9 +174,9 @@ public partial interface IRoutesClient /// must be reachable with its credential to be listed (400
/// `validation_failed` on `tool_id` with the server's reason), and a
/// public API mounts nothing. An API holds at most 200 routes; a mount
- /// that would pass the cap skips what does not fit. A route changed while
- /// the mount was being planned answers 409 `api_route_conflict`; mount
- /// again.
+ /// that would pass the cap skips what does not fit. Without a
+ /// `plan_digest`, a route changed while the mount was being planned
+ /// answers 409 `api_route_conflict`; mount again.
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise). /// /// @@ -170,6 +209,13 @@ public partial interface IRoutesClient /// takes them; the operation's `approval` must still be `auto`.
/// Without it a write is a `skip` that says so. /// + /// + /// The `plan_digest` of the preview you reviewed. The apply writes
+ /// only while the plan it computes inside its transaction still has
+ /// this digest, and otherwise writes nothing and answers 409
+ /// `mount_plan_changed` with the current plan. Omit it to apply what
+ /// the mount plans now. Refused with `dry_run`. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -183,6 +229,7 @@ public partial interface IRoutesClient string? pathPrefix = default, bool? dryRun = default, bool? includeWrites = default, + string? planDigest = default, global::Speechify.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Speechify/Generated/Speechify.IRoutesClient.UpdateRoute.g.cs b/src/libs/Speechify/Generated/Speechify.IRoutesClient.UpdateRoute.g.cs index 5071e78a..9f9d1573 100644 --- a/src/libs/Speechify/Generated/Speechify.IRoutesClient.UpdateRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.IRoutesClient.UpdateRoute.g.cs @@ -118,7 +118,10 @@ public partial interface IRoutesClient /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
diff --git a/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs b/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs index 03b1f112..cfd1e471 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs @@ -75,6 +75,60 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.WatermarkDetectionResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.WatermarkVerificationResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiAuthMode), TypeInfoPropertyName = "HostedApiAuthMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPI))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListHostedAPIsResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedApiRequestAuthMode), TypeInfoPropertyName = "CreateHostedApiRequestAuthMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedAPIRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedApiRequestAuthMode), TypeInfoPropertyName = "UpdateHostedApiRequestAuthMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedAPIRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiUsageRoutesItems))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIUsage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity), TypeInfoPropertyName = "V1ApisApiIdAnalyticsGetParametersGranularity2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.RequestAnalyticsTotals))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.RequestAnalyticsBucket))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.RequestTopPath))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.RequestAnalyticsResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiRouteMethod), TypeInfoPropertyName = "HostedApiRouteMethod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverType), TypeInfoPropertyName = "HostedApiResolverType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWriteMode), TypeInfoPropertyName = "HostedApiResolverWriteMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWhereItemsOp), TypeInfoPropertyName = "HostedApiResolverWhereItemsOp2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWhereItems))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverOrderByDirection), TypeInfoPropertyName = "HostedApiResolverOrderByDirection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverOrderBy))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp), TypeInfoPropertyName = "StoreAggregateMetricOp2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetric))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIResolver))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIRoute))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListHostedAPIRoutesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedApiRouteRequestMethod), TypeInfoPropertyName = "CreateHostedApiRouteRequestMethod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedAPIRouteRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.MountHostedAPIRoutesRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountToolKind), TypeInfoPropertyName = "HostedApiMountToolKind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountOperationAction), TypeInfoPropertyName = "HostedApiMountOperationAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountOperationChangesItems), TypeInfoPropertyName = "HostedApiMountOperationChangesItems2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIMountOperation))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIMountSummary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIMount))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountConflictErrorErrorDetails))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountConflictErrorError))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIMountConflictError))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedApiRouteRequestMethod), TypeInfoPropertyName = "UpdateHostedApiRouteRequestMethod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedAPIRouteRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIKey))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListHostedAPIKeysResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedAPIKeyRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIUserTokenSecret))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentChannel), TypeInfoPropertyName = "AgentChannel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentAdditionalLanguage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentLlmConfigProvider), TypeInfoPropertyName = "AgentLlmConfigProvider2")] @@ -460,6 +514,18 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.TestWebhookConnectionRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.WebhookProbeResult))] + internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + })] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ImportOpenApiRequestSpec), TypeInfoPropertyName = "ImportOpenApiRequestSpec2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ImportOpenAPIRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ImportedOpenAPIDocument))] @@ -514,18 +580,6 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.DataAssertion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.SimulationConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateAgentTestRequestConfig), TypeInfoPropertyName = "CreateAgentTestRequestConfig2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.MockingStrategy), TypeInfoPropertyName = "MockingStrategy2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ToolMock))] @@ -714,10 +768,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreOrderBy))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreDocumentQuery))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp), TypeInfoPropertyName = "StoreAggregateMetricOp2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetric))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateQuery))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateGroup))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateResponse))] @@ -731,54 +782,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreBatchResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListAgentStoresResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiAuthMode), TypeInfoPropertyName = "HostedApiAuthMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPI))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListHostedAPIsResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedApiRequestAuthMode), TypeInfoPropertyName = "CreateHostedApiRequestAuthMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedAPIRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedApiRequestAuthMode), TypeInfoPropertyName = "UpdateHostedApiRequestAuthMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedAPIRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiUsageRoutesItems))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIUsage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity), TypeInfoPropertyName = "V1ApisApiIdAnalyticsGetParametersGranularity2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.RequestAnalyticsTotals))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.RequestAnalyticsBucket))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.RequestTopPath))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.RequestAnalyticsResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiRouteMethod), TypeInfoPropertyName = "HostedApiRouteMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverType), TypeInfoPropertyName = "HostedApiResolverType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWriteMode), TypeInfoPropertyName = "HostedApiResolverWriteMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWhereItemsOp), TypeInfoPropertyName = "HostedApiResolverWhereItemsOp2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWhereItems))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverOrderByDirection), TypeInfoPropertyName = "HostedApiResolverOrderByDirection2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverOrderBy))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIResolver))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIRoute))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListHostedAPIRoutesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedApiRouteRequestMethod), TypeInfoPropertyName = "CreateHostedApiRouteRequestMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedAPIRouteRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.MountHostedAPIRoutesRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountToolKind), TypeInfoPropertyName = "HostedApiMountToolKind2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountOperationAction), TypeInfoPropertyName = "HostedApiMountOperationAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountOperationChangesItems), TypeInfoPropertyName = "HostedApiMountOperationChangesItems2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIMountOperation))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIMountSummary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIMount))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedApiRouteRequestMethod), TypeInfoPropertyName = "UpdateHostedApiRouteRequestMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedAPIRouteRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIKey))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListHostedAPIKeysResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedAPIKeyRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIUserTokenSecret))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ContactIdentifierKind), TypeInfoPropertyName = "ContactIdentifierKind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ContactIdentifierAssertedBy), TypeInfoPropertyName = "ContactIdentifierAssertedBy2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ContactIdentifier))] @@ -877,6 +880,21 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.GetVoiceType?), TypeInfoPropertyName = "NullableGetVoiceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.V1VoicesPostRequestBodyContentMultipartFormDataSchemaGender?), TypeInfoPropertyName = "NullableV1VoicesPostRequestBodyContentMultipartFormDataSchemaGender2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiAuthMode?), TypeInfoPropertyName = "NullableHostedApiAuthMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedApiRequestAuthMode?), TypeInfoPropertyName = "NullableCreateHostedApiRequestAuthMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedApiRequestAuthMode?), TypeInfoPropertyName = "NullableUpdateHostedApiRequestAuthMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity?), TypeInfoPropertyName = "NullableV1ApisApiIdAnalyticsGetParametersGranularity2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiRouteMethod?), TypeInfoPropertyName = "NullableHostedApiRouteMethod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverType?), TypeInfoPropertyName = "NullableHostedApiResolverType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWriteMode?), TypeInfoPropertyName = "NullableHostedApiResolverWriteMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWhereItemsOp?), TypeInfoPropertyName = "NullableHostedApiResolverWhereItemsOp2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverOrderByDirection?), TypeInfoPropertyName = "NullableHostedApiResolverOrderByDirection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp?), TypeInfoPropertyName = "NullableStoreAggregateMetricOp2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedApiRouteRequestMethod?), TypeInfoPropertyName = "NullableCreateHostedApiRouteRequestMethod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountToolKind?), TypeInfoPropertyName = "NullableHostedApiMountToolKind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountOperationAction?), TypeInfoPropertyName = "NullableHostedApiMountOperationAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountOperationChangesItems?), TypeInfoPropertyName = "NullableHostedApiMountOperationChangesItems2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedApiRouteRequestMethod?), TypeInfoPropertyName = "NullableUpdateHostedApiRouteRequestMethod2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentChannel?), TypeInfoPropertyName = "NullableAgentChannel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentLlmConfigProvider?), TypeInfoPropertyName = "NullableAgentLlmConfigProvider2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentLlmConfigReasoningEffort?), TypeInfoPropertyName = "NullableAgentLlmConfigReasoningEffort2")] @@ -1008,24 +1026,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentTriggerLastFireStatus?), TypeInfoPropertyName = "NullableAgentTriggerLastFireStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateAgentTriggerRequestType?), TypeInfoPropertyName = "NullableCreateAgentTriggerRequestType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentTriggerFireResponseStatus?), TypeInfoPropertyName = "NullableAgentTriggerFireResponseStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.V1FilesGetParametersKind?), TypeInfoPropertyName = "NullableV1FilesGetParametersKind2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.V1FilesPostRequestBodyContentMultipartFormDataSchemaKind?), TypeInfoPropertyName = "NullableV1FilesPostRequestBodyContentMultipartFormDataSchemaKind2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreWhereClauseOp?), TypeInfoPropertyName = "NullableStoreWhereClauseOp2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreOrderByDirection?), TypeInfoPropertyName = "NullableStoreOrderByDirection2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp?), TypeInfoPropertyName = "NullableStoreAggregateMetricOp2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreBatchWriteOp?), TypeInfoPropertyName = "NullableStoreBatchWriteOp2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreBatchResultOp?), TypeInfoPropertyName = "NullableStoreBatchResultOp2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiAuthMode?), TypeInfoPropertyName = "NullableHostedApiAuthMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedApiRequestAuthMode?), TypeInfoPropertyName = "NullableCreateHostedApiRequestAuthMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedApiRequestAuthMode?), TypeInfoPropertyName = "NullableUpdateHostedApiRequestAuthMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity?), TypeInfoPropertyName = "NullableV1ApisApiIdAnalyticsGetParametersGranularity2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiRouteMethod?), TypeInfoPropertyName = "NullableHostedApiRouteMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverType?), TypeInfoPropertyName = "NullableHostedApiResolverType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWriteMode?), TypeInfoPropertyName = "NullableHostedApiResolverWriteMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWhereItemsOp?), TypeInfoPropertyName = "NullableHostedApiResolverWhereItemsOp2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverOrderByDirection?), TypeInfoPropertyName = "NullableHostedApiResolverOrderByDirection2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedApiRouteRequestMethod?), TypeInfoPropertyName = "NullableCreateHostedApiRouteRequestMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountToolKind?), TypeInfoPropertyName = "NullableHostedApiMountToolKind2")] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1038,9 +1038,12 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex Converters = new global::System.Type[] { })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountOperationAction?), TypeInfoPropertyName = "NullableHostedApiMountOperationAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountOperationChangesItems?), TypeInfoPropertyName = "NullableHostedApiMountOperationChangesItems2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedApiRouteRequestMethod?), TypeInfoPropertyName = "NullableUpdateHostedApiRouteRequestMethod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.V1FilesGetParametersKind?), TypeInfoPropertyName = "NullableV1FilesGetParametersKind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.V1FilesPostRequestBodyContentMultipartFormDataSchemaKind?), TypeInfoPropertyName = "NullableV1FilesPostRequestBodyContentMultipartFormDataSchemaKind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreWhereClauseOp?), TypeInfoPropertyName = "NullableStoreWhereClauseOp2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreOrderByDirection?), TypeInfoPropertyName = "NullableStoreOrderByDirection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreBatchWriteOp?), TypeInfoPropertyName = "NullableStoreBatchWriteOp2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreBatchResultOp?), TypeInfoPropertyName = "NullableStoreBatchResultOp2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ContactIdentifierKind?), TypeInfoPropertyName = "NullableContactIdentifierKind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ContactIdentifierAssertedBy?), TypeInfoPropertyName = "NullableContactIdentifierAssertedBy2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AttachContactIdentifierRequestKind?), TypeInfoPropertyName = "NullableAttachContactIdentifierRequestKind2")] @@ -1058,6 +1061,16 @@ internal sealed partial class SourceGenerationContextChunk1 : 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))] + [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))] @@ -1166,19 +1179,9 @@ internal sealed partial class SourceGenerationContextChunk1 : 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))] - [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))] [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))] @@ -1336,6 +1339,66 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Speechify.V1VoicesPostRequestBodyContentMultipartFormDataSchemaGender?) + || typeToConvert == typeof(global::Speechify.HostedApiAuthMode) + + || typeToConvert == typeof(global::Speechify.HostedApiAuthMode?) + + || typeToConvert == typeof(global::Speechify.CreateHostedApiRequestAuthMode) + + || typeToConvert == typeof(global::Speechify.CreateHostedApiRequestAuthMode?) + + || typeToConvert == typeof(global::Speechify.UpdateHostedApiRequestAuthMode) + + || typeToConvert == typeof(global::Speechify.UpdateHostedApiRequestAuthMode?) + + || typeToConvert == typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity) + + || typeToConvert == typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity?) + + || typeToConvert == typeof(global::Speechify.HostedApiRouteMethod) + + || typeToConvert == typeof(global::Speechify.HostedApiRouteMethod?) + + || typeToConvert == typeof(global::Speechify.HostedApiResolverType) + + || typeToConvert == typeof(global::Speechify.HostedApiResolverType?) + + || typeToConvert == typeof(global::Speechify.HostedApiResolverWriteMode) + + || typeToConvert == typeof(global::Speechify.HostedApiResolverWriteMode?) + + || typeToConvert == typeof(global::Speechify.HostedApiResolverWhereItemsOp) + + || typeToConvert == typeof(global::Speechify.HostedApiResolverWhereItemsOp?) + + || typeToConvert == typeof(global::Speechify.HostedApiResolverOrderByDirection) + + || typeToConvert == typeof(global::Speechify.HostedApiResolverOrderByDirection?) + + || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp) + + || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?) + + || typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod) + + || typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod?) + + || typeToConvert == typeof(global::Speechify.HostedApiMountToolKind) + + || typeToConvert == typeof(global::Speechify.HostedApiMountToolKind?) + + || typeToConvert == typeof(global::Speechify.HostedApiMountOperationAction) + + || typeToConvert == typeof(global::Speechify.HostedApiMountOperationAction?) + + || typeToConvert == typeof(global::Speechify.HostedApiMountOperationChangesItems) + + || typeToConvert == typeof(global::Speechify.HostedApiMountOperationChangesItems?) + + || typeToConvert == typeof(global::Speechify.UpdateHostedApiRouteRequestMethod) + + || typeToConvert == typeof(global::Speechify.UpdateHostedApiRouteRequestMethod?) + || typeToConvert == typeof(global::Speechify.AgentChannel) || typeToConvert == typeof(global::Speechify.AgentChannel?) @@ -1824,10 +1887,6 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Speechify.StoreOrderByDirection?) - || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp) - - || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?) - || typeToConvert == typeof(global::Speechify.StoreBatchWriteOp) || typeToConvert == typeof(global::Speechify.StoreBatchWriteOp?) @@ -1836,65 +1895,9 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Speechify.StoreBatchResultOp?) - || typeToConvert == typeof(global::Speechify.HostedApiAuthMode) + || typeToConvert == typeof(global::Speechify.ContactIdentifierKind) - || typeToConvert == typeof(global::Speechify.HostedApiAuthMode?) - - || typeToConvert == typeof(global::Speechify.CreateHostedApiRequestAuthMode) - - || typeToConvert == typeof(global::Speechify.CreateHostedApiRequestAuthMode?) - - || typeToConvert == typeof(global::Speechify.UpdateHostedApiRequestAuthMode) - - || typeToConvert == typeof(global::Speechify.UpdateHostedApiRequestAuthMode?) - - || typeToConvert == typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity) - - || typeToConvert == typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity?) - - || typeToConvert == typeof(global::Speechify.HostedApiRouteMethod) - - || typeToConvert == typeof(global::Speechify.HostedApiRouteMethod?) - - || typeToConvert == typeof(global::Speechify.HostedApiResolverType) - - || typeToConvert == typeof(global::Speechify.HostedApiResolverType?) - - || typeToConvert == typeof(global::Speechify.HostedApiResolverWriteMode) - - || typeToConvert == typeof(global::Speechify.HostedApiResolverWriteMode?) - - || typeToConvert == typeof(global::Speechify.HostedApiResolverWhereItemsOp) - - || typeToConvert == typeof(global::Speechify.HostedApiResolverWhereItemsOp?) - - || typeToConvert == typeof(global::Speechify.HostedApiResolverOrderByDirection) - - || typeToConvert == typeof(global::Speechify.HostedApiResolverOrderByDirection?) - - || typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod) - - || typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod?) - - || typeToConvert == typeof(global::Speechify.HostedApiMountToolKind) - - || typeToConvert == typeof(global::Speechify.HostedApiMountToolKind?) - - || typeToConvert == typeof(global::Speechify.HostedApiMountOperationAction) - - || typeToConvert == typeof(global::Speechify.HostedApiMountOperationAction?) - - || typeToConvert == typeof(global::Speechify.HostedApiMountOperationChangesItems) - - || typeToConvert == typeof(global::Speechify.HostedApiMountOperationChangesItems?) - - || typeToConvert == typeof(global::Speechify.UpdateHostedApiRouteRequestMethod) - - || typeToConvert == typeof(global::Speechify.UpdateHostedApiRouteRequestMethod?) - - || typeToConvert == typeof(global::Speechify.ContactIdentifierKind) - - || typeToConvert == typeof(global::Speechify.ContactIdentifierKind?) + || typeToConvert == typeof(global::Speechify.ContactIdentifierKind?) || typeToConvert == typeof(global::Speechify.ContactIdentifierAssertedBy) @@ -2131,6 +2134,156 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Speechify.JsonConverters.V1VoicesPostRequestBodyContentMultipartFormDataSchemaGenderNullableJsonConverter(); } + if (typeToConvert == typeof(global::Speechify.HostedApiAuthMode)) + { + return new global::Speechify.JsonConverters.HostedApiAuthModeJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiAuthMode?)) + { + return new global::Speechify.JsonConverters.HostedApiAuthModeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.CreateHostedApiRequestAuthMode)) + { + return new global::Speechify.JsonConverters.CreateHostedApiRequestAuthModeJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.CreateHostedApiRequestAuthMode?)) + { + return new global::Speechify.JsonConverters.CreateHostedApiRequestAuthModeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.UpdateHostedApiRequestAuthMode)) + { + return new global::Speechify.JsonConverters.UpdateHostedApiRequestAuthModeJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.UpdateHostedApiRequestAuthMode?)) + { + return new global::Speechify.JsonConverters.UpdateHostedApiRequestAuthModeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity)) + { + return new global::Speechify.JsonConverters.V1ApisApiIdAnalyticsGetParametersGranularityJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity?)) + { + return new global::Speechify.JsonConverters.V1ApisApiIdAnalyticsGetParametersGranularityNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiRouteMethod)) + { + return new global::Speechify.JsonConverters.HostedApiRouteMethodJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiRouteMethod?)) + { + return new global::Speechify.JsonConverters.HostedApiRouteMethodNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiResolverType)) + { + return new global::Speechify.JsonConverters.HostedApiResolverTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiResolverType?)) + { + return new global::Speechify.JsonConverters.HostedApiResolverTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiResolverWriteMode)) + { + return new global::Speechify.JsonConverters.HostedApiResolverWriteModeJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiResolverWriteMode?)) + { + return new global::Speechify.JsonConverters.HostedApiResolverWriteModeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiResolverWhereItemsOp)) + { + return new global::Speechify.JsonConverters.HostedApiResolverWhereItemsOpJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiResolverWhereItemsOp?)) + { + return new global::Speechify.JsonConverters.HostedApiResolverWhereItemsOpNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiResolverOrderByDirection)) + { + return new global::Speechify.JsonConverters.HostedApiResolverOrderByDirectionJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiResolverOrderByDirection?)) + { + return new global::Speechify.JsonConverters.HostedApiResolverOrderByDirectionNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp)) + { + return new global::Speechify.JsonConverters.StoreAggregateMetricOpJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?)) + { + return new global::Speechify.JsonConverters.StoreAggregateMetricOpNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod)) + { + return new global::Speechify.JsonConverters.CreateHostedApiRouteRequestMethodJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod?)) + { + return new global::Speechify.JsonConverters.CreateHostedApiRouteRequestMethodNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiMountToolKind)) + { + return new global::Speechify.JsonConverters.HostedApiMountToolKindJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiMountToolKind?)) + { + return new global::Speechify.JsonConverters.HostedApiMountToolKindNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiMountOperationAction)) + { + return new global::Speechify.JsonConverters.HostedApiMountOperationActionJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiMountOperationAction?)) + { + return new global::Speechify.JsonConverters.HostedApiMountOperationActionNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiMountOperationChangesItems)) + { + return new global::Speechify.JsonConverters.HostedApiMountOperationChangesItemsJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.HostedApiMountOperationChangesItems?)) + { + return new global::Speechify.JsonConverters.HostedApiMountOperationChangesItemsNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.UpdateHostedApiRouteRequestMethod)) + { + return new global::Speechify.JsonConverters.UpdateHostedApiRouteRequestMethodJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.UpdateHostedApiRouteRequestMethod?)) + { + return new global::Speechify.JsonConverters.UpdateHostedApiRouteRequestMethodNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Speechify.AgentChannel)) { return new global::Speechify.JsonConverters.AgentChannelJsonConverter(); @@ -3351,16 +3504,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Speechify.JsonConverters.StoreOrderByDirectionNullableJsonConverter(); } - if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp)) - { - return new global::Speechify.JsonConverters.StoreAggregateMetricOpJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?)) - { - return new global::Speechify.JsonConverters.StoreAggregateMetricOpNullableJsonConverter(); - } - if (typeToConvert == typeof(global::Speechify.StoreBatchWriteOp)) { return new global::Speechify.JsonConverters.StoreBatchWriteOpJsonConverter(); @@ -3381,146 +3524,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Speechify.JsonConverters.StoreBatchResultOpNullableJsonConverter(); } - if (typeToConvert == typeof(global::Speechify.HostedApiAuthMode)) - { - return new global::Speechify.JsonConverters.HostedApiAuthModeJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiAuthMode?)) - { - return new global::Speechify.JsonConverters.HostedApiAuthModeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.CreateHostedApiRequestAuthMode)) - { - return new global::Speechify.JsonConverters.CreateHostedApiRequestAuthModeJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.CreateHostedApiRequestAuthMode?)) - { - return new global::Speechify.JsonConverters.CreateHostedApiRequestAuthModeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.UpdateHostedApiRequestAuthMode)) - { - return new global::Speechify.JsonConverters.UpdateHostedApiRequestAuthModeJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.UpdateHostedApiRequestAuthMode?)) - { - return new global::Speechify.JsonConverters.UpdateHostedApiRequestAuthModeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity)) - { - return new global::Speechify.JsonConverters.V1ApisApiIdAnalyticsGetParametersGranularityJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity?)) - { - return new global::Speechify.JsonConverters.V1ApisApiIdAnalyticsGetParametersGranularityNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiRouteMethod)) - { - return new global::Speechify.JsonConverters.HostedApiRouteMethodJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiRouteMethod?)) - { - return new global::Speechify.JsonConverters.HostedApiRouteMethodNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiResolverType)) - { - return new global::Speechify.JsonConverters.HostedApiResolverTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiResolverType?)) - { - return new global::Speechify.JsonConverters.HostedApiResolverTypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiResolverWriteMode)) - { - return new global::Speechify.JsonConverters.HostedApiResolverWriteModeJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiResolverWriteMode?)) - { - return new global::Speechify.JsonConverters.HostedApiResolverWriteModeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiResolverWhereItemsOp)) - { - return new global::Speechify.JsonConverters.HostedApiResolverWhereItemsOpJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiResolverWhereItemsOp?)) - { - return new global::Speechify.JsonConverters.HostedApiResolverWhereItemsOpNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiResolverOrderByDirection)) - { - return new global::Speechify.JsonConverters.HostedApiResolverOrderByDirectionJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiResolverOrderByDirection?)) - { - return new global::Speechify.JsonConverters.HostedApiResolverOrderByDirectionNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod)) - { - return new global::Speechify.JsonConverters.CreateHostedApiRouteRequestMethodJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod?)) - { - return new global::Speechify.JsonConverters.CreateHostedApiRouteRequestMethodNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiMountToolKind)) - { - return new global::Speechify.JsonConverters.HostedApiMountToolKindJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiMountToolKind?)) - { - return new global::Speechify.JsonConverters.HostedApiMountToolKindNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiMountOperationAction)) - { - return new global::Speechify.JsonConverters.HostedApiMountOperationActionJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiMountOperationAction?)) - { - return new global::Speechify.JsonConverters.HostedApiMountOperationActionNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiMountOperationChangesItems)) - { - return new global::Speechify.JsonConverters.HostedApiMountOperationChangesItemsJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.HostedApiMountOperationChangesItems?)) - { - return new global::Speechify.JsonConverters.HostedApiMountOperationChangesItemsNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.UpdateHostedApiRouteRequestMethod)) - { - return new global::Speechify.JsonConverters.UpdateHostedApiRouteRequestMethodJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.UpdateHostedApiRouteRequestMethod?)) - { - return new global::Speechify.JsonConverters.UpdateHostedApiRouteRequestMethodNullableJsonConverter(); - } - if (typeToConvert == typeof(global::Speechify.ContactIdentifierKind)) { return new global::Speechify.JsonConverters.ContactIdentifierKindJsonConverter(); diff --git a/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs b/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs index 334c5bbe..f2a8a97a 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs @@ -265,3063 +265,3075 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Speechify.AgentChannel? Type58 { get; set; } + public global::Speechify.HostedApiAuthMode? Type58 { get; set; } /// /// /// - public global::Speechify.AgentAdditionalLanguage? Type59 { get; set; } + public global::Speechify.HostedAPI? Type59 { get; set; } /// /// /// - public global::Speechify.AgentLlmConfigProvider? Type60 { get; set; } + public global::Speechify.ListHostedAPIsResponse? Type60 { get; set; } /// /// /// - public global::Speechify.AgentLlmConfigReasoningEffort? Type61 { get; set; } + public global::System.Collections.Generic.IList? Type61 { get; set; } /// /// /// - public global::Speechify.AgentLLMConfig? Type62 { get; set; } + public global::Speechify.CreateHostedApiRequestAuthMode? Type62 { get; set; } /// /// /// - public global::Speechify.AgentTTSConfig? Type63 { get; set; } + public global::Speechify.CreateHostedAPIRequest? Type63 { get; set; } /// /// /// - public global::Speechify.AgentTurnHandlingConfigInterruptionSensitivity? Type64 { get; set; } + public global::Speechify.UpdateHostedApiRequestAuthMode? Type64 { get; set; } /// /// /// - public global::Speechify.AgentTurnHandlingConfig? Type65 { get; set; } + public global::Speechify.UpdateHostedAPIRequest? Type65 { get; set; } /// /// /// - public global::Speechify.AgentMemoryConfig? Type66 { get; set; } + public global::Speechify.HostedApiUsageRoutesItems? Type66 { get; set; } /// /// /// - public global::Speechify.AgentNavigatorConfig? Type67 { get; set; } + public global::Speechify.HostedAPIUsage? Type67 { get; set; } /// /// /// - public global::Speechify.AgentGuardrailsConfig? Type68 { get; set; } + public global::System.Collections.Generic.IList? Type68 { get; set; } /// /// /// - public global::Speechify.AgentBackgroundNoiseConfigPreset? Type69 { get; set; } + public global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity? Type69 { get; set; } /// /// /// - public global::Speechify.AgentBackgroundNoiseConfig? Type70 { get; set; } + public global::Speechify.RequestAnalyticsTotals? Type70 { get; set; } /// /// /// - public global::Speechify.WidgetConfigStyle? Type71 { get; set; } + public global::Speechify.RequestAnalyticsBucket? Type71 { get; set; } /// /// /// - public global::Speechify.WidgetConfigTheme? Type72 { get; set; } + public global::Speechify.RequestTopPath? Type72 { get; set; } /// /// /// - public global::Speechify.WidgetConfigAvatarType? Type73 { get; set; } + public global::Speechify.RequestAnalyticsResponse? Type73 { get; set; } /// /// /// - public global::Speechify.WidgetConfigAvatar? Type74 { get; set; } + public global::System.Collections.Generic.IList? Type74 { get; set; } /// /// /// - public global::Speechify.WidgetConfigText? Type75 { get; set; } + public global::System.Collections.Generic.IList? Type75 { get; set; } /// /// /// - public global::Speechify.WidgetConfigTerms? Type76 { get; set; } + public global::Speechify.HostedApiRouteMethod? Type76 { get; set; } /// /// /// - public global::Speechify.WidgetConfigTranscript? Type77 { get; set; } + public global::Speechify.HostedApiResolverType? Type77 { get; set; } /// /// /// - public global::Speechify.WidgetConfigTelemetry? Type78 { get; set; } + public global::Speechify.HostedApiResolverWriteMode? Type78 { get; set; } /// /// /// - public global::Speechify.WidgetConfig? Type79 { get; set; } + public global::Speechify.HostedApiResolverWhereItemsOp? Type79 { get; set; } /// /// /// - public global::Speechify.AmdConfigOnVoicemailAction? Type80 { get; set; } + public global::Speechify.HostedApiResolverWhereItems? Type80 { get; set; } /// /// /// - public global::Speechify.AmdConfigOnVoicemail? Type81 { get; set; } + public global::Speechify.HostedApiResolverOrderByDirection? Type81 { get; set; } /// /// /// - public global::Speechify.AmdConfigOnIvrAction? Type82 { get; set; } + public global::Speechify.HostedApiResolverOrderBy? Type82 { get; set; } /// /// /// - public global::Speechify.AmdConfigOnIvr? Type83 { get; set; } + public global::Speechify.StoreAggregateMetricOp? Type83 { get; set; } /// /// /// - public global::Speechify.AmdConfigOnUnavailableAction? Type84 { get; set; } + public global::Speechify.StoreAggregateMetric? Type84 { get; set; } /// /// /// - public global::Speechify.AmdConfigOnUnavailable? Type85 { get; set; } + public global::Speechify.HostedAPIResolver? Type85 { get; set; } /// /// /// - public global::Speechify.AmdConfigTuning? Type86 { get; set; } + public global::System.Collections.Generic.IList? Type86 { get; set; } /// /// /// - public global::Speechify.AMDConfig? Type87 { get; set; } + public global::System.Collections.Generic.IList? Type87 { get; set; } /// /// /// - public global::Speechify.AIDisclosure? Type88 { get; set; } + public global::Speechify.HostedAPIRoute? Type88 { get; set; } /// /// /// - public global::Speechify.Agent? Type89 { get; set; } + public global::Speechify.ListHostedAPIRoutesResponse? Type89 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type90 { get; set; } + public global::System.Collections.Generic.IList? Type90 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type91 { get; set; } + public global::Speechify.CreateHostedApiRouteRequestMethod? Type91 { get; set; } /// /// /// - public global::Speechify.ListAgentsResponse? Type92 { get; set; } + public global::Speechify.CreateHostedAPIRouteRequest? Type92 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type93 { get; set; } + public global::Speechify.MountHostedAPIRoutesRequest? Type93 { get; set; } /// /// /// - public global::Speechify.CreateAgentRequest? Type94 { get; set; } + public global::Speechify.HostedApiMountToolKind? Type94 { get; set; } /// /// /// - public global::Speechify.AgentVoiceType? Type95 { get; set; } + public global::Speechify.HostedApiMountOperationAction? Type95 { get; set; } /// /// /// - public global::Speechify.AgentVoiceModelName? Type96 { get; set; } + public global::Speechify.HostedApiMountOperationChangesItems? Type96 { get; set; } /// /// /// - public global::Speechify.AgentVoiceLanguage? Type97 { get; set; } + public global::Speechify.HostedAPIMountOperation? Type97 { get; set; } /// /// /// - public global::Speechify.AgentVoiceModel? Type98 { get; set; } + public global::System.Collections.Generic.IList? Type98 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type99 { get; set; } + public global::Speechify.HostedAPIMountSummary? Type99 { get; set; } /// /// /// - public global::Speechify.AgentVoiceGender? Type100 { get; set; } + public global::Speechify.HostedAPIMount? Type100 { get; set; } /// /// /// - public global::Speechify.AgentVoice? Type101 { get; set; } + public global::System.Collections.Generic.IList? Type101 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type102 { get; set; } + public global::Speechify.HostedApiMountConflictErrorErrorDetails? Type102 { get; set; } /// /// /// - public global::Speechify.MultilingualLanguage? Type103 { get; set; } + public global::Speechify.HostedApiMountConflictErrorError? Type103 { get; set; } /// /// /// - public global::Speechify.ListAgentVoicesResponse? Type104 { get; set; } + public global::Speechify.HostedAPIMountConflictError? Type104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type105 { get; set; } + public global::Speechify.UpdateHostedApiRouteRequestMethod? Type105 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type106 { get; set; } + public global::Speechify.UpdateHostedAPIRouteRequest? Type106 { get; set; } /// /// /// - public global::Speechify.AgentTTSModelInfo? Type107 { get; set; } + public global::Speechify.HostedAPIKey? Type107 { get; set; } /// /// /// - public global::Speechify.AgentTTSModelsResponse? Type108 { get; set; } + public global::Speechify.ListHostedAPIKeysResponse? Type108 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type109 { get; set; } + public global::System.Collections.Generic.IList? Type109 { get; set; } /// /// /// - public global::Speechify.AgentPhoneNumberReferenceResourceType? Type110 { get; set; } + public global::Speechify.CreateHostedAPIKeyRequest? Type110 { get; set; } /// /// /// - public global::Speechify.AgentPhoneNumberReference? Type111 { get; set; } + public global::Speechify.HostedAPIUserTokenSecret? Type111 { get; set; } /// /// /// - public global::Speechify.AgentPhoneNumberUsedBy? Type112 { get; set; } + public global::Speechify.AgentChannel? Type112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type113 { get; set; } + public global::Speechify.AgentAdditionalLanguage? Type113 { get; set; } /// /// /// - public global::Speechify.AgentInUseErrorDetailDetails? Type114 { get; set; } + public global::Speechify.AgentLlmConfigProvider? Type114 { get; set; } /// /// /// - public global::Speechify.AgentInUseErrorDetail? Type115 { get; set; } + public global::Speechify.AgentLlmConfigReasoningEffort? Type115 { get; set; } /// /// /// - public global::Speechify.AgentInUseError? Type116 { get; set; } + public global::Speechify.AgentLLMConfig? Type116 { get; set; } /// /// /// - public global::Speechify.UpdateAgentRequest? Type117 { get; set; } + public global::Speechify.AgentTTSConfig? Type117 { get; set; } /// /// /// - public global::Speechify.AgentFlowGetSchemaResponse200? Type118 { get; set; } + public global::Speechify.AgentTurnHandlingConfigInterruptionSensitivity? Type118 { get; set; } /// /// /// - public global::Speechify.PublishGateResultDecision? Type119 { get; set; } + public global::Speechify.AgentTurnHandlingConfig? Type119 { get; set; } /// /// /// - public global::Speechify.EvaluationCaseVerdictOutcome? Type120 { get; set; } + public global::Speechify.AgentMemoryConfig? Type120 { get; set; } /// /// /// - public global::Speechify.EvaluationCaseVerdictFault? Type121 { get; set; } + public global::Speechify.AgentNavigatorConfig? Type121 { get; set; } /// /// /// - public global::Speechify.EvaluationCriterionVerdictStatus? Type122 { get; set; } + public global::Speechify.AgentGuardrailsConfig? Type122 { get; set; } /// /// /// - public global::Speechify.EvaluationCriterionVerdict? Type123 { get; set; } + public global::Speechify.AgentBackgroundNoiseConfigPreset? Type123 { get; set; } /// /// /// - public global::Speechify.EvaluationCaseVerdict? Type124 { get; set; } + public global::Speechify.AgentBackgroundNoiseConfig? Type124 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type125 { get; set; } + public global::Speechify.WidgetConfigStyle? Type125 { get; set; } /// /// /// - public global::Speechify.EvaluationVerdict? Type126 { get; set; } + public global::Speechify.WidgetConfigTheme? Type126 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type127 { get; set; } + public global::Speechify.WidgetConfigAvatarType? Type127 { get; set; } /// /// /// - public global::Speechify.PublishGateResult? Type128 { get; set; } + public global::Speechify.WidgetConfigAvatar? Type128 { get; set; } /// /// /// - public global::Speechify.FlowVersion? Type129 { get; set; } + public global::Speechify.WidgetConfigText? Type129 { get; set; } /// /// /// - public global::Speechify.FlowGraphNodesItems? Type130 { get; set; } + public global::Speechify.WidgetConfigTerms? Type130 { get; set; } /// /// /// - public global::Speechify.FlowGraphEdgesItems? Type131 { get; set; } + public global::Speechify.WidgetConfigTranscript? Type131 { get; set; } /// /// /// - public global::Speechify.FlowGraphVariablesItems? Type132 { get; set; } + public global::Speechify.WidgetConfigTelemetry? Type132 { get; set; } /// /// /// - public global::Speechify.FlowGraph? Type133 { get; set; } + public global::Speechify.WidgetConfig? Type133 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type134 { get; set; } + public global::Speechify.AmdConfigOnVoicemailAction? Type134 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type135 { get; set; } + public global::Speechify.AmdConfigOnVoicemail? Type135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type136 { get; set; } + public global::Speechify.AmdConfigOnIvrAction? Type136 { get; set; } /// /// /// - public global::Speechify.GetFlowResponse? Type137 { get; set; } + public global::Speechify.AmdConfigOnIvr? Type137 { get; set; } /// /// /// - public global::Speechify.PutFlowRequestNodesItems? Type138 { get; set; } + public global::Speechify.AmdConfigOnUnavailableAction? Type138 { get; set; } /// /// /// - public global::Speechify.PutFlowRequestEdgesItems? Type139 { get; set; } + public global::Speechify.AmdConfigOnUnavailable? Type139 { get; set; } /// /// /// - public global::Speechify.PutFlowRequestVariablesItems? Type140 { get; set; } + public global::Speechify.AmdConfigTuning? Type140 { get; set; } /// /// /// - public global::Speechify.PutFlowRequest? Type141 { get; set; } + public global::Speechify.AMDConfig? Type141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type142 { get; set; } + public global::Speechify.AIDisclosure? Type142 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type143 { get; set; } + public global::Speechify.Agent? Type143 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type144 { get; set; } + public global::System.Collections.Generic.IList? Type144 { get; set; } /// /// /// - public global::Speechify.FlowValidationIssue? Type145 { get; set; } + public global::System.Collections.Generic.IList? Type145 { get; set; } /// /// /// - public global::Speechify.FlowValidationError? Type146 { get; set; } + public global::Speechify.ListAgentsResponse? Type146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type147 { get; set; } + public global::System.Collections.Generic.IList? Type147 { get; set; } /// /// /// - public global::Speechify.PublishFlowRequest? Type148 { get; set; } + public global::Speechify.CreateAgentRequest? Type148 { get; set; } /// /// /// - public global::Speechify.RollbackFlowRequest? Type149 { get; set; } + public global::Speechify.AgentVoiceType? Type149 { get; set; } /// /// /// - public global::Speechify.ListFlowVersionsResponse? Type150 { get; set; } + public global::Speechify.AgentVoiceModelName? Type150 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type151 { get; set; } + public global::Speechify.AgentVoiceLanguage? Type151 { get; set; } /// /// /// - public global::Speechify.FlowTemplate? Type152 { get; set; } + public global::Speechify.AgentVoiceModel? Type152 { get; set; } /// /// /// - public global::Speechify.ListFlowTemplatesResponse? Type153 { get; set; } + public global::System.Collections.Generic.IList? Type153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type154 { get; set; } + public global::Speechify.AgentVoiceGender? Type154 { get; set; } /// /// /// - public global::Speechify.FlowGraphInputNodesItems? Type155 { get; set; } + public global::Speechify.AgentVoice? Type155 { get; set; } /// /// /// - public global::Speechify.FlowGraphInputEdgesItems? Type156 { get; set; } + public global::System.Collections.Generic.IList? Type156 { get; set; } /// /// /// - public global::Speechify.FlowGraphInputVariablesItems? Type157 { get; set; } + public global::Speechify.MultilingualLanguage? Type157 { get; set; } /// /// /// - public global::Speechify.FlowGraphInput? Type158 { get; set; } + public global::Speechify.ListAgentVoicesResponse? Type158 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type159 { get; set; } + public global::System.Collections.Generic.IList? Type159 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type160 { get; set; } + public global::System.Collections.Generic.IList? Type160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type161 { get; set; } + public global::Speechify.AgentTTSModelInfo? Type161 { get; set; } /// /// /// - public global::Speechify.CreateFlowTemplateRequest? Type162 { get; set; } + public global::Speechify.AgentTTSModelsResponse? Type162 { get; set; } /// /// /// - public global::Speechify.CloneFlowTemplateRequest? Type163 { get; set; } + public global::System.Collections.Generic.IList? Type163 { get; set; } /// /// /// - public global::Speechify.EvaluationCriterion? Type164 { get; set; } + public global::Speechify.AgentPhoneNumberReferenceResourceType? Type164 { get; set; } /// /// /// - public global::Speechify.DataCollectionFieldType? Type165 { get; set; } + public global::Speechify.AgentPhoneNumberReference? Type165 { get; set; } /// /// /// - public global::Speechify.DataCollectionField? Type166 { get; set; } + public global::Speechify.AgentPhoneNumberUsedBy? Type166 { get; set; } /// /// /// - public global::Speechify.EvaluationConfig? Type167 { get; set; } + public global::System.Collections.Generic.IList? Type167 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type168 { get; set; } + public global::Speechify.AgentInUseErrorDetailDetails? Type168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type169 { get; set; } + public global::Speechify.AgentInUseErrorDetail? Type169 { get; set; } /// /// /// - public global::Speechify.UpdateEvaluationConfigRequest? Type170 { get; set; } + public global::Speechify.AgentInUseError? Type170 { get; set; } /// /// /// - public global::Speechify.DynamicVariableType? Type171 { get; set; } + public global::Speechify.UpdateAgentRequest? Type171 { get; set; } /// /// /// - public global::Speechify.DynamicVariable? Type172 { get; set; } + public global::Speechify.AgentFlowGetSchemaResponse200? Type172 { get; set; } /// /// /// - public global::Speechify.SystemVariableDoc? Type173 { get; set; } + public global::Speechify.PublishGateResultDecision? Type173 { get; set; } /// /// /// - public global::Speechify.ListDynamicVariablesResponse? Type174 { get; set; } + public global::Speechify.EvaluationCaseVerdictOutcome? Type174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type175 { get; set; } + public global::Speechify.EvaluationCaseVerdictFault? Type175 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type176 { get; set; } + public global::Speechify.EvaluationCriterionVerdictStatus? Type176 { get; set; } /// /// /// - public global::Speechify.UpdateDynamicVariablesRequest? Type177 { get; set; } + public global::Speechify.EvaluationCriterionVerdict? Type177 { get; set; } /// /// /// - public global::Speechify.CreateConversationOverrides? Type178 { get; set; } + public global::Speechify.EvaluationCaseVerdict? Type178 { get; set; } /// /// /// - public global::Speechify.CreateConversationRequest? Type179 { get; set; } + public global::System.Collections.Generic.IList? Type179 { get; set; } /// /// /// - public global::Speechify.ConversationStatus? Type180 { get; set; } + public global::Speechify.EvaluationVerdict? Type180 { get; set; } /// /// /// - public global::Speechify.ConversationTransport? Type181 { get; set; } + public global::System.Collections.Generic.IList? Type181 { get; set; } /// /// /// - public global::Speechify.ConversationChannel? Type182 { get; set; } + public global::Speechify.PublishGateResult? Type182 { get; set; } /// /// /// - public global::Speechify.ConversationEndReason? Type183 { get; set; } + public global::Speechify.FlowVersion? Type183 { get; set; } /// /// /// - public global::Speechify.SkillPin? Type184 { get; set; } + public global::Speechify.FlowGraphNodesItems? Type184 { get; set; } /// /// /// - public global::Speechify.AgentSnapshotReasoningEffort? Type185 { get; set; } + public global::Speechify.FlowGraphEdgesItems? Type185 { get; set; } /// /// /// - public global::Speechify.AgentSnapshotInterruptionSensitivity? Type186 { get; set; } + public global::Speechify.FlowGraphVariablesItems? Type186 { get; set; } /// /// /// - public global::Speechify.AgentSnapshotBackgroundNoisePreset? Type187 { get; set; } + public global::Speechify.FlowGraph? Type187 { get; set; } /// /// /// - public global::Speechify.AgentSnapshot? Type188 { get; set; } + public global::System.Collections.Generic.IList? Type188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type189 { get; set; } + public global::System.Collections.Generic.IList? Type189 { get; set; } /// /// /// - public global::Speechify.ConversationIvrSurrenderReason? Type190 { get; set; } + public global::System.Collections.Generic.IList? Type190 { get; set; } /// /// /// - public global::Speechify.Conversation? Type191 { get; set; } + public global::Speechify.GetFlowResponse? Type191 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type192 { get; set; } + public global::Speechify.PutFlowRequestNodesItems? Type192 { get; set; } /// /// /// - public global::Speechify.CreateConversationResponse? Type193 { get; set; } + public global::Speechify.PutFlowRequestEdgesItems? Type193 { get; set; } /// /// /// - public global::Speechify.CreateSessionRequest? Type194 { get; set; } + public global::Speechify.PutFlowRequestVariablesItems? Type194 { get; set; } /// /// /// - public global::Speechify.ListConversationsResponse? Type195 { get; set; } + public global::Speechify.PutFlowRequest? Type195 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type196 { get; set; } + public global::System.Collections.Generic.IList? Type196 { get; set; } /// /// /// - public global::Speechify.RecentCallee? Type197 { get; set; } + public global::System.Collections.Generic.IList? Type197 { get; set; } /// /// /// - public global::Speechify.ListRecentCalleesResponse? Type198 { get; set; } + public global::System.Collections.Generic.IList? Type198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type199 { get; set; } + public global::Speechify.FlowValidationIssue? Type199 { get; set; } /// /// /// - public global::Speechify.ConversationStats? Type200 { get; set; } + public global::Speechify.FlowValidationError? Type200 { get; set; } /// /// /// - public global::Speechify.MessageRole? Type201 { get; set; } + public global::System.Collections.Generic.IList? Type201 { get; set; } /// /// /// - public global::Speechify.MessageInitiatedBy? Type202 { get; set; } + public global::Speechify.PublishFlowRequest? Type202 { get; set; } /// /// /// - public global::Speechify.Message? Type203 { get; set; } + public global::Speechify.RollbackFlowRequest? Type203 { get; set; } /// /// /// - public global::Speechify.ListMessagesResponse? Type204 { get; set; } + public global::Speechify.ListFlowVersionsResponse? Type204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type205 { get; set; } + public global::System.Collections.Generic.IList? Type205 { get; set; } /// /// /// - public global::Speechify.EvaluationKind? Type206 { get; set; } + public global::Speechify.FlowTemplate? Type206 { get; set; } /// /// /// - public global::Speechify.EvaluationStatus? Type207 { get; set; } + public global::Speechify.ListFlowTemplatesResponse? Type207 { get; set; } /// /// /// - public global::Speechify.Evaluation? Type208 { get; set; } + public global::System.Collections.Generic.IList? Type208 { get; set; } /// /// /// - public global::Speechify.ListEvaluationsResponse? Type209 { get; set; } + public global::Speechify.FlowGraphInputNodesItems? Type209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type210 { get; set; } + public global::Speechify.FlowGraphInputEdgesItems? Type210 { get; set; } /// /// /// - public global::Speechify.Memory? Type211 { get; set; } + public global::Speechify.FlowGraphInputVariablesItems? Type211 { get; set; } /// /// /// - public global::Speechify.ListMemoriesResponse? Type212 { get; set; } + public global::Speechify.FlowGraphInput? Type212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type213 { get; set; } + public global::System.Collections.Generic.IList? Type213 { get; set; } /// /// /// - public global::Speechify.SearchHitRanking? Type214 { get; set; } + public global::System.Collections.Generic.IList? Type214 { get; set; } /// /// /// - public global::Speechify.RetrievalLogResult? Type215 { get; set; } + public global::System.Collections.Generic.IList? Type215 { get; set; } /// /// /// - public global::Speechify.RetrievalCoverage? Type216 { get; set; } + public global::Speechify.CreateFlowTemplateRequest? Type216 { get; set; } /// /// /// - public global::Speechify.RetrievalLogEntry? Type217 { get; set; } + public global::Speechify.CloneFlowTemplateRequest? Type217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type218 { get; set; } + public global::Speechify.EvaluationCriterion? Type218 { get; set; } /// /// /// - public global::Speechify.ListRetrievalLogsResponse? Type219 { get; set; } + public global::Speechify.DataCollectionFieldType? Type219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type220 { get; set; } + public global::Speechify.DataCollectionField? Type220 { get; set; } /// /// /// - public global::Speechify.WebhookDeliveryStatus? Type221 { get; set; } + public global::Speechify.EvaluationConfig? Type221 { get; set; } /// /// /// - public global::Speechify.WebhookDelivery? Type222 { get; set; } + public global::System.Collections.Generic.IList? Type222 { get; set; } /// /// /// - public global::Speechify.ListWebhookDeliveriesResponse? Type223 { get; set; } + public global::System.Collections.Generic.IList? Type223 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type224 { get; set; } + public global::Speechify.UpdateEvaluationConfigRequest? Type224 { get; set; } /// /// /// - public global::Speechify.ConversationPromptRequest? Type225 { get; set; } + public global::Speechify.DynamicVariableType? Type225 { get; set; } /// /// /// - public global::Speechify.JobStatus? Type226 { get; set; } + public global::Speechify.DynamicVariable? Type226 { get; set; } /// /// /// - public global::Speechify.ConversationPrompt? Type227 { get; set; } + public global::Speechify.SystemVariableDoc? Type227 { get; set; } /// /// /// - public global::Speechify.ShadowConversationResponse? Type228 { get; set; } + public global::Speechify.ListDynamicVariablesResponse? Type228 { get; set; } /// /// /// - public global::Speechify.PublishAgentRequest? Type229 { get; set; } + public global::System.Collections.Generic.IList? Type229 { get; set; } /// /// /// - public global::Speechify.PublishAgentResponse? Type230 { get; set; } + public global::System.Collections.Generic.IList? Type230 { get; set; } /// /// /// - public global::Speechify.PublishGateRunDecision? Type231 { get; set; } + public global::Speechify.UpdateDynamicVariablesRequest? Type231 { get; set; } /// /// /// - public global::Speechify.PublishGateRun? Type232 { get; set; } + public global::Speechify.CreateConversationOverrides? Type232 { get; set; } /// /// /// - public global::Speechify.LatestPublishGateRunResponse? Type233 { get; set; } + public global::Speechify.CreateConversationRequest? Type233 { get; set; } /// /// /// - public global::Speechify.CreateAgentRunRequest? Type234 { get; set; } + public global::Speechify.ConversationStatus? Type234 { get; set; } /// /// /// - public global::Speechify.FileKind? Type235 { get; set; } + public global::Speechify.ConversationTransport? Type235 { get; set; } /// /// /// - public global::Speechify.FileSource? Type236 { get; set; } + public global::Speechify.ConversationChannel? Type236 { get; set; } /// /// /// - public global::Speechify.File? Type237 { get; set; } + public global::Speechify.ConversationEndReason? Type237 { get; set; } /// /// /// - public global::Speechify.AgentRunStatus? Type238 { get; set; } + public global::Speechify.SkillPin? Type238 { get; set; } /// /// /// - public global::Speechify.AgentRunInputDelegationTargetsItems? Type239 { get; set; } + public global::Speechify.AgentSnapshotReasoningEffort? Type239 { get; set; } /// /// /// - public global::Speechify.AgentRunInput? Type240 { get; set; } + public global::Speechify.AgentSnapshotInterruptionSensitivity? Type240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type241 { get; set; } + public global::Speechify.AgentSnapshotBackgroundNoisePreset? Type241 { get; set; } /// /// /// - public global::Speechify.AgentRunOutputTranscriptItems? Type242 { get; set; } + public global::Speechify.AgentSnapshot? Type242 { get; set; } /// /// /// - public global::Speechify.AgentRunOutput? Type243 { get; set; } + public global::System.Collections.Generic.IList? Type243 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type244 { get; set; } + public global::Speechify.ConversationIvrSurrenderReason? Type244 { get; set; } /// /// /// - public global::Speechify.AgentRunError? Type245 { get; set; } + public global::Speechify.Conversation? Type245 { get; set; } /// /// /// - public global::Speechify.AgentRunIncompleteReason? Type246 { get; set; } + public global::System.Collections.Generic.IList? Type246 { get; set; } /// /// /// - public global::Speechify.AgentRunUsageModelsItems? Type247 { get; set; } + public global::Speechify.CreateConversationResponse? Type247 { get; set; } /// /// /// - public global::Speechify.AgentRunUsageToolsItems? Type248 { get; set; } + public global::Speechify.CreateSessionRequest? Type248 { get; set; } /// /// /// - public global::Speechify.AgentRunUsage? Type249 { get; set; } + public global::Speechify.ListConversationsResponse? Type249 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type250 { get; set; } + public global::System.Collections.Generic.IList? Type250 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type251 { get; set; } + public global::Speechify.RecentCallee? Type251 { get; set; } /// /// /// - public global::Speechify.PendingActionDefaultDecision? Type252 { get; set; } + public global::Speechify.ListRecentCalleesResponse? Type252 { get; set; } /// /// /// - public global::Speechify.PendingAction? Type253 { get; set; } + public global::System.Collections.Generic.IList? Type253 { get; set; } /// /// /// - public global::Speechify.AgentRun? Type254 { get; set; } + public global::Speechify.ConversationStats? Type254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type255 { get; set; } + public global::Speechify.MessageRole? Type255 { get; set; } /// /// /// - public global::Speechify.V1AgentsAgentIdRunsGetParametersStatus? Type256 { get; set; } + public global::Speechify.MessageInitiatedBy? Type256 { get; set; } /// /// /// - public global::Speechify.ListAgentRunsResponse? Type257 { get; set; } + public global::Speechify.Message? Type257 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type258 { get; set; } + public global::Speechify.ListMessagesResponse? Type258 { get; set; } /// /// /// - public global::Speechify.V1AgentsRunsGetParametersStatus? Type259 { get; set; } + public global::System.Collections.Generic.IList? Type259 { get; set; } /// /// /// - public global::Speechify.AgentRunLifecycleStatus? Type260 { get; set; } + public global::Speechify.EvaluationKind? Type260 { get; set; } /// /// /// - public global::Speechify.AgentRunLifecycleError? Type261 { get; set; } + public global::Speechify.EvaluationStatus? Type261 { get; set; } /// /// /// - public global::Speechify.AgentRunLifecycle? Type262 { get; set; } + public global::Speechify.Evaluation? Type262 { get; set; } /// /// /// - public global::Speechify.ProjectRunStreamEvent? Type263 { get; set; } + public global::Speechify.ListEvaluationsResponse? Type263 { get; set; } /// /// /// - public global::Speechify.ProjectRunStreamEventVariant1? Type264 { get; set; } + public global::System.Collections.Generic.IList? Type264 { get; set; } /// /// /// - public global::Speechify.ProjectRunStreamEventVariant1Type? Type265 { get; set; } + public global::Speechify.Memory? Type265 { get; set; } /// /// /// - public global::Speechify.ProjectRunStreamEventVariant2? Type266 { get; set; } + public global::Speechify.ListMemoriesResponse? Type266 { get; set; } /// /// /// - public global::Speechify.ProjectRunStreamEventVariant2Type? Type267 { get; set; } + public global::System.Collections.Generic.IList? Type267 { get; set; } /// /// /// - public global::Speechify.ProjectRunStreamEventVariant3? Type268 { get; set; } + public global::Speechify.SearchHitRanking? Type268 { get; set; } /// /// /// - public global::Speechify.ProjectRunStreamEventVariant3Type? Type269 { get; set; } + public global::Speechify.RetrievalLogResult? Type269 { get; set; } /// /// /// - public global::Speechify.ProjectRunStreamEventDiscriminator? Type270 { get; set; } + public global::Speechify.RetrievalCoverage? Type270 { get; set; } /// /// /// - public global::Speechify.ProjectRunStreamEventDiscriminatorType? Type271 { get; set; } + public global::Speechify.RetrievalLogEntry? Type271 { get; set; } /// /// /// - public global::Speechify.SubmitAgentRunRequestDecision? Type272 { get; set; } + public global::System.Collections.Generic.IList? Type272 { get; set; } /// /// /// - public global::Speechify.SubmitAgentRunRequest? Type273 { get; set; } + public global::Speechify.ListRetrievalLogsResponse? Type273 { get; set; } /// /// /// - public global::Speechify.AgentRunStepKind? Type274 { get; set; } + public global::System.Collections.Generic.IList? Type274 { get; set; } /// /// /// - public global::Speechify.RunStepDelegationChildStatus? Type275 { get; set; } + public global::Speechify.WebhookDeliveryStatus? Type275 { get; set; } /// /// /// - public global::Speechify.RunStepDelegation? Type276 { get; set; } + public global::Speechify.WebhookDelivery? Type276 { get; set; } /// /// /// - public global::Speechify.AgentRunStep? Type277 { get; set; } + public global::Speechify.ListWebhookDeliveriesResponse? Type277 { get; set; } /// /// /// - public global::Speechify.ListAgentRunStepsResponse? Type278 { get; set; } + public global::System.Collections.Generic.IList? Type278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type279 { get; set; } + public global::Speechify.ConversationPromptRequest? Type279 { get; set; } /// /// /// - public global::Speechify.AgentRunStepAddedEventKind? Type280 { get; set; } + public global::Speechify.JobStatus? Type280 { get; set; } /// /// /// - public global::Speechify.AgentRunStatusChangedEventStatus? Type281 { get; set; } + public global::Speechify.ConversationPrompt? Type281 { get; set; } /// /// /// - public global::Speechify.AgentRunEndedEventStatus? Type282 { get; set; } + public global::Speechify.ShadowConversationResponse? Type282 { get; set; } /// /// /// - public global::Speechify.AgentRunEndedEventOutput? Type283 { get; set; } + public global::Speechify.PublishAgentRequest? Type283 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEvent? Type284 { get; set; } + public global::Speechify.PublishAgentResponse? Type284 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant1? Type285 { get; set; } + public global::Speechify.PublishGateRunDecision? Type285 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant1Type? Type286 { get; set; } + public global::Speechify.PublishGateRun? Type286 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant2? Type287 { get; set; } + public global::Speechify.LatestPublishGateRunResponse? Type287 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant2Type? Type288 { get; set; } + public global::Speechify.CreateAgentRunRequest? Type288 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant3? Type289 { get; set; } + public global::Speechify.FileKind? Type289 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant3Type? Type290 { get; set; } + public global::Speechify.FileSource? Type290 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant4? Type291 { get; set; } + public global::Speechify.File? Type291 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant4Type? Type292 { get; set; } + public global::Speechify.AgentRunStatus? Type292 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventDiscriminator? Type293 { get; set; } + public global::Speechify.AgentRunInputDelegationTargetsItems? Type293 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventDiscriminatorType? Type294 { get; set; } + public global::Speechify.AgentRunInput? Type294 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseInjection? Type295 { get; set; } + public global::System.Collections.Generic.IList? Type295 { get; set; } /// /// /// - public global::Speechify.KnowledgeBase? Type296 { get; set; } + public global::Speechify.AgentRunOutputTranscriptItems? Type296 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBasesResponse? Type297 { get; set; } + public global::Speechify.AgentRunOutput? Type297 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type298 { get; set; } + public global::System.Collections.Generic.IList? Type298 { get; set; } /// /// /// - public global::Speechify.CreateKnowledgeBaseRequest? Type299 { get; set; } + public global::Speechify.AgentRunError? Type299 { get; set; } /// /// /// - public global::Speechify.SearchKnowledgeBasesRequest? Type300 { get; set; } + public global::Speechify.AgentRunIncompleteReason? Type300 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseSearchHit? Type301 { get; set; } + public global::Speechify.AgentRunUsageModelsItems? Type301 { get; set; } /// /// /// - public global::Speechify.SearchKnowledgeBasesResponse? Type302 { get; set; } + public global::Speechify.AgentRunUsageToolsItems? Type302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type303 { get; set; } + public global::Speechify.AgentRunUsage? Type303 { get; set; } /// /// /// - public global::Speechify.UpdateKnowledgeBaseRequest? Type304 { get; set; } + public global::System.Collections.Generic.IList? Type304 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseCoverageHealth? Type305 { get; set; } + public global::System.Collections.Generic.IList? Type305 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseCoverageGap? Type306 { get; set; } + public global::Speechify.PendingActionDefaultDecision? Type306 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocumentSourceKind? Type307 { get; set; } + public global::Speechify.PendingAction? Type307 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseCoverageDocument? Type308 { get; set; } + public global::Speechify.AgentRun? Type308 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseCoverage? Type309 { get; set; } + public global::System.Collections.Generic.IList? Type309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type310 { get; set; } + public global::Speechify.V1AgentsAgentIdRunsGetParametersStatus? Type310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type311 { get; set; } + public global::Speechify.ListAgentRunsResponse? Type311 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvalCase? Type312 { get; set; } + public global::System.Collections.Generic.IList? Type312 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseEvalCasesResponse? Type313 { get; set; } + public global::Speechify.V1AgentsRunsGetParametersStatus? Type313 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type314 { get; set; } + public global::Speechify.AgentRunLifecycleStatus? Type314 { get; set; } /// /// /// - public global::Speechify.CreateKnowledgeBaseEvalCaseRequest? Type315 { get; set; } + public global::Speechify.AgentRunLifecycleError? Type315 { get; set; } /// /// /// - public global::Speechify.UpdateKnowledgeBaseEvalCaseRequest? Type316 { get; set; } + public global::Speechify.AgentRunLifecycle? Type316 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvaluationResults? Type317 { get; set; } + public global::Speechify.ProjectRunStreamEvent? Type317 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvaluationMetrics? Type318 { get; set; } + public global::Speechify.ProjectRunStreamEventVariant1? Type318 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvaluation? Type319 { get; set; } + public global::Speechify.ProjectRunStreamEventVariant1Type? Type319 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseEvaluationsResponse? Type320 { get; set; } + public global::Speechify.ProjectRunStreamEventVariant2? Type320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type321 { get; set; } + public global::Speechify.ProjectRunStreamEventVariant2Type? Type321 { get; set; } /// /// /// - public global::Speechify.StartKnowledgeBaseEvaluationRequest? Type322 { get; set; } + public global::Speechify.ProjectRunStreamEventVariant3? Type322 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvaluationHit? Type323 { get; set; } + public global::Speechify.ProjectRunStreamEventVariant3Type? Type323 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvaluationResult? Type324 { get; set; } + public global::Speechify.ProjectRunStreamEventDiscriminator? Type324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type325 { get; set; } + public global::Speechify.ProjectRunStreamEventDiscriminatorType? Type325 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseEvaluationResultsResponse? Type326 { get; set; } + public global::Speechify.SubmitAgentRunRequestDecision? Type326 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type327 { get; set; } + public global::Speechify.SubmitAgentRunRequest? Type327 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocumentInjectionMode? Type328 { get; set; } + public global::Speechify.AgentRunStepKind? Type328 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocumentStatus? Type329 { get; set; } + public global::Speechify.RunStepDelegationChildStatus? Type329 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocument? Type330 { get; set; } + public global::Speechify.RunStepDelegation? Type330 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseDocumentsResponse? Type331 { get; set; } + public global::Speechify.AgentRunStep? Type331 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type332 { get; set; } + public global::Speechify.ListAgentRunStepsResponse? Type332 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocumentDetailInjectionMode? Type333 { get; set; } + public global::System.Collections.Generic.IList? Type333 { get; set; } /// /// /// - public global::Speechify.DependentAgent? Type334 { get; set; } + public global::Speechify.AgentRunStepAddedEventKind? Type334 { get; set; } /// /// /// - public global::Speechify.RefreshConfig? Type335 { get; set; } + public global::Speechify.AgentRunStatusChangedEventStatus? Type335 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocumentDetail? Type336 { get; set; } + public global::Speechify.AgentRunEndedEventStatus? Type336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type337 { get; set; } + public global::Speechify.AgentRunEndedEventOutput? Type337 { get; set; } /// /// /// - public global::Speechify.V1AgentsKnowledgeBasesKbIdDocumentsDocumentIdPatchRequestBodyContentApplicationJsonSchemaInjectionMode? Type338 { get; set; } + public global::Speechify.AgentRunStreamEvent? Type338 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseChunk? Type339 { get; set; } + public global::Speechify.AgentRunStreamEventVariant1? Type339 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseChunksResponse? Type340 { get; set; } + public global::Speechify.AgentRunStreamEventVariant1Type? Type340 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type341 { get; set; } + public global::Speechify.AgentRunStreamEventVariant2? Type341 { get; set; } /// /// /// - public global::Speechify.CreateCrawlImportRequest? Type342 { get; set; } + public global::Speechify.AgentRunStreamEventVariant2Type? Type342 { get; set; } /// /// /// - public global::Speechify.ImportJobKind? Type343 { get; set; } + public global::Speechify.AgentRunStreamEventVariant3? Type343 { get; set; } /// /// /// - public global::Speechify.ImportJob? Type344 { get; set; } + public global::Speechify.AgentRunStreamEventVariant3Type? Type344 { get; set; } /// /// /// - public global::Speechify.CreateSitemapImportRequest? Type345 { get; set; } + public global::Speechify.AgentRunStreamEventVariant4? Type345 { get; set; } /// /// /// - public global::Speechify.CreateTextDocumentRequest? Type346 { get; set; } + public global::Speechify.AgentRunStreamEventVariant4Type? Type346 { get; set; } /// /// /// - public global::Speechify.CreateURLDocumentRequest? Type347 { get; set; } + public global::Speechify.AgentRunStreamEventDiscriminator? Type347 { get; set; } /// /// /// - public global::Speechify.CreateURLBatchImportRequest? Type348 { get; set; } + public global::Speechify.AgentRunStreamEventDiscriminatorType? Type348 { get; set; } /// /// /// - public global::Speechify.BatchDeleteDocumentsRequest? Type349 { get; set; } + public global::Speechify.KnowledgeBaseInjection? Type349 { get; set; } /// /// /// - public global::Speechify.BatchMoveDocumentsRequest? Type350 { get; set; } + public global::Speechify.KnowledgeBase? Type350 { get; set; } /// /// /// - public global::Speechify.BatchMoveDocumentsResponse? Type351 { get; set; } + public global::Speechify.ListKnowledgeBasesResponse? Type351 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type352 { get; set; } + public global::System.Collections.Generic.IList? Type352 { get; set; } /// /// /// - public global::Speechify.UpdateRefreshConfigRequest? Type353 { get; set; } + public global::Speechify.CreateKnowledgeBaseRequest? Type353 { get; set; } /// /// /// - public global::Speechify.RefreshHistoryEntryStatus? Type354 { get; set; } + public global::Speechify.SearchKnowledgeBasesRequest? Type354 { get; set; } /// /// /// - public global::Speechify.RefreshHistoryEntry? Type355 { get; set; } + public global::Speechify.KnowledgeBaseSearchHit? Type355 { get; set; } /// /// /// - public global::Speechify.ListRefreshHistoryResponse? Type356 { get; set; } + public global::Speechify.SearchKnowledgeBasesResponse? Type356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type357 { get; set; } + public global::System.Collections.Generic.IList? Type357 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseFolder? Type358 { get; set; } + public global::Speechify.UpdateKnowledgeBaseRequest? Type358 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseFoldersResponse? Type359 { get; set; } + public global::Speechify.KnowledgeBaseCoverageHealth? Type359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type360 { get; set; } + public global::Speechify.KnowledgeBaseCoverageGap? Type360 { get; set; } /// /// /// - public global::Speechify.CreateFolderRequest? Type361 { get; set; } + public global::Speechify.KnowledgeBaseDocumentSourceKind? Type361 { get; set; } /// /// /// - public global::Speechify.UpdateFolderRequest? Type362 { get; set; } + public global::Speechify.KnowledgeBaseCoverageDocument? Type362 { get; set; } /// /// /// - public global::Speechify.ListImportJobsResponse? Type363 { get; set; } + public global::Speechify.KnowledgeBaseCoverage? Type363 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type364 { get; set; } + public global::System.Collections.Generic.IList? Type364 { get; set; } /// /// /// - public global::Speechify.AttachedKnowledgeBasesResponseInjection? Type365 { get; set; } + public global::System.Collections.Generic.IList? Type365 { get; set; } /// /// /// - public global::Speechify.AttachedKnowledgeBasesResponse? Type366 { get; set; } + public global::Speechify.KnowledgeBaseEvalCase? Type366 { get; set; } /// /// /// - public global::Speechify.ToolKind? Type367 { get; set; } + public global::Speechify.ListKnowledgeBaseEvalCasesResponse? Type367 { get; set; } /// /// /// - public global::Speechify.ToolParamType? Type368 { get; set; } + public global::System.Collections.Generic.IList? Type368 { get; set; } /// /// /// - public global::Speechify.ToolParam? Type369 { get; set; } + public global::Speechify.CreateKnowledgeBaseEvalCaseRequest? Type369 { get; set; } /// /// /// - public global::Speechify.BuiltinToolConfig? Type370 { get; set; } + public global::Speechify.UpdateKnowledgeBaseEvalCaseRequest? Type370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type371 { get; set; } + public global::Speechify.KnowledgeBaseEvaluationResults? Type371 { get; set; } /// /// /// - public global::Speechify.WebhookToolConfigMethod? Type372 { get; set; } + public global::Speechify.KnowledgeBaseEvaluationMetrics? Type372 { get; set; } /// /// /// - public global::Speechify.LongRunningToolConfigWaitAudioPreset? Type373 { get; set; } + public global::Speechify.KnowledgeBaseEvaluation? Type373 { get; set; } /// /// /// - public global::Speechify.LongRunningToolConfigWaitAudio? Type374 { get; set; } + public global::Speechify.ListKnowledgeBaseEvaluationsResponse? Type374 { get; set; } /// /// /// - public global::Speechify.LongRunningToolConfigOnDuplicate? Type375 { get; set; } + public global::System.Collections.Generic.IList? Type375 { get; set; } /// /// /// - public global::Speechify.LongRunningToolConfig? Type376 { get; set; } + public global::Speechify.StartKnowledgeBaseEvaluationRequest? Type376 { get; set; } /// /// /// - public global::Speechify.WebhookToolConfig? Type377 { get; set; } + public global::Speechify.KnowledgeBaseEvaluationHit? Type377 { get; set; } /// /// /// - public global::Speechify.ClientToolConfig? Type378 { get; set; } + public global::Speechify.KnowledgeBaseEvaluationResult? Type378 { get; set; } /// /// /// - public global::Speechify.MCPTransport? Type379 { get; set; } + public global::System.Collections.Generic.IList? Type379 { get; set; } /// /// /// - public global::Speechify.MCPAuth? Type380 { get; set; } + public global::Speechify.ListKnowledgeBaseEvaluationResultsResponse? Type380 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant1? Type381 { get; set; } + public global::System.Collections.Generic.IList? Type381 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant1Type? Type382 { get; set; } + public global::Speechify.KnowledgeBaseDocumentInjectionMode? Type382 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant2? Type383 { get; set; } + public global::Speechify.KnowledgeBaseDocumentStatus? Type383 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant2Type? Type384 { get; set; } + public global::Speechify.KnowledgeBaseDocument? Type384 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant3? Type385 { get; set; } + public global::Speechify.ListKnowledgeBaseDocumentsResponse? Type385 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant3Type? Type386 { get; set; } + public global::System.Collections.Generic.IList? Type386 { get; set; } /// /// /// - public global::Speechify.MCPAuthDiscriminator? Type387 { get; set; } + public global::Speechify.KnowledgeBaseDocumentDetailInjectionMode? Type387 { get; set; } /// /// /// - public global::Speechify.MCPAuthDiscriminatorType? Type388 { get; set; } + public global::Speechify.DependentAgent? Type388 { get; set; } /// /// /// - public global::Speechify.ToolActionClass? Type389 { get; set; } + public global::Speechify.RefreshConfig? Type389 { get; set; } /// /// /// - public global::Speechify.ToolResponseMapping? Type390 { get; set; } + public global::Speechify.KnowledgeBaseDocumentDetail? Type390 { get; set; } /// /// /// - public global::Speechify.MCPToolConfig? Type391 { get; set; } + public global::System.Collections.Generic.IList? Type391 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type392 { get; set; } + public global::Speechify.V1AgentsKnowledgeBasesKbIdDocumentsDocumentIdPatchRequestBodyContentApplicationJsonSchemaInjectionMode? Type392 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type393 { get; set; } + public global::Speechify.KnowledgeBaseChunk? Type393 { get; set; } /// /// /// - public global::Speechify.OpenApiOperationMethod? Type394 { get; set; } + public global::Speechify.ListKnowledgeBaseChunksResponse? Type394 { get; set; } /// /// /// - public global::Speechify.OpenApiParamIn? Type395 { get; set; } + public global::System.Collections.Generic.IList? Type395 { get; set; } /// /// /// - public global::Speechify.OpenAPIParam? Type396 { get; set; } + public global::Speechify.CreateCrawlImportRequest? Type396 { get; set; } /// /// /// - public global::Speechify.OpenApiBodyContentType? Type397 { get; set; } + public global::Speechify.ImportJobKind? Type397 { get; set; } /// /// /// - public global::Speechify.OpenAPIBody? Type398 { get; set; } + public global::Speechify.ImportJob? Type398 { get; set; } /// /// /// - public global::Speechify.OpenAPIOperation? Type399 { get; set; } + public global::Speechify.CreateSitemapImportRequest? Type399 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type400 { get; set; } + public global::Speechify.CreateTextDocumentRequest? Type400 { get; set; } /// /// /// - public global::Speechify.OpenAPIToolConfig? Type401 { get; set; } + public global::Speechify.CreateURLDocumentRequest? Type401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type402 { get; set; } + public global::Speechify.CreateURLBatchImportRequest? Type402 { get; set; } /// /// /// - public global::Speechify.AgentToolConfig? Type403 { get; set; } + public global::Speechify.BatchDeleteDocumentsRequest? Type403 { get; set; } /// /// /// - public global::Speechify.ToolApprovalClass? Type404 { get; set; } + public global::Speechify.BatchMoveDocumentsRequest? Type404 { get; set; } /// /// /// - public global::Speechify.ToolReach? Type405 { get; set; } + public global::Speechify.BatchMoveDocumentsResponse? Type405 { get; set; } /// /// /// - public global::Speechify.AgentTool? Type406 { get; set; } + public global::System.Collections.Generic.IList? Type406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type407 { get; set; } + public global::Speechify.UpdateRefreshConfigRequest? Type407 { get; set; } /// /// /// - public global::Speechify.ListAgentToolsResponse? Type408 { get; set; } + public global::Speechify.RefreshHistoryEntryStatus? Type408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type409 { get; set; } + public global::Speechify.RefreshHistoryEntry? Type409 { get; set; } /// /// /// - public global::Speechify.CreateAgentToolRequestConfig? Type410 { get; set; } + public global::Speechify.ListRefreshHistoryResponse? Type410 { get; set; } /// /// /// - public global::Speechify.CreateAgentToolRequest? Type411 { get; set; } + public global::System.Collections.Generic.IList? Type411 { get; set; } /// /// /// - public global::Speechify.ToolNameHolderKind? Type412 { get; set; } + public global::Speechify.KnowledgeBaseFolder? Type412 { get; set; } /// /// /// - public global::Speechify.ToolNameHolder? Type413 { get; set; } + public global::Speechify.ListKnowledgeBaseFoldersResponse? Type413 { get; set; } /// /// /// - public global::Speechify.ToolNameTakenErrorDetailDetails? Type414 { get; set; } + public global::System.Collections.Generic.IList? Type414 { get; set; } /// /// /// - public global::Speechify.ToolNameTakenErrorDetail? Type415 { get; set; } + public global::Speechify.CreateFolderRequest? Type415 { get; set; } /// /// /// - public global::Speechify.ToolNameTakenError? Type416 { get; set; } + public global::Speechify.UpdateFolderRequest? Type416 { get; set; } /// /// /// - public global::Speechify.UpdateAgentToolRequestConfig? Type417 { get; set; } + public global::Speechify.ListImportJobsResponse? Type417 { get; set; } /// /// /// - public global::Speechify.UpdateAgentToolRequest? Type418 { get; set; } + public global::System.Collections.Generic.IList? Type418 { get; set; } /// /// /// - public global::Speechify.ToolConfig? Type419 { get; set; } + public global::Speechify.AttachedKnowledgeBasesResponseInjection? Type419 { get; set; } /// /// /// - public global::Speechify.Tool? Type420 { get; set; } + public global::Speechify.AttachedKnowledgeBasesResponse? Type420 { get; set; } /// /// /// - public global::Speechify.ListToolsResponse? Type421 { get; set; } + public global::Speechify.ToolKind? Type421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type422 { get; set; } + public global::Speechify.ToolParamType? Type422 { get; set; } /// /// /// - public global::Speechify.CreateToolRequestConfig? Type423 { get; set; } + public global::Speechify.ToolParam? Type423 { get; set; } /// /// /// - public global::Speechify.CreateToolRequest? Type424 { get; set; } + public global::Speechify.BuiltinToolConfig? Type424 { get; set; } /// /// /// - public global::Speechify.UpdateToolRequestConfig? Type425 { get; set; } + public global::System.Collections.Generic.IList? Type425 { get; set; } /// /// /// - public global::Speechify.UpdateToolRequest? Type426 { get; set; } + public global::Speechify.WebhookToolConfigMethod? Type426 { get; set; } /// /// /// - public global::Speechify.ToolAttachedAgent? Type427 { get; set; } + public global::Speechify.LongRunningToolConfigWaitAudioPreset? Type427 { get; set; } /// /// /// - public global::Speechify.ListToolAttachedAgentsResponse? Type428 { get; set; } + public global::Speechify.LongRunningToolConfigWaitAudio? Type428 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type429 { get; set; } + public global::Speechify.LongRunningToolConfigOnDuplicate? Type429 { get; set; } /// /// /// - public global::Speechify.ToolApiRouteMethod? Type430 { get; set; } + public global::Speechify.LongRunningToolConfig? Type430 { get; set; } /// /// /// - public global::Speechify.ToolAPIRouteAPI? Type431 { get; set; } + public global::Speechify.WebhookToolConfig? Type431 { get; set; } /// /// /// - public global::Speechify.ToolAPIRoute? Type432 { get; set; } + public global::Speechify.ClientToolConfig? Type432 { get; set; } /// /// /// - public global::Speechify.ListToolAPIRoutesResponse? Type433 { get; set; } + public global::Speechify.MCPTransport? Type433 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type434 { get; set; } + public global::Speechify.MCPAuth? Type434 { get; set; } /// /// /// - public global::Speechify.TestMCPConnectionRequest? Type435 { get; set; } + public global::Speechify.MCPAuthVariant1? Type435 { get; set; } /// /// /// - public global::Speechify.MCPProbeTool? Type436 { get; set; } + public global::Speechify.MCPAuthVariant1Type? Type436 { get; set; } /// /// /// - public global::Speechify.McpProbeErrorDetailsStage? Type437 { get; set; } + public global::Speechify.MCPAuthVariant2? Type437 { get; set; } /// /// /// - public global::Speechify.MCPProbeErrorDetails? Type438 { get; set; } + public global::Speechify.MCPAuthVariant2Type? Type438 { get; set; } /// /// /// - public global::Speechify.MCPProbeResult? Type439 { get; set; } + public global::Speechify.MCPAuthVariant3? Type439 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type440 { get; set; } + public global::Speechify.MCPAuthVariant3Type? Type440 { get; set; } /// /// /// - public global::Speechify.TestWebhookConnectionRequest? Type441 { get; set; } + public global::Speechify.MCPAuthDiscriminator? Type441 { get; set; } /// /// /// - public global::Speechify.WebhookProbeResult? Type442 { get; set; } + public global::Speechify.MCPAuthDiscriminatorType? Type442 { get; set; } /// /// /// - public global::Speechify.ImportOpenApiRequestSpec? Type443 { get; set; } + public global::Speechify.ToolActionClass? Type443 { get; set; } /// /// /// - public global::Speechify.ImportOpenAPIRequest? Type444 { get; set; } + public global::Speechify.ToolResponseMapping? Type444 { get; set; } /// /// /// - public global::Speechify.ImportedOpenAPIDocument? Type445 { get; set; } + public global::Speechify.MCPToolConfig? Type445 { get; set; } /// /// /// - public global::Speechify.SkippedOpenAPIOperation? Type446 { get; set; } + public global::System.Collections.Generic.Dictionary? Type446 { get; set; } /// /// /// - public global::Speechify.ImportOpenAPIResult? Type447 { get; set; } + public global::System.Collections.Generic.Dictionary? Type447 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type448 { get; set; } + public global::Speechify.OpenApiOperationMethod? Type448 { get; set; } /// /// /// - public global::Speechify.TestOpenAPICallRequest? Type449 { get; set; } + public global::Speechify.OpenApiParamIn? Type449 { get; set; } /// /// /// - public global::Speechify.TestOpenApiCallResultOutcome? Type450 { get; set; } + public global::Speechify.OpenAPIParam? Type450 { get; set; } /// /// /// - public global::Speechify.TestOpenAPICallResult? Type451 { get; set; } + public global::Speechify.OpenApiBodyContentType? Type451 { get; set; } /// /// /// - public global::Speechify.SystemBuiltinInfoExecution? Type452 { get; set; } + public global::Speechify.OpenAPIBody? Type452 { get; set; } /// /// /// - public global::Speechify.SystemBuiltinInfo? Type453 { get; set; } + public global::Speechify.OpenAPIOperation? Type453 { get; set; } /// /// /// - public global::Speechify.ListSystemBuiltinsResponse? Type454 { get; set; } + public global::System.Collections.Generic.IList? Type454 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type455 { get; set; } + public global::Speechify.OpenAPIToolConfig? Type455 { get; set; } /// /// /// - public global::Speechify.CredentialKind? Type456 { get; set; } + public global::System.Collections.Generic.IList? Type456 { get; set; } /// /// /// - public global::Speechify.OAuth2TokenEndpointAuthMethod? Type457 { get; set; } + public global::Speechify.AgentToolConfig? Type457 { get; set; } /// /// /// - public global::Speechify.CredentialConfigViewOauth2ClientCredentials? Type458 { get; set; } + public global::Speechify.ToolApprovalClass? Type458 { get; set; } /// /// /// - public global::Speechify.CredentialConfigViewOauth2Jwt? Type459 { get; set; } + public global::Speechify.ToolReach? Type459 { get; set; } /// /// /// - public global::Speechify.CredentialConfigViewBasic? Type460 { get; set; } + public global::Speechify.AgentTool? Type460 { get; set; } /// /// /// - public global::Speechify.CredentialConfigViewBearer? Type461 { get; set; } + public global::System.Collections.Generic.IList? Type461 { get; set; } /// /// /// - public global::Speechify.CredentialConfigViewSharedSecret? Type462 { get; set; } + public global::Speechify.ListAgentToolsResponse? Type462 { get; set; } /// /// /// - public global::Speechify.CredentialConfigViewCustomHeaders? Type463 { get; set; } + public global::System.Collections.Generic.IList? Type463 { get; set; } /// /// /// - public global::Speechify.CredentialConfigView? Type464 { get; set; } + public global::Speechify.CreateAgentToolRequestConfig? Type464 { get; set; } /// /// /// - public global::Speechify.CredentialReferenceResourceType? Type465 { get; set; } + public global::Speechify.CreateAgentToolRequest? Type465 { get; set; } /// /// /// - public global::Speechify.CredentialReference? Type466 { get; set; } + public global::Speechify.ToolNameHolderKind? Type466 { get; set; } /// /// /// - public global::Speechify.CredentialUsedBy? Type467 { get; set; } + public global::Speechify.ToolNameHolder? Type467 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type468 { get; set; } + public global::Speechify.ToolNameTakenErrorDetailDetails? Type468 { get; set; } /// /// /// - public global::Speechify.Credential? Type469 { get; set; } + public global::Speechify.ToolNameTakenErrorDetail? Type469 { get; set; } /// /// /// - public global::Speechify.ListCredentialsResponse? Type470 { get; set; } + public global::Speechify.ToolNameTakenError? Type470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type471 { get; set; } + public global::Speechify.UpdateAgentToolRequestConfig? Type471 { get; set; } /// /// /// - public global::Speechify.OAuth2ClientCredentialsConfig? Type472 { get; set; } + public global::Speechify.UpdateAgentToolRequest? Type472 { get; set; } /// /// /// - public global::Speechify.OAuth2JWTConfig? Type473 { get; set; } + public global::Speechify.ToolConfig? Type473 { get; set; } /// /// /// - public global::Speechify.BasicAuthConfig? Type474 { get; set; } + public global::Speechify.Tool? Type474 { get; set; } /// /// /// - public global::Speechify.BearerAuthConfig? Type475 { get; set; } + public global::Speechify.ListToolsResponse? Type475 { get; set; } /// /// /// - public global::Speechify.CustomHeadersConfig? Type476 { get; set; } + public global::System.Collections.Generic.IList? Type476 { get; set; } /// /// /// - public global::Speechify.SharedSecretConfig? Type477 { get; set; } + public global::Speechify.CreateToolRequestConfig? Type477 { get; set; } /// /// /// - public global::Speechify.CredentialConfig? Type478 { get; set; } + public global::Speechify.CreateToolRequest? Type478 { get; set; } /// /// /// - public global::Speechify.CreateCredentialRequest? Type479 { get; set; } + public global::Speechify.UpdateToolRequestConfig? Type479 { get; set; } /// /// /// - public global::Speechify.UpdateCredentialRequest? Type480 { get; set; } + public global::Speechify.UpdateToolRequest? Type480 { get; set; } /// /// /// - public global::Speechify.CredentialInUseErrorDetailDetails? Type481 { get; set; } + public global::Speechify.ToolAttachedAgent? Type481 { get; set; } /// /// /// - public global::Speechify.CredentialInUseErrorDetail? Type482 { get; set; } + public global::Speechify.ListToolAttachedAgentsResponse? Type482 { get; set; } /// /// /// - public global::Speechify.CredentialInUseError? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::Speechify.TestType? Type484 { get; set; } + public global::Speechify.ToolApiRouteMethod? Type484 { get; set; } /// /// /// - public global::Speechify.SimulationMessageRole? Type485 { get; set; } + public global::Speechify.ToolAPIRouteAPI? Type485 { get; set; } /// /// /// - public global::Speechify.SimulationMessage? Type486 { get; set; } + public global::Speechify.ToolAPIRoute? Type486 { get; set; } /// /// /// - public global::Speechify.ReplyConfig? Type487 { get; set; } + public global::Speechify.ListToolAPIRoutesResponse? Type487 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type488 { get; set; } + public global::System.Collections.Generic.IList? Type488 { get; set; } /// /// /// - public global::Speechify.ParameterCheckMode? Type489 { get; set; } + public global::Speechify.TestMCPConnectionRequest? Type489 { get; set; } /// /// /// - public global::Speechify.ParameterCheck? Type490 { get; set; } + public global::Speechify.MCPProbeTool? Type490 { get; set; } /// /// /// - public global::Speechify.ToolCallConfig? Type491 { get; set; } + public global::Speechify.McpProbeErrorDetailsStage? Type491 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type492 { get; set; } + public global::Speechify.MCPProbeErrorDetails? Type492 { get; set; } /// /// /// - public global::Speechify.DataAssertionMode? Type493 { get; set; } + public global::Speechify.MCPProbeResult? Type493 { get; set; } /// /// /// - public global::Speechify.DataAssertion? Type494 { get; set; } + public global::System.Collections.Generic.IList? Type494 { get; set; } /// /// /// - public global::Speechify.SimulationConfig? Type495 { get; set; } + public global::Speechify.TestWebhookConnectionRequest? Type495 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type496 { get; set; } + public global::Speechify.WebhookProbeResult? Type496 { get; set; } /// /// /// - public global::Speechify.CreateAgentTestRequestConfig? Type497 { get; set; } + public global::Speechify.ImportOpenApiRequestSpec? Type497 { get; set; } /// /// /// - public global::Speechify.MockingStrategy? Type498 { get; set; } + public global::Speechify.ImportOpenAPIRequest? Type498 { get; set; } /// /// /// - public global::Speechify.ToolMock? Type499 { get; set; } + public global::Speechify.ImportedOpenAPIDocument? Type499 { get; set; } /// /// /// - public global::Speechify.NoMatchBehavior? Type500 { get; set; } + public global::Speechify.SkippedOpenAPIOperation? Type500 { get; set; } /// /// /// - public global::Speechify.ToolMockConfig? Type501 { get; set; } + public global::Speechify.ImportOpenAPIResult? Type501 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type502 { get; set; } + public global::System.Collections.Generic.IList? Type502 { get; set; } /// /// /// - public global::Speechify.CreateAgentTestRequest? Type503 { get; set; } + public global::Speechify.TestOpenAPICallRequest? Type503 { get; set; } /// /// /// - public global::Speechify.AgentTestConfig? Type504 { get; set; } + public global::Speechify.TestOpenApiCallResultOutcome? Type504 { get; set; } /// /// /// - public global::Speechify.AgentTest? Type505 { get; set; } + public global::Speechify.TestOpenAPICallResult? Type505 { get; set; } /// /// /// - public global::Speechify.TestVerdict? Type506 { get; set; } + public global::Speechify.SystemBuiltinInfoExecution? Type506 { get; set; } /// /// /// - public global::Speechify.ReplyResult? Type507 { get; set; } + public global::Speechify.SystemBuiltinInfo? Type507 { get; set; } /// /// /// - public global::Speechify.ParameterCheckResult? Type508 { get; set; } + public global::Speechify.ListSystemBuiltinsResponse? Type508 { get; set; } /// /// /// - public global::Speechify.ToolCallResult? Type509 { get; set; } + public global::System.Collections.Generic.IList? Type509 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type510 { get; set; } + public global::Speechify.CredentialKind? Type510 { get; set; } /// /// /// - public global::Speechify.SimulationToolCall? Type511 { get; set; } + public global::Speechify.OAuth2TokenEndpointAuthMethod? Type511 { get; set; } /// /// /// - public global::Speechify.SimulationResultSentiment? Type512 { get; set; } + public global::Speechify.CredentialConfigViewOauth2ClientCredentials? Type512 { get; set; } /// /// /// - public global::Speechify.SimulationCriterionResultStatus? Type513 { get; set; } + public global::Speechify.CredentialConfigViewOauth2Jwt? Type513 { get; set; } /// /// /// - public global::Speechify.SimulationCriterionResult? Type514 { get; set; } + public global::Speechify.CredentialConfigViewBasic? Type514 { get; set; } /// /// /// - public global::Speechify.DataAssertionResultMode? Type515 { get; set; } + public global::Speechify.CredentialConfigViewBearer? Type515 { get; set; } /// /// /// - public global::Speechify.DataAssertionResult? Type516 { get; set; } + public global::Speechify.CredentialConfigViewSharedSecret? Type516 { get; set; } /// /// /// - public global::Speechify.SimulationResult? Type517 { get; set; } + public global::Speechify.CredentialConfigViewCustomHeaders? Type517 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type518 { get; set; } + public global::Speechify.CredentialConfigView? Type518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type519 { get; set; } + public global::Speechify.CredentialReferenceResourceType? Type519 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type520 { get; set; } + public global::Speechify.CredentialReference? Type520 { get; set; } /// /// /// - public global::Speechify.TestRunResult? Type521 { get; set; } + public global::Speechify.CredentialUsedBy? Type521 { get; set; } /// /// /// - public global::Speechify.AgentTestRun? Type522 { get; set; } + public global::System.Collections.Generic.IList? Type522 { get; set; } /// /// /// - public global::Speechify.AgentTestWithLastRun? Type523 { get; set; } + public global::Speechify.Credential? Type523 { get; set; } /// /// /// - public global::Speechify.ListTestsResponse? Type524 { get; set; } + public global::Speechify.ListCredentialsResponse? Type524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type525 { get; set; } + public global::System.Collections.Generic.IList? Type525 { get; set; } /// /// /// - public global::Speechify.UpdateAgentTestRequestConfig? Type526 { get; set; } + public global::Speechify.OAuth2ClientCredentialsConfig? Type526 { get; set; } /// /// /// - public global::Speechify.UpdateAgentTestRequest? Type527 { get; set; } + public global::Speechify.OAuth2JWTConfig? Type527 { get; set; } /// /// /// - public global::Speechify.AgentTestFolder? Type528 { get; set; } + public global::Speechify.BasicAuthConfig? Type528 { get; set; } /// /// /// - public global::Speechify.ListAgentTestFoldersResponse? Type529 { get; set; } + public global::Speechify.BearerAuthConfig? Type529 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type530 { get; set; } + public global::Speechify.CustomHeadersConfig? Type530 { get; set; } /// /// /// - public global::Speechify.CreateAgentTestFolderRequest? Type531 { get; set; } + public global::Speechify.SharedSecretConfig? Type531 { get; set; } /// /// /// - public global::Speechify.UpdateAgentTestFolderRequest? Type532 { get; set; } + public global::Speechify.CredentialConfig? Type532 { get; set; } /// /// /// - public global::Speechify.ListAgentTestRunsResponse? Type533 { get; set; } + public global::Speechify.CreateCredentialRequest? Type533 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type534 { get; set; } + public global::Speechify.UpdateCredentialRequest? Type534 { get; set; } /// /// /// - public global::Speechify.RunTarget? Type535 { get; set; } + public global::Speechify.CredentialInUseErrorDetailDetails? Type535 { get; set; } /// /// /// - public global::Speechify.TestRunConfigOverride? Type536 { get; set; } + public global::Speechify.CredentialInUseErrorDetail? Type536 { get; set; } /// /// /// - public global::Speechify.RunTargetedTestsRequest? Type537 { get; set; } + public global::Speechify.CredentialInUseError? Type537 { get; set; } /// /// /// - public global::Speechify.SuiteRunTrigger? Type538 { get; set; } + public global::Speechify.TestType? Type538 { get; set; } /// /// /// - public global::Speechify.AgentTestSuiteRunResults? Type539 { get; set; } + public global::Speechify.SimulationMessageRole? Type539 { get; set; } /// /// /// - public global::Speechify.AgentTestSuiteRun? Type540 { get; set; } + public global::Speechify.SimulationMessage? Type540 { get; set; } /// /// /// - public global::Speechify.RunAgentTestsResponse? Type541 { get; set; } + public global::Speechify.ReplyConfig? Type541 { get; set; } /// /// /// - public global::Speechify.BatchRunEntry? Type542 { get; set; } + public global::System.Collections.Generic.IList? Type542 { get; set; } /// /// /// - public global::Speechify.RunBatchRequest? Type543 { get; set; } + public global::Speechify.ParameterCheckMode? Type543 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type544 { get; set; } + public global::Speechify.ParameterCheck? Type544 { get; set; } /// /// /// - public global::Speechify.ListSuiteRunsResponse? Type545 { get; set; } + public global::Speechify.ToolCallConfig? Type545 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type546 { get; set; } + public global::System.Collections.Generic.IList? Type546 { get; set; } /// /// /// - public global::Speechify.AgentTestSuiteRunWithRunsResults? Type547 { get; set; } + public global::Speechify.DataAssertionMode? Type547 { get; set; } /// /// /// - public global::Speechify.SuiteChildRun? Type548 { get; set; } + public global::Speechify.DataAssertion? Type548 { get; set; } /// /// /// - public global::Speechify.AgentTestSuiteRunWithRuns? Type549 { get; set; } + public global::Speechify.SimulationConfig? Type549 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type550 { get; set; } + public global::System.Collections.Generic.IList? Type550 { get; set; } /// /// /// - public global::Speechify.RunAllTestsRequest? Type551 { get; set; } + public global::Speechify.CreateAgentTestRequestConfig? Type551 { get; set; } /// /// /// - public global::Speechify.TestStatsBucket? Type552 { get; set; } + public global::Speechify.MockingStrategy? Type552 { get; set; } /// /// /// - public global::Speechify.TestStats? Type553 { get; set; } + public global::Speechify.ToolMock? Type553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type554 { get; set; } + public global::Speechify.NoMatchBehavior? Type554 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type555 { get; set; } + public global::Speechify.ToolMockConfig? Type555 { get; set; } /// /// /// - public global::Speechify.ShareLinkStatus? Type556 { get; set; } + public global::System.Collections.Generic.IList? Type556 { get; set; } /// /// /// - public global::Speechify.ShareLink? Type557 { get; set; } + public global::Speechify.CreateAgentTestRequest? Type557 { get; set; } /// /// /// - public global::Speechify.ListShareLinksResponse? Type558 { get; set; } + public global::Speechify.AgentTestConfig? Type558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type559 { get; set; } + public global::Speechify.AgentTest? Type559 { get; set; } /// /// /// - public global::Speechify.CreateShareLinkRequest? Type560 { get; set; } + public global::Speechify.TestVerdict? Type560 { get; set; } /// /// /// - public global::Speechify.CreateShareLinkResponseStatus? Type561 { get; set; } + public global::Speechify.ReplyResult? Type561 { get; set; } /// /// /// - public global::Speechify.CreateShareLinkResponse? Type562 { get; set; } + public global::Speechify.ParameterCheckResult? Type562 { get; set; } /// /// /// - public global::Speechify.RevealShareLinkTokenResponse? Type563 { get; set; } + public global::Speechify.ToolCallResult? Type563 { get; set; } /// /// /// - public global::Speechify.ShareLinkPreview? Type564 { get; set; } + public global::System.Collections.Generic.IList? Type564 { get; set; } /// /// /// - public global::Speechify.CreateShareLinkSessionRequest? Type565 { get; set; } + public global::Speechify.SimulationToolCall? Type565 { get; set; } /// /// /// - public global::Speechify.ShareLinkSession? Type566 { get; set; } + public global::Speechify.SimulationResultSentiment? Type566 { get; set; } /// /// /// - public global::Speechify.PhoneNumberProvider? Type567 { get; set; } + public global::Speechify.SimulationCriterionResultStatus? Type567 { get; set; } /// /// /// - public global::Speechify.PhoneNumberCapability? Type568 { get; set; } + public global::Speechify.SimulationCriterionResult? Type568 { get; set; } /// /// /// - public global::Speechify.PhoneNumberReputationRisk? Type569 { get; set; } + public global::Speechify.DataAssertionResultMode? Type569 { get; set; } /// /// /// - public global::Speechify.PhoneNumberReputation? Type570 { get; set; } + public global::Speechify.DataAssertionResult? Type570 { get; set; } /// /// /// - public global::Speechify.PhoneNumber? Type571 { get; set; } + public global::Speechify.SimulationResult? Type571 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type572 { get; set; } + public global::System.Collections.Generic.IList? Type572 { get; set; } /// /// /// - public global::Speechify.ListPhoneNumbersResponse? Type573 { get; set; } + public global::System.Collections.Generic.IList? Type573 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type574 { get; set; } + public global::System.Collections.Generic.IList? Type574 { get; set; } /// /// /// - public global::Speechify.TwilioImportSpec? Type575 { get; set; } + public global::Speechify.TestRunResult? Type575 { get; set; } /// /// /// - public global::Speechify.TelnyxImportSpec? Type576 { get; set; } + public global::Speechify.AgentTestRun? Type576 { get; set; } /// /// /// - public global::Speechify.ImportPhoneNumberRequest? Type577 { get; set; } + public global::Speechify.AgentTestWithLastRun? Type577 { get; set; } /// /// /// - public global::Speechify.PurchasedPhoneNumberProvider? Type578 { get; set; } + public global::Speechify.ListTestsResponse? Type578 { get; set; } /// /// /// - public global::Speechify.AvailablePhoneNumber? Type579 { get; set; } + public global::System.Collections.Generic.IList? Type579 { get; set; } /// /// /// - public global::Speechify.SearchAvailablePhoneNumbersResponse? Type580 { get; set; } + public global::Speechify.UpdateAgentTestRequestConfig? Type580 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type581 { get; set; } + public global::Speechify.UpdateAgentTestRequest? Type581 { get; set; } /// /// /// - public global::Speechify.IntendedUseMarketingOrInformational? Type582 { get; set; } + public global::Speechify.AgentTestFolder? Type582 { get; set; } /// /// /// - public global::Speechify.IntendedUse? Type583 { get; set; } + public global::Speechify.ListAgentTestFoldersResponse? Type583 { get; set; } /// /// /// - public global::Speechify.PurchasePhoneNumberRequest? Type584 { get; set; } + public global::System.Collections.Generic.IList? Type584 { get; set; } /// /// /// - public global::Speechify.UpdatePhoneNumberRequest? Type585 { get; set; } + public global::Speechify.CreateAgentTestFolderRequest? Type585 { get; set; } /// /// /// - public global::Speechify.CreateOutboundCallRequest? Type586 { get; set; } + public global::Speechify.UpdateAgentTestFolderRequest? Type586 { get; set; } /// /// /// - public global::Speechify.CreateOutboundCallResponse? Type587 { get; set; } + public global::Speechify.ListAgentTestRunsResponse? Type587 { get; set; } /// /// /// - public global::Speechify.BatchCall? Type588 { get; set; } + public global::System.Collections.Generic.IList? Type588 { get; set; } /// /// /// - public global::Speechify.ListBatchCallsResponse? Type589 { get; set; } + public global::Speechify.RunTarget? Type589 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type590 { get; set; } + public global::Speechify.TestRunConfigOverride? Type590 { get; set; } /// /// /// - public global::Speechify.BatchRecipientRequest? Type591 { get; set; } + public global::Speechify.RunTargetedTestsRequest? Type591 { get; set; } /// /// /// - public global::Speechify.CreateBatchCallRequest? Type592 { get; set; } + public global::Speechify.SuiteRunTrigger? Type592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type593 { get; set; } + public global::Speechify.AgentTestSuiteRunResults? Type593 { get; set; } /// /// /// - public global::Speechify.BatchRecipientStatus? Type594 { get; set; } + public global::Speechify.AgentTestSuiteRun? Type594 { get; set; } /// /// /// - public global::Speechify.BatchRecipient? Type595 { get; set; } + public global::Speechify.RunAgentTestsResponse? Type595 { get; set; } /// /// /// - public global::Speechify.ListBatchRecipientsResponse? Type596 { get; set; } + public global::Speechify.BatchRunEntry? Type596 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type597 { get; set; } + public global::Speechify.RunBatchRequest? Type597 { get; set; } /// /// /// - public global::Speechify.IvrMenuListEntryMenuTree? Type598 { get; set; } + public global::System.Collections.Generic.IList? Type598 { get; set; } /// /// /// - public global::Speechify.IVRMenuListEntry? Type599 { get; set; } + public global::Speechify.ListSuiteRunsResponse? Type599 { get; set; } /// /// /// - public global::Speechify.ListIVRMenusResponse? Type600 { get; set; } + public global::System.Collections.Generic.IList? Type600 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type601 { get; set; } + public global::Speechify.AgentTestSuiteRunWithRunsResults? Type601 { get; set; } /// /// /// - public global::Speechify.IvrMenuMenuTree? Type602 { get; set; } + public global::Speechify.SuiteChildRun? Type602 { get; set; } /// /// /// - public global::Speechify.IVRMenu? Type603 { get; set; } + public global::Speechify.AgentTestSuiteRunWithRuns? Type603 { get; set; } /// /// /// - public global::Speechify.UpdateIVRMenuLabelRequest? Type604 { get; set; } + public global::System.Collections.Generic.IList? Type604 { get; set; } /// /// /// - public global::Speechify.InvalidateIVRMenuRequest? Type605 { get; set; } + public global::Speechify.RunAllTestsRequest? Type605 { get; set; } /// /// /// - public global::Speechify.SIPTrunkProvider? Type606 { get; set; } + public global::Speechify.TestStatsBucket? Type606 { get; set; } /// /// /// - public global::Speechify.SIPTrunkDirection? Type607 { get; set; } + public global::Speechify.TestStats? Type607 { get; set; } /// /// /// - public global::Speechify.SIPTransport? Type608 { get; set; } + public global::System.Collections.Generic.IList? Type608 { get; set; } /// /// /// - public global::Speechify.SIPMediaEncryption? Type609 { get; set; } + public global::System.Collections.Generic.Dictionary? Type609 { get; set; } /// /// /// - public global::Speechify.SIPTrunk? Type610 { get; set; } + public global::Speechify.ShareLinkStatus? Type610 { get; set; } /// /// /// - public global::Speechify.ListSIPTrunksResponse? Type611 { get; set; } + public global::Speechify.ShareLink? Type611 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type612 { get; set; } + public global::Speechify.ListShareLinksResponse? Type612 { get; set; } /// /// /// - public global::Speechify.CreateSipTrunkRequestCredentials? Type613 { get; set; } + public global::System.Collections.Generic.IList? Type613 { get; set; } /// /// /// - public global::Speechify.CreateSIPTrunkRequest? Type614 { get; set; } + public global::Speechify.CreateShareLinkRequest? Type614 { get; set; } /// /// /// - public global::Speechify.Caller? Type615 { get; set; } + public global::Speechify.CreateShareLinkResponseStatus? Type615 { get; set; } /// /// /// - public global::Speechify.ListCallersResponse? Type616 { get; set; } + public global::Speechify.CreateShareLinkResponse? Type616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type617 { get; set; } + public global::Speechify.RevealShareLinkTokenResponse? Type617 { get; set; } /// /// /// - public global::Speechify.UpdateCallerRequest? Type618 { get; set; } + public global::Speechify.ShareLinkPreview? Type618 { get; set; } /// /// /// - public global::Speechify.DeleteCallerResponse? Type619 { get; set; } + public global::Speechify.CreateShareLinkSessionRequest? Type619 { get; set; } /// /// /// - public global::Speechify.ListCallerConversationsResponse? Type620 { get; set; } + public global::Speechify.ShareLinkSession? Type620 { get; set; } /// /// /// - public global::Speechify.ListCallerMemoriesResponse? Type621 { get; set; } + public global::Speechify.PhoneNumberProvider? Type621 { get; set; } /// /// /// - public global::Speechify.AudioAsset? Type622 { get; set; } + public global::Speechify.PhoneNumberCapability? Type622 { get; set; } /// /// /// - public global::Speechify.ListAudioAssetsResponse? Type623 { get; set; } + public global::Speechify.PhoneNumberReputationRisk? Type623 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type624 { get; set; } + public global::Speechify.PhoneNumberReputation? Type624 { get; set; } /// /// /// - public global::Speechify.TeamMember? Type625 { get; set; } + public global::Speechify.PhoneNumber? Type625 { get; set; } /// /// /// - public global::Speechify.Team? Type626 { get; set; } + public global::System.Collections.Generic.IList? Type626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type627 { get; set; } + public global::Speechify.ListPhoneNumbersResponse? Type627 { get; set; } /// /// /// - public global::Speechify.ListTeamsResponse? Type628 { get; set; } + public global::System.Collections.Generic.IList? Type628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type629 { get; set; } + public global::Speechify.TwilioImportSpec? Type629 { get; set; } /// /// /// - public global::Speechify.TeamMemberInput? Type630 { get; set; } + public global::Speechify.TelnyxImportSpec? Type630 { get; set; } /// /// /// - public global::Speechify.CreateTeamRequest? Type631 { get; set; } + public global::Speechify.ImportPhoneNumberRequest? Type631 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type632 { get; set; } + public global::Speechify.PurchasedPhoneNumberProvider? Type632 { get; set; } /// /// /// - public global::Speechify.UpdateTeamRequest? Type633 { get; set; } + public global::Speechify.AvailablePhoneNumber? Type633 { get; set; } /// /// /// - public global::Speechify.CreateTeamRunRequest? Type634 { get; set; } + public global::Speechify.SearchAvailablePhoneNumbersResponse? Type634 { get; set; } /// /// /// - public global::Speechify.AgentTriggerType? Type635 { get; set; } + public global::System.Collections.Generic.IList? Type635 { get; set; } /// /// /// - public global::Speechify.TriggerRunSpec? Type636 { get; set; } + public global::Speechify.IntendedUseMarketingOrInformational? Type636 { get; set; } /// /// /// - public global::Speechify.TriggerScheduleConfig? Type637 { get; set; } + public global::Speechify.IntendedUse? Type637 { get; set; } /// /// /// - public global::Speechify.TriggerWebhookConfigUserIdentitySource? Type638 { get; set; } + public global::Speechify.PurchasePhoneNumberRequest? Type638 { get; set; } /// /// /// - public global::Speechify.TriggerWebhookConfig? Type639 { get; set; } + public global::Speechify.UpdatePhoneNumberRequest? Type639 { get; set; } /// /// /// - public global::Speechify.AgentTriggerLastFireStatus? Type640 { get; set; } + public global::Speechify.CreateOutboundCallRequest? Type640 { get; set; } /// /// /// - public global::Speechify.TriggerThread? Type641 { get; set; } + public global::Speechify.CreateOutboundCallResponse? Type641 { get; set; } /// /// /// - public global::Speechify.AgentTrigger? Type642 { get; set; } + public global::Speechify.BatchCall? Type642 { get; set; } /// /// /// - public global::Speechify.ListAgentTriggersResponse? Type643 { get; set; } + public global::Speechify.ListBatchCallsResponse? Type643 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type644 { get; set; } + public global::System.Collections.Generic.IList? Type644 { get; set; } /// /// /// - public global::Speechify.CreateAgentTriggerRequestType? Type645 { get; set; } + public global::Speechify.BatchRecipientRequest? Type645 { get; set; } /// /// /// - public global::Speechify.CreateAgentTriggerRequest? Type646 { get; set; } + public global::Speechify.CreateBatchCallRequest? Type646 { get; set; } /// /// /// - public global::Speechify.UpdateAgentTriggerRequest? Type647 { get; set; } + public global::System.Collections.Generic.IList? Type647 { get; set; } /// /// /// - public global::Speechify.AgentTriggerFireResponseStatus? Type648 { get; set; } + public global::Speechify.BatchRecipientStatus? Type648 { get; set; } /// /// /// - public global::Speechify.AgentTriggerFireResponse? Type649 { get; set; } + public global::Speechify.BatchRecipient? Type649 { get; set; } /// /// /// - public global::Speechify.Skill? Type650 { get; set; } + public global::Speechify.ListBatchRecipientsResponse? Type650 { get; set; } /// /// /// - public global::Speechify.ListSkillsResponse? Type651 { get; set; } + public global::System.Collections.Generic.IList? Type651 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type652 { get; set; } + public global::Speechify.IvrMenuListEntryMenuTree? Type652 { get; set; } /// /// /// - public global::Speechify.CreateSkillRequest? Type653 { get; set; } + public global::Speechify.IVRMenuListEntry? Type653 { get; set; } /// /// /// - public global::Speechify.UpdateSkillRequest? Type654 { get; set; } + public global::Speechify.ListIVRMenusResponse? Type654 { get; set; } /// /// /// - public global::Speechify.SkillVersion? Type655 { get; set; } + public global::System.Collections.Generic.IList? Type655 { get; set; } /// /// /// - public global::Speechify.ListSkillVersionsResponse? Type656 { get; set; } + public global::Speechify.IvrMenuMenuTree? Type656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type657 { get; set; } + public global::Speechify.IVRMenu? Type657 { get; set; } /// /// /// - public global::Speechify.AgentSkill? Type658 { get; set; } + public global::Speechify.UpdateIVRMenuLabelRequest? Type658 { get; set; } /// /// /// - public global::Speechify.ListAgentSkillsResponse? Type659 { get; set; } + public global::Speechify.InvalidateIVRMenuRequest? Type659 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type660 { get; set; } + public global::Speechify.SIPTrunkProvider? Type660 { get; set; } /// /// /// - public global::Speechify.AttachSkillRequest? Type661 { get; set; } + public global::Speechify.SIPTrunkDirection? Type661 { get; set; } /// /// /// - public global::Speechify.UpdateAgentSkillRequest? Type662 { get; set; } + public global::Speechify.SIPTransport? Type662 { get; set; } /// /// /// - public global::Speechify.V1FilesGetParametersKind? Type663 { get; set; } + public global::Speechify.SIPMediaEncryption? Type663 { get; set; } /// /// /// - public global::Speechify.ListFilesResponse? Type664 { get; set; } + public global::Speechify.SIPTrunk? Type664 { get; set; } /// /// /// - public global::Speechify.V1FilesPostRequestBodyContentMultipartFormDataSchemaKind? Type665 { get; set; } + public global::Speechify.ListSIPTrunksResponse? Type665 { get; set; } /// /// /// - public global::Speechify.Store? Type666 { get; set; } + public global::System.Collections.Generic.IList? Type666 { get; set; } /// /// /// - public global::Speechify.ListStoresResponse? Type667 { get; set; } + public global::Speechify.CreateSipTrunkRequestCredentials? Type667 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type668 { get; set; } + public global::Speechify.CreateSIPTrunkRequest? Type668 { get; set; } /// /// /// - public global::Speechify.CreateStoreRequest? Type669 { get; set; } + public global::Speechify.Caller? Type669 { get; set; } /// /// /// - public global::Speechify.UpdateStoreRequest? Type670 { get; set; } + public global::Speechify.ListCallersResponse? Type670 { get; set; } /// /// /// - public global::Speechify.StoreCollection? Type671 { get; set; } + public global::System.Collections.Generic.IList? Type671 { get; set; } /// /// /// - public global::Speechify.ListStoreCollectionsResponse? Type672 { get; set; } + public global::Speechify.UpdateCallerRequest? Type672 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type673 { get; set; } + public global::Speechify.DeleteCallerResponse? Type673 { get; set; } /// /// /// - public global::Speechify.StoreDocumentSource? Type674 { get; set; } + public global::Speechify.ListCallerConversationsResponse? Type674 { get; set; } /// /// /// - public global::Speechify.StoreDocument? Type675 { get; set; } + public global::Speechify.ListCallerMemoriesResponse? Type675 { get; set; } /// /// /// - public global::Speechify.QueryStoreDocumentsResponse? Type676 { get; set; } + public global::Speechify.AudioAsset? Type676 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type677 { get; set; } + public global::Speechify.ListAudioAssetsResponse? Type677 { get; set; } /// /// /// - public global::Speechify.WriteStoreDocumentRequest? Type678 { get; set; } + public global::System.Collections.Generic.IList? Type678 { get; set; } /// /// /// - public global::Speechify.StoreWhereClauseOp? Type679 { get; set; } + public global::Speechify.TeamMember? Type679 { get; set; } /// /// /// - public global::Speechify.StoreWhereClause? Type680 { get; set; } + public global::Speechify.Team? Type680 { get; set; } /// /// /// - public global::Speechify.StoreOrderByDirection? Type681 { get; set; } + public global::System.Collections.Generic.IList? Type681 { get; set; } /// /// /// - public global::Speechify.StoreOrderBy? Type682 { get; set; } + public global::Speechify.ListTeamsResponse? Type682 { get; set; } /// /// /// - public global::Speechify.StoreDocumentQuery? Type683 { get; set; } + public global::System.Collections.Generic.IList? Type683 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type684 { get; set; } + public global::Speechify.TeamMemberInput? Type684 { get; set; } /// /// /// - public global::Speechify.StoreAggregateMetricOp? Type685 { get; set; } + public global::Speechify.CreateTeamRequest? Type685 { get; set; } /// /// /// - public global::Speechify.StoreAggregateMetric? Type686 { get; set; } + public global::System.Collections.Generic.IList? Type686 { get; set; } /// /// /// - public global::Speechify.StoreAggregateQuery? Type687 { get; set; } + public global::Speechify.UpdateTeamRequest? Type687 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type688 { get; set; } + public global::Speechify.CreateTeamRunRequest? Type688 { get; set; } /// /// /// - public global::Speechify.StoreAggregateGroup? Type689 { get; set; } + public global::Speechify.AgentTriggerType? Type689 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type690 { get; set; } + public global::Speechify.TriggerRunSpec? Type690 { get; set; } /// /// /// - public global::Speechify.StoreAggregateResponse? Type691 { get; set; } + public global::Speechify.TriggerScheduleConfig? Type691 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type692 { get; set; } + public global::Speechify.TriggerWebhookConfigUserIdentitySource? Type692 { get; set; } /// /// /// - public global::Speechify.StoreBatchWriteOp? Type693 { get; set; } + public global::Speechify.TriggerWebhookConfig? Type693 { get; set; } /// /// /// - public global::Speechify.StoreBatchWrite? Type694 { get; set; } + public global::Speechify.AgentTriggerLastFireStatus? Type694 { get; set; } /// /// /// - public global::Speechify.StoreBatchRequest? Type695 { get; set; } + public global::Speechify.TriggerThread? Type695 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type696 { get; set; } + public global::Speechify.AgentTrigger? Type696 { get; set; } /// /// /// - public global::Speechify.StoreBatchResultOp? Type697 { get; set; } + public global::Speechify.ListAgentTriggersResponse? Type697 { get; set; } /// /// /// - public global::Speechify.StoreBatchResult? Type698 { get; set; } + public global::System.Collections.Generic.IList? Type698 { get; set; } /// /// /// - public global::Speechify.StoreBatchResponse? Type699 { get; set; } + public global::Speechify.CreateAgentTriggerRequestType? Type699 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type700 { get; set; } + public global::Speechify.CreateAgentTriggerRequest? Type700 { get; set; } /// /// /// - public global::Speechify.ListAgentStoresResponse? Type701 { get; set; } + public global::Speechify.UpdateAgentTriggerRequest? Type701 { get; set; } /// /// /// - public global::Speechify.HostedApiAuthMode? Type702 { get; set; } + public global::Speechify.AgentTriggerFireResponseStatus? Type702 { get; set; } /// /// /// - public global::Speechify.HostedAPI? Type703 { get; set; } + public global::Speechify.AgentTriggerFireResponse? Type703 { get; set; } /// /// /// - public global::Speechify.ListHostedAPIsResponse? Type704 { get; set; } + public global::Speechify.Skill? Type704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type705 { get; set; } + public global::Speechify.ListSkillsResponse? Type705 { get; set; } /// /// /// - public global::Speechify.CreateHostedApiRequestAuthMode? Type706 { get; set; } + public global::System.Collections.Generic.IList? Type706 { get; set; } /// /// /// - public global::Speechify.CreateHostedAPIRequest? Type707 { get; set; } + public global::Speechify.CreateSkillRequest? Type707 { get; set; } /// /// /// - public global::Speechify.UpdateHostedApiRequestAuthMode? Type708 { get; set; } + public global::Speechify.UpdateSkillRequest? Type708 { get; set; } /// /// /// - public global::Speechify.UpdateHostedAPIRequest? Type709 { get; set; } + public global::Speechify.SkillVersion? Type709 { get; set; } /// /// /// - public global::Speechify.HostedApiUsageRoutesItems? Type710 { get; set; } + public global::Speechify.ListSkillVersionsResponse? Type710 { get; set; } /// /// /// - public global::Speechify.HostedAPIUsage? Type711 { get; set; } + public global::System.Collections.Generic.IList? Type711 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type712 { get; set; } + public global::Speechify.AgentSkill? Type712 { get; set; } /// /// /// - public global::Speechify.V1ApisApiIdAnalyticsGetParametersGranularity? Type713 { get; set; } + public global::Speechify.ListAgentSkillsResponse? Type713 { get; set; } /// /// /// - public global::Speechify.RequestAnalyticsTotals? Type714 { get; set; } + public global::System.Collections.Generic.IList? Type714 { get; set; } /// /// /// - public global::Speechify.RequestAnalyticsBucket? Type715 { get; set; } + public global::Speechify.AttachSkillRequest? Type715 { get; set; } /// /// /// - public global::Speechify.RequestTopPath? Type716 { get; set; } + public global::Speechify.UpdateAgentSkillRequest? Type716 { get; set; } /// /// /// - public global::Speechify.RequestAnalyticsResponse? Type717 { get; set; } + public global::Speechify.V1FilesGetParametersKind? Type717 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type718 { get; set; } + public global::Speechify.ListFilesResponse? Type718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type719 { get; set; } + public global::Speechify.V1FilesPostRequestBodyContentMultipartFormDataSchemaKind? Type719 { get; set; } /// /// /// - public global::Speechify.HostedApiRouteMethod? Type720 { get; set; } + public global::Speechify.Store? Type720 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverType? Type721 { get; set; } + public global::Speechify.ListStoresResponse? Type721 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverWriteMode? Type722 { get; set; } + public global::System.Collections.Generic.IList? Type722 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverWhereItemsOp? Type723 { get; set; } + public global::Speechify.CreateStoreRequest? Type723 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverWhereItems? Type724 { get; set; } + public global::Speechify.UpdateStoreRequest? Type724 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverOrderByDirection? Type725 { get; set; } + public global::Speechify.StoreCollection? Type725 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverOrderBy? Type726 { get; set; } + public global::Speechify.ListStoreCollectionsResponse? Type726 { get; set; } /// /// /// - public global::Speechify.HostedAPIResolver? Type727 { get; set; } + public global::System.Collections.Generic.IList? Type727 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type728 { get; set; } + public global::Speechify.StoreDocumentSource? Type728 { get; set; } /// /// /// - public global::Speechify.HostedAPIRoute? Type729 { get; set; } + public global::Speechify.StoreDocument? Type729 { get; set; } /// /// /// - public global::Speechify.ListHostedAPIRoutesResponse? Type730 { get; set; } + public global::Speechify.QueryStoreDocumentsResponse? Type730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type731 { get; set; } + public global::System.Collections.Generic.IList? Type731 { get; set; } /// /// /// - public global::Speechify.CreateHostedApiRouteRequestMethod? Type732 { get; set; } + public global::Speechify.WriteStoreDocumentRequest? Type732 { get; set; } /// /// /// - public global::Speechify.CreateHostedAPIRouteRequest? Type733 { get; set; } + public global::Speechify.StoreWhereClauseOp? Type733 { get; set; } /// /// /// - public global::Speechify.MountHostedAPIRoutesRequest? Type734 { get; set; } + public global::Speechify.StoreWhereClause? Type734 { get; set; } /// /// /// - public global::Speechify.HostedApiMountToolKind? Type735 { get; set; } + public global::Speechify.StoreOrderByDirection? Type735 { get; set; } /// /// /// - public global::Speechify.HostedApiMountOperationAction? Type736 { get; set; } + public global::Speechify.StoreOrderBy? Type736 { get; set; } /// /// /// - public global::Speechify.HostedApiMountOperationChangesItems? Type737 { get; set; } + public global::Speechify.StoreDocumentQuery? Type737 { get; set; } /// /// /// - public global::Speechify.HostedAPIMountOperation? Type738 { get; set; } + public global::System.Collections.Generic.IList? Type738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type739 { get; set; } + public global::Speechify.StoreAggregateQuery? Type739 { get; set; } /// /// /// - public global::Speechify.HostedAPIMountSummary? Type740 { get; set; } + public global::Speechify.StoreAggregateGroup? Type740 { get; set; } /// /// /// - public global::Speechify.HostedAPIMount? Type741 { get; set; } + public global::System.Collections.Generic.Dictionary? Type741 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type742 { get; set; } + public global::Speechify.StoreAggregateResponse? Type742 { get; set; } /// /// /// - public global::Speechify.UpdateHostedApiRouteRequestMethod? Type743 { get; set; } + public global::System.Collections.Generic.IList? Type743 { get; set; } /// /// /// - public global::Speechify.UpdateHostedAPIRouteRequest? Type744 { get; set; } + public global::Speechify.StoreBatchWriteOp? Type744 { get; set; } /// /// /// - public global::Speechify.HostedAPIKey? Type745 { get; set; } + public global::Speechify.StoreBatchWrite? Type745 { get; set; } /// /// /// - public global::Speechify.ListHostedAPIKeysResponse? Type746 { get; set; } + public global::Speechify.StoreBatchRequest? Type746 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type747 { get; set; } + public global::System.Collections.Generic.IList? Type747 { get; set; } /// /// /// - public global::Speechify.CreateHostedAPIKeyRequest? Type748 { get; set; } + public global::Speechify.StoreBatchResultOp? Type748 { get; set; } /// /// /// - public global::Speechify.HostedAPIUserTokenSecret? Type749 { get; set; } + public global::Speechify.StoreBatchResult? Type749 { get; set; } /// /// /// - public global::Speechify.ContactIdentifierKind? Type750 { get; set; } + public global::Speechify.StoreBatchResponse? Type750 { get; set; } /// /// /// - public global::Speechify.ContactIdentifierAssertedBy? Type751 { get; set; } + public global::System.Collections.Generic.IList? Type751 { get; set; } /// /// /// - public global::Speechify.ContactIdentifier? Type752 { get; set; } + public global::Speechify.ListAgentStoresResponse? Type752 { get; set; } /// /// /// - public global::Speechify.Contact? Type753 { get; set; } + public global::Speechify.ContactIdentifierKind? Type753 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type754 { get; set; } + public global::Speechify.ContactIdentifierAssertedBy? Type754 { get; set; } /// /// /// - public global::Speechify.ListContactsResponse? Type755 { get; set; } + public global::Speechify.ContactIdentifier? Type755 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type756 { get; set; } + public global::Speechify.Contact? Type756 { get; set; } /// /// /// - public global::Speechify.UpdateContactRequest? Type757 { get; set; } + public global::System.Collections.Generic.IList? Type757 { get; set; } /// /// /// - public global::Speechify.DeleteContactResponse? Type758 { get; set; } + public global::Speechify.ListContactsResponse? Type758 { get; set; } /// /// /// - public global::Speechify.AttachContactIdentifierRequestKind? Type759 { get; set; } + public global::System.Collections.Generic.IList? Type759 { get; set; } /// /// /// - public global::Speechify.AttachContactIdentifierRequest? Type760 { get; set; } + public global::Speechify.UpdateContactRequest? Type760 { get; set; } /// /// /// - public global::Speechify.MergeContactsRequest? Type761 { get; set; } + public global::Speechify.DeleteContactResponse? Type761 { get; set; } /// /// /// - public global::Speechify.MergeContactsResponseMerged? Type762 { get; set; } + public global::Speechify.AttachContactIdentifierRequestKind? Type762 { get; set; } /// /// /// - public global::Speechify.MergeContactsResponse? Type763 { get; set; } + public global::Speechify.AttachContactIdentifierRequest? Type763 { get; set; } /// /// /// - public global::Speechify.BillingEntitlementsMaxLlmModelClass? Type764 { get; set; } + public global::Speechify.MergeContactsRequest? Type764 { get; set; } /// /// /// - public global::Speechify.BillingEntitlements? Type765 { get; set; } + public global::Speechify.MergeContactsResponseMerged? Type765 { get; set; } /// /// /// - public global::Speechify.EntitlementsResponse? Type766 { get; set; } + public global::Speechify.MergeContactsResponse? Type766 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type767 { get; set; } + public global::Speechify.BillingEntitlementsMaxLlmModelClass? Type767 { get; set; } /// /// /// - public global::Speechify.ContactResolver? Type768 { get; set; } + public global::Speechify.BillingEntitlements? Type768 { get; set; } /// /// /// - public global::Speechify.PutContactResolverRequest? Type769 { get; set; } + public global::Speechify.EntitlementsResponse? Type769 { get; set; } /// /// /// - public global::Speechify.WebhookEndpoint? Type770 { get; set; } + public global::System.Collections.Generic.Dictionary? Type770 { get; set; } /// /// /// - public global::Speechify.ListWebhookEndpointsResponse? Type771 { get; set; } + public global::Speechify.ContactResolver? Type771 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type772 { get; set; } + public global::Speechify.PutContactResolverRequest? Type772 { get; set; } /// /// /// - public global::Speechify.CreateWebhookEndpointRequest? Type773 { get; set; } + public global::Speechify.WebhookEndpoint? Type773 { get; set; } /// /// /// - public global::Speechify.UpdateWebhookEndpointRequest? Type774 { get; set; } + public global::Speechify.ListWebhookEndpointsResponse? Type774 { get; set; } /// /// /// - public global::Speechify.WebhookEndpointDelivery? Type775 { get; set; } + public global::System.Collections.Generic.IList? Type775 { get; set; } /// /// /// - public global::Speechify.ListWebhookEndpointDeliveriesResponse? Type776 { get; set; } + public global::Speechify.CreateWebhookEndpointRequest? Type776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type777 { get; set; } + public global::Speechify.UpdateWebhookEndpointRequest? Type777 { get; set; } /// /// /// - public global::Speechify.ProjectMonthlyBudgetStatus? Type778 { get; set; } + public global::Speechify.WebhookEndpointDelivery? Type778 { get; set; } /// /// /// - public global::Speechify.Project? Type779 { get; set; } + public global::Speechify.ListWebhookEndpointDeliveriesResponse? Type779 { get; set; } /// /// /// - public global::Speechify.ListProjectsResponse? Type780 { get; set; } + public global::System.Collections.Generic.IList? Type780 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type781 { get; set; } + public global::Speechify.ProjectMonthlyBudgetStatus? Type781 { get; set; } /// /// /// - public global::Speechify.CreateProjectRequest? Type782 { get; set; } + public global::Speechify.Project? Type782 { get; set; } /// /// /// - public global::Speechify.UpdateProjectRequest? Type783 { get; set; } + public global::Speechify.ListProjectsResponse? Type783 { get; set; } /// /// /// - public global::Speechify.DeleteProjectRequestMode? Type784 { get; set; } + public global::System.Collections.Generic.IList? Type784 { get; set; } /// /// /// - public global::Speechify.DeleteProjectRequest? Type785 { get; set; } + public global::Speechify.CreateProjectRequest? Type785 { get; set; } /// /// /// - public global::Speechify.ProjectRestoredCounts? Type786 { get; set; } + public global::Speechify.UpdateProjectRequest? Type786 { get; set; } /// /// /// - public global::Speechify.ProjectStillRevokedCounts? Type787 { get; set; } + public global::Speechify.DeleteProjectRequestMode? Type787 { get; set; } /// /// /// - public global::Speechify.ProjectRestore? Type788 { get; set; } + public global::Speechify.DeleteProjectRequest? Type788 { get; set; } /// /// /// - public global::Speechify.ProjectTeardownBlockerKind? Type789 { get; set; } + public global::Speechify.ProjectRestoredCounts? Type789 { get; set; } /// /// /// - public global::Speechify.ProjectTeardownBlockerBlocksItems? Type790 { get; set; } + public global::Speechify.ProjectStillRevokedCounts? Type790 { get; set; } /// /// /// - public global::Speechify.ProjectTeardownBlocker? Type791 { get; set; } + public global::Speechify.ProjectRestore? Type791 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type792 { get; set; } + public global::Speechify.ProjectTeardownBlockerKind? Type792 { get; set; } /// /// /// - public global::Speechify.ProjectTeardownGroup? Type793 { get; set; } + public global::Speechify.ProjectTeardownBlockerBlocksItems? Type793 { get; set; } /// /// /// - public global::Speechify.ProjectTeardown? Type794 { get; set; } + public global::Speechify.ProjectTeardownBlocker? Type794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type795 { get; set; } + public global::System.Collections.Generic.IList? Type795 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type796 { get; set; } + public global::Speechify.ProjectTeardownGroup? Type796 { get; set; } /// /// /// - public global::Speechify.ProjectResourceCounts? Type797 { get; set; } + public global::Speechify.ProjectTeardown? Type797 { get; set; } /// /// /// - public global::Speechify.ProjectStats? Type798 { get; set; } + public global::System.Collections.Generic.IList? Type798 { get; set; } /// /// /// - public global::Speechify.PromoteProjectRequest? Type799 { get; set; } + public global::System.Collections.Generic.IList? Type799 { get; set; } /// /// /// - public global::Speechify.PromoteCreated? Type800 { get; set; } + public global::Speechify.ProjectResourceCounts? Type800 { get; set; } /// /// /// - public global::Speechify.PromoteReused? Type801 { get; set; } + public global::Speechify.ProjectStats? Type801 { get; set; } /// /// /// - public global::Speechify.PromoteAttentionKind? Type802 { get; set; } + public global::Speechify.PromoteProjectRequest? Type802 { get; set; } /// /// /// - public global::Speechify.PromoteAttentionReason? Type803 { get; set; } + public global::Speechify.PromoteCreated? Type803 { get; set; } /// /// /// - public global::Speechify.PromoteAttention? Type804 { get; set; } + public global::Speechify.PromoteReused? Type804 { get; set; } /// /// /// - public global::Speechify.PromoteProjectResponse? Type805 { get; set; } + public global::Speechify.PromoteAttentionKind? Type805 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type806 { get; set; } + public global::Speechify.PromoteAttentionReason? Type806 { get; set; } /// /// /// - public global::Speechify.ProjectAuditEventType? Type807 { get; set; } + public global::Speechify.PromoteAttention? Type807 { get; set; } /// /// /// - public global::Speechify.ProjectAuditEvent? Type808 { get; set; } + public global::Speechify.PromoteProjectResponse? Type808 { get; set; } /// /// /// - public global::Speechify.ProjectAuditResponse? Type809 { get; set; } + public global::System.Collections.Generic.IList? Type809 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type810 { get; set; } + public global::Speechify.ProjectAuditEventType? Type810 { get; set; } /// /// /// - public global::Speechify.ProjectMember? Type811 { get; set; } + public global::Speechify.ProjectAuditEvent? Type811 { get; set; } /// /// /// - public global::Speechify.ProjectMembersResponse? Type812 { get; set; } + public global::Speechify.ProjectAuditResponse? Type812 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type813 { get; set; } + public global::System.Collections.Generic.IList? Type813 { get; set; } /// /// /// - public global::Speechify.GrantProjectMemberRequest? Type814 { get; set; } + public global::Speechify.ProjectMember? Type814 { get; set; } /// /// /// - public global::Speechify.CreateRequest? Type815 { get; set; } + public global::Speechify.ProjectMembersResponse? Type815 { get; set; } /// /// /// - public global::Speechify.DetectRequest? Type816 { get; set; } + public global::System.Collections.Generic.IList? Type816 { get; set; } /// /// /// - public global::Speechify.VerifyRequest? Type817 { get; set; } + public global::Speechify.GrantProjectMemberRequest? Type817 { get; set; } /// /// /// - public global::Speechify.UploadDocumentRequest? Type818 { get; set; } + public global::Speechify.CreateRequest? Type818 { get; set; } /// /// /// - public global::Speechify.UpdateDocumentRequest? Type819 { get; set; } + public global::Speechify.DetectRequest? Type819 { get; set; } /// /// /// - public global::Speechify.RunTestRequest? Type820 { get; set; } + public global::Speechify.VerifyRequest? Type820 { get; set; } /// /// /// - public global::Speechify.UploadRequest? Type821 { get; set; } + public global::Speechify.UploadDocumentRequest? Type821 { get; set; } /// /// /// - public global::Speechify.UploadRequest2? Type822 { get; set; } + public global::Speechify.UpdateDocumentRequest? Type822 { get; set; } + /// + /// + /// + public global::Speechify.RunTestRequest? Type823 { get; set; } + /// + /// + /// + public global::Speechify.UploadRequest? Type824 { get; set; } + /// + /// + /// + public global::Speechify.UploadRequest2? Type825 { get; set; } /// /// @@ -3350,491 +3362,491 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType6 { get; set; } + public global::System.Collections.Generic.List? ListType6 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType7 { get; set; } + public global::System.Collections.Generic.List? ListType7 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType8 { get; set; } + public global::System.Collections.Generic.List? ListType8 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType9 { get; set; } + public global::System.Collections.Generic.List? ListType9 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType10 { get; set; } + public global::System.Collections.Generic.List? ListType10 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType11 { get; set; } + public global::System.Collections.Generic.List? ListType11 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType12 { get; set; } + public global::System.Collections.Generic.List? ListType12 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType13 { get; set; } + public global::System.Collections.Generic.List? ListType13 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType14 { get; set; } + public global::System.Collections.Generic.List? ListType14 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType15 { get; set; } + public global::System.Collections.Generic.List? ListType15 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType16 { get; set; } + public global::System.Collections.Generic.List? ListType16 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType17 { get; set; } + public global::System.Collections.Generic.List? ListType17 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType18 { get; set; } + public global::System.Collections.Generic.List? ListType18 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType19 { get; set; } + public global::System.Collections.Generic.List? ListType19 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType20 { get; set; } + public global::System.Collections.Generic.List? ListType20 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType21 { get; set; } + public global::System.Collections.Generic.List? ListType21 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType22 { get; set; } + public global::System.Collections.Generic.List? ListType22 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType23 { get; set; } + public global::System.Collections.Generic.List? ListType23 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType24 { get; set; } + public global::System.Collections.Generic.List? ListType24 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType25 { get; set; } + public global::System.Collections.Generic.List? ListType25 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType26 { get; set; } + public global::System.Collections.Generic.List? ListType26 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType27 { get; set; } + public global::System.Collections.Generic.List? ListType27 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType28 { get; set; } + public global::System.Collections.Generic.List? ListType28 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType29 { get; set; } + public global::System.Collections.Generic.List? ListType29 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType30 { get; set; } + public global::System.Collections.Generic.List? ListType30 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType31 { get; set; } + public global::System.Collections.Generic.List? ListType31 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType32 { get; set; } + public global::System.Collections.Generic.List? ListType32 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType33 { get; set; } + public global::System.Collections.Generic.List? ListType33 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType34 { get; set; } + public global::System.Collections.Generic.List? ListType34 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType35 { get; set; } + public global::System.Collections.Generic.List? ListType35 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType36 { get; set; } + public global::System.Collections.Generic.List? ListType36 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType37 { get; set; } + public global::System.Collections.Generic.List? ListType37 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType38 { get; set; } + public global::System.Collections.Generic.List? ListType38 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType39 { get; set; } + public global::System.Collections.Generic.List? ListType39 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType40 { get; set; } + public global::System.Collections.Generic.List? ListType40 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType41 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType42 { get; set; } + public global::System.Collections.Generic.List? ListType42 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType43 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::System.Collections.Generic.List? ListType44 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType45 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType46 { get; set; } + public global::System.Collections.Generic.List? ListType46 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType47 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType48 { get; set; } + public global::System.Collections.Generic.List? ListType48 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List? ListType49 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType50 { get; set; } + public global::System.Collections.Generic.List? ListType50 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType51 { get; set; } + public global::System.Collections.Generic.List? ListType51 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType53 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType55 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType56 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType57 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType58 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType59 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType60 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List? ListType61 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType63 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List? ListType64 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType71 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType73 { get; set; } + public global::System.Collections.Generic.List? ListType73 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType74 { get; set; } + public global::System.Collections.Generic.List? ListType74 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType75 { get; set; } + public global::System.Collections.Generic.List? ListType75 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType76 { get; set; } + public global::System.Collections.Generic.List? ListType76 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType77 { get; set; } + public global::System.Collections.Generic.List? ListType77 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType78 { get; set; } + public global::System.Collections.Generic.List? ListType78 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType79 { get; set; } + public global::System.Collections.Generic.List? ListType79 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType80 { get; set; } + public global::System.Collections.Generic.List? ListType80 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType81 { get; set; } + public global::System.Collections.Generic.List? ListType81 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType82 { get; set; } + public global::System.Collections.Generic.List? ListType82 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::System.Collections.Generic.List? ListType83 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType84 { get; set; } + public global::System.Collections.Generic.List? ListType84 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::System.Collections.Generic.List? ListType85 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List? ListType86 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType87 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType88 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType89 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType90 { get; set; } + public global::System.Collections.Generic.List? ListType90 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::System.Collections.Generic.List? ListType91 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType92 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType93 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType94 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType95 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType96 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType97 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType98 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType99 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType105 { get; set; } + public global::System.Collections.Generic.List? ListType105 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType106 { get; set; } + public global::System.Collections.Generic.List? ListType106 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType107 { get; set; } + public global::System.Collections.Generic.List? ListType107 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType108 { get; set; } + public global::System.Collections.Generic.List? ListType108 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType109 { get; set; } + public global::System.Collections.Generic.List? ListType109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType110 { get; set; } + public global::System.Collections.Generic.List? ListType110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType111 { get; set; } + public global::System.Collections.Generic.List? ListType111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType112 { get; set; } + public global::System.Collections.Generic.List? ListType112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType113 { get; set; } + public global::System.Collections.Generic.List? ListType113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType114 { get; set; } + public global::System.Collections.Generic.List? ListType114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType115 { get; set; } + public global::System.Collections.Generic.List? ListType115 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType116 { get; set; } + public global::System.Collections.Generic.List? ListType116 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType117 { get; set; } + public global::System.Collections.Generic.List? ListType117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType118 { get; set; } + public global::System.Collections.Generic.List? ListType118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType119 { get; set; } + public global::System.Collections.Generic.List? ListType119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType120 { get; set; } + public global::System.Collections.Generic.List? ListType120 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType121 { get; set; } + public global::System.Collections.Generic.List? ListType121 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType122 { get; set; } + public global::System.Collections.Generic.List? ListType122 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType123 { get; set; } + public global::System.Collections.Generic.List? ListType123 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType124 { get; set; } + public global::System.Collections.Generic.List? ListType124 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType125 { get; set; } + public global::System.Collections.Generic.List? ListType125 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType126 { get; set; } + public global::System.Collections.Generic.List? ListType126 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType127 { get; set; } + public global::System.Collections.Generic.List? ListType127 { get; set; } /// /// /// diff --git a/src/libs/Speechify/Generated/Speechify.KeysClient.CreateKey.g.cs b/src/libs/Speechify/Generated/Speechify.KeysClient.CreateKey.g.cs index 15dd7e8d..aa8f7c00 100644 --- a/src/libs/Speechify/Generated/Speechify.KeysClient.CreateKey.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KeysClient.CreateKey.g.cs @@ -569,6 +569,80 @@ partial void ProcessCreateKeyResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.KeysClient.ListKeys.g.cs b/src/libs/Speechify/Generated/Speechify.KeysClient.ListKeys.g.cs index 2a36d168..51f71dda 100644 --- a/src/libs/Speechify/Generated/Speechify.KeysClient.ListKeys.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KeysClient.ListKeys.g.cs @@ -517,6 +517,80 @@ partial void ProcessListKeysResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.KeysClient.RevokeKey.g.cs b/src/libs/Speechify/Generated/Speechify.KeysClient.RevokeKey.g.cs index a9a33bf9..9a8d022a 100644 --- a/src/libs/Speechify/Generated/Speechify.KeysClient.RevokeKey.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KeysClient.RevokeKey.g.cs @@ -500,6 +500,80 @@ partial void ProcessRevokeKeyResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.Models.AgentMemoryConfig.g.cs b/src/libs/Speechify/Generated/Speechify.Models.AgentMemoryConfig.g.cs index 5000d80f..bbc5b4ba 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.AgentMemoryConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.AgentMemoryConfig.g.cs @@ -9,9 +9,10 @@ namespace Speechify public sealed partial class AgentMemoryConfig { /// - /// When true, the post-call extractor writes durable facts about
- /// each caller and the retriever injects the top matches into the
- /// system prompt via the `{{memory}}` variable. Defaults to false. + /// When true, the retriever injects the top facts about each caller
+ /// into the system prompt via the `{{memory}}` variable, and the
+ /// extractor writes durable facts while `learning_enabled` is true.
+ /// Defaults to false. ///
[global::System.Text.Json.Serialization.JsonPropertyName("enabled")] public bool? Enabled { get; set; } @@ -23,6 +24,16 @@ public sealed partial class AgentMemoryConfig [global::System.Text.Json.Serialization.JsonPropertyName("retention_days")] public int? RetentionDays { get; set; } + /// + /// When false, the agent keeps recalling what it already knows about
+ /// each caller but learns nothing new: no call, run or text
+ /// conversation writes a memory, and turning it back on does not learn
+ /// from what was said while it was off. Has no effect while `enabled`
+ /// is false. Defaults to true. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("learning_enabled")] + public bool? LearningEnabled { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -33,23 +44,33 @@ public sealed partial class AgentMemoryConfig /// Initializes a new instance of the class. /// /// - /// When true, the post-call extractor writes durable facts about
- /// each caller and the retriever injects the top matches into the
- /// system prompt via the `{{memory}}` variable. Defaults to false. + /// When true, the retriever injects the top facts about each caller
+ /// into the system prompt via the `{{memory}}` variable, and the
+ /// extractor writes durable facts while `learning_enabled` is true.
+ /// Defaults to false. /// /// /// Maximum age (in days) of memories kept and surfaced. 0
/// disables the cap. Defaults to 90. /// + /// + /// When false, the agent keeps recalling what it already knows about
+ /// each caller but learns nothing new: no call, run or text
+ /// conversation writes a memory, and turning it back on does not learn
+ /// from what was said while it was off. Has no effect while `enabled`
+ /// is false. Defaults to true. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AgentMemoryConfig( bool? enabled, - int? retentionDays) + int? retentionDays, + bool? learningEnabled) { this.Enabled = enabled; this.RetentionDays = retentionDays; + this.LearningEnabled = learningEnabled; } /// diff --git a/src/libs/Speechify/Generated/Speechify.Models.CreateHostedAPIRouteRequest.g.cs b/src/libs/Speechify/Generated/Speechify.Models.CreateHostedAPIRouteRequest.g.cs index d6b8c157..4cd309ad 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.CreateHostedAPIRouteRequest.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.CreateHostedAPIRouteRequest.g.cs @@ -93,7 +93,10 @@ public sealed partial class CreateHostedAPIRouteRequest /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
@@ -186,7 +189,10 @@ public sealed partial class CreateHostedAPIRouteRequest /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
diff --git a/src/libs/Speechify/Generated/Speechify.Models.ErrorCode.g.cs b/src/libs/Speechify/Generated/Speechify.Models.ErrorCode.g.cs index 41485ee5..9e9b5c69 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.ErrorCode.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.ErrorCode.g.cs @@ -348,6 +348,10 @@ public enum ErrorCode /// /// /// + MountPlanChanged, + /// + /// + /// NotFound, /// /// @@ -766,6 +770,7 @@ public static string ToValueString(this ErrorCode value) ErrorCode.MessageNotFound => "message_not_found", ErrorCode.MethodNotAllowed => "method_not_allowed", ErrorCode.ModelRetired => "model_retired", + ErrorCode.MountPlanChanged => "mount_plan_changed", ErrorCode.NotFound => "not_found", ErrorCode.NumberNotSmsCapable => "number_not_sms_capable", ErrorCode.PayloadTooLarge => "payload_too_large", @@ -940,6 +945,7 @@ public static string ToValueString(this ErrorCode value) "message_not_found" => ErrorCode.MessageNotFound, "method_not_allowed" => ErrorCode.MethodNotAllowed, "model_retired" => ErrorCode.ModelRetired, + "mount_plan_changed" => ErrorCode.MountPlanChanged, "not_found" => ErrorCode.NotFound, "number_not_sms_capable" => ErrorCode.NumberNotSmsCapable, "payload_too_large" => ErrorCode.PayloadTooLarge, diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedAPIMount.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedAPIMount.g.cs index 0b1c9b6c..5de27622 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.HostedAPIMount.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedAPIMount.g.cs @@ -65,6 +65,16 @@ public sealed partial class HostedAPIMount [global::System.Text.Json.Serialization.JsonRequired] public required global::Speechify.HostedAPIMountSummary Summary { get; set; } + /// + /// Names this plan's content: every operation the connector offers and
+ /// every route the API holds for it, whatever `operations` selects,
+ /// and nothing that moves without the plan changing. Send it back as
+ /// the apply's `plan_digest` to write only this plan. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("plan_digest")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PlanDigest { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -84,6 +94,12 @@ public sealed partial class HostedAPIMount /// One entry per operation the connector offers, in its order, then one per stale route whose operation it no longer offers. /// /// + /// + /// Names this plan's content: every operation the connector offers and
+ /// every route the API holds for it, whatever `operations` selects,
+ /// and nothing that moves without the plan changing. Send it back as
+ /// the apply's `plan_digest` to write only this plan. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -95,7 +111,8 @@ public HostedAPIMount( string pathPrefix, bool dryRun, global::System.Collections.Generic.IList operations, - global::Speechify.HostedAPIMountSummary summary) + global::Speechify.HostedAPIMountSummary summary, + string planDigest) { this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); @@ -105,6 +122,7 @@ public HostedAPIMount( this.DryRun = dryRun; this.Operations = operations ?? throw new global::System.ArgumentNullException(nameof(operations)); this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); + this.PlanDigest = planDigest ?? throw new global::System.ArgumentNullException(nameof(planDigest)); } /// diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedAPIMountConflictError.Json.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedAPIMountConflictError.Json.g.cs new file mode 100644 index 00000000..12c1f77d --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedAPIMountConflictError.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Speechify +{ + public sealed partial class HostedAPIMountConflictError + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Speechify.HostedAPIMountConflictError? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Speechify.HostedAPIMountConflictError), + jsonSerializerContext) as global::Speechify.HostedAPIMountConflictError; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Speechify.HostedAPIMountConflictError? FromJson( + string json) + { + return FromJson( + json, + global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Speechify.HostedAPIMountConflictError? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Speechify.HostedAPIMountConflictError), + jsonSerializerContext).ConfigureAwait(false)) as global::Speechify.HostedAPIMountConflictError; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedAPIMountConflictError.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedAPIMountConflictError.g.cs new file mode 100644 index 00000000..5433ff3f --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedAPIMountConflictError.g.cs @@ -0,0 +1,56 @@ + +#nullable enable + +namespace Speechify +{ + /// + /// 409 body of a mount. On `mount_plan_changed`, `error.details.plan` is
+ /// the current plan as a dry run of every operation answers it, with its
+ /// own `plan_digest`. + ///
+ public sealed partial class HostedAPIMountConflictError + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Speechify.HostedApiMountConflictErrorError Error { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("request_id")] + public string? RequestId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public HostedAPIMountConflictError( + global::Speechify.HostedApiMountConflictErrorError error, + string? requestId) + { + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); + this.RequestId = requestId; + } + + /// + /// Initializes a new instance of the class. + /// + public HostedAPIMountConflictError() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedAPIResolver.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedAPIResolver.g.cs index 0175b8e6..9dfb5910 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.HostedAPIResolver.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedAPIResolver.g.cs @@ -51,7 +51,10 @@ namespace Speechify /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedAPIRoute.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedAPIRoute.g.cs index a4d722d4..d8ed2ce1 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.HostedAPIRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedAPIRoute.g.cs @@ -109,7 +109,10 @@ public sealed partial class HostedAPIRoute /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
@@ -241,7 +244,10 @@ public sealed partial class HostedAPIRoute /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorError.Json.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorError.Json.g.cs new file mode 100644 index 00000000..ec73ac5c --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorError.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Speechify +{ + public sealed partial class HostedApiMountConflictErrorError + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Speechify.HostedApiMountConflictErrorError? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Speechify.HostedApiMountConflictErrorError), + jsonSerializerContext) as global::Speechify.HostedApiMountConflictErrorError; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Speechify.HostedApiMountConflictErrorError? FromJson( + string json) + { + return FromJson( + json, + global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Speechify.HostedApiMountConflictErrorError? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Speechify.HostedApiMountConflictErrorError), + jsonSerializerContext).ConfigureAwait(false)) as global::Speechify.HostedApiMountConflictErrorError; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorError.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorError.g.cs new file mode 100644 index 00000000..29063473 --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorError.g.cs @@ -0,0 +1,86 @@ + +#nullable enable + +namespace Speechify +{ + /// + /// + /// + public sealed partial class HostedApiMountConflictErrorError + { + /// + /// Stable machine-readable error code. Additive only: codes are
+ /// never renamed, only deprecated. SDKs may map each code to a
+ /// typed exception class. Status-code semantics:
+ /// 4xx codes describe caller-fixable issues; 5xx codes describe
+ /// server-side failures and are safe to retry with backoff for
+ /// idempotent requests. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Speechify.JsonConverters.ErrorCodeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Speechify.ErrorCode Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fields")] + public global::System.Collections.Generic.Dictionary? Fields { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("details")] + public global::Speechify.HostedApiMountConflictErrorErrorDetails? Details { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Stable machine-readable error code. Additive only: codes are
+ /// never renamed, only deprecated. SDKs may map each code to a
+ /// typed exception class. Status-code semantics:
+ /// 4xx codes describe caller-fixable issues; 5xx codes describe
+ /// server-side failures and are safe to retry with backoff for
+ /// idempotent requests. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public HostedApiMountConflictErrorError( + global::Speechify.ErrorCode code, + string message, + global::System.Collections.Generic.Dictionary? fields, + global::Speechify.HostedApiMountConflictErrorErrorDetails? details) + { + this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); + this.Fields = fields; + this.Details = details; + } + + /// + /// Initializes a new instance of the class. + /// + public HostedApiMountConflictErrorError() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorDetails.Json.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorDetails.Json.g.cs new file mode 100644 index 00000000..eb0f9963 --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorDetails.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Speechify +{ + public sealed partial class HostedApiMountConflictErrorErrorDetails + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Speechify.HostedApiMountConflictErrorErrorDetails? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Speechify.HostedApiMountConflictErrorErrorDetails), + jsonSerializerContext) as global::Speechify.HostedApiMountConflictErrorErrorDetails; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Speechify.HostedApiMountConflictErrorErrorDetails? FromJson( + string json) + { + return FromJson( + json, + global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Speechify.HostedApiMountConflictErrorErrorDetails? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Speechify.HostedApiMountConflictErrorErrorDetails), + jsonSerializerContext).ConfigureAwait(false)) as global::Speechify.HostedApiMountConflictErrorErrorDetails; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorDetails.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorDetails.g.cs new file mode 100644 index 00000000..952740e8 --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorDetails.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace Speechify +{ + /// + /// + /// + public sealed partial class HostedApiMountConflictErrorErrorDetails + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("plan")] + public global::Speechify.HostedAPIMount? Plan { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public HostedApiMountConflictErrorErrorDetails( + global::Speechify.HostedAPIMount? plan) + { + this.Plan = plan; + } + + /// + /// Initializes a new instance of the class. + /// + public HostedApiMountConflictErrorErrorDetails() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorFields.Json.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorFields.Json.g.cs new file mode 100644 index 00000000..ec356717 --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorFields.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Speechify +{ + public sealed partial class HostedApiMountConflictErrorErrorFields + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Speechify.HostedApiMountConflictErrorErrorFields? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Speechify.HostedApiMountConflictErrorErrorFields), + jsonSerializerContext) as global::Speechify.HostedApiMountConflictErrorErrorFields; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Speechify.HostedApiMountConflictErrorErrorFields? FromJson( + string json) + { + return FromJson( + json, + global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Speechify.HostedApiMountConflictErrorErrorFields? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Speechify.HostedApiMountConflictErrorErrorFields), + jsonSerializerContext).ConfigureAwait(false)) as global::Speechify.HostedApiMountConflictErrorErrorFields; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Speechify.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Speechify.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorFields.g.cs b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorFields.g.cs new file mode 100644 index 00000000..95fbd4ce --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.Models.HostedApiMountConflictErrorErrorFields.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Speechify +{ + /// + /// + /// + public sealed partial class HostedApiMountConflictErrorErrorFields + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Speechify/Generated/Speechify.Models.MountHostedAPIRoutesRequest.g.cs b/src/libs/Speechify/Generated/Speechify.Models.MountHostedAPIRoutesRequest.g.cs index 6f1c17ea..732cd640 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.MountHostedAPIRoutesRequest.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.MountHostedAPIRoutesRequest.g.cs @@ -52,6 +52,16 @@ public sealed partial class MountHostedAPIRoutesRequest [global::System.Text.Json.Serialization.JsonPropertyName("include_writes")] public bool? IncludeWrites { get; set; } + /// + /// The `plan_digest` of the preview you reviewed. The apply writes
+ /// only while the plan it computes inside its transaction still has
+ /// this digest, and otherwise writes nothing and answers 409
+ /// `mount_plan_changed` with the current plan. Omit it to apply what
+ /// the mount plans now. Refused with `dry_run`. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("plan_digest")] + public string? PlanDigest { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -86,6 +96,13 @@ public sealed partial class MountHostedAPIRoutesRequest /// takes them; the operation's `approval` must still be `auto`.
/// Without it a write is a `skip` that says so. /// + /// + /// The `plan_digest` of the preview you reviewed. The apply writes
+ /// only while the plan it computes inside its transaction still has
+ /// this digest, and otherwise writes nothing and answers 409
+ /// `mount_plan_changed` with the current plan. Omit it to apply what
+ /// the mount plans now. Refused with `dry_run`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -95,7 +112,8 @@ public MountHostedAPIRoutesRequest( string? namePrefix, string? pathPrefix, bool? dryRun, - bool? includeWrites) + bool? includeWrites, + string? planDigest) { this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); this.Operations = operations; @@ -103,6 +121,7 @@ public MountHostedAPIRoutesRequest( this.PathPrefix = pathPrefix; this.DryRun = dryRun; this.IncludeWrites = includeWrites; + this.PlanDigest = planDigest; } /// diff --git a/src/libs/Speechify/Generated/Speechify.Models.UpdateHostedAPIRouteRequest.g.cs b/src/libs/Speechify/Generated/Speechify.Models.UpdateHostedAPIRouteRequest.g.cs index 5216b087..0814afd4 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.UpdateHostedAPIRouteRequest.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.UpdateHostedAPIRouteRequest.g.cs @@ -91,7 +91,10 @@ public sealed partial class UpdateHostedAPIRouteRequest /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
@@ -197,7 +200,10 @@ public sealed partial class UpdateHostedAPIRouteRequest /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
diff --git a/src/libs/Speechify/Generated/Speechify.Routes.JsonSerializerContext.g.cs b/src/libs/Speechify/Generated/Speechify.Routes.JsonSerializerContext.g.cs index 874278fc..2e929269 100644 --- a/src/libs/Speechify/Generated/Speechify.Routes.JsonSerializerContext.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Routes.JsonSerializerContext.g.cs @@ -27,9 +27,6 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp), TypeInfoPropertyName = "StoreAggregateMetricOp2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetric))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiRouteMethod), TypeInfoPropertyName = "HostedApiRouteMethod2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverType), TypeInfoPropertyName = "HostedApiResolverType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWriteMode), TypeInfoPropertyName = "HostedApiResolverWriteMode2")] @@ -37,8 +34,11 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWhereItems))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverOrderByDirection), TypeInfoPropertyName = "HostedApiResolverOrderByDirection2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverOrderBy))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp), TypeInfoPropertyName = "StoreAggregateMetricOp2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetric))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIResolver))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIRoute))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListHostedAPIRoutesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -53,26 +53,29 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIMountSummary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIMount))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountConflictErrorErrorDetails))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountConflictErrorError))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedAPIMountConflictError))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedApiRouteRequestMethod), TypeInfoPropertyName = "UpdateHostedApiRouteRequestMethod2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedAPIRouteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ErrorCode?), TypeInfoPropertyName = "NullableErrorCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp?), TypeInfoPropertyName = "NullableStoreAggregateMetricOp2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiRouteMethod?), TypeInfoPropertyName = "NullableHostedApiRouteMethod2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverType?), TypeInfoPropertyName = "NullableHostedApiResolverType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWriteMode?), TypeInfoPropertyName = "NullableHostedApiResolverWriteMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverWhereItemsOp?), TypeInfoPropertyName = "NullableHostedApiResolverWhereItemsOp2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiResolverOrderByDirection?), TypeInfoPropertyName = "NullableHostedApiResolverOrderByDirection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.StoreAggregateMetricOp?), TypeInfoPropertyName = "NullableStoreAggregateMetricOp2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.CreateHostedApiRouteRequestMethod?), TypeInfoPropertyName = "NullableCreateHostedApiRouteRequestMethod2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountToolKind?), TypeInfoPropertyName = "NullableHostedApiMountToolKind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountOperationAction?), TypeInfoPropertyName = "NullableHostedApiMountOperationAction2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.HostedApiMountOperationChangesItems?), TypeInfoPropertyName = "NullableHostedApiMountOperationChangesItems2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.UpdateHostedApiRouteRequestMethod?), TypeInfoPropertyName = "NullableUpdateHostedApiRouteRequestMethod2")] [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))] @@ -146,10 +149,6 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Speechify.ErrorCode?) - || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp) - - || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?) - || typeToConvert == typeof(global::Speechify.HostedApiRouteMethod) || typeToConvert == typeof(global::Speechify.HostedApiRouteMethod?) @@ -170,6 +169,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Speechify.HostedApiResolverOrderByDirection?) + || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp) + + || typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?) + || typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod) || typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod?) @@ -205,16 +208,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Speechify.JsonConverters.ErrorCodeNullableJsonConverter(); } - if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp)) - { - return new global::Speechify.JsonConverters.StoreAggregateMetricOpJsonConverter(); - } - - if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?)) - { - return new global::Speechify.JsonConverters.StoreAggregateMetricOpNullableJsonConverter(); - } - if (typeToConvert == typeof(global::Speechify.HostedApiRouteMethod)) { return new global::Speechify.JsonConverters.HostedApiRouteMethodJsonConverter(); @@ -265,6 +258,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Speechify.JsonConverters.HostedApiResolverOrderByDirectionNullableJsonConverter(); } + if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp)) + { + return new global::Speechify.JsonConverters.StoreAggregateMetricOpJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.StoreAggregateMetricOp?)) + { + return new global::Speechify.JsonConverters.StoreAggregateMetricOpNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Speechify.CreateHostedApiRouteRequestMethod)) { return new global::Speechify.JsonConverters.CreateHostedApiRouteRequestMethodJsonConverter(); diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.CreateRoute.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.CreateRoute.g.cs index 5a3dbbc1..5efc75c0 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.CreateRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.CreateRoute.g.cs @@ -641,6 +641,80 @@ partial void ProcessCreateRouteResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { @@ -853,7 +927,10 @@ partial void ProcessCreateRouteResponseContent( /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.DeleteRoute.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.DeleteRoute.g.cs index 8299bd35..c900483a 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.DeleteRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.DeleteRoute.g.cs @@ -500,6 +500,80 @@ partial void ProcessDeleteRouteResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.GetRoute.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.GetRoute.g.cs index 4c6b31d3..ebff5da1 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.GetRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.GetRoute.g.cs @@ -500,6 +500,80 @@ partial void ProcessGetRouteResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.ListRoutes.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.ListRoutes.g.cs index e27b5cfc..07b00db7 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.ListRoutes.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.ListRoutes.g.cs @@ -517,6 +517,80 @@ partial void ProcessListRoutesResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.MountRoutes.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.MountRoutes.g.cs index 0e9a284d..134d59b5 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.MountRoutes.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.MountRoutes.g.cs @@ -65,6 +65,19 @@ partial void ProcessMountRoutesResponseContent( /// since a consumer may still call it). The same call without `dry_run`
/// writes every create and update in one transaction and returns the
/// written `route` on each.
+ /// Every answer carries a `plan_digest`. Send the preview's digest with
+ /// the apply: the apply plans again inside its transaction and writes
+ /// only when that plan still has the digest, so a tool the server changed
+ /// or a route edited after you reviewed is never written unseen. When it
+ /// differs the apply writes nothing and answers 409 `mount_plan_changed`
+ /// with the current plan, as a dry run answers it, in
+ /// `error.details.plan`; review that and apply again with its digest,
+ /// under a new `Idempotency-Key` if you sent one, since a key replays its
+ /// first answer, this 409 included. The digest covers every operation the
+ /// connector offers and every route the API holds for it whatever
+ /// `operations` selects, so a preview of everything and an apply of a
+ /// selection share one. An apply without it writes whatever the mount
+ /// plans at that moment.
/// Mounting again is the refresh. Every route the API holds for the
/// connector is compared with what it offers now, whatever its name,
/// path or the selection, so an upstream change is seen as a diff before
@@ -76,9 +89,9 @@ partial void ProcessMountRoutesResponseContent( /// must be reachable with its credential to be listed (400
/// `validation_failed` on `tool_id` with the server's reason), and a
/// public API mounts nothing. An API holds at most 200 routes; a mount
- /// that would pass the cap skips what does not fit. A route changed while
- /// the mount was being planned answers 409 `api_route_conflict`; mount
- /// again.
+ /// that would pass the cap skips what does not fit. Without a
+ /// `plan_digest`, a route changed while the mount was being planned
+ /// answers 409 `api_route_conflict`; mount again.
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise). ///
/// @@ -129,6 +142,19 @@ partial void ProcessMountRoutesResponseContent( /// since a consumer may still call it). The same call without `dry_run`
/// writes every create and update in one transaction and returns the
/// written `route` on each.
+ /// Every answer carries a `plan_digest`. Send the preview's digest with
+ /// the apply: the apply plans again inside its transaction and writes
+ /// only when that plan still has the digest, so a tool the server changed
+ /// or a route edited after you reviewed is never written unseen. When it
+ /// differs the apply writes nothing and answers 409 `mount_plan_changed`
+ /// with the current plan, as a dry run answers it, in
+ /// `error.details.plan`; review that and apply again with its digest,
+ /// under a new `Idempotency-Key` if you sent one, since a key replays its
+ /// first answer, this 409 included. The digest covers every operation the
+ /// connector offers and every route the API holds for it whatever
+ /// `operations` selects, so a preview of everything and an apply of a
+ /// selection share one. An apply without it writes whatever the mount
+ /// plans at that moment.
/// Mounting again is the refresh. Every route the API holds for the
/// connector is compared with what it offers now, whatever its name,
/// path or the selection, so an upstream change is seen as a diff before
@@ -140,9 +166,9 @@ partial void ProcessMountRoutesResponseContent( /// must be reachable with its credential to be listed (400
/// `validation_failed` on `tool_id` with the server's reason), and a
/// public API mounts nothing. An API holds at most 200 routes; a mount
- /// that would pass the cap skips what does not fit. A route changed while
- /// the mount was being planned answers 409 `api_route_conflict`; mount
- /// again.
+ /// that would pass the cap skips what does not fit. Without a
+ /// `plan_digest`, a route changed while the mount was being planned
+ /// answers 409 `api_route_conflict`; mount again.
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise). ///
/// @@ -586,24 +612,24 @@ partial void ProcessMountRoutesResponseContent( h => h.Key, h => h.Value)); } - // The request conflicts with the current resource state - e.g. duplicate, optimistic-concurrency mismatch, or last-owner guard. + // `mount_plan_changed` with the current plan in `error.details.plan` when the apply's `plan_digest` no longer names the plan; otherwise `cross_project_reference` or `api_route_conflict`. if ((int)__response.StatusCode == 409) { string? __content_409 = null; global::System.Exception? __exception_409 = null; - global::Speechify.Error? __value_409 = null; + global::Speechify.HostedAPIMountConflictError? __value_409 = null; try { if (__effectiveReadResponseAsString) { __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_409 = global::Speechify.Error.FromJson(__content_409, JsonSerializerContext); + __value_409 = global::Speechify.HostedAPIMountConflictError.FromJson(__content_409, JsonSerializerContext); } else { __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_409 = global::Speechify.Error.FromJson(__content_409, JsonSerializerContext); + __value_409 = global::Speechify.HostedAPIMountConflictError.FromJson(__content_409, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -612,7 +638,7 @@ partial void ProcessMountRoutesResponseContent( } - throw global::Speechify.ApiException.Create( + throw global::Speechify.ApiException.Create( statusCode: __response.StatusCode, message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_409, @@ -623,6 +649,80 @@ partial void ProcessMountRoutesResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { @@ -737,6 +837,19 @@ partial void ProcessMountRoutesResponseContent( /// since a consumer may still call it). The same call without `dry_run`
/// writes every create and update in one transaction and returns the
/// written `route` on each.
+ /// Every answer carries a `plan_digest`. Send the preview's digest with
+ /// the apply: the apply plans again inside its transaction and writes
+ /// only when that plan still has the digest, so a tool the server changed
+ /// or a route edited after you reviewed is never written unseen. When it
+ /// differs the apply writes nothing and answers 409 `mount_plan_changed`
+ /// with the current plan, as a dry run answers it, in
+ /// `error.details.plan`; review that and apply again with its digest,
+ /// under a new `Idempotency-Key` if you sent one, since a key replays its
+ /// first answer, this 409 included. The digest covers every operation the
+ /// connector offers and every route the API holds for it whatever
+ /// `operations` selects, so a preview of everything and an apply of a
+ /// selection share one. An apply without it writes whatever the mount
+ /// plans at that moment.
/// Mounting again is the refresh. Every route the API holds for the
/// connector is compared with what it offers now, whatever its name,
/// path or the selection, so an upstream change is seen as a diff before
@@ -748,9 +861,9 @@ partial void ProcessMountRoutesResponseContent( /// must be reachable with its credential to be listed (400
/// `validation_failed` on `tool_id` with the server's reason), and a
/// public API mounts nothing. An API holds at most 200 routes; a mount
- /// that would pass the cap skips what does not fit. A route changed while
- /// the mount was being planned answers 409 `api_route_conflict`; mount
- /// again.
+ /// that would pass the cap skips what does not fit. Without a
+ /// `plan_digest`, a route changed while the mount was being planned
+ /// answers 409 `api_route_conflict`; mount again.
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise). ///
/// @@ -783,6 +896,13 @@ partial void ProcessMountRoutesResponseContent( /// takes them; the operation's `approval` must still be `auto`.
/// Without it a write is a `skip` that says so. /// + /// + /// The `plan_digest` of the preview you reviewed. The apply writes
+ /// only while the plan it computes inside its transaction still has
+ /// this digest, and otherwise writes nothing and answers 409
+ /// `mount_plan_changed` with the current plan. Omit it to apply what
+ /// the mount plans now. Refused with `dry_run`. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -796,6 +916,7 @@ partial void ProcessMountRoutesResponseContent( string? pathPrefix = default, bool? dryRun = default, bool? includeWrites = default, + string? planDigest = default, global::Speechify.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -807,6 +928,7 @@ partial void ProcessMountRoutesResponseContent( PathPrefix = pathPrefix, DryRun = dryRun, IncludeWrites = includeWrites, + PlanDigest = planDigest, }; return await MountRoutesAsync( diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.UpdateRoute.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.UpdateRoute.g.cs index 785f85d1..ea80d7d4 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.UpdateRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.UpdateRoute.g.cs @@ -557,6 +557,80 @@ partial void ProcessUpdateRouteResponseContent( 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)); + } + // An unexpected server-side error occurred. Safe to retry with exponential backoff for idempotent requests. + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::Speechify.Error? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::Speechify.Error.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::Speechify.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { @@ -727,7 +801,10 @@ partial void ProcessUpdateRouteResponseContent( /// deleted, moved to another project, or without the operation (an MCP
/// server that no longer lists the tool) answers 409
/// `route_tool_unavailable`, which no
- /// retry clears until the route or the tool is fixed. Arguments that do
+ /// retry clears until the route or the tool is fixed, and names which
+ /// of the three happened in `error.details.reason` (`tool_deleted`,
+ /// `tool_moved`, `operation_removed`). Both refusals carry what the API's
+ /// owner changes to fix the route in `error.details.fix`. Arguments that do
/// not fit the schema answer 400 `validation_failed`; the definition's
/// `max_requests_per_minute` and the vendor's own throttle both answer 429
/// `route_upstream_rate_limited` with `Retry-After`; a vendor error
diff --git a/src/libs/Speechify/openapi.yaml b/src/libs/Speechify/openapi.yaml index 292d9825..c273046e 100644 --- a/src/libs/Speechify/openapi.yaml +++ b/src/libs/Speechify/openapi.yaml @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"API Reference","version":"1.0.0"},"paths":{"/v1/audio/speech":{"post":{"operationId":"audio_speech","summary":"Create Speech","description":"Synthesize speech audio from text or SSML. Returns the complete audio\nfile plus billing and speech-mark metadata in a single JSON response.\nFor low-latency playback or long-form text, use POST /v1/audio/stream.\nSet `output_format` for explicit sample-rate/bitrate control (e.g.\n`pcm_16000` or `ulaw_8000` for telephony).","tags":["audio"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Synthesized speech audio for the requested input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpeechResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpeechRequest"}}}}}},"/v1/audio/stream":{"post":{"operationId":"audio_stream","summary":"Stream Speech","description":"Synthesize speech and stream the audio back as it is generated, for\nlow-latency playback. Set `output_format` in the body for explicit\ncodec/sample-rate/bitrate control (e.g. `pcm_16000` or `ulaw_8000` for\ntelephony), or fall back to the Accept header for the container; the\nresponse is raw audio bytes (HTTP chunked). For Base64-encoded audio\nwith speech-mark metadata in a single JSON response, use\nPOST /v1/audio/speech.","tags":["audio"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Accept","in":"header","description":"Selects the audio container/codec for the streamed response when\n`output_format` is not set in the request body. The response\nContent-Type echoes this value, except `audio/pcm` returns\n`audio/L16` with rate and channels parameters (raw 16-bit linear\nPCM, 24 kHz mono, little-endian). For explicit sample-rate/bitrate\ncontrol (e.g. `pcm_16000`, `ulaw_8000`), set `output_format` in the\nbody instead; it takes precedence over this header.","required":false,"schema":{"$ref":"#/components/schemas/V1AudioStreamPostParametersAccept"}}],"responses":{"200":{"description":"Streamed audio. When `output_format` is set it selects the\ncodec/sample rate; otherwise the Accept header does. The\nContent-Type reflects the selected format: it matches the Accept\nheader, except raw PCM returns `audio/L16` (with rate and channels\nparameters) and u-law returns `audio/basic`.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStreamRequest"}}}}}},"/v1/audio/stream/with-timestamps":{"post":{"operationId":"audio_streamWithTimestamps","summary":"Stream Speech With Timestamps","description":"Synthesize speech and stream it back together with word-level speech\nmarks, for text highlighting, captions and audio-text synchronization\nwhile the audio is still arriving.\n\nThe response is a Server-Sent Events stream. Each `speech.chunk` event\ncarries a Base64-encoded run of audio, the speech marks that became\nfinal with it, or both - a chunk may carry only one of the two, and the\nlast chunk of a stream is often marks-only. A terminal `speech.done`\nevent ends the stream; there is no `[DONE]` sentinel. Ignore any event\ntype you do not recognize, so that new event types do not break your\nintegration.\n\nSpeech-mark times are absolute milliseconds from the start of the\nsynthesis, so concatenate the audio chunks into one stream and apply the\nmarks against that single timeline. Which chunk a mark arrives on is a\ndelivery detail and carries no meaning. Times stay correct for every\n`output_format`: changing the codec or sample rate does not change the\nduration.\n\nSpeech marks are produced by the streaming-native models. The default\n`simba-3.0` and `simba-3.2` both serve this route. The legacy\n`simba-english` and `simba-multilingual` models never could: on a\nworkspace pinned before API version `2026-09-21` they return 400\n`speech_marks_unsupported` here, and from that version on they return\n400 `model_retired` on every synthesis route. Both are switched off\nentirely on 2026-11-21.\nFor Base64-encoded audio and speech marks in one non-streamed JSON\nresponse, on any model, use POST /v1/audio/speech.","tags":["audio"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Accept","in":"header","description":"Selects the audio container/codec carried inside the events when\n`output_format` is not set in the request body. The selected media\ntype is echoed on the `Speechify-Audio-Content-Type` response\nheader, since the response's own Content-Type is `text/event-stream`.","required":false,"schema":{"$ref":"#/components/schemas/V1AudioStreamWithTimestampsPostParametersAccept"}}],"responses":{"200":{"description":"A Server-Sent Events stream of `speech.chunk` events followed by one\nterminal `speech.done` event. A failure after the stream has started\nis delivered as a `speech.error` event carrying the standard error\nenvelope, because the status code is already committed.\n\nThe transport is `text/event-stream`: each event is an\n`event:`/`data:` pair whose `data` is one JSON payload matching the\nschema below. The payload's `type` field mirrors the `event:` name,\nso the stream is also parseable from `data:` lines alone. Ignore\nevent types you do not recognize.","content":{"text/event-stream":{"schema":{"$ref":"#/components/schemas/SpeechStreamEvent"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStreamRequest"}}}}}},"/v1/voices":{"get":{"operationId":"voices_list","summary":"List Voices","description":"Lists the voices available to the caller - the shared voice\ncatalog plus the cloned voices they can reach, whichever member or\nservice-account key created them. A clone filed under a project is\nlisted only for a caller who can reach that project; a clone no\nproject filed is shared with the whole workspace and is listed for\neveryone in it. By default\nthe full catalogue is returned in one response. Pagination is\nopt-in: pass `limit` (and then `cursor` from the previous\nresponse) to page through the list while `has_more` is true. Max\npage size is 200. Narrow the list with the `type` and `locale`\nfilters.\n\nA page can come back with fewer than `limit` voices, and a short\npage - an empty one included - is not the end of the list. Keep\nfollowing `next_cursor` while `has_more` is true.","tags":["voices"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"type","in":"query","description":"Filter by voice type: `personal` (the workspace's cloned voices)\nor `shared` (the public catalogue). Omit to return both.","required":false,"schema":{"$ref":"#/components/schemas/V1VoicesGetParametersType"}},{"name":"locale","in":"query","description":"Filter to voices whose locale matches this BCP-47 language range,\nprefix-matched: `en` matches `en-US` and `en-GB`; `en-US` matches\nonly `en-US`. Case-insensitive. Omit to return all locales.","required":false,"schema":{"type":"string"}},{"name":"gender","in":"query","description":"Filter by voice gender. Omit to return all genders.","required":false,"schema":{"$ref":"#/components/schemas/V1VoicesGetParametersGender"}},{"name":"model","in":"query","description":"Filter to voices that support this model (as listed in each voice's\n`models[]`), e.g. `simba-3.2`. Omit to return voices for all models.","required":false,"schema":{"type":"string"}},{"name":"project_id","in":"query","description":"Filter cloned voices by workspace project: omit for every voice you\ncan reach, pass the literal `shared` for the clones no project\nfiled, or a `proj_...` id for the clones filed under that project.\nThe shared catalog carries no project and is returned either way.\n\nA clone is filed under a project when a project-pinned key created\nit. A clone with no project is shared with the whole workspace\nrather than sitting in a Default project, so the literal here is\n`shared`, never `default` - passing `default` is a 400. Returns 404\nproject_not_found for a malformed id and for any project outside\nyour reach: a project-pinned key reaches only its pinned project,\nand a member holding project grants reaches only the granted ones.\nThat 404 is the same in every case and does not reveal whether such\na project exists. `shared` is always inside your reach.\n","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The voice catalogue (or a page of it when `limit` is set).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVoicesResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"voices_create","summary":"Create Voice","description":"Create a cloned voice for the workspace from a 10-30 second audio sample, with verified consent from the speaker.\n\nCloning requires proof that the speaker agreed to it. Create a consent challenge with `POST /v1/voices/consent-challenges`, show the returned `phrase` to the speaker, record them reading it aloud, and send that recording here as `consent_recording` together with the challenge's `consent_challenge_id`. Speechify transcribes the recording, checks it against the phrase it issued, checks that its speaker is the speaker in your `sample`, and keeps it as the consent record for the voice. The person consenting therefore has to be the person being cloned. A challenge is single use and short-lived, so record and submit in one sitting.\n\nThe clone belongs to the workspace rather than the member who created it, and access follows the caller's workspace role and API-key scopes exactly as for any other voice: voices scopes to list it, audio scopes to synthesize with it, and the content-management permission plus a write scope on the key to delete it. Cloned voices are usable self-serve on `simba-3.0` (and, on a workspace pinned before API version `2026-09-21`, on the retired `simba-english` and `simba-multilingual` until they are switched off on 2026-11-21). `simba-3.2` also serves cloned voices.\n\nCallers pinned before `Speechify-Version: 2026-09-13` use the previous flow instead: no challenge, and a `consent` form field carrying the speaker's name and email as a JSON string. That flow is deprecated and will be removed after a sunset window announced in the changelog.","tags":["voices"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"A client-generated key (an opaque string, max 255 chars) that makes a\nside-effect POST safe to retry: the server runs the operation exactly\nonce and replays the first response (its status and body) for 24 hours.\nReusing a key with a different request body, or while the first request\nis still in flight, returns `409 idempotency_conflict`. A replayed\nresponse carries the `Idempotent-Replayed: true` header.\n","required":false,"schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"A created voice","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVoice"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request body exceeded a per-endpoint size limit (e.g. the file\nupload cap, KB document upload cap, batch-call CSV cap).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The request was well-formed but semantically rejected -\ntypically a referential integrity violation (e.g. flow node\nreferences an audio asset in another workspace) or a state\nmachine refusal.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the personal voice"},"locale":{"type":"string","default":"en-US","description":"Native language (locale) of the personal voice (e.g. en-US, es-ES, etc.)"},"gender":{"$ref":"#/components/schemas/V1VoicesPostRequestBodyContentMultipartFormDataSchemaGender","description":"Gender marker for the personal voice\nmale GenderMale\nfemale GenderFemale\nnot_specified GenderNotSpecified"},"sample":{"type":"string","format":"binary","description":"Audio sample of the voice to clone, 10-30 seconds of clean speech."},"avatar":{"type":"string","format":"binary","description":"Avatar image file"},"consent_challenge_id":{"type":"string","description":"The `id` of the consent challenge this create consumes, from\n`POST /v1/voices/consent-challenges`. Single use: once a\ncreate has consumed it, whether or not that create\nsucceeded, it cannot be used again."},"consent_recording":{"type":"string","format":"binary","description":"Recording of the speaker reading the challenge's `phrase`\naloud. This is the consent record for the voice, not a\nsecond voice sample: it must be the same person as in\n`sample`, and it is retained as evidence. 5-30 seconds, at\nmost 25 MB, in any common audio container."}},"required":["name","gender","sample","consent_challenge_id","consent_recording"]}}}}}},"/v1/voices/consent-challenges":{"post":{"operationId":"consentChallenges_create","summary":"Create Consent Challenge","description":"Start the consent check for a voice clone.\n\nReturns a `phrase` for the speaker to read aloud and an `id` that identifies this challenge. Show the phrase to the speaker exactly as returned, record them reading it, then send the recording and the `id` to `POST /v1/voices`, which verifies the recording against the phrase and against the voice sample being cloned, then keeps it as the consent record.\n\nA challenge is single use, is bound to the workspace that created it, and expires at `expires_at` - it is proof that a speaker was in front of a microphone just now, so create it when you are ready to record, not at the start of your flow. If it expires, create another one and record again.\n\nChallenge creation is rate limited per workspace at a few dozen per hour, far more tightly than the rest of the voice surface, because each one precedes a person recording themselves - mint it when your speaker is ready, not speculatively. Read the live ceiling off `RateLimit-*` rather than hard-coding it. **On a `429`, always honour `Retry-After` rather than a fixed backoff of your own**: the wait is measured in minutes and can run to most of an hour. `RateLimit-*` are omitted rather than reporting a bucket that is not the one refusing.","tags":["consentChallenges"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"A client-generated key (an opaque string, max 255 chars) that makes a\nside-effect POST safe to retry: the server runs the operation exactly\nonce and replays the first response (its status and body) for 24 hours.\nReusing a key with a different request body, or while the first request\nis still in flight, returns `409 idempotency_conflict`. A replayed\nresponse carries the `Idempotent-Replayed: true` header.\n","required":false,"schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"The created consent challenge.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentChallenge"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConsentChallengeRequest"}}}}}},"/v1/voices/{voice_id}":{"get":{"operationId":"voices_get","summary":"Get Voice","description":"Fetch a single voice by id - a shared catalogue voice or one of\nthe workspace's cloned voices. A cloned voice that belongs to\nanother workspace returns 404, identical to an unknown id, so\nvoice inventory is never enumerable across tenants.","tags":["voices"],"parameters":[{"name":"voice_id","in":"path","description":"The ID of the voice to fetch","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The voice.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVoice"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"voices_delete","summary":"Delete Voice","description":"Delete one of the workspace's cloned voices. Requires the\n`content.manage` permission (owner, admin, or member); a\nservice-account key is authorized by its scopes instead.","tags":["voices"],"parameters":[{"name":"voice_id","in":"path","description":"The ID of the voice to delete","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Voice deleted successfully","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/voices/{voice_id}/sample":{"get":{"operationId":"voices_downloadSample","summary":"Download Voice Sample","description":"Download a personal (cloned) voice sample","tags":["voices"],"parameters":[{"name":"voice_id","in":"path","description":"The ID of the voice to download sample for","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Voice sample audio file","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/audio/models":{"get":{"operationId":"models_list","summary":"List Models","description":"List the text-to-speech models available for synthesis. Drive a model\npicker from this response, then pass a model `id` as the `model`\nparameter to POST /v1/audio/speech or /v1/audio/stream. The response\nmarks the default model (used when a request omits `model`), the\nroutes each model may be passed to, and which voices it accepts.\nMulti-speaker models arrive in a separate `dialogue_models` array\nbecause they are valid only on POST /v1/audio/dialogue. Returns\nthe full set in a single response: the model catalog is static\nplatform reference data, so it is intentionally not paginated.","tags":["models"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The available text-to-speech models.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelsResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/audio/watermark/detect":{"post":{"operationId":"watermark_detect","summary":"Detect Watermark","description":"Check whether a clip carries the watermark Speechify seals into audio it\ngenerates. Upload the audio as `audio`; nothing about it is stored, and\nno voice is read or written.\n\nRead the answer carefully in one direction. A `watermarked: true` is\npositive evidence that the audio came from Speechify synthesis. A\n`watermarked: false` is NOT proof that it did not: only models\nredeployed since the watermark shipped mark their output, the detector\nneeds at least three seconds of clear speech to judge, and re-encoding\nor changing the speed of a clip degrades the mark. Treat a negative as\nthe absence of evidence rather than as evidence of absence.\n\nChecks are rate-limited well below the synthesis budget: this is a\nforensic question, not a data-plane call.","tags":["watermark"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The clip was checked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatermarkDetectionResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request body exceeded a per-endpoint size limit (e.g. the file\nupload cap, KB document upload cap, batch-call CSV cap).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The request was well-formed but semantically rejected -\ntypically a referential integrity violation (e.g. flow node\nreferences an audio asset in another workspace) or a state\nmachine refusal.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"audio":{"type":"string","format":"binary","description":"The clip to check, at most 25MB. Give the detector at least\nthree seconds of clear speech; below that its confidence is\nnot worth acting on, and below half a second it always\nreports zero."}},"required":["audio"]}}}}}},"/v1/audio/watermark/verify":{"post":{"operationId":"watermark_verify","summary":"Verify Watermark","description":"The public AI detection tool. Ask whether a clip carries the watermark\nSpeechify seals into audio it generates, with no account, no API key and\nno credential of any kind.\n\n`verify` answers; `detect` measures. This route returns a bare yes or no,\nthe way verifying a signature does. Its sibling\n`POST /v1/audio/watermark/detect` takes an API key and returns the\ndetector's confidence alongside the verdict.\n\nThis is the programmatic half of the tool published at\n, and it exists so the tool can be invoked\nwithout visiting our website, as California's AI Transparency Act\n(BPC 22757.2) requires. Nothing about the clip is stored, and nothing\nidentifying about you is collected or retained.\n\nThe answer is a bare verdict. `watermarked: true` is positive evidence\nthat the audio came from Speechify synthesis. `watermarked: false` is\nNOT proof that it did not: only models redeployed since the watermark\nshipped mark their output, the detector needs at least three seconds of\nclear speech to judge, and re-encoding or changing the speed of a clip\ndegrades the mark. Treat a negative as the absence of evidence rather\nthan as evidence of absence.\n\nBecause the tool takes no credential, it is rate-limited per client\naddress and shares a platform-wide budget: expect a 429 under sustained\nautomated use, and retry after the interval the response advertises.\nUse `POST /v1/audio/watermark/detect` with an API key for the detector's\nconfidence score and a per-workspace allowance of its own.","tags":["watermark"],"parameters":[{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The clip was checked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatermarkVerificationResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request body exceeded a per-endpoint size limit (e.g. the file\nupload cap, KB document upload cap, batch-call CSV cap).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The request was well-formed but semantically rejected -\ntypically a referential integrity violation (e.g. flow node\nreferences an audio asset in another workspace) or a state\nmachine refusal.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"audio":{"type":"string","format":"binary","description":"The clip to check, at most 25MB. Give the detector at least\nthree seconds of clear speech; below that its answer is not\nworth acting on."}},"required":["audio"]}}}}}},"/v1/agents":{"get":{"operationId":"agent_list","summary":"List Agents","description":"List voice agents owned by the caller. Cursor-paginated: omit\n`cursor` for the first page; walk pages while `has_more` is true\n(default page size 50, max 200).","tags":["agent"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"project_id","in":"query","description":"Filter by workspace project: omit for every project you can reach,\npass the literal `default` for resources in the implicit Default\nproject only, or a `proj_...` id for that project's resources.\nReturns 404 project_not_found for a malformed id and for any filter\noutside your reach: a project-pinned API key or service-account key\nreaches only its pinned project, and a member holding project grants\nreaches only the granted projects, so neither can name `default`.\nThat 404 is the same in every case and does not reveal whether such\na project exists - outside your reach a project is answered as\nnonexistent, never as forbidden. Inside it, a well-formed id that\nmatches no project yields an empty page.\n","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of voice agents.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAgentsResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"agent_create","summary":"Create Agent","description":"Create a voice agent.\n\nThe agent lands in the project named by `project_id`, or in the\nimplicit Default project when none is given. Each project holds at\nmost a fixed number of live agents; a create past that answers\n`409 agent_limit_reached` naming the ceiling, and deleting an agent\nin that project - or creating this one in another - frees a slot.\n","tags":["agent"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"201":{"description":"The created agent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Agent"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAgentRequest"}}}}}},"/v1/agents/voices":{"get":{"operationId":"agent_listAgentVoices","summary":"List Agent Voices","description":"List the voice catalogue available for voice agents: the curated\nshared catalogue plus your workspace's own cloned voices, each\nmarked by `type` (`shared` or `personal`). The same slug set is\naccepted by POST/PATCH /v1/agents, so any voice listed here can be\nassigned to an agent. Cloned voices are workspace-owned only - a\npersonal voice scoped to an individual is not selectable on an\nagent, which is a workspace-shared resource. The JSON layout\nintentionally mirrors the TTS `/v1/voices` shape so a single voice\npicker can consume both endpoints.\n\nCursor-paginated: pass `cursor` + `limit` and walk pages while\n`has_more` is true. From API version `2026-08-07` an omitted `limit`\nreturns the first page (default 50, max 200); a caller pinned before\nthat date keeps the historical whole-catalogue response until it opts\nin. The shared catalogue is served first, then your cloned voices.\n","tags":["agent"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The curated agent voice catalogue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAgentVoicesResponse"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/tts-models":{"get":{"operationId":"agent_listTTSModels","summary":"List Agent TTS Models","description":"List the Simba text-to-speech models a voice agent can be pinned to\nwith `tts.model`.\n\nThe response is the whole catalog and is the same for every\nworkspace - which model serves an agent is a routing decision, not\nan entitlement, so nothing here is plan-gated. Whether a *particular*\nagent may select an entry depends on two facts this response\npublishes rather than resolving for you, because both change without\nthis list changing:\n\n- `english_only` - the model has no multilingual deployment, so an\n agent that declares `additional_languages` (or whose `language` is\n not English) cannot select it.\n- `requires_voice_curation` - deprecated and always false. No model\n asks a voice for a registration: every training conditions on the\n voice's own prompt audio, so every model is selectable on every\n voice we speak ourselves, cloned voices included.\n\nDrive a model picker from this and the agent's languages and it can\nonly offer combinations POST/PATCH /v1/agents will accept.\nReturns the full set in one response: bounded by the platform's\ncurated model catalog, so it is intentionally not paginated.\n","tags":["agent"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The TTS models selectable for voice agents.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTTSModelsResponse"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/{agent_id}":{"delete":{"operationId":"agent_delete","summary":"Delete Agent","description":"Delete an agent, and with it everything that belonged only to that\nagent.\n\n**Goes with the agent**, immediately unreadable through every\nendpoint: its runs and their step journals and approvals, its\nconversations and the transcripts, messages and recordings inside\nthem, what it learned about the people it spoke to, its triggers,\nshare links, channel bindings, team memberships and the batch\ncampaigns it dialled. A run that has not settled is asked to stop,\nincluding one parked waiting on a person or on a delegated child. These are removed for good 30 days\nlater; until then the delete can still be walked back by support.\n\n**Survives the agent**, because it belongs to the workspace rather\nthan to this agent: attached tools, knowledge bases, stores and\nskills (only the attachment is dropped), the agent's tests, phone\nnumbers, and the teams it belonged to.\n\n**Kept regardless**, because it is accounting rather than content:\nthe usage the workspace was billed for.\n\nRefused with `409 agent_in_use` while a live phone number still\nroutes to the agent, including the agent a webhook binding\nprovisioned for its number; `used_by` names the numbers. Unbind them\n(`DELETE /v1/agents/{agent_id}/phone-numbers/{phone_number_id}`,\nwhich also clears a webhook binding) and the delete proceeds.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Agent deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A live phone number still routes to the agent. `used_by` names\nthem so the caller can unbind first.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentInUseError"}}}}}},"get":{"operationId":"agent_get","summary":"Get Agent","description":"Retrieve a voice agent by ID.","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The requested agent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Agent"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"agent_update","summary":"Update Agent","description":"Update a voice agent. Only fields present on the request body are changed.","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The updated agent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Agent"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAgentRequest"}}}}}},"/v1/agents/{agent_id}/widget-config":{"get":{"operationId":"agent_getWidgetConfig","summary":"Get Agent Widget Config","description":"Return the embed-widget appearance config for an agent. Works\nunauthenticated for public agents; the body is cosmetic only.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The agent's widget configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WidgetConfig"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/flow/schema":{"get":{"operationId":"flow_getSchema","summary":"Get Flow Graph Schema","description":"Return the JSON Schema describing the flow graph node taxonomy.\nUnauthenticated; flow editors fetch it to validate graphs client-side.\n","tags":["flow"],"parameters":[{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A JSON Schema document for the flow graph.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/agent_flow_getSchema_Response_200"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/{agent_id}/flow":{"get":{"operationId":"flow_getFlow","summary":"Get Agent Flow","description":"Return the agent's flow graph: the current draft (if any), the\nactive published graph (if any), and the version history.\n","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The draft graph, active graph, and version history.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFlowResponse"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"flow_updateFlow","summary":"Update Agent Flow Draft","description":"Replace the agent's draft flow graph. The graph is validated\nbefore it is stored; publish it separately to make it active.\n","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The stored draft graph.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowGraph"}}}},"400":{"description":"Flow validation failed (or the request body was undecodable). The\nstandard `Error` envelope plus an `issues` array locating each problem\nfor the editor. See the `FlowValidationError` schema.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowValidationError"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutFlowRequest"}}}}}},"/v1/agents/{agent_id}/flow/publish":{"post":{"operationId":"flow_publish","summary":"Publish Agent Flow","description":"Publish the agent's draft graph as a new active flow version.","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The newly published flow version.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowVersion"}}}},"400":{"description":"Flow validation failed (or the request body was undecodable). The\nstandard `Error` envelope plus an `issues` array locating each problem\nfor the editor. See the `FlowValidationError` schema.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowValidationError"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The behavioral-eval publish gate refused the publish, on one of two\ncodes the caller can FIX (neither is waited out):\n\n- `agent_publish_gate_failed`: the agent's configured suite did not\n pass. `error.details` carries the verdict (per-case, per-criterion).\n- `agent_publish_gate_tool_unreachable`: the checks never ran because\n a tool the agent is attached to could not be reached. Nothing was\n judged, and no retry helps while the endpoint is down;\n `error.message` names the tool, the endpoint and the reason.\n\nThe one publish failure that IS waited out is the `503`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The publish checks could not run (`agent_publish_gate_unavailable`):\nthe eval worker, the judge or the probe corpus errored, so nothing\nabout the agent was judged. This is OURS, and the only publish failure\na caller waits out: not a verdict on the configuration, retry after\n`Retry-After`. `error.details` lists the cases that could not run. A\ncheck that could not run because of the agent's own configuration is\nthe `422 agent_publish_gate_tool_unreachable` instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishFlowRequest"}}}}}},"/v1/agents/{agent_id}/flow/rollback":{"post":{"operationId":"flow_rollback","summary":"Roll Back Agent Flow","description":"Publish a prior flow version as the active graph.","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The flow version that is now active.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowVersion"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The behavioral-eval publish gate refused the rollback, on one of two\ncodes the caller can FIX (neither is waited out):\n\n- `agent_publish_gate_failed`: the target version did not pass the\n agent's configured suite. `error.details` carries the verdict.\n- `agent_publish_gate_tool_unreachable`: the checks never ran because\n a tool the agent is attached to could not be reached;\n `error.message` names the tool, the endpoint and the reason.\n\nThe one rollback failure that IS waited out is the `503`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The gate's checks could not run on the rollback target\n(`agent_publish_gate_unavailable`): the eval worker, the judge or\nthe probe corpus errored, so nothing about the version was judged.\nThis is OURS, and the only rollback failure a caller waits out: not a\nverdict on it, retry after `Retry-After`. `error.details` lists the\ncases that could not run. A check that could not run because of the\nagent's own configuration is the `422\nagent_publish_gate_tool_unreachable` instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackFlowRequest"}}}}}},"/v1/agents/{agent_id}/flow/deactivate":{"post":{"operationId":"flow_deactivate","summary":"Deactivate Agent Flow","description":"Deactivate the agent's published flow so the agent runs the synthesized default flow.","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Flow deactivated.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/{agent_id}/flow/draft":{"delete":{"operationId":"flow_discardDraft","summary":"Discard Agent Flow Draft","description":"Discard the agent's unpublished draft flow graph.","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Draft discarded.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/{agent_id}/flow/versions":{"get":{"operationId":"flow_listVersions","summary":"List Agent Flow Versions","description":"List every published flow version for the agent, newest first.\nCursor-paginated: omit `cursor` for the first page; walk pages\nwhile `has_more` is true (default page size 50, max 200).","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The agent's flow version history.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListFlowVersionsResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/{agent_id}/flow/versions/{version_id}":{"get":{"operationId":"flow_getVersion","summary":"Get Agent Flow Version","description":"Return the full flow graph for a specific published version.","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"version_id","in":"path","description":"Prefixed flow version id (`fver_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The requested flow version's graph.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowGraph"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/flow/templates":{"get":{"operationId":"flow_listTemplates","summary":"List Flow Templates","description":"List the reusable flow templates available to the workspace.\nCursor-paginated: omit `cursor` for the first page; walk pages\nwhile `has_more` is true (default page size 50, max 200).","tags":["flow"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The available flow templates.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListFlowTemplatesResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"flow_createTemplate","summary":"Create Flow Template","description":"Create a reusable flow template from a graph.","tags":["flow"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"201":{"description":"The created flow template.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowTemplate"}}}},"400":{"description":"Flow validation failed (or the request body was undecodable). The\nstandard `Error` envelope plus an `issues` array locating each problem\nfor the editor. See the `FlowValidationError` schema.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowValidationError"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFlowTemplateRequest"}}}}}},"/v1/agents/flow/templates/{flow_template_id}":{"get":{"operationId":"flow_getTemplate","summary":"Get Flow Template","description":"Retrieve a flow template by id.","tags":["flow"],"parameters":[{"name":"flow_template_id","in":"path","description":"Flow template id (prefixed external id, `tmpl_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The requested flow template.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowTemplate"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"flow_updateTemplate","summary":"Update Flow Template","description":"Replace a flow template. The whole template is replaced, not patched field-by-field.","tags":["flow"],"parameters":[{"name":"flow_template_id","in":"path","description":"Flow template id (prefixed external id, `tmpl_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The updated flow template.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowTemplate"}}}},"400":{"description":"Flow validation failed (or the request body was undecodable). The\nstandard `Error` envelope plus an `issues` array locating each problem\nfor the editor. See the `FlowValidationError` schema.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowValidationError"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFlowTemplateRequest"}}}}},"delete":{"operationId":"flow_deleteTemplate","summary":"Delete Flow Template","description":"Delete a flow template.","tags":["flow"],"parameters":[{"name":"flow_template_id","in":"path","description":"Flow template id (prefixed external id, `tmpl_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Template deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/flow/templates/{flow_template_id}/clone":{"post":{"operationId":"flow_cloneTemplate","summary":"Clone Flow Template","description":"Clone a flow template onto an agent as a new draft graph.","tags":["flow"],"parameters":[{"name":"flow_template_id","in":"path","description":"Flow template id (prefixed external id, `tmpl_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The agent's new draft graph.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowGraph"}}}},"400":{"description":"Flow validation failed (or the request body was undecodable). The\nstandard `Error` envelope plus an `issues` array locating each problem\nfor the editor. See the `FlowValidationError` schema.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowValidationError"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloneFlowTemplateRequest"}}}}}},"/v1/agents/{agent_id}/evaluation-config":{"get":{"operationId":"agent_getEvaluationConfig","summary":"Get Evaluation Config","description":"Retrieve the agent's post-call evaluation criteria + data-collection config.","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The evaluation config for the agent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationConfig"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"agent_updateEvaluationConfig","summary":"Update Evaluation Config","description":"Replace the agent's evaluation criteria + data-collection fields.","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The updated evaluation config.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationConfig"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEvaluationConfigRequest"}}}}}},"/v1/agents/{agent_id}/variables":{"get":{"operationId":"agent_getDynamicVariables","summary":"Get Dynamic Variables","description":"Retrieve the agent's customer-scope dynamic variables and the read-only\ncatalogue of reserved `system__*` keys. The system variables list is\nprovided so editor UIs can render the reference list without maintaining\na client-side copy of the catalogue.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The agent's variable catalogue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDynamicVariablesResponse"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"agent_updateDynamicVariables","summary":"Update Dynamic Variables","description":"Replace the agent's customer-scope dynamic variable definitions.\nThe supplied list overwrites the stored list wholesale (same\nsemantics as `updateEvaluationConfig`). Pass an empty array to\nclear all variables. Up to 20 variables per agent. Keys must\nmatch `[a-zA-Z0-9_]+` and must not start with the reserved\n`system__` prefix.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The updated variable catalogue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDynamicVariablesResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDynamicVariablesRequest"}}}}}},"/v1/agents/{agent_id}/conversations":{"post":{"operationId":"agent_createConversation","summary":"Create Conversation","description":"Start a new voice conversation with the agent. Returns a realtime\nvoice session + short-lived client token so the caller can\nconnect the audio pipeline directly. The agent is dispatched\nserver-side; no additional client action required.\n\nPass `dynamic_variables` to supply per-session values that override\nthe agent's stored variable defaults for this one conversation.\nKeys in the `system__` namespace are rejected at this boundary.\n\nPass `user_identity` as the stable caller key your application uses\nfor memory and caller correlation. It is kept separate from the\nopaque, per-session realtime participant identity.\n\n`overrides.voice_id` replaces the configured voice for the entire\nconversation, including every configured language the voice can\nserve. The request is rejected when the voice is unavailable or\ncannot cover the agent's configured language set; the rejection\nnames `overrides.voice_id` in the error envelope's `fields` map.\nThe override belongs to this conversation only: if the call is\ntransferred to another agent mid-conversation, that agent speaks\nwith its own configured voice.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"A client-generated key (an opaque string, max 255 chars) that makes a\nside-effect POST safe to retry: the server runs the operation exactly\nonce and replays the first response (its status and body) for 24 hours.\nReusing a key with a different request body, or while the first request\nis still in flight, returns `409 idempotency_conflict`. A replayed\nresponse carries the `Idempotent-Replayed: true` header.\n","required":false,"schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"The created conversation with its realtime session token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConversationResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConversationRequest"}}}}}},"/v1/agents/{agent_id}/sessions":{"post":{"operationId":"agent_createSession","summary":"Create Session","description":"Mint a realtime voice session for the given agent. Widget-friendly\ncounterpart to `createConversation` \u2014 same response shape, dual\nauthentication:\n\n* **Authenticated (Bearer)**: works for any agent the caller\n owns. Typical server-to-server flow where the embedding\n site's backend mints a token and hands it to the browser so\n the API key never reaches the client.\n* **Unauthenticated**: works only when `agent.is_public = true`\n AND the request's `Origin` header matches `agent.allowed_origins`\n (or that list is empty). When `agent.hostname_allowlist` is\n non-empty, the `Origin` hostname must additionally be a\n member of that list. Used directly by the\n `` web component.\n\nResponds with the same `CreateConversationResponse` as\n`createConversation`.\n\n`Idempotency-Key` replay is scoped to the authenticated caller, so it\napplies to Bearer requests only: an unauthenticated mint has no scope\nto replay under, and retrying one mints a fresh session.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"A client-generated key (an opaque string, max 255 chars) that makes a\nside-effect POST safe to retry: the server runs the operation exactly\nonce and replays the first response (its status and body) for 24 hours.\nReusing a key with a different request body, or while the first request\nis still in flight, returns `409 idempotency_conflict`. A replayed\nresponse carries the `Idempotent-Replayed: true` header.\n","required":false,"schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"The created session with its realtime token + URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConversationResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` says which\nceiling, and they need different responses: `rate_limited` is the\nrequest-rate budget (slow down), `concurrency_limit_reached` is a\nworkspace-wide concurrency ceiling (fewer at once, or raise it), and\n`conversation_turn_in_progress` is contention over one named\nconversation (keep one message in flight on it). Every 429 carries\n`Retry-After` and the request-rate budget headers; the active-call cap\nalso carries `RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionRequest"}}}}}},"/v1/agents/conversations":{"get":{"operationId":"conversations_list","summary":"List Conversations","description":"List conversations owned by the caller, ordered by most recent.\nCursor-paginated: omit `cursor` to fetch the first page; pass the\nprevious response's `next_cursor` back to fetch the next page.\nWalk pages while `has_more` is true.\n\n`project_id` matches the project the call was DISPATCHED under, which\nis frozen when the conversation starts. Moving an agent to another\nproject therefore leaves its past calls attributed where they ran, the\nsame way per-project usage reports them.","tags":["conversations"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"agent_id","in":"query","description":"Filter to conversations for this agent.","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","description":"Filter by conversation status.","required":false,"schema":{"$ref":"#/components/schemas/ConversationStatus"}},{"name":"transport","in":"query","description":"Filter by the runtime that carried the conversation. `phone`\nmatches calls in either direction.\n","required":false,"schema":{"$ref":"#/components/schemas/ConversationTransport"}},{"name":"channel","in":"query","description":"Filter by the front door the conversation arrived through.\nThis is the axis that separates two conversations sharing one\ntransport: `channel=slack` and `channel=text` both run the\n`text` transport. Combining it with `transport` narrows by\nboth.\n","required":false,"schema":{"$ref":"#/components/schemas/ConversationChannel"}},{"name":"live","in":"query","description":"Narrow to (`true`) or away from (`false`) the conversations that\nare a realtime session in progress: non-terminal AND holding a\nroom. A text or Slack thread holds no room, so it is open rather\nthan live however long it stays non-terminal - `status=active`\nalone matches it. This is the filter a live view asks for.\n","required":false,"schema":{"type":"boolean"}},{"name":"caller_identity","in":"query","description":"Filter by caller identity.","required":false,"schema":{"type":"string"}},{"name":"contact_id","in":"query","description":"Narrow to one person's conversations, whichever agent or channel\nreached them. Prefixed `contact_...` id.\n","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","description":"Free-text search across conversation content.","required":false,"schema":{"type":"string"}},{"name":"started_after","in":"query","description":"Only conversations started at or after this RFC 3339 timestamp.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"started_before","in":"query","description":"Only conversations started at or before this RFC 3339 timestamp.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"duration_min_ms","in":"query","description":"Minimum conversation duration in milliseconds.","required":false,"schema":{"type":"integer"}},{"name":"duration_max_ms","in":"query","description":"Maximum conversation duration in milliseconds.","required":false,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"Filter by workspace project: omit for every project you can reach,\npass the literal `default` for resources in the implicit Default\nproject only, or a `proj_...` id for that project's resources.\nReturns 404 project_not_found for a malformed id and for any filter\noutside your reach: a project-pinned API key or service-account key\nreaches only its pinned project, and a member holding project grants\nreaches only the granted projects, so neither can name `default`.\nThat 404 is the same in every case and does not reveal whether such\na project exists - outside your reach a project is answered as\nnonexistent, never as forbidden. Inside it, a well-formed id that\nmatches no project yields an empty page.\n","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of conversations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListConversationsResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/conversations/{conversation_id}":{"get":{"operationId":"conversations_get","summary":"Get Conversation","description":"Retrieve a conversation by ID.","tags":["conversations"],"parameters":[{"name":"conversation_id","in":"path","description":"Conversation id (prefixed external id, `conv_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The requested conversation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/conversations/recent-callees":{"get":{"operationId":"conversations_recent_callees","summary":"List recent callees","description":"Distinct phone numbers the caller's workspace has dialled on\noutbound calls, ordered by most recent. Feeds the batch-calls\ncomposer's \"Suggested from history\" surface. Cursor-paginated:\nomit `cursor` to fetch the first page. Default page size is 50\nand max is 200. Walk pages while `has_more` is true.\n","tags":["conversations"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Recent callees for the caller's workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListRecentCalleesResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/conversations/stats":{"get":{"operationId":"conversations_stats","summary":"Conversation stats","description":"Aggregated counts and averages over the caller's conversations, scoped\nby the same filters as the list endpoint, `project_id` included.","tags":["conversations"],"parameters":[{"name":"agent_id","in":"query","description":"Filter to conversations for this agent.","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","description":"Filter by conversation status.","required":false,"schema":{"$ref":"#/components/schemas/ConversationStatus"}},{"name":"transport","in":"query","description":"Filter by the runtime that carried the conversation. `phone`\nmatches calls in either direction.\n","required":false,"schema":{"$ref":"#/components/schemas/ConversationTransport"}},{"name":"channel","in":"query","description":"Filter by the front door the conversation arrived through.\nThis is the axis that separates two conversations sharing one\ntransport: `channel=slack` and `channel=text` both run the\n`text` transport. Combining it with `transport` narrows by\nboth.\n","required":false,"schema":{"$ref":"#/components/schemas/ConversationChannel"}},{"name":"live","in":"query","description":"Narrow to (`true`) or away from (`false`) the conversations that\nare a realtime session in progress: non-terminal AND holding a\nroom. A text or Slack thread holds no room, so it is open rather\nthan live however long it stays non-terminal - `status=active`\nalone matches it. This is the filter a live view asks for.\n","required":false,"schema":{"type":"boolean"}},{"name":"caller_identity","in":"query","description":"Filter by caller identity.","required":false,"schema":{"type":"string"}},{"name":"contact_id","in":"query","description":"Narrow to one person's conversations, whichever agent or channel\nreached them. Prefixed `contact_...` id.\n","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","description":"Free-text search across conversation content.","required":false,"schema":{"type":"string"}},{"name":"started_after","in":"query","description":"Only conversations started at or after this RFC 3339 timestamp.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"started_before","in":"query","description":"Only conversations started at or before this RFC 3339 timestamp.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"duration_min_ms","in":"query","description":"Minimum conversation duration in milliseconds.","required":false,"schema":{"type":"integer"}},{"name":"duration_max_ms","in":"query","description":"Maximum conversation duration in milliseconds.","required":false,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"Filter by workspace project: omit for every project you can reach,\npass the literal `default` for resources in the implicit Default\nproject only, or a `proj_...` id for that project's resources.\nReturns 404 project_not_found for a malformed id and for any filter\noutside your reach: a project-pinned API key or service-account key\nreaches only its pinned project, and a member holding project grants\nreaches only the granted projects, so neither can name `default`.\nThat 404 is the same in every case and does not reveal whether such\na project exists - outside your reach a project is answered as\nnonexistent, never as forbidden. Inside it, a well-formed id that\nmatches no project yields an empty page.\n","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stats for the matched conversations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationStats"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/conversations/{conversation_id}/messages":{"get":{"operationId":"conversations_listMessages","summary":"List Messages","description":"Retrieve the transcript for a conversation in started_at order\n(oldest first). Cursor-paginated: omit `cursor` to fetch the\nfirst page. Default page size is 50 and max is 200. Walk pages\nwhile `has_more` is true.","tags":["conversations"],"parameters":[{"name":"conversation_id","in":"path","description":"Conversation id (prefixed external id, `conv_...`).","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The messages for the conversation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMessagesResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/conversations/{conversation_id}/recording":{"get":{"operationId":"conversations_streamRecording","summary":"Stream Recording","description":"Proxy the GCS-stored audio recording for a conversation through\nthe Cloud Run service identity. Returns OGG/Opus bytes (LiveKit\nroom-composite egress default). The response is streamed so a\nlong recording does not buffer in memory; `