From 7bf8b28e286f56c2f3e528c8d1c4340392c4785c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 13 Aug 2026 16:02:29 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...eDetectionClient.CreateDetectFeedback.g.cs | 601 +++++++++++++ ...eDetectionClient.DeleteDetectFeedback.g.cs | 477 ++++++++++ ...fakeDetectionClient.GetDetectFeedback.g.cs | 475 ++++++++++ ...eDetectionClient.CreateDetectFeedback.g.cs | 95 ++ ...eDetectionClient.DeleteDetectFeedback.g.cs | 36 + ...fakeDetectionClient.GetDetectFeedback.g.cs | 34 + ...sonConverters.DetectFeedbackMediaType.g.cs | 53 ++ ...rters.DetectFeedbackMediaTypeNullable.g.cs | 60 ++ ...eAI.JsonConverters.DetectFeedbackType.g.cs | 53 ++ ...Converters.DetectFeedbackTypeNullable.g.cs | 60 ++ ....JsonConverters.DetectFeedbackVerdict.g.cs | 53 ++ ...verters.DetectFeedbackVerdictNullable.g.cs | 60 ++ ...eAI.JsonConverters.DetectFeedbackVote.g.cs | 53 ++ ...Converters.DetectFeedbackVoteNullable.g.cs | 60 ++ ...tBodyContentApplicationJsonSchemaType.g.cs | 53 ++ ...tentApplicationJsonSchemaTypeNullable.g.cs | 60 ++ .../ResembleAI.JsonSerializerContext.g.cs | 94 +- ...ResembleAI.JsonSerializerContextTypes.g.cs | 842 +++++++++--------- ...dels.CreateDetectFeedbackRequest.Json.g.cs | 141 +++ ...AI.Models.CreateDetectFeedbackRequest.g.cs | 88 ++ ...nCreateDetectFeedbackResponse200.Json.g.cs | 141 +++ ...ectionCreateDetectFeedbackResponse200.g.cs | 59 ++ ...nDeleteDetectFeedbackResponse200.Json.g.cs | 141 +++ ...ectionDeleteDetectFeedbackResponse200.g.cs | 44 + ...tionGetDetectFeedbackResponse200.Json.g.cs | 141 +++ ...DetectionGetDetectFeedbackResponse200.g.cs | 59 ++ ...ResembleAI.Models.DetectFeedback.Json.g.cs | 141 +++ .../ResembleAI.Models.DetectFeedback.g.cs | 166 ++++ ...mbleAI.Models.DetectFeedbackMediaType.g.cs | 63 ++ .../ResembleAI.Models.DetectFeedbackType.g.cs | 75 ++ ...sembleAI.Models.DetectFeedbackVerdict.g.cs | 53 ++ .../ResembleAI.Models.DetectFeedbackVote.g.cs | 51 ++ ...tBodyContentApplicationJsonSchemaType.g.cs | 81 ++ src/libs/ResembleAI/openapi.yaml | 348 ++++++++ 34 files changed, 4601 insertions(+), 410 deletions(-) create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectFeedback.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetectFeedback.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectFeedback.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetectFeedback.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.DeleteDetectFeedback.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetectFeedback.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackMediaType.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackMediaTypeNullable.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackType.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackTypeNullable.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVerdict.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVerdictNullable.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVote.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVoteNullable.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeNullable.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectFeedbackRequest.Json.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectFeedbackRequest.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionCreateDetectFeedbackResponse200.Json.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionCreateDetectFeedbackResponse200.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionDeleteDetectFeedbackResponse200.Json.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionDeleteDetectFeedbackResponse200.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionGetDetectFeedbackResponse200.Json.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionGetDetectFeedbackResponse200.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedback.Json.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedback.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackMediaType.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackType.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackVerdict.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackVote.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.g.cs diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectFeedback.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectFeedback.g.cs new file mode 100644 index 0000000..7a88696 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectFeedback.g.cs @@ -0,0 +1,601 @@ + +#nullable enable + +namespace ResembleAI +{ + public partial class DeepfakeDetectionClient + { + + private static readonly global::ResembleAI.AutoSDKServer[] s_CreateDetectFeedbackServers = new global::ResembleAI.AutoSDKServer[] + { new global::ResembleAI.AutoSDKServer( + id: "https-app-resemble-ai-api-v2", + name: "app.resemble.ai api v2", + url: "https://app.resemble.ai/api/v2", + description: ""), + }; + + + private static readonly global::ResembleAI.EndPointSecurityRequirement s_CreateDetectFeedbackSecurityRequirement0 = + new global::ResembleAI.EndPointSecurityRequirement + { + Authorizations = new global::ResembleAI.EndPointAuthorizationRequirement[] + { new global::ResembleAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::ResembleAI.EndPointSecurityRequirement[] s_CreateDetectFeedbackSecurityRequirements = + new global::ResembleAI.EndPointSecurityRequirement[] + { s_CreateDetectFeedbackSecurityRequirement0, + }; + partial void PrepareCreateDetectFeedbackArguments( + global::System.Net.Http.HttpClient httpClient, + ref string uuid, + global::ResembleAI.CreateDetectFeedbackRequest request); + partial void PrepareCreateDetectFeedbackRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string uuid, + global::ResembleAI.CreateDetectFeedbackRequest request); + partial void ProcessCreateDetectFeedbackResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateDetectFeedbackResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Submit detection feedback
+ /// Tell Resemble whether a detection verdict was right — and when it wasn't, what it
+ /// should have been. The answer is stored with a snapshot of what the model said at the
+ /// time of submission (verdict, score, media type, raw metrics), so it stays interpretable
+ /// even if the detect is later re-run or deleted.
+ /// Upserts on `(detect, user)`: re-posting edits your existing answer rather than adding a
+ /// second one. There is no separate update call. Feedback is per user, not per team — a
+ /// teammate's answer on the same detect is invisible to you.
+ /// The detect must have completed processing; feedback on a pending or failed detect is
+ /// rejected with 400. Teams without Detect access also receive 400 (not 403). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateDetectFeedbackAsync( + string uuid, + + global::ResembleAI.CreateDetectFeedbackRequest request, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateDetectFeedbackAsResponseAsync( + uuid: uuid, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Submit detection feedback
+ /// Tell Resemble whether a detection verdict was right — and when it wasn't, what it
+ /// should have been. The answer is stored with a snapshot of what the model said at the
+ /// time of submission (verdict, score, media type, raw metrics), so it stays interpretable
+ /// even if the detect is later re-run or deleted.
+ /// Upserts on `(detect, user)`: re-posting edits your existing answer rather than adding a
+ /// second one. There is no separate update call. Feedback is per user, not per team — a
+ /// teammate's answer on the same detect is invisible to you.
+ /// The detect must have completed processing; feedback on a pending or failed detect is
+ /// rejected with 400. Teams without Detect access also receive 400 (not 403). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CreateDetectFeedbackAsResponseAsync( + string uuid, + + global::ResembleAI.CreateDetectFeedbackRequest request, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareCreateDetectFeedbackArguments( + httpClient: HttpClient, + uuid: ref uuid, + request: request); + + + var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateDetectFeedbackSecurityRequirements, + operationName: "CreateDetectFeedbackAsync"); + + using var __timeoutCancellationTokenSource = global::ResembleAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::ResembleAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::ResembleAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::ResembleAI.PathBuilder( + path: $"/detect/{uuid}/feedback", + baseUri: ResolveBaseUri( + servers: s_CreateDetectFeedbackServers, + defaultBaseUrl: "https://app.resemble.ai/api/v2")); + var __path = __pathBuilder.ToString(); + __path = global::ResembleAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::ResembleAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateDetectFeedbackRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + uuid: uuid!, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateDetectFeedback", + methodName: "CreateDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateDetectFeedback", + methodName: "CreateDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::ResembleAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateDetectFeedback", + methodName: "CreateDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateDetectFeedbackResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateDetectFeedback", + methodName: "CreateDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateDetectFeedback", + methodName: "CreateDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Unknown or missing `type`, `comment` over 1000 characters, the detect has not completed processing, or the team does not have Detect access. + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::ResembleAI.Error? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::ResembleAI.Error.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::ResembleAI.Error.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // No such detect for the authenticated team. + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::ResembleAI.Error? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::ResembleAI.Error.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::ResembleAI.Error.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateDetectFeedbackResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::ResembleAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::ResembleAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Submit detection feedback
+ /// Tell Resemble whether a detection verdict was right — and when it wasn't, what it
+ /// should have been. The answer is stored with a snapshot of what the model said at the
+ /// time of submission (verdict, score, media type, raw metrics), so it stays interpretable
+ /// even if the detect is later re-run or deleted.
+ /// Upserts on `(detect, user)`: re-posting edits your existing answer rather than adding a
+ /// second one. There is no separate update call. Feedback is per user, not per team — a
+ /// teammate's answer on the same detect is invisible to you.
+ /// The detect must have completed processing; feedback on a pending or failed detect is
+ /// rejected with 400. Teams without Detect access also receive 400 (not 403). + ///
+ /// + /// + /// What the verdict should have been.
+ /// - `correct` — the verdict was right.
+ /// - `should_be_ai_generated` — we said authentic; it is AI-generated.
+ /// - `should_be_authentic` — we said AI-generated; it is genuine and unaltered.
+ /// - `should_be_non_ai` — no model generated it, but it may still be edited, spliced, or a human impersonation.
+ /// - `should_be_neutral` — neither call is right; the media is genuinely ambiguous.
+ /// - `skipped` — the verdict was wrong, but the reviewer didn't say how. + /// + /// + /// Free text, up to 1000 characters. Trimmed; blank becomes `null`. + /// + /// + /// Where the answer came from. Use a stable, aggregatable value such as a product
+ /// or queue name — not a per-request identifier. Truncated to 64 characters
+ /// rather than rejected.
+ /// Default Value: api + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateDetectFeedbackAsync( + string uuid, + global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType type, + string? comment = default, + string? source = default, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::ResembleAI.CreateDetectFeedbackRequest + { + Type = type, + Comment = comment, + Source = source, + }; + + return await CreateDetectFeedbackAsync( + uuid: uuid, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetectFeedback.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetectFeedback.g.cs new file mode 100644 index 0000000..e801214 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetectFeedback.g.cs @@ -0,0 +1,477 @@ + +#nullable enable + +namespace ResembleAI +{ + public partial class DeepfakeDetectionClient + { + + private static readonly global::ResembleAI.AutoSDKServer[] s_DeleteDetectFeedbackServers = new global::ResembleAI.AutoSDKServer[] + { new global::ResembleAI.AutoSDKServer( + id: "https-app-resemble-ai-api-v2", + name: "app.resemble.ai api v2", + url: "https://app.resemble.ai/api/v2", + description: ""), + }; + + + private static readonly global::ResembleAI.EndPointSecurityRequirement s_DeleteDetectFeedbackSecurityRequirement0 = + new global::ResembleAI.EndPointSecurityRequirement + { + Authorizations = new global::ResembleAI.EndPointAuthorizationRequirement[] + { new global::ResembleAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::ResembleAI.EndPointSecurityRequirement[] s_DeleteDetectFeedbackSecurityRequirements = + new global::ResembleAI.EndPointSecurityRequirement[] + { s_DeleteDetectFeedbackSecurityRequirement0, + }; + partial void PrepareDeleteDetectFeedbackArguments( + global::System.Net.Http.HttpClient httpClient, + ref string uuid); + partial void PrepareDeleteDetectFeedbackRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string uuid); + partial void ProcessDeleteDetectFeedbackResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessDeleteDetectFeedbackResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Delete detection feedback
+ /// Retract your own feedback. Idempotent — returns 200 whether or not a row existed. Only
+ /// your row is removed; a teammate's answer on the same detect is untouched. Works even on
+ /// a detect that later failed. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task DeleteDetectFeedbackAsync( + string uuid, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await DeleteDetectFeedbackAsResponseAsync( + uuid: uuid, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Delete detection feedback
+ /// Retract your own feedback. Idempotent — returns 200 whether or not a row existed. Only
+ /// your row is removed; a teammate's answer on the same detect is untouched. Works even on
+ /// a detect that later failed. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> DeleteDetectFeedbackAsResponseAsync( + string uuid, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareDeleteDetectFeedbackArguments( + httpClient: HttpClient, + uuid: ref uuid); + + + var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_DeleteDetectFeedbackSecurityRequirements, + operationName: "DeleteDetectFeedbackAsync"); + + using var __timeoutCancellationTokenSource = global::ResembleAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::ResembleAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::ResembleAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::ResembleAI.PathBuilder( + path: $"/detect/{uuid}/feedback", + baseUri: ResolveBaseUri( + servers: s_DeleteDetectFeedbackServers, + defaultBaseUrl: "https://app.resemble.ai/api/v2")); + var __path = __pathBuilder.ToString(); + __path = global::ResembleAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::ResembleAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareDeleteDetectFeedbackRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + uuid: uuid!); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteDetectFeedback", + methodName: "DeleteDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteDetectFeedback", + methodName: "DeleteDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::ResembleAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteDetectFeedback", + methodName: "DeleteDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessDeleteDetectFeedbackResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteDetectFeedback", + methodName: "DeleteDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteDetectFeedback", + methodName: "DeleteDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // No such detect for the authenticated team. + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::ResembleAI.Error? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::ResembleAI.Error.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::ResembleAI.Error.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessDeleteDetectFeedbackResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::ResembleAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::ResembleAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectFeedback.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectFeedback.g.cs new file mode 100644 index 0000000..71c92c7 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectFeedback.g.cs @@ -0,0 +1,475 @@ + +#nullable enable + +namespace ResembleAI +{ + public partial class DeepfakeDetectionClient + { + + private static readonly global::ResembleAI.AutoSDKServer[] s_GetDetectFeedbackServers = new global::ResembleAI.AutoSDKServer[] + { new global::ResembleAI.AutoSDKServer( + id: "https-app-resemble-ai-api-v2", + name: "app.resemble.ai api v2", + url: "https://app.resemble.ai/api/v2", + description: ""), + }; + + + private static readonly global::ResembleAI.EndPointSecurityRequirement s_GetDetectFeedbackSecurityRequirement0 = + new global::ResembleAI.EndPointSecurityRequirement + { + Authorizations = new global::ResembleAI.EndPointAuthorizationRequirement[] + { new global::ResembleAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::ResembleAI.EndPointSecurityRequirement[] s_GetDetectFeedbackSecurityRequirements = + new global::ResembleAI.EndPointSecurityRequirement[] + { s_GetDetectFeedbackSecurityRequirement0, + }; + partial void PrepareGetDetectFeedbackArguments( + global::System.Net.Http.HttpClient httpClient, + ref string uuid); + partial void PrepareGetDetectFeedbackRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string uuid); + partial void ProcessGetDetectFeedbackResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetDetectFeedbackResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get detection feedback
+ /// Retrieve your own feedback for a detect. Returns 404 when *you* haven't answered this
+ /// detect, even if the detect exists and a teammate has answered it. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetDetectFeedbackAsync( + string uuid, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await GetDetectFeedbackAsResponseAsync( + uuid: uuid, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Get detection feedback
+ /// Retrieve your own feedback for a detect. Returns 404 when *you* haven't answered this
+ /// detect, even if the detect exists and a teammate has answered it. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetDetectFeedbackAsResponseAsync( + string uuid, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareGetDetectFeedbackArguments( + httpClient: HttpClient, + uuid: ref uuid); + + + var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetDetectFeedbackSecurityRequirements, + operationName: "GetDetectFeedbackAsync"); + + using var __timeoutCancellationTokenSource = global::ResembleAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::ResembleAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::ResembleAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::ResembleAI.PathBuilder( + path: $"/detect/{uuid}/feedback", + baseUri: ResolveBaseUri( + servers: s_GetDetectFeedbackServers, + defaultBaseUrl: "https://app.resemble.ai/api/v2")); + var __path = __pathBuilder.ToString(); + __path = global::ResembleAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::ResembleAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareGetDetectFeedbackRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + uuid: uuid!); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetDetectFeedback", + methodName: "GetDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetDetectFeedback", + methodName: "GetDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::ResembleAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::ResembleAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetDetectFeedback", + methodName: "GetDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::ResembleAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessGetDetectFeedbackResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetDetectFeedback", + methodName: "GetDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::ResembleAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::ResembleAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetDetectFeedback", + methodName: "GetDetectFeedbackAsync", + pathTemplate: "$\"/detect/{uuid}/feedback\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // No such detect for the authenticated team, or you have not left feedback on it. + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::ResembleAI.Error? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::ResembleAI.Error.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::ResembleAI.Error.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessGetDetectFeedbackResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::ResembleAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::ResembleAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::ResembleAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetectFeedback.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetectFeedback.g.cs new file mode 100644 index 0000000..12471d1 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetectFeedback.g.cs @@ -0,0 +1,95 @@ +#nullable enable + +namespace ResembleAI +{ + public partial interface IDeepfakeDetectionClient + { + /// + /// Submit detection feedback
+ /// Tell Resemble whether a detection verdict was right — and when it wasn't, what it
+ /// should have been. The answer is stored with a snapshot of what the model said at the
+ /// time of submission (verdict, score, media type, raw metrics), so it stays interpretable
+ /// even if the detect is later re-run or deleted.
+ /// Upserts on `(detect, user)`: re-posting edits your existing answer rather than adding a
+ /// second one. There is no separate update call. Feedback is per user, not per team — a
+ /// teammate's answer on the same detect is invisible to you.
+ /// The detect must have completed processing; feedback on a pending or failed detect is
+ /// rejected with 400. Teams without Detect access also receive 400 (not 403). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDetectFeedbackAsync( + string uuid, + + global::ResembleAI.CreateDetectFeedbackRequest request, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Submit detection feedback
+ /// Tell Resemble whether a detection verdict was right — and when it wasn't, what it
+ /// should have been. The answer is stored with a snapshot of what the model said at the
+ /// time of submission (verdict, score, media type, raw metrics), so it stays interpretable
+ /// even if the detect is later re-run or deleted.
+ /// Upserts on `(detect, user)`: re-posting edits your existing answer rather than adding a
+ /// second one. There is no separate update call. Feedback is per user, not per team — a
+ /// teammate's answer on the same detect is invisible to you.
+ /// The detect must have completed processing; feedback on a pending or failed detect is
+ /// rejected with 400. Teams without Detect access also receive 400 (not 403). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateDetectFeedbackAsResponseAsync( + string uuid, + + global::ResembleAI.CreateDetectFeedbackRequest request, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Submit detection feedback
+ /// Tell Resemble whether a detection verdict was right — and when it wasn't, what it
+ /// should have been. The answer is stored with a snapshot of what the model said at the
+ /// time of submission (verdict, score, media type, raw metrics), so it stays interpretable
+ /// even if the detect is later re-run or deleted.
+ /// Upserts on `(detect, user)`: re-posting edits your existing answer rather than adding a
+ /// second one. There is no separate update call. Feedback is per user, not per team — a
+ /// teammate's answer on the same detect is invisible to you.
+ /// The detect must have completed processing; feedback on a pending or failed detect is
+ /// rejected with 400. Teams without Detect access also receive 400 (not 403). + ///
+ /// + /// + /// What the verdict should have been.
+ /// - `correct` — the verdict was right.
+ /// - `should_be_ai_generated` — we said authentic; it is AI-generated.
+ /// - `should_be_authentic` — we said AI-generated; it is genuine and unaltered.
+ /// - `should_be_non_ai` — no model generated it, but it may still be edited, spliced, or a human impersonation.
+ /// - `should_be_neutral` — neither call is right; the media is genuinely ambiguous.
+ /// - `skipped` — the verdict was wrong, but the reviewer didn't say how. + /// + /// + /// Free text, up to 1000 characters. Trimmed; blank becomes `null`. + /// + /// + /// Where the answer came from. Use a stable, aggregatable value such as a product
+ /// or queue name — not a per-request identifier. Truncated to 64 characters
+ /// rather than rejected.
+ /// Default Value: api + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDetectFeedbackAsync( + string uuid, + global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType type, + string? comment = default, + string? source = default, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.DeleteDetectFeedback.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.DeleteDetectFeedback.g.cs new file mode 100644 index 0000000..453619a --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.DeleteDetectFeedback.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace ResembleAI +{ + public partial interface IDeepfakeDetectionClient + { + /// + /// Delete detection feedback
+ /// Retract your own feedback. Idempotent — returns 200 whether or not a row existed. Only
+ /// your row is removed; a teammate's answer on the same detect is untouched. Works even on
+ /// a detect that later failed. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteDetectFeedbackAsync( + string uuid, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Delete detection feedback
+ /// Retract your own feedback. Idempotent — returns 200 whether or not a row existed. Only
+ /// your row is removed; a teammate's answer on the same detect is untouched. Works even on
+ /// a detect that later failed. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DeleteDetectFeedbackAsResponseAsync( + string uuid, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetectFeedback.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetectFeedback.g.cs new file mode 100644 index 0000000..bfec117 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetectFeedback.g.cs @@ -0,0 +1,34 @@ +#nullable enable + +namespace ResembleAI +{ + public partial interface IDeepfakeDetectionClient + { + /// + /// Get detection feedback
+ /// Retrieve your own feedback for a detect. Returns 404 when *you* haven't answered this
+ /// detect, even if the detect exists and a teammate has answered it. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDetectFeedbackAsync( + string uuid, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get detection feedback
+ /// Retrieve your own feedback for a detect. Returns 404 when *you* haven't answered this
+ /// detect, even if the detect exists and a teammate has answered it. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetDetectFeedbackAsResponseAsync( + string uuid, + global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackMediaType.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackMediaType.g.cs new file mode 100644 index 0000000..5debaca --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackMediaType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectFeedbackMediaTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectFeedbackMediaType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.DetectFeedbackMediaTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectFeedbackMediaType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectFeedbackMediaType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectFeedbackMediaType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.DetectFeedbackMediaTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackMediaTypeNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackMediaTypeNullable.g.cs new file mode 100644 index 0000000..1ef9258 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackMediaTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectFeedbackMediaTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectFeedbackMediaType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.DetectFeedbackMediaTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectFeedbackMediaType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectFeedbackMediaType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectFeedbackMediaType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::ResembleAI.DetectFeedbackMediaTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackType.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackType.g.cs new file mode 100644 index 0000000..4975a15 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectFeedbackTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectFeedbackType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.DetectFeedbackTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectFeedbackType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectFeedbackType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectFeedbackType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.DetectFeedbackTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackTypeNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackTypeNullable.g.cs new file mode 100644 index 0000000..5b627e1 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectFeedbackTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectFeedbackType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.DetectFeedbackTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectFeedbackType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectFeedbackType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectFeedbackType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::ResembleAI.DetectFeedbackTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVerdict.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVerdict.g.cs new file mode 100644 index 0000000..3734fb2 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVerdict.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectFeedbackVerdictJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectFeedbackVerdict Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.DetectFeedbackVerdictExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectFeedbackVerdict)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectFeedbackVerdict); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectFeedbackVerdict value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.DetectFeedbackVerdictExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVerdictNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVerdictNullable.g.cs new file mode 100644 index 0000000..1d27757 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVerdictNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectFeedbackVerdictNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectFeedbackVerdict? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.DetectFeedbackVerdictExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectFeedbackVerdict)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectFeedbackVerdict?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectFeedbackVerdict? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::ResembleAI.DetectFeedbackVerdictExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVote.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVote.g.cs new file mode 100644 index 0000000..d10d0ef --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVote.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectFeedbackVoteJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectFeedbackVote Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.DetectFeedbackVoteExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectFeedbackVote)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectFeedbackVote); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectFeedbackVote value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.DetectFeedbackVoteExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVoteNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVoteNullable.g.cs new file mode 100644 index 0000000..8c3614a --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectFeedbackVoteNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectFeedbackVoteNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectFeedbackVote? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.DetectFeedbackVoteExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectFeedbackVote)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectFeedbackVote?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectFeedbackVote? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::ResembleAI.DetectFeedbackVoteExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.g.cs new file mode 100644 index 0000000..b67b657 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeNullable.g.cs new file mode 100644 index 0000000..7bdd1ec --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs index 33e47dd..f93780e 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs @@ -77,6 +77,26 @@ namespace ResembleAI typeof(global::ResembleAI.JsonConverters.DetectBatchStatusNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectFeedbackTypeJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackTypeNullableJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackVoteJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackVoteNullableJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackVerdictJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackVerdictNullableJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackMediaTypeJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackMediaTypeNullableJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectAgentTierJsonConverter), typeof(global::ResembleAI.JsonConverters.DetectAgentTierNullableJsonConverter), @@ -375,6 +395,8 @@ namespace ResembleAI typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), + typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), + typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), @@ -467,6 +489,16 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectBatch))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionCreateDetectBatchResponse202))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionGetDetectBatchResponse200))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectFeedbackType), TypeInfoPropertyName = "DetectFeedbackType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectFeedbackVote), TypeInfoPropertyName = "DetectFeedbackVote2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectFeedbackVerdict), TypeInfoPropertyName = "DetectFeedbackVerdict2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectFeedbackMediaType), TypeInfoPropertyName = "DetectFeedbackMediaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectFeedback))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf), TypeInfoPropertyName = "OneOfDetectFeedbackVerdictObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType), TypeInfoPropertyName = "DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectAgentTier), TypeInfoPropertyName = "DetectAgentTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectAgentCapabilities))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectAgent))] @@ -834,6 +866,7 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateDetectionRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateDetectBatchRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateDetectFeedbackRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.RunDetectAgentInvestigationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.RunIntelligenceRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AskDetectIntelligenceQuestionRequest))] @@ -882,17 +915,6 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultStatus?), TypeInfoPropertyName = "NullableDetectIntelligenceResultStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType?), TypeInfoPropertyName = "NullableDetectIntelligenceResultDescriptionOneOf1FraudType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment?), TypeInfoPropertyName = "NullableDetectIntelligenceResultDescriptionOneOf1LivenessAssessment2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescription?), TypeInfoPropertyName = "NullableDetectIntelligenceResultDescription2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectIntelligenceResultDescriptionObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemModality?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemModality2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracingObject2")] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -968,6 +990,26 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::ResembleAI.JsonConverters.DetectBatchStatusNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectFeedbackTypeJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackTypeNullableJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackVoteJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackVoteNullableJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackVerdictJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackVerdictNullableJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackMediaTypeJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectFeedbackMediaTypeNullableJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectAgentTierJsonConverter), typeof(global::ResembleAI.JsonConverters.DetectAgentTierNullableJsonConverter), @@ -1266,6 +1308,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), + typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), + typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), @@ -1284,8 +1328,25 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::ResembleAI.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultStatus?), TypeInfoPropertyName = "NullableDetectIntelligenceResultStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType?), TypeInfoPropertyName = "NullableDetectIntelligenceResultDescriptionOneOf1FraudType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment?), TypeInfoPropertyName = "NullableDetectIntelligenceResultDescriptionOneOf1LivenessAssessment2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescription?), TypeInfoPropertyName = "NullableDetectIntelligenceResultDescription2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectIntelligenceResultDescriptionObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemModality?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemModality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracingObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectBatchStatus?), TypeInfoPropertyName = "NullableDetectBatchStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectFeedbackType?), TypeInfoPropertyName = "NullableDetectFeedbackType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectFeedbackVote?), TypeInfoPropertyName = "NullableDetectFeedbackVote2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectFeedbackVerdict?), TypeInfoPropertyName = "NullableDetectFeedbackVerdict2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectFeedbackMediaType?), TypeInfoPropertyName = "NullableDetectFeedbackMediaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectFeedbackVerdictObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType?), TypeInfoPropertyName = "NullableDetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectAgentTier?), TypeInfoPropertyName = "NullableDetectAgentTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectAgentRunSummaryStatus?), TypeInfoPropertyName = "NullableDetectAgentRunSummaryStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectAgentRunResultVerdictObject2")] @@ -1498,6 +1559,16 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemModalityNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectBatchStatusJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectBatchStatusNullableJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectFeedbackTypeJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectFeedbackTypeNullableJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectFeedbackVoteJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectFeedbackVoteNullableJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectFeedbackVerdictJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectFeedbackVerdictNullableJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectFeedbackMediaTypeJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectFeedbackMediaTypeNullableJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectAgentTierJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectAgentTierNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectAgentRunSummaryStatusJsonConverter()); @@ -1647,6 +1718,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs index 581bcce..d79e561 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs @@ -312,1599 +312,1643 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::ResembleAI.DetectAgentTier? Type71 { get; set; } + public global::ResembleAI.DetectFeedbackType? Type71 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentCapabilities? Type72 { get; set; } + public global::ResembleAI.DetectFeedbackVote? Type72 { get; set; } /// /// /// - public global::ResembleAI.DetectAgent? Type73 { get; set; } + public global::ResembleAI.DetectFeedbackVerdict? Type73 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentsListDetectAgentsResponse200? Type74 { get; set; } + public global::ResembleAI.DetectFeedbackMediaType? Type74 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type75 { get; set; } + public global::ResembleAI.DetectFeedback? Type75 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRunSummaryStatus? Type76 { get; set; } + public global::ResembleAI.OneOf? Type76 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRunResultVerdict? Type77 { get; set; } + public global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200? Type77 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRunResult? Type78 { get; set; } + public global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType? Type78 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type79 { get; set; } + public global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200? Type79 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRunSummaryInputs? Type80 { get; set; } + public global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200? Type80 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRunSummary? Type81 { get; set; } + public global::ResembleAI.DetectAgentTier? Type81 { get; set; } /// /// /// - public global::System.Guid? Type82 { get; set; } + public global::ResembleAI.DetectAgentCapabilities? Type82 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentsListDetectAgentInvestigationRunsResponse200? Type83 { get; set; } + public global::ResembleAI.DetectAgent? Type83 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type84 { get; set; } + public global::ResembleAI.DetectAgentsListDetectAgentsResponse200? Type84 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRun? Type85 { get; set; } + public global::System.Collections.Generic.IList? Type85 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type86 { get; set; } + public global::ResembleAI.DetectAgentRunSummaryStatus? Type86 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentsGetDetectAgentInvestigationRunResponse200? Type87 { get; set; } + public global::ResembleAI.DetectAgentRunResultVerdict? Type87 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType? Type88 { get; set; } + public global::ResembleAI.DetectAgentRunResult? Type88 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItemMediaType? Type89 { get; set; } + public global::ResembleAI.OneOf? Type89 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItem? Type90 { get; set; } + public global::ResembleAI.DetectAgentRunSummaryInputs? Type90 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceRunIntelligenceResponse200? Type91 { get; set; } + public global::ResembleAI.DetectAgentRunSummary? Type91 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraudType? Type92 { get; set; } + public global::System.Guid? Type92 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraud? Type93 { get; set; } + public global::ResembleAI.DetectAgentsListDetectAgentInvestigationRunsResponse200? Type93 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLivenessAssessment? Type94 { get; set; } + public global::System.Collections.Generic.IList? Type94 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLiveness? Type95 { get; set; } + public global::ResembleAI.DetectAgentRun? Type95 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionDigitallyAltered? Type96 { get; set; } + public global::System.Collections.Generic.IList? Type96 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescription? Type97 { get; set; } + public global::ResembleAI.DetectAgentsGetDetectAgentInvestigationRunResponse200? Type97 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? Type98 { get; set; } + public global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType? Type98 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItems? Type99 { get; set; } + public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItemMediaType? Type99 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceListIntelligencesResponse200? Type100 { get; set; } + public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItem? Type100 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type101 { get; set; } + public global::ResembleAI.IntelligenceRunIntelligenceResponse200? Type101 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraudType? Type102 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraudType? Type102 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraud? Type103 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraud? Type103 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLivenessAssessment? Type104 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLivenessAssessment? Type104 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLiveness? Type105 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLiveness? Type105 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionDigitallyAltered? Type106 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionDigitallyAltered? Type106 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescription? Type107 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescription? Type107 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type108 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? Type108 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItem? Type109 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItems? Type109 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceGetIntelligenceResponse200? Type110 { get; set; } + public global::ResembleAI.IntelligenceListIntelligencesResponse200? Type110 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItemStatus? Type111 { get; set; } + public global::System.Collections.Generic.IList? Type111 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItem? Type112 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraudType? Type112 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceAskDetectIntelligenceQuestionResponse202? Type113 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraud? Type113 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type114 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLivenessAssessment? Type114 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type115 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLiveness? Type115 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceGetDetectIntelligenceQuestionResponse200? Type116 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionDigitallyAltered? Type116 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItemsResults? Type117 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescription? Type117 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItems? Type118 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type118 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingListAudioSourceTracingsResponse200? Type119 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItem? Type119 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type120 { get; set; } + public global::ResembleAI.IntelligenceGetIntelligenceResponse200? Type120 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItemResults? Type121 { get; set; } + public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItemStatus? Type121 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItem? Type122 { get; set; } + public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItem? Type122 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingGetAudioSourceTracingResponse200? Type123 { get; set; } + public global::ResembleAI.DetectIntelligenceAskDetectIntelligenceQuestionResponse202? Type123 { get; set; } /// /// /// - public global::ResembleAI.IdentitySummaryVisibility? Type124 { get; set; } + public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type124 { get; set; } /// /// /// - public global::ResembleAI.IdentitySummaryIdentityType? Type125 { get; set; } + public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type125 { get; set; } /// /// /// - public global::ResembleAI.IdentitySummary? Type126 { get; set; } + public global::ResembleAI.DetectIntelligenceGetDetectIntelligenceQuestionResponse200? Type126 { get; set; } /// /// /// - public global::ResembleAI.IdentityListIdentitiesResponse200? Type127 { get; set; } + public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItemsResults? Type127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type128 { get; set; } + public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItems? Type128 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest0? Type129 { get; set; } + public global::ResembleAI.AudioSourceTracingListAudioSourceTracingsResponse200? Type129 { get; set; } /// /// /// - public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityIdentityType? Type130 { get; set; } + public global::System.Collections.Generic.IList? Type130 { get; set; } /// /// /// - public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityVisibility? Type131 { get; set; } + public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItemResults? Type131 { get; set; } /// /// /// - public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1Identity? Type132 { get; set; } + public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItem? Type132 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest1? Type133 { get; set; } + public global::ResembleAI.AudioSourceTracingGetAudioSourceTracingResponse200? Type133 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest? Type134 { get; set; } + public global::ResembleAI.IdentitySummaryVisibility? Type134 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityResponse200? Type135 { get; set; } + public global::ResembleAI.IdentitySummaryIdentityType? Type135 { get; set; } /// /// /// - public global::ResembleAI.IdentityDeleteIdentityResponse200? Type136 { get; set; } + public global::ResembleAI.IdentitySummary? Type136 { get; set; } /// /// /// - public global::ResembleAI.IdentityUuidAttachmentsPostRequestBodyContentMultipartFormDataSchemaModality? Type137 { get; set; } + public global::ResembleAI.IdentityListIdentitiesResponse200? Type137 { get; set; } /// /// /// - public global::ResembleAI.IdentityIdentityType? Type138 { get; set; } + public global::System.Collections.Generic.IList? Type138 { get; set; } /// /// /// - public global::ResembleAI.IdentityVisibility? Type139 { get; set; } + public global::ResembleAI.IdentityCreateIdentityRequest0? Type139 { get; set; } /// /// /// - public global::ResembleAI.IdentityAttachment? Type140 { get; set; } + public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityIdentityType? Type140 { get; set; } /// /// /// - public global::ResembleAI.IdentityEmbeddingsItemsModality? Type141 { get; set; } + public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityVisibility? Type141 { get; set; } /// /// /// - public global::ResembleAI.IdentityEmbeddingsItems? Type142 { get; set; } + public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1Identity? Type142 { get; set; } /// /// /// - public global::ResembleAI.IdentityProjectsItems? Type143 { get; set; } + public global::ResembleAI.IdentityCreateIdentityRequest1? Type143 { get; set; } /// /// /// - public global::ResembleAI.Identity? Type144 { get; set; } + public global::ResembleAI.IdentityCreateIdentityRequest? Type144 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type145 { get; set; } + public global::ResembleAI.IdentityCreateIdentityResponse200? Type145 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type146 { get; set; } + public global::ResembleAI.IdentityDeleteIdentityResponse200? Type146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type147 { get; set; } + public global::ResembleAI.IdentityUuidAttachmentsPostRequestBodyContentMultipartFormDataSchemaModality? Type147 { get; set; } /// /// /// - public global::ResembleAI.IdentityDeleteIdentityAttachmentResponse204? Type148 { get; set; } + public global::ResembleAI.IdentityIdentityType? Type148 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchPostRequestBodyContentApplicationJsonSchemaModality? Type149 { get; set; } + public global::ResembleAI.IdentityVisibility? Type149 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaModality? Type150 { get; set; } + public global::ResembleAI.IdentityAttachment? Type150 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaItem? Type151 { get; set; } + public global::ResembleAI.IdentityEmbeddingsItemsModality? Type151 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchIdentitiesResponse200? Type152 { get; set; } + public global::ResembleAI.IdentityEmbeddingsItems? Type152 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type153 { get; set; } + public global::ResembleAI.IdentityProjectsItems? Type153 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyPostParametersPrefer? Type154 { get; set; } + public global::ResembleAI.Identity? Type154 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyRequest? Type155 { get; set; } + public global::System.Collections.Generic.IList? Type155 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemMediaType? Type156 { get; set; } + public global::System.Collections.Generic.IList? Type156 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemOperationType? Type157 { get; set; } + public global::System.Collections.Generic.IList? Type157 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemStatus? Type158 { get; set; } + public global::ResembleAI.IdentityDeleteIdentityAttachmentResponse204? Type158 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemModelVersion? Type159 { get; set; } + public global::ResembleAI.IdentitySearchPostRequestBodyContentApplicationJsonSchemaModality? Type159 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyMetrics? Type160 { get; set; } + public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaModality? Type160 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItem? Type161 { get; set; } + public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaItem? Type161 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyResponse? Type162 { get; set; } + public global::ResembleAI.IdentitySearchIdentitiesResponse200? Type162 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectPostParametersPrefer? Type163 { get; set; } + public global::System.Collections.Generic.Dictionary? Type163 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectRequest? Type164 { get; set; } + public global::ResembleAI.WatermarkApplyPostParametersPrefer? Type164 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemMediaType? Type165 { get; set; } + public global::ResembleAI.WatermarkApplyRequest? Type165 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemOperationType? Type166 { get; set; } + public global::ResembleAI.WatermarkApplyItemMediaType? Type166 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemStatus? Type167 { get; set; } + public global::ResembleAI.WatermarkApplyItemOperationType? Type167 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemModelVersion? Type168 { get; set; } + public global::ResembleAI.WatermarkApplyItemStatus? Type168 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus? Type169 { get; set; } + public global::ResembleAI.WatermarkApplyItemModelVersion? Type169 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems? Type170 { get; set; } + public global::ResembleAI.WatermarkApplyMetrics? Type170 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioModelResultModelVersion? Type171 { get; set; } + public global::ResembleAI.WatermarkApplyItem? Type171 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioModelResultStatus? Type172 { get; set; } + public global::ResembleAI.WatermarkApplyResponse? Type172 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioModelResult? Type173 { get; set; } + public global::ResembleAI.WatermarkDetectPostParametersPrefer? Type173 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type174 { get; set; } + public global::ResembleAI.WatermarkDetectRequest? Type174 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetrics? Type175 { get; set; } + public global::ResembleAI.WatermarkDetectItemMediaType? Type175 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type176 { get; set; } + public global::ResembleAI.WatermarkDetectItemOperationType? Type176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type177 { get; set; } + public global::ResembleAI.WatermarkDetectItemStatus? Type177 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus? Type178 { get; set; } + public global::ResembleAI.WatermarkDetectItemModelVersion? Type178 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems? Type179 { get; set; } + public global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus? Type179 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionModelResultModelVersion? Type180 { get; set; } + public global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems? Type180 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionModelResultStatus? Type181 { get; set; } + public global::ResembleAI.WatermarkAudioModelResultModelVersion? Type181 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionModelResult? Type182 { get; set; } + public global::ResembleAI.WatermarkAudioModelResultStatus? Type182 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetricsVerdict? Type183 { get; set; } + public global::ResembleAI.WatermarkAudioModelResult? Type183 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetrics? Type184 { get; set; } + public global::System.Collections.Generic.Dictionary? Type184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type185 { get; set; } + public global::ResembleAI.WatermarkAudioDetectionMetrics? Type185 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type186 { get; set; } + public global::System.Collections.Generic.IList? Type186 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type187 { get; set; } + public global::System.Collections.Generic.IList? Type187 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemMetrics? Type188 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus? Type188 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItem? Type189 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems? Type189 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type190 { get; set; } + public global::ResembleAI.WatermarkVisionModelResultModelVersion? Type190 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectResponse? Type191 { get; set; } + public global::ResembleAI.WatermarkVisionModelResultStatus? Type191 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmissionInputModality? Type192 { get; set; } + public global::ResembleAI.WatermarkVisionModelResult? Type192 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmissionVerdict? Type193 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetricsVerdict? Type193 { get; set; } /// /// /// - public global::ResembleAI.SignalCategoryScore? Type194 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetrics? Type194 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreItemInputModality? Type195 { get; set; } + public global::System.Collections.Generic.IList? Type195 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreItemVerdict? Type196 { get; set; } + public global::System.Collections.Generic.IList? Type196 { get; set; } /// /// /// - public global::ResembleAI.SignalTopMatch? Type197 { get; set; } + public global::ResembleAI.OneOf? Type197 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreItem? Type198 { get; set; } + public global::ResembleAI.WatermarkDetectItemMetrics? Type198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type199 { get; set; } + public global::ResembleAI.WatermarkDetectItem? Type199 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type200 { get; set; } + public global::ResembleAI.OneOf? Type200 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmission? Type201 { get; set; } + public global::ResembleAI.WatermarkDetectResponse? Type201 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmissionListResponse? Type202 { get; set; } + public global::ResembleAI.SignalSubmissionInputModality? Type202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type203 { get; set; } + public global::ResembleAI.SignalSubmissionVerdict? Type203 { get; set; } /// /// /// - public global::ResembleAI.SignalError? Type204 { get; set; } + public global::ResembleAI.SignalCategoryScore? Type204 { get; set; } /// /// /// - public long? Type205 { get; set; } + public global::ResembleAI.SignalScoreItemInputModality? Type205 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreResponse? Type206 { get; set; } + public global::ResembleAI.SignalScoreItemVerdict? Type206 { get; set; } /// /// /// - public global::ResembleAI.SignalSuccessResponse? Type207 { get; set; } + public global::ResembleAI.SignalTopMatch? Type207 { get; set; } /// /// /// - public global::ResembleAI.SignalSettings? Type208 { get; set; } + public global::ResembleAI.SignalScoreItem? Type208 { get; set; } /// /// /// - public global::ResembleAI.SignalBuiltInCategory? Type209 { get; set; } + public global::System.Collections.Generic.IList? Type209 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryStatus? Type210 { get; set; } + public global::System.Collections.Generic.IList? Type210 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryOverlapsItems? Type211 { get; set; } + public global::ResembleAI.SignalSubmission? Type211 { get; set; } /// /// /// - public global::ResembleAI.SignalScenario? Type212 { get; set; } + public global::ResembleAI.SignalSubmissionListResponse? Type212 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategory? Type213 { get; set; } + public global::System.Collections.Generic.IList? Type213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type214 { get; set; } + public global::ResembleAI.SignalError? Type214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type215 { get; set; } + public long? Type215 { get; set; } /// /// /// - public global::ResembleAI.SignalCalibrationWarningsItems? Type216 { get; set; } + public global::ResembleAI.SignalScoreResponse? Type216 { get; set; } /// /// /// - public global::ResembleAI.SignalCalibration? Type217 { get; set; } + public global::ResembleAI.SignalSuccessResponse? Type217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type218 { get; set; } + public global::ResembleAI.SignalSettings? Type218 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryListResponse? Type219 { get; set; } + public global::ResembleAI.SignalBuiltInCategory? Type219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type220 { get; set; } + public global::ResembleAI.SignalCustomCategoryStatus? Type220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type221 { get; set; } + public global::ResembleAI.SignalCustomCategoryOverlapsItems? Type221 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryCreateRequest? Type222 { get; set; } + public global::ResembleAI.SignalScenario? Type222 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryResponse? Type223 { get; set; } + public global::ResembleAI.SignalCustomCategory? Type223 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryUpdateRequest? Type224 { get; set; } + public global::System.Collections.Generic.IList? Type224 { get; set; } /// /// /// - public global::ResembleAI.SignalSettingsUpdateRequest? Type225 { get; set; } + public global::System.Collections.Generic.IList? Type225 { get; set; } /// /// /// - public global::ResembleAI.SignalSettingsResponse? Type226 { get; set; } + public global::ResembleAI.SignalCalibrationWarningsItems? Type226 { get; set; } /// /// /// - public global::ResembleAI.SecureUploadsCreateSecureUploadResponse200? Type227 { get; set; } + public global::ResembleAI.SignalCalibration? Type227 { get; set; } /// /// /// - public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaPrecision? Type228 { get; set; } + public global::System.Collections.Generic.IList? Type228 { get; set; } /// /// /// - public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaOutputFormat? Type229 { get; set; } + public global::ResembleAI.SignalCustomCategoryListResponse? Type229 { get; set; } /// /// /// - public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaSampleRate? Type230 { get; set; } + public global::System.Collections.Generic.IList? Type230 { get; set; } /// /// /// - public global::ResembleAI.AudioTimestamps? Type231 { get; set; } + public global::System.Collections.Generic.IList? Type231 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type232 { get; set; } + public global::ResembleAI.SignalCustomCategoryCreateRequest? Type232 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type233 { get; set; } + public global::ResembleAI.SignalCustomCategoryResponse? Type233 { get; set; } /// /// /// - public global::ResembleAI.TextToSpeechSynthesizeResponse200? Type234 { get; set; } + public global::ResembleAI.SignalCustomCategoryUpdateRequest? Type234 { get; set; } /// /// /// - public byte[]? Type235 { get; set; } + public global::ResembleAI.SignalSettingsUpdateRequest? Type235 { get; set; } /// /// /// - public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaPrecision? Type236 { get; set; } + public global::ResembleAI.SignalSettingsResponse? Type236 { get; set; } /// /// /// - public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaSampleRate? Type237 { get; set; } + public global::ResembleAI.SecureUploadsCreateSecureUploadResponse200? Type237 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaItemsItems? Type238 { get; set; } + public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaPrecision? Type238 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaMeta? Type239 { get; set; } + public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaOutputFormat? Type239 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextListTranscriptsResponse200? Type240 { get; set; } + public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaSampleRate? Type240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type241 { get; set; } + public global::ResembleAI.AudioTimestamps? Type241 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItemStatus? Type242 { get; set; } + public global::System.Collections.Generic.IList>? Type242 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItem? Type243 { get; set; } + public global::System.Collections.Generic.IList? Type243 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextCreateTranscriptResponse200? Type244 { get; set; } + public global::ResembleAI.TextToSpeechSynthesizeResponse200? Type244 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type245 { get; set; } + public byte[]? Type245 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemWordsItems? Type246 { get; set; } + public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaPrecision? Type246 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItem? Type247 { get; set; } + public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaSampleRate? Type247 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type248 { get; set; } + public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaItemsItems? Type248 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetTranscriptResponse200? Type249 { get; set; } + public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaMeta? Type249 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidAskPostResponsesContentApplicationJsonSchemaItem? Type250 { get; set; } + public global::ResembleAI.SpeechToTextListTranscriptsResponse200? Type250 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextAskTranscriptQuestionResponse200? Type251 { get; set; } + public global::System.Collections.Generic.IList? Type251 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaItemsItems? Type252 { get; set; } + public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItemStatus? Type252 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaMeta? Type253 { get; set; } + public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItem? Type253 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextListTranscriptQuestionsResponse200? Type254 { get; set; } + public global::ResembleAI.SpeechToTextCreateTranscriptResponse200? Type254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type255 { get; set; } + public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type255 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidQuestionsQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type256 { get; set; } + public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemWordsItems? Type256 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetTranscriptQuestionResponse200? Type257 { get; set; } + public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItem? Type257 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type258 { get; set; } + public global::System.Collections.Generic.IList? Type258 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsEnhancementEngine? Type259 { get; set; } + public global::ResembleAI.SpeechToTextGetTranscriptResponse200? Type259 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItems? Type260 { get; set; } + public global::ResembleAI.SpeechToTextUuidAskPostResponsesContentApplicationJsonSchemaItem? Type260 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementListAudioEnhancementsResponse200? Type261 { get; set; } + public global::ResembleAI.SpeechToTextAskTranscriptQuestionResponse200? Type261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type262 { get; set; } + public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaItemsItems? Type262 { get; set; } /// /// /// - public global::ResembleAI.ListAudioEnhancementsRequestBadRequestError? Type263 { get; set; } + public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaMeta? Type263 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsPostRequestBodyContentMultipartFormDataSchemaEnhancementEngine? Type264 { get; set; } + public global::ResembleAI.SpeechToTextListTranscriptQuestionsResponse200? Type264 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsPostResponsesContentApplicationJsonSchemaStatus? Type265 { get; set; } + public global::System.Collections.Generic.IList? Type265 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementCreateAudioEnhancementResponse202? Type266 { get; set; } + public global::ResembleAI.SpeechToTextUuidQuestionsQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type266 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequestBadRequestError? Type267 { get; set; } + public global::ResembleAI.SpeechToTextGetTranscriptQuestionResponse200? Type267 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequestForbiddenError? Type268 { get; set; } + public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type268 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus? Type269 { get; set; } + public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsEnhancementEngine? Type269 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementGetAudioEnhancementResponse200? Type270 { get; set; } + public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItems? Type270 { get; set; } /// /// /// - public global::ResembleAI.GetAudioEnhancementRequestNotFoundError? Type271 { get; set; } + public global::ResembleAI.AudioEnhancementListAudioEnhancementsResponse200? Type271 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type272 { get; set; } + public global::System.Collections.Generic.IList? Type272 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatus? Type273 { get; set; } + public global::ResembleAI.ListAudioEnhancementsRequestBadRequestError? Type273 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusTextToSpeech? Type274 { get; set; } + public global::ResembleAI.AudioEnhancementsPostRequestBodyContentMultipartFormDataSchemaEnhancementEngine? Type274 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusFill? Type275 { get; set; } + public global::ResembleAI.AudioEnhancementsPostResponsesContentApplicationJsonSchemaStatus? Type275 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusVoiceConversion? Type276 { get; set; } + public global::ResembleAI.AudioEnhancementCreateAudioEnhancementResponse202? Type276 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsApiSupport? Type277 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequestBadRequestError? Type277 { get; set; } /// /// /// - public global::ResembleAI.VoicesListVoicesResponse200? Type278 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequestForbiddenError? Type278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type279 { get; set; } + public global::ResembleAI.AudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus? Type279 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItem? Type280 { get; set; } + public global::ResembleAI.AudioEnhancementGetAudioEnhancementResponse200? Type280 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatus? Type281 { get; set; } + public global::ResembleAI.GetAudioEnhancementRequestNotFoundError? Type281 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type282 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type282 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type283 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatus? Type283 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type284 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusTextToSpeech? Type284 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemApiSupport? Type285 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusFill? Type285 { get; set; } /// /// /// - public global::ResembleAI.VoicesCreateVoiceResponse200? Type286 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusVoiceConversion? Type286 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItem? Type287 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsApiSupport? Type287 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatus? Type288 { get; set; } + public global::ResembleAI.VoicesListVoicesResponse200? Type288 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type289 { get; set; } + public global::System.Collections.Generic.IList? Type289 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type290 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItem? Type290 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type291 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatus? Type291 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemApiSupport? Type292 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type292 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetVoiceResponse200? Type293 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type293 { get; set; } /// /// /// - public global::ResembleAI.VoicesDeleteVoiceResponse200? Type294 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type294 { get; set; } /// /// /// - public global::ResembleAI.VoicesBuildVoiceResponse200? Type295 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemApiSupport? Type295 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? Type296 { get; set; } + public global::ResembleAI.VoicesCreateVoiceResponse200? Type296 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? Type297 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItem? Type297 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type298 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatus? Type298 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? Type299 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type299 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems? Type300 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type300 { get; set; } /// /// /// - public global::ResembleAI.RecordingsListRecordingsResponse200? Type301 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type302 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemApiSupport? Type302 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsPostResponsesContentApplicationJsonSchemaItem? Type303 { get; set; } + public global::ResembleAI.VoicesGetVoiceResponse200? Type303 { get; set; } /// /// /// - public global::ResembleAI.RecordingsCreateRecordingResponse200? Type304 { get; set; } + public global::ResembleAI.VoicesDeleteVoiceResponse200? Type304 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdGetResponsesContentApplicationJsonSchemaItem? Type305 { get; set; } + public global::ResembleAI.VoicesBuildVoiceResponse200? Type305 { get; set; } /// /// /// - public global::ResembleAI.RecordingsGetRecordingResponse200? Type306 { get; set; } + public global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? Type306 { get; set; } /// /// /// - public global::ResembleAI.RecordingsDeleteRecordingResponse200? Type307 { get; set; } + public global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? Type307 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdPatchResponsesContentApplicationJsonSchemaItem? Type308 { get; set; } + public global::System.Collections.Generic.IList? Type308 { get; set; } /// /// /// - public global::ResembleAI.RecordingsUpdateRecordingResponse200? Type309 { get; set; } + public global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? Type309 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsGetResponsesContentApplicationJsonSchemaItemsItems? Type310 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems? Type310 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsListTermSubstitutionsResponse200? Type311 { get; set; } + public global::ResembleAI.RecordingsListRecordingsResponse200? Type311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type312 { get; set; } + public global::System.Collections.Generic.IList? Type312 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsPostResponsesContentApplicationJsonSchemaItem? Type313 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsPostResponsesContentApplicationJsonSchemaItem? Type313 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsCreateTermSubstitutionResponse200? Type314 { get; set; } + public global::ResembleAI.RecordingsCreateRecordingResponse200? Type314 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsIdGetResponsesContentApplicationJsonSchemaItem? Type315 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdGetResponsesContentApplicationJsonSchemaItem? Type315 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsGetTermSubstitutionResponse200? Type316 { get; set; } + public global::ResembleAI.RecordingsGetRecordingResponse200? Type316 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsDeleteTermSubstitutionResponse200? Type317 { get; set; } + public global::ResembleAI.RecordingsDeleteRecordingResponse200? Type317 { get; set; } /// /// /// - public global::ResembleAI.PronunciationsGetParametersStatus? Type318 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdPatchResponsesContentApplicationJsonSchemaItem? Type318 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationStatus? Type319 { get; set; } + public global::ResembleAI.RecordingsUpdateRecordingResponse200? Type319 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciation? Type320 { get; set; } + public global::ResembleAI.TermSubstitutionsGetResponsesContentApplicationJsonSchemaItemsItems? Type320 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsListPronunciationsResponse200? Type321 { get; set; } + public global::ResembleAI.TermSubstitutionsListTermSubstitutionsResponse200? Type321 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type322 { get; set; } + public global::System.Collections.Generic.IList? Type322 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsCreatePronunciationResponse201? Type323 { get; set; } + public global::ResembleAI.TermSubstitutionsPostResponsesContentApplicationJsonSchemaItem? Type323 { get; set; } /// /// /// - public global::ResembleAI.PronunciationsBulkPostResponsesContentApplicationJsonSchemaErrorsItems? Type324 { get; set; } + public global::ResembleAI.TermSubstitutionsCreateTermSubstitutionResponse200? Type324 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsBulkCreatePronunciationsResponse201? Type325 { get; set; } + public global::ResembleAI.TermSubstitutionsIdGetResponsesContentApplicationJsonSchemaItem? Type325 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type326 { get; set; } + public global::ResembleAI.TermSubstitutionsGetTermSubstitutionResponse200? Type326 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsGetPronunciationResponse200? Type327 { get; set; } + public global::ResembleAI.TermSubstitutionsDeleteTermSubstitutionResponse200? Type327 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsDeletePronunciationResponse200? Type328 { get; set; } + public global::ResembleAI.PronunciationsGetParametersStatus? Type328 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsUpdatePronunciationResponse200? Type329 { get; set; } + public global::ResembleAI.CustomPronunciationStatus? Type329 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsGetResponsesContentApplicationJsonSchemaItemsItems? Type330 { get; set; } + public global::ResembleAI.CustomPronunciation? Type330 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsListVoiceSettingsPresetsResponse200? Type331 { get; set; } + public global::ResembleAI.CustomPronunciationsListPronunciationsResponse200? Type331 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type332 { get; set; } + public global::System.Collections.Generic.IList? Type332 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsPostResponsesContentApplicationJsonSchemaData? Type333 { get; set; } + public global::ResembleAI.CustomPronunciationsCreatePronunciationResponse201? Type333 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsCreateVoiceSettingsPresetResponse201? Type334 { get; set; } + public global::ResembleAI.PronunciationsBulkPostResponsesContentApplicationJsonSchemaErrorsItems? Type334 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUuidGetResponsesContentApplicationJsonSchemaData? Type335 { get; set; } + public global::ResembleAI.CustomPronunciationsBulkCreatePronunciationsResponse201? Type335 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsGetVoiceSettingsPresetResponse200? Type336 { get; set; } + public global::System.Collections.Generic.IList? Type336 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsDeleteVoiceSettingsPresetResponse200? Type337 { get; set; } + public global::ResembleAI.CustomPronunciationsGetPronunciationResponse200? Type337 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUuidPatchResponsesContentApplicationJsonSchemaData? Type338 { get; set; } + public global::ResembleAI.CustomPronunciationsDeletePronunciationResponse200? Type338 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUpdateVoiceSettingsPresetResponse200? Type339 { get; set; } + public global::ResembleAI.CustomPronunciationsUpdatePronunciationResponse200? Type339 { get; set; } /// /// /// - public global::ResembleAI.ProjectsGetResponsesContentApplicationJsonSchemaItemsItems? Type340 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsGetResponsesContentApplicationJsonSchemaItemsItems? Type340 { get; set; } /// /// /// - public global::ResembleAI.ProjectsListProjectsResponse200? Type341 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsListVoiceSettingsPresetsResponse200? Type341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type342 { get; set; } + public global::System.Collections.Generic.IList? Type342 { get; set; } /// /// /// - public global::ResembleAI.ProjectsPostResponsesContentApplicationJsonSchemaItem? Type343 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsPostResponsesContentApplicationJsonSchemaData? Type343 { get; set; } /// /// /// - public global::ResembleAI.ProjectsCreateProjectResponse200? Type344 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsCreateVoiceSettingsPresetResponse201? Type344 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidGetResponsesContentApplicationJsonSchemaItem? Type345 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUuidGetResponsesContentApplicationJsonSchemaData? Type345 { get; set; } /// /// /// - public global::ResembleAI.ProjectsGetProjectResponse200? Type346 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsGetVoiceSettingsPresetResponse200? Type346 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidPutResponsesContentApplicationJsonSchemaItem? Type347 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsDeleteVoiceSettingsPresetResponse200? Type347 { get; set; } /// /// /// - public global::ResembleAI.ProjectsUpdateProjectResponse200? Type348 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUuidPatchResponsesContentApplicationJsonSchemaData? Type348 { get; set; } /// /// /// - public global::ResembleAI.ProjectsDeleteProjectResponse200? Type349 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUpdateVoiceSettingsPresetResponse200? Type349 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsGetResponsesContentApplicationJsonSchemaItemsItems? Type350 { get; set; } + public global::ResembleAI.ProjectsGetResponsesContentApplicationJsonSchemaItemsItems? Type350 { get; set; } /// /// /// - public global::ResembleAI.ClipsListClipsResponse200? Type351 { get; set; } + public global::ResembleAI.ProjectsListProjectsResponse200? Type351 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type352 { get; set; } + public global::System.Collections.Generic.IList? Type352 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsClipUuidGetResponsesContentApplicationJsonSchemaItem? Type353 { get; set; } + public global::ResembleAI.ProjectsPostResponsesContentApplicationJsonSchemaItem? Type353 { get; set; } /// /// /// - public global::ResembleAI.ClipsGetClipResponse200? Type354 { get; set; } + public global::ResembleAI.ProjectsCreateProjectResponse200? Type354 { get; set; } /// /// /// - public global::ResembleAI.ClipsDeleteClipResponse200? Type355 { get; set; } + public global::ResembleAI.ProjectsProjectUuidGetResponsesContentApplicationJsonSchemaItem? Type355 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsClipUuidPatchResponsesContentApplicationJsonSchemaItem? Type356 { get; set; } + public global::ResembleAI.ProjectsGetProjectResponse200? Type356 { get; set; } /// /// /// - public global::ResembleAI.ClipsUpdateClipResponse200? Type357 { get; set; } + public global::ResembleAI.ProjectsProjectUuidPutResponsesContentApplicationJsonSchemaItem? Type357 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type358 { get; set; } + public global::ResembleAI.ProjectsUpdateProjectResponse200? Type358 { get; set; } /// /// /// - public global::ResembleAI.DuetsListDuetVoicesResponse200? Type359 { get; set; } + public global::ResembleAI.ProjectsDeleteProjectResponse200? Type359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type360 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsGetResponsesContentApplicationJsonSchemaItemsItems? Type360 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesPostResponsesContentApplicationJsonSchemaItem? Type361 { get; set; } + public global::ResembleAI.ClipsListClipsResponse200? Type361 { get; set; } /// /// /// - public global::ResembleAI.DuetsCreateDuetVoiceResponse200? Type362 { get; set; } + public global::System.Collections.Generic.IList? Type362 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesIdPutResponsesContentApplicationJsonSchemaItem? Type363 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsClipUuidGetResponsesContentApplicationJsonSchemaItem? Type363 { get; set; } /// /// /// - public global::ResembleAI.DuetsUpdateDuetVoiceResponse200? Type364 { get; set; } + public global::ResembleAI.ClipsGetClipResponse200? Type364 { get; set; } /// /// /// - public global::ResembleAI.DuetsDeleteDuetVoiceResponse200? Type365 { get; set; } + public global::ResembleAI.ClipsDeleteClipResponse200? Type365 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicePairsGetResponsesContentApplicationJsonSchemaItemsItems? Type366 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsClipUuidPatchResponsesContentApplicationJsonSchemaItem? Type366 { get; set; } /// /// /// - public global::ResembleAI.DuetsListDuetVoicePairsResponse200? Type367 { get; set; } + public global::ResembleAI.ClipsUpdateClipResponse200? Type367 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type368 { get; set; } + public global::ResembleAI.DuetVoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type368 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicePairsPostResponsesContentApplicationJsonSchemaItem? Type369 { get; set; } + public global::ResembleAI.DuetsListDuetVoicesResponse200? Type369 { get; set; } /// /// /// - public global::ResembleAI.DuetsCreateDuetVoicePairResponse200? Type370 { get; set; } + public global::System.Collections.Generic.IList? Type370 { get; set; } /// /// /// - public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeaker? Type371 { get; set; } + public global::ResembleAI.DuetVoicesPostResponsesContentApplicationJsonSchemaItem? Type371 { get; set; } /// /// /// - public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItems? Type372 { get; set; } + public global::ResembleAI.DuetsCreateDuetVoiceResponse200? Type372 { get; set; } /// /// /// - public global::ResembleAI.DuetPostResponsesContentApplicationJsonSchemaItem? Type373 { get; set; } + public global::ResembleAI.DuetVoicesIdPutResponsesContentApplicationJsonSchemaItem? Type373 { get; set; } /// /// /// - public global::ResembleAI.DuetsGenerateDuetResponse200? Type374 { get; set; } + public global::ResembleAI.DuetsUpdateDuetVoiceResponse200? Type374 { get; set; } /// /// /// - public global::ResembleAI.AccountGetResponsesContentApplicationJsonSchemaItem? Type375 { get; set; } + public global::ResembleAI.DuetsDeleteDuetVoiceResponse200? Type375 { get; set; } /// /// /// - public global::ResembleAI.AccountGetAccountResponse200? Type376 { get; set; } + public global::ResembleAI.DuetVoicePairsGetResponsesContentApplicationJsonSchemaItemsItems? Type376 { get; set; } /// /// /// - public global::ResembleAI.AccountTeamsGetResponsesContentApplicationJsonSchemaItemsItems? Type377 { get; set; } + public global::ResembleAI.DuetsListDuetVoicePairsResponse200? Type377 { get; set; } /// /// /// - public global::ResembleAI.AccountGetTeamsResponse200? Type378 { get; set; } + public global::System.Collections.Generic.IList? Type378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type379 { get; set; } + public global::ResembleAI.DuetVoicePairsPostResponsesContentApplicationJsonSchemaItem? Type379 { get; set; } /// /// /// - public global::ResembleAI.AccountTeamsTeamUuidGetResponsesContentApplicationJsonSchemaItem? Type380 { get; set; } + public global::ResembleAI.DuetsCreateDuetVoicePairResponse200? Type380 { get; set; } /// /// /// - public global::ResembleAI.AccountGetTeamResponse200? Type381 { get; set; } + public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeaker? Type381 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanPlanType? Type382 { get; set; } + public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItems? Type382 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanBillingInterval? Type383 { get; set; } + public global::ResembleAI.DuetPostResponsesContentApplicationJsonSchemaItem? Type383 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanFamily? Type384 { get; set; } + public global::ResembleAI.DuetsGenerateDuetResponse200? Type384 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanProductCategory? Type385 { get; set; } + public global::ResembleAI.AccountGetResponsesContentApplicationJsonSchemaItem? Type385 { get; set; } /// /// /// - public global::ResembleAI.BillingProductRateTier? Type386 { get; set; } + public global::ResembleAI.AccountGetAccountResponse200? Type386 { get; set; } /// /// /// - public global::ResembleAI.BillingProductFamily? Type387 { get; set; } + public global::ResembleAI.AccountTeamsGetResponsesContentApplicationJsonSchemaItemsItems? Type387 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanProduct? Type388 { get; set; } + public global::ResembleAI.AccountGetTeamsResponse200? Type388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type389 { get; set; } + public global::System.Collections.Generic.IList? Type389 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type390 { get; set; } + public global::ResembleAI.AccountTeamsTeamUuidGetResponsesContentApplicationJsonSchemaItem? Type390 { get; set; } /// /// /// - public global::ResembleAI.BillingPlan? Type391 { get; set; } + public global::ResembleAI.AccountGetTeamResponse200? Type391 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type392 { get; set; } + public global::ResembleAI.BillingPlanPlanType? Type392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type393 { get; set; } + public global::ResembleAI.BillingPlanBillingInterval? Type393 { get; set; } /// /// /// - public global::ResembleAI.BillingPlansResponse? Type394 { get; set; } + public global::ResembleAI.BillingPlanFamily? Type394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type395 { get; set; } + public global::ResembleAI.BillingPlanProductCategory? Type395 { get; set; } /// /// /// - public global::ResembleAI.BillingError? Type396 { get; set; } + public global::ResembleAI.BillingProductRateTier? Type396 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanResponse? Type397 { get; set; } + public global::ResembleAI.BillingProductFamily? Type397 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionStatus? Type398 { get; set; } + public global::ResembleAI.BillingPlanProduct? Type398 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionProductCategory? Type399 { get; set; } + public global::System.Collections.Generic.IList? Type399 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionProduct? Type400 { get; set; } + public global::ResembleAI.OneOf? Type400 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionPlanProduct? Type401 { get; set; } + public global::ResembleAI.BillingPlan? Type401 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionItem? Type402 { get; set; } + public global::ResembleAI.OneOf? Type402 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type403 { get; set; } + public global::System.Collections.Generic.IList? Type403 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscription? Type404 { get; set; } + public global::ResembleAI.BillingPlansResponse? Type404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type405 { get; set; } + public global::System.Collections.Generic.IList? Type405 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionResponse? Type406 { get; set; } + public global::ResembleAI.BillingError? Type406 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type407 { get; set; } + public global::ResembleAI.BillingPlanResponse? Type407 { get; set; } /// /// /// - public global::ResembleAI.BillingForbiddenError? Type408 { get; set; } + public global::ResembleAI.BillingSubscriptionStatus? Type408 { get; set; } /// /// /// - public global::ResembleAI.BillingProductQuantityChange? Type409 { get; set; } + public global::ResembleAI.BillingSubscriptionProductCategory? Type409 { get; set; } /// /// /// - public global::ResembleAI.BillingUpdateProductsRequest? Type410 { get; set; } + public global::ResembleAI.BillingSubscriptionProduct? Type410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type411 { get; set; } + public global::ResembleAI.BillingSubscriptionPlanProduct? Type411 { get; set; } /// /// /// - public global::ResembleAI.BillingPaymentActionRequired? Type412 { get; set; } + public global::ResembleAI.BillingSubscriptionItem? Type412 { get; set; } /// /// /// - public global::ResembleAI.BillingValidationErrors? Type413 { get; set; } + public global::ResembleAI.OneOf? Type413 { get; set; } /// /// /// - public global::ResembleAI.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError? Type414 { get; set; } + public global::ResembleAI.BillingSubscription? Type414 { get; set; } /// /// /// - public global::ResembleAI.BillingConfirmPaymentRequest? Type415 { get; set; } + public global::System.Collections.Generic.IList? Type415 { get; set; } /// /// /// - public global::ResembleAI.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError? Type416 { get; set; } + public global::ResembleAI.BillingSubscriptionResponse? Type416 { get; set; } /// /// /// - public global::ResembleAI.BillingChangePlanRequest? Type417 { get; set; } + public global::ResembleAI.OneOf? Type417 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type418 { get; set; } + public global::ResembleAI.BillingForbiddenError? Type418 { get; set; } /// /// /// - public global::ResembleAI.ChangeBillingPlanRequestUnprocessableEntityError? Type419 { get; set; } + public global::ResembleAI.BillingProductQuantityChange? Type419 { get; set; } /// /// /// - public global::ResembleAI.BillingWallet? Type420 { get; set; } + public global::ResembleAI.BillingUpdateProductsRequest? Type420 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletResponse? Type421 { get; set; } + public global::System.Collections.Generic.IList? Type421 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletTransactionTransactionType? Type422 { get; set; } + public global::ResembleAI.BillingPaymentActionRequired? Type422 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletTransaction? Type423 { get; set; } + public global::ResembleAI.BillingValidationErrors? Type423 { get; set; } /// /// /// - public global::ResembleAI.BillingPagination? Type424 { get; set; } + public global::ResembleAI.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError? Type424 { get; set; } /// /// /// - public global::ResembleAI.BillingTransactionsResponse? Type425 { get; set; } + public global::ResembleAI.BillingConfirmPaymentRequest? Type425 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type426 { get; set; } + public global::ResembleAI.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError? Type426 { get; set; } /// /// /// - public global::ResembleAI.BillingAutoReloadSetting? Type427 { get; set; } + public global::ResembleAI.BillingChangePlanRequest? Type427 { get; set; } /// /// /// - public global::ResembleAI.BillingAutoReloadResponse? Type428 { get; set; } + public global::System.Collections.Generic.Dictionary? Type428 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type429 { get; set; } + public global::ResembleAI.ChangeBillingPlanRequestUnprocessableEntityError? Type429 { get; set; } /// /// /// - public global::ResembleAI.BillingUpdateAutoReloadRequest? Type430 { get; set; } + public global::ResembleAI.BillingWallet? Type430 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletUpdateBillingAutoReloadResponse200? Type431 { get; set; } + public global::ResembleAI.BillingWalletResponse? Type431 { get; set; } /// /// /// - public global::ResembleAI.UpdateBillingAutoReloadRequestUnprocessableEntityError? Type432 { get; set; } + public global::ResembleAI.BillingWalletTransactionTransactionType? Type432 { get; set; } /// /// /// - public global::ResembleAI.AccountBillingUsageGetResponsesContentApplicationJsonSchemaItem? Type433 { get; set; } + public global::ResembleAI.BillingWalletTransaction? Type433 { get; set; } /// /// /// - public global::ResembleAI.AccountGetBillingUsageResponse200? Type434 { get; set; } + public global::ResembleAI.BillingPagination? Type434 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectionRequest? Type435 { get; set; } + public global::ResembleAI.BillingTransactionsResponse? Type435 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectBatchRequest? Type436 { get; set; } + public global::System.Collections.Generic.IList? Type436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type437 { get; set; } + public global::ResembleAI.BillingAutoReloadSetting? Type437 { get; set; } /// /// /// - public global::ResembleAI.RunDetectAgentInvestigationRequest? Type438 { get; set; } + public global::ResembleAI.BillingAutoReloadResponse? Type438 { get; set; } /// /// /// - public global::ResembleAI.RunIntelligenceRequest? Type439 { get; set; } + public global::ResembleAI.OneOf? Type439 { get; set; } /// /// /// - public global::ResembleAI.AskDetectIntelligenceQuestionRequest? Type440 { get; set; } + public global::ResembleAI.BillingUpdateAutoReloadRequest? Type440 { get; set; } /// /// /// - public global::ResembleAI.CreateIdentityAttachmentRequest? Type441 { get; set; } + public global::ResembleAI.BillingWalletUpdateBillingAutoReloadResponse200? Type441 { get; set; } /// /// /// - public global::ResembleAI.SearchIdentitiesRequest? Type442 { get; set; } + public global::ResembleAI.UpdateBillingAutoReloadRequestUnprocessableEntityError? Type442 { get; set; } /// /// /// - public global::ResembleAI.CreateSignalSubmissionRequest? Type443 { get; set; } + public global::ResembleAI.AccountBillingUsageGetResponsesContentApplicationJsonSchemaItem? Type443 { get; set; } /// /// /// - public global::ResembleAI.CreateSecureUploadRequest? Type444 { get; set; } + public global::ResembleAI.AccountGetBillingUsageResponse200? Type444 { get; set; } /// /// /// - public global::ResembleAI.SynthesizeRequest? Type445 { get; set; } + public global::ResembleAI.CreateDetectionRequest? Type445 { get; set; } /// /// /// - public global::ResembleAI.StreamSynthesizeRequest? Type446 { get; set; } + public global::ResembleAI.CreateDetectBatchRequest? Type446 { get; set; } /// /// /// - public global::ResembleAI.CreateTranscriptRequest? Type447 { get; set; } + public global::System.Collections.Generic.IList? Type447 { get; set; } /// /// /// - public global::ResembleAI.AskTranscriptQuestionRequest? Type448 { get; set; } + public global::ResembleAI.CreateDetectFeedbackRequest? Type448 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequest? Type449 { get; set; } + public global::ResembleAI.RunDetectAgentInvestigationRequest? Type449 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceRequest? Type450 { get; set; } + public global::ResembleAI.RunIntelligenceRequest? Type450 { get; set; } /// /// /// - public global::ResembleAI.BuildVoiceRequest? Type451 { get; set; } + public global::ResembleAI.AskDetectIntelligenceQuestionRequest? Type451 { get; set; } /// /// /// - public global::ResembleAI.GenerateVoiceDesignRequest? Type452 { get; set; } + public global::ResembleAI.CreateIdentityAttachmentRequest? Type452 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceFromCandidateRequest? Type453 { get; set; } + public global::ResembleAI.SearchIdentitiesRequest? Type453 { get; set; } /// /// /// - public global::ResembleAI.CreateRecordingRequest? Type454 { get; set; } + public global::ResembleAI.CreateSignalSubmissionRequest? Type454 { get; set; } /// /// /// - public global::ResembleAI.UpdateRecordingRequest? Type455 { get; set; } + public global::ResembleAI.CreateSecureUploadRequest? Type455 { get; set; } /// /// /// - public global::ResembleAI.CreateTermSubstitutionRequest? Type456 { get; set; } + public global::ResembleAI.SynthesizeRequest? Type456 { get; set; } /// /// /// - public global::ResembleAI.CreatePronunciationRequest? Type457 { get; set; } + public global::ResembleAI.StreamSynthesizeRequest? Type457 { get; set; } /// /// /// - public global::ResembleAI.BulkCreatePronunciationsRequest? Type458 { get; set; } + public global::ResembleAI.CreateTranscriptRequest? Type458 { get; set; } /// /// /// - public global::ResembleAI.UpdatePronunciationRequest? Type459 { get; set; } + public global::ResembleAI.AskTranscriptQuestionRequest? Type459 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceSettingsPresetRequest? Type460 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequest? Type460 { get; set; } /// /// /// - public global::ResembleAI.UpdateVoiceSettingsPresetRequest? Type461 { get; set; } + public global::ResembleAI.CreateVoiceRequest? Type461 { get; set; } /// /// /// - public global::ResembleAI.CreateProjectRequest? Type462 { get; set; } + public global::ResembleAI.BuildVoiceRequest? Type462 { get; set; } /// /// /// - public global::ResembleAI.UpdateProjectRequest? Type463 { get; set; } + public global::ResembleAI.GenerateVoiceDesignRequest? Type463 { get; set; } /// /// /// - public global::ResembleAI.UpdateClipRequest? Type464 { get; set; } + public global::ResembleAI.CreateVoiceFromCandidateRequest? Type464 { get; set; } /// /// /// - public global::ResembleAI.CreateDuetVoiceRequest? Type465 { get; set; } + public global::ResembleAI.CreateRecordingRequest? Type465 { get; set; } /// /// /// - public global::ResembleAI.UpdateDuetVoiceRequest? Type466 { get; set; } + public global::ResembleAI.UpdateRecordingRequest? Type466 { get; set; } /// /// /// - public global::ResembleAI.CreateDuetVoicePairRequest? Type467 { get; set; } + public global::ResembleAI.CreateTermSubstitutionRequest? Type467 { get; set; } /// /// /// - public global::ResembleAI.GenerateDuetRequest? Type468 { get; set; } + public global::ResembleAI.CreatePronunciationRequest? Type468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type469 { get; set; } + public global::ResembleAI.BulkCreatePronunciationsRequest? Type469 { get; set; } + /// + /// + /// + public global::ResembleAI.UpdatePronunciationRequest? Type470 { get; set; } + /// + /// + /// + public global::ResembleAI.CreateVoiceSettingsPresetRequest? Type471 { get; set; } + /// + /// + /// + public global::ResembleAI.UpdateVoiceSettingsPresetRequest? Type472 { get; set; } + /// + /// + /// + public global::ResembleAI.CreateProjectRequest? Type473 { get; set; } + /// + /// + /// + public global::ResembleAI.UpdateProjectRequest? Type474 { get; set; } + /// + /// + /// + public global::ResembleAI.UpdateClipRequest? Type475 { get; set; } + /// + /// + /// + public global::ResembleAI.CreateDuetVoiceRequest? Type476 { get; set; } + /// + /// + /// + public global::ResembleAI.UpdateDuetVoiceRequest? Type477 { get; set; } + /// + /// + /// + public global::ResembleAI.CreateDuetVoicePairRequest? Type478 { get; set; } + /// + /// + /// + public global::ResembleAI.GenerateDuetRequest? Type479 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type480 { get; set; } /// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectFeedbackRequest.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectFeedbackRequest.Json.g.cs new file mode 100644 index 0000000..06bd81b --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectFeedbackRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class CreateDetectFeedbackRequest + { + /// + /// 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::ResembleAI.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::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ResembleAI.CreateDetectFeedbackRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.CreateDetectFeedbackRequest), + jsonSerializerContext) as global::ResembleAI.CreateDetectFeedbackRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.CreateDetectFeedbackRequest? FromJson( + string json) + { + return FromJson( + json, + global::ResembleAI.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::ResembleAI.CreateDetectFeedbackRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ResembleAI.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::ResembleAI.CreateDetectFeedbackRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.CreateDetectFeedbackRequest; + } + + /// + /// 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::ResembleAI.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::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectFeedbackRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectFeedbackRequest.g.cs new file mode 100644 index 0000000..da87582 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectFeedbackRequest.g.cs @@ -0,0 +1,88 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// + /// + public sealed partial class CreateDetectFeedbackRequest + { + /// + /// What the verdict should have been.
+ /// - `correct` — the verdict was right.
+ /// - `should_be_ai_generated` — we said authentic; it is AI-generated.
+ /// - `should_be_authentic` — we said AI-generated; it is genuine and unaltered.
+ /// - `should_be_non_ai` — no model generated it, but it may still be edited, spliced, or a human impersonation.
+ /// - `should_be_neutral` — neither call is right; the media is genuinely ambiguous.
+ /// - `skipped` — the verdict was wrong, but the reviewer didn't say how. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType Type { get; set; } + + /// + /// Free text, up to 1000 characters. Trimmed; blank becomes `null`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comment")] + public string? Comment { get; set; } + + /// + /// Where the answer came from. Use a stable, aggregatable value such as a product
+ /// or queue name — not a per-request identifier. Truncated to 64 characters
+ /// rather than rejected.
+ /// Default Value: api + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("source")] + public string? Source { 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. + /// + /// + /// What the verdict should have been.
+ /// - `correct` — the verdict was right.
+ /// - `should_be_ai_generated` — we said authentic; it is AI-generated.
+ /// - `should_be_authentic` — we said AI-generated; it is genuine and unaltered.
+ /// - `should_be_non_ai` — no model generated it, but it may still be edited, spliced, or a human impersonation.
+ /// - `should_be_neutral` — neither call is right; the media is genuinely ambiguous.
+ /// - `skipped` — the verdict was wrong, but the reviewer didn't say how. + /// + /// + /// Free text, up to 1000 characters. Trimmed; blank becomes `null`. + /// + /// + /// Where the answer came from. Use a stable, aggregatable value such as a product
+ /// or queue name — not a per-request identifier. Truncated to 64 characters
+ /// rather than rejected.
+ /// Default Value: api + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateDetectFeedbackRequest( + global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType type, + string? comment, + string? source) + { + this.Type = type; + this.Comment = comment; + this.Source = source; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateDetectFeedbackRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionCreateDetectFeedbackResponse200.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionCreateDetectFeedbackResponse200.Json.g.cs new file mode 100644 index 0000000..7ea72f2 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionCreateDetectFeedbackResponse200.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DeepfakeDetectionCreateDetectFeedbackResponse200 + { + /// + /// 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::ResembleAI.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::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200), + jsonSerializerContext) as global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200? FromJson( + string json) + { + return FromJson( + json, + global::ResembleAI.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::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ResembleAI.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::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200; + } + + /// + /// 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::ResembleAI.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::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionCreateDetectFeedbackResponse200.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionCreateDetectFeedbackResponse200.g.cs new file mode 100644 index 0000000..317f1ba --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionCreateDetectFeedbackResponse200.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// + /// + public sealed partial class DeepfakeDetectionCreateDetectFeedbackResponse200 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("success")] + public bool? Success { get; set; } + + /// + /// A reviewer's answer about a detection verdict, stored with a snapshot of what the
+ /// model said at the time the answer was submitted. Returned by
+ /// `POST /detect/{uuid}/feedback` and `GET /detect/{uuid}/feedback`. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("item")] + public global::ResembleAI.DetectFeedback? Item { 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. + /// + /// + /// + /// A reviewer's answer about a detection verdict, stored with a snapshot of what the
+ /// model said at the time the answer was submitted. Returned by
+ /// `POST /detect/{uuid}/feedback` and `GET /detect/{uuid}/feedback`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DeepfakeDetectionCreateDetectFeedbackResponse200( + bool? success, + global::ResembleAI.DetectFeedback? item) + { + this.Success = success; + this.Item = item; + } + + /// + /// Initializes a new instance of the class. + /// + public DeepfakeDetectionCreateDetectFeedbackResponse200() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionDeleteDetectFeedbackResponse200.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionDeleteDetectFeedbackResponse200.Json.g.cs new file mode 100644 index 0000000..330d1d9 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionDeleteDetectFeedbackResponse200.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DeepfakeDetectionDeleteDetectFeedbackResponse200 + { + /// + /// 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::ResembleAI.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::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200), + jsonSerializerContext) as global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200? FromJson( + string json) + { + return FromJson( + json, + global::ResembleAI.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::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ResembleAI.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::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200; + } + + /// + /// 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::ResembleAI.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::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionDeleteDetectFeedbackResponse200.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionDeleteDetectFeedbackResponse200.g.cs new file mode 100644 index 0000000..c68fd39 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionDeleteDetectFeedbackResponse200.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// + /// + public sealed partial class DeepfakeDetectionDeleteDetectFeedbackResponse200 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("success")] + public bool? Success { 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 DeepfakeDetectionDeleteDetectFeedbackResponse200( + bool? success) + { + this.Success = success; + } + + /// + /// Initializes a new instance of the class. + /// + public DeepfakeDetectionDeleteDetectFeedbackResponse200() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionGetDetectFeedbackResponse200.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionGetDetectFeedbackResponse200.Json.g.cs new file mode 100644 index 0000000..9a233e0 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionGetDetectFeedbackResponse200.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DeepfakeDetectionGetDetectFeedbackResponse200 + { + /// + /// 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::ResembleAI.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::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200), + jsonSerializerContext) as global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200? FromJson( + string json) + { + return FromJson( + json, + global::ResembleAI.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::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ResembleAI.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::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200; + } + + /// + /// 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::ResembleAI.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::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionGetDetectFeedbackResponse200.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionGetDetectFeedbackResponse200.g.cs new file mode 100644 index 0000000..e0bb64e --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DeepfakeDetectionGetDetectFeedbackResponse200.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// + /// + public sealed partial class DeepfakeDetectionGetDetectFeedbackResponse200 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("success")] + public bool? Success { get; set; } + + /// + /// A reviewer's answer about a detection verdict, stored with a snapshot of what the
+ /// model said at the time the answer was submitted. Returned by
+ /// `POST /detect/{uuid}/feedback` and `GET /detect/{uuid}/feedback`. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("item")] + public global::ResembleAI.DetectFeedback? Item { 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. + /// + /// + /// + /// A reviewer's answer about a detection verdict, stored with a snapshot of what the
+ /// model said at the time the answer was submitted. Returned by
+ /// `POST /detect/{uuid}/feedback` and `GET /detect/{uuid}/feedback`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DeepfakeDetectionGetDetectFeedbackResponse200( + bool? success, + global::ResembleAI.DetectFeedback? item) + { + this.Success = success; + this.Item = item; + } + + /// + /// Initializes a new instance of the class. + /// + public DeepfakeDetectionGetDetectFeedbackResponse200() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedback.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedback.Json.g.cs new file mode 100644 index 0000000..f121cdf --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedback.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DetectFeedback + { + /// + /// 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::ResembleAI.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::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ResembleAI.DetectFeedback? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectFeedback), + jsonSerializerContext) as global::ResembleAI.DetectFeedback; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectFeedback? FromJson( + string json) + { + return FromJson( + json, + global::ResembleAI.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::ResembleAI.DetectFeedback? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ResembleAI.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::ResembleAI.DetectFeedback), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectFeedback; + } + + /// + /// 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::ResembleAI.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::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedback.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedback.g.cs new file mode 100644 index 0000000..cdf332a --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedback.g.cs @@ -0,0 +1,166 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// A reviewer's answer about a detection verdict, stored with a snapshot of what the
+ /// model said at the time the answer was submitted. Returned by
+ /// `POST /detect/{uuid}/feedback` and `GET /detect/{uuid}/feedback`. + ///
+ public sealed partial class DetectFeedback + { + /// + /// The detect this answer is attached to. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("detect_uuid")] + public string? DetectUuid { get; set; } + + /// + /// What the verdict should have been. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectFeedbackTypeJsonConverter))] + public global::ResembleAI.DetectFeedbackType? Type { get; set; } + + /// + /// Derived from `type` — `correct` is `up`, everything else is `down`. Never independent of `type`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vote")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectFeedbackVoteJsonConverter))] + public global::ResembleAI.DetectFeedbackVote? Vote { get; set; } + + /// + /// What the model said, snapshotted when the feedback was submitted. `null` when the
+ /// detection landed somewhere indeterminate. `should_be_neutral` and `should_be_non_ai`
+ /// have no counterpart here — this field records only the two decided model outcomes. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("verdict")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter))] + public global::ResembleAI.OneOf? Verdict { get; set; } + + /// + /// The model's headline confidence, 0.0–1.0, or `null`. For video, the higher of the
+ /// audio and video confidences. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("score")] + public double? Score { get; set; } + + /// + /// Media type of the detect. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("media_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectFeedbackMediaTypeJsonConverter))] + public global::ResembleAI.DetectFeedbackMediaType? MediaType { get; set; } + + /// + /// The reviewer's free-text comment, or `null`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comment")] + public string? Comment { get; set; } + + /// + /// Credits awarded for this answer. Written by Resemble, never by the submitter; `0` on a fresh row. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("credit")] + public int? Credit { get; set; } + + /// + /// Attribution string recorded for this answer. Defaults to `api`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source")] + public string? Source { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public global::System.DateTime? CreatedAt { get; set; } + + /// + /// Moves when the answer is revised; `created_at` does not. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public global::System.DateTime? UpdatedAt { 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. + /// + /// + /// The detect this answer is attached to. + /// + /// + /// What the verdict should have been. + /// + /// + /// Derived from `type` — `correct` is `up`, everything else is `down`. Never independent of `type`. + /// + /// + /// What the model said, snapshotted when the feedback was submitted. `null` when the
+ /// detection landed somewhere indeterminate. `should_be_neutral` and `should_be_non_ai`
+ /// have no counterpart here — this field records only the two decided model outcomes. + /// + /// + /// The model's headline confidence, 0.0–1.0, or `null`. For video, the higher of the
+ /// audio and video confidences. + /// + /// + /// Media type of the detect. + /// + /// + /// The reviewer's free-text comment, or `null`. + /// + /// + /// Credits awarded for this answer. Written by Resemble, never by the submitter; `0` on a fresh row. + /// + /// + /// Attribution string recorded for this answer. Defaults to `api`. + /// + /// + /// + /// Moves when the answer is revised; `created_at` does not. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DetectFeedback( + string? detectUuid, + global::ResembleAI.DetectFeedbackType? type, + global::ResembleAI.DetectFeedbackVote? vote, + global::ResembleAI.OneOf? verdict, + double? score, + global::ResembleAI.DetectFeedbackMediaType? mediaType, + string? comment, + int? credit, + string? source, + global::System.DateTime? createdAt, + global::System.DateTime? updatedAt) + { + this.DetectUuid = detectUuid; + this.Type = type; + this.Vote = vote; + this.Verdict = verdict; + this.Score = score; + this.MediaType = mediaType; + this.Comment = comment; + this.Credit = credit; + this.Source = source; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + } + + /// + /// Initializes a new instance of the class. + /// + public DetectFeedback() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackMediaType.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackMediaType.g.cs new file mode 100644 index 0000000..c173626 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackMediaType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Media type of the detect. + /// + public enum DetectFeedbackMediaType + { + /// + /// + /// + Audio, + /// + /// + /// + Image, + /// + /// + /// + Text, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectFeedbackMediaTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectFeedbackMediaType value) + { + return value switch + { + DetectFeedbackMediaType.Audio => "audio", + DetectFeedbackMediaType.Image => "image", + DetectFeedbackMediaType.Text => "text", + DetectFeedbackMediaType.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectFeedbackMediaType? ToEnum(string value) + { + return value switch + { + "audio" => DetectFeedbackMediaType.Audio, + "image" => DetectFeedbackMediaType.Image, + "text" => DetectFeedbackMediaType.Text, + "video" => DetectFeedbackMediaType.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackType.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackType.g.cs new file mode 100644 index 0000000..4928582 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackType.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// What the verdict should have been. + /// + public enum DetectFeedbackType + { + /// + /// + /// + Correct, + /// + /// + /// + ShouldBeAiGenerated, + /// + /// + /// + ShouldBeAuthentic, + /// + /// + /// + ShouldBeNeutral, + /// + /// + /// + ShouldBeNonAi, + /// + /// + /// + Skipped, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectFeedbackTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectFeedbackType value) + { + return value switch + { + DetectFeedbackType.Correct => "correct", + DetectFeedbackType.ShouldBeAiGenerated => "should_be_ai_generated", + DetectFeedbackType.ShouldBeAuthentic => "should_be_authentic", + DetectFeedbackType.ShouldBeNeutral => "should_be_neutral", + DetectFeedbackType.ShouldBeNonAi => "should_be_non_ai", + DetectFeedbackType.Skipped => "skipped", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectFeedbackType? ToEnum(string value) + { + return value switch + { + "correct" => DetectFeedbackType.Correct, + "should_be_ai_generated" => DetectFeedbackType.ShouldBeAiGenerated, + "should_be_authentic" => DetectFeedbackType.ShouldBeAuthentic, + "should_be_neutral" => DetectFeedbackType.ShouldBeNeutral, + "should_be_non_ai" => DetectFeedbackType.ShouldBeNonAi, + "skipped" => DetectFeedbackType.Skipped, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackVerdict.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackVerdict.g.cs new file mode 100644 index 0000000..15c37a0 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackVerdict.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// What the model said, snapshotted when the feedback was submitted. `null` when the
+ /// detection landed somewhere indeterminate. `should_be_neutral` and `should_be_non_ai`
+ /// have no counterpart here — this field records only the two decided model outcomes. + ///
+ public enum DetectFeedbackVerdict + { + /// + /// + /// + AiGenerated, + /// + /// + /// + Authentic, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectFeedbackVerdictExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectFeedbackVerdict value) + { + return value switch + { + DetectFeedbackVerdict.AiGenerated => "ai_generated", + DetectFeedbackVerdict.Authentic => "authentic", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectFeedbackVerdict? ToEnum(string value) + { + return value switch + { + "ai_generated" => DetectFeedbackVerdict.AiGenerated, + "authentic" => DetectFeedbackVerdict.Authentic, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackVote.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackVote.g.cs new file mode 100644 index 0000000..62b32ed --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectFeedbackVote.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Derived from `type` — `correct` is `up`, everything else is `down`. Never independent of `type`. + /// + public enum DetectFeedbackVote + { + /// + /// + /// + Down, + /// + /// + /// + Up, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectFeedbackVoteExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectFeedbackVote value) + { + return value switch + { + DetectFeedbackVote.Down => "down", + DetectFeedbackVote.Up => "up", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectFeedbackVote? ToEnum(string value) + { + return value switch + { + "down" => DetectFeedbackVote.Down, + "up" => DetectFeedbackVote.Up, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.g.cs new file mode 100644 index 0000000..0fc7a86 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// What the verdict should have been.
+ /// - `correct` — the verdict was right.
+ /// - `should_be_ai_generated` — we said authentic; it is AI-generated.
+ /// - `should_be_authentic` — we said AI-generated; it is genuine and unaltered.
+ /// - `should_be_non_ai` — no model generated it, but it may still be edited, spliced, or a human impersonation.
+ /// - `should_be_neutral` — neither call is right; the media is genuinely ambiguous.
+ /// - `skipped` — the verdict was wrong, but the reviewer didn't say how. + ///
+ public enum DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType + { + /// + /// + /// + Correct, + /// + /// + /// + ShouldBeAiGenerated, + /// + /// + /// + ShouldBeAuthentic, + /// + /// + /// + ShouldBeNeutral, + /// + /// + /// + ShouldBeNonAi, + /// + /// + /// + Skipped, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType value) + { + return value switch + { + DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.Correct => "correct", + DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.ShouldBeAiGenerated => "should_be_ai_generated", + DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.ShouldBeAuthentic => "should_be_authentic", + DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.ShouldBeNeutral => "should_be_neutral", + DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.ShouldBeNonAi => "should_be_non_ai", + DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.Skipped => "skipped", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType? ToEnum(string value) + { + return value switch + { + "correct" => DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.Correct, + "should_be_ai_generated" => DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.ShouldBeAiGenerated, + "should_be_authentic" => DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.ShouldBeAuthentic, + "should_be_neutral" => DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.ShouldBeNeutral, + "should_be_non_ai" => DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.ShouldBeNonAi, + "skipped" => DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType.Skipped, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/openapi.yaml b/src/libs/ResembleAI/openapi.yaml index 8887170..52c7c58 100644 --- a/src/libs/ResembleAI/openapi.yaml +++ b/src/libs/ResembleAI/openapi.yaml @@ -468,6 +468,200 @@ } ] }, + "/detect/{uuid}/feedback": { + "get": { + "operationId": "get-detect-feedback", + "summary": "Get detection feedback", + "description": "Retrieve your own feedback for a detect. Returns 404 when *you* haven't answered this\ndetect, even if the detect exists and a teammate has answered it.\n", + "tags": [ + "deepfakeDetection" + ], + "parameters": [ + { + "name": "uuid", + "in": "path", + "description": "UUID of the detect.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "Authorization", + "in": "header", + "description": "API key from https://app.resemble.ai/hub/api", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Feedback", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Deepfake Detection_getDetectFeedback_Response_200" + } + } + } + }, + "404": { + "description": "No such detect for the authenticated team, or you have not left feedback on it.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "operationId": "create-detect-feedback", + "summary": "Submit detection feedback", + "description": "Tell Resemble whether a detection verdict was right — and when it wasn't, what it\nshould have been. The answer is stored with a snapshot of what the model said at the\ntime of submission (verdict, score, media type, raw metrics), so it stays interpretable\neven if the detect is later re-run or deleted.\n\nUpserts on `(detect, user)`: re-posting edits your existing answer rather than adding a\nsecond one. There is no separate update call. Feedback is per user, not per team — a\nteammate's answer on the same detect is invisible to you.\n\nThe detect must have completed processing; feedback on a pending or failed detect is\nrejected with 400. Teams without Detect access also receive 400 (not 403).\n", + "tags": [ + "deepfakeDetection" + ], + "parameters": [ + { + "name": "uuid", + "in": "path", + "description": "UUID of the completed detect.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "Authorization", + "in": "header", + "description": "API key from https://app.resemble.ai/hub/api", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Feedback recorded", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Deepfake Detection_createDetectFeedback_Response_200" + } + } + } + }, + "400": { + "description": "Unknown or missing `type`, `comment` over 1000 characters, the detect has not completed processing, or the team does not have Detect access.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "No such detect for the authenticated team.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType", + "description": "What the verdict should have been.\n - `correct` — the verdict was right.\n - `should_be_ai_generated` — we said authentic; it is AI-generated.\n - `should_be_authentic` — we said AI-generated; it is genuine and unaltered.\n - `should_be_non_ai` — no model generated it, but it may still be edited, spliced, or a human impersonation.\n - `should_be_neutral` — neither call is right; the media is genuinely ambiguous.\n - `skipped` — the verdict was wrong, but the reviewer didn't say how.\n" + }, + "comment": { + "type": "string", + "description": "Free text, up to 1000 characters. Trimmed; blank becomes `null`." + }, + "source": { + "type": "string", + "default": "api", + "description": "Where the answer came from. Use a stable, aggregatable value such as a product\nor queue name — not a per-request identifier. Truncated to 64 characters\nrather than rejected.\n" + } + }, + "required": [ + "type" + ] + } + } + } + } + }, + "delete": { + "operationId": "delete-detect-feedback", + "summary": "Delete detection feedback", + "description": "Retract your own feedback. Idempotent — returns 200 whether or not a row existed. Only\nyour row is removed; a teammate's answer on the same detect is untouched. Works even on\na detect that later failed.\n", + "tags": [ + "deepfakeDetection" + ], + "parameters": [ + { + "name": "uuid", + "in": "path", + "description": "UUID of the detect.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "Authorization", + "in": "header", + "description": "API key from https://app.resemble.ai/hub/api", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Feedback retracted (or none existed)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Deepfake Detection_deleteDetectFeedback_Response_200" + } + } + } + }, + "404": { + "description": "No such detect for the authenticated team.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "servers": [ + { + "url": "https://app.resemble.ai/api/v2" + } + ] + }, "/agents": { "get": { "operationId": "list-detect-agents", @@ -8031,6 +8225,160 @@ }, "title": "Deepfake Detection_getDetectBatch_Response_200" }, + "DetectFeedbackType": { + "type": "string", + "enum": [ + "correct", + "should_be_ai_generated", + "should_be_authentic", + "should_be_non_ai", + "should_be_neutral", + "skipped" + ], + "description": "What the verdict should have been.", + "title": "DetectFeedbackType" + }, + "DetectFeedbackVote": { + "type": "string", + "enum": [ + "up", + "down" + ], + "description": "Derived from `type` — `correct` is `up`, everything else is `down`. Never independent of `type`.", + "title": "DetectFeedbackVote" + }, + "DetectFeedbackVerdict": { + "type": "string", + "enum": [ + "ai_generated", + "authentic" + ], + "description": "What the model said, snapshotted when the feedback was submitted. `null` when the\ndetection landed somewhere indeterminate. `should_be_neutral` and `should_be_non_ai`\nhave no counterpart here — this field records only the two decided model outcomes.\n", + "title": "DetectFeedbackVerdict" + }, + "DetectFeedbackMediaType": { + "type": "string", + "enum": [ + "audio", + "video", + "image", + "text" + ], + "description": "Media type of the detect.", + "title": "DetectFeedbackMediaType" + }, + "DetectFeedback": { + "type": "object", + "properties": { + "detect_uuid": { + "type": "string", + "description": "The detect this answer is attached to." + }, + "type": { + "$ref": "#/components/schemas/DetectFeedbackType", + "description": "What the verdict should have been." + }, + "vote": { + "$ref": "#/components/schemas/DetectFeedbackVote", + "description": "Derived from `type` — `correct` is `up`, everything else is `down`. Never independent of `type`." + }, + "verdict": { + "oneOf": [ + { + "$ref": "#/components/schemas/DetectFeedbackVerdict" + }, + { + "type": "null" + } + ], + "description": "What the model said, snapshotted when the feedback was submitted. `null` when the\ndetection landed somewhere indeterminate. `should_be_neutral` and `should_be_non_ai`\nhave no counterpart here — this field records only the two decided model outcomes.\n" + }, + "score": { + "type": [ + "number", + "null" + ], + "format": "double", + "description": "The model's headline confidence, 0.0–1.0, or `null`. For video, the higher of the\naudio and video confidences.\n" + }, + "media_type": { + "$ref": "#/components/schemas/DetectFeedbackMediaType", + "description": "Media type of the detect." + }, + "comment": { + "type": [ + "string", + "null" + ], + "description": "The reviewer's free-text comment, or `null`." + }, + "credit": { + "type": "integer", + "description": "Credits awarded for this answer. Written by Resemble, never by the submitter; `0` on a fresh row." + }, + "source": { + "type": "string", + "description": "Attribution string recorded for this answer. Defaults to `api`." + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "Moves when the answer is revised; `created_at` does not." + } + }, + "description": "A reviewer's answer about a detection verdict, stored with a snapshot of what the\nmodel said at the time the answer was submitted. Returned by\n`POST /detect/{uuid}/feedback` and `GET /detect/{uuid}/feedback`.\n", + "title": "DetectFeedback" + }, + "Deepfake Detection_getDetectFeedback_Response_200": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "item": { + "$ref": "#/components/schemas/DetectFeedback" + } + }, + "title": "Deepfake Detection_getDetectFeedback_Response_200" + }, + "DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType": { + "type": "string", + "enum": [ + "correct", + "should_be_ai_generated", + "should_be_authentic", + "should_be_non_ai", + "should_be_neutral", + "skipped" + ], + "description": "What the verdict should have been.\n - `correct` — the verdict was right.\n - `should_be_ai_generated` — we said authentic; it is AI-generated.\n - `should_be_authentic` — we said AI-generated; it is genuine and unaltered.\n - `should_be_non_ai` — no model generated it, but it may still be edited, spliced, or a human impersonation.\n - `should_be_neutral` — neither call is right; the media is genuinely ambiguous.\n - `skipped` — the verdict was wrong, but the reviewer didn't say how.\n", + "title": "DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType" + }, + "Deepfake Detection_createDetectFeedback_Response_200": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "item": { + "$ref": "#/components/schemas/DetectFeedback" + } + }, + "title": "Deepfake Detection_createDetectFeedback_Response_200" + }, + "Deepfake Detection_deleteDetectFeedback_Response_200": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "title": "Deepfake Detection_deleteDetectFeedback_Response_200" + }, "DetectAgentTier": { "type": "string", "enum": [