diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectBatch.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectBatch.g.cs index 91cb90c..a843610 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectBatch.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectBatch.g.cs @@ -65,6 +65,7 @@ partial void ProcessCreateDetectBatchResponseContent( /// - Maximum 50 files per batch.
/// - Maximum 500 MB total upload size across all files.
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.
+ /// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost
/// for every file, the request is rejected with 402 and no detects are created. /// @@ -103,6 +104,7 @@ partial void ProcessCreateDetectBatchResponseContent( /// - Maximum 50 files per batch.
/// - Maximum 500 MB total upload size across all files.
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.
+ /// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost
/// for every file, the request is rejected with 402 and no detects are created. /// @@ -540,7 +542,7 @@ request.Filename is null retryReason: global::System.String.Empty, cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); } - // Invalid batch request (missing files, both file and files[] supplied, file count or size exceeded, unsupported file type, or `Prefer: wait` header sent) + // Invalid batch request (missing files, both file and files[] supplied, file count or size exceeded, unsupported file type, `Prefer: wait` header sent, or `detect_watermark=true`) if ((int)__response.StatusCode == 400) { string? __content_400 = null; @@ -763,6 +765,7 @@ request.Filename is null /// - Maximum 50 files per batch.
/// - Maximum 500 MB total upload size across all files.
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.
+ /// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost
/// for every file, the request is rejected with 402 and no detects are created. /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs index fcf3e94..149527e 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs @@ -56,7 +56,12 @@ partial void ProcessCreateDetectionResponseContent( /// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
- /// Exactly one of `file`, `url`, or `media_token` must be provided per request. + /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
+ /// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
+ /// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
+ /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
+ /// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -84,7 +89,12 @@ partial void ProcessCreateDetectionResponseContent( /// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
- /// Exactly one of `file`, `url`, or `media_token` must be provided per request. + /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
+ /// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
+ /// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
+ /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
+ /// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -280,6 +290,14 @@ request.Filename is null content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Intelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), name: "\"intelligence\""); + } + if (request.DetectWatermark != default) + { + + __httpRequestContent.Add( + content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.DetectWatermark, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), + name: "\"detect_watermark\""); + } if (request.InferFromIntelligence != default) { @@ -522,6 +540,117 @@ request.Filename is null retryReason: global::System.String.Empty, cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); } + // Invalid request, including a malformed `detect_watermark` boolean or a known source that exceeds the Watermark decoder limit. + 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)); + } + // Insufficient balance for the combined Detect request. When watermark analysis was requested, details include `watermark_cost_cents`. + if ((int)__response.StatusCode == 402) + { + string? __content_402 = null; + global::System.Exception? __exception_402 = null; + global::ResembleAI.CreateDetectionRequestPaymentRequiredError? __value_402 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_402 = global::ResembleAI.CreateDetectionRequestPaymentRequiredError.FromJson(__content_402, JsonSerializerContext); + } + else + { + __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_402 = global::ResembleAI.CreateDetectionRequestPaymentRequiredError.FromJson(__content_402, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_402 = __ex; + } + + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_402, + responseBody: __content_402, + responseObject: __value_402, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The API key does not have access to Watermark detection or another requested product. + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::ResembleAI.Error? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::ResembleAI.Error.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::ResembleAI.Error.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { @@ -625,7 +754,12 @@ request.Filename is null /// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
- /// Exactly one of `file`, `url`, or `media_token` must be provided per request. + /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
+ /// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
+ /// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
+ /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
+ /// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// /// /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. @@ -671,6 +805,10 @@ request.Filename is null /// Run multimodal intelligence analysis on the media
/// Default Value: false /// + /// + /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Default Value: false + /// /// /// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.
/// Default Value: false @@ -711,6 +849,7 @@ request.Filename is null global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default, bool? faceOnly = default, bool? intelligence = default, + bool? detectWatermark = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, bool? signal = default, @@ -734,6 +873,7 @@ request.Filename is null Modality = modality, FaceOnly = faceOnly, Intelligence = intelligence, + DetectWatermark = detectWatermark, InferFromIntelligence = inferFromIntelligence, AudioSourceTracing = audioSourceTracing, Signal = signal, @@ -755,7 +895,12 @@ request.Filename is null /// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
- /// Exactly one of `file`, `url`, or `media_token` must be provided per request. + /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
+ /// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
+ /// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
+ /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
+ /// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// /// /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. @@ -801,6 +946,10 @@ request.Filename is null /// Run multimodal intelligence analysis on the media
/// Default Value: false /// + /// + /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Default Value: false + /// /// /// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.
/// Default Value: false @@ -841,6 +990,7 @@ request.Filename is null global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default, bool? faceOnly = default, bool? intelligence = default, + bool? detectWatermark = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, bool? signal = default, @@ -866,6 +1016,7 @@ request.Filename is null Modality = modality, FaceOnly = faceOnly, Intelligence = intelligence, + DetectWatermark = detectWatermark, InferFromIntelligence = inferFromIntelligence, AudioSourceTracing = audioSourceTracing, Signal = signal, @@ -1055,6 +1206,14 @@ request.Filename is null content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Intelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), name: "\"intelligence\""); + } + if (request.DetectWatermark != default) + { + + __httpRequestContent.Add( + content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.DetectWatermark, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), + name: "\"detect_watermark\""); + } if (request.InferFromIntelligence != default) { @@ -1297,6 +1456,117 @@ request.Filename is null retryReason: global::System.String.Empty, cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); } + // Invalid request, including a malformed `detect_watermark` boolean or a known source that exceeds the Watermark decoder limit. + 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)); + } + // Insufficient balance for the combined Detect request. When watermark analysis was requested, details include `watermark_cost_cents`. + if ((int)__response.StatusCode == 402) + { + string? __content_402 = null; + global::System.Exception? __exception_402 = null; + global::ResembleAI.CreateDetectionRequestPaymentRequiredError? __value_402 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_402 = global::ResembleAI.CreateDetectionRequestPaymentRequiredError.FromJson(__content_402, JsonSerializerContext); + } + else + { + __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_402 = global::ResembleAI.CreateDetectionRequestPaymentRequiredError.FromJson(__content_402, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_402 = __ex; + } + + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_402, + responseBody: __content_402, + responseObject: __value_402, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The API key does not have access to Watermark detection or another requested product. + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::ResembleAI.Error? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::ResembleAI.Error.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::ResembleAI.Error.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { @@ -1392,7 +1662,12 @@ request.Filename is null /// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
- /// Exactly one of `file`, `url`, or `media_token` must be provided per request. + /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
+ /// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
+ /// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
+ /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
+ /// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// /// /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. @@ -1438,6 +1713,10 @@ request.Filename is null /// Run multimodal intelligence analysis on the media
/// Default Value: false /// + /// + /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Default Value: false + /// /// /// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.
/// Default Value: false @@ -1478,6 +1757,7 @@ request.Filename is null global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default, bool? faceOnly = default, bool? intelligence = default, + bool? detectWatermark = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, bool? signal = default, @@ -1503,6 +1783,7 @@ request.Filename is null Modality = modality, FaceOnly = faceOnly, Intelligence = intelligence, + DetectWatermark = detectWatermark, InferFromIntelligence = inferFromIntelligence, AudioSourceTracing = audioSourceTracing, Signal = signal, @@ -1692,6 +1973,14 @@ request.Filename is null content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Intelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), name: "\"intelligence\""); + } + if (request.DetectWatermark != default) + { + + __httpRequestContent.Add( + content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.DetectWatermark, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), + name: "\"detect_watermark\""); + } if (request.InferFromIntelligence != default) { @@ -1934,6 +2223,117 @@ request.Filename is null retryReason: global::System.String.Empty, cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); } + // Invalid request, including a malformed `detect_watermark` boolean or a known source that exceeds the Watermark decoder limit. + 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)); + } + // Insufficient balance for the combined Detect request. When watermark analysis was requested, details include `watermark_cost_cents`. + if ((int)__response.StatusCode == 402) + { + string? __content_402 = null; + global::System.Exception? __exception_402 = null; + global::ResembleAI.CreateDetectionRequestPaymentRequiredError? __value_402 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_402 = global::ResembleAI.CreateDetectionRequestPaymentRequiredError.FromJson(__content_402, JsonSerializerContext); + } + else + { + __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_402 = global::ResembleAI.CreateDetectionRequestPaymentRequiredError.FromJson(__content_402, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_402 = __ex; + } + + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_402, + responseBody: __content_402, + responseObject: __value_402, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // The API key does not have access to Watermark detection or another requested product. + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::ResembleAI.Error? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::ResembleAI.Error.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::ResembleAI.Error.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::ResembleAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } if (__effectiveReadResponseAsString) { diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs index 4bc4fec..0056349 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs @@ -53,7 +53,7 @@ partial void ProcessGetDetectionResponseContent( /// /// Get deepfake detection result
- /// Get a deepfake detection result by UUID. The item status describes the Detect job only; Intelligence runs separately and can still be processing after Detect reaches completed. + /// Get a deepfake detection result by UUID. For an otherwise successful Detect with watermark analysis, item status remains processing until the linked analysis completes or fails. A core detection failure still reports failed. Intelligence runs separately and can still be processing after Detect reaches completed. ///
/// /// @@ -79,7 +79,7 @@ partial void ProcessGetDetectionResponseContent( } /// /// Get deepfake detection result
- /// Get a deepfake detection result by UUID. The item status describes the Detect job only; Intelligence runs separately and can still be processing after Detect reaches completed. + /// Get a deepfake detection result by UUID. For an otherwise successful Detect with watermark analysis, item status remains processing until the linked analysis completes or fails. A core detection failure still reports failed. Intelligence runs separately and can still be processing after Detect reaches completed. ///
/// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetectBatch.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetectBatch.g.cs index d8b1851..f2847c9 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetectBatch.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetectBatch.g.cs @@ -20,6 +20,7 @@ public partial interface IDeepfakeDetectionClient /// - Maximum 50 files per batch.
/// - Maximum 500 MB total upload size across all files.
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.
+ /// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost
/// for every file, the request is rejected with 402 and no detects are created. /// @@ -48,6 +49,7 @@ public partial interface IDeepfakeDetectionClient /// - Maximum 50 files per batch.
/// - Maximum 500 MB total upload size across all files.
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.
+ /// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost
/// for every file, the request is rejected with 402 and no detects are created. /// @@ -76,6 +78,7 @@ public partial interface IDeepfakeDetectionClient /// - Maximum 50 files per batch.
/// - Maximum 500 MB total upload size across all files.
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.
+ /// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost
/// for every file, the request is rejected with 402 and no detects are created. /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs index ac99c38..419607a 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs @@ -11,7 +11,12 @@ public partial interface IDeepfakeDetectionClient /// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
- /// Exactly one of `file`, `url`, or `media_token` must be provided per request. + /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
+ /// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
+ /// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
+ /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
+ /// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -29,7 +34,12 @@ public partial interface IDeepfakeDetectionClient /// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
- /// Exactly one of `file`, `url`, or `media_token` must be provided per request. + /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
+ /// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
+ /// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
+ /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
+ /// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -47,7 +57,12 @@ public partial interface IDeepfakeDetectionClient /// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
- /// Exactly one of `file`, `url`, or `media_token` must be provided per request. + /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
+ /// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
+ /// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
+ /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
+ /// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// /// /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. @@ -93,6 +108,10 @@ public partial interface IDeepfakeDetectionClient /// Run multimodal intelligence analysis on the media
/// Default Value: false /// + /// + /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Default Value: false + /// /// /// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.
/// Default Value: false @@ -133,6 +152,7 @@ public partial interface IDeepfakeDetectionClient global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default, bool? faceOnly = default, bool? intelligence = default, + bool? detectWatermark = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, bool? signal = default, @@ -149,7 +169,12 @@ public partial interface IDeepfakeDetectionClient /// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
- /// Exactly one of `file`, `url`, or `media_token` must be provided per request. + /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
+ /// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
+ /// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
+ /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
+ /// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// /// /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. @@ -195,6 +220,10 @@ public partial interface IDeepfakeDetectionClient /// Run multimodal intelligence analysis on the media
/// Default Value: false /// + /// + /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Default Value: false + /// /// /// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.
/// Default Value: false @@ -235,6 +264,7 @@ public partial interface IDeepfakeDetectionClient global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default, bool? faceOnly = default, bool? intelligence = default, + bool? detectWatermark = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, bool? signal = default, @@ -250,7 +280,12 @@ public partial interface IDeepfakeDetectionClient /// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
- /// Exactly one of `file`, `url`, or `media_token` must be provided per request. + /// Exactly one of `file`, `url`, or `media_token` must be provided per request.
+ /// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake
+ /// analysis. This option supports single audio, image, and video requests only. It adds one Watermark
+ /// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes
+ /// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
+ /// failure is returned in the nested `watermark` object and does not change the deepfake verdict. /// /// /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. @@ -296,6 +331,10 @@ public partial interface IDeepfakeDetectionClient /// Run multimodal intelligence analysis on the media
/// Default Value: false /// + /// + /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Default Value: false + /// /// /// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.
/// Default Value: false @@ -336,6 +375,7 @@ public partial interface IDeepfakeDetectionClient global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default, bool? faceOnly = default, bool? intelligence = default, + bool? detectWatermark = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, bool? signal = default, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetection.g.cs index 9adf189..50ff0f1 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetection.g.cs @@ -6,7 +6,7 @@ public partial interface IDeepfakeDetectionClient { /// /// Get deepfake detection result
- /// Get a deepfake detection result by UUID. The item status describes the Detect job only; Intelligence runs separately and can still be processing after Detect reaches completed. + /// Get a deepfake detection result by UUID. For an otherwise successful Detect with watermark analysis, item status remains processing until the linked analysis completes or fails. A core detection failure still reports failed. Intelligence runs separately and can still be processing after Detect reaches completed. ///
/// /// @@ -22,7 +22,7 @@ public partial interface IDeepfakeDetectionClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Get deepfake detection result
- /// Get a deepfake detection result by UUID. The item status describes the Detect job only; Intelligence runs separately and can still be processing after Detect reaches completed. + /// Get a deepfake detection result by UUID. For an otherwise successful Detect with watermark analysis, item status remains processing until the linked analysis completes or fails. A core detection failure still reports failed. Intelligence runs separately and can still be processing after Detect reaches completed. ///
/// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemStatus.g.cs new file mode 100644 index 0000000..ab6377e --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemStatus.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectPostResponsesContentApplicationJsonSchemaItemStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus 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.DetectPostResponsesContentApplicationJsonSchemaItemStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemStatusNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemStatusNullable.g.cs new file mode 100644 index 0000000..d577a79 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemStatusNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectPostResponsesContentApplicationJsonSchemaItemStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus? 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.DetectPostResponsesContentApplicationJsonSchemaItemStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus? 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.DetectPostResponsesContentApplicationJsonSchemaItemStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisMetrics.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisMetrics.g.cs new file mode 100644 index 0000000..fd38542 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisMetrics.g.cs @@ -0,0 +1,153 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace ResembleAI.JsonConverters +{ + /// + public class DetectWatermarkAnalysisMetricsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectWatermarkAnalysisMetrics Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + + } + } + + var __score0 = 0; + if (__jsonProps.Contains("confidence")) __score0++; + if (__jsonProps.Contains("coverage_complete")) __score0++; + if (__jsonProps.Contains("detected_model_versions")) __score0++; + if (__jsonProps.Contains("has_watermark")) __score0++; + if (__jsonProps.Contains("model_results")) __score0++; + if (__jsonProps.Contains("overall_status")) __score0++; + if (__jsonProps.Contains("synthid")) __score0++; + var __score1 = 0; + if (__jsonProps.Contains("detected_model_versions")) __score1++; + if (__jsonProps.Contains("detection_score")) __score1++; + if (__jsonProps.Contains("has_watermark")) __score1++; + if (__jsonProps.Contains("model_results")) __score1++; + if (__jsonProps.Contains("overall_status")) __score1++; + if (__jsonProps.Contains("synthid")) __score1++; + if (__jsonProps.Contains("verdict")) __score1++; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + + global::ResembleAI.WatermarkAudioDetectionMetrics? watermarkAudioDetectionMetrics = default; + global::ResembleAI.WatermarkVisionDetectionMetrics? watermarkVisionDetectionMetrics = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.WatermarkAudioDetectionMetrics), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.WatermarkAudioDetectionMetrics).Name}"); + watermarkAudioDetectionMetrics = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 1) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.WatermarkVisionDetectionMetrics), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.WatermarkVisionDetectionMetrics).Name}"); + watermarkVisionDetectionMetrics = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (watermarkAudioDetectionMetrics == null && watermarkVisionDetectionMetrics == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.WatermarkAudioDetectionMetrics), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.WatermarkAudioDetectionMetrics).Name}"); + watermarkAudioDetectionMetrics = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (watermarkAudioDetectionMetrics == null && watermarkVisionDetectionMetrics == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.WatermarkVisionDetectionMetrics), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.WatermarkVisionDetectionMetrics).Name}"); + watermarkVisionDetectionMetrics = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::ResembleAI.DetectWatermarkAnalysisMetrics( + watermarkAudioDetectionMetrics, + + watermarkVisionDetectionMetrics + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectWatermarkAnalysisMetrics value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsWatermarkAudioDetectionMetrics) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.WatermarkAudioDetectionMetrics), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.WatermarkAudioDetectionMetrics).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.WatermarkAudioDetectionMetrics!, typeInfo); + } + else if (value.IsWatermarkVisionDetectionMetrics) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.WatermarkVisionDetectionMetrics), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.WatermarkVisionDetectionMetrics).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.WatermarkVisionDetectionMetrics!, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisStatus.g.cs new file mode 100644 index 0000000..a92384d --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisStatus.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectWatermarkAnalysisStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectWatermarkAnalysisStatus 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.DetectWatermarkAnalysisStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectWatermarkAnalysisStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectWatermarkAnalysisStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectWatermarkAnalysisStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.DetectWatermarkAnalysisStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisStatusNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisStatusNullable.g.cs new file mode 100644 index 0000000..cbeed41 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisStatusNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectWatermarkAnalysisStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectWatermarkAnalysisStatus? 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.DetectWatermarkAnalysisStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectWatermarkAnalysisStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectWatermarkAnalysisStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectWatermarkAnalysisStatus? 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.DetectWatermarkAnalysisStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkDetectItemMetrics.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkDetectItemMetrics.g.cs index d1ed5e9..fb549bc 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkDetectItemMetrics.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkDetectItemMetrics.g.cs @@ -34,6 +34,7 @@ public class WatermarkDetectItemMetricsJsonConverter : global::System.Text.Json. if (__jsonProps.Contains("has_watermark")) __score0++; if (__jsonProps.Contains("model_results")) __score0++; if (__jsonProps.Contains("overall_status")) __score0++; + if (__jsonProps.Contains("synthid")) __score0++; var __score1 = 0; if (__jsonProps.Contains("detected_model_versions")) __score1++; if (__jsonProps.Contains("detection_score")) __score1++; diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs index 6800fdd..d0a8b6f 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs @@ -21,12 +21,35 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsMediaType), TypeInfoPropertyName = "DetectGetResponsesContentApplicationJsonSchemaItemsItemsMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus), TypeInfoPropertyName = "DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsModality), TypeInfoPropertyName = "DetectGetResponsesContentApplicationJsonSchemaItemsItemsModality2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectAudioMetrics))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectWatermarkAnalysisStatus), TypeInfoPropertyName = "DetectWatermarkAnalysisStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus), TypeInfoPropertyName = "WatermarkAudioDetectionMetricsOverallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems), TypeInfoPropertyName = "WatermarkAudioDetectionMetricsDetectedModelVersionsItems2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion), TypeInfoPropertyName = "WatermarkAudioModelResultModelVersion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioModelResultStatus), TypeInfoPropertyName = "WatermarkAudioModelResultStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioModelResult))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioDetectionMetrics))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus), TypeInfoPropertyName = "WatermarkVisionDetectionMetricsOverallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems), TypeInfoPropertyName = "WatermarkVisionDetectionMetricsDetectedModelVersionsItems2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion), TypeInfoPropertyName = "WatermarkVisionModelResultModelVersion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResultStatus), TypeInfoPropertyName = "WatermarkVisionModelResultStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResult))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict), TypeInfoPropertyName = "WatermarkVisionDetectionMetricsVerdict2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetrics))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectWatermarkAnalysisMetrics), TypeInfoPropertyName = "DetectWatermarkAnalysisMetrics2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectWatermarkAnalysis))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectAudioMetrics))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectImageMetricsChildrenItems))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectImageMetrics))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectVideoMetricsChildrenItemsChildrenItemsChildrenItems))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectVideoMetricsChildrenItemsChildrenItems))] @@ -37,17 +60,16 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectC2PaManifestValidationState), TypeInfoPropertyName = "DetectC2PaManifestValidationState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectC2paManifest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsAudioSourceTracing))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsIntelligence))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsExtraParams))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItems))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionListDetectionsResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality), TypeInfoPropertyName = "DetectPostRequestBodyContentMultipartFormDataSchemaModality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus), TypeInfoPropertyName = "DetectPostResponsesContentApplicationJsonSchemaItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality), TypeInfoPropertyName = "DetectPostResponsesContentApplicationJsonSchemaItemModality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus), TypeInfoPropertyName = "DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType), TypeInfoPropertyName = "DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType2")] @@ -60,6 +82,10 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionCreateDetectionResponse200))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.Error))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.CreateDetectionRequestPaymentRequiredError))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType), TypeInfoPropertyName = "DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus), TypeInfoPropertyName = "DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracing))] @@ -77,8 +103,6 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemModality), TypeInfoPropertyName = "DetectUuidGetResponsesContentApplicationJsonSchemaItemModality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionGetDetectionResponse200))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.Error))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectBatchStatus), TypeInfoPropertyName = "DetectBatchStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectBatch))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionCreateDetectBatchResponse202))] @@ -189,24 +213,6 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkDetectItemOperationType), TypeInfoPropertyName = "WatermarkDetectItemOperationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkDetectItemStatus), TypeInfoPropertyName = "WatermarkDetectItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkDetectItemModelVersion), TypeInfoPropertyName = "WatermarkDetectItemModelVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus), TypeInfoPropertyName = "WatermarkAudioDetectionMetricsOverallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems), TypeInfoPropertyName = "WatermarkAudioDetectionMetricsDetectedModelVersionsItems2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion), TypeInfoPropertyName = "WatermarkAudioModelResultModelVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioModelResultStatus), TypeInfoPropertyName = "WatermarkAudioModelResultStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioModelResult))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioDetectionMetrics))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus), TypeInfoPropertyName = "WatermarkVisionDetectionMetricsOverallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems), TypeInfoPropertyName = "WatermarkVisionDetectionMetricsDetectedModelVersionsItems2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion), TypeInfoPropertyName = "WatermarkVisionModelResultModelVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResultStatus), TypeInfoPropertyName = "WatermarkVisionModelResultStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResult))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict), TypeInfoPropertyName = "WatermarkVisionDetectionMetricsVerdict2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetrics))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkDetectItemMetrics), TypeInfoPropertyName = "WatermarkDetectItemMetrics2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkDetectItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkDetectResponse))] @@ -485,17 +491,41 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsMediaType?), TypeInfoPropertyName = "NullableDetectGetResponsesContentApplicationJsonSchemaItemsItemsMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus?), TypeInfoPropertyName = "NullableDetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsModality?), TypeInfoPropertyName = "NullableDetectGetResponsesContentApplicationJsonSchemaItemsItemsModality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectWatermarkAnalysisStatus?), TypeInfoPropertyName = "NullableDetectWatermarkAnalysisStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus?), TypeInfoPropertyName = "NullableWatermarkAudioDetectionMetricsOverallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems?), TypeInfoPropertyName = "NullableWatermarkAudioDetectionMetricsDetectedModelVersionsItems2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion?), TypeInfoPropertyName = "NullableWatermarkAudioModelResultModelVersion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioModelResultStatus?), TypeInfoPropertyName = "NullableWatermarkAudioModelResultStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus?), TypeInfoPropertyName = "NullableWatermarkVisionDetectionMetricsOverallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems?), TypeInfoPropertyName = "NullableWatermarkVisionDetectionMetricsDetectedModelVersionsItems2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion?), TypeInfoPropertyName = "NullableWatermarkVisionModelResultModelVersion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResultStatus?), TypeInfoPropertyName = "NullableWatermarkVisionModelResultStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict?), TypeInfoPropertyName = "NullableWatermarkVisionDetectionMetricsVerdict2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectWatermarkAnalysisMetrics?), TypeInfoPropertyName = "NullableDetectWatermarkAnalysisMetrics2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectC2PaManifestValidationState?), TypeInfoPropertyName = "NullableDetectC2PaManifestValidationState2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality?), TypeInfoPropertyName = "NullableDetectPostRequestBodyContentMultipartFormDataSchemaModality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemModality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus?), TypeInfoPropertyName = "NullableDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus2")] [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")] + internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + })] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::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")] @@ -514,18 +544,6 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectAgentRunSummaryStatus?), TypeInfoPropertyName = "NullableDetectAgentRunSummaryStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Guid?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType?), TypeInfoPropertyName = "NullableIntelligencePostRequestBodyContentApplicationJsonSchemaMediaType2")] - internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItemMediaType?), TypeInfoPropertyName = "NullableIntelligencePostResponsesContentApplicationJsonSchemaItemMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraudType?), TypeInfoPropertyName = "NullableIntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraudType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLivenessAssessment?), TypeInfoPropertyName = "NullableIntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLivenessAssessment2")] @@ -556,15 +574,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkDetectItemOperationType?), TypeInfoPropertyName = "NullableWatermarkDetectItemOperationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkDetectItemStatus?), TypeInfoPropertyName = "NullableWatermarkDetectItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkDetectItemModelVersion?), TypeInfoPropertyName = "NullableWatermarkDetectItemModelVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus?), TypeInfoPropertyName = "NullableWatermarkAudioDetectionMetricsOverallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems?), TypeInfoPropertyName = "NullableWatermarkAudioDetectionMetricsDetectedModelVersionsItems2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion?), TypeInfoPropertyName = "NullableWatermarkAudioModelResultModelVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkAudioModelResultStatus?), TypeInfoPropertyName = "NullableWatermarkAudioModelResultStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus?), TypeInfoPropertyName = "NullableWatermarkVisionDetectionMetricsOverallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems?), TypeInfoPropertyName = "NullableWatermarkVisionDetectionMetricsDetectedModelVersionsItems2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion?), TypeInfoPropertyName = "NullableWatermarkVisionModelResultModelVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionModelResultStatus?), TypeInfoPropertyName = "NullableWatermarkVisionModelResultStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict?), TypeInfoPropertyName = "NullableWatermarkVisionDetectionMetricsVerdict2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.WatermarkDetectItemMetrics?), TypeInfoPropertyName = "NullableWatermarkDetectItemMetrics2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.SignalSubmissionInputModality?), TypeInfoPropertyName = "NullableSignalSubmissionInputModality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.SignalSubmissionVerdict?), TypeInfoPropertyName = "NullableSignalSubmissionVerdict2")] @@ -595,14 +604,18 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.ChangeBillingPlanRequestUnprocessableEntityError?), TypeInfoPropertyName = "NullableChangeBillingPlanRequestUnprocessableEntityError2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.BillingWalletTransactionTransactionType?), TypeInfoPropertyName = "NullableBillingWalletTransactionTransactionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.UpdateBillingAutoReloadRequestUnprocessableEntityError?), TypeInfoPropertyName = "NullableUpdateBillingAutoReloadRequestUnprocessableEntityError2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -611,10 +624,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -687,6 +696,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, TypeInfoResolver = Resolver, }; + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectWatermarkAnalysisMetricsJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceJsonConverter()); @@ -721,6 +731,46 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsModality?) + || typeToConvert == typeof(global::ResembleAI.DetectWatermarkAnalysisStatus) + + || typeToConvert == typeof(global::ResembleAI.DetectWatermarkAnalysisStatus?) + + || typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus) + + || typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus?) + + || typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems) + + || typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems?) + + || typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion) + + || typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion?) + + || typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultStatus) + + || typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultStatus?) + + || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus) + + || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus?) + + || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems) + + || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems?) + + || typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion) + + || typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion?) + + || typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultStatus) + + || typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultStatus?) + + || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict) + + || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict?) + || typeToConvert == typeof(global::ResembleAI.DetectC2PaManifestValidationState) || typeToConvert == typeof(global::ResembleAI.DetectC2PaManifestValidationState?) @@ -729,6 +779,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality?) + || typeToConvert == typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus) + + || typeToConvert == typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus?) + || typeToConvert == typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality) || typeToConvert == typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality?) @@ -921,42 +975,6 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::ResembleAI.WatermarkDetectItemModelVersion?) - || typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus) - - || typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus?) - - || typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems) - - || typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems?) - - || typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion) - - || typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion?) - - || typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultStatus) - - || typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultStatus?) - - || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus) - - || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus?) - - || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems) - - || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems?) - - || typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion) - - || typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion?) - - || typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultStatus) - - || typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultStatus?) - - || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict) - - || typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict?) - || typeToConvert == typeof(global::ResembleAI.SignalSubmissionInputModality) || typeToConvert == typeof(global::ResembleAI.SignalSubmissionInputModality?) @@ -1088,6 +1106,106 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::ResembleAI.JsonConverters.DetectGetResponsesContentApplicationJsonSchemaItemsItemsModalityNullableJsonConverter(); } + if (typeToConvert == typeof(global::ResembleAI.DetectWatermarkAnalysisStatus)) + { + return new global::ResembleAI.JsonConverters.DetectWatermarkAnalysisStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.DetectWatermarkAnalysisStatus?)) + { + return new global::ResembleAI.JsonConverters.DetectWatermarkAnalysisStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus)) + { + return new global::ResembleAI.JsonConverters.WatermarkAudioDetectionMetricsOverallStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus?)) + { + return new global::ResembleAI.JsonConverters.WatermarkAudioDetectionMetricsOverallStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems)) + { + return new global::ResembleAI.JsonConverters.WatermarkAudioDetectionMetricsDetectedModelVersionsItemsJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems?)) + { + return new global::ResembleAI.JsonConverters.WatermarkAudioDetectionMetricsDetectedModelVersionsItemsNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion)) + { + return new global::ResembleAI.JsonConverters.WatermarkAudioModelResultModelVersionJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion?)) + { + return new global::ResembleAI.JsonConverters.WatermarkAudioModelResultModelVersionNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultStatus)) + { + return new global::ResembleAI.JsonConverters.WatermarkAudioModelResultStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultStatus?)) + { + return new global::ResembleAI.JsonConverters.WatermarkAudioModelResultStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus)) + { + return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsOverallStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus?)) + { + return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsOverallStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems)) + { + return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsDetectedModelVersionsItemsJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems?)) + { + return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsDetectedModelVersionsItemsNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion)) + { + return new global::ResembleAI.JsonConverters.WatermarkVisionModelResultModelVersionJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion?)) + { + return new global::ResembleAI.JsonConverters.WatermarkVisionModelResultModelVersionNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultStatus)) + { + return new global::ResembleAI.JsonConverters.WatermarkVisionModelResultStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultStatus?)) + { + return new global::ResembleAI.JsonConverters.WatermarkVisionModelResultStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict)) + { + return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsVerdictJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict?)) + { + return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsVerdictNullableJsonConverter(); + } + if (typeToConvert == typeof(global::ResembleAI.DetectC2PaManifestValidationState)) { return new global::ResembleAI.JsonConverters.DetectC2PaManifestValidationStateJsonConverter(); @@ -1108,6 +1226,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::ResembleAI.JsonConverters.DetectPostRequestBodyContentMultipartFormDataSchemaModalityNullableJsonConverter(); } + if (typeToConvert == typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus)) + { + return new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus?)) + { + return new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemStatusNullableJsonConverter(); + } + if (typeToConvert == typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality)) { return new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemModalityJsonConverter(); @@ -1588,96 +1716,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::ResembleAI.JsonConverters.WatermarkDetectItemModelVersionNullableJsonConverter(); } - if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus)) - { - return new global::ResembleAI.JsonConverters.WatermarkAudioDetectionMetricsOverallStatusJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus?)) - { - return new global::ResembleAI.JsonConverters.WatermarkAudioDetectionMetricsOverallStatusNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems)) - { - return new global::ResembleAI.JsonConverters.WatermarkAudioDetectionMetricsDetectedModelVersionsItemsJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems?)) - { - return new global::ResembleAI.JsonConverters.WatermarkAudioDetectionMetricsDetectedModelVersionsItemsNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion)) - { - return new global::ResembleAI.JsonConverters.WatermarkAudioModelResultModelVersionJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultModelVersion?)) - { - return new global::ResembleAI.JsonConverters.WatermarkAudioModelResultModelVersionNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultStatus)) - { - return new global::ResembleAI.JsonConverters.WatermarkAudioModelResultStatusJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkAudioModelResultStatus?)) - { - return new global::ResembleAI.JsonConverters.WatermarkAudioModelResultStatusNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus)) - { - return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsOverallStatusJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus?)) - { - return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsOverallStatusNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems)) - { - return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsDetectedModelVersionsItemsJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems?)) - { - return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsDetectedModelVersionsItemsNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion)) - { - return new global::ResembleAI.JsonConverters.WatermarkVisionModelResultModelVersionJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultModelVersion?)) - { - return new global::ResembleAI.JsonConverters.WatermarkVisionModelResultModelVersionNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultStatus)) - { - return new global::ResembleAI.JsonConverters.WatermarkVisionModelResultStatusJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionModelResultStatus?)) - { - return new global::ResembleAI.JsonConverters.WatermarkVisionModelResultStatusNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict)) - { - return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsVerdictJsonConverter(); - } - - if (typeToConvert == typeof(global::ResembleAI.WatermarkVisionDetectionMetricsVerdict?)) - { - return new global::ResembleAI.JsonConverters.WatermarkVisionDetectionMetricsVerdictNullableJsonConverter(); - } - if (typeToConvert == typeof(global::ResembleAI.SignalSubmissionInputModality)) { return new global::ResembleAI.JsonConverters.SignalSubmissionInputModalityJsonConverter(); diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs index 22c4704..b1fcc57 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs @@ -45,1932 +45,1956 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::ResembleAI.DetectAudioMetrics? Type3 { get; set; } + public global::ResembleAI.DetectWatermarkAnalysisStatus? Type3 { get; set; } /// /// /// - public string? Type4 { get; set; } + public global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus? Type4 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5 { get; set; } + public global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems? Type5 { get; set; } /// /// /// - public global::ResembleAI.DetectImageMetricsChildrenItems? Type6 { get; set; } + public global::ResembleAI.WatermarkAudioModelResultModelVersion? Type6 { get; set; } /// /// /// - public global::ResembleAI.DetectImageMetrics? Type7 { get; set; } + public global::ResembleAI.WatermarkAudioModelResultStatus? Type7 { get; set; } /// /// /// - public double? Type8 { get; set; } + public global::ResembleAI.WatermarkAudioModelResult? Type8 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9 { get; set; } + public bool? Type9 { get; set; } /// /// /// - public global::ResembleAI.DetectVideoMetricsChildrenItemsChildrenItemsChildrenItems? Type10 { get; set; } + public global::System.Collections.Generic.Dictionary? Type10 { get; set; } /// /// /// - public global::ResembleAI.DetectVideoMetricsChildrenItemsChildrenItems? Type11 { get; set; } + public double? Type11 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type12 { get; set; } + public string? Type12 { get; set; } /// /// /// - public global::ResembleAI.DetectVideoMetricsChildrenItems? Type13 { get; set; } + public global::ResembleAI.WatermarkAudioDetectionMetrics? Type13 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type14 { get; set; } + public global::System.Collections.Generic.IList? Type14 { get; set; } /// /// /// - public global::ResembleAI.DetectVideoMetrics? Type15 { get; set; } + public global::System.Collections.Generic.IList? Type15 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type16 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus? Type16 { get; set; } /// /// /// - public global::ResembleAI.DetectC2PaManifestValidationState? Type17 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems? Type17 { get; set; } /// /// /// - public global::ResembleAI.DetectC2paManifest? Type18 { get; set; } + public global::ResembleAI.WatermarkVisionModelResultModelVersion? Type18 { get; set; } /// /// /// - public object? Type19 { get; set; } + public global::ResembleAI.WatermarkVisionModelResultStatus? Type19 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsAudioSourceTracing? Type20 { get; set; } + public global::ResembleAI.WatermarkVisionModelResult? Type20 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsIntelligence? Type21 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetricsVerdict? Type21 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsExtraParams? Type22 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetrics? Type22 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItems? Type23 { get; set; } + public global::System.Collections.Generic.IList? Type23 { get; set; } /// /// /// - public bool? Type24 { get; set; } + public global::System.Collections.Generic.IList? Type24 { get; set; } /// /// /// - public global::System.DateTime? Type25 { get; set; } + public object? Type25 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionListDetectionsResponse200? Type26 { get; set; } + public global::ResembleAI.DetectWatermarkAnalysisMetrics? Type26 { get; set; } /// /// /// - public int? Type27 { get; set; } + public global::ResembleAI.DetectWatermarkAnalysis? Type27 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type28 { get; set; } + public global::ResembleAI.DetectAudioMetrics? Type28 { get; set; } /// /// /// - public global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? Type29 { get; set; } + public global::System.Collections.Generic.IList? Type29 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality? Type30 { get; set; } + public global::ResembleAI.DetectImageMetricsChildrenItems? Type30 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus? Type31 { get; set; } + public global::ResembleAI.DetectImageMetrics? Type31 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Type32 { get; set; } + public global::System.Collections.Generic.IList? Type32 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? Type33 { get; set; } + public global::ResembleAI.DetectVideoMetricsChildrenItemsChildrenItemsChildrenItems? Type33 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Type34 { get; set; } + public global::ResembleAI.DetectVideoMetricsChildrenItemsChildrenItems? Type34 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? Type35 { get; set; } + public global::System.Collections.Generic.IList? Type35 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? Type36 { get; set; } + public global::ResembleAI.DetectVideoMetricsChildrenItems? Type36 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? Type37 { get; set; } + public global::System.Collections.Generic.IList? Type37 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription? Type38 { get; set; } + public global::ResembleAI.DetectVideoMetrics? Type38 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence? Type39 { get; set; } + public global::System.Collections.Generic.IList? Type39 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItem? Type40 { get; set; } + public global::ResembleAI.DetectC2PaManifestValidationState? Type40 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionCreateDetectionResponse200? Type41 { get; set; } + public global::ResembleAI.DetectC2paManifest? Type41 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type42 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsAudioSourceTracing? Type42 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type43 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsIntelligence? Type43 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracing? Type44 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsExtraParams? Type44 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceResultStatus? Type45 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItems? Type45 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType? Type46 { get; set; } + public global::System.DateTime? Type46 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Fraud? Type47 { get; set; } + public global::ResembleAI.DeepfakeDetectionListDetectionsResponse200? Type47 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment? Type48 { get; set; } + public int? Type48 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Liveness? Type49 { get; set; } + public global::System.Collections.Generic.IList? Type49 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered? Type50 { get; set; } + public global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? Type50 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceResultDescription1? Type51 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus? Type51 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceResultDescription? Type52 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality? Type52 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceResult? Type53 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus? Type53 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type54 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Type54 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence? Type55 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? Type55 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemModality? Type56 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Type56 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItem? Type57 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? Type57 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionGetDetectionResponse200? Type58 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? Type58 { get; set; } /// /// /// - public global::ResembleAI.Error? Type59 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? Type59 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type60 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription? Type60 { get; set; } /// /// /// - public global::ResembleAI.DetectBatchStatus? Type61 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence? Type61 { get; set; } /// /// /// - public global::ResembleAI.DetectBatch? Type62 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItem? Type62 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionCreateDetectBatchResponse202? Type63 { get; set; } + public global::ResembleAI.DeepfakeDetectionCreateDetectionResponse200? Type63 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionGetDetectBatchResponse200? Type64 { get; set; } + public global::ResembleAI.Error? Type64 { get; set; } /// /// /// - public global::ResembleAI.DetectFeedbackType? Type65 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type65 { get; set; } /// /// /// - public global::ResembleAI.DetectFeedbackVote? Type66 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails? Type66 { get; set; } /// /// /// - public global::ResembleAI.DetectFeedbackVerdict? Type67 { get; set; } + public global::ResembleAI.CreateDetectionRequestPaymentRequiredError? Type67 { get; set; } /// /// /// - public global::ResembleAI.DetectFeedbackMediaType? Type68 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type68 { get; set; } /// /// /// - public global::ResembleAI.DetectFeedback? Type69 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type69 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200? Type70 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracing? Type70 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType? Type71 { get; set; } + public global::ResembleAI.DetectIntelligenceResultStatus? Type71 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200? Type72 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType? Type72 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200? Type73 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Fraud? Type73 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentTier? Type74 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment? Type74 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentCapabilities? Type75 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Liveness? Type75 { get; set; } /// /// /// - public global::ResembleAI.DetectAgent? Type76 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered? Type76 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentsListDetectAgentsResponse200? Type77 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescription1? Type77 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type78 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescription? Type78 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRunSummaryStatus? Type79 { get; set; } + public global::ResembleAI.DetectIntelligenceResult? Type79 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRunResultVerdict? Type80 { get; set; } + public global::System.Collections.Generic.IList? Type80 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRunResult? Type81 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence? Type81 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRunSummaryInputs? Type82 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemModality? Type82 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRunSummary? Type83 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItem? Type83 { get; set; } /// /// /// - public global::System.Guid? Type84 { get; set; } + public global::ResembleAI.DeepfakeDetectionGetDetectionResponse200? Type84 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentsListDetectAgentInvestigationRunsResponse200? Type85 { get; set; } + public global::ResembleAI.DetectBatchStatus? Type85 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type86 { get; set; } + public global::ResembleAI.DetectBatch? Type86 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentRun? Type87 { get; set; } + public global::ResembleAI.DeepfakeDetectionCreateDetectBatchResponse202? Type87 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type88 { get; set; } + public global::ResembleAI.DeepfakeDetectionGetDetectBatchResponse200? Type88 { get; set; } /// /// /// - public global::ResembleAI.DetectAgentsGetDetectAgentInvestigationRunResponse200? Type89 { get; set; } + public global::ResembleAI.DetectFeedbackType? Type89 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType? Type90 { get; set; } + public global::ResembleAI.DetectFeedbackVote? Type90 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItemMediaType? Type91 { get; set; } + public global::ResembleAI.DetectFeedbackVerdict? Type91 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItem? Type92 { get; set; } + public global::ResembleAI.DetectFeedbackMediaType? Type92 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceRunIntelligenceResponse200? Type93 { get; set; } + public global::ResembleAI.DetectFeedback? Type93 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraudType? Type94 { get; set; } + public global::ResembleAI.DeepfakeDetectionGetDetectFeedbackResponse200? Type94 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraud? Type95 { get; set; } + public global::ResembleAI.DetectUuidFeedbackPostRequestBodyContentApplicationJsonSchemaType? Type95 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLivenessAssessment? Type96 { get; set; } + public global::ResembleAI.DeepfakeDetectionCreateDetectFeedbackResponse200? Type96 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLiveness? Type97 { get; set; } + public global::ResembleAI.DeepfakeDetectionDeleteDetectFeedbackResponse200? Type97 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionDigitallyAltered? Type98 { get; set; } + public global::ResembleAI.DetectAgentTier? Type98 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescription? Type99 { get; set; } + public global::ResembleAI.DetectAgentCapabilities? Type99 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? Type100 { get; set; } + public global::ResembleAI.DetectAgent? Type100 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItems? Type101 { get; set; } + public global::ResembleAI.DetectAgentsListDetectAgentsResponse200? Type101 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceListIntelligencesResponse200? Type102 { get; set; } + public global::System.Collections.Generic.IList? Type102 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type103 { get; set; } + public global::ResembleAI.DetectAgentRunSummaryStatus? Type103 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraudType? Type104 { get; set; } + public global::ResembleAI.DetectAgentRunResultVerdict? Type104 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraud? Type105 { get; set; } + public global::ResembleAI.DetectAgentRunResult? Type105 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLivenessAssessment? Type106 { get; set; } + public global::ResembleAI.DetectAgentRunSummaryInputs? Type106 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLiveness? Type107 { get; set; } + public global::ResembleAI.DetectAgentRunSummary? Type107 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionDigitallyAltered? Type108 { get; set; } + public global::System.Guid? Type108 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescription? Type109 { get; set; } + public global::ResembleAI.DetectAgentsListDetectAgentInvestigationRunsResponse200? Type109 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type110 { get; set; } + public global::System.Collections.Generic.IList? Type110 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItem? Type111 { get; set; } + public global::ResembleAI.DetectAgentRun? Type111 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceGetIntelligenceResponse200? Type112 { get; set; } + public global::System.Collections.Generic.IList? Type112 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItemStatus? Type113 { get; set; } + public global::ResembleAI.DetectAgentsGetDetectAgentInvestigationRunResponse200? Type113 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItem? Type114 { get; set; } + public global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType? Type114 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceAskDetectIntelligenceQuestionResponse202? Type115 { get; set; } + public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItemMediaType? Type115 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type116 { get; set; } + public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItem? Type116 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type117 { get; set; } + public global::ResembleAI.IntelligenceRunIntelligenceResponse200? Type117 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceGetDetectIntelligenceQuestionResponse200? Type118 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraudType? Type118 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItemsResults? Type119 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraud? Type119 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItems? Type120 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLivenessAssessment? Type120 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingListAudioSourceTracingsResponse200? Type121 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLiveness? Type121 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type122 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionDigitallyAltered? Type122 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItemResults? Type123 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescription? Type123 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItem? Type124 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? Type124 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingGetAudioSourceTracingResponse200? Type125 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItems? Type125 { get; set; } /// /// /// - public global::ResembleAI.IdentitySummaryVisibility? Type126 { get; set; } + public global::ResembleAI.IntelligenceListIntelligencesResponse200? Type126 { get; set; } /// /// /// - public global::ResembleAI.IdentitySummaryIdentityType? Type127 { get; set; } + public global::System.Collections.Generic.IList? Type127 { get; set; } /// /// /// - public global::ResembleAI.IdentitySummary? Type128 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraudType? Type128 { get; set; } /// /// /// - public global::ResembleAI.IdentityListIdentitiesResponse200? Type129 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraud? Type129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type130 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLivenessAssessment? Type130 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest0? Type131 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLiveness? Type131 { get; set; } /// /// /// - public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityIdentityType? Type132 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionDigitallyAltered? Type132 { get; set; } /// /// /// - public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityVisibility? Type133 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescription? Type133 { get; set; } /// /// /// - public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1Identity? Type134 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type134 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest1? Type135 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItem? Type135 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest? Type136 { get; set; } + public global::ResembleAI.IntelligenceGetIntelligenceResponse200? Type136 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityResponse200? Type137 { get; set; } + public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItemStatus? Type137 { get; set; } /// /// /// - public global::ResembleAI.IdentityDeleteIdentityResponse200? Type138 { get; set; } + public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItem? Type138 { get; set; } /// /// /// - public global::ResembleAI.IdentityUuidAttachmentsPostRequestBodyContentMultipartFormDataSchemaModality? Type139 { get; set; } + public global::ResembleAI.DetectIntelligenceAskDetectIntelligenceQuestionResponse202? Type139 { get; set; } /// /// /// - public global::ResembleAI.IdentityIdentityType? Type140 { get; set; } + public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type140 { get; set; } /// /// /// - public global::ResembleAI.IdentityVisibility? Type141 { get; set; } + public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type141 { get; set; } /// /// /// - public global::ResembleAI.IdentityAttachment? Type142 { get; set; } + public global::ResembleAI.DetectIntelligenceGetDetectIntelligenceQuestionResponse200? Type142 { get; set; } /// /// /// - public global::ResembleAI.IdentityEmbeddingsItemsModality? Type143 { get; set; } + public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItemsResults? Type143 { get; set; } /// /// /// - public global::ResembleAI.IdentityEmbeddingsItems? Type144 { get; set; } + public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItems? Type144 { get; set; } /// /// /// - public global::ResembleAI.IdentityProjectsItems? Type145 { get; set; } + public global::ResembleAI.AudioSourceTracingListAudioSourceTracingsResponse200? Type145 { get; set; } /// /// /// - public global::ResembleAI.Identity? Type146 { get; set; } + public global::System.Collections.Generic.IList? Type146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type147 { get; set; } + public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItemResults? Type147 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type148 { get; set; } + public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItem? Type148 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type149 { get; set; } + public global::ResembleAI.AudioSourceTracingGetAudioSourceTracingResponse200? Type149 { get; set; } /// /// /// - public global::ResembleAI.IdentityDeleteIdentityAttachmentResponse204? Type150 { get; set; } + public global::ResembleAI.IdentitySummaryVisibility? Type150 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchPostRequestBodyContentApplicationJsonSchemaModality? Type151 { get; set; } + public global::ResembleAI.IdentitySummaryIdentityType? Type151 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaModality? Type152 { get; set; } + public global::ResembleAI.IdentitySummary? Type152 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaItem? Type153 { get; set; } + public global::ResembleAI.IdentityListIdentitiesResponse200? Type153 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchIdentitiesResponse200? Type154 { get; set; } + public global::System.Collections.Generic.IList? Type154 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type155 { get; set; } + public global::ResembleAI.IdentityCreateIdentityRequest0? Type155 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyPostParametersPrefer? Type156 { get; set; } + public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityIdentityType? Type156 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyRequest? Type157 { get; set; } + public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityVisibility? Type157 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemMediaType? Type158 { get; set; } + public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1Identity? Type158 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemOperationType? Type159 { get; set; } + public global::ResembleAI.IdentityCreateIdentityRequest1? Type159 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemStatus? Type160 { get; set; } + public global::ResembleAI.IdentityCreateIdentityRequest? Type160 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemModelVersion? Type161 { get; set; } + public global::ResembleAI.IdentityCreateIdentityResponse200? Type161 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyMetrics? Type162 { get; set; } + public global::ResembleAI.IdentityDeleteIdentityResponse200? Type162 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItem? Type163 { get; set; } + public global::ResembleAI.IdentityUuidAttachmentsPostRequestBodyContentMultipartFormDataSchemaModality? Type163 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyResponse? Type164 { get; set; } + public global::ResembleAI.IdentityIdentityType? Type164 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectPostParametersPrefer? Type165 { get; set; } + public global::ResembleAI.IdentityVisibility? Type165 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectRequest? Type166 { get; set; } + public global::ResembleAI.IdentityAttachment? Type166 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemMediaType? Type167 { get; set; } + public global::ResembleAI.IdentityEmbeddingsItemsModality? Type167 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemOperationType? Type168 { get; set; } + public global::ResembleAI.IdentityEmbeddingsItems? Type168 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemStatus? Type169 { get; set; } + public global::ResembleAI.IdentityProjectsItems? Type169 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemModelVersion? Type170 { get; set; } + public global::ResembleAI.Identity? Type170 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus? Type171 { get; set; } + public global::System.Collections.Generic.IList? Type171 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems? Type172 { get; set; } + public global::System.Collections.Generic.IList? Type172 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioModelResultModelVersion? Type173 { get; set; } + public global::System.Collections.Generic.IList? Type173 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioModelResultStatus? Type174 { get; set; } + public global::ResembleAI.IdentityDeleteIdentityAttachmentResponse204? Type174 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioModelResult? Type175 { get; set; } + public global::ResembleAI.IdentitySearchPostRequestBodyContentApplicationJsonSchemaModality? Type175 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type176 { get; set; } + public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaModality? Type176 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetrics? Type177 { get; set; } + public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaItem? Type177 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type178 { get; set; } + public global::ResembleAI.IdentitySearchIdentitiesResponse200? Type178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type179 { get; set; } + public global::System.Collections.Generic.Dictionary? Type179 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus? Type180 { get; set; } + public global::ResembleAI.WatermarkApplyPostParametersPrefer? Type180 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems? Type181 { get; set; } + public global::ResembleAI.WatermarkApplyRequest? Type181 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionModelResultModelVersion? Type182 { get; set; } + public global::ResembleAI.WatermarkApplyItemMediaType? Type182 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionModelResultStatus? Type183 { get; set; } + public global::ResembleAI.WatermarkApplyItemOperationType? Type183 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionModelResult? Type184 { get; set; } + public global::ResembleAI.WatermarkApplyItemStatus? Type184 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetricsVerdict? Type185 { get; set; } + public global::ResembleAI.WatermarkApplyItemModelVersion? Type185 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetrics? Type186 { get; set; } + public global::ResembleAI.WatermarkApplyMetrics? Type186 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type187 { get; set; } + public global::ResembleAI.WatermarkApplyItem? Type187 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type188 { get; set; } + public global::ResembleAI.WatermarkApplyResponse? Type188 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemMetrics? Type189 { get; set; } + public global::ResembleAI.WatermarkDetectPostParametersPrefer? Type189 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItem? Type190 { get; set; } + public global::ResembleAI.WatermarkDetectRequest? Type190 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectResponse? Type191 { get; set; } + public global::ResembleAI.WatermarkDetectItemMediaType? Type191 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmissionInputModality? Type192 { get; set; } + public global::ResembleAI.WatermarkDetectItemOperationType? Type192 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmissionVerdict? Type193 { get; set; } + public global::ResembleAI.WatermarkDetectItemStatus? Type193 { get; set; } /// /// /// - public global::ResembleAI.SignalCategoryScore? Type194 { get; set; } + public global::ResembleAI.WatermarkDetectItemModelVersion? Type194 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreItemInputModality? Type195 { get; set; } + public global::ResembleAI.WatermarkDetectItemMetrics? Type195 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreItemVerdict? Type196 { get; set; } + public global::ResembleAI.WatermarkDetectItem? Type196 { get; set; } /// /// /// - public global::ResembleAI.SignalTopMatch? Type197 { get; set; } + public global::ResembleAI.WatermarkDetectResponse? Type197 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreItem? Type198 { get; set; } + public global::ResembleAI.SignalSubmissionInputModality? Type198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type199 { get; set; } + public global::ResembleAI.SignalSubmissionVerdict? Type199 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type200 { get; set; } + public global::ResembleAI.SignalCategoryScore? Type200 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmission? Type201 { get; set; } + public global::ResembleAI.SignalScoreItemInputModality? Type201 { get; set; } /// /// /// - public global::ResembleAI.SignalSubmissionListResponse? Type202 { get; set; } + public global::ResembleAI.SignalScoreItemVerdict? Type202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type203 { get; set; } + public global::ResembleAI.SignalTopMatch? Type203 { get; set; } /// /// /// - public global::ResembleAI.SignalError? Type204 { get; set; } + public global::ResembleAI.SignalScoreItem? Type204 { get; set; } /// /// /// - public long? Type205 { get; set; } + public global::System.Collections.Generic.IList? Type205 { get; set; } /// /// /// - public global::ResembleAI.SignalScoreResponse? Type206 { get; set; } + public global::System.Collections.Generic.IList? Type206 { get; set; } /// /// /// - public global::ResembleAI.SignalSuccessResponse? Type207 { get; set; } + public global::ResembleAI.SignalSubmission? Type207 { get; set; } /// /// /// - public global::ResembleAI.SignalSettings? Type208 { get; set; } + public global::ResembleAI.SignalSubmissionListResponse? Type208 { get; set; } /// /// /// - public global::ResembleAI.SignalBuiltInCategory? Type209 { get; set; } + public global::System.Collections.Generic.IList? Type209 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryStatus? Type210 { get; set; } + public global::ResembleAI.SignalError? Type210 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryOverlapsItems? Type211 { get; set; } + public long? Type211 { get; set; } /// /// /// - public global::ResembleAI.SignalScenario? Type212 { get; set; } + public global::ResembleAI.SignalScoreResponse? Type212 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategory? Type213 { get; set; } + public global::ResembleAI.SignalSuccessResponse? Type213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type214 { get; set; } + public global::ResembleAI.SignalSettings? Type214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type215 { get; set; } + public global::ResembleAI.SignalBuiltInCategory? Type215 { get; set; } /// /// /// - public global::ResembleAI.SignalCalibrationWarningsItems? Type216 { get; set; } + public global::ResembleAI.SignalCustomCategoryStatus? Type216 { get; set; } /// /// /// - public global::ResembleAI.SignalCalibration? Type217 { get; set; } + public global::ResembleAI.SignalCustomCategoryOverlapsItems? Type217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type218 { get; set; } + public global::ResembleAI.SignalScenario? Type218 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryListResponse? Type219 { get; set; } + public global::ResembleAI.SignalCustomCategory? Type219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type221 { get; set; } + public global::System.Collections.Generic.IList? Type221 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryCreateRequest? Type222 { get; set; } + public global::ResembleAI.SignalCalibrationWarningsItems? Type222 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryResponse? Type223 { get; set; } + public global::ResembleAI.SignalCalibration? Type223 { get; set; } /// /// /// - public global::ResembleAI.SignalCustomCategoryUpdateRequest? Type224 { get; set; } + public global::System.Collections.Generic.IList? Type224 { get; set; } /// /// /// - public global::ResembleAI.SignalSettingsUpdateRequest? Type225 { get; set; } + public global::ResembleAI.SignalCustomCategoryListResponse? Type225 { get; set; } /// /// /// - public global::ResembleAI.SignalSettingsResponse? Type226 { get; set; } + public global::System.Collections.Generic.IList? Type226 { get; set; } /// /// /// - public global::ResembleAI.SecureUploadsCreateSecureUploadResponse200? Type227 { get; set; } + public global::System.Collections.Generic.IList? Type227 { get; set; } /// /// /// - public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaPrecision? Type228 { get; set; } + public global::ResembleAI.SignalCustomCategoryCreateRequest? Type228 { get; set; } /// /// /// - public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaOutputFormat? Type229 { get; set; } + public global::ResembleAI.SignalCustomCategoryResponse? Type229 { get; set; } /// /// /// - public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaSampleRate? Type230 { get; set; } + public global::ResembleAI.SignalCustomCategoryUpdateRequest? Type230 { get; set; } /// /// /// - public global::ResembleAI.AudioTimestamps? Type231 { get; set; } + public global::ResembleAI.SignalSettingsUpdateRequest? Type231 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type232 { get; set; } + public global::ResembleAI.SignalSettingsResponse? Type232 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type233 { get; set; } + public global::ResembleAI.SecureUploadsCreateSecureUploadResponse200? Type233 { get; set; } /// /// /// - public global::ResembleAI.TextToSpeechSynthesizeResponse200? Type234 { get; set; } + public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaPrecision? Type234 { get; set; } /// /// /// - public byte[]? Type235 { get; set; } + public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaOutputFormat? Type235 { get; set; } /// /// /// - public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaPrecision? Type236 { get; set; } + public global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaSampleRate? Type236 { get; set; } /// /// /// - public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaSampleRate? Type237 { get; set; } + public global::ResembleAI.AudioTimestamps? Type237 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaItemsItems? Type238 { get; set; } + public global::System.Collections.Generic.IList>? Type238 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaMeta? Type239 { get; set; } + public global::System.Collections.Generic.IList? Type239 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextListTranscriptsResponse200? Type240 { get; set; } + public global::ResembleAI.TextToSpeechSynthesizeResponse200? Type240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type241 { get; set; } + public byte[]? Type241 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItemStatus? Type242 { get; set; } + public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaPrecision? Type242 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItem? Type243 { get; set; } + public global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaSampleRate? Type243 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextCreateTranscriptResponse200? Type244 { get; set; } + public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaItemsItems? Type244 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type245 { get; set; } + public global::ResembleAI.SpeechToTextGetResponsesContentApplicationJsonSchemaMeta? Type245 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemWordsItems? Type246 { get; set; } + public global::ResembleAI.SpeechToTextListTranscriptsResponse200? Type246 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItem? Type247 { get; set; } + public global::System.Collections.Generic.IList? Type247 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type248 { get; set; } + public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItemStatus? Type248 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetTranscriptResponse200? Type249 { get; set; } + public global::ResembleAI.SpeechToTextPostResponsesContentApplicationJsonSchemaItem? Type249 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidAskPostResponsesContentApplicationJsonSchemaItem? Type250 { get; set; } + public global::ResembleAI.SpeechToTextCreateTranscriptResponse200? Type250 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextAskTranscriptQuestionResponse200? Type251 { get; set; } + public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type251 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaItemsItems? Type252 { get; set; } + public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItemWordsItems? Type252 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaMeta? Type253 { get; set; } + public global::ResembleAI.SpeechToTextUuidGetResponsesContentApplicationJsonSchemaItem? Type253 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextListTranscriptQuestionsResponse200? Type254 { get; set; } + public global::System.Collections.Generic.IList? Type254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type255 { get; set; } + public global::ResembleAI.SpeechToTextGetTranscriptResponse200? Type255 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextUuidQuestionsQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type256 { get; set; } + public global::ResembleAI.SpeechToTextUuidAskPostResponsesContentApplicationJsonSchemaItem? Type256 { get; set; } /// /// /// - public global::ResembleAI.SpeechToTextGetTranscriptQuestionResponse200? Type257 { get; set; } + public global::ResembleAI.SpeechToTextAskTranscriptQuestionResponse200? Type257 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type258 { get; set; } + public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaItemsItems? Type258 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItems? Type259 { get; set; } + public global::ResembleAI.SpeechToTextUuidQuestionsGetResponsesContentApplicationJsonSchemaMeta? Type259 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementListAudioEnhancementsResponse200? Type260 { get; set; } + public global::ResembleAI.SpeechToTextListTranscriptQuestionsResponse200? Type260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type261 { get; set; } + public global::System.Collections.Generic.IList? Type261 { get; set; } /// /// /// - public global::ResembleAI.ListAudioEnhancementsRequestBadRequestError? Type262 { get; set; } + public global::ResembleAI.SpeechToTextUuidQuestionsQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type262 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsPostResponsesContentApplicationJsonSchemaStatus? Type263 { get; set; } + public global::ResembleAI.SpeechToTextGetTranscriptQuestionResponse200? Type263 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementCreateAudioEnhancementResponse202? Type264 { get; set; } + public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsStatus? Type264 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequestBadRequestError? Type265 { get; set; } + public global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItems? Type265 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequestForbiddenError? Type266 { get; set; } + public global::ResembleAI.AudioEnhancementListAudioEnhancementsResponse200? Type266 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus? Type267 { get; set; } + public global::System.Collections.Generic.IList? Type267 { get; set; } /// /// /// - public global::ResembleAI.AudioEnhancementGetAudioEnhancementResponse200? Type268 { get; set; } + public global::ResembleAI.ListAudioEnhancementsRequestBadRequestError? Type268 { get; set; } /// /// /// - public global::ResembleAI.GetAudioEnhancementRequestNotFoundError? Type269 { get; set; } + public global::ResembleAI.AudioEnhancementsPostResponsesContentApplicationJsonSchemaStatus? Type269 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type270 { get; set; } + public global::ResembleAI.AudioEnhancementCreateAudioEnhancementResponse202? Type270 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatus? Type271 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequestBadRequestError? Type271 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusTextToSpeech? Type272 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequestForbiddenError? Type272 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusFill? Type273 { get; set; } + public global::ResembleAI.AudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus? Type273 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusVoiceConversion? Type274 { get; set; } + public global::ResembleAI.AudioEnhancementGetAudioEnhancementResponse200? Type274 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsApiSupport? Type275 { get; set; } + public global::ResembleAI.GetAudioEnhancementRequestNotFoundError? Type275 { get; set; } /// /// /// - public global::ResembleAI.VoicesListVoicesResponse200? Type276 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type277 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatus? Type277 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItem? Type278 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusTextToSpeech? Type278 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatus? Type279 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusFill? Type279 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type280 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusVoiceConversion? Type280 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type281 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsApiSupport? Type281 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type282 { get; set; } + public global::ResembleAI.VoicesListVoicesResponse200? Type282 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemApiSupport? Type283 { get; set; } + public global::System.Collections.Generic.IList? Type283 { get; set; } /// /// /// - public global::ResembleAI.VoicesCreateVoiceResponse200? Type284 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItem? Type284 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItem? Type285 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatus? Type285 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatus? Type286 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type286 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type287 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type287 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type288 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type288 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type289 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemApiSupport? Type289 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemApiSupport? Type290 { get; set; } + public global::ResembleAI.VoicesCreateVoiceResponse200? Type290 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetVoiceResponse200? Type291 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItem? Type291 { get; set; } /// /// /// - public global::ResembleAI.VoicesDeleteVoiceResponse200? Type292 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatus? Type292 { get; set; } /// /// /// - public global::ResembleAI.VoicesBuildVoiceResponse200? Type293 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type293 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? Type294 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type294 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? Type295 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type296 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemApiSupport? Type296 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? Type297 { get; set; } + public global::ResembleAI.VoicesGetVoiceResponse200? Type297 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems? Type298 { get; set; } + public global::ResembleAI.VoicesDeleteVoiceResponse200? Type298 { get; set; } /// /// /// - public global::ResembleAI.RecordingsListRecordingsResponse200? Type299 { get; set; } + public global::ResembleAI.VoicesBuildVoiceResponse200? Type299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type300 { get; set; } + public global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? Type300 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsPostResponsesContentApplicationJsonSchemaItem? Type301 { get; set; } + public global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? Type301 { get; set; } /// /// /// - public global::ResembleAI.RecordingsCreateRecordingResponse200? Type302 { get; set; } + public global::System.Collections.Generic.IList? Type302 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdGetResponsesContentApplicationJsonSchemaItem? Type303 { get; set; } + public global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? Type303 { get; set; } /// /// /// - public global::ResembleAI.RecordingsGetRecordingResponse200? Type304 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems? Type304 { get; set; } /// /// /// - public global::ResembleAI.RecordingsDeleteRecordingResponse200? Type305 { get; set; } + public global::ResembleAI.RecordingsListRecordingsResponse200? Type305 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdPatchResponsesContentApplicationJsonSchemaItem? Type306 { get; set; } + public global::System.Collections.Generic.IList? Type306 { get; set; } /// /// /// - public global::ResembleAI.RecordingsUpdateRecordingResponse200? Type307 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsPostResponsesContentApplicationJsonSchemaItem? Type307 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsGetResponsesContentApplicationJsonSchemaItemsItems? Type308 { get; set; } + public global::ResembleAI.RecordingsCreateRecordingResponse200? Type308 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsListTermSubstitutionsResponse200? Type309 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdGetResponsesContentApplicationJsonSchemaItem? Type309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type310 { get; set; } + public global::ResembleAI.RecordingsGetRecordingResponse200? Type310 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsPostResponsesContentApplicationJsonSchemaItem? Type311 { get; set; } + public global::ResembleAI.RecordingsDeleteRecordingResponse200? Type311 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsCreateTermSubstitutionResponse200? Type312 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdPatchResponsesContentApplicationJsonSchemaItem? Type312 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsIdGetResponsesContentApplicationJsonSchemaItem? Type313 { get; set; } + public global::ResembleAI.RecordingsUpdateRecordingResponse200? Type313 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsGetTermSubstitutionResponse200? Type314 { get; set; } + public global::ResembleAI.TermSubstitutionsGetResponsesContentApplicationJsonSchemaItemsItems? Type314 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsDeleteTermSubstitutionResponse200? Type315 { get; set; } + public global::ResembleAI.TermSubstitutionsListTermSubstitutionsResponse200? Type315 { get; set; } /// /// /// - public global::ResembleAI.PronunciationsGetParametersStatus? Type316 { get; set; } + public global::System.Collections.Generic.IList? Type316 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationStatus? Type317 { get; set; } + public global::ResembleAI.TermSubstitutionsPostResponsesContentApplicationJsonSchemaItem? Type317 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciation? Type318 { get; set; } + public global::ResembleAI.TermSubstitutionsCreateTermSubstitutionResponse200? Type318 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsListPronunciationsResponse200? Type319 { get; set; } + public global::ResembleAI.TermSubstitutionsIdGetResponsesContentApplicationJsonSchemaItem? Type319 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type320 { get; set; } + public global::ResembleAI.TermSubstitutionsGetTermSubstitutionResponse200? Type320 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsCreatePronunciationResponse201? Type321 { get; set; } + public global::ResembleAI.TermSubstitutionsDeleteTermSubstitutionResponse200? Type321 { get; set; } /// /// /// - public global::ResembleAI.PronunciationsBulkPostResponsesContentApplicationJsonSchemaErrorsItems? Type322 { get; set; } + public global::ResembleAI.PronunciationsGetParametersStatus? Type322 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsBulkCreatePronunciationsResponse201? Type323 { get; set; } + public global::ResembleAI.CustomPronunciationStatus? Type323 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type324 { get; set; } + public global::ResembleAI.CustomPronunciation? Type324 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsGetPronunciationResponse200? Type325 { get; set; } + public global::ResembleAI.CustomPronunciationsListPronunciationsResponse200? Type325 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsDeletePronunciationResponse200? Type326 { get; set; } + public global::System.Collections.Generic.IList? Type326 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsUpdatePronunciationResponse200? Type327 { get; set; } + public global::ResembleAI.CustomPronunciationsCreatePronunciationResponse201? Type327 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsGetResponsesContentApplicationJsonSchemaItemsItems? Type328 { get; set; } + public global::ResembleAI.PronunciationsBulkPostResponsesContentApplicationJsonSchemaErrorsItems? Type328 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsListVoiceSettingsPresetsResponse200? Type329 { get; set; } + public global::ResembleAI.CustomPronunciationsBulkCreatePronunciationsResponse201? Type329 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type330 { get; set; } + public global::System.Collections.Generic.IList? Type330 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsPostResponsesContentApplicationJsonSchemaData? Type331 { get; set; } + public global::ResembleAI.CustomPronunciationsGetPronunciationResponse200? Type331 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsCreateVoiceSettingsPresetResponse201? Type332 { get; set; } + public global::ResembleAI.CustomPronunciationsDeletePronunciationResponse200? Type332 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUuidGetResponsesContentApplicationJsonSchemaData? Type333 { get; set; } + public global::ResembleAI.CustomPronunciationsUpdatePronunciationResponse200? Type333 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsGetVoiceSettingsPresetResponse200? Type334 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsGetResponsesContentApplicationJsonSchemaItemsItems? Type334 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsDeleteVoiceSettingsPresetResponse200? Type335 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsListVoiceSettingsPresetsResponse200? Type335 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUuidPatchResponsesContentApplicationJsonSchemaData? Type336 { get; set; } + public global::System.Collections.Generic.IList? Type336 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUpdateVoiceSettingsPresetResponse200? Type337 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsPostResponsesContentApplicationJsonSchemaData? Type337 { get; set; } /// /// /// - public global::ResembleAI.ProjectsGetResponsesContentApplicationJsonSchemaItemsItems? Type338 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsCreateVoiceSettingsPresetResponse201? Type338 { get; set; } /// /// /// - public global::ResembleAI.ProjectsListProjectsResponse200? Type339 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUuidGetResponsesContentApplicationJsonSchemaData? Type339 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type340 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsGetVoiceSettingsPresetResponse200? Type340 { get; set; } /// /// /// - public global::ResembleAI.ProjectsPostResponsesContentApplicationJsonSchemaItem? Type341 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsDeleteVoiceSettingsPresetResponse200? Type341 { get; set; } /// /// /// - public global::ResembleAI.ProjectsCreateProjectResponse200? Type342 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUuidPatchResponsesContentApplicationJsonSchemaData? Type342 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidGetResponsesContentApplicationJsonSchemaItem? Type343 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUpdateVoiceSettingsPresetResponse200? Type343 { get; set; } /// /// /// - public global::ResembleAI.ProjectsGetProjectResponse200? Type344 { get; set; } + public global::ResembleAI.ProjectsGetResponsesContentApplicationJsonSchemaItemsItems? Type344 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidPutResponsesContentApplicationJsonSchemaItem? Type345 { get; set; } + public global::ResembleAI.ProjectsListProjectsResponse200? Type345 { get; set; } /// /// /// - public global::ResembleAI.ProjectsUpdateProjectResponse200? Type346 { get; set; } + public global::System.Collections.Generic.IList? Type346 { get; set; } /// /// /// - public global::ResembleAI.ProjectsDeleteProjectResponse200? Type347 { get; set; } + public global::ResembleAI.ProjectsPostResponsesContentApplicationJsonSchemaItem? Type347 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsGetResponsesContentApplicationJsonSchemaItemsItems? Type348 { get; set; } + public global::ResembleAI.ProjectsCreateProjectResponse200? Type348 { get; set; } /// /// /// - public global::ResembleAI.ClipsListClipsResponse200? Type349 { get; set; } + public global::ResembleAI.ProjectsProjectUuidGetResponsesContentApplicationJsonSchemaItem? Type349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type350 { get; set; } + public global::ResembleAI.ProjectsGetProjectResponse200? Type350 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsClipUuidGetResponsesContentApplicationJsonSchemaItem? Type351 { get; set; } + public global::ResembleAI.ProjectsProjectUuidPutResponsesContentApplicationJsonSchemaItem? Type351 { get; set; } /// /// /// - public global::ResembleAI.ClipsGetClipResponse200? Type352 { get; set; } + public global::ResembleAI.ProjectsUpdateProjectResponse200? Type352 { get; set; } /// /// /// - public global::ResembleAI.ClipsDeleteClipResponse200? Type353 { get; set; } + public global::ResembleAI.ProjectsDeleteProjectResponse200? Type353 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsClipUuidPatchResponsesContentApplicationJsonSchemaItem? Type354 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsGetResponsesContentApplicationJsonSchemaItemsItems? Type354 { get; set; } /// /// /// - public global::ResembleAI.ClipsUpdateClipResponse200? Type355 { get; set; } + public global::ResembleAI.ClipsListClipsResponse200? Type355 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type356 { get; set; } + public global::System.Collections.Generic.IList? Type356 { get; set; } /// /// /// - public global::ResembleAI.DuetsListDuetVoicesResponse200? Type357 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsClipUuidGetResponsesContentApplicationJsonSchemaItem? Type357 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type358 { get; set; } + public global::ResembleAI.ClipsGetClipResponse200? Type358 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesPostResponsesContentApplicationJsonSchemaItem? Type359 { get; set; } + public global::ResembleAI.ClipsDeleteClipResponse200? Type359 { get; set; } /// /// /// - public global::ResembleAI.DuetsCreateDuetVoiceResponse200? Type360 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsClipUuidPatchResponsesContentApplicationJsonSchemaItem? Type360 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesIdPutResponsesContentApplicationJsonSchemaItem? Type361 { get; set; } + public global::ResembleAI.ClipsUpdateClipResponse200? Type361 { get; set; } /// /// /// - public global::ResembleAI.DuetsUpdateDuetVoiceResponse200? Type362 { get; set; } + public global::ResembleAI.DuetVoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type362 { get; set; } /// /// /// - public global::ResembleAI.DuetsDeleteDuetVoiceResponse200? Type363 { get; set; } + public global::ResembleAI.DuetsListDuetVoicesResponse200? Type363 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicePairsGetResponsesContentApplicationJsonSchemaItemsItems? Type364 { get; set; } + public global::System.Collections.Generic.IList? Type364 { get; set; } /// /// /// - public global::ResembleAI.DuetsListDuetVoicePairsResponse200? Type365 { get; set; } + public global::ResembleAI.DuetVoicesPostResponsesContentApplicationJsonSchemaItem? Type365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type366 { get; set; } + public global::ResembleAI.DuetsCreateDuetVoiceResponse200? Type366 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicePairsPostResponsesContentApplicationJsonSchemaItem? Type367 { get; set; } + public global::ResembleAI.DuetVoicesIdPutResponsesContentApplicationJsonSchemaItem? Type367 { get; set; } /// /// /// - public global::ResembleAI.DuetsCreateDuetVoicePairResponse200? Type368 { get; set; } + public global::ResembleAI.DuetsUpdateDuetVoiceResponse200? Type368 { get; set; } /// /// /// - public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeaker? Type369 { get; set; } + public global::ResembleAI.DuetsDeleteDuetVoiceResponse200? Type369 { get; set; } /// /// /// - public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItems? Type370 { get; set; } + public global::ResembleAI.DuetVoicePairsGetResponsesContentApplicationJsonSchemaItemsItems? Type370 { get; set; } /// /// /// - public global::ResembleAI.DuetPostResponsesContentApplicationJsonSchemaItem? Type371 { get; set; } + public global::ResembleAI.DuetsListDuetVoicePairsResponse200? Type371 { get; set; } /// /// /// - public global::ResembleAI.DuetsGenerateDuetResponse200? Type372 { get; set; } + public global::System.Collections.Generic.IList? Type372 { get; set; } /// /// /// - public global::ResembleAI.AccountGetResponsesContentApplicationJsonSchemaItem? Type373 { get; set; } + public global::ResembleAI.DuetVoicePairsPostResponsesContentApplicationJsonSchemaItem? Type373 { get; set; } /// /// /// - public global::ResembleAI.AccountGetAccountResponse200? Type374 { get; set; } + public global::ResembleAI.DuetsCreateDuetVoicePairResponse200? Type374 { get; set; } /// /// /// - public global::ResembleAI.AccountTeamsGetResponsesContentApplicationJsonSchemaItemsItems? Type375 { get; set; } + public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeaker? Type375 { get; set; } /// /// /// - public global::ResembleAI.AccountGetTeamsResponse200? Type376 { get; set; } + public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItems? Type376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type377 { get; set; } + public global::ResembleAI.DuetPostResponsesContentApplicationJsonSchemaItem? Type377 { get; set; } /// /// /// - public global::ResembleAI.AccountTeamsTeamUuidGetResponsesContentApplicationJsonSchemaItem? Type378 { get; set; } + public global::ResembleAI.DuetsGenerateDuetResponse200? Type378 { get; set; } /// /// /// - public global::ResembleAI.AccountGetTeamResponse200? Type379 { get; set; } + public global::ResembleAI.AccountGetResponsesContentApplicationJsonSchemaItem? Type379 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanPlanType? Type380 { get; set; } + public global::ResembleAI.AccountGetAccountResponse200? Type380 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanBillingInterval? Type381 { get; set; } + public global::ResembleAI.AccountTeamsGetResponsesContentApplicationJsonSchemaItemsItems? Type381 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanFamily? Type382 { get; set; } + public global::ResembleAI.AccountGetTeamsResponse200? Type382 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanProductCategory? Type383 { get; set; } + public global::System.Collections.Generic.IList? Type383 { get; set; } /// /// /// - public global::ResembleAI.BillingProductRateTier? Type384 { get; set; } + public global::ResembleAI.AccountTeamsTeamUuidGetResponsesContentApplicationJsonSchemaItem? Type384 { get; set; } /// /// /// - public global::ResembleAI.BillingProductFamily? Type385 { get; set; } + public global::ResembleAI.AccountGetTeamResponse200? Type385 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanProduct? Type386 { get; set; } + public global::ResembleAI.BillingPlanPlanType? Type386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type387 { get; set; } + public global::ResembleAI.BillingPlanBillingInterval? Type387 { get; set; } /// /// /// - public global::ResembleAI.BillingPlan? Type388 { get; set; } + public global::ResembleAI.BillingPlanFamily? Type388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type389 { get; set; } + public global::ResembleAI.BillingPlanProductCategory? Type389 { get; set; } /// /// /// - public global::ResembleAI.BillingPlansResponse? Type390 { get; set; } + public global::ResembleAI.BillingProductRateTier? Type390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type391 { get; set; } + public global::ResembleAI.BillingProductFamily? Type391 { get; set; } /// /// /// - public global::ResembleAI.BillingError? Type392 { get; set; } + public global::ResembleAI.BillingPlanProduct? Type392 { get; set; } /// /// /// - public global::ResembleAI.BillingPlanResponse? Type393 { get; set; } + public global::System.Collections.Generic.IList? Type393 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionStatus? Type394 { get; set; } + public global::ResembleAI.BillingPlan? Type394 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionProductCategory? Type395 { get; set; } + public global::System.Collections.Generic.IList? Type395 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionProduct? Type396 { get; set; } + public global::ResembleAI.BillingPlansResponse? Type396 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionPlanProduct? Type397 { get; set; } + public global::System.Collections.Generic.IList? Type397 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionItem? Type398 { get; set; } + public global::ResembleAI.BillingError? Type398 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscription? Type399 { get; set; } + public global::ResembleAI.BillingPlanResponse? Type399 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type400 { get; set; } + public global::ResembleAI.BillingSubscriptionStatus? Type400 { get; set; } /// /// /// - public global::ResembleAI.BillingSubscriptionResponse? Type401 { get; set; } + public global::ResembleAI.BillingSubscriptionProductCategory? Type401 { get; set; } /// /// /// - public global::ResembleAI.BillingForbiddenError? Type402 { get; set; } + public global::ResembleAI.BillingSubscriptionProduct? Type402 { get; set; } /// /// /// - public global::ResembleAI.BillingProductQuantityChange? Type403 { get; set; } + public global::ResembleAI.BillingSubscriptionPlanProduct? Type403 { get; set; } /// /// /// - public global::ResembleAI.BillingUpdateProductsRequest? Type404 { get; set; } + public global::ResembleAI.BillingSubscriptionItem? Type404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type405 { get; set; } + public global::ResembleAI.BillingSubscription? Type405 { get; set; } /// /// /// - public global::ResembleAI.BillingPaymentActionRequired? Type406 { get; set; } + public global::System.Collections.Generic.IList? Type406 { get; set; } /// /// /// - public global::ResembleAI.BillingValidationErrors? Type407 { get; set; } + public global::ResembleAI.BillingSubscriptionResponse? Type407 { get; set; } /// /// /// - public global::ResembleAI.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError? Type408 { get; set; } + public global::ResembleAI.BillingForbiddenError? Type408 { get; set; } /// /// /// - public global::ResembleAI.BillingConfirmPaymentRequest? Type409 { get; set; } + public global::ResembleAI.BillingProductQuantityChange? Type409 { get; set; } /// /// /// - public global::ResembleAI.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError? Type410 { get; set; } + public global::ResembleAI.BillingUpdateProductsRequest? Type410 { get; set; } /// /// /// - public global::ResembleAI.BillingChangePlanRequest? Type411 { get; set; } + public global::System.Collections.Generic.IList? Type411 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type412 { get; set; } + public global::ResembleAI.BillingPaymentActionRequired? Type412 { get; set; } /// /// /// - public global::ResembleAI.ChangeBillingPlanRequestUnprocessableEntityError? Type413 { get; set; } + public global::ResembleAI.BillingValidationErrors? Type413 { get; set; } /// /// /// - public global::ResembleAI.BillingWallet? Type414 { get; set; } + public global::ResembleAI.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError? Type414 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletResponse? Type415 { get; set; } + public global::ResembleAI.BillingConfirmPaymentRequest? Type415 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletTransactionTransactionType? Type416 { get; set; } + public global::ResembleAI.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError? Type416 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletTransaction? Type417 { get; set; } + public global::ResembleAI.BillingChangePlanRequest? Type417 { get; set; } /// /// /// - public global::ResembleAI.BillingPagination? Type418 { get; set; } + public global::System.Collections.Generic.Dictionary? Type418 { get; set; } /// /// /// - public global::ResembleAI.BillingTransactionsResponse? Type419 { get; set; } + public global::ResembleAI.ChangeBillingPlanRequestUnprocessableEntityError? Type419 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type420 { get; set; } + public global::ResembleAI.BillingWallet? Type420 { get; set; } /// /// /// - public global::ResembleAI.BillingAutoReloadSetting? Type421 { get; set; } + public global::ResembleAI.BillingWalletResponse? Type421 { get; set; } /// /// /// - public global::ResembleAI.BillingAutoReloadResponse? Type422 { get; set; } + public global::ResembleAI.BillingWalletTransactionTransactionType? Type422 { get; set; } /// /// /// - public global::ResembleAI.BillingUpdateAutoReloadRequest? Type423 { get; set; } + public global::ResembleAI.BillingWalletTransaction? Type423 { get; set; } /// /// /// - public global::ResembleAI.BillingWalletUpdateBillingAutoReloadResponse200? Type424 { get; set; } + public global::ResembleAI.BillingPagination? Type424 { get; set; } /// /// /// - public global::ResembleAI.UpdateBillingAutoReloadRequestUnprocessableEntityError? Type425 { get; set; } + public global::ResembleAI.BillingTransactionsResponse? Type425 { get; set; } /// /// /// - public global::ResembleAI.AccountBillingUsageGetResponsesContentApplicationJsonSchemaItem? Type426 { get; set; } + public global::System.Collections.Generic.IList? Type426 { get; set; } /// /// /// - public global::ResembleAI.AccountGetBillingUsageResponse200? Type427 { get; set; } + public global::ResembleAI.BillingAutoReloadSetting? Type427 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectionRequest? Type428 { get; set; } + public global::ResembleAI.BillingAutoReloadResponse? Type428 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectBatchRequest? Type429 { get; set; } + public global::ResembleAI.BillingUpdateAutoReloadRequest? Type429 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type430 { get; set; } + public global::ResembleAI.BillingWalletUpdateBillingAutoReloadResponse200? Type430 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectFeedbackRequest? Type431 { get; set; } + public global::ResembleAI.UpdateBillingAutoReloadRequestUnprocessableEntityError? Type431 { get; set; } /// /// /// - public global::ResembleAI.RunDetectAgentInvestigationRequest? Type432 { get; set; } + public global::ResembleAI.AccountBillingUsageGetResponsesContentApplicationJsonSchemaItem? Type432 { get; set; } /// /// /// - public global::ResembleAI.RunIntelligenceRequest? Type433 { get; set; } + public global::ResembleAI.AccountGetBillingUsageResponse200? Type433 { get; set; } /// /// /// - public global::ResembleAI.AskDetectIntelligenceQuestionRequest? Type434 { get; set; } + public global::ResembleAI.CreateDetectionRequest? Type434 { get; set; } /// /// /// - public global::ResembleAI.CreateIdentityAttachmentRequest? Type435 { get; set; } + public global::ResembleAI.CreateDetectBatchRequest? Type435 { get; set; } /// /// /// - public global::ResembleAI.SearchIdentitiesRequest? Type436 { get; set; } + public global::System.Collections.Generic.IList? Type436 { get; set; } /// /// /// - public global::ResembleAI.CreateSignalSubmissionRequest? Type437 { get; set; } + public global::ResembleAI.CreateDetectFeedbackRequest? Type437 { get; set; } /// /// /// - public global::ResembleAI.CreateSecureUploadRequest? Type438 { get; set; } + public global::ResembleAI.RunDetectAgentInvestigationRequest? Type438 { get; set; } /// /// /// - public global::ResembleAI.SynthesizeRequest? Type439 { get; set; } + public global::ResembleAI.RunIntelligenceRequest? Type439 { get; set; } /// /// /// - public global::ResembleAI.StreamSynthesizeRequest? Type440 { get; set; } + public global::ResembleAI.AskDetectIntelligenceQuestionRequest? Type440 { get; set; } /// /// /// - public global::ResembleAI.CreateTranscriptRequest? Type441 { get; set; } + public global::ResembleAI.CreateIdentityAttachmentRequest? Type441 { get; set; } /// /// /// - public global::ResembleAI.AskTranscriptQuestionRequest? Type442 { get; set; } + public global::ResembleAI.SearchIdentitiesRequest? Type442 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequest? Type443 { get; set; } + public global::ResembleAI.CreateSignalSubmissionRequest? Type443 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceRequest? Type444 { get; set; } + public global::ResembleAI.CreateSecureUploadRequest? Type444 { get; set; } /// /// /// - public global::ResembleAI.BuildVoiceRequest? Type445 { get; set; } + public global::ResembleAI.SynthesizeRequest? Type445 { get; set; } /// /// /// - public global::ResembleAI.GenerateVoiceDesignRequest? Type446 { get; set; } + public global::ResembleAI.StreamSynthesizeRequest? Type446 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceFromCandidateRequest? Type447 { get; set; } + public global::ResembleAI.CreateTranscriptRequest? Type447 { get; set; } /// /// /// - public global::ResembleAI.CreateRecordingRequest? Type448 { get; set; } + public global::ResembleAI.AskTranscriptQuestionRequest? Type448 { get; set; } /// /// /// - public global::ResembleAI.UpdateRecordingRequest? Type449 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequest? Type449 { get; set; } /// /// /// - public global::ResembleAI.CreateTermSubstitutionRequest? Type450 { get; set; } + public global::ResembleAI.CreateVoiceRequest? Type450 { get; set; } /// /// /// - public global::ResembleAI.CreatePronunciationRequest? Type451 { get; set; } + public global::ResembleAI.BuildVoiceRequest? Type451 { get; set; } /// /// /// - public global::ResembleAI.BulkCreatePronunciationsRequest? Type452 { get; set; } + public global::ResembleAI.GenerateVoiceDesignRequest? Type452 { get; set; } /// /// /// - public global::ResembleAI.UpdatePronunciationRequest? Type453 { get; set; } + public global::ResembleAI.CreateVoiceFromCandidateRequest? Type453 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceSettingsPresetRequest? Type454 { get; set; } + public global::ResembleAI.CreateRecordingRequest? Type454 { get; set; } /// /// /// - public global::ResembleAI.UpdateVoiceSettingsPresetRequest? Type455 { get; set; } + public global::ResembleAI.UpdateRecordingRequest? Type455 { get; set; } /// /// /// - public global::ResembleAI.CreateProjectRequest? Type456 { get; set; } + public global::ResembleAI.CreateTermSubstitutionRequest? Type456 { get; set; } /// /// /// - public global::ResembleAI.UpdateProjectRequest? Type457 { get; set; } + public global::ResembleAI.CreatePronunciationRequest? Type457 { get; set; } /// /// /// - public global::ResembleAI.UpdateClipRequest? Type458 { get; set; } + public global::ResembleAI.BulkCreatePronunciationsRequest? Type458 { get; set; } /// /// /// - public global::ResembleAI.CreateDuetVoiceRequest? Type459 { get; set; } + public global::ResembleAI.UpdatePronunciationRequest? Type459 { get; set; } /// /// /// - public global::ResembleAI.UpdateDuetVoiceRequest? Type460 { get; set; } + public global::ResembleAI.CreateVoiceSettingsPresetRequest? Type460 { get; set; } /// /// /// - public global::ResembleAI.CreateDuetVoicePairRequest? Type461 { get; set; } + public global::ResembleAI.UpdateVoiceSettingsPresetRequest? Type461 { get; set; } /// /// /// - public global::ResembleAI.GenerateDuetRequest? Type462 { get; set; } + public global::ResembleAI.CreateProjectRequest? Type462 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type463 { get; set; } + public global::ResembleAI.UpdateProjectRequest? Type463 { get; set; } + /// + /// + /// + public global::ResembleAI.UpdateClipRequest? Type464 { get; set; } + /// + /// + /// + public global::ResembleAI.CreateDuetVoiceRequest? Type465 { get; set; } + /// + /// + /// + public global::ResembleAI.UpdateDuetVoiceRequest? Type466 { get; set; } + /// + /// + /// + public global::ResembleAI.CreateDuetVoicePairRequest? Type467 { get; set; } + /// + /// + /// + public global::ResembleAI.GenerateDuetRequest? Type468 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type469 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType0 { get; set; } + public global::System.Collections.Generic.List? ListType0 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1 { get; set; } + public global::System.Collections.Generic.List? ListType1 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2 { get; set; } + public global::System.Collections.Generic.List? ListType2 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType3 { get; set; } + public global::System.Collections.Generic.List? ListType3 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType4 { get; set; } + public global::System.Collections.Generic.List? ListType4 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType5 { get; set; } + public global::System.Collections.Generic.List? ListType5 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType6 { get; set; } + public global::System.Collections.Generic.List? ListType6 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? ListType7 { get; set; } + public global::System.Collections.Generic.List? ListType7 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType8 { get; set; } + public global::System.Collections.Generic.List? ListType8 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType9 { get; set; } + public global::System.Collections.Generic.List? ListType9 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType10 { get; set; } + public global::System.Collections.Generic.Dictionary>? ListType10 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType11 { get; set; } + public global::System.Collections.Generic.List? ListType11 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType12 { get; set; } + public global::System.Collections.Generic.List? ListType12 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType13 { get; set; } + public global::System.Collections.Generic.List? ListType13 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType14 { get; set; } + public global::System.Collections.Generic.List? ListType14 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType15 { get; set; } + public global::System.Collections.Generic.List? ListType15 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType16 { get; set; } + public global::System.Collections.Generic.List? ListType16 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType17 { get; set; } + public global::System.Collections.Generic.List? ListType17 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType18 { get; set; } + public global::System.Collections.Generic.List? ListType18 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType19 { get; set; } + public global::System.Collections.Generic.List? ListType19 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType20 { get; set; } + public global::System.Collections.Generic.List? ListType20 { get; set; } /// /// /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs index c292210..f54ad69 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs @@ -91,6 +91,13 @@ public sealed partial class CreateDetectionRequest [global::System.Text.Json.Serialization.JsonPropertyName("intelligence")] public bool? Intelligence { get; set; } + /// + /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("detect_watermark")] + public bool? DetectWatermark { get; set; } + /// /// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.
/// Default Value: false @@ -186,6 +193,10 @@ public sealed partial class CreateDetectionRequest /// Run multimodal intelligence analysis on the media
/// Default Value: false /// + /// + /// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.
+ /// Default Value: false + /// /// /// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.
/// Default Value: false @@ -226,6 +237,7 @@ public CreateDetectionRequest( global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality, bool? faceOnly, bool? intelligence, + bool? detectWatermark, bool? inferFromIntelligence, bool? audioSourceTracing, bool? signal, @@ -245,6 +257,7 @@ public CreateDetectionRequest( this.Modality = modality; this.FaceOnly = faceOnly; this.Intelligence = intelligence; + this.DetectWatermark = detectWatermark; this.InferFromIntelligence = inferFromIntelligence; this.AudioSourceTracing = audioSourceTracing; this.Signal = signal; diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequestPaymentRequiredError.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequestPaymentRequiredError.Json.g.cs new file mode 100644 index 0000000..e107ece --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequestPaymentRequiredError.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class CreateDetectionRequestPaymentRequiredError + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ResembleAI.CreateDetectionRequestPaymentRequiredError? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.CreateDetectionRequestPaymentRequiredError), + jsonSerializerContext) as global::ResembleAI.CreateDetectionRequestPaymentRequiredError; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.CreateDetectionRequestPaymentRequiredError? FromJson( + string json) + { + return FromJson( + json, + global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::ResembleAI.CreateDetectionRequestPaymentRequiredError? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::ResembleAI.CreateDetectionRequestPaymentRequiredError), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.CreateDetectionRequestPaymentRequiredError; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequestPaymentRequiredError.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequestPaymentRequiredError.g.cs new file mode 100644 index 0000000..a802916 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequestPaymentRequiredError.g.cs @@ -0,0 +1,80 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// + /// + public sealed partial class CreateDetectionRequestPaymentRequiredError + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("success")] + public bool? Success { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] + public string? ErrorCode { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("details")] + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails? Details { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateDetectionRequestPaymentRequiredError( + bool? success, + string? errorCode, + string? error, + string? message, + global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails? details) + { + this.Success = success; + this.ErrorCode = errorCode; + this.Error = error; + this.Message = message; + this.Details = details; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateDetectionRequestPaymentRequiredError() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItems.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItems.g.cs index b63dfac..767a126 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItems.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItems.g.cs @@ -24,7 +24,7 @@ public sealed partial class DetectGetResponsesContentApplicationJsonSchemaItemsI public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? MediaType { get; set; } /// - /// + /// Processing state for the requested Detect work. For an otherwise successful Detect with watermark analysis, this remains processing until the linked analysis completes or fails. A core detection failure still reports failed. /// [global::System.Text.Json.Serialization.JsonPropertyName("status")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatusJsonConverter))] @@ -44,6 +44,12 @@ public sealed partial class DetectGetResponsesContentApplicationJsonSchemaItemsI [global::System.Text.Json.Serialization.JsonPropertyName("face_only")] public bool? FaceOnly { get; set; } + /// + /// Conditional watermark analysis requested with `detect_watermark=true`. The object is omitted when watermark analysis was not requested. Resemble watermark metrics and the optional SynthID verdict are independent of the deepfake verdict. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("watermark")] + public global::ResembleAI.DetectWatermarkAnalysis? Watermark { get; set; } + /// /// Audio detection metrics (for audio and video media types) /// @@ -176,7 +182,9 @@ public sealed partial class DetectGetResponsesContentApplicationJsonSchemaItemsI ///
/// /// - /// + /// + /// Processing state for the requested Detect work. For an otherwise successful Detect with watermark analysis, this remains processing until the linked analysis completes or fails. A core detection failure still reports failed. + /// /// /// Which detection modality was requested. `all` when not specified (the default). Only meaningful for video detects. /// @@ -184,6 +192,9 @@ public sealed partial class DetectGetResponsesContentApplicationJsonSchemaItemsI /// Effective face-only setting for this detect. `true` only for video inputs that
/// include visual analysis; `false` for audio, image, and audio-only video detects. /// + /// + /// Conditional watermark analysis requested with `detect_watermark=true`. The object is omitted when watermark analysis was not requested. Resemble watermark metrics and the optional SynthID verdict are independent of the deepfake verdict. + /// /// /// Audio detection metrics (for audio and video media types) /// @@ -232,6 +243,7 @@ public DetectGetResponsesContentApplicationJsonSchemaItemsItems( global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus? status, global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsModality? modality, bool? faceOnly, + global::ResembleAI.DetectWatermarkAnalysis? watermark, global::ResembleAI.DetectAudioMetrics? metrics, global::ResembleAI.DetectImageMetrics? imageMetrics, global::ResembleAI.DetectVideoMetrics? videoMetrics, @@ -257,6 +269,7 @@ public DetectGetResponsesContentApplicationJsonSchemaItemsItems( this.Status = status; this.Modality = modality; this.FaceOnly = faceOnly; + this.Watermark = watermark; this.Metrics = metrics; this.ImageMetrics = imageMetrics; this.VideoMetrics = videoMetrics; diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus.g.cs index 7497d19..ee2225f 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus.g.cs @@ -4,7 +4,7 @@ namespace ResembleAI { /// - /// + /// Processing state for the requested Detect work. For an otherwise successful Detect with watermark analysis, this remains processing until the linked analysis completes or fails. A core detection failure still reports failed. /// public enum DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus { diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaDetails.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaDetails.Json.g.cs new file mode 100644 index 0000000..cf71e85 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaDetails.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DetectPostResponsesContentApplicationJsonSchemaDetails + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails), + jsonSerializerContext) as global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails? FromJson( + string json) + { + return FromJson( + json, + global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaDetails; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaDetails.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaDetails.g.cs new file mode 100644 index 0000000..18d1d34 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaDetails.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// + /// + public sealed partial class DetectPostResponsesContentApplicationJsonSchemaDetails + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("estimated_cost_cents")] + public double? EstimatedCostCents { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("detect_cost_cents")] + public double? DetectCostCents { get; set; } + + /// + /// Present only when `detect_watermark=true` was requested. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("watermark_cost_cents")] + public double? WatermarkCostCents { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// Present only when `detect_watermark=true` was requested. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DetectPostResponsesContentApplicationJsonSchemaDetails( + double? estimatedCostCents, + double? detectCostCents, + double? watermarkCostCents) + { + this.EstimatedCostCents = estimatedCostCents; + this.DetectCostCents = detectCostCents; + this.WatermarkCostCents = watermarkCostCents; + } + + /// + /// Initializes a new instance of the class. + /// + public DetectPostResponsesContentApplicationJsonSchemaDetails() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItem.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItem.g.cs index 9732ac2..612d08e 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItem.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItem.g.cs @@ -15,10 +15,11 @@ public sealed partial class DetectPostResponsesContentApplicationJsonSchemaItem public string? Uuid { get; set; } /// - /// + /// Processing state for the requested Detect work. For an otherwise successful Detect with watermark analysis, this remains processing until the linked analysis completes or fails. A core detection failure still reports failed. /// [global::System.Text.Json.Serialization.JsonPropertyName("status")] - public string? Status { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemStatusJsonConverter))] + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus? Status { get; set; } /// /// Whether Zero Retention Mode is enabled for this detect @@ -67,6 +68,12 @@ public sealed partial class DetectPostResponsesContentApplicationJsonSchemaItem [global::System.Text.Json.Serialization.JsonPropertyName("face_only")] public bool? FaceOnly { get; set; } + /// + /// Conditional watermark analysis requested with `detect_watermark=true`. The object is omitted when watermark analysis was not requested. Resemble watermark metrics and the optional SynthID verdict are independent of the deepfake verdict. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("watermark")] + public global::ResembleAI.DetectWatermarkAnalysis? Watermark { get; set; } + /// /// Default Intelligence result when requested /// @@ -89,7 +96,9 @@ public sealed partial class DetectPostResponsesContentApplicationJsonSchemaItem /// Initializes a new instance of the class. /// /// - /// + /// + /// Processing state for the requested Detect work. For an otherwise successful Detect with watermark analysis, this remains processing until the linked analysis completes or fails. A core detection failure still reports failed. + /// /// /// Whether Zero Retention Mode is enabled for this detect /// @@ -115,6 +124,9 @@ public sealed partial class DetectPostResponsesContentApplicationJsonSchemaItem /// Effective face-only setting. `true` only for video inputs that include visual
/// analysis; `false` for audio, image, and audio-only video detects. /// + /// + /// Conditional watermark analysis requested with `detect_watermark=true`. The object is omitted when watermark analysis was not requested. Resemble watermark metrics and the optional SynthID verdict are independent of the deepfake verdict. + /// /// /// Default Intelligence result when requested /// @@ -126,7 +138,7 @@ public sealed partial class DetectPostResponsesContentApplicationJsonSchemaItem #endif public DetectPostResponsesContentApplicationJsonSchemaItem( string? uuid, - string? status, + global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemStatus? status, bool? zeroRetentionMode, global::System.DateTime? fileDeletedAt, string? url, @@ -134,6 +146,7 @@ public DetectPostResponsesContentApplicationJsonSchemaItem( string? filename, global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality? modality, bool? faceOnly, + global::ResembleAI.DetectWatermarkAnalysis? watermark, global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence? intelligence, global::ResembleAI.DetectC2paManifest? c2paManifest) { @@ -146,6 +159,7 @@ public DetectPostResponsesContentApplicationJsonSchemaItem( this.Filename = filename; this.Modality = modality; this.FaceOnly = faceOnly; + this.Watermark = watermark; this.Intelligence = intelligence; this.C2paManifest = c2paManifest; } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemStatus.g.cs new file mode 100644 index 0000000..05b7949 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemStatus.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Processing state for the requested Detect work. For an otherwise successful Detect with watermark analysis, this remains processing until the linked analysis completes or fails. A core detection failure still reports failed. + /// + public enum DetectPostResponsesContentApplicationJsonSchemaItemStatus + { + /// + /// + /// + Completed, + /// + /// + /// + Failed, + /// + /// + /// + Processing, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectPostResponsesContentApplicationJsonSchemaItemStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectPostResponsesContentApplicationJsonSchemaItemStatus value) + { + return value switch + { + DetectPostResponsesContentApplicationJsonSchemaItemStatus.Completed => "completed", + DetectPostResponsesContentApplicationJsonSchemaItemStatus.Failed => "failed", + DetectPostResponsesContentApplicationJsonSchemaItemStatus.Processing => "processing", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectPostResponsesContentApplicationJsonSchemaItemStatus? ToEnum(string value) + { + return value switch + { + "completed" => DetectPostResponsesContentApplicationJsonSchemaItemStatus.Completed, + "failed" => DetectPostResponsesContentApplicationJsonSchemaItemStatus.Failed, + "processing" => DetectPostResponsesContentApplicationJsonSchemaItemStatus.Processing, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItem.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItem.g.cs index 7ff2ad8..6039531 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItem.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItem.g.cs @@ -22,7 +22,7 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType? MediaType { get; set; } /// - /// Status of the Deepfake Detection job only. A completed Detect has verdict and metrics available, but its Intelligence results may still be processing. + /// Status of the requested Deepfake Detection work. For an otherwise successful Detect with watermark analysis, processing continues until that nested analysis completes or fails. A core detection failure still reports failed. A failed watermark analysis is terminal and does not fail an otherwise successful deepfake detection. Intelligence may still be processing after Detect reaches completed. /// [global::System.Text.Json.Serialization.JsonPropertyName("status")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatusJsonConverter))] @@ -80,6 +80,12 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt [global::System.Text.Json.Serialization.JsonPropertyName("face_only")] public bool? FaceOnly { get; set; } + /// + /// Conditional watermark analysis requested with `detect_watermark=true`. The object is omitted when watermark analysis was not requested. Resemble watermark metrics and the optional SynthID verdict are independent of the deepfake verdict. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("watermark")] + public global::ResembleAI.DetectWatermarkAnalysis? Watermark { get; set; } + /// /// URL to the media file. Null when Zero Retention Mode is enabled. /// @@ -140,7 +146,7 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt /// /// /// - /// Status of the Deepfake Detection job only. A completed Detect has verdict and metrics available, but its Intelligence results may still be processing. + /// Status of the requested Deepfake Detection work. For an otherwise successful Detect with watermark analysis, processing continues until that nested analysis completes or fails. A core detection failure still reports failed. A failed watermark analysis is terminal and does not fail an otherwise successful deepfake detection. Intelligence may still be processing after Detect reaches completed. /// /// /// Audio detection metrics (for audio and video media types) @@ -169,6 +175,9 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt /// Effective face-only setting for this detect. `true` only for video inputs that
/// include visual analysis; `false` for audio, image, and audio-only video detects. /// + /// + /// Conditional watermark analysis requested with `detect_watermark=true`. The object is omitted when watermark analysis was not requested. Resemble watermark metrics and the optional SynthID verdict are independent of the deepfake verdict. + /// /// /// URL to the media file. Null when Zero Retention Mode is enabled. /// @@ -202,6 +211,7 @@ public DetectUuidGetResponsesContentApplicationJsonSchemaItem( global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence? intelligence, global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemModality? modality, bool? faceOnly, + global::ResembleAI.DetectWatermarkAnalysis? watermark, string? url, string? audioUrl, string? filename, @@ -222,6 +232,7 @@ public DetectUuidGetResponsesContentApplicationJsonSchemaItem( this.Intelligence = intelligence; this.Modality = modality; this.FaceOnly = faceOnly; + this.Watermark = watermark; this.Url = url; this.AudioUrl = audioUrl; this.Filename = filename; diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus.g.cs index 1554406..3aac2da 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus.g.cs @@ -4,7 +4,7 @@ namespace ResembleAI { /// - /// Status of the Deepfake Detection job only. A completed Detect has verdict and metrics available, but its Intelligence results may still be processing. + /// Status of the requested Deepfake Detection work. For an otherwise successful Detect with watermark analysis, processing continues until that nested analysis completes or fails. A core detection failure still reports failed. A failed watermark analysis is terminal and does not fail an otherwise successful deepfake detection. Intelligence may still be processing after Detect reaches completed. /// public enum DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus { diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysis.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysis.Json.g.cs new file mode 100644 index 0000000..160b941 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysis.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DetectWatermarkAnalysis + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ResembleAI.DetectWatermarkAnalysis? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectWatermarkAnalysis), + jsonSerializerContext) as global::ResembleAI.DetectWatermarkAnalysis; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectWatermarkAnalysis? FromJson( + string json) + { + return FromJson( + json, + global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::ResembleAI.DetectWatermarkAnalysis? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::ResembleAI.DetectWatermarkAnalysis), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectWatermarkAnalysis; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysis.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysis.g.cs new file mode 100644 index 0000000..f9be5e6 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysis.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Conditional watermark analysis requested with `detect_watermark=true`. The object is omitted when watermark analysis was not requested. Resemble watermark metrics and the optional SynthID verdict are independent of the deepfake verdict. + /// + public sealed partial class DetectWatermarkAnalysis + { + /// + /// Lifecycle state of the linked watermark analysis. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectWatermarkAnalysisStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::ResembleAI.DetectWatermarkAnalysisStatus Status { get; set; } + + /// + /// Present when watermark analysis completes. Audio uses Perth v1/v2 metrics; image and video use the Resemble image/video detector metrics. `synthid`, when present, is the boolean verdict returned by SynthID. Its omission means the provider result was unavailable, not that no watermark was found. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metrics")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectWatermarkAnalysisMetricsJsonConverter))] + public global::ResembleAI.DetectWatermarkAnalysisMetrics? Metrics { get; set; } + + /// + /// Safe error message when the watermark analysis failed. A child failure does not fail an otherwise successful deepfake detection. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] + public string? ErrorMessage { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Lifecycle state of the linked watermark analysis. + /// + /// + /// Present when watermark analysis completes. Audio uses Perth v1/v2 metrics; image and video use the Resemble image/video detector metrics. `synthid`, when present, is the boolean verdict returned by SynthID. Its omission means the provider result was unavailable, not that no watermark was found. + /// + /// + /// Safe error message when the watermark analysis failed. A child failure does not fail an otherwise successful deepfake detection. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DetectWatermarkAnalysis( + global::ResembleAI.DetectWatermarkAnalysisStatus status, + global::ResembleAI.DetectWatermarkAnalysisMetrics? metrics, + string? errorMessage) + { + this.Status = status; + this.Metrics = metrics; + this.ErrorMessage = errorMessage; + } + + /// + /// Initializes a new instance of the class. + /// + public DetectWatermarkAnalysis() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisMetrics.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisMetrics.Json.g.cs new file mode 100644 index 0000000..26eb7ba --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisMetrics.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public readonly partial struct DetectWatermarkAnalysisMetrics + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ResembleAI.DetectWatermarkAnalysisMetrics? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectWatermarkAnalysisMetrics), + jsonSerializerContext) as global::ResembleAI.DetectWatermarkAnalysisMetrics?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectWatermarkAnalysisMetrics? FromJson( + string json) + { + return FromJson( + json, + global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::ResembleAI.DetectWatermarkAnalysisMetrics? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::ResembleAI.DetectWatermarkAnalysisMetrics), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectWatermarkAnalysisMetrics?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ResembleAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ResembleAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisMetrics.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisMetrics.g.cs new file mode 100644 index 0000000..eb06c37 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisMetrics.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace ResembleAI +{ + /// + /// Present when watermark analysis completes. Audio uses Perth v1/v2 metrics; image and video use the Resemble image/video detector metrics. `synthid`, when present, is the boolean verdict returned by SynthID. Its omission means the provider result was unavailable, not that no watermark was found. + /// + public readonly partial struct DetectWatermarkAnalysisMetrics : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::ResembleAI.WatermarkAudioDetectionMetrics? WatermarkAudioDetectionMetrics { get; init; } +#else + public global::ResembleAI.WatermarkAudioDetectionMetrics? WatermarkAudioDetectionMetrics { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WatermarkAudioDetectionMetrics))] +#endif + public bool IsWatermarkAudioDetectionMetrics => WatermarkAudioDetectionMetrics != null; + + /// + /// + /// + public bool TryPickWatermarkAudioDetectionMetrics( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::ResembleAI.WatermarkAudioDetectionMetrics? value) + { + value = WatermarkAudioDetectionMetrics; + return IsWatermarkAudioDetectionMetrics; + } + + /// + /// + /// + public global::ResembleAI.WatermarkAudioDetectionMetrics PickWatermarkAudioDetectionMetrics() => IsWatermarkAudioDetectionMetrics + ? WatermarkAudioDetectionMetrics! + : throw new global::System.InvalidOperationException($"Expected union variant 'WatermarkAudioDetectionMetrics' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::ResembleAI.WatermarkVisionDetectionMetrics? WatermarkVisionDetectionMetrics { get; init; } +#else + public global::ResembleAI.WatermarkVisionDetectionMetrics? WatermarkVisionDetectionMetrics { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WatermarkVisionDetectionMetrics))] +#endif + public bool IsWatermarkVisionDetectionMetrics => WatermarkVisionDetectionMetrics != null; + + /// + /// + /// + public bool TryPickWatermarkVisionDetectionMetrics( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::ResembleAI.WatermarkVisionDetectionMetrics? value) + { + value = WatermarkVisionDetectionMetrics; + return IsWatermarkVisionDetectionMetrics; + } + + /// + /// + /// + public global::ResembleAI.WatermarkVisionDetectionMetrics PickWatermarkVisionDetectionMetrics() => IsWatermarkVisionDetectionMetrics + ? WatermarkVisionDetectionMetrics! + : throw new global::System.InvalidOperationException($"Expected union variant 'WatermarkVisionDetectionMetrics' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator DetectWatermarkAnalysisMetrics(global::ResembleAI.WatermarkAudioDetectionMetrics value) => new DetectWatermarkAnalysisMetrics((global::ResembleAI.WatermarkAudioDetectionMetrics?)value); + + /// + /// + /// + public static implicit operator global::ResembleAI.WatermarkAudioDetectionMetrics?(DetectWatermarkAnalysisMetrics @this) => @this.WatermarkAudioDetectionMetrics; + + /// + /// + /// + public DetectWatermarkAnalysisMetrics(global::ResembleAI.WatermarkAudioDetectionMetrics? value) + { + WatermarkAudioDetectionMetrics = value; + } + + /// + /// + /// + public static DetectWatermarkAnalysisMetrics FromWatermarkAudioDetectionMetrics(global::ResembleAI.WatermarkAudioDetectionMetrics? value) => new DetectWatermarkAnalysisMetrics(value); + + /// + /// + /// + public static implicit operator DetectWatermarkAnalysisMetrics(global::ResembleAI.WatermarkVisionDetectionMetrics value) => new DetectWatermarkAnalysisMetrics((global::ResembleAI.WatermarkVisionDetectionMetrics?)value); + + /// + /// + /// + public static implicit operator global::ResembleAI.WatermarkVisionDetectionMetrics?(DetectWatermarkAnalysisMetrics @this) => @this.WatermarkVisionDetectionMetrics; + + /// + /// + /// + public DetectWatermarkAnalysisMetrics(global::ResembleAI.WatermarkVisionDetectionMetrics? value) + { + WatermarkVisionDetectionMetrics = value; + } + + /// + /// + /// + public static DetectWatermarkAnalysisMetrics FromWatermarkVisionDetectionMetrics(global::ResembleAI.WatermarkVisionDetectionMetrics? value) => new DetectWatermarkAnalysisMetrics(value); + + /// + /// + /// + public DetectWatermarkAnalysisMetrics( + global::ResembleAI.WatermarkAudioDetectionMetrics? watermarkAudioDetectionMetrics, + global::ResembleAI.WatermarkVisionDetectionMetrics? watermarkVisionDetectionMetrics + ) + { + WatermarkAudioDetectionMetrics = watermarkAudioDetectionMetrics; + WatermarkVisionDetectionMetrics = watermarkVisionDetectionMetrics; + } + + /// + /// + /// + public object? Object => + WatermarkVisionDetectionMetrics as object ?? + WatermarkAudioDetectionMetrics as object + ; + + /// + /// + /// + public override string? ToString() => + WatermarkAudioDetectionMetrics?.ToString() ?? + WatermarkVisionDetectionMetrics?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsWatermarkAudioDetectionMetrics && !IsWatermarkVisionDetectionMetrics || !IsWatermarkAudioDetectionMetrics && IsWatermarkVisionDetectionMetrics; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? watermarkAudioDetectionMetrics = null, + global::System.Func? watermarkVisionDetectionMetrics = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsWatermarkAudioDetectionMetrics && watermarkAudioDetectionMetrics != null) + { + return watermarkAudioDetectionMetrics(WatermarkAudioDetectionMetrics!); + } + else if (IsWatermarkVisionDetectionMetrics && watermarkVisionDetectionMetrics != null) + { + return watermarkVisionDetectionMetrics(WatermarkVisionDetectionMetrics!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? watermarkAudioDetectionMetrics = null, + + global::System.Action? watermarkVisionDetectionMetrics = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsWatermarkAudioDetectionMetrics) + { + watermarkAudioDetectionMetrics?.Invoke(WatermarkAudioDetectionMetrics!); + } + else if (IsWatermarkVisionDetectionMetrics) + { + watermarkVisionDetectionMetrics?.Invoke(WatermarkVisionDetectionMetrics!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? watermarkAudioDetectionMetrics = null, + global::System.Action? watermarkVisionDetectionMetrics = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsWatermarkAudioDetectionMetrics) + { + watermarkAudioDetectionMetrics?.Invoke(WatermarkAudioDetectionMetrics!); + } + else if (IsWatermarkVisionDetectionMetrics) + { + watermarkVisionDetectionMetrics?.Invoke(WatermarkVisionDetectionMetrics!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + WatermarkAudioDetectionMetrics, + typeof(global::ResembleAI.WatermarkAudioDetectionMetrics), + WatermarkVisionDetectionMetrics, + typeof(global::ResembleAI.WatermarkVisionDetectionMetrics), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(DetectWatermarkAnalysisMetrics other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(WatermarkAudioDetectionMetrics, other.WatermarkAudioDetectionMetrics) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WatermarkVisionDetectionMetrics, other.WatermarkVisionDetectionMetrics) + ; + } + + /// + /// + /// + public static bool operator ==(DetectWatermarkAnalysisMetrics obj1, DetectWatermarkAnalysisMetrics obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(DetectWatermarkAnalysisMetrics obj1, DetectWatermarkAnalysisMetrics obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is DetectWatermarkAnalysisMetrics o && Equals(o); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisStatus.g.cs new file mode 100644 index 0000000..f19c36d --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisStatus.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Lifecycle state of the linked watermark analysis. + /// + public enum DetectWatermarkAnalysisStatus + { + /// + /// + /// + Completed, + /// + /// + /// + Failed, + /// + /// + /// + Pending, + /// + /// + /// + Processing, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectWatermarkAnalysisStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectWatermarkAnalysisStatus value) + { + return value switch + { + DetectWatermarkAnalysisStatus.Completed => "completed", + DetectWatermarkAnalysisStatus.Failed => "failed", + DetectWatermarkAnalysisStatus.Pending => "pending", + DetectWatermarkAnalysisStatus.Processing => "processing", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectWatermarkAnalysisStatus? ToEnum(string value) + { + return value switch + { + "completed" => DetectWatermarkAnalysisStatus.Completed, + "failed" => DetectWatermarkAnalysisStatus.Failed, + "pending" => DetectWatermarkAnalysisStatus.Pending, + "processing" => DetectWatermarkAnalysisStatus.Processing, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkAudioDetectionMetrics.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkAudioDetectionMetrics.g.cs index 8bf19c9..f833cbb 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkAudioDetectionMetrics.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkAudioDetectionMetrics.g.cs @@ -50,6 +50,12 @@ public sealed partial class WatermarkAudioDetectionMetrics [global::System.Text.Json.Serialization.JsonRequired] public required global::System.Collections.Generic.IList ModelResults { get; set; } + /// + /// Optional auxiliary SynthID verdict for audio. Omitted when SynthID is unavailable. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synthid")] + public bool? Synthid { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -71,6 +77,9 @@ public sealed partial class WatermarkAudioDetectionMetrics /// /// /// + /// + /// Optional auxiliary SynthID verdict for audio. Omitted when SynthID is unavailable. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -80,7 +89,8 @@ public WatermarkAudioDetectionMetrics( bool coverageComplete, global::System.Collections.Generic.Dictionary hasWatermark, global::System.Collections.Generic.IList modelResults, - double? confidence) + double? confidence, + bool? synthid) { this.OverallStatus = overallStatus; this.DetectedModelVersions = detectedModelVersions ?? throw new global::System.ArgumentNullException(nameof(detectedModelVersions)); @@ -88,6 +98,7 @@ public WatermarkAudioDetectionMetrics( this.HasWatermark = hasWatermark ?? throw new global::System.ArgumentNullException(nameof(hasWatermark)); this.Confidence = confidence; this.ModelResults = modelResults ?? throw new global::System.ArgumentNullException(nameof(modelResults)); + this.Synthid = synthid; } /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkVisionDetectionMetrics.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkVisionDetectionMetrics.g.cs index c334b08..5ed5eca 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkVisionDetectionMetrics.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkVisionDetectionMetrics.g.cs @@ -50,7 +50,7 @@ public sealed partial class WatermarkVisionDetectionMetrics public global::ResembleAI.WatermarkVisionDetectionMetricsVerdict? Verdict { get; set; } /// - /// Optional auxiliary SynthID signal for images. + /// Optional auxiliary SynthID verdict for image or video. Omitted when SynthID is unavailable. /// [global::System.Text.Json.Serialization.JsonPropertyName("synthid")] public bool? Synthid { get; set; } @@ -75,7 +75,7 @@ public sealed partial class WatermarkVisionDetectionMetrics /// Backward-compatible image/video verdict. /// /// - /// Optional auxiliary SynthID signal for images. + /// Optional auxiliary SynthID verdict for image or video. Omitted when SynthID is unavailable. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/ResembleAI/openapi.yaml b/src/libs/ResembleAI/openapi.yaml index 846e7d9..4155fd1 100644 --- a/src/libs/ResembleAI/openapi.yaml +++ b/src/libs/ResembleAI/openapi.yaml @@ -62,7 +62,7 @@ "post": { "operationId": "create-detection", "summary": "Create deepfake detection", - "description": "Analyze audio, image, and video for deepfake detection.\n\nSupply media via one of three intake methods:\n\n- **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.\n- **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.\n- **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.\n\nExactly one of `file`, `url`, or `media_token` must be provided per request.\n", + "description": "Analyze audio, image, and video for deepfake detection.\n\nSupply media via one of three intake methods:\n\n- **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.\n- **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.\n- **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.\n\nExactly one of `file`, `url`, or `media_token` must be provided per request.\n\nSet `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake\nanalysis. This option supports single audio, image, and video requests only. It adds one Watermark\ndetection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes\n`Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark\nfailure is returned in the nested `watermark` object and does not change the deepfake verdict.\n", "tags": [ "deepfakeDetection" ], @@ -87,6 +87,36 @@ } } } + }, + "400": { + "description": "Invalid request, including a malformed `detect_watermark` boolean or a known source that exceeds the Watermark decoder limit.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "402": { + "description": "Insufficient balance for the combined Detect request. When watermark analysis was requested, details include `watermark_cost_cents`.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateDetectionRequestPaymentRequiredError" + } + } + } + }, + "403": { + "description": "The API key does not have access to Watermark detection or another requested product.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } }, "requestBody": { @@ -149,6 +179,11 @@ "default": false, "description": "Run multimodal intelligence analysis on the media" }, + "detect_watermark": { + "type": "boolean", + "default": false, + "description": "Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video." + }, "infer_from_intelligence": { "type": "boolean", "default": false, @@ -198,7 +233,7 @@ "get": { "operationId": "get-detection", "summary": "Get deepfake detection result", - "description": "Get a deepfake detection result by UUID. The item status describes the Detect job only; Intelligence runs separately and can still be processing after Detect reaches completed.", + "description": "Get a deepfake detection result by UUID. For an otherwise successful Detect with watermark analysis, item status remains processing until the linked analysis completes or fails. A core detection failure still reports failed. Intelligence runs separately and can still be processing after Detect reaches completed.", "tags": [ "deepfakeDetection" ], @@ -265,7 +300,7 @@ "post": { "operationId": "create-detect-batch", "summary": "Create a batch deepfake detection job", - "description": "Submit up to 50 files in a single request and process them as a single logical\ngroup. Returns HTTP 202 with a batch UUID; each file is analyzed in the\nbackground and individual results are available via `GET /detect/{uuid}` for\neach entry in `detect_uuids`.\n\nTwo intake methods:\n\n- **Multiple media files** — repeated `files[]` form fields.\n- **Single zip archive** — a single `file` form field whose value is a `.zip`\n containing the media files. Non-media entries are skipped.\n\nProvide one of `files[]` or `file=<...>.zip` per request. Synchronous mode\n(`Prefer: wait`) is not supported and returns 400 if sent.\n\nConstraints:\n\n- Maximum 50 files per batch.\n- Maximum 500 MB total upload size across all files.\n- Allowed file types match `POST /detect`'s direct-upload allowlist.\n- All-or-nothing billing: if the team's wallet cannot cover the projected cost\n for every file, the request is rejected with 402 and no detects are created.\n", + "description": "Submit up to 50 files in a single request and process them as a single logical\ngroup. Returns HTTP 202 with a batch UUID; each file is analyzed in the\nbackground and individual results are available via `GET /detect/{uuid}` for\neach entry in `detect_uuids`.\n\nTwo intake methods:\n\n- **Multiple media files** — repeated `files[]` form fields.\n- **Single zip archive** — a single `file` form field whose value is a `.zip`\n containing the media files. Non-media entries are skipped.\n\nProvide one of `files[]` or `file=<...>.zip` per request. Synchronous mode\n(`Prefer: wait`) is not supported and returns 400 if sent.\n\nConstraints:\n\n- Maximum 50 files per batch.\n- Maximum 500 MB total upload size across all files.\n- Allowed file types match `POST /detect`'s direct-upload allowlist.\n- Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.\n- All-or-nothing billing: if the team's wallet cannot cover the projected cost\n for every file, the request is rejected with 402 and no detects are created.\n", "tags": [ "deepfakeDetection" ], @@ -292,7 +327,7 @@ } }, "400": { - "description": "Invalid batch request (missing files, both file and files[] supplied, file count or size exceeded, unsupported file type, or `Prefer: wait` header sent)", + "description": "Invalid batch request (missing files, both file and files[] supplied, file count or size exceeded, unsupported file type, `Prefer: wait` header sent, or `detect_watermark=true`)", "content": { "application/json": { "schema": { @@ -7053,6 +7088,7 @@ "completed", "failed" ], + "description": "Processing state for the requested Detect work. For an otherwise successful Detect with watermark analysis, this remains processing until the linked analysis completes or fails. A core detection failure still reports failed.", "title": "DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus" }, "DetectGetResponsesContentApplicationJsonSchemaItemsItemsModality": { @@ -7065,114 +7101,407 @@ "description": "Which detection modality was requested. `all` when not specified (the default). Only meaningful for video detects.", "title": "DetectGetResponsesContentApplicationJsonSchemaItemsItemsModality" }, - "DetectAudioMetrics": { + "DetectWatermarkAnalysisStatus": { + "type": "string", + "enum": [ + "pending", + "processing", + "completed", + "failed" + ], + "description": "Lifecycle state of the linked watermark analysis.", + "title": "DetectWatermarkAnalysisStatus" + }, + "WatermarkAudioDetectionMetricsOverallStatus": { + "type": "string", + "enum": [ + "present", + "absent", + "inconclusive" + ], + "title": "WatermarkAudioDetectionMetricsOverallStatus" + }, + "WatermarkAudioDetectionMetricsDetectedModelVersionsItems": { + "type": "string", + "enum": [ + "perth_v1", + "perth_v2" + ], + "title": "WatermarkAudioDetectionMetricsDetectedModelVersionsItems" + }, + "WatermarkAudioModelResultModelVersion": { + "type": "string", + "enum": [ + "perth_v1", + "perth_v2" + ], + "title": "WatermarkAudioModelResultModelVersion" + }, + "WatermarkAudioModelResultStatus": { + "type": "string", + "enum": [ + "succeeded", + "failed" + ], + "title": "WatermarkAudioModelResultStatus" + }, + "WatermarkAudioModelResult": { "type": "object", "properties": { - "label": { - "type": "string", - "description": "Detection label (fake or real)" + "model_version": { + "$ref": "#/components/schemas/WatermarkAudioModelResultModelVersion" }, - "score": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of prediction scores per chunk" + "status": { + "$ref": "#/components/schemas/WatermarkAudioModelResultStatus" }, - "consistency": { - "type": "string", - "description": "Consistency metric across chunks" + "detected": { + "type": [ + "boolean", + "null" + ], + "description": "Null when this detector was unavailable." }, - "aggregated_score": { - "type": "string", - "description": "Overall aggregated detection score" + "has_watermark": { + "type": "object", + "additionalProperties": { + "type": "boolean" + }, + "description": "Successful per-channel detection results." }, - "image": { + "confidence": { + "type": [ + "number", + "null" + ], + "format": "double" + }, + "error": { "type": "string", - "description": "URL to visualization heatmap image (if visualize=true)" + "description": "Safe error message when status is failed." } }, "required": [ - "label", - "score", - "consistency", - "aggregated_score" + "model_version", + "status", + "detected" ], - "description": "Audio detection metrics (for audio and video media types)", - "title": "DetectAudioMetrics" - }, - "DetectImageMetricsChildrenItems": { - "type": "object", - "properties": {}, - "title": "DetectImageMetricsChildrenItems" + "title": "WatermarkAudioModelResult" }, - "DetectImageMetrics": { + "WatermarkAudioDetectionMetrics": { "type": "object", "properties": { - "type": { - "type": "string", - "description": "Type of image analysis performed" + "overall_status": { + "$ref": "#/components/schemas/WatermarkAudioDetectionMetricsOverallStatus" }, - "label": { - "type": "string", - "description": "Detection label (fake or real)" + "detected_model_versions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WatermarkAudioDetectionMetricsDetectedModelVersionsItems" + }, + "description": "Only model versions that positively detected a watermark." }, - "image": { - "type": "string", - "description": "URL to visualization image" + "coverage_complete": { + "type": "boolean", + "description": "True only when both audio detectors completed successfully." }, - "score": { - "type": "number", - "format": "double", - "description": "Detection confidence score" + "has_watermark": { + "type": "object", + "additionalProperties": { + "type": "boolean" + }, + "description": "Per-channel aggregate across successful audio detectors." }, - "children": { + "confidence": { + "type": [ + "number", + "null" + ], + "format": "double" + }, + "model_results": { "type": "array", "items": { - "$ref": "#/components/schemas/DetectImageMetricsChildrenItems" - }, - "description": "Nested analysis results (structure varies by pipeline)" + "$ref": "#/components/schemas/WatermarkAudioModelResult" + } + }, + "synthid": { + "type": "boolean", + "description": "Optional auxiliary SynthID verdict for audio. Omitted when SynthID is unavailable." } }, "required": [ - "type", - "label", - "image", - "score", - "children" + "overall_status", + "detected_model_versions", + "coverage_complete", + "has_watermark", + "model_results" ], - "description": "Image detection metrics (for image media type)", - "title": "DetectImageMetrics" + "title": "WatermarkAudioDetectionMetrics" }, - "DetectVideoMetricsChildrenItemsChildrenItemsChildrenItems": { + "WatermarkVisionDetectionMetricsOverallStatus": { + "type": "string", + "enum": [ + "present", + "degraded", + "absent", + "inconclusive" + ], + "title": "WatermarkVisionDetectionMetricsOverallStatus" + }, + "WatermarkVisionDetectionMetricsDetectedModelVersionsItems": { + "type": "string", + "enum": [ + "perth_v2" + ], + "title": "WatermarkVisionDetectionMetricsDetectedModelVersionsItems" + }, + "WatermarkVisionModelResultModelVersion": { + "type": "string", + "enum": [ + "perth_v2" + ], + "title": "WatermarkVisionModelResultModelVersion" + }, + "WatermarkVisionModelResultStatus": { + "type": "string", + "enum": [ + "succeeded" + ], + "title": "WatermarkVisionModelResultStatus" + }, + "WatermarkVisionModelResult": { "type": "object", "properties": { - "type": { - "type": "string" + "model_version": { + "$ref": "#/components/schemas/WatermarkVisionModelResultModelVersion" }, - "conclusion": { - "type": "string" + "status": { + "$ref": "#/components/schemas/WatermarkVisionModelResultStatus" }, - "score": { - "type": "number", - "format": "double" + "detected": { + "type": "boolean" }, - "certainty": { - "type": "number", + "confidence": { + "type": [ + "number", + "null" + ], "format": "double" - }, - "certainty (%)": { - "type": "string" } }, "required": [ - "type", - "conclusion", - "score", - "certainty", - "certainty (%)" + "model_version", + "status", + "detected" ], - "title": "DetectVideoMetricsChildrenItemsChildrenItemsChildrenItems" + "title": "WatermarkVisionModelResult" + }, + "WatermarkVisionDetectionMetricsVerdict": { + "type": "string", + "enum": [ + "verified", + "degraded", + "not_watermarked" + ], + "description": "Backward-compatible image/video verdict.", + "title": "WatermarkVisionDetectionMetricsVerdict" + }, + "WatermarkVisionDetectionMetrics": { + "type": "object", + "properties": { + "overall_status": { + "$ref": "#/components/schemas/WatermarkVisionDetectionMetricsOverallStatus" + }, + "detected_model_versions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WatermarkVisionDetectionMetricsDetectedModelVersionsItems" + }, + "description": "Contains perth_v2 only when watermark signal is detected." + }, + "has_watermark": { + "type": "boolean" + }, + "detection_score": { + "type": [ + "number", + "null" + ], + "format": "double" + }, + "model_results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WatermarkVisionModelResult" + } + }, + "verdict": { + "oneOf": [ + { + "$ref": "#/components/schemas/WatermarkVisionDetectionMetricsVerdict" + }, + { + "type": "null" + } + ], + "description": "Backward-compatible image/video verdict." + }, + "synthid": { + "type": "boolean", + "description": "Optional auxiliary SynthID verdict for image or video. Omitted when SynthID is unavailable." + } + }, + "required": [ + "overall_status", + "detected_model_versions", + "has_watermark", + "detection_score", + "model_results" + ], + "title": "WatermarkVisionDetectionMetrics" + }, + "DetectWatermarkAnalysisMetrics": { + "oneOf": [ + { + "$ref": "#/components/schemas/WatermarkAudioDetectionMetrics" + }, + { + "$ref": "#/components/schemas/WatermarkVisionDetectionMetrics" + } + ], + "description": "Present when watermark analysis completes. Audio uses Perth v1/v2 metrics; image and video use the Resemble image/video detector metrics. `synthid`, when present, is the boolean verdict returned by SynthID. Its omission means the provider result was unavailable, not that no watermark was found.", + "title": "DetectWatermarkAnalysisMetrics" + }, + "DetectWatermarkAnalysis": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/DetectWatermarkAnalysisStatus", + "description": "Lifecycle state of the linked watermark analysis." + }, + "metrics": { + "$ref": "#/components/schemas/DetectWatermarkAnalysisMetrics", + "description": "Present when watermark analysis completes. Audio uses Perth v1/v2 metrics; image and video use the Resemble image/video detector metrics. `synthid`, when present, is the boolean verdict returned by SynthID. Its omission means the provider result was unavailable, not that no watermark was found." + }, + "error_message": { + "type": "string", + "description": "Safe error message when the watermark analysis failed. A child failure does not fail an otherwise successful deepfake detection." + } + }, + "required": [ + "status" + ], + "description": "Conditional watermark analysis requested with `detect_watermark=true`. The object is omitted when watermark analysis was not requested. Resemble watermark metrics and the optional SynthID verdict are independent of the deepfake verdict.", + "title": "DetectWatermarkAnalysis" + }, + "DetectAudioMetrics": { + "type": "object", + "properties": { + "label": { + "type": "string", + "description": "Detection label (fake or real)" + }, + "score": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of prediction scores per chunk" + }, + "consistency": { + "type": "string", + "description": "Consistency metric across chunks" + }, + "aggregated_score": { + "type": "string", + "description": "Overall aggregated detection score" + }, + "image": { + "type": "string", + "description": "URL to visualization heatmap image (if visualize=true)" + } + }, + "required": [ + "label", + "score", + "consistency", + "aggregated_score" + ], + "description": "Audio detection metrics (for audio and video media types)", + "title": "DetectAudioMetrics" + }, + "DetectImageMetricsChildrenItems": { + "type": "object", + "properties": {}, + "title": "DetectImageMetricsChildrenItems" + }, + "DetectImageMetrics": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of image analysis performed" + }, + "label": { + "type": "string", + "description": "Detection label (fake or real)" + }, + "image": { + "type": "string", + "description": "URL to visualization image" + }, + "score": { + "type": "number", + "format": "double", + "description": "Detection confidence score" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetectImageMetricsChildrenItems" + }, + "description": "Nested analysis results (structure varies by pipeline)" + } + }, + "required": [ + "type", + "label", + "image", + "score", + "children" + ], + "description": "Image detection metrics (for image media type)", + "title": "DetectImageMetrics" + }, + "DetectVideoMetricsChildrenItemsChildrenItemsChildrenItems": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "conclusion": { + "type": "string" + }, + "score": { + "type": "number", + "format": "double" + }, + "certainty": { + "type": "number", + "format": "double" + }, + "certainty (%)": { + "type": "string" + } + }, + "required": [ + "type", + "conclusion", + "score", + "certainty", + "certainty (%)" + ], + "title": "DetectVideoMetricsChildrenItemsChildrenItemsChildrenItems" }, "DetectVideoMetricsChildrenItemsChildrenItems": { "type": "object", @@ -7386,7 +7715,8 @@ "$ref": "#/components/schemas/DetectGetResponsesContentApplicationJsonSchemaItemsItemsMediaType" }, "status": { - "$ref": "#/components/schemas/DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus" + "$ref": "#/components/schemas/DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatus", + "description": "Processing state for the requested Detect work. For an otherwise successful Detect with watermark analysis, this remains processing until the linked analysis completes or fails. A core detection failure still reports failed." }, "modality": { "$ref": "#/components/schemas/DetectGetResponsesContentApplicationJsonSchemaItemsItemsModality", @@ -7396,6 +7726,9 @@ "type": "boolean", "description": "Effective face-only setting for this detect. `true` only for video inputs that\ninclude visual analysis; `false` for audio, image, and audio-only video detects.\n" }, + "watermark": { + "$ref": "#/components/schemas/DetectWatermarkAnalysis" + }, "metrics": { "$ref": "#/components/schemas/DetectAudioMetrics" }, @@ -7538,6 +7871,16 @@ "description": "Video only. Selects which detection components run for a video file:\n`audio` (audio track only), `video` (visual frames only), or `all` (both — the default).\nIgnored for audio and image inputs. Invalid values are rejected with HTTP 400.\n", "title": "DetectPostRequestBodyContentMultipartFormDataSchemaModality" }, + "DetectPostResponsesContentApplicationJsonSchemaItemStatus": { + "type": "string", + "enum": [ + "processing", + "completed", + "failed" + ], + "description": "Processing state for the requested Detect work. For an otherwise successful Detect with watermark analysis, this remains processing until the linked analysis completes or fails. A core detection failure still reports failed.", + "title": "DetectPostResponsesContentApplicationJsonSchemaItemStatus" + }, "DetectPostResponsesContentApplicationJsonSchemaItemModality": { "type": "string", "enum": [ @@ -7736,7 +8079,8 @@ "type": "string" }, "status": { - "type": "string" + "$ref": "#/components/schemas/DetectPostResponsesContentApplicationJsonSchemaItemStatus", + "description": "Processing state for the requested Detect work. For an otherwise successful Detect with watermark analysis, this remains processing until the linked analysis completes or fails. A core detection failure still reports failed." }, "zero_retention_mode": { "type": "boolean", @@ -7776,6 +8120,9 @@ "type": "boolean", "description": "Effective face-only setting. `true` only for video inputs that include visual\nanalysis; `false` for audio, image, and audio-only video detects.\n" }, + "watermark": { + "$ref": "#/components/schemas/DetectWatermarkAnalysis" + }, "intelligence": { "oneOf": [ { @@ -7805,6 +8152,70 @@ }, "title": "Deepfake Detection_createDetection_Response_200" }, + "Error": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "error": { + "type": "string" + }, + "errors": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + }, + "title": "Error" + }, + "DetectPostResponsesContentApplicationJsonSchemaDetails": { + "type": "object", + "properties": { + "estimated_cost_cents": { + "type": "number", + "format": "double" + }, + "detect_cost_cents": { + "type": "number", + "format": "double" + }, + "watermark_cost_cents": { + "type": "number", + "format": "double", + "description": "Present only when `detect_watermark=true` was requested." + } + }, + "title": "DetectPostResponsesContentApplicationJsonSchemaDetails" + }, + "CreateDetectionRequestPaymentRequiredError": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "error_code": { + "type": "string" + }, + "error": { + "type": "string" + }, + "message": { + "type": "string" + }, + "details": { + "$ref": "#/components/schemas/DetectPostResponsesContentApplicationJsonSchemaDetails" + } + }, + "title": "CreateDetectionRequestPaymentRequiredError" + }, "DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType": { "type": "string", "enum": [ @@ -7821,7 +8232,7 @@ "completed", "failed" ], - "description": "Status of the Deepfake Detection job only. A completed Detect has verdict and metrics available, but its Intelligence results may still be processing.", + "description": "Status of the requested Deepfake Detection work. For an otherwise successful Detect with watermark analysis, processing continues until that nested analysis completes or fails. A core detection failure still reports failed. A failed watermark analysis is terminal and does not fail an otherwise successful deepfake detection. Intelligence may still be processing after Detect reaches completed.", "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus" }, "DetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracing": { @@ -8071,7 +8482,7 @@ }, "status": { "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus", - "description": "Status of the Deepfake Detection job only. A completed Detect has verdict and metrics available, but its Intelligence results may still be processing." + "description": "Status of the requested Deepfake Detection work. For an otherwise successful Detect with watermark analysis, processing continues until that nested analysis completes or fails. A core detection failure still reports failed. A failed watermark analysis is terminal and does not fail an otherwise successful deepfake detection. Intelligence may still be processing after Detect reaches completed." }, "metrics": { "$ref": "#/components/schemas/DetectAudioMetrics" @@ -8115,6 +8526,9 @@ "type": "boolean", "description": "Effective face-only setting for this detect. `true` only for video inputs that\ninclude visual analysis; `false` for audio, image, and audio-only video detects.\n" }, + "watermark": { + "$ref": "#/components/schemas/DetectWatermarkAnalysis" + }, "url": { "type": [ "string", @@ -8158,43 +8572,19 @@ "format": "date-time" } }, - "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItem" - }, - "Deepfake Detection_getDetection_Response_200": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "item": { - "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItem" - } - }, - "title": "Deepfake Detection_getDetection_Response_200" - }, - "Error": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "error": { - "type": "string" - }, - "errors": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } + "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItem" + }, + "Deepfake Detection_getDetection_Response_200": { + "type": "object", + "properties": { + "success": { + "type": "boolean" }, - "message": { - "type": "string" + "item": { + "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItem" } }, - "title": "Error" + "title": "Deepfake Detection_getDetection_Response_200" }, "DetectBatchStatus": { "type": "string", @@ -10144,250 +10534,6 @@ "description": "Present for image/video. Audio versions are reported in metrics.model_results.", "title": "WatermarkDetectItemModelVersion" }, - "WatermarkAudioDetectionMetricsOverallStatus": { - "type": "string", - "enum": [ - "present", - "absent", - "inconclusive" - ], - "title": "WatermarkAudioDetectionMetricsOverallStatus" - }, - "WatermarkAudioDetectionMetricsDetectedModelVersionsItems": { - "type": "string", - "enum": [ - "perth_v1", - "perth_v2" - ], - "title": "WatermarkAudioDetectionMetricsDetectedModelVersionsItems" - }, - "WatermarkAudioModelResultModelVersion": { - "type": "string", - "enum": [ - "perth_v1", - "perth_v2" - ], - "title": "WatermarkAudioModelResultModelVersion" - }, - "WatermarkAudioModelResultStatus": { - "type": "string", - "enum": [ - "succeeded", - "failed" - ], - "title": "WatermarkAudioModelResultStatus" - }, - "WatermarkAudioModelResult": { - "type": "object", - "properties": { - "model_version": { - "$ref": "#/components/schemas/WatermarkAudioModelResultModelVersion" - }, - "status": { - "$ref": "#/components/schemas/WatermarkAudioModelResultStatus" - }, - "detected": { - "type": [ - "boolean", - "null" - ], - "description": "Null when this detector was unavailable." - }, - "has_watermark": { - "type": "object", - "additionalProperties": { - "type": "boolean" - }, - "description": "Successful per-channel detection results." - }, - "confidence": { - "type": [ - "number", - "null" - ], - "format": "double" - }, - "error": { - "type": "string", - "description": "Safe error message when status is failed." - } - }, - "required": [ - "model_version", - "status", - "detected" - ], - "title": "WatermarkAudioModelResult" - }, - "WatermarkAudioDetectionMetrics": { - "type": "object", - "properties": { - "overall_status": { - "$ref": "#/components/schemas/WatermarkAudioDetectionMetricsOverallStatus" - }, - "detected_model_versions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WatermarkAudioDetectionMetricsDetectedModelVersionsItems" - }, - "description": "Only model versions that positively detected a watermark." - }, - "coverage_complete": { - "type": "boolean", - "description": "True only when both audio detectors completed successfully." - }, - "has_watermark": { - "type": "object", - "additionalProperties": { - "type": "boolean" - }, - "description": "Per-channel aggregate across successful audio detectors." - }, - "confidence": { - "type": [ - "number", - "null" - ], - "format": "double" - }, - "model_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WatermarkAudioModelResult" - } - } - }, - "required": [ - "overall_status", - "detected_model_versions", - "coverage_complete", - "has_watermark", - "model_results" - ], - "title": "WatermarkAudioDetectionMetrics" - }, - "WatermarkVisionDetectionMetricsOverallStatus": { - "type": "string", - "enum": [ - "present", - "degraded", - "absent", - "inconclusive" - ], - "title": "WatermarkVisionDetectionMetricsOverallStatus" - }, - "WatermarkVisionDetectionMetricsDetectedModelVersionsItems": { - "type": "string", - "enum": [ - "perth_v2" - ], - "title": "WatermarkVisionDetectionMetricsDetectedModelVersionsItems" - }, - "WatermarkVisionModelResultModelVersion": { - "type": "string", - "enum": [ - "perth_v2" - ], - "title": "WatermarkVisionModelResultModelVersion" - }, - "WatermarkVisionModelResultStatus": { - "type": "string", - "enum": [ - "succeeded" - ], - "title": "WatermarkVisionModelResultStatus" - }, - "WatermarkVisionModelResult": { - "type": "object", - "properties": { - "model_version": { - "$ref": "#/components/schemas/WatermarkVisionModelResultModelVersion" - }, - "status": { - "$ref": "#/components/schemas/WatermarkVisionModelResultStatus" - }, - "detected": { - "type": "boolean" - }, - "confidence": { - "type": [ - "number", - "null" - ], - "format": "double" - } - }, - "required": [ - "model_version", - "status", - "detected" - ], - "title": "WatermarkVisionModelResult" - }, - "WatermarkVisionDetectionMetricsVerdict": { - "type": "string", - "enum": [ - "verified", - "degraded", - "not_watermarked" - ], - "description": "Backward-compatible image/video verdict.", - "title": "WatermarkVisionDetectionMetricsVerdict" - }, - "WatermarkVisionDetectionMetrics": { - "type": "object", - "properties": { - "overall_status": { - "$ref": "#/components/schemas/WatermarkVisionDetectionMetricsOverallStatus" - }, - "detected_model_versions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WatermarkVisionDetectionMetricsDetectedModelVersionsItems" - }, - "description": "Contains perth_v2 only when watermark signal is detected." - }, - "has_watermark": { - "type": "boolean" - }, - "detection_score": { - "type": [ - "number", - "null" - ], - "format": "double" - }, - "model_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WatermarkVisionModelResult" - } - }, - "verdict": { - "oneOf": [ - { - "$ref": "#/components/schemas/WatermarkVisionDetectionMetricsVerdict" - }, - { - "type": "null" - } - ], - "description": "Backward-compatible image/video verdict." - }, - "synthid": { - "type": "boolean", - "description": "Optional auxiliary SynthID signal for images." - } - }, - "required": [ - "overall_status", - "detected_model_versions", - "has_watermark", - "detection_score", - "model_results" - ], - "title": "WatermarkVisionDetectionMetrics" - }, "WatermarkDetectItemMetrics": { "oneOf": [ {