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